Peach: Local-first video metadata scraper and media manager.
fix(web): 稳定馆藏查询缓存与下载后处理
longmeidaoff4ef39681af
diff --git a/docs/PRODUCT_BACKLOG.md b/docs/PRODUCT_BACKLOG.mdindex ab605c5d7..8a4990944 100644--- a/docs/PRODUCT_BACKLOG.md+++ b/docs/PRODUCT_BACKLOG.md@@ -196,7 +196,7 @@合计:**73 项开放需求**,其中 7 项已有骨架,66 项其他开放需求。已完成的需求不在这里留痕,去 Git 历史查。-## 待执行的操作(40 项)+## 待执行的操作(41 项)这里包含可直接开发的修复,以及需要另行授权、外部条件或人工判断的操作与复核批次,比上面的需求细一层;做完就删,不在这里留痕。待办只放这一处:[docs/STATUS.md](STATUS.md) 每次会话开头都要读,队列不该常驻在那种入口文件里。@@ -258,3 +258,4 @@41. r18 英文写法建出的实体还剩两位素人女优的日文名未取得:8645 `Mana(23)`(413INST-168,标题 `まな`,年龄后缀的日文写法没有原文,`まな` 又常见,不猜)与 8629 `* Kuchiku`(POW-040,r18dev 原文 `Kuchiku * Reverse Bunny`,与标题 `べりさ` 对不上)。DMM 商品页的演员栏已空、演员页 404,取得原文后再改名,英文留作别名。`PREMIUM BEST`、`1VS1`、`NOZOMI` 是厂牌或官方自己的拉丁写法,保留。42. 合并转址回填:2026-10-01 只读盘点出 127 对 ADR-0088 之前的旧合并,126 对可按 ADR-0088 补 `entity_redirect`,1 对目标已不在、链条也接不上;孤立实体图 47 张,其中 19 张可按回填对跳到活实体。盘点脚本在仓库外 `attic/tools/20261001-entity-redirect-backfill/inventory_merge_redirects.py`(`mode=ro`、只打标准输出)。写账本需另行授权,按 `peach-ledger-write` 先备份。43. PikPak 用浏览器登录的真实账号验收(ADR-0093):用户在设置页点「用浏览器登录」并在窗口里登录,确认窗口自动关闭、卡片显示「浏览器登录,由 Peach 续期」;再提交一条磁力,确认签名通过、任务落到 PikPak。隔两小时以上、access token 过期后再提交一次,确认服务端接受不带 secret 的网页 client 刷新。任一步被拒时按报错区分「登录失效」还是「网页端常量已更新」,后者重新取证并更新 `ClientProfile`。+44. 磁力抓取链的完整验收:直连实现是 manko.fun、JavDB、Sukebei,其余来源由已配置索引器兜底,尚未保证 JavBus、16mag、OneJAV、Free JAV Torrent 的固定次序。`watermark_check` 只保存 `pending`/`bypassed`,下载后的实际水印检验未接入;Manko 绕过按用户指定偏好保留。来源可用性、版本质量与到盘后检查须分别取证。diff --git a/docs/REUSE.md b/docs/REUSE.mdindex 667a90d5e..e43c9173a 100644--- a/docs/REUSE.md+++ b/docs/REUSE.md@@ -281,6 +281,8 @@ A 盘垃圾隔离使用短名称 `peach-purge-<32 位 UUID>.peach-quarantine`,- 操作回执复用 Toast(Sonner 的栈,`frontend/src/react/toaster.tsx`;壳里只调 `toast()`/`actionReceipt()`);按钮以 Spinner 和 `aria-busy` 标明忙态。后台任务显示可恢复进度,断线自动重连。- 实体的统称由用户在资料页自选:菜单只列这条实体名下已有的写法,选中的提为规范名、换下的留成别名,扁平投影跟着改;先过确认弹层并点名两个写法,成功后发可撤销回执;不收自由文本,撞上另一条实体的规范名只报冲突。- FC2 作品计数复用 `ordered_multipart_items`,`web_catalog.video_work_key` 按账本代次缓存已确认的合集键;资料、名册、同台艺人、标签与补全共用。`/api/items.work_total` 供作品读数,`total` 仍用于文件分页;不确定分段不归组。出演名单展开复用 BoardUI `Button`。跨角色人工合并走 `merge_entity`,`user:identity-merge:<kind>` 的别名与墓碑共同证明旧资料页地址,单纯同名不跨角色跳转。+- 馆藏分组缓存声明 `asset`、`asset_entity`、`entity` 依赖;下载进度和复核留痕不使分组重算,同键计算串行共用。作品计数通过 SQLite `create_function` 注册资产到作品的只读字典查找,沿用既有版次与分卷判据。下载后处理复用已绑定资产、整理备份及逐项外键基线比较(`performer_alias_followup`);单部采集只结算本资产候选,进度在 `state/download-processing/`,共享 CSV 仍受全库处理锁保护。资源查询缓存拒收缺字段和来源失败的旧结果。无新增依赖。+- Application 管理路由与资源,域控制器适配原生宿主。文件检查含本地与网盘,来源等分、共用确认弹层;CloudDrive 分档建议首启与配置页共用。- 名字里的括号都走 `split_composite_aliases.py`:自动那拨只认罗马字复合人名,`--from-review` 那拨按人工判定清掉不承载名字的尾巴,旧写法留作别名;读音、厂牌消歧和角色出处不拆。`peach-data/review/composite-names-20260904.csv` 中的 28 条 creator 注音、575 条 tag 角色出处和 10 条 series 厂牌或载体消歧均保留,不属于待执行批次。- 全库创作者归属复核走 `scripts/audit_creator_attributions.py` 与 `metadata_creator_attributions`:复用 `code_creators` 的文件番号核对、DMM `matching_cids`、`western_release_identity`、厂牌规范名和别名、`studio_sites.is_platform`、字段归属、SQLite 备份及 `review_csv`。发行站作品号同时核对目录名与媒体文件名;来源目录见 [Legs Japan](https://www.legsjapan.com/en/)、[Fellatio Japan](https://www.fellatiojapan.com/en/),平台身份见 [myfans 官方说明](https://creators.myfans.jp/)。预览覆盖全部来源关系与无作品实体;执行带冻结计划、备份和回滚记录,在事务内重算。只撤下有文件或发行来源证据的 `legacy:asset` 关系,保留用户判断、外部身份、规范实体和个人记录。月份、画质、份数与合集注记只回归已存在的完整账号;结构目录按整名切分判定,词汇取 `catalog_rules` 标签、`genre_taxonomy` 来源词与 `resources/naming/structural_directory_words.txt`,不登记具体馆藏的目录名;`creator_collection_base` 同时用于审计与摄取。公开厂牌断言可补空厂牌投影及关系,缺少规范厂牌时记录新实体完整快照;`upsert_asset_entity(update_entity_metadata=False)` 保留既有资料。结构目录、已知转载站及可信厂牌不进入自动 creator 摄取。外键检查逐项比较既有悬空;回滚核对字段版本、关系和新实体引用,后续改动拒绝整批恢复。- 实体链接可安装:`entity_link` 表、`q_entity` 的 `links` 契约、资料页 favicon 与管理页链接管理成套;死链区分「搬走了」和「没了」,`rediscover_entity_links.py` 从站点索引页上溯找新锚,确证没了的由 `link_status.settle_gone` 处置(已隐退女优留成不可点的失效标记,其余删除)。diff --git a/docs/STATUS.md b/docs/STATUS.mdindex 28c879f4e..5ac260a3e 100644--- a/docs/STATUS.md+++ b/docs/STATUS.md@@ -17,10 +17,9 @@- Windows 托盘自动恢复,重启用 `restart_windows_tray.py --source`;代码与数据在内置盘,媒体在外置盘。- 托盘须普通权限启动:提权令牌看不到 CloudDrive 的 `A:`/`B:`,误报脱盘。- Windows:80 跳 HTTPS,LAN:443;`peach-win`、`0.38.0`。10-10 重启,CA、健康、前端产物通过。-- 主界面 `peach-app.js/css`,登录、配置页 `peach-pages.js/css`;Application 管理路由与资源,域控制器适配原生宿主。+- 主界面 `peach-app.js/css`,登录、配置页 `peach-pages.js/css`。- `/healthz` 报 `configurable=true`;配置与选目录共用连接判据,托盘管理 HTTPS 地址、端口及重载。- 首启、配置页列缺失依赖(CloudDrive、挂载驱动、FFmpeg/ffprobe、OpenSSL);Windows 识别 CloudDrive、WinFsp。-- 文件检查含本地与网盘,来源等分、共用确认弹层;CloudDrive 分档建议首启与配置页共用。- 访问密码未开,局域网匿名可读;首启可跳过密码,配置页可改可关,登录可记住设备。- macOS 是 reader,代码与 `peach-data` 在内置盘;`peach.local` 经 8900/8443 和 pf 提供 80/443,GET 正常、写入回 409。- 两端各用本机 CA,私钥与凭据不跨机;代码用 Git、账本单写者复制、图片用 Syncthing;坐标见 `<数据根>/config.toml`。@@ -32,6 +31,7 @@- 发行名 `peach`、目录名 `peach-app`。macOS 按待办第 26 条处理后重启菜单栏;无口令的 `peach serve --host 0.0.0.0` 拒绝启动。- 扫描、采集 120 秒无进展预警;资料 90 秒、封面 240 秒超时可重试;见 `state/library-processing-<job_id>.issues.jsonl`。- 口味、复核、关注等聚合按账本与文件版本缓存;女优资料后继每轮存量至多 16 条。+- 下载后处理:16 条旧失败任务保留,部分资产已移动;既有 `task_run` 外键异常 102 条,未清理。- 实体种子(ADR-0075)由扫描结算后继 `seed-import` 导入,只填空、换旧种子行;冲突与重复身份在 `generated/seed-landing.csv`。- 推送发现开:本地 watch 加 CloudDrive 云端前缀 `/115open→B:`、`/Pikpak→A:`;关注每 60 分钟轮询;自动更新关闭。- Cloudflare 公网入口默认关,配置页启停前须设密码;临时链接写状态文件,命名隧道限源码部署、令牌存设置文件;整站 `noindex` 与 `/robots.txt`。diff --git a/frontend/src/react/wants/resource-cache.ts b/frontend/src/react/wants/resource-cache.tsindex 54f631503..76eb74273 100644--- a/frontend/src/react/wants/resource-cache.ts+++ b/frontend/src/react/wants/resource-cache.ts@@ -22,7 +22,11 @@ function entries(): Entry[] {try {const value = JSON.parse(localStorage.getItem(KEY) || '[]');return Array.isArray(value) ? value.filter((row) => typeof row?.code === 'string' &&- Number.isFinite(row.saved) && row.result?.state === 'ready' && Array.isArray(row.result.items)) : [];+ Number.isFinite(row.saved) && row.result?.state === 'ready' && Array.isArray(row.result.items) &&+ (row.result.items.length > 0 || !row.result.warnings?.length) &&+ row.result.items.every((item: Record<string, unknown>) =>+ item && ['magnet', 'ed2k', 'url'].includes(String(item.protocol)) &&+ typeof item.size === 'string' && Array.isArray(item.attributes))) : [];} catch { return [] }}diff --git a/frontend/test/react/want-magnets.test.tsx b/frontend/test/react/want-magnets.test.tsxindex dae0f24a1..a3144ccd2 100644--- a/frontend/test/react/want-magnets.test.tsx+++ b/frontend/test/react/want-magnets.test.tsx@@ -96,6 +96,20 @@ it('发行三个月边界、月末与缓存有效期一致', () => {expect(resourceLifetime('2026-02-28', Date.parse('2026-05-31T00:00:00Z'))).toBe(7 * 86_400_000);});+it('资源缓存只接受可展示的字段和完整查询结果', () => {+ const saved = Date.now();+ const result = { state: 'ready', items: [candidate], error: '', checked_at: null };+ const { protocol: _protocol, attributes: _attributes, ...incomplete } = candidate;+ localStorage.setItem('peach.want-resources.v1', JSON.stringify([+ { code: 'DEMO-001', saved, result: { ...result, items: [{ ...incomplete, size: 1024 }] } },+ { code: 'DEMO-002', saved, result: { ...result, items: [], warnings: ['来源未取得'] } },+ { code: 'DEMO-003', saved, result },+ ]));+ expect(cachedResources('DEMO-001', null)).toBeUndefined();+ expect(cachedResources('DEMO-002', null)).toBeUndefined();+ expect(cachedResources('DEMO-003', null)?.result.items).toEqual([candidate]);+});+it('页面与查询客户端重建后复用持久缓存,手动查询强制更新来源', async () => {vi.stubGlobal('IntersectionObserver', undefined);const want = { id: 1, code: 'DEMO-001', release_date: '2020-01-01' } as Want;diff --git a/src/peach/download_postprocess.py b/src/peach/download_postprocess.pyindex b7bb1a606..5b998cbda 100644--- a/src/peach/download_postprocess.py+++ b/src/peach/download_postprocess.py@@ -1,7 +1,6 @@"""云下载落地后的幂等处理:认正片、写番号、隔离广告、采集资料并按模板整理。"""from __future__ import annotations-import sqlite3import timefrom pathlib import Path@@ -14,7 +13,6 @@ from .field_owners import SCAN_FILENAME, write_owned_fieldsfrom .followups import FollowupType, registerfrom .library_processing import COLLECT_STAGE, process_libraryfrom .migrations import sqlite_backup-from .scripting import verify_after_writefrom .task_runs import declared_rowsTASK_KEY = "download-postprocess"@@ -60,19 +58,28 @@ def _bind_main(contract, task) -> tuple[int, str, list[int]]:raise ValueError("下载任务没有落地路径")store = DownloadStore(contract.database)rows = store.assets_under(task.provider, task.ledger_path)- main = store.asset_under(task.provider, task.ledger_path, task.code)+ with contract.database.read_connection() as connection:+ bound = connection.execute(+ "SELECT id FROM asset WHERE id=? AND location=? AND medium='video' AND disposal IS NULL",+ (task.asset_id, task.provider)).fetchone()+ main = int(bound['id']) if bound else store.asset_under(task.provider, task.ledger_path, task.code)if main is None:raise ValueError("落地目录里没有可识别的视频")- with contract.database.write_transaction() as connection:+ wrote_code = False+ with contract.database.write_transaction(notify=False) as connection:existing = connection.execute("SELECT code FROM asset WHERE id=?", (main,)).fetchone()[0]if task.code and existing and not same_release_code(task.code, existing):raise ValueError(f"正片已绑定其他番号:{existing}")- if task.code:+ if task.code and not existing:write_owned_fields(connection, [main], {"code": task.code},SCAN_FILENAME, require_empty=True)- connection.execute("UPDATE download_task SET asset_id=? WHERE id=?", (main, task.id))+ wrote_code = True+ connection.execute("UPDATE download_task SET asset_id=? WHERE id=? AND asset_id IS NOT ?",+ (main, task.id, main))path = connection.execute("SELECT path FROM asset WHERE id=?", (main,)).fetchone()[0]- return main, str(path), [int(row["id"]) for row in rows]+ if wrote_code:+ contract.cache_bust()+ return main, str(path), list(dict.fromkeys([main, *(int(row['id']) for row in rows)]))def _isolate_ads(contract, main: int, folder_ids: list[int]) -> int:@@ -97,6 +104,7 @@ def _collect(contract, main: int, handle) -> dict:state = process_library(config, contract.db_path, contract.candidate_root, contract.cover_root,retry_ids=[main], stage=COLLECT_STAGE, database=contract.database,+ state_file=config.directory('state') / 'download-processing' / f'{main}.json',report=lambda state: handle.progress(current=int(state.get("checked") or 0), total=int(state.get("total") or 0),label=str(state.get("stage") or TASK_LABEL)))@@ -119,22 +127,30 @@ def _organize(contract, task, main: int) -> dict:connection, location=task.provider, file_template=templates.get("file", ""),dir_template=templates.get("dir", ""), asset_ids=[main])movable = [row for row in plan["rows"] if row.get("action") in {"rename", "move"}]+ blocked = [row for row in plan['rows'] if row.get('reason') in {+ organize.SKIP_TARGET_EXISTS, organize.SKIP_OFFLINE, organize.SKIP_TOO_LONG}]+ if blocked:+ raise RuntimeError('文件整理未完成:' + ';'.join(str(row['reason']) for row in blocked))if not movable:return {"moved": 0, "skipped": next(iter(plan["reasons"]), "无需整理")}backup = Path(contract.candidate_root) / "organize-backups" / (f"ledger.pre-download-{task.id}-{time.strftime('%Y%m%d-%H%M%S')}.db")backup.parent.mkdir(parents=True, exist_ok=True)sqlite_backup(Path(contract.db_path), backup)- connection = sqlite3.connect(str(contract.db_path), timeout=30)- connection.row_factory = sqlite3.Row- try:+ with contract.database.write_transaction() as connection:+ integrity = connection.execute('PRAGMA integrity_check').fetchone()[0]+ if integrity != 'ok':+ raise RuntimeError(f'整理前 ledger 校验失败:integrity={integrity}')+ baseline = {tuple(row) for row in connection.execute('PRAGMA foreign_key_check')}result = organize.apply_plan(connection, movable, generated_root=contract.candidate_root)- integrity, violations = verify_after_write(connection)- finally:- connection.close()- if integrity != "ok" or violations:- raise RuntimeError(f"整理后 ledger 校验失败:integrity={integrity} foreign_keys={violations}")- return {**result, "backup": str(backup)}+ integrity = connection.execute('PRAGMA integrity_check').fetchone()[0]+ introduced = {tuple(row) for row in connection.execute('PRAGMA foreign_key_check')} - baseline+ if integrity != 'ok' or introduced:+ raise RuntimeError(f'整理后 ledger 校验失败:integrity={integrity} new_foreign_keys={len(introduced)}')+ if result.get('failed'):+ reasons = ';'.join(str(row['reason']) for row in result.get('failures', ()))+ raise RuntimeError(f'文件整理未完成:{reasons}')+ return {**result, 'backup': str(backup), 'existing_foreign_keys': len(baseline)}def run(contract, key: str, handle) -> dict:@@ -160,12 +176,14 @@ def run(contract, key: str, handle) -> dict:detail=f"{type(error).__name__}: {error}")raisestore.postprocess(task_id, POSTPROCESS_COMPLETE,- detail="正片已绑定,资料已采集并完成可执行的整理",+ detail=(f"正片已绑定,资料已采集;整理跳过:{organized['skipped']}"+ if organized.get('skipped') else "正片已绑定,资料已采集并完成整理"),finished=iso(time.time()))contract.cache_bust()return {"task_id": task_id, "asset_id": main, "ads_isolated": isolated,"metadata_candidates": int(metadata.get("candidates") or 0),"moved": int(organized.get("moved") or 0),+ 'existing_foreign_keys': int(organized.get('existing_foreign_keys') or 0),"organize_skipped": str(organized.get("skipped") or "")}diff --git a/src/peach/library_processing.py b/src/peach/library_processing.pyindex 91d335663..ed4f40f94 100644--- a/src/peach/library_processing.py+++ b/src/peach/library_processing.py@@ -1397,7 +1397,7 @@ class _RemoteSession:return 0-def _apply_finished_candidates(database, candidate_root, active):+def _apply_finished_candidates(database, candidate_root, active, asset_ids=None):"""候选落盘后立即执行窄规则自动落库;没有账本实例时只采集候选。停止后一条都不再写:任务已经不属于这次运行,用户按下停止之后账本还在变,@@ -1410,7 +1410,7 @@ def _apply_finished_candidates(database, candidate_root, active):# 快照目录是企划名义解析的证据来源(ADR-0038)。路径只有 `DEFAULT_METADATA_ROOT`# 一份定义,这里传它而不是再拼一次:两处各拼一份,改数据根时会有一处留在原地。return auto_apply_metadata(database, Path(candidate_root), active=active,- snapshot_root=DEFAULT_METADATA_ROOT)+ snapshot_root=DEFAULT_METADATA_ROOT, asset_ids=asset_ids)def _enrich_finished_performers(database, groups, config, candidate_root, remote, active,@@ -1448,7 +1448,7 @@ def _entity_watermark(database):return int(row[0] or 0)-def _entity_followups(database, config, watermark, covered=()):+def _entity_followups(database, config, watermark, covered=(), *, include_stock=True):"""这一轮新登记的实体缺什么就补什么,一件事一条后继(ADR-0040、ADR-0052)。女优没有头像的派补头像后继;`covered` 是每行换上的封面张数,换上了的作品,它们的@@ -1486,6 +1486,8 @@ def _entity_followups(database, config, watermark, covered=()):found += performer_alias_followup.plan(connection, since_entity_id=watermark)found += performer_profile_followup.plan(connection, since_entity_id=watermark)found += creator_identity_followup.plan(connection, since_entity_id=watermark)+ if not include_stock:+ return [{'key': item.key, 'task_key': item.task_key, 'label': item.label} for item in found]taken = {item.key for item in found}aliases = min(performer_alias_followup.STOCK_SHARE, max(0, MAX_FOLLOWUPS - len(found)))profiles = min(performer_profile_followup.STOCK_SHARE,@@ -1551,10 +1553,43 @@ def _online_source_root(source, root, chosen_paths, *, retrying, issue):return None+def _processing_issue_log(config, path, job_id, isolated):+ """定向任务保留独立问题清单;全库任务只留本趟的清单。"""+ log_path = path.with_suffix('.issues.jsonl') if isolated else issues_path(config, job_id)+ log_path.unlink(missing_ok=True)+ if not isolated:+ for stale in log_path.parent.glob('library-processing-*.issues.jsonl'):+ stale.unlink(missing_ok=True)+ return log_path+++def _candidate_scope(groups, asset_ids):+ """按资产选择候选,保留共享 CSV 中其余资产的记录。"""+ if asset_ids is None:+ return groups+ chosen = {str(value) for value in asset_ids}+ return {key: value for key, value in groups.items()+ if str(value.get('asset_id') or '') in chosen}+++def _finish_collection(config, database, candidate_root, cover_root, groups, remote, *,+ asset_ids, active, update, issue, watermark, covered):+ """结算本趟候选并补人物资料,全库任务同时推进存量后继。"""+ auto_apply = _apply_finished_candidates(database, candidate_root, active, asset_ids)+ profiles = _enrich_finished_performers(+ database, _candidate_scope(groups, asset_ids), config, candidate_root, remote, active, update, issue)+ followups = [] if asset_ids is not None else sample_followup.plan(database, config, cover_root)+ followups += _entity_followups(database, config, watermark, covered, include_stock=asset_ids is None)+ return dict(followups=followups, auto_applied=auto_apply['applied'],+ auto_rejected=auto_apply['auto_rejected'], performer_aliases=profiles['aliases'],+ performer_avatars=profiles['avatars'], performer_profile_conflicts=profiles['conflicts'],+ performer_profile_failed=profiles['failed'])++def process_library(config, db_path, candidate_root, cover_root, *, location='configured',report=lambda state: None, provider_factory=None, job_id=None,retry_ids=None, active=lambda: True, stage=ALL_STAGES,- database=None, route_overrides=None):+ database=None, route_overrides=None, state_file=None):"""登记文件与确定的番号,外部资料保留为可复核候选。`retry_ids` 为 `None` 时处理整个馆藏;给定时只处理这些项目(上一任务记录的@@ -1570,15 +1605,17 @@ def process_library(config, db_path, candidate_root, cover_root, *, location='co`route_overrides` 覆盖某几种内容类型的来源链,形状与判据见`metadata_routes.parse_route_overrides`;不给就用内建那张表。+ `state_file` 给后台定向任务保存独立进度,共享候选写入仍使用全库处理锁。"""_require_writer(config, db_path)routes = metadata_routes.parse_route_overrides(route_overrides)- path = state_path(config)+ path = Path(state_file) if state_file is not None else state_path(config)path.parent.mkdir(parents=True, exist_ok=True)retrying = retry_ids is not None- chosen_ids = list(dict.fromkeys(int(value) for value in (retry_ids or [])))+ chosen_ids = list(dict.fromkeys(map(int, retry_ids or [])))+ scope_ids = chosen_ids if retrying else Nonechosen_paths = _chosen_asset_paths(db_path, chosen_ids)- with FileLock(str(path) + '.lock', timeout=0):+ with FileLock(str(state_path(config)) + '.lock', timeout=0):state = dict(job_id=job_id or uuid.uuid4().hex, status='running',stage='读取本地资料' if retrying else '扫描文件',checked=0, total=0, scanned=0, probed=0, identified=0, candidates=0, covers=0,@@ -1593,12 +1630,10 @@ def process_library(config, db_path, candidate_root, cover_root, *, location='coentity_watermark = _entity_watermark(database)# 每行这一轮换上了几张封面,`(asset_id, 张数)`:换上了的作品,女优可能截得出更清楚的脸。covered = []- log_path = issues_path(config, state['job_id'])+ log_path = _processing_issue_log(config, path, state['job_id'], state_file is not None)# 界面只展示前 20 条,完整清单在这个文件里;地址跟着状态一起给出,# 不让人按 job_id 自己去拼路径。state['issues_log'] = str(log_path)- for stale in log_path.parent.glob('library-processing-*.issues.jsonl'):- stale.unlink(missing_ok=True)saved_at = 0.0@@ -1702,6 +1737,7 @@ def process_library(config, db_path, candidate_root, cover_root, *, location='cogenre_decisions = load_genre_decisions(connection)output = candidate_root / 'library-metadata-field-candidates.csv'groups = {row['item_key']: row for row in read_rows(output, missing_ok=True)}+ scoped_groups = lambda: _candidate_scope(groups, scope_ids)listing = _DirectoryIndex()csv_dirty = Falsecsv_written_at = time.monotonic()@@ -1726,7 +1762,7 @@ def process_library(config, db_path, candidate_root, cover_root, *, location='coif row['code'] and not remote.open_fields(row, target_key, groups) and (not _asks_cover(row['code'], *_studio_evidence(row))or cover_settled(cover_root / (row['code'] + '.jpg'))):- update(checked=index + 1, candidates=len(groups),+ update(checked=index + 1, candidates=len(scoped_groups()),current_asset_id=None, current_asset_name='', current_action='',current_started_at=None, current_deadline_at=None)continue@@ -1761,7 +1797,7 @@ def process_library(config, db_path, candidate_root, cover_root, *, location='coconfig.directory('generated') / 'posters', posters=posters))except (OSError, ValueError):issue(row, '本地封面无法读取', action='reading_local', retryable=True)- update(checked=index + 1, candidates=len(groups),+ update(checked=index + 1, candidates=len(scoped_groups()),current_asset_id=None, current_asset_name='', current_action='',current_started_at=None, current_deadline_at=None)continue@@ -1797,24 +1833,18 @@ def process_library(config, db_path, candidate_root, cover_root, *, location='coif entries:csv_dirty = Trueflush_candidates()- update(checked=index + 1, candidates=len(groups),+ update(checked=index + 1, candidates=len(scoped_groups()),current_asset_id=None, current_asset_name='', current_action='',current_started_at=None, current_deadline_at=None)flush_candidates(force=True)# 候选完整落盘后立即执行调用方注入的窄规则,不再等人打开复核页才触发。# 核心处理层不反向依赖 Web 复核层;CLI 与 Web 两个组装入口都传入同一实现。- auto_apply = _apply_finished_candidates(database, candidate_root, active)- profiles = _enrich_finished_performers(- database, groups, config, candidate_root, remote, active, update, issue)+ summary = _finish_collection(+ config, database, candidate_root, cover_root, groups, remote, asset_ids=scope_ids,+ active=active, update=update, issue=issue, watermark=entity_watermark, covered=covered)update(status='failed' if state['issue_count'] else 'complete', stage='处理结束',checked=len(rows),- followups=sample_followup.plan(database, config, cover_root)- + _entity_followups(database, config, entity_watermark, covered),- auto_applied=auto_apply['applied'],- auto_rejected=auto_apply['auto_rejected'],- performer_aliases=profiles['aliases'], performer_avatars=profiles['avatars'],- performer_profile_conflicts=profiles['conflicts'],- performer_profile_failed=profiles['failed'],+ **summary,error=issue_summary(state['issue_count'], state['paused_count']),completed_at=time.time(), current_asset_id=None, current_asset_name='',current_action='', current_started_at=None, current_deadline_at=None)diff --git a/src/peach/magnet_chain.py b/src/peach/magnet_chain.pyindex 40dc74783..93a9fec3b 100644--- a/src/peach/magnet_chain.py+++ b/src/peach/magnet_chain.py@@ -123,6 +123,7 @@ def _normalise(item: dict, source: Source, code: str) -> dict | None:" ".join((name, str(item.get("quality") or ""), " ".join(attributes)))))return {"id": magnet.info_hash, "info_hash": magnet.info_hash,+ 'protocol': 'magnet', 'attributes': attributes,"uri": magnet.uri, "name": name, "size": size_bytes(item.get("size")),"size_text": str(item.get("size") or ""), "files": str(item.get("files") or ""),"file_count": int(item.get("file_count") or len(files) or 0),@@ -286,6 +287,9 @@ def search(root: Path, code: str, *, transport=None, min_size: int = 0,trace.append(f"{source.label}:取得 {len(items)} 条" if items else f"{source.label}:无结果")finally:fetcher.close()+ incomplete = bool(warnings) and not foundreturn {"items": rank_candidates(found, goal), "warnings": warnings, "trace": trace,+ 'state': 'error' if incomplete else 'ready',+ 'error': '部分来源未取得,请稍后重试或检查来源连接。' if incomplete else '',"next_sources": [source.label for source in CHAIN[3:]],"reference_only": list(REFERENCE_ONLY)}diff --git a/src/peach/metadata_auto_apply.py b/src/peach/metadata_auto_apply.pyindex 41d022f45..29619511e 100644--- a/src/peach/metadata_auto_apply.py+++ b/src/peach/metadata_auto_apply.py@@ -1393,7 +1393,7 @@ def _performer_external_provider(performer: dict, source: str,def auto_apply_metadata(database, candidate_root, *, batch_size=AUTO_APPLY_BATCH,- active=lambda: True, snapshot_root=None):+ active=lambda: True, snapshot_root=None, asset_ids=None):"""把确定的那部分直接落库,不占人工队列。ADR-0018:这是「刮削结果只作候选、不直接改写真相字段」的一个**窄例外**,@@ -1415,8 +1415,12 @@ def auto_apply_metadata(database, candidate_root, *, batch_size=AUTO_APPLY_BATCH`snapshot_root` 是本机落盘的来源快照目录,企划名义解析要读它(ADR-0038)。缺省是 None,也就是只走 `entity_alias` 那一条路:这一层不去猜真实数据根在哪儿,猜错的表现是测试悄悄读起了真实库。+ `asset_ids` 非空时只结算给定资产的候选;空集合不落库,None 表示全部候选。"""rows, _source, _skipped = read_candidates("metadata_fields", Path(candidate_root))+ if asset_ids is not None:+ chosen = {str(value) for value in asset_ids}+ rows = [row for row in rows if str(row.get('asset_id') or '') in chosen]applied, skipped, rejected, refreshed = [], 0, 0, 0# 一次运行一个批次号,并集补进来的标签按它整批撤回。union_batch = f"{UNION_TAGS_SOURCE}@{time.strftime('%Y%m%dT%H%M%S')}"diff --git a/src/peach/wants_magnets.py b/src/peach/wants_magnets.pyindex 49e98fdcd..d91ccc146 100644--- a/src/peach/wants_magnets.py+++ b/src/peach/wants_magnets.py@@ -14,7 +14,8 @@ from .sources import FailureReason, SourceFailuredef fetch(root: Path, code: str) -> dict:from .magnet_chain import search- return search(root, code)+ result = search(root, code)+ return {**result, 'items': [{**row, 'size': row['size_text']} for row in result['items']]}def cache_lifetime(released: str | None, today: date | None = None) -> int:diff --git a/src/peach/web_catalog.py b/src/peach/web_catalog.pyindex 8d4087106..85eb05de8 100644--- a/src/peach/web_catalog.py+++ b/src/peach/web_catalog.py@@ -18,6 +18,7 @@ from .catalog_rules import (LENGTH_TAGS,fc2_collection_label,is_jav_asset,+ jav_edition_badges,jav_display_metadata,names_without_shared_part_tail,normalise_code_key,@@ -37,6 +38,7 @@ from .western_artwork import artwork_keyCOST = {"local": "free", "115": "free", "pikpak": "metered", "online": "metered"}+GROUP_TABLES = ('asset', 'asset_entity', 'entity')#: 卡片随每条记录返回的女优上限。共演作品必须带上全部出镜者,而不是只留第一位;#: 但 BEST 合集实测有 41 位,全量下发会把列表响应撑大,所以截断并同时给出总数,@@ -365,7 +367,7 @@ def q_items(contract: WebContract, args):# 为它单独再发一次请求只是把同一条 WHERE 又跑一遍。cnt, total_bytes, work_total = (c.execute("SELECT count(*),COALESCE(sum(a.size),0),count(DISTINCT "- + video_work_key(contract) + ") FROM asset a WHERE "+ + video_work_key(contract, c) + ") FROM asset a WHERE "+ " AND ".join(where), par).fetchone()if include_total else (None, None, None))# 卡片要显示出镜者和高权重标签,不能只有番号 —— 一次批量取,别 N+1@@ -560,12 +562,10 @@ EDITION_ORDER = ("有码", "中字", "无码", "无码破解")def _edition_label(row: dict, tags: tuple[str, ...] = ()) -> str:"""这一份是哪个版次。- 判据只有 `jav_display_metadata` 一份。自己按文件名再写一套「像不像无码」的判断,+ 判据只有 `jav_edition_badges` 一份。自己按文件名再写一套「像不像无码」的判断,会和卡片上已经显示的徽章各说各话——同一个文件,角标写着无码、分组却当它是正片。"""- badges = jav_display_metadata(- row.get("name"), row.get("code"), tags,- ).get("edition_badges") or []+ badges = jav_edition_badges(row.get('name'), row.get('code'), tags)return str(badges[0]) if badges else "有码"@@ -577,7 +577,8 @@ def _edition_rows(contract: WebContract, codes) -> list[dict]:def _catalog_group_rows(contract: WebContract) -> list[dict]:"""规范番号、版次、探测规格共用一次全库只读快照。"""- return contract.cached_until_changed('catalog-group-rows', lambda: _read_group_rows(contract))+ return contract.cached_until_changed('catalog-group-rows', lambda: _read_group_rows(contract),+ tables=GROUP_TABLES)def _read_group_rows(contract: WebContract) -> list[dict]:@@ -611,7 +612,8 @@ def _edition_groups(contract: WebContract, codes) -> dict[str, list[dict]]:"""播放版本按规范番号归组,分卷属于各自的版本。"""keys = {normalise_code_key(code) for code in codes}return {code: group for code, group in contract.cached_until_changed(- 'catalog-edition-groups', lambda: _derive_edition_groups(contract)).items() if code in keys}+ 'catalog-edition-groups', lambda: _derive_edition_groups(contract),+ tables=GROUP_TABLES).items() if code in keys}def _derive_edition_groups(contract: WebContract) -> dict[str, list[dict]]:@@ -704,13 +706,15 @@ def multipart_groups(contract: WebContract) -> dict[str, list[dict]]:candidates.setdefault(code, []).append(row)groups = {}for code, items in candidates.items():+ if len(items) < 2:+ continueversions = partition_versions(items)for version in versions:if version['multipart']:key = code if len(versions) == 1 else f"{code}:{version['id']}"groups[key] = version['items']return groups- return contract.cached_until_changed("catalog-multipart-groups", derive)+ return contract.cached_until_changed("catalog-multipart-groups", derive, tables=GROUP_TABLES)def _live_parts(group) -> list[dict]:@@ -719,21 +723,21 @@ def _live_parts(group) -> list[dict]:return live if len(live) > 1 else []-def video_work_key(contract: WebContract) -> str:+def video_work_key(contract: WebContract, connection) -> str:"""分卷与版本按一部作品计数,其余文件各自计数。"""def derive():editions = _edition_groups(contract, [row['code'] for row in _catalog_group_rows(contract)])- cases = [- f"WHEN a.id IN ({','.join(str(int(item['id'])) for item in group)}) "- f"THEN 'edition:{int(group[0]['id'])}'"- for group in editions.values()- ] + [- f"WHEN a.id IN ({','.join(str(int(item['id'])) for item in group)}) "- f"THEN 'multipart:{int(group[0]['id'])}'"- for group in multipart_groups(contract).values()- ]- return ('CASE ' + ' '.join(cases) + " ELSE 'asset:'||a.id END") if cases else "'asset:'||a.id"- return contract.cached_until_changed('catalog-video-work-key', derive)+ keys = {int(item['id']): f"edition:{int(group[0]['id'])}"+ for group in editions.values() for item in group}+ for group in multipart_groups(contract).values():+ for item in group:+ keys.setdefault(int(item['id']), f"multipart:{int(group[0]['id'])}")+ return keys+ keys = contract.cached_until_changed('catalog-video-work-key', derive, tables=GROUP_TABLES)+ connection.create_function('peach_video_work_key', 1,+ lambda asset_id: keys.get(asset_id, f'asset:{asset_id}'),+ deterministic=True)+ return 'peach_video_work_key(a.id)'def attach_multipart_groups(contract: WebContract, rows) -> None:@@ -787,7 +791,8 @@ def q_parts(contract: WebContract, args):def _parts_by_asset(contract: WebContract) -> dict[int, tuple[str, list[dict]]]:return contract.cached_until_changed('catalog-parts-by-asset', lambda: {- int(row['id']): (key, group) for key, group in multipart_groups(contract).items() for row in group})+ int(row['id']): (key, group) for key, group in multipart_groups(contract).items() for row in group},+ tables=GROUP_TABLES)def _part_labels(group: list[dict]) -> dict[int, str]:diff --git a/src/peach/web_entity.py b/src/peach/web_entity.pyindex 836d42edd..dcd959e34 100644--- a/src/peach/web_entity.py+++ b/src/peach/web_entity.py@@ -104,7 +104,7 @@ def label_layer(contract: WebContract, c, kind: str, entity_id: int) -> tuple[dimaker = dict(maker) if maker else Nonelabels = [dict(row) for row in c.execute("SELECT e.id,e.canonical_name name,e.canonical_name k,"- "(SELECT count(DISTINCT " + video_work_key(contract) + ") FROM asset_entity ae JOIN asset a ON a.id=ae.asset_id"+ "(SELECT count(DISTINCT " + video_work_key(contract, c) + ") FROM asset_entity ae JOIN asset a ON a.id=ae.asset_id"" WHERE " + COUNTED_VIDEO + " AND " + scope_predicate("studio", "ae.entity_id", "e.id") + ") n ""FROM label_maker lm JOIN entity e ON e.id=lm.label_id WHERE lm.maker_id=? ""ORDER BY n DESC,e.canonical_name", (entity_id,))]@@ -212,7 +212,7 @@ def q_entity(contract: WebContract, args):d["follow"] = web_follow.entity_follow(contract, c, d["id"]) if kind == "creator" else Nonescope = scope_predicate(kind, "ae.entity_id")count, rep = c.execute(- "SELECT count(DISTINCT " + video_work_key(contract) + "),"+ "SELECT count(DISTINCT " + video_work_key(contract, c) + "),""(SELECT a2.id FROM asset_entity ae2 CROSS JOIN asset a2 ON a2.id=ae2.asset_id "" WHERE " + scope_predicate(kind, "ae2.entity_id") +" AND a2.medium='video' AND a2.snapshot_path IS NOT NULL " +@@ -225,7 +225,7 @@ def q_entity(contract: WebContract, args):d["representative_asset_id"] = repd["avatar_focus"] = contract.avatar_focus(kind, d["id"])d["tags"] = [dict(r) for r in c.execute(- "SELECT tag.id,tag.canonical_name k,count(DISTINCT " + video_work_key(contract) + ") n "+ "SELECT tag.id,tag.canonical_name k,count(DISTINCT " + video_work_key(contract, c) + ") n ""FROM asset_entity scope ""JOIN asset_entity tagged ON tagged.asset_id=scope.asset_id ""JOIN entity tag ON tag.id=tagged.entity_id "@@ -244,7 +244,7 @@ def q_entity(contract: WebContract, args):if kind == "agency":roster = c.execute("SELECT person.id,person.canonical_name k,"- "(SELECT count(DISTINCT " + video_work_key(contract) + ") FROM asset_entity ae "+ "(SELECT count(DISTINCT " + video_work_key(contract, c) + ") FROM asset_entity ae "" JOIN asset a ON a.id=ae.asset_id "" WHERE ae.entity_id=person.id AND " + COUNTED_VIDEO + ") n,""(SELECT a2.id FROM asset_entity ae2 JOIN asset a2 ON a2.id=ae2.asset_id "@@ -257,7 +257,7 @@ def q_entity(contract: WebContract, args):(d["id"],))else:roster = c.execute(- "SELECT person.id,person.canonical_name k,count(DISTINCT " + video_work_key(contract) + ") n,"+ "SELECT person.id,person.canonical_name k,count(DISTINCT " + video_work_key(contract, c) + ") n,""(SELECT a2.id FROM asset_entity ae2 JOIN asset a2 ON a2.id=ae2.asset_id "" WHERE ae2.entity_id=person.id AND a2.medium='video' "" AND a2.snapshot_path IS NOT NULL AND " + solo_performer_clause("a2.id", "person.id") +@@ -530,7 +530,7 @@ def q_index(contract: WebContract, kind, q="", limit=600, offset=0, category="")# 拿它当一家公司的门面,页面上就会是一张与这家公司无关的脸。sql = ("SELECT e.id entity_id,e.canonical_name k,""(SELECT count(*) FROM entity_membership m WHERE m.agency_id=e.id) members,"- "(SELECT count(DISTINCT " + video_work_key(contract) + ") FROM asset_entity ae "+ "(SELECT count(DISTINCT " + video_work_key(contract, c) + ") FROM asset_entity ae "" JOIN asset a ON a.id=ae.asset_id WHERE " + COUNTED_VIDEO + " AND "+ scope_predicate("agency", "ae.entity_id", "e.id") + ") n,""(SELECT l.id FROM entity_link l WHERE l.entity_id=e.id"@@ -553,7 +553,7 @@ def q_index(contract: WebContract, kind, q="", limit=600, offset=0, category="")# 的话,代表作那句每家片商都把全部有截图的视频回查一遍,一百多家叠起来要两秒多。scope = scope_predicate("studio", "ae.entity_id", "e.id")sql = ("SELECT * FROM (SELECT e.id entity_id,e.canonical_name k,"- "(SELECT count(DISTINCT " + video_work_key(contract) + ") FROM asset_entity ae"+ "(SELECT count(DISTINCT " + video_work_key(contract, c) + ") FROM asset_entity ae"" CROSS JOIN asset a ON a.id=ae.asset_id WHERE " + COUNTED_VIDEO + " AND " + scope + ") n,""(SELECT a2.id FROM asset_entity ae CROSS JOIN asset a2 ON a2.id=ae.asset_id "" WHERE " + scope + " AND a2.medium='video' AND a2.snapshot_path IS NOT NULL "@@ -572,7 +572,7 @@ def q_index(contract: WebContract, kind, q="", limit=600, offset=0, category="")rows = rows[:limit]elif kind in INDEX_ENTITY_KINDS:entity_kind = INDEX_ENTITY_KINDS[kind]- sql = ("SELECT e.id entity_id,e.kind entity_kind,e.canonical_name k,count(DISTINCT " + video_work_key(contract) + ") n,"+ sql = ("SELECT e.id entity_id,e.kind entity_kind,e.canonical_name k,count(DISTINCT " + video_work_key(contract, c) + ") n,""(SELECT a2.id FROM asset_entity ae2 JOIN asset a2 ON a2.id=ae2.asset_id "" WHERE ae2.entity_id=e.id AND a2.medium='video' AND a2.snapshot_path IS NOT NULL " +(" AND (e.kind='creator' OR (" + solo_performer_clause("a2.id", "e.id") + '))' if entity_kind == "performer" else "") +@@ -596,7 +596,7 @@ def q_index(contract: WebContract, kind, q="", limit=600, offset=0, category="")row.update(summaries[row['entity_id']])category_counts = entity_classification.counts(c,entity_kind,q,COUNTED_VIDEO)else:- sql = ("SELECT e.canonical_name k, count(DISTINCT " + video_work_key(contract) + ") n "+ sql = ("SELECT e.canonical_name k, count(DISTINCT " + video_work_key(contract, c) + ") n ""FROM asset_entity ae JOIN entity e ON e.id=ae.entity_id ""JOIN asset a ON a.id=ae.asset_id WHERE " + COUNTED_VIDEO + " AND e.kind='tag' "f"AND e.canonical_name NOT IN ({','.join('?' for _ in LENGTH_TAGS)}) "@@ -971,7 +971,7 @@ def q_suggest(contract: WebContract, q: str, limit: int = SUGGEST_GROUP_LIMIT,buckets: dict[str, list[dict]] = {}totals: dict[str, int] = {}with contract.read_connection() as connection:- work_key = video_work_key(contract)+ work_key = video_work_key(contract, connection)entities = [dict(row) for row in _suggest_entity_rows(connection, params, work_key)]if "agency" in wanted:entities += [dict(row) for row in _suggest_agency_rows(connection, params, work_key)]diff --git a/src/peach/web_state.py b/src/peach/web_state.pyindex 969d7ba39..64367efaa 100644--- a/src/peach/web_state.py+++ b/src/peach/web_state.py@@ -168,6 +168,8 @@ class WebContract:self.keyed_cache: OrderedDict[str, tuple[float, object]] = OrderedDict()#: 每次 cache_bust 递增。在途计算据此判断自己出发后缓存是否失效过。self.cache_generation = 0+ self.revision_cache_keys: set[str] = set()+ self.aggregate_locks: dict[str, threading.RLock] = {}self.follow_check_lock = threading.Lock()#: 任务中心。每个后台任务的开始、进度与结束都写这一张表,`/activity` 只读它。#: 只读端由 `api` 关掉写入:那边的账本是复制来的,写一行就是一处合不回去的分叉。@@ -288,31 +290,44 @@ class WebContract:self.keyed_cache.popitem(last=False)return value- def ledger_revision(self) -> int | None:+ def ledger_revision(self, tables=()) -> int | None:"""账本版本号:`ledger_revision` 各行之和(migration 0038)。每张账本表的增删改都由触发器给自己那一行加一,不论写的是服务、CLI 脚本还是账本同步,所以这个数变了就是账本变了。任务中心的心跳不挂触发器。库还没迁移到0038(或根本没有库)时返回 None。+ `tables` 非空时只累计这些表的版本。"""try:with self.read_connection() as connection:- row = connection.execute("SELECT total(n) FROM ledger_revision").fetchone()+ clause = " WHERE tbl IN (" + ','.join('?' for _ in tables) + ")" if tables else ''+ row = connection.execute("SELECT total(n) FROM ledger_revision" + clause, tables).fetchone()except sqlite3.Error:return Nonereturn int(row[0])- def cached_until_changed(self, key: str, fn, *inputs):+ def cached_until_changed(self, key: str, fn, *inputs, tables=()):"""只读账本聚合的缓存:账本版本号与 `inputs` 都没变就一直命中,不按时间过期。`inputs` 是聚合读到的账本之外的东西的版本(候选目录、头像目录、浏览历史库),由调用方给出:漏一样,那一样变了页面就一直是旧的。版本号在计算前读,计算期间有进程外的写,结果记在旧版本下,下一次请求读到新版本照样重算。库还没有版本号时退回 `CACHE_TTL`。+ `tables` 声明聚合依赖的表;这类缓存经过提交通知后仍按声明的版本核验,+ 同键的并发请求共用一次计算。"""- revision = self.ledger_revision()- return self.cached(key, fn, ttl=CACHE_TTL if revision is None else math.inf,- version=(revision, *inputs))+ if not tables:+ revision = self.ledger_revision()+ return self.cached(key, fn, ttl=CACHE_TTL if revision is None else math.inf,+ version=(revision, *inputs))+ # 指定依赖表的聚合共用一次计算;提交后仍按这些表的代次核验。+ with self.cache_lock:+ lock = self.aggregate_locks.setdefault(key, threading.RLock())+ self.revision_cache_keys.add(key)+ with lock:+ revision = self.ledger_revision(tables)+ return self.cached(key, fn, ttl=CACHE_TTL if revision is None else math.inf,+ version=(tuple(tables), revision, *inputs))def stop_background_jobs(self) -> None:"""服务关停时丢掉后台任务状态并等线程收工。@@ -335,7 +350,8 @@ class WebContract:def cache_bust(self):with self.cache_lock:- self.cache.clear()+ self.cache = OrderedDict((key, value) for key, value in self.cache.items()+ if key in self.revision_cache_keys)self.keyed_cache.clear()# 在途计算靠这个数认出「我出发之后缓存失效过」,从而放弃写回。self.cache_generation += 1diff --git a/tests/test_downloads_postprocess.py b/tests/test_downloads_postprocess.pynew file mode 100644index 000000000..8cd1d84f1--- /dev/null+++ b/tests/test_downloads_postprocess.py@@ -0,0 +1,91 @@+"""下载后处理在独立账本和临时媒体上的失败与重试。"""+import tempfile+import unittest+from pathlib import Path+from types import SimpleNamespace+from unittest.mock import patch++from peach import download_postprocess as post+from peach.downloads import DownloadStore, DownloadTask, INGESTED, POSTPROCESS_PENDING+from peach.repository import LedgerDatabase+from support.ledger import fresh_ledger+++class DownloadPostprocessTests(unittest.TestCase):+ def setUp(self):+ temporary = tempfile.TemporaryDirectory()+ self.addCleanup(temporary.cleanup)+ self.root = Path(temporary.name).resolve()+ self.database = LedgerDatabase(fresh_ledger(self.root))+ self.source = self.root / 'incoming' / 'ABC-123.mp4'+ self.target = self.root / 'organized' / self.source.name+ self.source.parent.mkdir()+ self.source.write_bytes(b'main video')+ with self.database.write_transaction() as connection:+ self.asset_id = connection.execute(+ 'INSERT INTO asset(location,path,name,medium,size,code) VALUES(?,?,?,?,?,?)',+ ('115', str(self.source), self.source.name, 'video', 10, 'ABC-123')).lastrowid+ self.store = DownloadStore(self.database)+ self.task = self.store.save(DownloadTask(+ id=0, info_hash='a' * 40, provider='115', source_uri='', display_name='ABC-123',+ target='/115/incoming', state=INGESTED, code='ABC-123',+ ledger_path=str(self.source.parent), asset_id=self.asset_id,+ postprocess_state=POSTPROCESS_PENDING))+ self.contract = SimpleNamespace(+ database=self.database, db_path=self.database.db_path,+ candidate_root=self.root / 'generated', download_junk_candidates=lambda: [],+ download_organize_templates=lambda: {'115': {'file': '{code}'}}, cache_bust=lambda: None)+ self.handle = SimpleNamespace(progress=lambda **_: None)+ plan = {'rows': [{'asset_id': self.asset_id, 'action': 'move',+ 'current_path': str(self.source), 'target_path': str(self.target)}], 'reasons': {}}+ self.plan = patch.object(post.organize, 'build_plan', return_value=plan)+ self.plan.start()+ self.addCleanup(self.plan.stop)+ collect = patch.object(post, '_collect', return_value={'candidates': 0})+ collect.start()+ self.addCleanup(collect.stop)++ def run_task(self):+ return post.run(self.contract, post.followup_key(self.task.id), self.handle)++ def test_existing_unrelated_foreign_key_violation_is_reported_without_failing_the_move(self):+ with self.database.write_transaction() as connection:+ connection.execute("INSERT INTO media_binding(asset_id,backend,external_id) VALUES(99999,'test','x')")+ result = self.run_task()+ self.assertEqual((result['moved'], result['existing_foreign_keys']), (1, 1))+ self.assertEqual(self.store.get(self.task.id).postprocess_state, 'complete')+ self.assertTrue(self.target.exists())++ def test_retry_uses_the_bound_asset_after_a_move(self):+ post._organize(self.contract, self.task, self.asset_id)+ main, path, _ = post._bind_main(self.contract, self.store.get(self.task.id))+ self.assertEqual((main, path), (self.asset_id, str(self.target)))++ def test_occupied_target_is_a_retryable_failure(self):+ self.target.parent.mkdir()+ self.target.write_bytes(b'existing file')+ with self.assertRaisesRegex(RuntimeError, '整理'):+ self.run_task()+ self.assertEqual(self.store.get(self.task.id).postprocess_state, 'failed')+ self.assertTrue(self.source.exists())+ self.assertEqual(self.target.read_bytes(), b'existing file')++ def test_new_foreign_key_violation_is_rejected(self):+ original = post.organize.apply_plan+ def corrupt(connection, rows, **options):+ result = original(connection, rows, **options)+ connection.execute("INSERT INTO media_binding(asset_id,backend,external_id) VALUES(99999,'test','x')")+ connection.commit()+ return result+ with patch.object(post.organize, 'apply_plan', side_effect=corrupt), \+ self.assertRaisesRegex(RuntimeError, '校验'):+ self.run_task()+ self.assertEqual(self.store.get(self.task.id).postprocess_state, 'failed')++ def test_a_collision_found_in_the_plan_is_a_failure(self):+ with patch.object(post.organize, 'build_plan', return_value={+ 'rows': [{'action': 'skip', 'reason': post.organize.SKIP_TARGET_EXISTS}],+ 'reasons': {post.organize.SKIP_TARGET_EXISTS: 1}}), \+ self.assertRaisesRegex(RuntimeError, '整理'):+ self.run_task()+ self.assertTrue(self.source.exists())diff --git a/tests/test_ledger_revision.py b/tests/test_ledger_revision.pyindex f95761801..cf035ef21 100644--- a/tests/test_ledger_revision.py+++ b/tests/test_ledger_revision.py@@ -71,6 +71,36 @@ class LedgerRevisionTests(unittest.TestCase):self.contract.task_runs.heartbeat(run.id, throttle=0)self.assertEqual(self.contract.cached_until_changed("review", self.compute), 1)+ def test_catalog_cache_survives_download_progress_and_commit_notifications(self):+ from peach.downloads import DownloadStore, DownloadTask, POSTPROCESS_RUNNING+ tables = ('asset', 'asset_entity', 'entity')+ self.assertEqual(self.contract.cached_until_changed('catalog', self.compute, tables=tables), 1)+ task = DownloadStore(self.contract.database).save(DownloadTask(+ id=0, info_hash='a' * 40, provider='115', source_uri='', display_name='',+ target='/115/test', state='ingested'))+ DownloadStore(self.contract.database).postprocess(task.id, POSTPROCESS_RUNNING)+ self.contract.cache_bust()+ self.assertEqual(self.contract.cached_until_changed('catalog', self.compute, tables=tables), 1)+ insert_asset(self.db_path, 1)+ self.assertEqual(self.contract.cached_until_changed('catalog', self.compute, tables=tables), 2)++ def test_concurrent_catalog_requests_share_one_computation(self):+ from concurrent.futures import ThreadPoolExecutor+ from threading import Event+ entered, release = Event(), Event()+ def derive():+ self.calls += 1+ entered.set()+ release.wait(5)+ return self.calls+ with ThreadPoolExecutor(max_workers=2) as pool:+ first = pool.submit(self.contract.cached_until_changed, 'catalog', derive, tables=('asset',))+ self.assertTrue(entered.wait(5))+ second = pool.submit(self.contract.cached_until_changed, 'catalog', derive, tables=('asset',))+ release.set()+ self.assertEqual((first.result(), second.result()), (1, 1))+ self.assertEqual(self.calls, 1)+def test_a_changed_file_input_recomputes(self):self.contract.cached_until_changed("review", self.compute, "csv-1")self.assertEqual(self.contract.cached_until_changed("review", self.compute, "csv-1"), 1)diff --git a/tests/test_magnet_chain.py b/tests/test_magnet_chain.pyindex 91dfa4232..776884a1e 100644--- a/tests/test_magnet_chain.py+++ b/tests/test_magnet_chain.py@@ -1,5 +1,7 @@"""磁力抓取链的纯判据;不连接真实站点。"""import unittest+from pathlib import Path+from unittest.mock import patchfrom peach.downloads import parse_magnetfrom peach.magnet_chain import (CHAIN, _normalise, decode_base91, rank_candidates,@@ -23,6 +25,33 @@ def item(info_hash, **fields):class MagnetChainTests(unittest.TestCase):+ def test_wishlist_candidates_have_display_and_download_fields(self):+ from peach.wants_magnets import fetch+ candidate = _normalise({'uri': item(HASH_A)['uri'], 'size': '2 GiB',+ 'attributes': ['中字']}, CHAIN[1], 'ABC-123')+ with patch('peach.magnet_chain.search', return_value={'items': [candidate]}):+ result = fetch(Path('.'), 'ABC-123')['items'][0]+ self.assertEqual(result['protocol'], 'magnet')+ self.assertEqual(result['attributes'], ['中字'])+ self.assertEqual(result['size'], '2 GiB')++ def test_unavailable_sources_without_results_use_the_failure_cooldown(self):+ from peach.magnet_chain import Fetcher, search+ from peach.wants_magnets import MagnetSearch+ now = [100.0]+ with patch.object(Fetcher, '__init__', return_value=None), patch.object(Fetcher, 'close'), \+ patch.object(Fetcher, 'manko', side_effect=RuntimeError), \+ patch.object(Fetcher, 'javdb', return_value=[]), \+ patch.object(Fetcher, 'sukebei', return_value=[]):+ calls = []+ def fetcher(root, code):+ calls.append(code)+ return search(root, code)+ lookup = MagnetSearch(Path('.'), fetcher=fetcher, clock=lambda: now[0], sleeper=lambda _: None)+ self.assertEqual(lookup.query('ABC-123')['state'], 'error')+ now[0] += 120+ self.assertEqual(lookup.query('ABC-123')['state'], 'error')+ self.assertEqual(len(calls), 2)def test_base91_decodes_the_api_envelope_payload(self):# basE91 官方示例:编码后的这一段解回 ASCII "test"。self.assertEqual(decode_base91("fPNKd"), b"test")diff --git a/tests/test_metadata_library.py b/tests/test_metadata_library.pyindex cdd3ee431..cab816e91 100644--- a/tests/test_metadata_library.py+++ b/tests/test_metadata_library.py@@ -86,6 +86,42 @@ def _archive_pages(url):class LibraryNfoTests(unittest.TestCase):+ @windows_ledger_roots+ def test_targeted_collection_keeps_global_progress_and_unrelated_candidates(self):+ media = self.root / 'media'+ media.mkdir()+ config = PeachConfig(self.root, self.root / 'config.toml', present=True,+ locations={'local': (str(media),)})+ db = fresh_ledger(self.root)+ database = LedgerDatabase(db)+ with database.write_transaction() as connection:+ for aid, code in ((1, 'ABW-358'), (2, 'ABW-359')):+ video = media / f'{code}.mp4'+ video.write_bytes(b'video')+ video.with_suffix('.nfo').write_text(+ f'<movie><title>作品 {aid}</title><sorttitle>{code}</sorttitle></movie>', encoding='utf-8')+ connection.execute('INSERT INTO asset(id,location,path,name,medium,code) VALUES(?,?,?,?,?,?)',+ (aid, 'local', str(video), video.name, 'video', code))+ provider = stub_provider()+ provider.query.return_value = {}+ generated = self.root / 'generated'+ covers = self.root / 'covers'+ with patch('peach.library_processing._enrich_finished_performers',+ return_value={'aliases': 0, 'avatars': 0, 'conflicts': 0, 'failed': 0}):+ process_library(config, db, generated, covers, provider_factory=lambda: provider)+ prior = state_path(config).read_bytes()+ output = self.root / 'state/download-processing/1.json'+ result = process_library(config, db, generated, covers, retry_ids=[1], stage='collect',+ state_file=output, provider_factory=lambda: provider, database=database)+ self.assertEqual(state_path(config).read_bytes(), prior)+ self.assertTrue(output.exists())+ self.assertEqual(result['total'], 1)+ candidates = read_rows(generated / 'library-metadata-field-candidates.csv')+ self.assertEqual(result['candidates'], sum(row['asset_id'] == '1' for row in candidates))+ with database.read_connection() as connection:+ self.assertIsNotNone(connection.execute('SELECT catalog_title FROM asset WHERE id=1').fetchone()[0])+ self.assertIsNone(connection.execute('SELECT catalog_title FROM asset WHERE id=2').fetchone()[0])+def setUp(self):temporary = tempfile.TemporaryDirectory()self.addCleanup(temporary.cleanup)diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex 4d2b23234..b905c2a77 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -29443,12 +29443,12 @@ async function zce(e, t, n, r = {}) {}).catch(() => {}), l;}var Bce = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function PE(e, t = null) {+function Vce(e, t = null) {if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Bce), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");n.innerHTML = bce(), e.insertBefore(n.content, t);}-function Vce(e, t) {+function PE(e, t) {let n = kE.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {@@ -29479,7 +29479,7 @@ function Vce(e, t) {function FE(e, t) {if (t.kind === "immerse") return Rce(e, t);let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = UT(), c = t.chrome === !1 ? null : e.parentElement;- c && PE(c, e);+ c && Vce(c, e);let l = { resume: t.resume ?? null };if (n === "follow") l = {...l,@@ -29509,7 +29509,7 @@ function FE(e, t) {f(), u && !a?.(u) && (YT() === u && (XT(null), NE()), mE(u));};return zce(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {- u = t, d ? p() : t ? (c && (f = Vce(t, c)), n === "follow" && Pce(r, e), o?.(t)) : o?.(null);+ u = t, d ? p() : t ? (c && (f = PE(t, c)), n === "follow" && Pce(r, e), o?.(t)) : o?.(null);}), () => {d = !0, p();};@@ -29909,15 +29909,15 @@ function Cle(e, t = Math.random) {async function wle(e, t) {return Cle(((await nn(`/api/items?${e}`)).items || []).filter((e) => Sle(e, t)));}-var pD = (e) => V.ensureQueryData({+var Tle = (e) => V.ensureQueryData({queryKey: UE(e),queryFn: ({ signal: t }) => QE(e, t)});-function Tle(e, t) {+function Ele(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function Ele(e) {+function Dle(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,@@ -29926,59 +29926,59 @@ function Ele(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function Dle(e, t, n) {+function Ole(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 Ole(e, t) {+function kle(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 kle = 15e3, Ale = {+var Ale = 15e3, jle = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, mD = null, hD = null, gD = Ale, _D = /* @__PURE__ */ new Set(), vD = 0, jle = 0, yD = 0, Mle = "", bD = [], xD = 0, SD = !1, CD = !1, wD = null, TD = /* @__PURE__ */ new Set(), ED = "", DD = null, OD = 0, kD = null, AD = !1;-function jD() {- if (!mD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return mD;+}, pD = null, mD = null, hD = jle, gD = /* @__PURE__ */ new Set(), _D = 0, Mle = 0, vD = 0, Nle = "", yD = [], bD = 0, xD = !1, SD = !1, CD = null, wD = /* @__PURE__ */ new Set(), TD = "", ED = null, DD = 0, OD = null, kD = !1;+function AD() {+ if (!pD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return pD;}-function Nle(e) {- return _D.add(e), () => {- _D.delete(e);+function Ple(e) {+ return gD.add(e), () => {+ gD.delete(e);};}-function Ple() {- for (let e of [..._D]) e();+function Fle() {+ for (let e of [...gD]) e();}-function MD() {- (0, mt.flushSync)(Ple);+function jD() {+ (0, mt.flushSync)(Fle);}-function Fle() {- let e = DD ? oE(DD.id) : 0;- return e ? `${ED} · ${cE(e)}` : ED;+function Ile() {+ let e = ED ? oE(ED.id) : 0;+ return e ? `${TD} · ${cE(e)}` : TD;}-function ND(e, t = null) {- clearInterval(OD), OD = 0, e === null ? (gD = {- ...gD,+function MD(e, t = null) {+ clearInterval(DD), DD = 0, e === null ? (hD = {+ ...hD,loading: null- }, MD()) : (ED = e, DD = t, gD = {- ...gD,- loading: Fle()- }, MD(), OD = window.setInterval(() => {- DD = bD[xD] ?? null, gD = {- ...gD,- loading: Fle()- }, MD();+ }, jD()) : (TD = e, ED = t, hD = {+ ...hD,+ loading: Ile()+ }, jD(), DD = window.setInterval(() => {+ ED = yD[bD] ?? null, hD = {+ ...hD,+ loading: Ile()+ }, jD();}, 500));}-function Ile(e) {+function Lle(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), hD.track.append(t);+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), mD.track.append(t);let r = hE(), i = () => {}, a = {el: t,video: n,@@ -29990,9 +29990,9 @@ function Ile(e) {}),leave: i};- return TD.add(a), a;+ return wD.add(a), a;}-function Lle(e, t) {+function Rle(e, t) {return new Promise((n) => {e.release = FE(e.video, {kind: "immerse",@@ -30000,227 +30000,227 @@ function Lle(e, t) {session: e.session,onLoaded: n,onEnded: () => {- gD.open && ID(1);+ hD.open && FD(1);}}), e.gone.then(n);});}-function PD(e) {- e && !e.disposed && (e.disposed = !0, TD.delete(e), e.leave(), e.release(), e.el.remove(), wD === e && (wD = null));+function ND(e) {+ e && !e.disposed && (e.disposed = !0, wD.delete(e), e.leave(), e.release(), e.el.remove(), CD === e && (CD = null));}-var Rle = [+var zle = ["loadeddata","canplay","error"];-function zle(e) {+function Ble(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), Rle.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), zle.forEach((e) => t.removeEventListener(e, i)), n());};- Rle.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, kle);+ zle.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, Ale);e.gone.then(i);});}-function FD(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Dle(e.videoWidth, e.videoHeight, n);+function PD(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Ole(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var Ble = () => hD?.track.querySelectorAll("video").forEach(FD);-function Vle(e) {- delete e.dataset.fit, e.readyState >= 1 ? FD(e) : e.addEventListener("loadedmetadata", () => FD(e), { once: !0 });-}+var Vle = () => mD?.track.querySelectorAll("video").forEach(PD);function Hle(e) {- gD = {- ...gD,+ delete e.dataset.fit, e.readyState >= 1 ? PD(e) : e.addEventListener("loadedmetadata", () => PD(e), { once: !0 });+}+function Ule(e) {+ hD = {+ ...hD,wide: e- }, MD(), Ble();+ }, jD(), Vle();}-var Ule = () => {- let e = Mle;+var Wle = () => {+ let e = Nle;return V.fetchQuery({- queryKey: ble(e, jle, yD),- queryFn: () => wle(e, jD().sourceOffline),+ queryKey: ble(e, Mle, vD),+ queryFn: () => wle(e, AD().sourceOffline),staleTime: Infinity});};-function Wle(e, t) {+function Gle(e, t) {let n = () => Bt(e.duration) || Bt(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && hD && (hD.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), kD = {+ t && mD && (mD.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), OD = {video: e,duration: n};}-async function Gle(e = 0) {- let t = bD[xD];- if (!t || SD) return;- let n = vD;- jD().route(t.id), SD = !0, ND(e ? "切换中…" : "加载中…", t);+async function Kle(e = 0) {+ let t = yD[bD];+ if (!t || xD) return;+ let n = _D;+ AD().route(t.id), xD = !0, MD(e ? "切换中…" : "加载中…", t);let r = null;try {- if (await pD(t.id).catch((e) => {+ if (await Tle(t.id).catch((e) => {if (!(e instanceof ZE)) throw e;- }), n !== vD) return;- let i = wD, a = !!(e && i);- a || PD(i);- let o = Ile(a ? e > 0 ? 100 : -100 : 0);- if (r = o, Vle(o.video), await Lle(o, t), await zle(o), o.disposed || (Hle(Ole(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ }), n !== _D) return;+ let i = CD, a = !!(e && i);+ a || ND(i);+ let o = Lle(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, Hle(o.video), await Rle(o, t), await Ble(o), o.disposed || (Ule(kle(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)), PD(i), o.el.style.transform = ""), o.disposed)) return;- wD = o, r = null, o.video.play()?.catch(() => {}), gD = {- ...gD,+ })), await new Promise((e) => setTimeout(e, 210)), ND(i), o.el.style.transform = ""), o.disposed)) return;+ CD = o, r = null, o.video.play()?.catch(() => {}), hD = {+ ...hD,idle: !1,shown: {item: t,- index: xD,- length: bD.length+ index: bD,+ length: yD.length}- }, Wle(o.video, t), B("/api/play", { id: t.id }).catch(() => {}), ND(null);+ }, Gle(o.video, t), B("/api/play", { id: t.id }).catch(() => {}), MD(null);} catch {- PD(r), n === vD && ND(null);+ ND(r), n === _D && MD(null);} finally {- n === vD && (SD = !1);+ n === _D && (xD = !1);}}-async function ID(e) {- if (SD || !gD.open) return;- let t = vD;- if (xD += e, ND("切换中…", bD[xD] ?? null), xD >= bD.length - 3 && !CD) {- CD = !0;+async function FD(e) {+ if (xD || !hD.open) return;+ let t = _D;+ if (bD += e, MD("切换中…", yD[bD] ?? null), bD >= yD.length - 3 && !SD) {+ SD = !0;try {- yD += 1;- let e = await Ule();- t === vD && (bD = Tle(bD, e));+ vD += 1;+ let e = await Wle();+ t === _D && (yD = Ele(yD, e));} catch {} finally {- CD = !1;+ SD = !1;}}- t === vD && (xD >= bD.length && (xD = 0), xD < 0 && (xD = bD.length - 1), await Gle(e));+ t === _D && (bD >= yD.length && (bD = 0), bD < 0 && (bD = yD.length - 1), await Kle(e));}-async function Kle(e) {- let t = ++vD;- qle(), jle += 1, yD = 0, Mle = xle(jD().filters()), V.removeQueries({ queryKey: ["immerse-list"] }), gD = {- ...gD,+async function qle(e) {+ let t = ++_D;+ Jle(), Mle += 1, vD = 0, Nle = xle(AD().filters()), V.removeQueries({ queryKey: ["immerse-list"] }), hD = {+ ...hD,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), ND("加载内容…");+ }, document.body.setAttribute("data-immerse-open", ""), MD("加载内容…");try {- let n = await Ule();+ let n = await Wle();if (e && !n.some((t) => t.id === e)) {- let t = await pD(e).catch((e) => {+ let t = await Tle(e).catch((e) => {if (e instanceof ZE) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== vD) return;- if (bD = n, !bD.length) {- LD(), jD().warn("当前筛选下没有可直接播放的内容");+ if (t !== _D) return;+ if (yD = n, !yD.length) {+ ID(), AD().warn("当前筛选下没有可直接播放的内容");return;}- xD = Math.max(0, bD.findIndex((t) => t.id === e)), await Gle();+ bD = Math.max(0, yD.findIndex((t) => t.id === e)), await Kle();} catch {- if (t !== vD) return;- ND(null), LD();+ if (t !== _D) return;+ MD(null), ID();}}-function qle() {- clearInterval(OD), OD = 0, VD(), BD = null, kD = null, AD = !1, [...TD].forEach(PD), SD = !1;+function Jle() {+ clearInterval(DD), DD = 0, BD(), zD = null, OD = null, kD = !1, [...wD].forEach(ND), xD = !1;}-function LD() {- gD.open && (vD++, qle(), gD = Ale, document.body.removeAttribute("data-immerse-open"), MD(), jD().closed());+function ID() {+ hD.open && (_D++, Jle(), hD = jle, document.body.removeAttribute("data-immerse-open"), jD(), AD().closed());}-var RD = 0, zD = null, Jle = 0, BD = null, Yle = 0;-function VD() {- clearTimeout(RD), RD = 0, zD = null;+var LD = 0, RD = null, Yle = 0, zD = null, Xle = 0;+function BD() {+ clearTimeout(LD), LD = 0, RD = null;}-function Xle(e) {- let t = wD?.video;+function Zle(e) {+ let t = CD?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- zD && zD.side === n && r - zD.at <= 280 ? (VD(), LE(t, jD().seekSeconds() * n)) : (RD && (clearTimeout(RD), RD = 0, IE(t)), zD = {+ RD && RD.side === n && r - RD.at <= 280 ? (BD(), LE(t, AD().seekSeconds() * n)) : (LD && (clearTimeout(LD), LD = 0, IE(t)), RD = {side: n,at: r- }, RD = window.setTimeout(() => {- RD = 0, zD = null, gD.open && IE(wD?.video);+ }, LD = window.setTimeout(() => {+ LD = 0, RD = null, hD.open && IE(CD?.video);}, 280));}-function Zle() {- Date.now() < Jle || IE(wD?.video);+function Qle() {+ Date.now() < Yle || IE(CD?.video);}-var HD = (e) => hD?.bar.toggleAttribute("data-scrubbing", e);-function UD(e) {- hD && (hD.progress.style.width = `${(e * 100).toFixed(2)}%`);+var VD = (e) => mD?.bar.toggleAttribute("data-scrubbing", e);+function HD(e) {+ mD && (mD.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function Qle(e) {+function $le(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- BD = null;+ zD = null;return;}- let n = wD?.video;- BD = {+ let n = CD?.video;+ zD = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function $le(e) {- if (!BD || e.touches.length !== 1) return;- let t = e.touches[0].clientX - BD.x, n = e.touches[0].clientY - BD.y;- if (!BD.axis) {+function eue(e) {+ if (!zD || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - zD.x, n = e.touches[0].clientY - zD.y;+ if (!zD.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- BD.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", BD.axis === "x" && HD(!0);+ zD.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", zD.axis === "x" && VD(!0);}- if (BD.axis !== "x") return;- let r = wD?.video, i = r && r.duration || 0;- i && (e.preventDefault(), BD.to = Math.min(i, Math.max(0, BD.from + t / window.innerWidth * i)), UD(BD.to / i));+ if (zD.axis !== "x") return;+ let r = CD?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), zD.to = Math.min(i, Math.max(0, zD.from + t / window.innerWidth * i)), HD(zD.to / i));}-function eue(e) {- if (!BD) return;- let t = BD;- if (BD = null, Jle = Date.now() + 700, HD(!1), t.axis === "x") {- let e = wD?.video;+function tue(e) {+ if (!zD) return;+ let t = zD;+ if (zD = null, Yle = Date.now() + 700, VD(!1), t.axis === "x") {+ let e = CD?.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;- Math.abs(i) > 60 ? (VD(), ID(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Xle(n.clientX));+ Math.abs(i) > 60 ? (BD(), FD(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Zle(n.clientX));}-function tue() {- BD = null, HD(!1);+function nue() {+ zD = null, VD(!1);}-function nue(e) {+function rue(e) {let t = Date.now();- t - Yle < 260 || (Yle = t, ID(e.deltaY > 0 ? 1 : -1));+ t - Xle < 260 || (Xle = t, FD(e.deltaY > 0 ? 1 : -1));}-function WD(e) {- let t = hD.bar.getBoundingClientRect();+function UD(e) {+ let t = mD.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}-function rue(e) {- kD?.duration() && (AD = !0, HD(!0), e.currentTarget.setPointerCapture(e.pointerId), UD(WD(e)), e.preventDefault());-}function iue(e) {- AD && UD(WD(e));+ OD?.duration() && (kD = !0, VD(!0), e.currentTarget.setPointerCapture(e.pointerId), HD(UD(e)), e.preventDefault());}function aue(e) {- if (!AD) return;- AD = !1, HD(!1);- let t = kD?.duration();- kD && t && (kD.video.currentTime = t * WD(e));+ kD && HD(UD(e));}-function oue() {- AD = !1, HD(!1);+function oue(e) {+ if (!kD) return;+ kD = !1, VD(!1);+ let t = OD?.duration();+ OD && t && (OD.video.currentTime = t * UD(e));}-async function GD(e, t) {+function sue() {+ kD = !1, VD(!1);+}+async function WD(e, t) {let n = await B(KE, {id: e,kind: t@@ -30242,7 +30242,7 @@ async function GD(e, t) {o_count: i.o_count}), n;}-var sue = [+var cue = [{kind: "dislike",glyph: "thumbs-down",@@ -30259,7 +30259,7 @@ var sue = [label: "记一次高潮"}];-function cue(e) {+function lue(e) {return dt({queryKey: UE(e ?? 0),queryFn: ({ signal: t }) => QE(e, t),@@ -30267,23 +30267,23 @@ function cue(e) {staleTime: Infinity}).data;}-function lue({ kind: e, glyph: t, label: n, id: r }) {- let i = cue(r), a = ft({+function uue({ kind: e, glyph: t, label: n, id: r }) {+ let i = lue(r), a = ft({mutationFn: async (t) => {let n = V.getQueryData(UE(t))?.feedback || null;return {- result: await GD(t, e),+ result: await WD(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- jD().toast(fD(e, t), { undo: async () => {- e === "o" ? await GD(r, "o-undo") : (t.feedback && await GD(r, t.feedback), n && await GD(r, n));+ AD().toast(fD(e, t), { undo: async () => {+ e === "o" ? await WD(r, "o-undo") : (t.feedback && await WD(r, t.feedback), n && await WD(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- ID(1);+ FD(1);}, 260);},- onError: (e) => jD().failure("更新反馈", e)+ onError: (e) => AD().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, x.jsxs)("div", {"data-immerse-action": "",@@ -30314,11 +30314,11 @@ function lue({ kind: e, glyph: t, label: n, id: r }) {})]});}-function uue({ shown: e }) {- let t = e?.item ?? null, n = cue(t?.id ?? null), r = n ? Ele(n) : null, i = jD(), a = (e) => {- e.preventDefault(), n && (LD(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function due({ shown: e }) {+ let t = e?.item ?? null, n = lue(t?.id ?? null), r = n ? Dle(n) : null, i = AD(), a = (e) => {+ e.preventDefault(), n && (ID(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (LD(), i.openItem(t.id));+ t && (ID(), i.openItem(t.id));}, s = r ? $i(r.name, r.ref, Li(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, x.jsxs)("div", {"data-immerse-ui": "",@@ -30347,18 +30347,18 @@ function uue({ shown: e }) {})]});}-var due = { __html: Ja("媒体加载中") };-function fue({ view: e }) {+var fue = { __html: Ja("媒体加载中") };+function pue({ view: e }) {let t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = (0, b.useRef)(null), i = (0, b.useRef)(null);(0, b.useLayoutEffect)(() => {let e = t.current;- return hD = {+ return mD = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", Qle, { passive: !0 }), e.addEventListener("touchmove", $le, { passive: !1 }), e.addEventListener("touchend", eue, { passive: !1 }), e.addEventListener("touchcancel", tue, { passive: !0 }), e.addEventListener("wheel", nue, { passive: !0 }), () => {- e.removeEventListener("touchstart", Qle), e.removeEventListener("touchmove", $le), e.removeEventListener("touchend", eue), e.removeEventListener("touchcancel", tue), e.removeEventListener("wheel", nue), hD = null;+ }, e.addEventListener("touchstart", $le, { passive: !0 }), e.addEventListener("touchmove", eue, { passive: !1 }), e.addEventListener("touchend", tue, { passive: !1 }), e.addEventListener("touchcancel", nue, { passive: !0 }), e.addEventListener("wheel", rue, { passive: !0 }), () => {+ e.removeEventListener("touchstart", $le), e.removeEventListener("touchmove", eue), e.removeEventListener("touchend", tue), e.removeEventListener("touchcancel", nue), e.removeEventListener("wheel", rue), mD = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -30375,10 +30375,10 @@ function fue({ view: e }) {children: [/* @__PURE__ */ (0, x.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: Zle+ onClick: Qle}), /* @__PURE__ */ (0, x.jsx)("div", {"data-immerse-actions": "",- children: sue.map((e) => /* @__PURE__ */ (0, x.jsx)(lue, {+ children: cue.map((e) => /* @__PURE__ */ (0, x.jsx)(uue, {...e,id: a}, e.kind))@@ -30391,7 +30391,7 @@ function fue({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, x.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: due+ dangerouslySetInnerHTML: fue}), /* @__PURE__ */ (0, x.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, x.jsx)("button", {@@ -30399,7 +30399,7 @@ function fue({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: LD,+ onClick: ID,children: /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-x" })@@ -30408,97 +30408,97 @@ function fue({ view: e }) {/* @__PURE__ */ (0, x.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: rue,- onPointerMove: iue,- onPointerUp: aue,- onPointerCancel: oue,+ onPointerDown: iue,+ onPointerMove: aue,+ onPointerUp: oue,+ onPointerCancel: sue,children: /* @__PURE__ */ (0, x.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, x.jsx)(uue, { shown: e.shown })+ /* @__PURE__ */ (0, x.jsx)(due, { shown: e.shown })]});}-var pue = {- open: Kle,- close: LD,- isOpen: () => gD.open,- activeVideo: () => gD.open ? wD?.video ?? null : null+var mue = {+ open: qle,+ close: ID,+ isOpen: () => hD.open,+ activeVideo: () => hD.open ? CD?.video ?? null : null};-function mue(e) {- if (!gD.open) return;+function hue(e) {+ if (!hD.open) return;let t = e.target;- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && ID(1), e.key === "ArrowUp" && ID(-1)));+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && FD(1), e.key === "ArrowUp" && FD(-1)));}-function hue(e) {- let t = !mD;- return mD = e, t && (document.addEventListener("keydown", mue), addEventListener("resize", () => {- gD.open && Ble();+function gue(e) {+ let t = !pD;+ return pD = e, t && (document.addEventListener("keydown", hue), addEventListener("resize", () => {+ hD.open && Vle();}), addEventListener("pagehide", () => {- TD.forEach((e) => vE(e.session));- })), pue;+ wD.forEach((e) => vE(e.session));+ })), mue;}-function gue() {- let e = (0, b.useSyncExternalStore)(Nle, () => gD);- return mD ? /* @__PURE__ */ (0, x.jsx)(fue, { view: e }) : null;+function _ue() {+ let e = (0, b.useSyncExternalStore)(Ple, () => hD);+ return pD ? /* @__PURE__ */ (0, x.jsx)(pue, { view: e }) : null;}//#endregion//#region src/manage-header.ts-var _ue = {+var vue = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/scraping": "来源和凭证"-}, vue = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]);-function yue(e) {- let t = _ue[e.path] ? "cleanup" : e.section;+}, yue = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]);+function bue(e) {+ let t = vue[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var bue = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function KD(e) {+var xue = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function GD(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = _ue[e.path] ?? "";+ let n = vue[e.path] ?? "";return {title: e.path === "/diagnostics" ? "系统诊断" : e.section === "cleanup" && n || t[1],- pressed: yue(e),+ pressed: bue(e),crumb: n,- compact: vue.has(e.path) || e.section === "configuration",+ compact: yue.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: bue(e.trash),+ text: xue(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var qD = (e) => e.replace(/[&<>"']/g, (e) => ({+var KD = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), xue = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${qD(e)}"/></svg>`, Sue = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";-function Cue(e) {- let t = KD(e);+})[e]), Sue = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${KD(e)}"/></svg>`, Cue = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";+function wue(e) {+ let t = GD(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${qD(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${xue(r)}<span>${qD(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${xue("chevron-right")}</li><li aria-current="true"><span>${qD(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? Sue : `<span data-lede-text="">${qD(t.lede.text)}</span>${t.lede.total ? wue : ""}`}</p>`;- return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}<span data-manage-indicator="" aria-hidden="true"></span></div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${qD(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${KD(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${Sue(r)}<span>${KD(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${Sue("chevron-right")}</li><li aria-current="true"><span>${KD(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? Cue : `<span data-lede-text="">${KD(t.lede.text)}</span>${t.lede.total ? Tue : ""}`}</p>`;+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}<span data-manage-indicator="" aria-hidden="true"></span></div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${KD(t.title)}</h2>` + i;}-var wue = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var Tue = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";//#endregion//#region src/react/settings-panel/icon.tsx-function JD({ name: e }) {+function qD({ name: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })});}-function Tue({ name: e }) {+function Eue({ name: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -30507,37 +30507,37 @@ function Tue({ name: e }) {}//#endregion//#region src/react/manage-header/manage-header-island.tsx-var YD = null, XD = null, ZD = /* @__PURE__ */ new Set();-function Eue(e) {- return ZD.add(e), () => {- ZD.delete(e);+var JD = null, YD = null, XD = /* @__PURE__ */ new Set();+function Due(e) {+ return XD.add(e), () => {+ XD.delete(e);};}-function Due() {- for (let e of [...ZD]) e();+function Oue() {+ for (let e of [...XD]) e();}-var Oue = { render(e) {- XD = e, (0, mt.flushSync)(Due);+var kue = { render(e) {+ YD = e, (0, mt.flushSync)(Oue);} };-function kue(e) {- return YD = e, XD = null, Oue;+function Aue(e) {+ return JD = e, YD = null, kue;}-function Aue() {- let e = (0, b.useSyncExternalStore)(Eue, () => XD);- return YD && e ? /* @__PURE__ */ (0, x.jsx)(jue, {- host: YD,+function jue() {+ let e = (0, b.useSyncExternalStore)(Due, () => YD);+ return JD && e ? /* @__PURE__ */ (0, x.jsx)(Mue, {+ host: JD,props: e}) : null;}-function jue({ host: e, props: t }) {- let n = KD(t);+function Mue({ host: e, props: t }) {+ let n = GD(t);return n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(Nue, {+ /* @__PURE__ */ (0, x.jsx)(Pue, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, x.jsx)(Pue, {+ n.crumb ? /* @__PURE__ */ (0, x.jsx)(Fue, {host: e,label: n.crumb}) : null,@@ -30546,29 +30546,29 @@ function jue({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(Fue, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(Iue, {host: e,lede: n.lede})] }) : null;}-var QD = null;-function Mue(e, t, n) {+var ZD = null;+function Nue(e, t, n) {e.style.setProperty("--tab-x", `${t}px`), e.style.setProperty("--tab-width", `${n}px`);}-function Nue({ host: e, pressed: t, menu: n }) {+function Pue({ host: e, pressed: t, menu: n }) {let r = (0, b.useRef)(null), i = (0, b.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) && (Mue(t, n?.offsetLeft ?? 0, n?.offsetWidth ?? 0), n && (QD = {+ (!n || n.offsetWidth) && (Nue(t, n?.offsetLeft ?? 0, n?.offsetWidth ?? 0), n && (ZD = {x: n.offsetLeft,width: n.offsetWidth}));};return (0, b.useLayoutEffect)(() => {let e = r.current, t = i.current;- QD ? Mue(t, QD.x, QD.width) : a();+ ZD ? Nue(t, ZD.x, ZD.width) : a();let n = 0, o = requestAnimationFrame(() => {t.setAttribute("data-ready", ""), n = requestAnimationFrame(a);}), s = new ResizeObserver(a);@@ -30596,7 +30596,7 @@ function Nue({ host: e, pressed: t, menu: n }) {"aria-pressed": a,"aria-current": a ? "page" : void 0,onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, x.jsx)(JD, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, x.jsx)(qD, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]}, n);}), /* @__PURE__ */ (0, x.jsx)("span", {ref: i,@@ -30606,7 +30606,7 @@ function Nue({ host: e, pressed: t, menu: n }) {})});}-function Pue({ host: e, label: t }) {+function Fue({ host: e, label: t }) {return /* @__PURE__ */ (0, x.jsx)("nav", {"data-manage-crumb": "","aria-label": "Breadcrumb",@@ -30616,20 +30616,20 @@ function Pue({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, x.jsx)(JD, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {+ }), /* @__PURE__ */ (0, x.jsx)(qD, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, x.jsx)("span", { children: t })})] })});}-function Fue({ host: e, lede: t }) {+function Iue({ host: e, lede: t }) {return /* @__PURE__ */ (0, x.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, x.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: Sue }- }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Iue, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {+ dangerouslySetInnerHTML: { __html: Cue }+ }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Lue, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -30639,7 +30639,7 @@ function Fue({ host: e, lede: t }) {}) : null] })});}-function Iue({ text: e }) {+function Lue({ text: e }) {let t = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {no(t.current, e);@@ -30650,20 +30650,20 @@ function Iue({ text: e }) {}//#endregion//#region src/core/jav-title.ts-var Lue = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Rue = (e, t = e?.name) => {+var Rue = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, zue = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(Lue, "") : n;-}, zue = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Bue = (e) => {+ return e?.is_jav ? n.replace(Rue, "") : n;+}, Bue = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Vue = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(zue) || t[0] || "";+ return t.find(Bue) || t[0] || "";};-function Vue(e, t = e?.name) {- let n = Rue(e, t), r = String(e?.code || "").trim().toUpperCase();+function Hue(e, t = e?.name) {+ let n = zue(e, t), r = String(e?.code || "").trim().toUpperCase();if (!e?.is_jav || !r) return {code: "",title: n};- let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Bue(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c;+ let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Vue(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c;return {code: i,title: l || u,@@ -30674,23 +30674,23 @@ function Vue(e, t = e?.name) {].includes(e)) : []};}-var $D = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = Vue(e, t);+var QD = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = Hue(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function eO(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = Vue(e, t);+function $D(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = Hue(e, t);if (!n) return R(r);let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : "cracked"}">${R(e)}</small>`).join("");return `<span class="ui-javidentity"><strong class="ui-javcode">${R(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${R(r)}</span>` : ""}`;}//#endregion//#region node_modules/@remixicon/react/index.mjs-var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+var Uue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30698,7 +30698,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Uue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Wue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30706,7 +30706,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), tO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), eO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30714,7 +30714,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), nO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), tO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30722,7 +30722,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), rO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), nO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30730,7 +30730,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), Wue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), Gue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30738,7 +30738,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), Gue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), Kue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30746,7 +30746,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Kue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), que = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30754,7 +30754,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), que = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), Jue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30762,7 +30762,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), Jue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30770,7 +30770,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), iO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), rO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30778,7 +30778,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), Xue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30786,7 +30786,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), Xue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), Zue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30794,7 +30794,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), aO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), iO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30802,7 +30802,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), oO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), aO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30810,7 +30810,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), Zue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), Que = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30818,7 +30818,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), sO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), oO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30826,7 +30826,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), Que = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), $ue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30834,7 +30834,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), $ue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), ede = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30842,7 +30842,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), ede = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), tde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30850,7 +30850,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), tde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), nde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30858,7 +30858,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), nde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), rde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30866,7 +30866,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), rde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), ide = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30874,7 +30874,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), ide = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), ade = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30882,7 +30882,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), cO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), sO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30890,7 +30890,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), lO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), cO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30898,7 +30898,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), ade = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), ode = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30906,7 +30906,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), ode = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), sde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30914,7 +30914,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), sde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), cde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30922,7 +30922,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), cde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), lde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30930,7 +30930,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), lde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), ude = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30938,7 +30938,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), ude = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), dde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30946,7 +30946,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), dde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), fde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30954,7 +30954,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), uO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), lO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30962,7 +30962,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), dO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), uO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30970,7 +30970,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), fde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), pde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30978,7 +30978,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), fO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), dO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30986,7 +30986,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), pde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -30994,7 +30994,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), hde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -31002,7 +31002,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), hde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), gde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -31010,7 +31010,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), gde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), _de = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -31018,7 +31018,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), _de = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), vde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -31026,7 +31026,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), vde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -31034,7 +31034,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), bde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -31042,7 +31042,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), bde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), xde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -31050,7 +31050,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), xde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {+}, b.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" })), Sde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -31058,88 +31058,88 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfill: e,...r,className: "remixicon " + (n || "")-}, b.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" })), Sde = (e, t) => {+}, b.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" })), Cde = (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;-}, Cde = (e, t) => ({+}, wde = (e, t) => ({classGroupId: e,validator: t-}), wde = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), Tde = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), pO = "-", Tde = [], Ede = "arbitrary..", Dde = (e) => {- let t = Ade(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), fO = "-", Ede = [], Dde = "arbitrary..", Ode = (e) => {+ let t = jde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return kde(e);- let n = e.split(pO);- return Ode(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return Ade(e);+ let n = e.split(fO);+ return kde(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? Sde(i, t) : t : i || Tde;+ return t ? i ? Cde(i, t) : t : i || Ede;}- return n[e] || Tde;+ return n[e] || Ede;}};-}, Ode = (e, t, n) => {+}, kde = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = Ode(e, t + 1, i);+ let n = kde(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(pO) : e.slice(t).join(pO), s = a.length;+ let o = t === 0 ? e.join(fO) : e.slice(t).join(fO), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, kde = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, Ade = (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 ? Ede + r : void 0;-})(), Ade = (e) => {+ return r ? Dde + r : void 0;+})(), jde = (e) => {let { theme: t, classGroups: n } = e;- return jde(n, t);-}, jde = (e, t) => {- let n = wde();+ return Mde(n, t);+}, Mde = (e, t) => {+ let n = Tde();for (let r in e) {let i = e[r];- mO(i, n, r, t);+ pO(i, n, r, t);}return n;-}, mO = (e, t, n, r) => {+}, pO = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- Mde(i, t, n, r);+ Nde(i, t, n, r);}-}, Mde = (e, t, n, r) => {- typeof e == "string" ? Nde(e, t, n) : typeof e == "function" ? Pde(e, t, n, r) : Fde(e, t, n, r);-}, Nde = (e, t, n) => {- let r = e === "" ? t : Ide(t, e);+}, Nde = (e, t, n, r) => {+ typeof e == "string" ? Pde(e, t, n) : typeof e == "function" ? Fde(e, t, n, r) : Ide(e, t, n, r);+}, Pde = (e, t, n) => {+ let r = e === "" ? t : Lde(t, e);r.classGroupId = n;-}, Pde = (e, t, n, r) => {- Lde(e) ? mO(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Cde(n, e)));}, Fde = (e, t, n, r) => {+ Rde(e) ? pO(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(wde(n, e)));+}, Ide = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- mO(o, Ide(t, a), n, r);+ pO(o, Lde(t, a), n, r);}-}, Ide = (e, t) => {- let n = e, r = t.split(pO), i = r.length;+}, Lde = (e, t) => {+ let n = e, r = t.split(fO), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = wde(), n.nextPart.set(t, i)), n = i;+ i || (i = Tde(), n.nextPart.set(t, i)), n = i;}return n;-}, Lde = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Rde = (e) => {+}, Rde = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, zde = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -31157,19 +31157,19 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => be in n ? n[e] = t : i(e, t);}};-}, hO = "!", zde = ":", Bde = [], Vde = (e, t, n, r, i) => ({+}, mO = "!", Bde = ":", Vde = [], Hde = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), Hde = (e) => {+}), Ude = (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 === zde) {+ if (o === Bde) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -31181,13 +31181,13 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bo === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;}let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;- s.endsWith(hO) ? (c = s.slice(0, -1), l = !0) : s.startsWith(hO) && (c = s.slice(1), l = !0);+ s.endsWith(mO) ? (c = s.slice(0, -1), l = !0) : s.startsWith(mO) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return Vde(t, l, c, u);+ return Hde(t, l, c, u);};if (t) {- let e = t + zde, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Vde(Bde, !1, t, void 0, !0);+ let e = t + Bde, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Hde(Vde, !1, t, void 0, !0);}if (n) {let e = r;@@ -31197,7 +31197,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b});}return r;-}, Ude = (e) => {+}, Wde = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -31209,18 +31209,18 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, Wde = (e) => ({- cache: Rde(e.cacheSize),- parseClassName: Hde(e),- sortModifiers: Ude(e),- postfixLookupClassGroupIds: Gde(e),- ...Dde(e)-}), Gde = (e) => {+}, Gde = (e) => ({+ cache: zde(e.cacheSize),+ parseClassName: Ude(e),+ sortModifiers: Wde(e),+ postfixLookupClassGroupIds: Kde(e),+ ...Ode(e)+}), Kde = (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;-}, Kde = /\s+/, qde = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Kde), l = "";+}, qde = /\s+/, Jde = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(qde), 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) {@@ -31240,7 +31240,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + hO : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + mO : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -31251,34 +31251,34 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bl = t + (l.length > 0 ? " " + l : l);}return l;-}, Jde = (...e) => {+}, Yde = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = Yde(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = Xde(n)) && (i && (i += " "), i += r);return i;-}, Yde = (e) => {+}, Xde = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = Yde(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = Xde(e[r])) && (n && (n += " "), n += t);return n;-}, Xde = (e, ...t) => {- let n, r, i, a, o = (o) => (n = Wde(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, Zde = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = Gde(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 = qde(e, n);+ let a = Jde(e, n);return i(e, a), a;};- return a = o, (...e) => a(Jde(...e));-}, Zde = [], gO = (e) => {- let t = (t) => t[e] || Zde;+ return a = o, (...e) => a(Yde(...e));+}, Qde = [], hO = (e) => {+ let t = (t) => t[e] || Qde;return t.isThemeGetter = !0, t.themeKey = e, t;-}, Qde = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, $de = /^\((?:(\w[\w-]*):)?(.+)\)$/i, efe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, tfe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, nfe = /\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$/, rfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, ife = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, afe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, _O = (e) => efe.test(e), vO = (e) => !!e && !Number.isNaN(Number(e)), yO = (e) => !!e && Number.isInteger(Number(e)), bO = (e) => e.endsWith("%") && vO(e.slice(0, -1)), xO = (e) => tfe.test(e), ofe = () => !0, sfe = (e) => nfe.test(e) && !rfe.test(e), SO = () => !1, cfe = (e) => ife.test(e), lfe = (e) => afe.test(e), ufe = (e) => !CO(e) && !EO(e), dfe = (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)), ffe = (e) => kO(e, Tfe, SO), CO = (e) => Qde.test(e), wO = (e) => kO(e, Efe, sfe), pfe = (e) => kO(e, Dfe, vO), mfe = (e) => kO(e, kfe, ofe), hfe = (e) => kO(e, Ofe, SO), gfe = (e) => kO(e, Cfe, SO), _fe = (e) => kO(e, wfe, lfe), TO = (e) => kO(e, Afe, cfe), EO = (e) => $de.test(e), DO = (e) => AO(e, Efe), vfe = (e) => AO(e, Ofe), yfe = (e) => AO(e, Cfe), bfe = (e) => AO(e, Tfe), xfe = (e) => AO(e, wfe), OO = (e) => AO(e, Afe, !0), Sfe = (e) => AO(e, kfe, !0), kO = (e, t, n) => {- let r = Qde.exec(e);- return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, AO = (e, t, n = !1) => {+}, $de = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, efe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, tfe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, nfe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, rfe = /\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$/, ife = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, afe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ofe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, gO = (e) => tfe.test(e), _O = (e) => !!e && !Number.isNaN(Number(e)), vO = (e) => !!e && Number.isInteger(Number(e)), yO = (e) => e.endsWith("%") && _O(e.slice(0, -1)), bO = (e) => nfe.test(e), sfe = () => !0, cfe = (e) => rfe.test(e) && !ife.test(e), xO = () => !1, lfe = (e) => afe.test(e), ufe = (e) => ofe.test(e), dfe = (e) => !SO(e) && !TO(e), ffe = (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)), pfe = (e) => OO(e, Efe, xO), SO = (e) => $de.test(e), CO = (e) => OO(e, Dfe, cfe), mfe = (e) => OO(e, Ofe, _O), hfe = (e) => OO(e, Afe, sfe), gfe = (e) => OO(e, kfe, xO), _fe = (e) => OO(e, wfe, xO), vfe = (e) => OO(e, Tfe, ufe), wO = (e) => OO(e, jfe, lfe), TO = (e) => efe.test(e), EO = (e) => kO(e, Dfe), yfe = (e) => kO(e, kfe), bfe = (e) => kO(e, wfe), xfe = (e) => kO(e, Efe), Sfe = (e) => kO(e, Tfe), DO = (e) => kO(e, jfe, !0), Cfe = (e) => kO(e, Afe, !0), OO = (e, t, n) => {let r = $de.exec(e);+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;+}, kO = (e, t, n = !1) => {+ let r = efe.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, Cfe = (e) => e === "position" || e === "percentage", wfe = (e) => e === "image" || e === "url", Tfe = (e) => e === "length" || e === "size" || e === "bg-size", Efe = (e) => e === "length", Dfe = (e) => e === "number", Ofe = (e) => e === "family-name", kfe = (e) => e === "number" || e === "weight", Afe = (e) => e === "shadow", jfe = () => {- let e = gO("color"), t = gO("font"), n = gO("text"), r = gO("font-weight"), i = gO("tracking"), a = gO("leading"), o = gO("breakpoint"), s = gO("container"), c = gO("spacing"), l = gO("radius"), u = gO("shadow"), d = gO("inset-shadow"), f = gO("text-shadow"), p = gO("drop-shadow"), m = gO("blur"), h = gO("perspective"), g = gO("aspect"), _ = gO("ease"), v = gO("animate"), y = () => [+}, wfe = (e) => e === "position" || e === "percentage", Tfe = (e) => e === "image" || e === "url", Efe = (e) => e === "length" || e === "size" || e === "bg-size", Dfe = (e) => e === "length", Ofe = (e) => e === "number", kfe = (e) => e === "family-name", Afe = (e) => e === "number" || e === "weight", jfe = (e) => e === "shadow", Mfe = () => {+ let e = hO("color"), t = hO("font"), n = hO("text"), r = hO("font-weight"), i = hO("tracking"), a = hO("leading"), o = hO("breakpoint"), s = hO("container"), c = hO("spacing"), l = hO("radius"), u = hO("shadow"), d = hO("inset-shadow"), f = hO("text-shadow"), p = hO("drop-shadow"), m = hO("blur"), h = hO("perspective"), g = hO("aspect"), _ = hO("ease"), v = hO("animate"), y = () => ["auto","avoid","all",@@ -31303,8 +31303,8 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"left-bottom"], x = () => [...b(),- EO,- CO+ TO,+ SO], S = () => ["auto","hidden",@@ -31316,43 +31316,43 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"contain","none"], w = () => [- EO,- CO,+ TO,+ SO,c], T = () => [- _O,+ gO,"full","auto",...w()], E = () => [- yO,+ vO,"none","subgrid",- EO,- CO+ TO,+ SO], D = () => ["auto",{ span: ["full",- yO,- EO,- CO+ vO,+ TO,+ SO] },- yO,- EO,- CO+ vO,+ TO,+ SO], O = () => [- yO,+ vO,"auto",- EO,- CO+ TO,+ SO], k = () => ["auto","min","max","fr",- EO,- CO+ TO,+ SO], A = () => ["start","end",@@ -31372,7 +31372,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"center-safe","end-safe"], M = () => ["auto", ...w()], N = () => [- _O,+ gO,"auto","full","dvw",@@ -31387,7 +31387,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b...w()], P = () => [s,- _O,+ gO,"screen","full","dvw",@@ -31398,7 +31398,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"fit",...w()], ee = () => [- _O,+ gO,"screen","full","lh",@@ -31411,13 +31411,13 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b...w()], F = () => [e,- EO,- CO+ TO,+ SO], te = () => [...b(),- yfe,- gfe,- { position: [EO, CO] }+ bfe,+ _fe,+ { position: [TO, SO] }], ne = () => ["no-repeat", { repeat: ["","x",@@ -31428,25 +31428,25 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"auto","cover","contain",- bfe,- ffe,- { size: [EO, CO] }+ xfe,+ pfe,+ { size: [TO, SO] }], ie = () => [- bO,- DO,- wO+ yO,+ EO,+ CO], ae = () => ["","none","full",l,- EO,- CO+ TO,+ SO], oe = () => ["",- vO,- DO,- wO+ _O,+ EO,+ CO], se = () => ["solid","dashed",@@ -31470,32 +31470,32 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"color","luminosity"], le = () => [- vO,- bO,- yfe,- gfe+ _O,+ yO,+ bfe,+ _fe], ue = () => ["","none",m,- EO,- CO+ TO,+ SO], de = () => ["none",- vO,- EO,- CO+ _O,+ TO,+ SO], fe = () => ["none",- vO,- EO,- CO+ _O,+ TO,+ SO], pe = () => [- vO,- EO,- CO- ], me = () => [_O,+ TO,+ SO+ ], me = () => [+ gO,"full",...w()];@@ -31509,17 +31509,17 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"bounce"],aspect: ["video"],- blur: [xO],- breakpoint: [xO],- color: [ofe],- container: [xO],- "drop-shadow": [xO],+ blur: [bO],+ breakpoint: [bO],+ color: [sfe],+ container: [bO],+ "drop-shadow": [bO],ease: ["in","out","in-out"],- font: [ufe],+ font: [dfe],"font-weight": ["thin","extralight",@@ -31531,7 +31531,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"extrabold","black"],- "inset-shadow": [xO],+ "inset-shadow": [bO],leading: ["none","tight",@@ -31548,11 +31548,11 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"distant","none"],- radius: [xO],- shadow: [xO],- spacing: ["px", vO],- text: [xO],- "text-shadow": [xO],+ radius: [bO],+ shadow: [bO],+ spacing: ["px", _O],+ text: [bO],+ "text-shadow": [bO],tracking: ["tighter","tight",@@ -31566,9 +31566,9 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => baspect: [{ aspect: ["auto","square",- _O,- CO,- EO,+ gO,+ SO,+ TO,g] }],container: ["container"],@@ -31576,15 +31576,15 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"","normal","size",- EO,- CO+ TO,+ SO] }],- "container-named": [dfe],+ "container-named": [ffe],columns: [{ columns: [- vO,+ _O,"auto",- CO,- EO,+ SO,+ TO,s] }],"break-after": [{ "break-after": y() }],@@ -31681,13 +31681,13 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"collapse"],z: [{ z: [- yO,+ vO,"auto",- EO,- CO+ TO,+ SO] }],basis: [{ basis: [- _O,+ gO,"full","auto",s,@@ -31705,32 +31705,32 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"wrap-reverse"] }],flex: [{ flex: [- vO,_O,+ gO,"auto","initial","none",- CO+ SO] }],grow: [{ grow: ["",- vO,- EO,- CO+ _O,+ TO,+ SO] }],shrink: [{ shrink: ["",- vO,- EO,- CO+ _O,+ TO,+ SO] }],order: [{ order: [- yO,+ vO,"first","last","none",- EO,- CO+ TO,+ SO] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -31837,15 +31837,15 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"font-size": [{ text: ["base",n,- DO,- wO+ EO,+ CO] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- Sfe,- mfe+ Cfe,+ hfe] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -31857,15 +31857,15 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"expanded","extra-expanded","ultra-expanded",- bO,- CO+ yO,+ SO] }],"font-family": [{ font: [- vfe,- hfe,+ yfe,+ gfe,t] }],- "font-features": [{ "font-features": [CO] }],+ "font-features": [{ "font-features": [SO] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -31874,14 +31874,14 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- EO,- CO+ TO,+ SO] }],"line-clamp": [{ "line-clamp": [- vO,+ _O,"none",- EO,- pfe+ TO,+ mfe] }],leading: [{ leading: ["none",@@ -31890,16 +31890,16 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b] }],"list-image": [{ "list-image": ["none",- EO,- CO+ TO,+ SO] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- EO,- CO+ TO,+ SO] }],"text-alignment": [{ text: ["left",@@ -31919,18 +31919,18 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b],"text-decoration-style": [{ decoration: [...se(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- vO,+ _O,"from-font","auto",- EO,- wO+ TO,+ CO] }],"text-decoration-color": [{ decoration: F() }],"underline-offset": [{ "underline-offset": [- vO,+ _O,"auto",- EO,- CO+ TO,+ SO] }],"text-transform": ["uppercase",@@ -31951,9 +31951,9 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- yO,- EO,- CO+ vO,+ TO,+ SO] }],"vertical-align": [{ align: ["baseline",@@ -31964,8 +31964,8 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"text-bottom","sub","super",- EO,- CO+ TO,+ SO] }],whitespace: [{ whitespace: ["normal",@@ -31993,8 +31993,8 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b] }],content: [{ content: ["none",- EO,- CO+ TO,+ SO] }],"bg-attachment": [{ bg: ["fixed",@@ -32029,24 +32029,24 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"l","tl"] },- yO,- EO,- CO+ vO,+ TO,+ SO],radial: ["",- EO,- CO+ TO,+ SO],conic: ["",- yO,- EO,- CO+ vO,+ TO,+ SO]},- xfe,- _fe+ Sfe,+ vfe] }],"bg-color": [{ bg: F() }],"gradient-from-pos": [{ from: ie() }],@@ -32113,15 +32113,15 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"hidden"] }],"outline-offset": [{ "outline-offset": [- vO,- EO,- CO+ _O,+ TO,+ SO] }],"outline-w": [{ outline: ["",- vO,- DO,- wO+ _O,+ EO,+ CO] }],"outline-color": [{ outline: F() }],shadow: [{ shadow: [@@ -32129,35 +32129,35 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"inner","none",u,- OO,- TO+ DO,+ wO] }],"shadow-color": [{ shadow: F() }],"inset-shadow": [{ "inset-shadow": ["none",d,- OO,- TO+ DO,+ wO] }],"inset-shadow-color": [{ "inset-shadow": F() }],"ring-w": [{ ring: oe() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: F() }],- "ring-offset-w": [{ "ring-offset": [vO, wO] }],+ "ring-offset-w": [{ "ring-offset": [_O, CO] }],"ring-offset-color": [{ "ring-offset": F() }],"inset-ring-w": [{ "inset-ring": oe() }],"inset-ring-color": [{ "inset-ring": F() }],"text-shadow": [{ "text-shadow": ["none",f,- OO,- TO+ DO,+ wO] }],"text-shadow-color": [{ "text-shadow": F() }],opacity: [{ opacity: [- vO,- EO,- CO+ _O,+ TO,+ SO] }],"mix-blend": [{ "mix-blend": [...ce(),@@ -32179,7 +32179,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [vO] }],+ "mask-image-linear-pos": [{ "mask-linear": [_O] }],"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": F() }],@@ -32208,7 +32208,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"mask-image-y-to-pos": [{ "mask-y-to": le() }],"mask-image-y-from-color": [{ "mask-y-from": F() }],"mask-image-y-to-color": [{ "mask-y-to": F() }],- "mask-image-radial": [{ "mask-radial": [EO, CO] }],+ "mask-image-radial": [{ "mask-radial": [TO, SO] }],"mask-image-radial-from-pos": [{ "mask-radial-from": le() }],"mask-image-radial-to-pos": [{ "mask-radial-to": le() }],"mask-image-radial-from-color": [{ "mask-radial-from": F() }],@@ -32219,7 +32219,7 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => bfarthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [vO] }],+ "mask-image-conic-pos": [{ "mask-conic": [_O] }],"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": F() }],@@ -32243,111 +32243,111 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- EO,- CO+ TO,+ SO] }],filter: [{ filter: ["","none",- EO,- CO+ TO,+ SO] }],blur: [{ blur: ue() }],brightness: [{ brightness: [- vO,- EO,- CO+ _O,+ TO,+ SO] }],contrast: [{ contrast: [- vO,- EO,- CO+ _O,+ TO,+ SO] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- OO,- TO+ DO,+ wO] }],"drop-shadow-color": [{ "drop-shadow": F() }],grayscale: [{ grayscale: ["",- vO,- EO,- CO+ _O,+ TO,+ SO] }],"hue-rotate": [{ "hue-rotate": [- vO,- EO,- CO+ _O,+ TO,+ SO] }],invert: [{ invert: ["",- vO,- EO,- CO+ _O,+ TO,+ SO] }],saturate: [{ saturate: [- vO,- EO,- CO+ _O,+ TO,+ SO] }],sepia: [{ sepia: ["",- vO,- EO,- CO+ _O,+ TO,+ SO] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- EO,- CO+ TO,+ SO] }],"backdrop-blur": [{ "backdrop-blur": ue() }],"backdrop-brightness": [{ "backdrop-brightness": [- vO,- EO,- CO+ _O,+ TO,+ SO] }],"backdrop-contrast": [{ "backdrop-contrast": [- vO,- EO,- CO+ _O,+ TO,+ SO] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- vO,- EO,- CO+ _O,+ TO,+ SO] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- vO,- EO,- CO+ _O,+ TO,+ SO] }],"backdrop-invert": [{ "backdrop-invert": ["",- vO,- EO,- CO+ _O,+ TO,+ SO] }],"backdrop-opacity": [{ "backdrop-opacity": [- vO,- EO,- CO+ _O,+ TO,+ SO] }],"backdrop-saturate": [{ "backdrop-saturate": [- vO,- EO,- CO+ _O,+ TO,+ SO] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- vO,- EO,- CO+ _O,+ TO,+ SO] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -32363,39 +32363,39 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"shadow","transform","none",- EO,- CO+ TO,+ SO] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- vO,+ _O,"initial",- EO,- CO+ TO,+ SO] }],ease: [{ ease: ["linear","initial",_,- EO,- CO+ TO,+ SO] }],delay: [{ delay: [- vO,- EO,- CO+ _O,+ TO,+ SO] }],animate: [{ animate: ["none",v,- EO,- CO+ TO,+ SO] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- EO,- CO+ TO,+ SO] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: de() }],@@ -32411,8 +32411,8 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"skew-x": [{ "skew-x": pe() }],"skew-y": [{ "skew-y": pe() }],transform: [{ transform: [- EO,- CO,+ TO,+ SO,"","none","gpu",@@ -32426,9 +32426,9 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"translate-z": [{ "translate-z": me() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- yO,- EO,- CO+ vO,+ TO,+ SO] }],accent: [{ accent: F() }],appearance: [{ appearance: ["none", "auto"] }],@@ -32478,8 +32478,8 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"nwse-resize","zoom-in","zoom-out",- EO,- CO+ TO,+ SO] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -32565,15 +32565,15 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"scroll","contents","transform",- EO,- CO+ TO,+ SO] }],fill: [{ fill: ["none", ...F()] }],"stroke-w": [{ stroke: [- vO,- DO,- wO,- pfe+ _O,+ EO,+ CO,+ mfe] }],stroke: [{ stroke: ["none", ...F()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -32831,16 +32831,16 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"selection"]};-}, Mfe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (jO(e, "cacheSize", t), jO(e, "prefix", n), jO(e, "experimentalParseClassName", r), MO(e.theme, a.theme), MO(e.classGroups, a.classGroups), MO(e.conflictingClassGroups, a.conflictingClassGroups), MO(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), jO(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), jO(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), NO(e.theme, i.theme), NO(e.classGroups, i.classGroups), NO(e.conflictingClassGroups, i.conflictingClassGroups), NO(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), PO(e, i, "postfixLookupClassGroups"), PO(e, i, "orderSensitiveModifiers"), e), jO = (e, t, n) => {+}, Nfe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (AO(e, "cacheSize", t), AO(e, "prefix", n), AO(e, "experimentalParseClassName", r), jO(e.theme, a.theme), jO(e.classGroups, a.classGroups), jO(e.conflictingClassGroups, a.conflictingClassGroups), jO(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), AO(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), AO(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), MO(e.theme, i.theme), MO(e.classGroups, i.classGroups), MO(e.conflictingClassGroups, i.conflictingClassGroups), MO(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), NO(e, i, "postfixLookupClassGroups"), NO(e, i, "orderSensitiveModifiers"), e), AO = (e, t, n) => {n !== void 0 && (e[t] = n);+}, jO = (e, t) => {+ if (t) for (let n in t) AO(e, n, t[n]);}, MO = (e, t) => {- if (t) for (let n in t) jO(e, n, t[n]);-}, NO = (e, t) => {- if (t) for (let n in t) PO(e, t, n);-}, PO = (e, t, n) => {+ if (t) for (let n in t) NO(e, t, n);+}, NO = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, Nfe = (e, ...t) => typeof e == "function" ? Xde(jfe, e, ...t) : Xde(() => Mfe(jfe(), e), ...t), Pfe = [+}, Pfe = (e, ...t) => typeof e == "function" ? Zde(Mfe, e, ...t) : Zde(() => Nfe(Mfe(), e), ...t), Ffe = ["large-title","display-1","display-2",@@ -32854,18 +32854,18 @@ var Hue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b"body-2","caption-1","caption-2"-], Ffe = [+], Ife = ["regular","medium","semibold","bold"-], FO = Nfe({ extend: { classGroups: { "font-size": [{ text: Pfe.flatMap((e) => Ffe.map((t) => `${e}-${t}`)) }] } } });-function IO(e) {+], PO = Pfe({ extend: { classGroups: { "font-size": [{ text: Ffe.flatMap((e) => Ife.map((t) => `${e}-${t}`)) }] } } });+function FO(e) {return e;}//#endregion//#region src/react/boardui/components/base/badges/chip.tsx-var LO = IO({+var IO = FO({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",@@ -32884,16 +32884,16 @@ var LO = IO({soft: "bg-background-secondary-default text-text-secondary"}});-function RO({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function LO({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, x.jsx)("span", {ref: r,- className: FO(LO.base, LO.variant[e], LO.color[t], n),+ className: PO(IO.base, IO.variant[e], IO.color[t], n),...i});}//#endregion//#region src/react/boardui/components/base/buttons/button.tsx-var zO = IO({+var RO = FO({base: ["inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden","font-sans select-none cursor-pointer",@@ -32952,40 +32952,40 @@ function W({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, x.jsxs)("button", {ref: c,type: s,- className: FO(zO.base, zO.size[t], zO.variant[e], n && zO.iconOnlySize[t], o),+ className: PO(RO.base, RO.size[t], RO.variant[e], n && RO.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, x.jsx)(r, {- className: zO.icon[t],+ className: RO.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {- className: zO.label[t],+ className: RO.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {- className: zO.icon[t],+ className: RO.icon[t],"aria-hidden": !0}) : null]});}-function BO({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function zO({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, x.jsxs)("a", {ref: s,- className: FO(zO.base, zO.size[t], zO.variant[e], n && zO.iconOnlySize[t], o),+ className: PO(RO.base, RO.size[t], RO.variant[e], n && RO.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, x.jsx)(r, {- className: zO.icon[t],+ className: RO.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {- className: zO.label[t],+ className: RO.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {- className: zO.icon[t],+ className: RO.icon[t],"aria-hidden": !0}) : null]@@ -32993,47 +32993,47 @@ function BO({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead}//#endregion//#region src/react/components/card.tsx-var Ife = "min-w-0", Lfe = {+var Lfe = "min-w-0", Rfe = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, Rfe = {+}, zfe = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, zfe = {+}, Bfe = {line: "border border-border-button-default",soft: "border border-separator-border"-}, Bfe = {+}, Vfe = {none: "",default: "p-5"-}, Vfe = "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", Hfe = "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 VO(e = {}) {+}, Hfe = "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", Ufe = "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 BO(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 [- Ife,- Lfe[t],- Rfe[s],- Bfe[n],- a ? zfe[a] : "",- r ? Vfe : "",- i ? Hfe : "",+ Lfe,+ Rfe[t],+ zfe[s],+ Vfe[n],+ a ? Bfe[a] : "",+ r ? Hfe : "",+ i ? Ufe : "",o ?? ""].filter(Boolean).join(" ");}//#endregion//#region src/react/components/empty-state.tsx-var Ufe = {+var Wfe = {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 HO({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {+function VO({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {let a = i === "page";return /* @__PURE__ */ (0, x.jsxs)("div", {"data-empty-state": "",- className: `flex flex-col items-center gap-2 text-center ${Ufe[i]}`,+ className: `flex flex-col items-center gap-2 text-center ${Wfe[i]}`,children: [a ? /* @__PURE__ */ (0, x.jsx)("span", {"aria-hidden": !0,@@ -33063,7 +33063,7 @@ function HO({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {}//#endregion//#region src/react/components/loading-dots.tsx-function UO({ label: e, inline: t = !1 }) {+function HO({ label: e, inline: t = !1 }) {let n = /* @__PURE__ */ (0, x.jsxs)("span", {"aria-hidden": !0,className: "inline-flex shrink-0 items-center gap-1",@@ -33132,7 +33132,7 @@ function G({ tone: e, title: t, action: n, extra: r, children: i }) {}//#endregion//#region src/react/components/page.tsx-function WO({ children: e }) {+function UO({ children: e }) {return /* @__PURE__ */ (0, x.jsx)("div", {className: "mx-auto flex w-full max-w-board flex-col gap-8",children: e@@ -33140,21 +33140,21 @@ function WO({ children: e }) {}//#endregion//#region src/react/components/progress.tsx-var GO = 100, Wfe = .4;-function KO({ label: e, value: t, max: n = 100, stops: r = [] }) {- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * GO;+var WO = 100, Gfe = .4;+function GO({ label: e, value: t, max: n = 100, stops: r = [] }) {+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * WO;return /* @__PURE__ */ (0, x.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": i,"aria-valuenow": a(t),- viewBox: `0 0 ${GO} 1`,+ viewBox: `0 0 ${WO} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, x.jsx)("rect", {- width: GO,+ width: WO,height: 1,className: "fill-background-tertiary-default"}),@@ -33165,7 +33165,7 @@ function KO({ label: e, value: t, max: n = 100, stops: r = [] }) {}),r.map((e) => /* @__PURE__ */ (0, x.jsx)("rect", {x: o(e),- width: Wfe,+ width: Gfe,height: 1,className: "fill-background-secondary-default"}, e))@@ -33182,7 +33182,7 @@ function K(e) {}//#endregion//#region src/react/settings/use-action.ts-function qO(e = "") {+function KO(e = "") {let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(""), [i, a] = (0, b.useState)(e);(0, b.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -33208,21 +33208,21 @@ function qO(e = "") {}//#endregion//#region src/react/boardui/components/application/settings/settings-rows.tsx-function Gfe({ className: e, children: t }) {+function Kfe({ className: e, children: t }) {return /* @__PURE__ */ (0, x.jsx)("div", {- className: FO("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: PO("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function Kfe({ className: e, children: t }) {+function qfe({ className: e, children: t }) {return /* @__PURE__ */ (0, x.jsx)("p", {- className: FO("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: PO("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function JO({ label: e, description: t, children: n }) {+function qO({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- className: FO("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: PO("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, x.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, x.jsx)("p", {@@ -33237,7 +33237,7 @@ function JO({ label: e, description: t, children: n }) {}//#endregion//#region src/react/boardui/components/base/buttons/link-button.tsx-var YO = IO({+var JO = FO({base: ["inline-flex items-center justify-center gap-1 whitespace-nowrap","font-sans select-none cursor-pointer rounded-sm",@@ -33261,15 +33261,15 @@ var YO = IO({secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")}});-function XO({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = FO(YO.base, YO.size[t], YO.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [+function YO({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = PO(JO.base, JO.size[t], JO.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n ? /* @__PURE__ */ (0, x.jsx)(n, {- className: YO.icon[t],+ className: JO.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, x.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, x.jsx)(r, {- className: YO.icon[t],+ className: JO.icon[t],"aria-hidden": !0}) : null] });@@ -33296,17 +33296,17 @@ function XO({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili}//#endregion//#region src/react/settings/section.tsx-function ZO({ title: e, id: t, aside: n, onSubmit: r, children: i }) {+function XO({ title: e, id: t, aside: n, onSubmit: r, children: i }) {let a = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, x.jsx)(Kfe, { children: e })+ children: /* @__PURE__ */ (0, x.jsx)(qfe, { children: e })}), /* @__PURE__ */ (0, x.jsx)("div", {className: "flex min-w-0 max-w-full",children: n})]- }) : /* @__PURE__ */ (0, x.jsx)(Kfe, { children: e }), /* @__PURE__ */ (0, x.jsx)(Gfe, { children: i })] });+ }) : /* @__PURE__ */ (0, x.jsx)(qfe, { children: e }), /* @__PURE__ */ (0, x.jsx)(Kfe, { children: i })] });return r ? /* @__PURE__ */ (0, x.jsx)("form", {id: t,"aria-label": e,@@ -33321,13 +33321,13 @@ function ZO({ title: e, id: t, aside: n, onSubmit: r, children: i }) {children: a});}-function QO({ children: e }) {+function ZO({ children: e }) {return /* @__PURE__ */ (0, x.jsx)("div", {className: "flex flex-col",children: e});}-function $O({ divided: e = !1, children: t }) {+function QO({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, x.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",children: t@@ -33336,7 +33336,7 @@ function $O({ divided: e = !1, children: t }) {children: t});}-function ek({ status: e, children: t }) {+function $O({ status: e, children: t }) {return /* @__PURE__ */ (0, x.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, x.jsx)("div", {@@ -33345,34 +33345,34 @@ function ek({ status: e, children: t }) {}) : null, t]});}-function tk({ role: e, children: t }) {+function ek({ role: e, children: t }) {return /* @__PURE__ */ (0, x.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function nk({ children: e }) {+function tk({ children: e }) {return /* @__PURE__ */ (0, x.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function rk({ children: e }) {+function nk({ children: e }) {return /* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function ik({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, x.jsx)(XO, {+function rk({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, x.jsx)(YO, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: sO,+ trailingIcon: oO,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, x.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -33380,13 +33380,13 @@ function ik({ href: e, children: t, leadingIcon: n }) {})});}-function ak({ children: e }) {+function ik({ children: e }) {return /* @__PURE__ */ (0, x.jsx)("dl", {className: "flex flex-col",children: e});}-function ok({ term: e, children: t }) {+function ak({ term: e, children: t }) {return /* @__PURE__ */ (0, x.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, x.jsx)("dt", {@@ -33398,7 +33398,7 @@ function ok({ term: e, children: t }) {})]});}-function sk({ summary: e, defaultOpen: t = !1, children: n }) {+function ok({ summary: e, defaultOpen: t = !1, children: n }) {let r = (0, b.useId)(), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(!1), [s, c] = (0, b.useState)(t);return /* @__PURE__ */ (0, x.jsxs)("details", {ref: (e) => {@@ -33411,7 +33411,7 @@ function sk({ summary: e, defaultOpen: t = !1, children: n }) {e.preventDefault(), i.current && a.current && (ga(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, x.jsx)(rO, {+ children: [/* @__PURE__ */ (0, x.jsx)(nO, {"aria-hidden": !0,className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"}), e]@@ -33426,7 +33426,7 @@ function sk({ summary: e, defaultOpen: t = !1, children: n }) {})]});}-function qfe({ name: e }) {+function Jfe({ name: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -33435,22 +33435,22 @@ function qfe({ name: e }) {children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })});}-function ck({ mark: e }) {+function sk({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, x.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-4 shrink-0"- }) : /* @__PURE__ */ (0, x.jsx)(qfe, { name: e });+ }) : /* @__PURE__ */ (0, x.jsx)(Jfe, { name: e });}//#endregion//#region src/react/activity/tasks.ts-var Jfe = "/api/tasks", Yfe = ["tasks"], Xfe = (e, t) => nn(`${Jfe}?${new URLSearchParams({+var Yfe = "/api/tasks", Xfe = ["tasks"], Zfe = (e, t) => nn(`${Yfe}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function lk(...e) {+function ck(...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) => {@@ -33458,26 +33458,26 @@ function lk(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var Zfe = 2e3, Qfe = 1e4, $fe = (e) => e?.running.length ? Zfe : Qfe, epe = (e) => nn(Jfe, e);-async function tpe(e) {+var Qfe = 2e3, $fe = 1e4, epe = (e) => e?.running.length ? Qfe : $fe, tpe = (e) => nn(Yfe, e);+async function npe(e) {await V.fetchQuery({- queryKey: Yfe,- queryFn: () => epe(e)+ queryKey: Xfe,+ queryFn: () => tpe(e)});}-var uk = {+var lk = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, npe = {+}, rpe = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "被打断"-}, rpe = (e) => npe[e] || e, ipe = {+}, ipe = (e) => rpe[e] || e, ape = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -33507,7 +33507,7 @@ var uk = {source: "来源",cover_network: "封面连不上图片主机"};-function ape(e) {+function ope(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -33516,7 +33516,7 @@ function ape(e) {}return t;}-function ope(e, t) {+function spe(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -33538,12 +33538,12 @@ function ope(e, t) {}return n;}-var spe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), cpe = (e) => e.status === "pending" || e.status === "running";-function lpe(e) {+var cpe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), lpe = (e) => e.status === "pending" || e.status === "running";+function upe(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, pk(e.error) || dpe(e.result_summary) || (cpe(e) && i > 0 ? `${fk(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, fk(e.error) || fpe(e.result_summary) || (lpe(e) && i > 0 ? `${dk(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function dk(e) {+function uk(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -33552,15 +33552,15 @@ function dk(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function fk(e, t) {+function dk(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function pk(e) {+function fk(e) {let t = String(e || "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean);return t.length ? /^Traceback \(most recent call last\)/.test(t[0]) ? t[t.length - 1] : t[0] : "";}-function mk(e) {+function pk(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -33570,7 +33570,7 @@ function mk(e) {minute: "2-digit"});}-var upe = /* @__PURE__ */ new Set([+var dpe = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -33579,22 +33579,22 @@ var upe = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function dpe(e) {- return Object.entries(e || {}).filter(([e, t]) => !upe.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${ipe[e] || e} ${typeof t == "number" ? t.toLocaleString() : t}`).join(" · ");+function fpe(e) {+ return Object.entries(e || {}).filter(([e, t]) => !dpe.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${ape[e] || e} ${typeof t == "number" ? t.toLocaleString() : t}`).join(" · ");}//#endregion//#region src/react/activity/downloads-panel.tsx-var hk = "/api/downloads", gk = ["downloads"], fpe = "/api/downloads/cancel", ppe = (e) => e?.tasks.some((e) => e.cancellable) ? 5e3 : 3e4, mpe = {+var mk = "/api/downloads", hk = ["downloads"], ppe = "/api/downloads/cancel", mpe = "/api/downloads/postprocess", hpe = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, gpe = {ingested: "lime",failed: "rose",cancelled: "yellow",stalled: "yellow"-}, hpe = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, gpe = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";-function _pe() {+}, _pe = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, vpe = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";+function ype() {let e = (0, b.useId)(), t = dt({- queryKey: gk,- queryFn: ({ signal: e }) => nn(`${hk}?limit=50`, e),- refetchInterval: (e) => ppe(e.state.data)+ queryKey: hk,+ queryFn: ({ signal: e }) => nn(`${mk}?limit=50`, e),+ refetchInterval: (e) => hpe(e.state.data)}), n = t.data;return !n?.tasks.length && !t.error ? null : /* @__PURE__ */ (0, x.jsxs)("section", {"aria-labelledby": e,@@ -33612,7 +33612,7 @@ function _pe() {n?.tasks.length ? /* @__PURE__ */ (0, x.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: n.tasks.map((e) => /* @__PURE__ */ (0, x.jsx)(vpe, {+ children: n.tasks.map((e) => /* @__PURE__ */ (0, x.jsx)(bpe, {task: e,writable: n.available}, e.id))@@ -33620,16 +33620,16 @@ function _pe() {]});}-function vpe({ task: e, writable: t }) {- let n = C(), r = qO(), [i, a] = (0, b.useState)(!1), o = gpe(e), s = e.state === "failed", c = [+function bpe({ task: e, writable: t }) {+ let n = C(), r = KO(), [i, a] = (0, b.useState)(!1), o = vpe(e), s = e.state === "failed" || e.postprocess_state === "failed", c = [e.provider_label,e.code,e.target,- mk(e.submitted_at)+ pk(e.submitted_at)].filter(Boolean).join(" · "), l = () => {- n.invalidateQueries({ queryKey: gk });+ n.invalidateQueries({ queryKey: hk });}, u = () => {- r.run("cancel", (t) => B(fpe, { id: e.id }, "POST", t), l);+ r.run("cancel", (t) => B(ppe, { id: e.id }, "POST", t), l);}, d = () => {let t = {magnet: e.source_uri,@@ -33639,14 +33639,16 @@ function vpe({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => B(hk, t, "POST", e), l);+ r.run("resubmit", (e) => B(mk, t, "POST", e), l);}, f = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));+ }, p = () => {+ r.run("postprocess", (t) => B(mpe, { id: e.id }, "POST", t), l);};return /* @__PURE__ */ (0, x.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: VO({+ className: BO({padding: "none",bordered: "line",className: s ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -33656,19 +33658,26 @@ function vpe({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)("strong", {- className: "min-w-0 break-words text-title-1-medium text-text-primary",- children: hpe(e)- }), /* @__PURE__ */ (0, x.jsx)(RO, {- color: mpe[e.state] ?? "neutral",- children: e.state_label- })]+ children: [+ /* @__PURE__ */ (0, x.jsx)("strong", {+ className: "min-w-0 break-words text-title-1-medium text-text-primary",+ children: _pe(e)+ }),+ /* @__PURE__ */ (0, x.jsx)(LO, {+ color: gpe[e.state] ?? "neutral",+ children: e.state_label+ }),+ e.state === "ingested" ? /* @__PURE__ */ (0, x.jsx)(LO, {+ color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : "yellow",+ children: e.postprocess_label+ }) : null+ ]}),/* @__PURE__ */ (0, x.jsx)("p", {className: "min-w-0 break-words text-caption-1-regular text-text-secondary",children: c}),- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)(KO, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)(GO, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -33677,7 +33686,7 @@ function vpe({ 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, x.jsx)(nk, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, x.jsx)(tk, { children: r.error }) : null,/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2 pt-1",children: [@@ -33695,6 +33704,13 @@ function vpe({ task: e, writable: t }) {onClick: d,children: "重新提交"}) : null,+ t && e.postprocess_retryable ? /* @__PURE__ */ (0, x.jsx)(W, {+ variant: "secondary",+ size: "small",+ ...K(r.busy === "postprocess"),+ onClick: p,+ children: "重试后处理"+ }) : null,/* @__PURE__ */ (0, x.jsx)(W, {variant: "ghost",size: "small",@@ -33704,19 +33720,19 @@ function vpe({ task: e, writable: t }) {]})]- }), o ? /* @__PURE__ */ (0, x.jsx)("div", {+ }), o || e.postprocess_detail ? /* @__PURE__ */ (0, x.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, x.jsx)("p", {className: "text-caption-1-regular text-text-secondary",- children: o+ children: o || e.postprocess_detail})}) : null]});}//#endregion//#region src/react/activity/error-excerpt.tsx-function _k({ text: e, className: t = "" }) {- let [n, r] = (0, b.useState)(!1), i = (0, b.useId)(), a = String(e || "").trim(), o = pk(a);+function gk({ text: e, className: t = "" }) {+ let [n, r] = (0, b.useState)(!1), i = (0, b.useId)(), a = String(e || "").trim(), o = fk(a);if (!o) return null;let s = o !== a;return /* @__PURE__ */ (0, x.jsxs)("div", {@@ -33742,23 +33758,23 @@ function _k({ text: e, className: t = "" }) {}//#endregion//#region src/react/activity/activity-page.tsx-var ype = {+var xpe = {succeeded: "lime",failed: "rose",cancelled: "yellow",interrupted: "yellow"};-function bpe({ status: e }) {- return /* @__PURE__ */ (0, x.jsx)(RO, {- color: ype[e] ?? "neutral",- children: rpe(e)+function Spe({ status: e }) {+ return /* @__PURE__ */ (0, x.jsx)(LO, {+ color: xpe[e] ?? "neutral",+ children: ipe(e)});}-function xpe({ rows: e }) {+function Cpe({ rows: e }) {return /* @__PURE__ */ (0, x.jsx)("ul", {className: "flex min-w-0 flex-col",children: e.map((e) => {- let t = lpe(e);+ let t = upe(e);return /* @__PURE__ */ (0, x.jsxs)("li", {"data-status": e.status,"data-followup-key": e.followup_key,@@ -33768,7 +33784,7 @@ function xpe({ rows: e }) {className: "min-w-0 break-words text-caption-1-regular text-text-primary",children: e.task_label}),- /* @__PURE__ */ (0, x.jsx)(bpe, { status: e.status }),+ /* @__PURE__ */ (0, x.jsx)(Spe, { status: e.status }),t ? /* @__PURE__ */ (0, x.jsx)("span", {className: "min-w-0 break-words text-caption-1-regular text-text-secondary",children: t@@ -33778,12 +33794,12 @@ function xpe({ rows: e }) {})});}-function Spe({ run: e, meta: t, children: n, footer: r, followups: i }) {+function wpe({ run: e, meta: t, children: n, footer: r, followups: i }) {return /* @__PURE__ */ (0, x.jsxs)("li", {"data-status": e.status,"data-task-key": e.task_key,"data-run-id": e.id,- className: VO({+ className: BO({padding: "none",bordered: "line",className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -33797,7 +33813,7 @@ function Spe({ run: e, meta: t, children: n, footer: r, followups: i }) {children: [/* @__PURE__ */ (0, x.jsx)("strong", {className: "min-w-0 break-words text-title-1-medium text-text-primary",children: e.task_label- }), /* @__PURE__ */ (0, x.jsx)(bpe, { status: e.status })]+ }), /* @__PURE__ */ (0, x.jsx)(Spe, { status: e.status })]}),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-caption-1-regular text-text-secondary",@@ -33806,10 +33822,10 @@ function Spe({ run: e, meta: t, children: n, footer: r, followups: i }) {n]}),- i?.length ? /* @__PURE__ */ (0, x.jsx)(xpe, { rows: i }) : null,+ i?.length ? /* @__PURE__ */ (0, x.jsx)(Cpe, { rows: i }) : null,r ? /* @__PURE__ */ (0, x.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, x.jsx)(_k, {+ children: /* @__PURE__ */ (0, x.jsx)(gk, {text: r,className: "text-caption-1-regular text-text-secondary"})@@ -33817,15 +33833,15 @@ function Spe({ run: e, meta: t, children: n, footer: r, followups: i }) {]});}-function Cpe({ run: e, followups: t }) {- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = dk(e.elapsed_seconds), o = [uk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, x.jsx)(Spe, {+function Tpe({ run: e, followups: t }) {+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = uk(e.elapsed_seconds), o = [lk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");+ return /* @__PURE__ */ (0, x.jsx)(wpe, {run: e,meta: o,followups: t,children: n > 0 ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, x.jsx)(KO, {+ children: [/* @__PURE__ */ (0, x.jsx)(GO, {label: i,value: Math.min(r, n),max: n@@ -33834,24 +33850,24 @@ function Cpe({ run: e, followups: t }) {children: [i," · ",- fk(r, n),+ dk(r, n)," 项"]})]- }) : /* @__PURE__ */ (0, x.jsx)(UO, { label: i })+ }) : /* @__PURE__ */ (0, x.jsx)(HO, { label: i })});}-function vk({ run: e, followups: t, runs: n }) {- let r = dpe(e.result_summary), i = dk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [- uk[e.trigger] || e.trigger,+function _k({ run: e, followups: t, runs: n }) {+ let r = fpe(e.result_summary), i = uk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [+ lk[e.trigger] || e.trigger,`近 ${n.length} 轮`,- `${mk(a.finished_at)} – ${mk(e.finished_at)}`+ `${pk(a.finished_at)} – ${pk(e.finished_at)}`] : [- uk[e.trigger] || e.trigger,- mk(e.finished_at),+ lk[e.trigger] || e.trigger,+ pk(e.finished_at),i && `用时 ${i}`]).filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, x.jsx)(Spe, {+ return /* @__PURE__ */ (0, x.jsx)(wpe, {run: e,meta: o,footer: e.error,@@ -33862,7 +33878,7 @@ function vk({ run: e, followups: t, runs: n }) {}) : null});}-function yk({ title: e, children: t }) {+function vk({ title: e, children: t }) {let n = (0, b.useId)();return /* @__PURE__ */ (0, x.jsxs)("section", {"aria-labelledby": n,@@ -33874,41 +33890,41 @@ function yk({ title: e, children: t }) {}), t]});}-function bk({ live: e = !1, children: t }) {+function yk({ live: e = !1, children: t }) {return /* @__PURE__ */ (0, x.jsx)("ul", {"aria-live": e ? "polite" : void 0,className: "flex min-w-0 flex-col gap-3",children: t});}-function wpe() {+function Epe() {let e = dt({- queryKey: Yfe,- queryFn: ({ signal: e }) => epe(e),- refetchInterval: (e) => $fe(e.state.data)+ queryKey: Xfe,+ queryFn: ({ signal: e }) => tpe(e),+ refetchInterval: (e) => epe(e.state.data)}), t = e.data, n = t?.finished, [r, i] = (0, b.useState)([]), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(n);- n !== s && (c(n), r.length && s && i(lk(r, s)));+ n !== s && (c(n), r.length && s && i(ck(r, s)));let l = ft({- mutationFn: ({ oldest: e }) => Xfe(e),+ mutationFn: ({ oldest: e }) => Zfe(e),onSuccess: (e, { shown: t }) => {- i((n) => lk(n, t, e.finished || [])), o(!!e.finished_has_more);+ i((n) => ck(n, t, e.finished || [])), o(!!e.finished_has_more);}}), u = e.error ? z(e.error) : "";- if (!t) return /* @__PURE__ */ (0, x.jsx)(WO, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ if (!t) return /* @__PURE__ */ (0, x.jsx)(UO, { children: /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",children: u || "读取任务中心失败"}) });- let d = lk(t.finished || [], r), f = [+ let d = ck(t.finished || [], r), f = [...t.running || [],...t.skipped || [],...d- ], p = ape(f), m = new Set(f.map((e) => e.id)), h = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && m.has(e.parent_run_id))), g = h(d), _ = g[g.length - 1], v = !!_ && (r.length ? a : !!t.finished_has_more), y = () => {+ ], p = ope(f), m = new Set(f.map((e) => e.id)), h = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && m.has(e.parent_run_id))), g = h(d), _ = g[g.length - 1], v = !!_ && (r.length ? a : !!t.finished_has_more), y = () => {!l.isPending && _ && l.mutate({oldest: _,shown: d});- }, S = g.filter((e) => p.get(e.id)?.some(cpe)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = ope(T, (e) => spe(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;- return /* @__PURE__ */ (0, x.jsxs)(WO, { children: [+ }, S = g.filter((e) => p.get(e.id)?.some(lpe)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = spe(T, (e) => cpe(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;+ return /* @__PURE__ */ (0, x.jsxs)(UO, { children: [u ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",children: u@@ -33917,20 +33933,20 @@ function wpe() {tone: "warning",children: t.message || "账本上还没有任务中心的表"}) : null,- D ? /* @__PURE__ */ (0, x.jsx)(HO, {+ D ? /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: lO,+ icon: cO,title: "还没有任务记录",children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"}) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(yk, {+ /* @__PURE__ */ (0, x.jsx)(vk, {title: "正在进行",- children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(bk, {+ children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(yk, {live: !0,- children: [C.map((e) => /* @__PURE__ */ (0, x.jsx)(Cpe, {+ children: [C.map((e) => /* @__PURE__ */ (0, x.jsx)(Tpe, {run: e,followups: p.get(e.id)- }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(vk, {+ }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(_k, {run: e,followups: p.get(e.id)}, e.id))]@@ -33939,17 +33955,17 @@ function wpe() {children: "没有任务在跑。"})}),- w.length ? /* @__PURE__ */ (0, x.jsx)(yk, {+ w.length ? /* @__PURE__ */ (0, x.jsx)(vk, {title: "被挡下的",- children: /* @__PURE__ */ (0, x.jsx)(bk, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(vk, {+ children: /* @__PURE__ */ (0, x.jsx)(yk, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(_k, {run: e,followups: p.get(e.id)}, e.id)) })}) : null,- T.length || v ? /* @__PURE__ */ (0, x.jsxs)(yk, {+ T.length || v ? /* @__PURE__ */ (0, x.jsxs)(vk, {title: "最近完成",children: [- T.length ? /* @__PURE__ */ (0, x.jsx)(bk, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(vk, {+ T.length ? /* @__PURE__ */ (0, x.jsx)(yk, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(_k, {run: e,runs: t,followups: p.get(e.id)@@ -33961,7 +33977,7 @@ function wpe() {v ? /* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",size: "small",- leadingIcon: tO,+ leadingIcon: eO,className: "self-start",...K(l.isPending),onClick: y,@@ -33970,12 +33986,12 @@ function wpe() {]}) : null] }),- /* @__PURE__ */ (0, x.jsx)(_pe, {})+ /* @__PURE__ */ (0, x.jsx)(ype, {})] });}//#endregion//#region src/react/components/use-stuck.ts-function Tpe(e) {+function Dpe(e) {(0, b.useEffect)(() => {let t = e.current;if (!t) return;@@ -33993,9 +34009,9 @@ function Tpe(e) {}//#endregion//#region src/react/components/filter-glass.tsx-function Epe({ title: e, children: t }) {+function Ope({ title: e, children: t }) {let n = (0, b.useRef)(null);- return Tpe(n), /* @__PURE__ */ (0, x.jsxs)("div", {+ return Dpe(n), /* @__PURE__ */ (0, x.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -34008,52 +34024,52 @@ function Epe({ title: e, children: t }) {}), t]});}-function xk({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {+function bk({ 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, b.useRef)(null);- return Tpe(d), /* @__PURE__ */ (0, x.jsxs)("div", {+ return Dpe(d), /* @__PURE__ */ (0, x.jsxs)("div", {ref: d,role: "group","aria-label": e,"data-filter-glass": !0,"data-glass-pane": "",...c,- className: FO("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: PO("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, x.jsx)("div", {role: "group","aria-label": t,"data-filter-row": "top",- className: FO("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: PO("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, x.jsx)("div", {ref: u,"data-filter-row": "bottom","aria-busy": l || void 0,- className: FO("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: PO("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r})]});}-var Dpe = "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 Sk({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var kpe = "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 xk({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, x.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: FO(Dpe, r),+ className: PO(kpe, r),onClick: n,children: e});}-var Ope = "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 Ck({ children: e, onPress: t, busy: n = !1 }) {+var Ape = "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 Sk({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-glass-pill": "",- className: Ope,+ className: Ape,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -34064,13 +34080,13 @@ function Ck({ children: e, onPress: t, busy: n = !1 }) {}//#endregion//#region src/react/components/use-view-glide.ts-var kpe = (e, t) => [+var jpe = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function Ape(e, t, n) {+function Mpe(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;@@ -34094,17 +34110,17 @@ function Ape(e, t, n) {h: e.offsetHeight};}-function wk(e, t, n, r, { axis: i = "x" } = {}) {+function Ck(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, b.useRef)(null), o = (0, b.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 ? Ape(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? Mpe(u, l, i) : null;if (!d || !d.w || !d.h) {s.getAnimations().forEach((e) => e.cancel()), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && kpe(f, d)) && Vo(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && jpe(f, d)) && Vo(s, o ? f : null, d, i);}, [e,t,@@ -34125,8 +34141,8 @@ function wk(e, t, n, r, { axis: i = "x" } = {}) {passive: !0}), addEventListener("resize", c, { passive: !0 });let l = new ResizeObserver(() => {- let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? Ape(o, r, i) : null, l = a.current;- (!s || !l || !kpe(s, l)) && c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? Mpe(o, r, i) : null, l = a.current;+ (!s || !l || !jpe(s, l)) && c();}), u = t.current;if (u && r) {l.observe(u);@@ -34158,12 +34174,12 @@ function wk(e, t, n, r, { axis: i = "x" } = {}) {}//#endregion//#region node_modules/react-aria-components/dist/private/utils.mjs-var Tk = Symbol("default");-function Ek({ values: e, children: t }) {+var wk = Symbol("default");+function Tk({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ b.createElement(n.Provider, { value: r }, t);return t;}-function Dk(e) {+function Ek(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, b.useMemo)(() => {let e, l, u;@@ -34197,11 +34213,11 @@ function Dk(e) {c]);}-function Ok(e, t) {+function Dk(e, t) {let n = (0, b.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || Tk;+ let e = t || wk;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}.`);@@ -34210,8 +34226,8 @@ function Ok(e, t) {}return n;}-function kk(e, t, n) {- let { ref: r, ...i } = Ok(n, e.slot) || {}, a = hv((0, b.useMemo)(() => uv(t, r), [t, r])), o = U(i, e);+function Ok(e, t, n) {+ let { ref: r, ...i } = Dk(n, e.slot) || {}, a = hv((0, b.useMemo)(() => uv(t, r), [t, r])), o = U(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,@@ -34229,7 +34245,7 @@ function kk(e, t, n) {...e.style}), [o, a];}-function Ak(e = !0) {+function kk(e = !0) {let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(!1), i = (0, b.useCallback)((e) => {r.current = !0, n(!!e);}, []);@@ -34237,12 +34253,12 @@ function Ak(e = !0) {r.current || n(!1);}, []), [i, t];}-function jk(e) {+function Ak(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function jpe(e, t, n) {+function Npe(e, t, n) {let { render: r, ...i } = t, a = (0, b.useRef)(null), o = (0, b.useMemo)(() => uv(n, a), [n, a]);O_(() => {}, [e, r]);let s = {@@ -34251,19 +34267,19 @@ function jpe(e, t, n) {};return r ? r(s, void 0) : /*#__PURE__*/ b.createElement(e, s);}-var Mpe = {}, Mk = new Proxy({}, { get(e, t) {+var Ppe = {}, jk = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = Mpe[t];- return n || (n = /*#__PURE__*/ (0, b.forwardRef)(jpe.bind(null, t)), Mpe[t] = n), n;-} }), Nk = /*#__PURE__*/ (0, b.createContext)(null), Pk = /*#__PURE__*/ (0, b.createContext)(null), Npe = /*#__PURE__*/ (0, b.createContext)(null), Fk = {+ let n = Ppe[t];+ return n || (n = /*#__PURE__*/ (0, b.forwardRef)(Npe.bind(null, t)), Ppe[t] = n), n;+} }), Mk = /*#__PURE__*/ (0, b.createContext)(null), Nk = /*#__PURE__*/ (0, b.createContext)(null), Fpe = /*#__PURE__*/ (0, b.createContext)(null), Pk = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return Ppe(e, null, t);+ return Ipe(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return Ppe(e, t, n);+ return Ipe(e, t, n);}};-function Ppe(e, t, n) {+function Ipe(e, t, n) {return f_({items: t ? e.getChildren(t.key) : e,dependencies: [n],@@ -34274,11 +34290,11 @@ function Ppe(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, Fpe(e, t, n));+ }), r, Lpe(e, t, n));}});}-function Fpe(e, t, n) {+function Lpe(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);@@ -34297,24 +34313,24 @@ function Fpe(e, t, n) {}return s;}-var Ik = /*#__PURE__*/ (0, b.createContext)(Fk);-function Ipe(e) {+var Fk = /*#__PURE__*/ (0, b.createContext)(Pk);+function Rpe(e) {return (0, b.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}//#endregion//#region node_modules/react-aria-components/dist/private/Label.mjs-var Lk = /*#__PURE__*/ (0, b.createContext)({}), Lpe = /*#__PURE__*/ bv(function(e, t) {- [e, t] = kk(e, t, Lk);- let { elementType: n = "label", ...r } = e, i = Mk[n];+var Ik = /*#__PURE__*/ (0, b.createContext)({}), zpe = /*#__PURE__*/ bv(function(e, t) {+ [e, t] = Ok(e, t, Ik);+ let { elementType: n = "label", ...r } = e, i = jk[n];return /*#__PURE__*/ b.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), Rpe = /*#__PURE__*/ (0, b.createContext)(null), Rk = /*#__PURE__*/ (0, b.createContext)({}), zpe = /*#__PURE__*/ bv(function(e, t) {- [e, t] = kk(e, t, Rk);+}), Bpe = /*#__PURE__*/ (0, b.createContext)(null), Lk = /*#__PURE__*/ (0, b.createContext)({}), Vpe = /*#__PURE__*/ bv(function(e, t) {+ [e, t] = Ok(e, t, Lk);let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Cae(e, t);- i = Vpe(i, r);+ i = Upe(i, r);let { focusProps: o, isFocused: s, isFocusVisible: c } = Ax(e), { hoverProps: l, isHovered: u } = Px({...e,isDisabled: e.isDisabled || r@@ -34325,7 +34341,7 @@ var Lk = /*#__PURE__*/ (0, b.createContext)({}), Lpe = /*#__PURE__*/ bv(functionisFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = Dk({+ }, f = Ek({...e,values: d,defaultClassName: "react-aria-Button"@@ -34342,7 +34358,7 @@ var Lk = /*#__PURE__*/ (0, b.createContext)({}), Lpe = /*#__PURE__*/ bv(functionp]);let _ = $v(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ b.createElement(Mk.button, {+ return delete _.onClick, /*#__PURE__*/ b.createElement(jk.button, {...U(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -34356,62 +34372,62 @@ var Lk = /*#__PURE__*/ (0, b.createContext)({}), Lpe = /*#__PURE__*/ bv(function"data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ b.createElement(Rpe.Provider, { value: { id: m } }, f.children));-}), Bpe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function Vpe(e, t) {+ }, /*#__PURE__*/ b.createElement(Bpe.Provider, { value: { id: m } }, f.children));+}), Hpe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function Upe(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !Bpe.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !Hpe.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 Hpe = /*#__PURE__*/ (0, b.createContext)({}), zk = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = kk(e, t, Hpe);- let { children: n, level: r = 3, className: i, ...a } = e, o = Mk[`h${r}`];+var Wpe = /*#__PURE__*/ (0, b.createContext)({}), Rk = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = Ok(e, t, Wpe);+ let { children: n, level: r = 3, className: i, ...a } = e, o = jk[`h${r}`];return /*#__PURE__*/ b.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), Bk = /*#__PURE__*/ (0, b.createContext)({}), Upe = /*#__PURE__*/ bv(function(e, t) {- [e, t] = kk(e, t, Bk);- let { elementType: n = "span", ...r } = e, i = Mk[n];+}), zk = /*#__PURE__*/ (0, b.createContext)({}), Gpe = /*#__PURE__*/ bv(function(e, t) {+ [e, t] = Ok(e, t, zk);+ let { elementType: n = "span", ...r } = e, i = jk[n];return /*#__PURE__*/ b.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), Vk = /*#__PURE__*/ (0, b.createContext)(null), Hk = /*#__PURE__*/ (0, b.createContext)(null), Uk = /*#__PURE__*/ (0, b.createContext)(null), Wpe = /*#__PURE__*/ (0, b.createContext)(null), Gpe = /*#__PURE__*/ (0, b.createContext)(null), Kpe = /*#__PURE__*/ (0, b.createContext)(null);-function qpe(e, t) {- let { validationBehavior: n } = Ok(Hk) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(Gpe), a = hv((0, b.useMemo)(() => uv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...jk(e),+}), Bk = /*#__PURE__*/ (0, b.createContext)(null), Vk = /*#__PURE__*/ (0, b.createContext)(null), Hk = /*#__PURE__*/ (0, b.createContext)(null), Kpe = /*#__PURE__*/ (0, b.createContext)(null), qpe = /*#__PURE__*/ (0, b.createContext)(null), Jpe = /*#__PURE__*/ (0, b.createContext)(null);+function Ype(e, t) {+ let { validationBehavior: n } = Dk(Vk) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(qpe), a = hv((0, b.useMemo)(() => uv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...Ak(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};return [i ? Kae(o, i, a) : ob(o, db(e), a), a];}-var Jpe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+var Xpe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = kk(r, t, Uk);- let [i, a] = qpe(e, n);- return /*#__PURE__*/ b.createElement(Kpe.Provider, { value: {+ [e, t] = Ok(r, t, Hk);+ let [i, a] = Ype(e, n);+ return /*#__PURE__*/ b.createElement(Jpe.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ b.createElement(Ype, {+ } }, /*#__PURE__*/ b.createElement(Zpe, {...e,ref: t}));-}), Ype = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, b.useContext)(Kpe), { isFocused: p, isFocusVisible: m, focusProps: h } = Ax(), g = a || o, { hoverProps: _, isHovered: v } = Px({+}), Zpe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, b.useContext)(Jpe), { isFocused: p, isFocusVisible: m, focusProps: h } = Ax(), g = a || o, { hoverProps: _, isHovered: v } = Px({...e,isDisabled: g- }), y = Dk({+ }), y = Ek({...e,defaultClassName: u,values: {@@ -34427,7 +34443,7 @@ var Jpe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {isRequired: f || !1}}), x = $v(e, { global: !0 });- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(Mk.label, {+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(jk.label, {...U(x, n, _, y),ref: t,slot: e.slot || void 0,@@ -34445,8 +34461,8 @@ var Jpe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {...U(r, h),ref: l})), y.children);-}), Xpe = /*#__PURE__*/ (0, b.createContext)({}), Zpe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = kk(e, t, Xpe);+}), Qpe = /*#__PURE__*/ (0, b.createContext)({}), $pe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = Ok(e, t, Qpe);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 } = Px({@@ -34454,7 +34470,7 @@ var Jpe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = Ax({ within: !0 }), m = Dk({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = Ax({ within: !0 }), m = Ek({...e,values: {isHovered: u,@@ -34465,7 +34481,7 @@ var Jpe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ b.createElement(Mk.div, {+ return /*#__PURE__*/ b.createElement(jk.div, {...U(c, p, l),...m,ref: t,@@ -34478,18 +34494,18 @@ var Jpe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), Qpe = /*#__PURE__*/ (0, b.createContext)({}), $pe = (e) => {+}), eme = /*#__PURE__*/ (0, b.createContext)({}), tme = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, eme = /*#__PURE__*/ bv(function(e, t) {- [e, t] = kk(e, t, Qpe);+}, nme = /*#__PURE__*/ bv(function(e, t) {+ [e, t] = Ok(e, t, eme);let { hoverProps: n, isHovered: r } = Px({...e,isDisabled: e.disabled}), { isFocused: i, isFocusVisible: a, focusProps: o } = Ax({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Dk({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Ek({...e,values: {isHovered: r,@@ -34500,8 +34516,8 @@ var Jpe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ b.createElement(Mk.input, {- ...U($pe(e), o, n),+ return /*#__PURE__*/ b.createElement(jk.input, {+ ...U(tme(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -34510,8 +34526,8 @@ var Jpe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), tme = {};-tme = {+}), rme = {};+rme = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",@@ -34519,8 +34535,8 @@ tme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var nme = {};-nme = {+var ime = {};+ime = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",@@ -34528,8 +34544,8 @@ nme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var rme = {};-rme = {+var ame = {};+ame = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",@@ -34537,8 +34553,8 @@ rme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var ime = {};-ime = {+var ome = {};+ome = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",@@ -34546,8 +34562,8 @@ ime = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var ame = {};-ame = {+var sme = {};+sme = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",@@ -34555,8 +34571,8 @@ ame = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var ome = {};-ome = {+var cme = {};+cme = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",@@ -34564,8 +34580,8 @@ ome = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs-var sme = {};-sme = {+var lme = {};+lme = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",@@ -34573,8 +34589,8 @@ sme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var cme = {};-cme = {+var ume = {};+ume = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",@@ -34582,8 +34598,8 @@ cme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var lme = {};-lme = {+var dme = {};+dme = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",@@ -34591,8 +34607,8 @@ lme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var ume = {};-ume = {+var fme = {};+fme = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",@@ -34600,8 +34616,8 @@ ume = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var dme = {};-dme = {+var pme = {};+pme = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",@@ -34609,8 +34625,8 @@ dme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var fme = {};-fme = {+var mme = {};+mme = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",@@ -34618,8 +34634,8 @@ fme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var pme = {};-pme = {+var hme = {};+hme = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",@@ -34627,8 +34643,8 @@ pme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var mme = {};-mme = {+var gme = {};+gme = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",@@ -34636,8 +34652,8 @@ mme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var hme = {};-hme = {+var _me = {};+_me = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",@@ -34645,8 +34661,8 @@ hme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var gme = {};-gme = {+var vme = {};+vme = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",@@ -34654,8 +34670,8 @@ gme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var _me = {};-_me = {+var yme = {};+yme = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",@@ -34663,8 +34679,8 @@ _me = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var vme = {};-vme = {+var bme = {};+bme = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",@@ -34672,8 +34688,8 @@ vme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var yme = {};-yme = {+var xme = {};+xme = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",@@ -34681,8 +34697,8 @@ yme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var bme = {};-bme = {+var Sme = {};+Sme = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",@@ -34690,8 +34706,8 @@ bme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var xme = {};-xme = {+var Cme = {};+Cme = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",@@ -34699,8 +34715,8 @@ xme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var Sme = {};-Sme = {+var wme = {};+wme = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",@@ -34708,8 +34724,8 @@ Sme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var Cme = {};-Cme = {+var Tme = {};+Tme = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -34717,8 +34733,8 @@ Cme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var wme = {};-wme = {+var Eme = {};+Eme = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -34726,8 +34742,8 @@ wme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var Tme = {};-Tme = {+var Dme = {};+Dme = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",@@ -34735,8 +34751,8 @@ Tme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var Eme = {};-Eme = {+var Ome = {};+Ome = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",@@ -34744,8 +34760,8 @@ Eme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var Dme = {};-Dme = {+var kme = {};+kme = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",@@ -34753,8 +34769,8 @@ Dme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var Ome = {};-Ome = {+var Ame = {};+Ame = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",@@ -34762,8 +34778,8 @@ Ome = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var kme = {};-kme = {+var jme = {};+jme = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",@@ -34771,8 +34787,8 @@ kme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var Ame = {};-Ame = {+var Mme = {};+Mme = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",@@ -34780,8 +34796,8 @@ Ame = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var jme = {};-jme = {+var Nme = {};+Nme = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",@@ -34789,8 +34805,8 @@ jme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var Mme = {};-Mme = {+var Pme = {};+Pme = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",@@ -34798,8 +34814,8 @@ Mme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var Nme = {};-Nme = {+var Fme = {};+Fme = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",@@ -34807,8 +34823,8 @@ Nme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var Pme = {};-Pme = {+var Ime = {};+Ime = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",@@ -34816,52 +34832,52 @@ Pme = {};//#endregion//#region node_modules/react-aria-components/dist/private/intlStrings.mjs-var Fme = {};-Fme = {- "ar-AE": tme,- "bg-BG": nme,- "cs-CZ": rme,- "da-DK": ime,- "de-DE": ame,- "el-GR": ome,- "en-US": sme,- "es-ES": cme,- "et-EE": lme,- "fi-FI": ume,- "fr-FR": dme,- "he-IL": fme,- "hr-HR": pme,- "hu-HU": mme,- "it-IT": hme,- "ja-JP": gme,- "ko-KR": _me,- "lt-LT": vme,- "lv-LV": yme,- "nb-NO": bme,- "nl-NL": xme,- "pl-PL": Sme,- "pt-BR": Cme,- "pt-PT": wme,- "ro-RO": Tme,- "ru-RU": Eme,- "sk-SK": Dme,- "sl-SI": Ome,- "sr-SP": kme,- "sv-SE": Ame,- "tr-TR": jme,- "uk-UA": Mme,- "zh-CN": Nme,- "zh-TW": Pme+var Lme = {};+Lme = {+ "ar-AE": rme,+ "bg-BG": ime,+ "cs-CZ": ame,+ "da-DK": ome,+ "de-DE": sme,+ "el-GR": cme,+ "en-US": lme,+ "es-ES": ume,+ "et-EE": dme,+ "fi-FI": fme,+ "fr-FR": pme,+ "he-IL": mme,+ "hr-HR": hme,+ "hu-HU": gme,+ "it-IT": _me,+ "ja-JP": vme,+ "ko-KR": yme,+ "lt-LT": bme,+ "lv-LV": xme,+ "nb-NO": Sme,+ "nl-NL": Cme,+ "pl-PL": wme,+ "pt-BR": Tme,+ "pt-PT": Eme,+ "ro-RO": Dme,+ "ru-RU": Ome,+ "sk-SK": kme,+ "sl-SI": Ame,+ "sr-SP": jme,+ "sv-SE": Mme,+ "tr-TR": Nme,+ "uk-UA": Pme,+ "zh-CN": Fme,+ "zh-TW": Ime};//#endregion//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var Wk = /*#__PURE__*/ (0, b.createContext)({}), Gk = /*#__PURE__*/ (0, b.createContext)(null), Ime = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { render: n } = (0, b.useContext)(Gk);+var Uk = /*#__PURE__*/ (0, b.createContext)({}), Wk = /*#__PURE__*/ (0, b.createContext)(null), Rme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { render: n } = (0, b.useContext)(Wk);return /*#__PURE__*/ b.createElement(b.Fragment, null, n(e, t));});-function Kk(e, t) {+function Gk(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, b.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ b.createElement(Ime, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ b.createElement(Rme, { target: e });}, [t?.target,r,@@ -34869,7 +34885,7 @@ function Kk(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function Lme(e, t, n) {+function zme(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;@@ -34891,14 +34907,14 @@ function Lme(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Header.mjs-var Rme = /*#__PURE__*/ (0, b.createContext)({}), zme = /*#__PURE__*/ (0, b.createContext)(null);-function qk(e) {+var Bme = /*#__PURE__*/ (0, b.createContext)({}), Vme = /*#__PURE__*/ (0, b.createContext)(null);+function Kk(e) {let t = (0, b.useRef)({});- return /*#__PURE__*/ b.createElement(zme.Provider, { value: t }, e.children);+ return /*#__PURE__*/ b.createElement(Vme.Provider, { value: t }, e.children);}//#endregion//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var Jk = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), Yk = /*#__PURE__*/ (0, b.createContext)({}), Bme = /*#__PURE__*/ Ov(class extends c_ {+var qk = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), Jk = /*#__PURE__*/ (0, b.createContext)({}), Hme = /*#__PURE__*/ Ov(class extends c_ {static {this.type = "separator";}@@ -34911,10 +34927,10 @@ var Jk = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), Yk = /*#__PURE_return null;}}, function(e, t) {- [e, t] = kk(e, t, Yk);+ [e, t] = Ok(e, t, Jk);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = Mk[c], { separatorProps: u } = qoe({+ let l = jk[c], { separatorProps: u } = qoe({...s,elementType: n,orientation: r@@ -34930,13 +34946,13 @@ var Jk = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), Yk = /*#__PURE_});//#endregion//#region node_modules/react-aria/dist/private/utils/inertValue.mjs-function Xk(e) {+function Yk(e) {let t = b.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 Vme = class {+var Ume = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -34980,20 +34996,20 @@ var Vme = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, Zk = class e extends Set {+}, Xk = 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 Hme(e, t) {+function Wme(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function Qk(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, b.useRef)(!1), [, s] = (0, b.useState)(!1), c = (0, b.useRef)(null), l = (0, b.useRef)(null), [, u] = (0, b.useState)(null), [d, f] = ub((0, b.useMemo)(() => Ume(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => Ume(e.defaultSelectedKeys, new Zk()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, b.useState)(i);+function Zk(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, b.useRef)(!1), [, s] = (0, b.useState)(!1), c = (0, b.useRef)(null), l = (0, b.useRef)(null), [, u] = (0, b.useState)(null), [d, f] = ub((0, b.useMemo)(() => Gme(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => Gme(e.defaultSelectedKeys, new Xk()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, b.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, b.useRef)(i);return (0, b.useEffect)(() => {@@ -35020,18 +35036,18 @@ function Qk(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !Hme(e, d)) && f(e);+ (r || !Wme(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function Ume(e, t) {- return e ? e === "all" ? "all" : new Zk(e) : t;+function Gme(e, t) {+ return e ? e === "all" ? "all" : new Xk(e) : t;}//#endregion//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var $k = class e {+var Qk = 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;}@@ -35114,10 +35130,10 @@ var $k = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new Zk([t], t, t);+ if (this.state.selectedKeys === "all") n = new Xk([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new Zk(e, r, t);+ n = new Xk(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);}@@ -35151,19 +35167,19 @@ var $k = class e {}let t = this.getKey(e);if (t == null) return;- let n = new Zk(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new Xk(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 Zk([t], t, t) : new Zk();+ let n = this.canSelectItem(t) ? new Xk([t], t, t) : new Xk();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new Zk();+ let t = new Xk();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -35186,7 +35202,7 @@ var $k = 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 Zk());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new Xk());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -35227,9 +35243,9 @@ var $k = class e {fullCollection: this.fullCollection ?? this.collection});}-}, Wme = class {+}, Kme = class {build(e, t) {- return this.context = t, Gme(() => this.iterateCollection(e));+ return this.context = t, qme(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -35311,10 +35327,10 @@ var $k = class e {...a,key: l,index: s,- wrapper: Kme(e.wrapper, a.wrapper)+ wrapper: Jme(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 <${eA(t.type)}> in <${eA(r?.type ?? "unknown parent type")}>. Only <${eA(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 <${$k(t.type)}> in <${$k(r?.type ?? "unknown parent type")}>. Only <${$k(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -35336,7 +35352,7 @@ var $k = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: Gme(function* () {+ childNodes: qme(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -35355,7 +35371,7 @@ var $k = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function Gme(e) {+function qme(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -35363,18 +35379,18 @@ function Gme(e) {for (let e of n) t.push(e), yield e;} };}-function Kme(e, t) {+function Jme(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function eA(e) {+function $k(e) {return e[0].toUpperCase() + e.slice(1);}//#endregion//#region node_modules/react-stately/dist/private/collections/useCollection.mjs-function tA(e, t, n) {- let r = (0, b.useMemo)(() => new Wme(), []), { children: i, items: a, collection: o } = e;+function eA(e, t, n) {+ let r = (0, b.useMemo)(() => new Kme(), []), { children: i, items: a, collection: o } = e;return (0, b.useMemo)(() => o || t(r.build({children: i,items: a@@ -35389,27 +35405,27 @@ function tA(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/list/useListState.mjs-function nA(e) {- let { filter: t, layoutDelegate: n } = e, r = Qk(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = tA(e, (0, b.useCallback)((e) => t ? new Vme(t(e)) : new Vme(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new $k(a, r, { layoutDelegate: n }), [+function tA(e) {+ let { filter: t, layoutDelegate: n } = e, r = Zk(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = eA(e, (0, b.useCallback)((e) => t ? new Ume(t(e)) : new Ume(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new Qk(a, r, { layoutDelegate: n }), [a,r,n]);- return rA(a, o), {+ return nA(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function qme(e, t) {+function Yme(e, t) {let n = (0, b.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return rA(n, r), {+ return nA(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function rA(e, t) {+function nA(e, t) {let n = (0, b.useRef)(null);(0, b.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -35437,7 +35453,7 @@ function rA(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function iA(e, t) {+function rA(e, t) {let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, b.useRef)(null), s = Lv((e) => {for (let t of e) t.isIntersecting && r && r();});@@ -35461,42 +35477,42 @@ function iA(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/ListBox.mjs-var aA = /*#__PURE__*/ (0, b.createContext)(null), oA = /*#__PURE__*/ (0, b.createContext)(null), Jme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = kk(e, t, aA);- let n = (0, b.useContext)(oA);- return n ? /*#__PURE__*/ b.createElement(sA, {+var iA = /*#__PURE__*/ (0, b.createContext)(null), aA = /*#__PURE__*/ (0, b.createContext)(null), Xme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = Ok(e, t, iA);+ let n = (0, b.useContext)(aA);+ return n ? /*#__PURE__*/ b.createElement(oA, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ b.createElement(Tv, { content: /*#__PURE__*/ b.createElement(Mv, e) }, (n) => /*#__PURE__*/ b.createElement(Yme, {+ }) : /*#__PURE__*/ b.createElement(Tv, { content: /*#__PURE__*/ b.createElement(Mv, e) }, (n) => /*#__PURE__*/ b.createElement(Zme, {props: e,listBoxRef: t,collection: n}));});-function Yme({ props: e, listBoxRef: t, collection: n }) {+function Zme({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, b.useContext)(Ik), i = nA({+ let { layoutDelegate: r } = (0, b.useContext)(Fk), i = tA({...e,layoutDelegate: r});- return /*#__PURE__*/ b.createElement(sA, {+ return /*#__PURE__*/ b.createElement(oA, {state: i,props: e,listBoxRef: t});}-function sA({ state: e, props: t, listBoxRef: n }) {- [t, n] = kk(t, n, Nk);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = qme(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Gv(), { disabledBehavior: p, disabledKeys: m } = l, h = Cx({+function oA({ state: e, props: t, listBoxRef: n }) {+ [t, n] = Ok(t, n, Mk);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Yme(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Gv(), { disabledBehavior: p, disabledKeys: m } = l, h = Cx({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(Ik), x = (0, b.useMemo)(() => t.keyboardDelegate || new Tb({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(Fk), x = (0, b.useMemo)(() => t.keyboardDelegate || new Tb({collection: c,collator: h,ref: n,@@ -35557,7 +35573,7 @@ function sA({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, P = Dk({+ }, P = Ek({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -35568,7 +35584,7 @@ function sA({ state: e, props: t, listBoxRef: n }) {style: { display: "contents" }}, t.renderEmptyState(N)));let F = $v(t, { global: !0 });- return /*#__PURE__*/ b.createElement(Sy, null, /*#__PURE__*/ b.createElement(Mk.div, {+ return /*#__PURE__*/ b.createElement(Sy, null, /*#__PURE__*/ b.createElement(jk.div, {...U(F, P, S, k, T?.collectionProps),ref: n,slot: t.slot || void 0,@@ -35579,52 +35595,52 @@ function sA({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": j || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ b.createElement(Ek, { values: [- [aA, t],- [oA, s],- [Wk, {+ }, /*#__PURE__*/ b.createElement(Tk, { values: [+ [iA, t],+ [aA, s],+ [Uk, {dragAndDropHooks: r,dragState: C,dropState: w}],- [Yk, { elementType: "div" }],- [Gk, { render: Qme }],- [Npe, {+ [Jk, { elementType: "div" }],+ [Wk, { render: ehe }],+ [Fpe, {name: "ListBoxSection",- render: Xme+ render: Qme}]- ] }, /*#__PURE__*/ b.createElement(qk, null, /*#__PURE__*/ b.createElement(y, {+ ] }, /*#__PURE__*/ b.createElement(Kk, null, /*#__PURE__*/ b.createElement(y, {collection: c,scrollRef: n,- persistedKeys: Lme(l, r, w),- renderDropIndicator: Kk(r, w)+ persistedKeys: zme(l, r, w),+ renderDropIndicator: Gk(r, w)}))), ee, D));}-function Xme(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, b.useContext)(oA), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(Wk), { CollectionBranch: s } = (0, b.useContext)(Ik), [c, l] = Ak(), { headingProps: u, groupProps: d } = boe({+function Qme(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, b.useContext)(aA), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(Uk), { CollectionBranch: s } = (0, b.useContext)(Fk), [c, l] = kk(), { headingProps: u, groupProps: d } = boe({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = Dk({+ }), f = Ek({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0}), p = $v(e, { global: !0 });- return delete p.id, /*#__PURE__*/ b.createElement(Mk.section, {+ return delete p.id, /*#__PURE__*/ b.createElement(jk.section, {...U(p, f, d),ref: t- }, /*#__PURE__*/ b.createElement(Rme.Provider, { value: {+ }, /*#__PURE__*/ b.createElement(Bme.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ b.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: Kk(a, o)+ renderDropIndicator: Gk(a, o)})));}-var Zme = /*#__PURE__*/ Ov(fre, function(e, t, n) {- let r = hv(t), i = (0, b.useContext)(oA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(Wk), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = xoe({+var $me = /*#__PURE__*/ Ov(fre, function(e, t, n) {+ let r = hv(t), i = (0, b.useContext)(aA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(Uk), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = xoe({key: n.key,"aria-label": e?.["aria-label"]}, i, r), { hoverProps: p, isHovered: m } = Px({@@ -35643,7 +35659,7 @@ var Zme = /*#__PURE__*/ Ov(fre, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), x = Dk({+ let y = o && o.isDragging(n.key), x = Ek({...e,id: void 0,children: e.children,@@ -35661,7 +35677,7 @@ var Zme = /*#__PURE__*/ Ov(fre, function(e, t, n) {(0, b.useEffect)(() => {n.textValue;}, [n.textValue]);- let S = e.href ? Mk.a : Mk.div, C = $v(e, { global: !0 });+ let S = e.href ? jk.a : jk.div, C = $v(e, { global: !0 });return delete C.id, delete C.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ b.createElement(S, {...U(C, x, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -35675,29 +35691,29 @@ var Zme = /*#__PURE__*/ Ov(fre, 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__*/ b.createElement(Ek, { values: [[Bk, { slots: {- [Tk]: u,+ }, /*#__PURE__*/ b.createElement(Tk, { values: [[zk, { slots: {+ [wk]: u,label: u,description: d- } }], [Jk, { isSelected: f.isSelected }]] }, x.children));+ } }], [qk, { isSelected: f.isSelected }]] }, x.children));});-function Qme(e, t) {+function ehe(e, t) {t = hv(t);- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(Wk), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ b.createElement(ehe, {+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(Uk), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ b.createElement(nhe, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function $me(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Dk({+function the(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Ek({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Mk.div, {+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(jk.div, {...n,...a,role: "option",@@ -35705,10 +35721,10 @@ function $me(e, t) {"data-drop-target": r || void 0}));}-var ehe = /*#__PURE__*/ (0, b.forwardRef)($me);+var nhe = /*#__PURE__*/ (0, b.forwardRef)(the);Ov(u_, function(e, t, n) {- let r = (0, b.useContext)(oA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);- iA((0, b.useMemo)(() => ({+ let r = (0, b.useContext)(aA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);+ rA((0, b.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -35718,7 +35734,7 @@ Ov(u_, function(e, t, n) {o,r?.collection]), c);- let l = Dk({+ let l = Ek({...s,id: void 0,children: n.rendered,@@ -35731,7 +35747,7 @@ Ov(u_, function(e, t, n) {width: 0,height: 0},- inert: Xk(!0)+ inert: Yk(!0)}, /*#__PURE__*/ b.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -35740,7 +35756,7 @@ Ov(u_, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Mk.div, {+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(jk.div, {...U($v(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",@@ -35749,10 +35765,10 @@ Ov(u_, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var the = /*#__PURE__*/ (0, b.createContext)({ placement: "bottom" });+var rhe = /*#__PURE__*/ (0, b.createContext)({ placement: "bottom" });//#endregion//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function cA(e) {+function sA(e) {let [t, n] = ub(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, b.useState)(null);return {isOpen: t,@@ -35772,13 +35788,13 @@ function cA(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/animation.mjs-function lA(e, t = !0) {+function cA(e, t = !0) {let [n, r] = (0, b.useState)(!0), i = n && t;return O_(() => {if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, i]), dA(e, i, (0, b.useCallback)(() => r(!1), [])), i;+ }, [e, i]), uA(e, i, (0, b.useCallback)(() => r(!1), [])), i;}-function uA(e, t) {+function lA(e, t) {let [n, r] = (0, b.useState)(t ? "open" : "closed");switch (n) {case "open":@@ -35788,11 +35804,11 @@ function uA(e, t) {case "exiting": t && r("open");}let i = n === "exiting";- return dA(e, i, (0, b.useCallback)(() => {+ return uA(e, i, (0, b.useCallback)(() => {r((e) => e === "exiting" ? "closed" : e);}, [])), i;}-function dA(e, t, n) {+function uA(e, t, n) {O_(() => {if (t && e.current) {if (!("getAnimations" in e.current)) {@@ -35821,9 +35837,9 @@ function dA(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Popover.mjs-var fA = /*#__PURE__*/ (0, b.createContext)(null), pA = /*#__PURE__*/ (0, b.createContext)(null), mA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = kk(e, t, fA);- let n = (0, b.useContext)(wA), r = cA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = uA(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = xv(), { direction: c } = Gv();+var dA = /*#__PURE__*/ (0, b.createContext)(null), fA = /*#__PURE__*/ (0, b.createContext)(null), pA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = Ok(e, t, dA);+ let n = (0, b.useContext)(CA), r = sA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = lA(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = xv(), { direction: c } = Gv();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -35834,7 +35850,7 @@ var fA = /*#__PURE__*/ (0, b.createContext)(null), pA = /*#__PURE__*/ (0, b.creadefaultChildren: null})), /*#__PURE__*/ b.createElement(b.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ b.createElement(nhe, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ b.createElement(ihe, {...e,triggerRef: e.triggerRef,state: i,@@ -35843,13 +35859,13 @@ var fA = /*#__PURE__*/ (0, b.createContext)(null), pA = /*#__PURE__*/ (0, b.creadir: c});});-function nhe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useContext)(pA), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Voe({+function ihe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useContext)(fA), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Voe({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), m = i.popoverRef, h = lA(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = Dk({+ }, e), m = i.popoverRef, h = cA(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = Ek({...i,defaultClassName: "react-aria-Popover",values: {@@ -35884,7 +35900,7 @@ function nhe({ 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"] || C- }, D = /*#__PURE__*/ b.createElement(Mk.div, {+ }, D = /*#__PURE__*/ b.createElement(jk.div, {...U($v(i, { global: !0 }), l),..._,id: y ? i.id : void 0,@@ -35900,7 +35916,7 @@ function nhe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": f,"data-entering": g || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ b.createElement(oC, { onDismiss: e.close }), /*#__PURE__*/ b.createElement(the.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ b.createElement(oC, { onDismiss: e.close }), /*#__PURE__*/ b.createElement(rhe.Provider, { value: {...d,placement: f,ref: a@@ -35925,15 +35941,15 @@ function nhe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ b.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ b.createElement(pA.Provider, { value: o }, D)));+ }, /*#__PURE__*/ b.createElement(fA.Provider, { value: o }, D)));}//#endregion//#region node_modules/react-aria-components/dist/private/Keyboard.mjs-var rhe = /*#__PURE__*/ (0, b.createContext)({});+var ahe = /*#__PURE__*/ (0, b.createContext)({});//#endregion//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function hA(e) {- let t = cA(e), [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)([]), o = () => {+function mA(e) {+ let t = sA(e), [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -35959,7 +35975,7 @@ function hA(e) {}//#endregion//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var ihe = class {+var ohe = 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) => {@@ -36003,8 +36019,8 @@ var ihe = class {};//#endregion//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs-function ahe(e) {- let { onExpandedChange: t } = e, [n, r] = ub(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = Qk(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = tA(e, (0, b.useCallback)((e) => new ihe(e, { expandedKeys: n }), [n]), null);+function she(e) {+ let { onExpandedChange: t } = e, [n, r] = ub(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = Zk(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = eA(e, (0, b.useCallback)((e) => new ohe(e, { expandedKeys: n }), [n]), null);return (0, b.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -36012,32 +36028,32 @@ function ahe(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(ohe(n, e));+ r(che(n, e));},setExpandedKeys: r,- selectionManager: new $k(o, i)+ selectionManager: new Qk(o, i)};}-function ohe(e, t) {+function che(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 gA = /*#__PURE__*/ (0, b.createContext)(null), _A = /*#__PURE__*/ (0, b.createContext)(null), vA = /*#__PURE__*/ (0, b.createContext)(null), yA = /*#__PURE__*/ (0, b.createContext)(null);-function she(e) {- let t = hA(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = lx({+var hA = /*#__PURE__*/ (0, b.createContext)(null), gA = /*#__PURE__*/ (0, b.createContext)(null), _A = /*#__PURE__*/ (0, b.createContext)(null), vA = /*#__PURE__*/ (0, b.createContext)(null);+function lhe(e) {+ let t = mA(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = lx({...e,type: "menu"}, t, n), a = (0, b.useRef)(null);- return xv() ? null : /*#__PURE__*/ b.createElement(Ek, { values: [- [gA, {+ return xv() ? null : /*#__PURE__*/ b.createElement(Tk, { values: [+ [hA, {...i,ref: a}],- [wA, t],- [vA, t],- [fA, {+ [CA, t],+ [_A, t],+ [dA, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -36051,7 +36067,7 @@ function she(e) {isPressed: t.isOpen}, e.children));}-var che = /*#__PURE__*/ (0, b.createContext)(null);+var uhe = /*#__PURE__*/ (0, b.createContext)(null);(class extends c_ {static {this.type = "submenutrigger";@@ -36065,24 +36081,24 @@ var che = /*#__PURE__*/ (0, b.createContext)(null);return null;}});-var lhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- return [e, t] = kk(e, t, gA), /*#__PURE__*/ b.createElement(Tv, { content: /*#__PURE__*/ b.createElement(Mv, e) }, (n) => /*#__PURE__*/ b.createElement(uhe, {+var dhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ return [e, t] = Ok(e, t, hA), /*#__PURE__*/ b.createElement(Tv, { content: /*#__PURE__*/ b.createElement(Mv, e) }, (n) => /*#__PURE__*/ b.createElement(fhe, {props: e,collection: n,menuRef: t}));});-function uhe({ props: e, collection: t, menuRef: n }) {- [e, n] = kk(e, n, Nk);- let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = ahe({+function fhe({ props: e, collection: t, menuRef: n }) {+ [e, n] = Ok(e, n, Mk);+ let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = she({...e,collection: a,children: void 0- }), s = (0, b.useContext)(vA), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(Ik), { menuProps: u } = Soe({+ }), s = (0, b.useContext)(_A), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(Fk), { menuProps: u } = Soe({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = Dk({+ }, o, n), d = Ek({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -36093,35 +36109,35 @@ function uhe({ props: e, collection: t, menuRef: n }) {style: { display: "contents" }}, e.renderEmptyState()));let p = $v(e, { global: !0 });- return /*#__PURE__*/ b.createElement(Sy, null, /*#__PURE__*/ b.createElement(Mk.div, {+ return /*#__PURE__*/ b.createElement(Sy, null, /*#__PURE__*/ b.createElement(jk.div, {...U(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ b.createElement(Ek, { values: [- [_A, o],- [Yk, { elementType: "div" }],- [Npe, {+ }, /*#__PURE__*/ b.createElement(Tk, { values: [+ [gA, o],+ [Jk, { elementType: "div" }],+ [Fpe, {name: "MenuSection",- render: bA+ render: yA}],- [che, {+ [uhe, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [SA, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [xA, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [Mk, null],[Nk, null],- [Pk, null],- [yA, o.selectionManager],- [vA, s ?? hA({})]- ] }, /*#__PURE__*/ b.createElement(qk, null, /*#__PURE__*/ b.createElement(l, {+ [vA, o.selectionManager],+ [_A, s ?? mA({})]+ ] }, /*#__PURE__*/ b.createElement(Kk, null, /*#__PURE__*/ b.createElement(l, {collection: o.collection,- persistedKeys: Ipe(o.selectionManager.focusedKey),+ persistedKeys: Rpe(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var dhe = class extends $k {+var phe = class extends Qk {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -36141,11 +36157,11 @@ var dhe = class extends $k {return this.parent.childFocusStrategy;}};-function bA(e, t, n, r = "react-aria-MenuSection") {- let i = (0, b.useContext)(_A), { CollectionBranch: a } = (0, b.useContext)(Ik), [o, s] = Ak(), { headingProps: c, groupProps: l } = woe({+function yA(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, b.useContext)(gA), { CollectionBranch: a } = (0, b.useContext)(Fk), [o, s] = kk(), { headingProps: c, groupProps: l } = woe({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = Dk({+ }), u = Ek({...e,id: void 0,children: void 0,@@ -36153,31 +36169,31 @@ function bA(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, b.useContext)(yA), f = Qk(e), p = e.selectionMode == null ? d : new dhe(d, f), m = Ok(SA)?.shouldCloseOnSelect, h = $v(e, { global: !0 });- return delete h.id, /*#__PURE__*/ b.createElement(Mk.section, {+ }), d = (0, b.useContext)(vA), f = Zk(e), p = e.selectionMode == null ? d : new phe(d, f), m = Dk(xA)?.shouldCloseOnSelect, h = $v(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ b.createElement(jk.section, {...U(h, u, l),ref: t- }, /*#__PURE__*/ b.createElement(Ek, { values: [- [Rme, {+ }, /*#__PURE__*/ b.createElement(Tk, { values: [+ [Bme, {...c,ref: o}],- [yA, p],- [SA, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [vA, p],+ [xA, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ b.createElement(a, {collection: i.collection,parent: n})));}-var xA = /*#__PURE__*/ kv(pre, bA), SA = /*#__PURE__*/ (0, b.createContext)(null), CA = /*#__PURE__*/ Ov(fre, function(e, t, n) {- [e, t] = kk(e, t, SA);- let r = Ok(SA)?.id, i = (0, b.useContext)(_A), a = hv(t), o = (0, b.useContext)(yA), { isVirtualized: s } = (0, b.useContext)(Ik), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Coe({+var bA = /*#__PURE__*/ kv(pre, yA), xA = /*#__PURE__*/ (0, b.createContext)(null), SA = /*#__PURE__*/ Ov(fre, function(e, t, n) {+ [e, t] = Ok(e, t, xA);+ let r = Dk(xA)?.id, i = (0, b.useContext)(gA), a = hv(t), o = (0, b.useContext)(vA), { isVirtualized: s } = (0, b.useContext)(Fk), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Coe({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = Px({ isDisabled: f.isDisabled }), h = Dk({+ }, i, a), { hoverProps: p, isHovered: m } = Px({ isDisabled: f.isDisabled }), h = Ek({...e,id: void 0,children: n.rendered,@@ -36191,7 +36207,7 @@ var xA = /*#__PURE__*/ kv(pre, bA), SA = /*#__PURE__*/ (0, b.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? Mk.a : Mk.div, _ = $v(e, { global: !0 });+ }), g = e.href ? jk.a : jk.div, _ = $v(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(g, {...U(_, h, c, p),ref: a,@@ -36204,19 +36220,19 @@ var xA = /*#__PURE__*/ kv(pre, bA), SA = /*#__PURE__*/ (0, b.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__*/ b.createElement(Ek, { values: [- [Bk, { slots: {- [Tk]: l,+ }, /*#__PURE__*/ b.createElement(Tk, { values: [+ [zk, { slots: {+ [wk]: l,label: l,description: u} }],- [rhe, d],- [Jk, { isSelected: f.isSelected }]+ [ahe, d],+ [qk, { isSelected: f.isSelected }]] }, h.children));});Ov(u_, function(e, t, n) {- let r = (0, b.useContext)(_A), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);- iA((0, b.useMemo)(() => ({+ let r = (0, b.useContext)(gA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);+ rA((0, b.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -36226,7 +36242,7 @@ Ov(u_, function(e, t, n) {o,r?.collection]), c);- let l = Dk({+ let l = Ek({...s,id: void 0,children: n.rendered,@@ -36239,7 +36255,7 @@ Ov(u_, function(e, t, n) {width: 0,height: 0},- inert: Xk(!0)+ inert: Yk(!0)}, /*#__PURE__*/ b.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -36248,7 +36264,7 @@ Ov(u_, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Mk.div, {+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(jk.div, {...U($v(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",@@ -36257,56 +36273,56 @@ Ov(u_, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/Dialog.mjs-var fhe = /*#__PURE__*/ (0, b.createContext)(null), wA = /*#__PURE__*/ (0, b.createContext)(null), TA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+var mhe = /*#__PURE__*/ (0, b.createContext)(null), CA = /*#__PURE__*/ (0, b.createContext)(null), wA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = kk(e, t, fhe);+ [e, t] = Ok(e, t, mhe);let { dialogProps: r, titleProps: i, contentProps: a } = coe({...e,"aria-labelledby": n- }, t), o = (0, b.useContext)(wA);+ }, t), o = (0, b.useContext)(CA);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = Dk({+ let s = Ek({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }}), c = $v(e, { global: !0 });- return /*#__PURE__*/ b.createElement(Mk.section, {+ return /*#__PURE__*/ b.createElement(jk.section, {...U(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ b.createElement(Ek, { values: [- [Hpe, { slots: {- [Tk]: {},+ }, /*#__PURE__*/ b.createElement(Tk, { values: [+ [Wpe, { slots: {+ [wk]: {},title: {...i,level: 2}} }],- [Bk, { slots: {- [Tk]: {},+ [zk, { slots: {+ [wk]: {},description: a} }],- [Rk, { slots: {- [Tk]: {},+ [Lk, { slots: {+ [wk]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), EA = typeof document < "u" && window.visualViewport;-function phe() {+}), TA = typeof document < "u" && window.visualViewport;+function hhe() {let e = H_(), [t, n] = (0, b.useState)(() => e ? {width: 0,height: 0- } : DA());+ } : EA());return (0, b.useEffect)(() => {let e = (e) => {n((t) => e.width === t.width && e.height === t.height ? t : e);}, t = () => {- EA && EA.scale > 1 || e(DA());+ TA && TA.scale > 1 || e(EA());}, r, i = (t) => {- EA && EA.scale > 1 || Iv(C_(t)) && (r = requestAnimationFrame(() => {+ TA && TA.scale > 1 || Iv(C_(t)) && (r = requestAnimationFrame(() => {let t = S_();(!t || !Iv(t)) && e({width: document.documentElement.clientWidth,@@ -36314,26 +36330,26 @@ function phe() {});}));};- return e(DA()), F_() && I_() && window.addEventListener("blur", i, !0), EA ? EA.addEventListener("resize", t) : window.addEventListener("resize", t), () => {- cancelAnimationFrame(r), F_() && I_() && window.removeEventListener("blur", i, !0), EA ? EA.removeEventListener("resize", t) : window.removeEventListener("resize", t);+ return e(EA()), F_() && I_() && window.addEventListener("blur", i, !0), TA ? TA.addEventListener("resize", t) : window.addEventListener("resize", t), () => {+ cancelAnimationFrame(r), F_() && I_() && window.removeEventListener("blur", i, !0), TA ? TA.removeEventListener("resize", t) : window.removeEventListener("resize", t);};}, []), t;}-function DA() {+function EA() {return {- width: EA ? Math.min(EA.width * EA.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: EA ? EA.height * EA.scale : document.documentElement.clientHeight+ width: TA ? Math.min(TA.width * TA.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: TA ? TA.height * TA.scale : document.documentElement.clientHeight};}//#endregion//#region node_modules/react-aria-components/dist/private/Modal.mjs-var mhe = /*#__PURE__*/ (0, b.createContext)(null), OA = /*#__PURE__*/ (0, b.createContext)(null), hhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- if ((0, b.useContext)(OA)) return /*#__PURE__*/ b.createElement(AA, {+var ghe = /*#__PURE__*/ (0, b.createContext)(null), DA = /*#__PURE__*/ (0, b.createContext)(null), _he = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ if ((0, b.useContext)(DA)) return /*#__PURE__*/ b.createElement(kA, {...e,modalRef: t}, e.children);let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;- return /*#__PURE__*/ b.createElement(kA, {+ return /*#__PURE__*/ b.createElement(OA, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -36343,15 +36359,15 @@ var mhe = /*#__PURE__*/ (0, b.createContext)(null), OA = /*#__PURE__*/ (0, b.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ b.createElement(AA, {+ }, /*#__PURE__*/ b.createElement(kA, {...f,modalRef: t}, s));});-function ghe(e, t) {- [e, t] = kk(e, t, mhe);- let n = (0, b.useContext)(wA), r = cA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = hv(t), o = (0, b.useRef)(null), s = uA(a, i.isOpen), c = uA(o, i.isOpen), l = s || c || e.isExiting || !1, u = H_();- return !i.isOpen && !l || u ? null : /*#__PURE__*/ b.createElement(_he, {+function vhe(e, t) {+ [e, t] = Ok(e, t, ghe);+ let n = (0, b.useContext)(CA), r = sA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = hv(t), o = (0, b.useRef)(null), s = lA(a, i.isOpen), c = lA(o, i.isOpen), l = s || c || e.isExiting || !1, u = H_();+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ b.createElement(yhe, {...e,state: i,isExiting: l,@@ -36359,9 +36375,9 @@ function ghe(e, t) {modalRef: o});}-var kA = /*#__PURE__*/ (0, b.forwardRef)(ghe);-function _he({ UNSTABLE_portalContainer: e, ...t }) {- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = koe(t, r, n), o = lA(t.overlayRef) || t.isEntering || !1, s = Dk({+var OA = /*#__PURE__*/ (0, b.forwardRef)(vhe);+function yhe({ UNSTABLE_portalContainer: e, ...t }) {+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = koe(t, r, n), o = cA(t.overlayRef) || t.isEntering || !1, s = Ek({...t,defaultClassName: "react-aria-ModalOverlay",values: {@@ -36369,7 +36385,7 @@ function _he({ UNSTABLE_portalContainer: e, ...t }) {isExiting: t.isExiting,state: r}- }), c = phe(), l, u;+ }), c = hhe(), l, u;if (typeof document < "u") {let e = Vy(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;@@ -36384,22 +36400,22 @@ function _he({ UNSTABLE_portalContainer: e, ...t }) {return /*#__PURE__*/ b.createElement(Ox, {isExiting: t.isExiting,portalContainer: e- }, /*#__PURE__*/ b.createElement(Mk.div, {+ }, /*#__PURE__*/ b.createElement(jk.div, {...U($v(t, { global: !0 }), a),...s,style: d,ref: t.overlayRef,"data-entering": o || void 0,"data-exiting": t.isExiting || void 0- }, /*#__PURE__*/ b.createElement(Ek, { values: [[OA, {+ }, /*#__PURE__*/ b.createElement(Tk, { values: [[DA, {modalProps: i,modalRef: n,isExiting: t.isExiting,isDismissable: t.isDismissable- }], [wA, r]] }, s.children)));+ }], [CA, r]] }, s.children)));}-function AA(e) {- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, b.useContext)(OA), a = (0, b.useContext)(wA), o = hv((0, b.useMemo)(() => uv(e.modalRef, n), [e.modalRef, n])), s = lA(o), c = Dk({+function kA(e) {+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, b.useContext)(DA), a = (0, b.useContext)(CA), o = hv((0, b.useMemo)(() => uv(e.modalRef, n), [e.modalRef, n])), s = cA(o), c = Ek({...e,defaultClassName: "react-aria-Modal",values: {@@ -36408,7 +36424,7 @@ function AA(e) {state: a}});- return /*#__PURE__*/ b.createElement(Mk.div, {+ return /*#__PURE__*/ b.createElement(jk.div, {...U($v(e, { global: !0 }), t),...c,ref: o,@@ -36418,9 +36434,9 @@ function AA(e) {}//#endregion//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var vhe = Math.round(Math.random() * 1e10), yhe = 0;-function bhe(e) {- let t = (0, b.useMemo)(() => e.name || `radio-group-${vhe}-${++yhe}`, [e.name]), [n, r] = ub(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, b.useState)(n), [a, o] = (0, b.useState)(null), s = tb({+var bhe = Math.round(Math.random() * 1e10), xhe = 0;+function She(e) {+ let t = (0, b.useMemo)(() => e.name || `radio-group-${bhe}-${++xhe}`, [e.name]), [n, r] = ub(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, b.useState)(n), [a, o] = (0, b.useState)(null), s = tb({...e,value: n}), c = (t) => {@@ -36443,16 +36459,16 @@ function bhe(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs-var xhe = /*#__PURE__*/ (0, b.createContext)(null), She = /*#__PURE__*/ (0, b.createContext)(null), jA = /*#__PURE__*/ (0, b.createContext)(null), MA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = kk(e, t, xhe);- let { validationBehavior: n } = Ok(Hk) || {}, r = e.validationBehavior ?? n ?? "native", i = bhe({+var Che = /*#__PURE__*/ (0, b.createContext)(null), whe = /*#__PURE__*/ (0, b.createContext)(null), AA = /*#__PURE__*/ (0, b.createContext)(null), jA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = Ok(e, t, Che);+ let { validationBehavior: n } = Dk(Vk) || {}, r = e.validationBehavior ?? n ?? "native", i = She({...e,validationBehavior: r- }), [a, o] = Ak(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Uoe({+ }), [a, o] = kk(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Uoe({...e,label: o,validationBehavior: r- }, i), f = Dk({+ }, i), f = Ek({...e,values: {orientation: e.orientation || "vertical",@@ -36464,7 +36480,7 @@ var xhe = /*#__PURE__*/ (0, b.createContext)(null), She = /*#__PURE__*/ (0, b.cr},defaultClassName: "react-aria-RadioGroup"}), p = $v(e, { global: !0 });- return /*#__PURE__*/ b.createElement(Mk.div, {+ return /*#__PURE__*/ b.createElement(jk.div, {...U(p, f, s),ref: t,slot: e.slot || void 0,@@ -36473,39 +36489,39 @@ var xhe = /*#__PURE__*/ (0, b.createContext)(null), She = /*#__PURE__*/ (0, b.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ b.createElement(Ek, { values: [- [jA, i],- [Lk, {+ }, /*#__PURE__*/ b.createElement(Tk, { values: [+ [AA, i],+ [Ik, {...c,ref: a,elementType: "span"}],- [Bk, { slots: {+ [zk, { slots: {description: l,errorMessage: u} }],- [Vk, d]- ] }, /*#__PURE__*/ b.createElement(qk, null, f.children)));-}), NA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [Bk, d]+ ] }, /*#__PURE__*/ b.createElement(Kk, null, f.children)));+}), MA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = kk(r, t, She);- let i = b.useContext(jA), a = hv((0, b.useMemo)(() => uv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Hoe({- ...jk(e),+ [e, t] = Ok(r, t, whe);+ let i = b.useContext(AA), a = hv((0, b.useMemo)(() => uv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Hoe({+ ...Ak(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ b.createElement(PA.Provider, { value: {+ return /*#__PURE__*/ b.createElement(NA.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ b.createElement(Che, {+ } }, /*#__PURE__*/ b.createElement(The, {...e,ref: t}));-}), PA = /*#__PURE__*/ (0, b.createContext)(null), Che = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, b.useContext)(PA), l = b.useContext(jA), { isFocused: u, isFocusVisible: d, focusProps: f } = Ax(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Px({+}), NA = /*#__PURE__*/ (0, b.createContext)(null), The = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, b.useContext)(NA), l = b.useContext(AA), { isFocused: u, isFocusVisible: d, focusProps: f } = Ax(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Px({...e,isDisabled: p- }), g = Dk({+ }), g = Ek({...e,defaultClassName: s,values: {@@ -36520,7 +36536,7 @@ var xhe = /*#__PURE__*/ (0, b.createContext)(null), She = /*#__PURE__*/ (0, b.crisRequired: l.isRequired}}), _ = $v(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(Mk.label, {+ return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(jk.label, {...U(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -36539,8 +36555,8 @@ var xhe = /*#__PURE__*/ (0, b.createContext)(null), She = /*#__PURE__*/ (0, b.cr});//#endregion//#region node_modules/react-stately/dist/private/select/useSelectState.mjs-function whe(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = cA(e), [i, a] = (0, b.useState)(null), o = (0, b.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function Ehe(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = sA(e), [i, a] = (0, b.useState)(null), o = (0, b.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t@@ -36556,12 +36572,12 @@ function whe(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = nA({+ }, d = tA({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, b.useMemo)(() => The(l), [l]),+ selectedKeys: (0, b.useMemo)(() => Dhe(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -36598,16 +36614,16 @@ function whe(e) {setFocused: g};}-function The(e) {+function Dhe(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 Ehe(e) {+function Ohe(e) {return e && e.__esModule ? e.default : e;}-var FA = /*#__PURE__*/ (0, b.createContext)(null), IA = /*#__PURE__*/ (0, b.createContext)(null), Dhe = /*#__PURE__*/ bv(function(e, t) {- [e, t] = kk(e, t, FA);+var PA = /*#__PURE__*/ (0, b.createContext)(null), FA = /*#__PURE__*/ (0, b.createContext)(null), khe = /*#__PURE__*/ bv(function(e, t) {+ [e, t] = Ok(e, t, PA);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, b.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -36622,24 +36638,24 @@ var FA = /*#__PURE__*/ (0, b.createContext)(null), IA = /*#__PURE__*/ (0, b.creai,a]);- return /*#__PURE__*/ b.createElement(Tv, { content: o }, (n) => /*#__PURE__*/ b.createElement(khe, {+ return /*#__PURE__*/ b.createElement(Tv, { content: o }, (n) => /*#__PURE__*/ b.createElement(jhe, {props: e,collection: n,selectRef: t}));-}), Ohe = [+}), Ahe = [+ Ik,Lk,- Rk,- Bk+ zk];-function khe({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = Ok(Hk) || {}, i = e.validationBehavior ?? r ?? "native", a = whe({+function jhe({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = Dk(Vk) || {}, i = e.validationBehavior ?? r ?? "native", a = Ehe({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = Ax({ within: !0 }), c = (0, b.useRef)(null), [l, u] = Ak(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Woe({- ...jk(e),+ }), { isFocusVisible: o, focusProps: s } = Ax({ within: !0 }), c = (0, b.useRef)(null), [l, u] = kk(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Woe({+ ...Ak(e),label: u,validationBehavior: i}, a, c), y = (0, b.useMemo)(() => ({@@ -36656,48 +36672,48 @@ function khe({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), x = Dk({+ ]), x = Ek({...e,values: y,defaultClassName: "react-aria-Select"}), S = $v(e, { global: !0 });delete S.id;let C = (0, b.useRef)(null);- return /*#__PURE__*/ b.createElement(Ek, { values: [- [FA, e],- [IA, a],- [LA, p],- [Lk, {+ return /*#__PURE__*/ b.createElement(Tk, { values: [+ [PA, e],+ [FA, a],+ [IA, p],+ [Ik, {...d,ref: l,elementType: "span"}],- [Rk, {+ [Lk, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [wA, a],- [fA, {+ [CA, a],+ [dA, {trigger: "Select",triggerRef: c,scrollRef: C,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: Ohe+ clearContexts: Ahe}],- [aA, {+ [iA, {...m,ref: C}],- [oA, a],- [Bk, { slots: {+ [aA, a],+ [zk, { slots: {description: h,errorMessage: g} }],- [Vk, v]- ] }, /*#__PURE__*/ b.createElement(Mk.div, {+ [Bk, v]+ ] }, /*#__PURE__*/ b.createElement(jk.div, {...U(S, x, s),ref: t,slot: e.slot || void 0,@@ -36712,9 +36728,9 @@ function khe({ props: e, selectRef: t, collection: n }) {autoComplete: e.autoComplete})));}-for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Ahe = /*#__PURE__*/ bv(function(e, t) {- [e, t] = kk(e, t, LA);- let n = (0, b.useContext)(IA), { placeholder: r } = Ok(FA), i = n.selectedItems.map((e) => {+for (var IA = /*#__PURE__*/ (0, b.createContext)(null), Mhe = /*#__PURE__*/ bv(function(e, t) {+ [e, t] = Ok(e, t, IA);+ let n = (0, b.useContext)(FA), { placeholder: r } = Dk(PA), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -36741,7 +36757,7 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Ahe = /*#__PURE__*/ bv(fa,o,i- ]), u = Zv(Ehe(Fme), "react-aria-components"), d = Dk({+ ]), u = Zv(Ohe(Lme), "react-aria-components"), d = Ek({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -36753,32 +36769,32 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Ahe = /*#__PURE__*/ bv(fstate: n}}), f = $v(e, { global: !0 });- return /*#__PURE__*/ b.createElement(Mk.span, {+ return /*#__PURE__*/ b.createElement(jk.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ b.createElement(Bk.Provider, { value: void 0 }, d.children));-}), jhe = /*#__PURE__*/ (0, b.createContext)(null), RA = /*#__PURE__*/ (0, b.createContext)(null), Mhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ b.createElement(zk.Provider, { value: void 0 }, d.children));+}), Nhe = /*#__PURE__*/ (0, b.createContext)(null), LA = /*#__PURE__*/ (0, b.createContext)(null), Phe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = kk(r, t, jhe);+ [e, t] = Ok(r, t, Nhe);let i = hv((0, b.useMemo)(() => uv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = db(e), o = Joe({- ...jk(e),+ ...Ak(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ b.createElement(Ek, { values: [[RA, a], [zA, {+ return /*#__PURE__*/ b.createElement(Tk, { values: [[LA, a], [RA, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ b.createElement(Nhe, {+ }]] }, /*#__PURE__*/ b.createElement(Fhe, {...e,ref: t}));-}), zA = /*#__PURE__*/ (0, b.createContext)(null), Nhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, b.useContext)(zA), { isFocused: f, isFocusVisible: p, focusProps: m } = Ax(), h = a || o, g = (0, b.useContext)(RA), { hoverProps: _, isHovered: v } = Px({+}), RA = /*#__PURE__*/ (0, b.createContext)(null), Fhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, b.useContext)(RA), { isFocused: f, isFocusVisible: p, focusProps: m } = Ax(), h = a || o, g = (0, b.useContext)(LA), { hoverProps: _, isHovered: v } = Px({...e,isDisabled: h- }), y = Dk({+ }), y = Ek({...e,defaultClassName: u,values: {@@ -36794,7 +36810,7 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Ahe = /*#__PURE__*/ bv(fstate: g}}), x = $v(e, { global: !0 });- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(Mk.label, {+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(jk.label, {...U(x, n, _, y),ref: t,slot: e.slot || void 0,@@ -36811,7 +36827,7 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Ahe = /*#__PURE__*/ bv(f...U(r, m),ref: l})), y.children);-}), BA = 10, VA = 5, Phe = class {+}), zA = 10, BA = 5, Ihe = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -36821,7 +36837,7 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Ahe = /*#__PURE__*/ bv(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) > VA && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > BA && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > BA && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > zA && (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);@@ -36900,11 +36916,11 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Ahe = /*#__PURE__*/ bv(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > VA && i) {+ if (Math.abs(r - c.lastSwitchY) > BA && 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 > BA && a) {+ if (l > zA && 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;}@@ -36919,7 +36935,7 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Ahe = /*#__PURE__*/ bv(fboundaryContext: null};}-}, Fhe = class {+}, Lhe = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -36989,8 +37005,8 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Ahe = /*#__PURE__*/ bv(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, HA = "row-header-column-" + Math.random().toString(36).slice(2), UA = "row-header-column-" + Math.random().toString(36).slice(2); HA === UA;) UA = "row-header-column-" + Math.random().toString(36).slice(2);-function WA(e, t) {+}, VA = "row-header-column-" + Math.random().toString(36).slice(2), HA = "row-header-column-" + Math.random().toString(36).slice(2); VA === HA;) HA = "row-header-column-" + Math.random().toString(36).slice(2);+function UA(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -37074,13 +37090,13 @@ function WA(e, t) {textValue: ""}));}-var Ihe = class extends Fhe {+var Rhe = class extends Lhe {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: HA,+ key: VA,value: null,textValue: "",level: 0,@@ -37095,7 +37111,7 @@ var Ihe = class extends Fhe {if (n?.showDragButtons) {let e = {type: "column",- key: UA,+ key: HA,value: null,textValue: "",level: 0,@@ -37122,7 +37138,7 @@ var Ihe = class extends Fhe {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = WA(s, a);+ let l = UA(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -37183,8 +37199,8 @@ var Ihe = class extends Fhe {};//#endregion//#region node_modules/react-stately/dist/private/grid/useGridState.mjs-function Lhe(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || Qk(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function zhe(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || Zk(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;r.setFocusedKey = (e, r) => {if (n === "cell" && e != null) {let n = t.getItem(e);@@ -37195,7 +37211,7 @@ function Lhe(e) {}a(e, r);};- let o = (0, b.useMemo)(() => new $k(t, r), [t, r]), s = (0, b.useRef)(null);+ let o = (0, b.useMemo)(() => new Qk(t, r), [t, r]), s = (0, b.useRef)(null);return (0, b.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;@@ -37234,11 +37250,11 @@ function Lhe(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/useTableState.mjs-var Rhe = {+var Bhe = {ascending: "descending",descending: "ascending"};-function zhe(e) {+function Vhe(e) {let [t, n] = (0, b.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, b.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -37249,7 +37265,7 @@ function zhe(e) {i,r,a- ]), c = tA(e, (0, b.useCallback)((e) => new Ihe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Lhe({+ ]), c = eA(e, (0, b.useCallback)((e) => new Rhe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = zhe({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"@@ -37265,7 +37281,7 @@ function zhe(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? Rhe[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? Bhe[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -37278,7 +37294,7 @@ function zhe(e) {treeColumn: o};}-function Bhe(e, t) {+function Hhe(e, t) {let n = (0, b.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -37288,7 +37304,7 @@ function Bhe(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Table.mjs-var Vhe = class extends mre {+var Uhe = class extends mre {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -37303,7 +37319,7 @@ var Vhe = class extends mre {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new ZA(-2);+ return new XA(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -37329,7 +37345,7 @@ var Vhe = class extends mre {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = WA(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 = UA(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;@@ -37410,11 +37426,11 @@ var Vhe = class extends mre {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new JA(-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 qA(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, Hhe = /*#__PURE__*/ (0, b.createContext)(null), Uhe = /*#__PURE__*/ (0, b.createContext)(null), GA = /*#__PURE__*/ (0, b.createContext)(null), KA = /*#__PURE__*/ (0, b.createContext)(null), Whe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = kk(e, t, Uhe);- let n = Qk(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, b.useMemo)(() => ({+}, Whe = /*#__PURE__*/ (0, b.createContext)(null), Ghe = /*#__PURE__*/ (0, b.createContext)(null), WA = /*#__PURE__*/ (0, b.createContext)(null), GA = /*#__PURE__*/ (0, b.createContext)(null), Khe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = Ok(e, t, Ghe);+ let n = Zk(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, b.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -37424,26 +37440,26 @@ var Vhe = class extends mre {i,a,o- ]), c = /*#__PURE__*/ b.createElement(qhe.Provider, { value: s }, /*#__PURE__*/ b.createElement(Mv, e));+ ]), c = /*#__PURE__*/ b.createElement(Yhe.Provider, { value: s }, /*#__PURE__*/ b.createElement(Mv, e));return /*#__PURE__*/ b.createElement(Tv, {content: c,- createCollection: () => new Vhe()- }, (r) => /*#__PURE__*/ b.createElement(Khe, {+ createCollection: () => new Uhe()+ }, (r) => /*#__PURE__*/ b.createElement(Jhe, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), Ghe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(Ik);- return n ? /*#__PURE__*/ b.createElement(Mk.div, {+}), qhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, b.useContext)(Fk);+ return n ? /*#__PURE__*/ b.createElement(jk.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(Mk.table, {+ }) : /*#__PURE__*/ b.createElement(jk.table, {...e,ref: t});-}), qA = {+}), KA = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -37453,26 +37469,26 @@ var Vhe = class extends mre {rtl: "ArrowRight"}};-function Khe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = kk(e, t, Nk);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(Hhe);+function Jhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = Ok(e, t, Mk);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(Whe);t = hv((0, b.useMemo)(() => uv(t, c?.tableRef), [t, c?.tableRef]));let [l, u] = ub(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, b.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = zhe({+ let d = Vhe({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = Bhe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(Ik), { dragAndDropHooks: _ } = e, { gridProps: v } = ese({+ }), f = Hhe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(Fk), { dragAndDropHooks: _ } = e, { gridProps: v } = ese({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, x = !!_?.useDraggableCollectionState, S = !!_?.useDroppableCollectionState;(0, b.useRef)(x), (0, b.useRef)(S), (0, b.useEffect)(() => {}, [x, S]);- let C, w, T, E = !1, D = null, O = (0, b.useRef)(null), { direction: k } = Gv(), [A] = (0, b.useState)(() => new Phe());+ let C, w, T, E = !1, D = null, O = (0, b.useRef)(null), { direction: k } = Gv(), [A] = (0, b.useState)(() => new Ihe());if (x && _) {C = _.useDraggableCollectionState({collection: f.collection,@@ -37507,12 +37523,12 @@ function Khe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {let t = w?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = d.collection.getItem(t.key);- (e.key === qA.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === qA.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === KA.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === KA.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);}}}, w, t), E = w.isDropTarget({ type: "root" });}- let { focusProps: j, isFocused: M, isFocusVisible: N } = Ax(), P = Dk({+ let { focusProps: j, isFocused: M, isFocusVisible: N } = Ax(), P = Ek({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -37529,18 +37545,18 @@ function Khe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {width: "min-content"}));let ne = $v(e, { global: !0 });- return /*#__PURE__*/ b.createElement(Ek, { values: [- [GA, f],- [KA, te],- [Wk, {+ return /*#__PURE__*/ b.createElement(Tk, { values: [+ [WA, f],+ [GA, te],+ [Uk, {dragAndDropHooks: _,dragState: C,dropState: w}],- [Gk, { render: rge }],- [Nk, null],- [Pk, null]- ] }, /*#__PURE__*/ b.createElement(Sy, null, /*#__PURE__*/ b.createElement(Ghe, {+ [Wk, { render: age }],+ [Mk, null],+ [Nk, null]+ ] }, /*#__PURE__*/ b.createElement(Sy, null, /*#__PURE__*/ b.createElement(qhe, {...U(ne, P, v, j, T?.collectionProps),style: F,ref: t,@@ -37550,31 +37566,31 @@ function Khe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {"data-drop-target": E || void 0,"data-focused": M || void 0,"data-focus-visible": N || void 0- }, /*#__PURE__*/ b.createElement(qk, null, /*#__PURE__*/ b.createElement(g, {+ }, /*#__PURE__*/ b.createElement(Kk, null, /*#__PURE__*/ b.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: Lme(y, _, w)+ persistedKeys: zme(y, _, w)})))), D);}-var qhe = /*#__PURE__*/ (0, b.createContext)(null), JA = class extends c_ {+var Yhe = /*#__PURE__*/ (0, b.createContext)(null), qA = class extends c_ {static {this.type = "tableheader";}-}, Jhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(Ik);- return n ? /*#__PURE__*/ b.createElement(Mk.div, {+}, Xhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, b.useContext)(Fk);+ return n ? /*#__PURE__*/ b.createElement(jk.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(Mk.thead, {+ }) : /*#__PURE__*/ b.createElement(jk.thead, {...e,ref: t});-}), YA = /*#__PURE__*/ kv(JA, (e, t) => {- let n = (0, b.useContext)(GA).collection, r = f_({+}), JA = /*#__PURE__*/ kv(qA, (e, t) => {+ let n = (0, b.useContext)(WA).collection, r = f_({items: n.headerRows,children: (0, b.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ b.createElement(Xhe, { item: e });+ case "headerrow": return /*#__PURE__*/ b.createElement(Qhe, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])@@ -37582,13 +37598,13 @@ var qhe = /*#__PURE__*/ (0, b.createContext)(null), JA = class extends c_ {onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = Dk({+ }), s = Ek({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ b.createElement(Jhe, {+ return /*#__PURE__*/ b.createElement(Xhe, {...U($v(e, { global: !0 }), i, a),...s,ref: t,@@ -37597,8 +37613,8 @@ var qhe = /*#__PURE__*/ (0, b.createContext)(null), JA = class extends c_ {}, (e) => /*#__PURE__*/ b.createElement(Mv, {dependencies: e.dependencies,items: e.columns-}, e.children)), Yhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(Ik);+}, e.children)), Zhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, b.useContext)(Fk);return n ? /*#__PURE__*/ b.createElement("div", {...e,ref: t@@ -37607,41 +37623,41 @@ var qhe = /*#__PURE__*/ (0, b.createContext)(null), JA = class extends c_ {ref: t});});-function Xhe({ item: e }) {- let t = (0, b.useRef)(null), n = (0, b.useContext)(GA), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(Ik), { rowProps: a } = ise({+function Qhe({ item: e }) {+ let t = (0, b.useRef)(null), n = (0, b.useContext)(WA), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(Fk), { rowProps: a } = ise({node: e,isVirtualized: r}, n, t), { checkboxProps: o } = dse(n);- return /*#__PURE__*/ b.createElement(Yhe, {+ return /*#__PURE__*/ b.createElement(Zhe, {...a,ref: t- }, /*#__PURE__*/ b.createElement(Ek, { values: [[Uk, { slots: { selection: o } }], [Wpe, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {+ }, /*#__PURE__*/ b.createElement(Tk, { values: [[Hk, { slots: { selection: o } }], [Kpe, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {collection: n.collection,parent: e})));}-var Zhe = class extends c_ {+var $he = class extends c_ {static {this.type = "column";}-}, Qhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(Ik);- return n ? /*#__PURE__*/ b.createElement(Mk.div, {+}, ege = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, b.useContext)(Fk);+ return n ? /*#__PURE__*/ b.createElement(jk.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(Mk.th, {+ }) : /*#__PURE__*/ b.createElement(jk.th, {...e,ref: t});-}), XA = /*#__PURE__*/ Ov(Zhe, (e, t, n) => {- let r = hv(t), i = (0, b.useContext)(GA), { isVirtualized: a } = (0, b.useContext)(Ik), { columnHeaderProps: o, isPressed: s } = rse({+}), YA = /*#__PURE__*/ Ov($he, (e, t, n) => {+ let r = hv(t), i = (0, b.useContext)(WA), { isVirtualized: a } = (0, b.useContext)(Fk), { columnHeaderProps: o, isPressed: s } = rse({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Ax(), d = (0, b.useContext)(KA), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Ax(), d = (0, b.useContext)(GA), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = Px({ isDisabled: !e.allowsSorting }), h = Dk({+ let { hoverProps: p, isHovered: m } = Px({ isDisabled: !e.allowsSorting }), h = Ek({...e,id: void 0,children: n.rendered,@@ -37668,7 +37684,7 @@ var Zhe = class extends c_ {width: d.getColumnWidth(n.key)});let _ = $v(e, { global: !0 });- return delete _.id, /*#__PURE__*/ b.createElement(Qhe, {+ return delete _.id, /*#__PURE__*/ b.createElement(ege, {...U(_, o, u, p),...h,style: g,@@ -37680,28 +37696,28 @@ var Zhe = class extends c_ {"data-resizing": f || void 0,"data-allows-sorting": n.props.allowsSorting || void 0,"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0- }, /*#__PURE__*/ b.createElement(Ek, { values: [[$he, {+ }, /*#__PURE__*/ b.createElement(Tk, { values: [[tge, {column: n,triggerRef: r- }], [Ik, Fk]] }, h.children));-}), $he = /*#__PURE__*/ (0, b.createContext)(null), ZA = class extends l_ {+ }], [Fk, Pk]] }, h.children));+}), tge = /*#__PURE__*/ (0, b.createContext)(null), XA = class extends l_ {static {this.type = "tablebody";}-}, ege = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(Ik);- return n ? /*#__PURE__*/ b.createElement(Mk.div, {+}, nge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, b.useContext)(Fk);+ return n ? /*#__PURE__*/ b.createElement(jk.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(Mk.tbody, {+ }) : /*#__PURE__*/ b.createElement(jk.tbody, {...e,ref: t});-}), QA = /*#__PURE__*/ kv(ZA, (e, t, n) => {- let r = (0, b.useContext)(GA), { isVirtualized: i } = (0, b.useContext)(Ik), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(Ik), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(Wk), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), ZA = /*#__PURE__*/ kv(XA, (e, t, n) => {+ let r = (0, b.useContext)(WA), { isVirtualized: i } = (0, b.useContext)(Fk), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(Fk), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(Uk), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = Dk({+ }, p = Ek({...e,id: void 0,children: void 0,@@ -37710,25 +37726,25 @@ var Zhe = class extends c_ {}), m, h = a.columnCount;if (d && e.renderEmptyState && r) {let t = {}, n = {}, r = {};- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ b.createElement(ej, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ b.createElement($A, {role: "row",...t,style: r- }, /*#__PURE__*/ b.createElement(nj, {+ }, /*#__PURE__*/ b.createElement(tj, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}let { rowGroupProps: g } = Cw(), _ = $v(e, { global: !0 });- return /*#__PURE__*/ b.createElement(ege, {+ return /*#__PURE__*/ b.createElement(nge, {...U(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ b.createElement(cge, null), /*#__PURE__*/ b.createElement(o, {+ }, l && /*#__PURE__*/ b.createElement(uge, null), /*#__PURE__*/ b.createElement(o, {collection: a,parent: n,- renderDropIndicator: Kk(s, c)+ renderDropIndicator: Gk(s, c)}), m);});(class extends l_ {@@ -37736,7 +37752,7 @@ var Zhe = class extends c_ {this.type = "tablefooter";}});-var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), tge = class extends c_ {+var QA = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), rge = class extends c_ {static {this.type = "item";}@@ -37748,17 +37764,17 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), tg}return null;}-}, ej = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(Ik);- return n ? /*#__PURE__*/ b.createElement(Mk.div, {+}, $A = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, b.useContext)(Fk);+ return n ? /*#__PURE__*/ b.createElement(jk.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(Mk.tr, {+ }) : /*#__PURE__*/ b.createElement(jk.tr, {...e,ref: t});-}), tj = /*#__PURE__*/ kv(tge, (e, t, n) => {- let r = hv(t), i = (0, b.useContext)(GA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(Wk), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(Ik), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = sse({+}), ej = /*#__PURE__*/ kv(rge, (e, t, n) => {+ let r = hv(t), i = (0, b.useContext)(WA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(Uk), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(Fk), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = sse({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c@@ -37782,7 +37798,7 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), tg(0, b.useEffect)(() => {o && D.current;}, []);- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = Dk({+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = Ek({...A,id: void 0,defaultClassName: "react-aria-Row",@@ -37804,10 +37820,10 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), tglevel: n.level + 1}}), P = $v(e, { global: !0 });- return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement(ej, {+ return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement($A, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ b.createElement(nj, {+ }, /*#__PURE__*/ b.createElement(tj, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -37816,7 +37832,7 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), tg...E,...w.dropIndicatorProps,ref: T- }))), /*#__PURE__*/ b.createElement(ej, {+ }))), /*#__PURE__*/ b.createElement($A, {...U(P, N, d, g, y, C?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,@@ -37832,17 +37848,17 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), tg"data-expanded": M || void 0,"data-has-child-items": j || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ b.createElement(Ek, { values: [- [Uk, { slots: {- [Tk]: {},+ }, /*#__PURE__*/ b.createElement(Tk, { values: [+ [Hk, { slots: {+ [wk]: {},selection: S} }],- [Wpe, { slots: {- [Tk]: {},+ [Kpe, { slots: {+ [wk]: {},selection: S} }],- [Rk, { slots: {- [Tk]: {},+ [Lk, { slots: {+ [wk]: {},chevron: f,drag: {...C?.dragButtonProps,@@ -37850,8 +37866,8 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), tgstyle: { pointerEvents: "none" }}} }],- [Jk, { isSelected: p.isSelected }],- [$A, { isFocusVisibleWithinRow: _ }]+ [qk, { isSelected: p.isSelected }],+ [QA, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ b.createElement(l, {collection: i.collection,parent: n@@ -37864,21 +37880,21 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), tgitems: e.columns,idScope: e.id}, e.children);-}), nge = class extends c_ {+}), ige = class extends c_ {static {this.type = "cell";}-}, nj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(Ik);- return n ? /*#__PURE__*/ b.createElement(Mk.div, {+}, tj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, b.useContext)(Fk);+ return n ? /*#__PURE__*/ b.createElement(jk.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(Mk.td, {+ }) : /*#__PURE__*/ b.createElement(jk.td, {...e,ref: t});-}), rj = /*#__PURE__*/ Ov(nge, (e, t, n) => {- let r = hv(t), i = (0, b.useContext)(GA), { dragState: a } = (0, b.useContext)(Wk), { isVirtualized: o } = (0, b.useContext)(Ik);+}), nj = /*#__PURE__*/ Ov(ige, (e, t, n) => {+ let r = hv(t), i = (0, b.useContext)(WA), { dragState: a } = (0, b.useContext)(Uk), { isVirtualized: o } = (0, b.useContext)(Fk);n.column = i.collection.columns[n.index];let { gridCellProps: s, isPressed: c } = tse({node: n,@@ -37886,7 +37902,7 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), tgisVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Ax(), { hoverProps: f, isHovered: p } = Px({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)($A), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), x = i.selectionManager.isDisabled(n.parentKey), S = Dk({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Ax(), { hoverProps: f, isHovered: p } = Px({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(QA), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), x = i.selectionManager.isDisabled(n.parentKey), S = Ek({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -37906,7 +37922,7 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), tgisTreeColumn: n.column.key === i.treeColumn}}), C = $v(e, { global: !0 });- return delete C.id, /*#__PURE__*/ b.createElement(nj, {+ return delete C.id, /*#__PURE__*/ b.createElement(tj, {...U(C, S, s, d, f),ref: r,"data-focused": l || void 0,@@ -37920,14 +37936,14 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), tg"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": x || void 0- }, /*#__PURE__*/ b.createElement(Ik.Provider, { value: Fk }, S.children));+ }, /*#__PURE__*/ b.createElement(Fk.Provider, { value: Pk }, S.children));});-function rge(e, t) {+function age(e, t) {t = hv(t);- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(Wk), i = (0, b.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(Uk), i = (0, b.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;- return /*#__PURE__*/ b.createElement(sge, {+ return /*#__PURE__*/ b.createElement(lge, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -37936,40 +37952,40 @@ function rge(e, t) {ref: t});}-var ige = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(Ik);- return n ? /*#__PURE__*/ b.createElement(Mk.div, {+var oge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, b.useContext)(Fk);+ return n ? /*#__PURE__*/ b.createElement(jk.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(Mk.tr, {+ }) : /*#__PURE__*/ b.createElement(jk.tr, {...e,ref: t});-}), age = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, b.useContext)(Ik);- return n ? /*#__PURE__*/ b.createElement(Mk.div, {+}), sge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, b.useContext)(Fk);+ return n ? /*#__PURE__*/ b.createElement(jk.div, {...e,ref: t- }) : /*#__PURE__*/ b.createElement(Mk.td, {+ }) : /*#__PURE__*/ b.createElement(jk.td, {...e,ref: t});});-function oge(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(GA), { visuallyHiddenProps: c } = mb(), l = Dk({+function cge(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(WA), { visuallyHiddenProps: c } = mb(), l = Ek({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ b.createElement(ige, {+ return /*#__PURE__*/ b.createElement(oge, {...$v(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ b.createElement(age, {+ }, /*#__PURE__*/ b.createElement(sge, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -37980,14 +37996,14 @@ function oge(e, t) {ref: i}), l.children));}-var sge = /*#__PURE__*/ (0, b.forwardRef)(oge);-function cge() {- let e = (0, b.useContext)(GA), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(Wk), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = mb();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement(ej, {+var lge = /*#__PURE__*/ (0, b.forwardRef)(cge);+function uge() {+ let e = (0, b.useContext)(WA), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(Uk), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = mb();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement($A, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ b.createElement(nj, {+ }, /*#__PURE__*/ b.createElement(tj, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -37999,8 +38015,8 @@ function cge() {})));}Ov(u_, function(e, t, n) {- let r = (0, b.useContext)(GA), { isVirtualized: i } = (0, b.useContext)(Ik), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);- iA((0, b.useMemo)(() => ({+ let r = (0, b.useContext)(WA), { isVirtualized: i } = (0, b.useContext)(Fk), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);+ rA((0, b.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -38010,7 +38026,7 @@ Ov(u_, function(e, t, n) {s,r?.collection]), u);- let d = Dk({+ let d = Ek({...c,id: void 0,children: n.rendered,@@ -38018,10 +38034,10 @@ Ov(u_, function(e, t, n) {defaultStyle: { "--table-row-level": n.level + 1 },values: void 0}), f = {}, p = {}, m = {};- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ej, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement($A, {style: { height: 0 },- inert: Xk(!0)- }, /*#__PURE__*/ b.createElement(nj, { style: {+ inert: Yk(!0)+ }, /*#__PURE__*/ b.createElement(tj, { style: {padding: 0,border: 0} }, /*#__PURE__*/ b.createElement("div", {@@ -38032,14 +38048,14 @@ Ov(u_, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ b.createElement(ej, {+ }))), a && d.children && /*#__PURE__*/ b.createElement($A, {...U($v(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ b.createElement(nj, {+ }, /*#__PURE__*/ b.createElement(tj, {role: "rowheader",...p,style: m@@ -38047,8 +38063,8 @@ Ov(u_, function(e, t, n) {});//#endregion//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function lge(e) {- let [t, n] = ub(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = nA({+function dge(e) {+ let [t, n] = ub(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = tA({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -38071,24 +38087,24 @@ function lge(e) {}//#endregion//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function uge(e) {- let t = lge({+function fge(e) {+ let t = dge({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? ij(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? rj(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, b.useRef)(i);return (0, b.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = ij(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 = rj(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 ij(e, t) {+function rj(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);@@ -38098,20 +38114,20 @@ function ij(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Tabs.mjs-var aj = /*#__PURE__*/ (0, b.createContext)(null), oj = /*#__PURE__*/ (0, b.createContext)(null), sj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- [e, t] = kk(e, t, aj);+var ij = /*#__PURE__*/ (0, b.createContext)(null), aj = /*#__PURE__*/ (0, b.createContext)(null), oj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ [e, t] = Ok(e, t, ij);let { children: n, orientation: r = "horizontal" } = e;return n = (0, b.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ b.createElement(Tv, { content: n }, (n) => /*#__PURE__*/ b.createElement(dge, {+ }) : n, [n, r]), /*#__PURE__*/ b.createElement(Tv, { content: n }, (n) => /*#__PURE__*/ b.createElement(pge, {props: e,collection: n,tabsRef: t}));});-function dge({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = uge({+function pge({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = fge({...e,collection: n,children: void 0@@ -38123,12 +38139,12 @@ function dge({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = Dk({+ ]), l = Ek({...e,defaultClassName: "react-aria-Tabs",values: c}), u = $v(e, { global: !0 });- return /*#__PURE__*/ b.createElement(Mk.div, {+ return /*#__PURE__*/ b.createElement(jk.div, {...U(u, l, a),ref: t,slot: e.slot || void 0,@@ -38136,20 +38152,20 @@ function dge({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ b.createElement(Ek, { values: [[aj, e], [oj, i]] }, l.children));+ }, /*#__PURE__*/ b.createElement(Tk, { values: [[ij, e], [aj, i]] }, l.children));}-var cj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- return (0, b.useContext)(oj) ? /*#__PURE__*/ b.createElement(fge, {+var sj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ return (0, b.useContext)(aj) ? /*#__PURE__*/ b.createElement(mge, {props: e,forwardedRef: t}) : /*#__PURE__*/ b.createElement(Mv, e);});-function fge({ props: e, forwardedRef: t }) {- let n = (0, b.useContext)(oj), { CollectionRoot: r } = (0, b.useContext)(Ik), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Ok(aj), o = hv(t), { tabListProps: s } = mse({+function mge({ props: e, forwardedRef: t }) {+ let n = (0, b.useContext)(aj), { CollectionRoot: r } = (0, b.useContext)(Fk), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Dk(ij), o = hv(t), { tabListProps: s } = mse({...e,orientation: i,keyboardActivation: a- }, n, o), c = Dk({+ }, n, o), c = Ek({...e,children: null,defaultClassName: "react-aria-TabList",@@ -38158,21 +38174,21 @@ function fge({ props: e, forwardedRef: t }) {state: n}}), l = $v(e, { global: !0 });- return delete l.id, /*#__PURE__*/ b.createElement(Mk.div, {+ return delete l.id, /*#__PURE__*/ b.createElement(jk.div, {...U(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ b.createElement(qk, null, /*#__PURE__*/ b.createElement(r, {+ }, /*#__PURE__*/ b.createElement(Kk, null, /*#__PURE__*/ b.createElement(r, {collection: n.collection,- persistedKeys: Ipe(n.selectionManager.focusedKey)+ persistedKeys: Rpe(n.selectionManager.focusedKey)})));}-var lj = /*#__PURE__*/ Ov(class extends c_ {+var cj = /*#__PURE__*/ Ov(class extends c_ {static {this.type = "item";}}, (e, t, n) => {- let r = (0, b.useContext)(oj), i = hv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = fse({+ let r = (0, b.useContext)(aj), i = hv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = fse({key: n.key,...e}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = Ax(), { hoverProps: f, isHovered: p } = Px({@@ -38180,7 +38196,7 @@ var lj = /*#__PURE__*/ Ov(class extends c_ {onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = Dk({+ }), m = Ek({...e,id: void 0,children: n.rendered,@@ -38193,7 +38209,7 @@ var lj = /*#__PURE__*/ Ov(class extends c_ {isPressed: c,isHovered: p}- }), h = n.props.href ? Mk.a : Mk.div, g = $v(e, { global: !0 });+ }), h = n.props.href ? jk.a : jk.div, g = $v(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ b.createElement(h, {...U(g, m, a, l, f),ref: i,@@ -38203,26 +38219,26 @@ var lj = /*#__PURE__*/ Ov(class extends c_ {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ b.createElement(Jk.Provider, { value: { isSelected: o } }, m.children));-}), uj = /*#__PURE__*/ bv(function(e, t) {- let n = (0, b.useContext)(oj), r = hv(t), i = n.selectedKey === e.id, [a, o] = (0, b.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ b.createElement(qk.Provider, { value: { isSelected: o } }, m.children));+}), lj = /*#__PURE__*/ bv(function(e, t) {+ let n = (0, b.useContext)(aj), r = hv(t), i = n.selectedKey === e.id, [a, o] = (0, b.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = uA(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(pge, {+ let s = lA(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(hge, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function pge(e) {- let t = (0, b.useContext)(oj), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = hse(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Ax(), d = t.selectedKey === e.id, f = lA(r) && !i, p = Dk({+function hge(e) {+ let t = (0, b.useContext)(aj), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = hse(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Ax(), d = t.selectedKey === e.id, f = cA(r) && !i, p = Ek({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: Xk(!d),+ isInert: Yk(!d),isEntering: f,isExiting: a,state: t@@ -38230,31 +38246,31 @@ function pge(e) {}), m = $v(o, { global: !0 });delete m.id;let h = d ? U(m, s, c, p) : U(m, p);- return /*#__PURE__*/ b.createElement(Mk.div, {+ return /*#__PURE__*/ b.createElement(jk.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: Xk(!d || e.inert),+ inert: Yk(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ b.createElement(Ek, { values: [[aj, null], [oj, null]] }, /*#__PURE__*/ b.createElement(Ik.Provider, { value: Fk }, p.children)));+ }, /*#__PURE__*/ b.createElement(Tk, { values: [[ij, null], [aj, null]] }, /*#__PURE__*/ b.createElement(Fk.Provider, { value: Pk }, p.children)));}//#endregion//#region node_modules/react-aria-components/dist/private/TextArea.mjs-var mge = /*#__PURE__*/ (0, b.createContext)({}), hge = /*#__PURE__*/ (0, b.createContext)(null), gge = /*#__PURE__*/ bv(function(e, t) {- [e, t] = kk(e, t, hge);- let { validationBehavior: n } = Ok(Hk) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);- [e, i] = kk(e, i, Pk);- let [a, o] = Ak(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = qae({- ...jk(e),+var gge = /*#__PURE__*/ (0, b.createContext)({}), _ge = /*#__PURE__*/ (0, b.createContext)(null), vge = /*#__PURE__*/ bv(function(e, t) {+ [e, t] = Ok(e, t, _ge);+ let { validationBehavior: n } = Dk(Vk) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);+ [e, i] = Ok(e, i, Nk);+ let [a, o] = kk(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = qae({+ ...Ak(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, b.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = Dk({+ }, [i]), h = Ek({...e,values: {isDisabled: e.isDisabled || !1,@@ -38264,7 +38280,7 @@ var mge = /*#__PURE__*/ (0, b.createContext)({}), hge = /*#__PURE__*/ (0, b.crea},defaultClassName: "react-aria-TextField"}), g = $v(e, { global: !0 });- return delete g.id, /*#__PURE__*/ b.createElement(Mk.div, {+ return delete g.id, /*#__PURE__*/ b.createElement(jk.div, {...g,...h,ref: t,@@ -38273,31 +38289,31 @@ var mge = /*#__PURE__*/ (0, b.createContext)({}), hge = /*#__PURE__*/ (0, b.crea"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ b.createElement(Ek, { values: [- [Lk, {+ }, /*#__PURE__*/ b.createElement(Tk, { values: [+ [Ik, {...l,ref: a}],- [Qpe, {+ [eme, {...u,ref: m}],- [mge, {+ [gge, {...u,ref: m}],- [Xpe, {+ [Qpe, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [Bk, { slots: {+ [zk, { slots: {description: d,errorMessage: f} }],- [Vk, p]+ [Bk, p]] }, h.children));-}), _ge = {+}), yge = {selection: {type: ad,duration: .16,@@ -38309,7 +38325,7 @@ var mge = /*#__PURE__*/ (0, b.createContext)({}), hge = /*#__PURE__*/ (0, b.creabounce: 0}};-function dj(e) {+function uj(e) {let [t, n] = (0, b.useState)(null);return (0, b.useLayoutEffect)(() => {if (!t) return;@@ -38330,7 +38346,7 @@ function dj(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 = dre(n, { transform: [r, E] }, _ge[e]);+ l = dre(n, { transform: [r, E] }, yge[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -38367,25 +38383,25 @@ function dj(e) {}//#endregion//#region src/react/components/segmented.tsx-function fj(e) {- let t = dj("selection");- return /* @__PURE__ */ (0, x.jsx)(cj, {+function dj(e) {+ let t = uj("selection");+ return /* @__PURE__ */ (0, x.jsx)(sj, {...e,ref: t});}-function pj(e) {- let t = dj("selection");- return /* @__PURE__ */ (0, x.jsx)(MA, {+function fj(e) {+ let t = uj("selection");+ return /* @__PURE__ */ (0, x.jsx)(jA, {...e,ref: t});}-var mj = "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", hj = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", vge = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", gj = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", _j = "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)", yge = { "text-aa": 1.435 }, vj = /* @__PURE__ */ new Map();-function yj(e) {- let t = vj.get(e);+var pj = "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", mj = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", bge = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", hj = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", gj = "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)", xge = { "text-aa": 1.435 }, _j = /* @__PURE__ */ new Map();+function vj(e) {+ let t = _j.get(e);if (t) return t;- let n = yge[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {+ let n = xge[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {"aria-hidden": !0,viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,@@ -38399,108 +38415,108 @@ function yj(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })});- return r.displayName = `SpriteGlyph(${e})`, vj.set(e, r), r;+ return r.displayName = `SpriteGlyph(${e})`, _j.set(e, r), r;}//#endregion//#region src/react/follow-feed/follow-marks.ts-var bj = (e) => typeof e == "string" ? e : "", xj = (e) => e.aliases;-function Sj(e, t = "") {+var yj = (e) => typeof e == "string" ? e : "", bj = (e) => e.aliases;+function xj(e, t = "") {let n = Fr(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${R(t)}"${t ? ` title="${R(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function Cj(e, t = "") {+function Sj(e, t = "") {let n = R($n(t || e)), r = Fr(e);return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;}-var wj = (e) => bj(e.title).trim() || "未命名内容", Tj = (e, t) => Qn(e, xj(t));-function Ej(e) {+var Cj = (e) => yj(e.title).trim() || "未命名内容", wj = (e, t) => Qn(e, bj(t));+function Tj(e) {let t = e.filter((e) => e.entity_id && e.entity_name);- return new Set(t.map((e) => e.entity_id)).size === 1 ? bj(t[0]?.entity_name) : "";+ return new Set(t.map((e) => e.entity_id)).size === 1 ? yj(t[0]?.entity_name) : "";}-function Dj(e, t) {+function Ej(e, t) {let { src: n, fallback: r } = er(e), i = $n(t);if (!n) return `<span class="favatar none" title="没有可用头像">${R(i)}</span>`;let a = r ? ` data-fallbacks="${R(r)}"` : "";return `<img class="favatar" src="${R(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${R(i)}" data-drop-class="favatar none">`;}-function Oj(e, t, n) {- let r = xj(n), i = e.credit, a = i?.poster;+function Dj(e, t, n) {+ let r = bj(n), i = e.credit, a = i?.poster;if (!a) {let n = Qn(t, r);return {- author: n || bj(e.author) || bj(e.source_label) || "创作者未取得",- avatar: Dj(t, n),+ author: n || yj(e.author) || yj(e.source_label) || "创作者未取得",+ avatar: Ej(t, n),credited: "",- entityName: Ej(t)+ entityName: Tj(t)};}let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && Qn(c, r) || a;return {author: l,- avatar: Dj(c, l),+ avatar: Ej(c, l),credited: i.credited || "",- entityName: Ej(c)+ entityName: Tj(c)};}-function kj(e, t = e.primary) {+function Oj(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 = bj(e.primary.version);+ let i = yj(e.primary.version);i && n.push(r("version", R(i)));- let a = bj(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = yj(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function Aj(e, t = e.primary) {+function kj(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]) => Sj(e, t) || `<span>${R(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => xj(e, t) || `<span>${R(t)}</span>`).join("");return `<span data-follow-seealso="" title="另见 ${R([...n.values()].join("、"))}">另见 ${r}</span>`;}-function jj(e, t) {- let n = bj(e.media_error);+function Aj(e, t) {+ let n = yj(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var bge = 864e5, xge = (e, t) => {+var Sge = 864e5, Cge = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > bge;+ return Number.isFinite(n) && n - t > Sge;};-function Mj(e, t) {- let n = bj(e.published_at);+function jj(e, t) {+ let n = yj(e.published_at);if (!n) return null;let r = e.published_precision === "approximate", i = _n(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: xge(n, t) ? " · 晚于现在" : ""+ suffix: Cge(n, t) ? " · 晚于现在" : ""};}-function Nj(e, t = Date.now()) {- let n = Mj(e, t);+function Mj(e, t = Date.now()) {+ let n = jj(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function Sge(e, t = Date.now()) {- let n = Mj(e, t);+function wge(e, t = Date.now()) {+ let n = jj(e, t);if (!n) return "时间未取得";if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);return `${n.prefix}${r}${n.suffix}`;}-var Pj = /* @__PURE__ */ new Set(), Fj = [], Ij = null;-function Lj() {- if (Ij = null, !Fj.length) return;- let e = Fj.splice(0, 200);+var Nj = /* @__PURE__ */ new Set(), Pj = [], Fj = null;+function Ij() {+ if (Fj = null, !Pj.length) return;+ let e = Pj.splice(0, 200);vt("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), Fj.length && (Ij = setTimeout(Lj, 800));+ }).catch(() => {}), Pj.length && (Fj = setTimeout(Ij, 800));}-function Cge(e, t, n, r) {+function Tge(e, t, n, r) {let i = `${e}:${t ?? ""}`;- Pj.has(i) || (Pj.add(i), Fj.push(t === null ? {+ Nj.has(i) || (Nj.add(i), Pj.push(t === null ? {item: e,width: n,height: r@@ -38509,26 +38525,26 @@ function Cge(e, t, n, r) {width: n,height: r,media: t- }), Ij ||= setTimeout(Lj, 800));+ }), Fj ||= setTimeout(Ij, 800));}//#endregion//#region src/react/entity-filter/entity-filter.ts-var wge = (e) => e === "videos", Rj = () => /* @__PURE__ */ (0, x.jsx)("span", {+var Ege = (e) => e === "videos", Lj = () => /* @__PURE__ */ (0, x.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"});-function Tge(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = wge(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+function Dge(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Ege(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({k: e,label: t- })) : i, m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = wk(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = wk(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, b.useRef)(null), E = (0, b.useRef)(null), D = u?.mediaCounts ? u : null, O = wk(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);+ })) : i, m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = Ck(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = Ck(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, b.useRef)(null), E = (0, b.useRef)(null), D = u?.mediaCounts ? u : null, O = Ck(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);return (0, b.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(S.current);- }, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(zj, {+ }, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Rj, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, x.jsx)(xk, {+ }), /* @__PURE__ */ (0, x.jsx)(bk, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -38557,19 +38573,19 @@ function Tge(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(kge, {+ n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(jge, {keys: n,view: t,row: _,glide: w,onView: s.setView- }), d ? /* @__PURE__ */ (0, x.jsx)(Rj, {}) : null] }) : null,- D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Dge, {+ }), d ? /* @__PURE__ */ (0, x.jsx)(Lj, {}) : null] }) : null,+ D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(kge, {head: D,row: E,glide: O,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, x.jsx)(Rj, {})] }) : null,+ }), /* @__PURE__ */ (0, x.jsx)(Lj, {})] }) : null,/* @__PURE__ */ (0, x.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -38590,11 +38606,11 @@ function Tge(e) {f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));},children: e.label- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, x.jsx)(Rj, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, x.jsx)(Lj, {}) : null]}), /* @__PURE__ */ (0, x.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(Sk, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(xk, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -38603,17 +38619,17 @@ function Tge(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(Oge, {+ }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(Age, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, x.jsx)(Age, { ...e })+ bottom: /* @__PURE__ */ (0, x.jsx)(Mge, { ...e })})] });}-var Ege = [[+var Oge = [["videos","视频","play",@@ -38624,7 +38640,7 @@ var Ege = [["pics","image"]];-function Dge({ head: e, row: t, glide: n, onMedia: r }) {+function kge({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, x.jsx)("div", {ref: t,role: "group",@@ -38632,7 +38648,7 @@ function Dge({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: Ege.map(([t, i, a, o]) => {+ children: Oge.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -38650,7 +38666,7 @@ function Dge({ head: e, row: t, glide: n, onMedia: r }) {})});}-function Oge({ head: e, actions: t }) {+function Age({ head: e, actions: t }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -38660,10 +38676,10 @@ function Oge({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: Sj(n) }+ dangerouslySetInnerHTML: { __html: xj(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(Rj, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(Sk, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(Lj, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(xk, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -38676,7 +38692,7 @@ function Oge({ head: e, actions: t }) {}, e.k))] });}-function kge({ keys: e, view: t, row: n, glide: r, onView: i }) {+function jge({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -38724,7 +38740,7 @@ function kge({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function zj({ items: e, hidden: t, actions: n }) {+function Rj({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -38744,7 +38760,7 @@ function zj({ items: e, hidden: t, actions: n }) {})] }) : null});}-function Age(e) {+function Mge(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, x.jsxs)("button", {@@ -38756,26 +38772,26 @@ function Age(e) {dangerouslySetInnerHTML: { __html: L("chevron-left") }}), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, x.jsx)(jge, {+ /* @__PURE__ */ (0, x.jsx)(Nge, {text: n,busy: r}),- t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)(Mge, {+ t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)(Pge, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(Pge, {+ t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(Ige, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(Nge, {+ t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(Fge, {head: e.online,actions: o}) : null] });}-function jge({ text: e, busy: t }) {+function Nge({ text: e, busy: t }) {return /* @__PURE__ */ (0, x.jsx)("h3", {"data-entity-readout": "",children: t ? /* @__PURE__ */ (0, x.jsx)("span", {@@ -38785,22 +38801,22 @@ function jge({ text: e, busy: t }) {}) : e});}-function Bj({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, x.jsx)(MA, {+function zj({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, x.jsx)(jA, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: gj,+ className: hj,children: r.map(([e, t, n]) => {- let r = yj(n);- return /* @__PURE__ */ (0, x.jsx)(NA, {+ let r = vj(n);+ return /* @__PURE__ */ (0, x.jsx)(MA, {value: e,"aria-label": t,"data-glass-segment": "",- className: _j,+ className: gj,children: /* @__PURE__ */ (0, x.jsx)("span", {title: t,className: "contents",@@ -38810,7 +38826,7 @@ function Bj({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function Vj({ onPress: e, busy: t = !1 }) {+function Bj({ onPress: e, busy: t = !1 }) {return /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-entity-batch": "",@@ -38824,27 +38840,27 @@ function Vj({ onPress: e, busy: t = !1 }) {dangerouslySetInnerHTML: { __html: t ? Ja("正在换一批") : L("shuffle") }});}-function Mge({ head: e, actions: t }) {+function Pge({ head: e, actions: t }) {return /* @__PURE__ */ (0, x.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, x.jsx)(Vj, { onPress: () => void t.reshuffle() }),- e.jav ? /* @__PURE__ */ (0, x.jsx)(Bj, {+ /* @__PURE__ */ (0, x.jsx)(Bj, { onPress: () => void t.reshuffle() }),+ e.jav ? /* @__PURE__ */ (0, x.jsx)(zj, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, x.jsx)(Hj, {+ /* @__PURE__ */ (0, x.jsx)(Vj, {sorts: e.sorts,onSort: t.setSort})]});}-function Hj({ sorts: e, onSort: t }) {+function Vj({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: e.map((e) => {- let n = yj(e.dir === "asc" ? "arrow-up" : "arrow-down");+ let n = vj(e.dir === "asc" ? "arrow-up" : "arrow-down");return /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -38856,12 +38872,12 @@ function Hj({ sorts: e, onSort: t }) {}, e.key);}) });}-function Nge({ head: e, actions: t }) {+function Fge({ head: e, actions: t }) {return /* @__PURE__ */ (0, x.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, x.jsx)(Vj, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Bj, {+ /* @__PURE__ */ (0, x.jsx)(Bj, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(zj, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -38881,27 +38897,27 @@ function Nge({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: L("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, x.jsx)(Hj, {+ /* @__PURE__ */ (0, x.jsx)(Vj, {sorts: e.sorts,onSort: t.onlineSort})]});}-function Pge({ head: e, actions: t, helpers: n }) {+function Ige({ head: e, actions: t, helpers: n }) {let [r, i] = (0, b.useState)(!1), a = (0, b.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, b.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, x.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, x.jsx)(Vj, {+ e.shuffle ? /* @__PURE__ */ (0, x.jsx)(Bj, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, x.jsx)(Bj, {+ /* @__PURE__ */ (0, x.jsx)(zj, {label: "图片布局",value: e.layout,options: e.layouts,@@ -38917,34 +38933,34 @@ function Pge({ head: e, actions: t, helpers: n }) {}//#endregion//#region src/react/catalog-filter/catalog-filter-page.tsx-var Uj = "";-function Fge(e) {- let t = !e.tiers, n = Hge(e.comboHost);+var Hj = "";+function Lge(e) {+ let t = !e.tiers, n = Wge(e.comboHost);return /* @__PURE__ */ (0, x.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(zj, {+ n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(Rj, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, x.jsx)(Rge, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(Ige, { ...e })+ /* @__PURE__ */ (0, x.jsx)(Bge, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(Rge, { ...e })]});}-function Ige(e) {- let { actions: t, helpers: n } = e, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = wk(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function Rge(e) {+ let { actions: t, helpers: n } = e, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = Ck(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, b.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let l = !e.tiers, u = Gj(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let l = !e.tiers, u = Wj(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, b.useLayoutEffect)(() => {oo(o.current, "tagbar");- }, [u]), /* @__PURE__ */ (0, x.jsx)(xk, {+ }, [u]), /* @__PURE__ */ (0, x.jsx)(bk, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -38987,17 +39003,17 @@ function Ige(e) {}), /* @__PURE__ */ (0, x.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(Wj, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(Lge, {+ children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(Uj, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(zge, {tag: e,onPress: t.toggleTag}, e.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)(Bge, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)(Hge, { ...e })});}-function Lge({ tag: e, onPress: t }) {- return /* @__PURE__ */ (0, x.jsxs)(Sk, {+function zge({ tag: e, onPress: t }) {+ return /* @__PURE__ */ (0, x.jsxs)(xk, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -39008,12 +39024,12 @@ function Lge({ tag: e, onPress: t }) {})]});}-function Rge(e) {+function Bge(e) {let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = e.empty || !e.tiers, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useCallback)((e) => () => t.moreTops(e), [t]), c = Gj(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = Gj(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;+ }, i = e.empty || !e.tiers, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useCallback)((e) => () => t.moreTops(e), [t]), c = Wj(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = Wj(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;return (0, b.useEffect)(() => {n.wireDrag(a.current), n.wireDrag(o.current);}, [@@ -39026,7 +39042,7 @@ function Rge(e) {children: [u ? /* @__PURE__ */ (0, x.jsx)("div", {ref: a,"data-catalog-tier": "performers",- children: i ? /* @__PURE__ */ (0, x.jsx)(Wj, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, x.jsx)(Uj, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -39043,18 +39059,18 @@ function Rge(e) {}) : null, d ? /* @__PURE__ */ (0, x.jsx)("div", {ref: o,"data-catalog-tier": "studios",- children: i ? /* @__PURE__ */ (0, x.jsx)(Wj, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, x.jsx)(Uj, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": e.name,onClick: () => t.openEntity("studio", e.name),- children: [/* @__PURE__ */ (0, x.jsx)(zge, { studio: e }), e.name]+ children: [/* @__PURE__ */ (0, x.jsx)(Vge, { studio: e }), e.name]}, e.name))}) : null]});}-function zge({ studio: e }) {+function Vge({ studio: e }) {let [t, n] = (0, b.useState)(!1);return /* @__PURE__ */ (0, x.jsx)("span", {"data-tier-mark": "",@@ -39068,7 +39084,7 @@ function zge({ studio: e }) {}) : e.fallback});}-function Wj({ kind: e }) {+function Uj({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, x.jsx)("span", {"data-catalog-placeholder": "tag",@@ -39084,32 +39100,32 @@ function Wj({ kind: e }) {children: [/* @__PURE__ */ (0, x.jsx)("span", {}), /* @__PURE__ */ (0, x.jsx)("span", { children: "\xA0" })]}, t)) });}-function Bge({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+function Hge({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {let [a, o] = (0, b.useState)(!1);- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Vge, { count: e }), /* @__PURE__ */ (0, x.jsxs)("span", {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Uge, { count: e }), /* @__PURE__ */ (0, x.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, x.jsx)(Vj, {+ /* @__PURE__ */ (0, x.jsx)(Bj, {onPress: () => {o(!0), i.reshuffle().finally(() => o(!1));},busy: a || t}),- n ? /* @__PURE__ */ (0, x.jsx)(Bj, {+ n ? /* @__PURE__ */ (0, x.jsx)(zj, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, x.jsx)(Hj, {+ /* @__PURE__ */ (0, x.jsx)(Vj, {sorts: r,onSort: i.setSort})]})] });}-function Vge({ count: e }) {+function Uge({ count: e }) {let t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";return (0, b.useLayoutEffect)(() => {if (e === !1) return;@@ -39118,7 +39134,7 @@ function Vge({ count: e }) {return;}let i = t.current;- i && (Uj && i.dataset.popCount === void 0 && (i.dataset.popCount = Uj), Uj = r, ro(i, r));+ i && (Hj && i.dataset.popCount === void 0 && (i.dataset.popCount = Hj), Hj = r, ro(i, r));}, [e, r]), e === !1 ? /* @__PURE__ */ (0, x.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, x.jsx)("span", {ref: t,"data-catalog-readout": "",@@ -39134,7 +39150,7 @@ function Vge({ count: e }) {})}, "skeleton");}-function Hge(e) {+function Wge(e) {let [t, n] = (0, b.useState)(null);return (0, b.useLayoutEffect)(() => {if (!e) return;@@ -39144,7 +39160,7 @@ function Hge(e) {};}, [e]), t;}-function Gj(e, t, n, r, i) {+function Wj(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -39184,7 +39200,7 @@ function Gj(e, t, n, r, i) {}//#endregion//#region src/react/components/grid-reveal.tsx-function Kj(e, t) {+function Gj(e, t) {let [n, r] = (0, b.useState)(e ? "skeleton" : "none"), [i] = (0, b.useState)(() => e ? t() : ""), a = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {a.current && yo(a.current);@@ -39210,7 +39226,7 @@ function Kj(e, t) {fading: n === "fade"};}-function qj({ message: e, onRetry: t }) {+function Kj({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -39224,7 +39240,7 @@ function qj({ message: e, onRetry: t }) {}//#endregion//#region src/react/components/art-slot.tsx-function Jj({ artwork: e, identity: t = e.html, relayout: n }) {+function qj({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, b.useState)({identity: t,artwork: e@@ -39244,7 +39260,7 @@ function Jj({ artwork: e, identity: t = e.html, relayout: n }) {}//#endregion//#region src/react/components/row-click.ts-var Uge = [+var Gge = ["a","button","input",@@ -39257,35 +39273,35 @@ var Uge = ["[role=\"link\"]","[role=\"menu\"]"].join(",");-function Yj(e, t) {+function Jj(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(Uge);+ let r = n.closest(Gge);return !r || !t.contains(r) || r === t;}-function Xj(e) {+function Yj(e) {e.shiftKey && e.preventDefault();}//#endregion//#region src/react/components/media-card.tsx-var Wge = 9 / 16, Zj = "未命名视频";-function Qj({ name: e }) {+var Kge = 9 / 16, Xj = "未命名视频";+function Zj({ name: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })});}-var Gge = {+var qge = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"};-function $j(e, t, n) {- return t === "short" ? Wge : ET(n);+function Qj(e, t, n) {+ return t === "short" ? Kge : ET(n);}-function Kge(e) {+function Jge(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = da(e), s = i[0] || "", c = Zi(e);return {avatar: r ? /* @__PURE__ */ (0, x.jsx)("div", {@@ -39332,7 +39348,7 @@ function Kge(e) {})};}-function qge() {+function Yge() {return /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-media-preview": "",@@ -39351,7 +39367,7 @@ function qge() {})]});}-function Jge({ item: e, actions: t }) {+function Xge({ item: e, actions: t }) {let [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;return /* @__PURE__ */ (0, x.jsx)("div", {"data-media-later": "",@@ -39369,21 +39385,21 @@ function Jge({ item: e, actions: t }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, x.jsx)(Qj, { name: o ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, x.jsx)(Zj, { name: o ? "check" : "bookmark-plus" })})});}-function eM(e, t) {+function $j(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 Yge({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {+function Zge({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {let l = (0, b.useRef)(null), u = (0, b.useRef)(e);u.current = e;let d = (0, b.useCallback)((e) => {let t = u.current;l.current && l.current !== e && Us(l.current), l.current = e, e && (!t.medium || t.medium === "video") && uee(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 = sa(e, h, !1, n.javImage), _ = h === "small" ? g.html : sa(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || Zj, S = o.titleHtml(e, v).trim() || R(Zj), C = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = Kge(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = sa(e, h, !1, n.javImage), _ = h === "small" ? g.html : sa(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || Xj, S = o.titleHtml(e, v).trim() || R(Xj), C = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = Jge(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [e.feedback === "dislike" && "dislike",e.feedback === "seen" && "seen",e.disposal === "trash" && "dispose",@@ -39413,9 +39429,9 @@ function Yge({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSu && r.contains(u) ? s.toggleTag(u.dataset.tag || "") : c(e, r);}, j = /* @__PURE__ */ (0, x.jsxs)("div", {"data-media-pic": "",- style: { "--card-ratio": String($j(e, t, n)) },+ style: { "--card-ratio": String(Qj(e, t, n)) },children: [- g.html ? /* @__PURE__ */ (0, x.jsx)(Jj, {+ g.html ? /* @__PURE__ */ (0, x.jsx)(qj, {artwork: g,identity: _,relayout: (e) => Fs(e, h)@@ -39429,11 +39445,11 @@ function Yge({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS}),/* @__PURE__ */ (0, x.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, x.jsx)(Qj, { name: "check" })+ children: /* @__PURE__ */ (0, x.jsx)(Zj, { name: "check" })}),/* @__PURE__ */ (0, x.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, x.jsx)(Qj, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, x.jsx)(Zj, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]}),f && !p ? /* @__PURE__ */ (0, x.jsx)("span", {"data-media-group": "",@@ -39460,8 +39476,8 @@ function Yge({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-scrub": "",children: /* @__PURE__ */ (0, x.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, x.jsx)(qge, {}),- /* @__PURE__ */ (0, x.jsx)(Jge, {+ /* @__PURE__ */ (0, x.jsx)(Yge, {}),+ /* @__PURE__ */ (0, x.jsx)(Xge, {item: e,actions: s}),@@ -39471,27 +39487,27 @@ function Yge({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS/* @__PURE__ */ (0, x.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), eM(l.current, -a);+ e.stopPropagation(), $j(l.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, x.jsx)(Qj, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, x.jsx)(Zj, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), eM(l.current, a);+ e.stopPropagation(), $j(l.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, x.jsx)(Qj, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, x.jsx)(Zj, { name: "rotate-cw" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, x.jsx)(Qj, { name: "expand" })+ children: /* @__PURE__ */ (0, x.jsx)(Zj, { name: "expand" })})]})@@ -39507,7 +39523,7 @@ function Yge({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,onClick: A,- onMouseDown: Xj,+ onMouseDown: Yj,children: [/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -39568,8 +39584,8 @@ function Yge({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS]});}-function Xge({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : Gge[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {+function Qge({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : qge[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {t.preventDefault(), t.stopPropagation(), !s && (c(!0), i.resourceOperation(e, p).catch(() => {}).finally(() => c(!1)));}, g = (t) => {o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));@@ -39583,14 +39599,14 @@ function Xge({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": t ? "" : void 0,onClick: g,- onMouseDown: Xj,+ onMouseDown: Yj,children: [/* @__PURE__ */ (0, x.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, x.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, x.jsx)(Qj, { name: f }), /* @__PURE__ */ (0, x.jsx)("b", { children: d })]+ children: [/* @__PURE__ */ (0, x.jsx)(Zj, { name: f }), /* @__PURE__ */ (0, x.jsx)("b", { children: d })]}),l ? /* @__PURE__ */ (0, x.jsx)("span", {"data-media-art": "thumb",@@ -39602,11 +39618,11 @@ function Xge({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp}),/* @__PURE__ */ (0, x.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, x.jsx)(Qj, { name: "check" })+ children: /* @__PURE__ */ (0, x.jsx)(Zj, { name: "check" })}),/* @__PURE__ */ (0, x.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, x.jsx)(Qj, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, x.jsx)(Zj, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -39616,7 +39632,7 @@ function Xge({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOponClick: h,"aria-busy": s || void 0,"aria-disabled": s || void 0,- children: s ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: Ja(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, x.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Qj, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, x.jsx)("span", { children: m })] })+ children: s ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: Ja(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, x.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Zj, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, x.jsx)("span", { children: m })] })})]}), /* @__PURE__ */ (0, x.jsxs)("div", {@@ -39625,7 +39641,7 @@ function Xge({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, x.jsx)(Qj, { name: f })+ children: /* @__PURE__ */ (0, x.jsx)(Zj, { name: f })}), /* @__PURE__ */ (0, x.jsxs)("div", {"data-media-text": "",children: [/* @__PURE__ */ (0, x.jsx)("span", {@@ -39654,23 +39670,23 @@ function Xge({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp})]});}-function Zge(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(Xge, { ...e }) : /* @__PURE__ */ (0, x.jsx)(Yge, { ...e });+function $ge(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(Qge, { ...e }) : /* @__PURE__ */ (0, x.jsx)(Zge, { ...e });}-var tM = (0, b.memo)(Zge), Qge = 1100, $ge = 340, e_e = 5e3;-function t_e(e, t, n) {+var eM = (0, b.memo)($ge), e_e = 1100, t_e = 340, n_e = 5e3;+function r_e(e, t, n) {return new Promise((r) => {let i = new Image();n && (i.referrerPolicy = n);let a = !1, o = (e) => {a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));- }, s = () => o(!1), c = setTimeout(s, e_e);+ }, s = () => o(!1), c = setTimeout(s, n_e);t.cancels.add(s), i.onerror = s, i.onload = () => {i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);}, i.src = e;});}-function nM({ load: e, canFlip: t, referrerPolicy: n }) {+function tM({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, b.useState)([]), [a, o] = (0, b.useState)(0), [s, c] = (0, b.useState)(null), l = (0, b.useRef)({live: !1,generation: 0,@@ -39712,11 +39728,11 @@ function nM({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => t_e(t, e, n)));+ let s = await Promise.all(a.map((t) => r_e(t, e, n)));if (!r() || !u.current.canFlip()) return;let d = a.filter((e, t) => s[t]);d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {- p(), e.cycle = setInterval(p, Qge);+ p(), e.cycle = setInterval(p, e_e);}));};return (0, b.useEffect)(() => d, [d]), {@@ -39725,7 +39741,7 @@ function nM({ 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($ge, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(t_e, () => {e.armed = null, m();});},@@ -39736,8 +39752,8 @@ function nM({ load: e, canFlip: t, referrerPolicy: n }) {}//#endregion//#region src/react/components/mix-card.tsx-var rM = yj("play");-function n_e({ src: e }) {+var nM = vj("play");+function i_e({ src: e }) {let [t, n] = (0, b.useState)(!1);return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {"data-mix-poster": "",@@ -39750,8 +39766,8 @@ function n_e({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var iM = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";-function r_e({ faces: e, fallback: t, onOpenEntity: n }) {+var rM = "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 a_e({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, x.jsx)("button", {@@ -39759,18 +39775,18 @@ function r_e({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${iM} cursor-pointer outline-none`,+ className: `${rM} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: $i(e.name, e, Li(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, x.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${iM} mt-0.5`,+ className: `${rM} mt-0.5`,children: t});}-function aM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {- let S = nM({+function iM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {+ let S = tM({load: i,canFlip: a}), C = (0, b.useRef)(S.onPointerLeave);@@ -39797,11 +39813,11 @@ function aM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:style: d === void 0 ? void 0 : { "--card-ratio": String(d) },className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",children: [- f?.html ? /* @__PURE__ */ (0, x.jsx)(Jj, {+ f?.html ? /* @__PURE__ */ (0, x.jsx)(qj, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, x.jsx)(n_e, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, x.jsx)(i_e, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -39831,7 +39847,7 @@ function aM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, x.jsxs)("span", {"data-mix-badge": "",className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",- children: [/* @__PURE__ */ (0, x.jsx)(rM, {+ children: [/* @__PURE__ */ (0, x.jsx)(nM, {"aria-hidden": !0,className: "size-3.75"}), g ?? `${n.toLocaleString()} 个视频`]@@ -39844,8 +39860,8 @@ function aM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, x.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, x.jsx)(rM, {})- }) : /* @__PURE__ */ (0, x.jsx)(r_e, {+ children: /* @__PURE__ */ (0, x.jsx)(nM, {})+ }) : /* @__PURE__ */ (0, x.jsx)(a_e, {faces: o,fallback: qt(e),onOpenEntity: s@@ -39869,20 +39885,20 @@ function aM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:}//#endregion//#region src/react/catalog-grid/catalog-grid-page.tsx-function oM(e) {- if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(a_e, { ...e });+function aM(e) {+ if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(s_e, { ...e });let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${RE(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- return /* @__PURE__ */ (0, x.jsx)(o_e, { ...e }, t);+ return /* @__PURE__ */ (0, x.jsx)(c_e, { ...e }, t);}-function i_e({ name: e }) {+function o_e({ name: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })});}-function a_e(e) {- let { actions: t } = e, n = (0, b.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, x.jsx)(tM, {+function s_e(e) {+ let { actions: t } = e, n = (0, b.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, x.jsx)(eM, {item: i,variant: r,layout: e.layout,@@ -39902,7 +39918,7 @@ function a_e(e) {children: i});}-function o_e(e) {+function c_e(e) {let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? qce(e) : zE(e), s = i && e.initial ? {pages: [{...e.initial,@@ -39933,7 +39949,7 @@ function o_e(e) {e.mix,a,r.javImage- ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = Kj(c.isPending, e.skeletonHtml), h = (0, b.useRef)(null), g = s_e(e, c.data, u, d, h);+ ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = Gj(c.isPending, e.skeletonHtml), h = (0, b.useRef)(null), g = l_e(e, c.data, u, d, h);(0, b.useLayoutEffect)(() => {if (!c.data) return;let t = !0;@@ -39960,12 +39976,12 @@ function o_e(e) {let v = (0, b.useCallback)((e, t) => n.open(e, t), [n]), y = (0, b.useCallback)((e, t) => n.openResource(e, t), [n]), S = (0, b.useCallback)((e) => n.openShort(e), [n]), C = (0, b.useCallback)(async () => {let e = await c.fetchNextPage({ cancelRefetch: !1 });if (e.isFetchNextPageError) throw e.error;- }, [c.fetchNextPage]), w = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(l_e, {+ }, [c.fetchNextPage]), w = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(d_e, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(tM, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(eM, {item: i.item,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",layout: r,@@ -39982,7 +39998,7 @@ function o_e(e) {"data-grid-reveal": m.fading ? "" : void 0,children: [m.layer, (() => {if (c.isPending) return null;- if (!c.data) return /* @__PURE__ */ (0, x.jsx)(qj, {+ if (!c.data) return /* @__PURE__ */ (0, x.jsx)(Kj, {message: _t(c.error),onRetry: () => void c.refetch()});@@ -40002,12 +40018,12 @@ function o_e(e) {children: ele(u, g).map((t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {"data-media-grid": "",children: t.tiles.map(w)- }), t.strip ? /* @__PURE__ */ (0, x.jsx)(c_e, {+ }), t.strip ? /* @__PURE__ */ (0, x.jsx)(u_e, {cut: t.strip,props: e,onOpen: S}) : null] }, t.start))- }), c.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(sM, {+ }), c.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(oM, {entity: i,load: C,enabled: () => e.canLoadMore?.() !== !1@@ -40015,7 +40031,7 @@ function o_e(e) {})()]});}-function sM({ entity: e, load: t, enabled: n, children: r }) {+function oM({ entity: e, load: t, enabled: n, children: r }) {let i = (0, b.useRef)(null), a = (0, b.useRef)(!1), o = (0, b.useRef)(!1), [s, c] = (0, b.useState)({busy: !1,error: ""@@ -40077,12 +40093,12 @@ function sM({ entity: e, load: t, enabled: n, children: r }) {hidden: !!s.error,onClick: () => void u(!0),dangerouslySetInnerHTML: { __html: Xa("继续载入中…") }- }), s.error ? /* @__PURE__ */ (0, x.jsx)(qj, {+ }), s.error ? /* @__PURE__ */ (0, x.jsx)(Kj, {message: s.error,onRetry: () => void u(!0)}) : null] });}-function s_e(e, t, n, r, i) {+function l_e(e, t, n, r, i) {let [a, o] = (0, b.useState)([]), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(0), u = (0, b.useRef)(0), d = (0, b.useRef)([]);return (0, b.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, b.useEffect)(() => {let n = t?.pages.length || 0;@@ -40113,7 +40129,7 @@ function s_e(e, t, n, r, i) {}]);}, [s]), a;}-function c_e({ cut: e, props: t, onOpen: n }) {+function u_e({ cut: e, props: t, onOpen: n }) {let r = (0, b.useRef)(null), { wireDrag: i } = t;return (0, b.useEffect)(() => {r.current && i(r.current);@@ -40129,12 +40145,12 @@ function c_e({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, x.jsx)(i_e, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, x.jsx)(o_e, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, x.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, x.jsx)(tM, {+ children: e.items.map((e) => /* @__PURE__ */ (0, x.jsx)(eM, {item: e,variant: "short",layout: t.layout,@@ -40148,17 +40164,17 @@ function c_e({ cut: e, props: t, onOpen: n }) {})]});}-function cM(e, t, n) {+function sM(e, t, n) {return ca(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function l_e({ seed: e, layout: t, helpers: n, actions: r }) {+function d_e({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, b.useRef)(/* @__PURE__ */ new Map()), a = (0, b.useRef)(t);a.current = t;let o = pa(e, n.tagLabel), s = (0, b.useCallback)(async () => {let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => BE(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), cM(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = cM(e, t, !1);- return /* @__PURE__ */ (0, x.jsx)(aM, {+ return i.current = new Map(n.map((e) => [String(e.id), sM(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = sM(e, t, !1);+ return /* @__PURE__ */ (0, x.jsx)(iM, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -40168,12 +40184,12 @@ function l_e({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : cM(e, {+ artworkIdentity: c === "small" ? l.html : sM(e, {...t,size: "small"}, !1).html,relayoutArt: (e) => Fs(e, c),- ratio: $j(e, "grid", t),+ ratio: Qj(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -40185,41 +40201,41 @@ function l_e({ seed: e, layout: t, helpers: n, actions: r }) {}//#endregion//#region src/react/media-sources.ts-async function lM(e) {+async function cM(e) {await V.fetchQuery({queryKey: pn,queryFn: () => mn(e)});}-var u_e = [+var f_e = ["local","115","pikpak"-], d_e = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), f_e = "/api/duplicates?limit=120", uM = ["duplicates"], dM = "/api/batch", fM = (e) => nn(f_e, e), p_e = /[\s\-_.()[\]【】/\\]/;-function m_e(e) {+], p_e = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), m_e = "/api/duplicates?limit=120", lM = ["duplicates"], uM = "/api/batch", dM = (e) => nn(m_e, e), h_e = /[\s\-_.()[\]【】/\\]/;+function g_e(e) {if (e.length < 2) return "";let t = 0, n = e[0];for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));let r = t;- for (; r > 0 && !p_e.test(n[r - 1]);) --r;+ for (; r > 0 && !h_e.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var h_e = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function g_e(e) {+var __e = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function v_e(e) {await Promise.all([V.fetchQuery({- queryKey: uM,- queryFn: () => fM(e)- }), lM(e)]);+ queryKey: lM,+ queryFn: () => dM(e)+ }), cM(e)]);}-var pM = {+var fM = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, __e = (e, t) => t.filter((t) => e.some((e) => e.location === t)), mM = (e, t) => __e(e, t).filter((t) => e.some((e) => e.location !== t)), v_e = (e, t) => t.filter((t) => e.some((e) => mM(e.files, [t]).length));-function y_e(e, t) {+}, y_e = (e, t) => t.filter((t) => e.some((e) => e.location === t)), pM = (e, t) => y_e(e, t).filter((t) => e.some((e) => e.location !== t)), b_e = (e, t) => t.filter((t) => e.some((e) => pM(e.files, [t]).length));+function x_e(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -40238,47 +40254,47 @@ function y_e(e, t) {}return n;}-function b_e(e, t) {+function S_e(e, t) {let n = new Set(t);return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);}-async function hM(e, t) {- for (let n = 0; n < e.length; n += 200) await B(dM, {+async function mM(e, t) {+ for (let n = 0; n < e.length; n += 200) await B(uM, {ids: e.slice(n, n + 200),operation: t});}//#endregion//#region src/react/library-processing/library-processing.ts-var gM = "/api/library-processing", _M = ["library-processing"], vM = (e) => nn(gM, e);-async function yM(e) {+var hM = "/api/library-processing", gM = ["library-processing"], _M = (e) => nn(hM, e);+async function vM(e) {await V.fetchQuery({- queryKey: _M,- queryFn: () => vM(e)+ queryKey: gM,+ queryFn: () => _M(e)});}-var x_e = 2e3, S_e = 1e4, bM = "连接中断,正在重新读取处理进度";-function C_e(e, t) {- return e?.status === "running" ? x_e : t ? S_e : !1;+var C_e = 2e3, w_e = 1e4, yM = "连接中断,正在重新读取处理进度";+function T_e(e, t) {+ return e?.status === "running" ? C_e : t ? w_e : !1;}-var w_e = {+var E_e = {reading_local: "读取本地资料",querying_metadata: "查询外部资料",fetching_cover: "采集缺失封面",writing_candidates: "保存资料候选"-}, xM = {+}, bM = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function T_e(e) {- let t = Object.entries(e).filter(([e, t]) => xM[e] && t > 0).map(([e, t]) => `${xM[e]} ${t.toLocaleString()} 部`);+function D_e(e) {+ let t = Object.entries(e).filter(([e, t]) => bM[e] && t > 0).map(([e, t]) => `${bM[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function SM(e) {- let t = w_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${dk(e.waited_seconds)}` : "";+function xM(e) {+ let t = E_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${uk(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function E_e(e) {+function O_e(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -40292,21 +40308,21 @@ function E_e(e) {log: e.issues_log || ""} : null;}-var CM = "peach.library-processing.announced", D_e = 120;-function O_e(e, t, n) {+var SM = "peach.library-processing.announced", k_e = 120;+function A_e(e, t, n) {if (e.status !== "complete") return;- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < D_e;+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < k_e;if (n || r) {try {- if (e.job_id && localStorage.getItem(CM) === e.job_id) return;- e.job_id && localStorage.setItem(CM, e.job_id);+ if (e.job_id && localStorage.getItem(SM) === e.job_id) return;+ e.job_id && localStorage.setItem(SM, 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 wM = "/api/media-repair", TM = ["media-repair"], EM = ["media-repair", "libraries"], k_e = {+var CM = "/api/media-repair", wM = ["media-repair"], TM = ["media-repair", "libraries"], j_e = {status: "idle",library: "",stage: "",@@ -40318,41 +40334,41 @@ var wM = "/api/media-repair", TM = ["media-repair"], EM = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, DM = (e) => nn(wM, e), OM = async (e) => (await nn("/api/libraries", e)).libraries || [];-async function A_e(e) {+}, EM = (e) => nn(CM, e), DM = async (e) => (await nn("/api/libraries", e)).libraries || [];+async function M_e(e) {await Promise.all([V.fetchQuery({+ queryKey: wM,+ queryFn: () => EM(e)+ }), V.fetchQuery({queryKey: TM,queryFn: () => DM(e)- }), V.fetchQuery({- queryKey: EM,- queryFn: () => OM(e)})]);}-var kM = (e) => Number(e).toLocaleString();-function j_e(e) {+var OM = (e) => Number(e).toLocaleString();+function N_e(e) {if (e.status === "running") {- let t = e.total ? `${kM(Math.min(e.checked || 0, e.total))} / ${kM(e.total)}` : "准备中";+ let t = e.total ? `${OM(Math.min(e.checked || 0, e.total))} / ${OM(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${kM(e.repaired)} 部,${kM(e.failed)} 部修不了` : `修好 ${kM(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${OM(e.repaired)} 部,${OM(e.failed)} 部修不了` : `修好 ${OM(e.repaired)} 部` : "";}-var M_e = (e) => `${kM(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, N_e = "/api/quality-goals?limit=200", AM = ["quality-goals"], jM = (e) => nn(N_e, e);-async function P_e(e) {+var P_e = (e) => `${OM(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, F_e = "/api/quality-goals?limit=200", kM = ["quality-goals"], AM = (e) => nn(F_e, e);+async function I_e(e) {await V.fetchQuery({- queryKey: AM,- queryFn: () => jM(e)+ queryKey: kM,+ queryFn: () => AM(e)});}-var F_e = (e) => e.has_cover ? Ji(e) : `/poster?id=${e.id}&c=4`;+var L_e = (e) => e.has_cover ? Ji(e) : `/poster?id=${e.id}&c=4`;//#endregion//#region src/selection.ts-function MM(e, t, n, r, i, a = i || !e.has(r)) {+function jM(e, t, n, r, i, a = i || !e.has(r)) {let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;}//#endregion//#region src/react/review/review.ts-var I_e = "/api/review", L_e = "/api/review/decision", R_e = "/api/review/genre", NM = ["review"], PM = {+var R_e = "/api/review", z_e = "/api/review/decision", B_e = "/api/review/genre", MM = ["review"], NM = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -40362,15 +40378,15 @@ var I_e = "/api/review", L_e = "/api/review/decision", R_e = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, z_e = Object.keys(PM), B_e = "metadata_fields", FM = (e) => typeof e == "string" && Object.hasOwn(PM, e), V_e = {+}, V_e = Object.keys(NM), H_e = "metadata_fields", PM = (e) => typeof e == "string" && Object.hasOwn(NM, e), U_e = {creator_tags: "creator",western_identity: "creator"};-function H_e(e, t) {+function W_e(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 IM(e, t) {+function FM(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -40387,10 +40403,10 @@ function IM(e, t) {}return [...n.values()];}-function U_e(e, t, n) {- return n && IM(e, t).find((e) => e.key === n)?.rows || e;+function G_e(e, t, n) {+ return n && FM(e, t).find((e) => e.key === n)?.rows || e;}-function W_e(e, t) {+function K_e(e, t) {let n = un(e.length, 20), r = dn(t, n);return {page: r,@@ -40398,32 +40414,32 @@ function W_e(e, t) {rows: e.slice((r - 1) * 20, r * 20)};}-function G_e(e) {+function q_e(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 K_e(e, t, n, r, i, a) {- return MM(e, t, n, r, i, a);+function J_e(e, t, n, r, i, a) {+ return jM(e, t, n, r, i, a);}-function LM(e, t) {+function IM(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function RM(e, t) {+function LM(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var zM = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function q_e(e, t) {- let n = RM(e, t), r = zM(e, t);+var RM = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function Y_e(e, t) {+ let n = LM(e, t), r = RM(e, t);return r ? `${n} · ${r}` : n;}-var J_e = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Y_e = (e) => String(e.tags || "").split("|").filter(Boolean), X_e = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function Z_e(e) {+var X_e = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Z_e = (e) => String(e.tags || "").split("|").filter(Boolean), Q_e = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function $_e(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function BM(e, t, n, r) {+function zM(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -40439,19 +40455,19 @@ function BM(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var Q_e = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", VM = (e) => nn(I_e, e), HM = (e) => B(L_e, e), $_e = (e, t) => B(R_e, {+var eve = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", BM = (e) => nn(R_e, e), VM = (e) => B(z_e, e), tve = (e, t) => B(B_e, {genre: e,tag: t});-async function eve(e) {+async function nve(e) {await V.fetchQuery({- queryKey: NM,- queryFn: () => VM(e)+ queryKey: MM,+ queryFn: () => BM(e)});}-function UM(e, t) {+function HM(e, t) {let n = new Set(t);- n.size && V.setQueryData(NM, (t) => {+ n.size && V.setQueryData(MM, (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 : {@@ -40467,207 +40483,207 @@ function UM(e, t) {};});}-var tve = () => V.invalidateQueries({- queryKey: NM,+var rve = () => V.invalidateQueries({+ queryKey: MM,exact: !0});-function nve(e, t) {+function ive(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${_n(e.fetched_at)} 的缓存` : e?.error || t;}//#endregion//#region src/react/data-cleanup/links.ts-var rve = "/api/links", WM = "/api/links/check", GM = "/api/links/prune", KM = ["links"], qM = ["links", "check"], JM = ["links", "prune"], YM = {+var ave = "/api/links", UM = "/api/links/check", WM = "/api/links/prune", GM = ["links"], KM = ["links", "check"], qM = ["links", "prune"], JM = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function XM(e) {+async function YM(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var ZM = (e) => nn(rve, e), QM = (e) => B(WM, { status_only: !0 }, "POST", e), ive = ({ retry: e, checkId: t }) => XM(B(WM, e ? {+var XM = (e) => nn(ave, e), ZM = (e) => B(UM, { status_only: !0 }, "POST", e), ove = ({ retry: e, checkId: t }) => YM(B(UM, e ? {retry: e,check_id: t-} : { restart: !0 })), $M = (e) => nn(GM, e), ave = (e) => XM(B(GM, {+} : { restart: !0 })), QM = (e) => nn(WM, e), sve = (e) => YM(B(WM, {confirm: !0,check_id: e,background: !0-})), eN = (e) => Number(e || 0).toLocaleString(), ove = (e) => `已删除 ${eN(e.removed)} 条;${e.marked ? `已隐退女优的 ${eN(e.marked)} 条留作不可点的记录;` : ""}保留 ${eN(e.recovered)} 条未确认失效的链接。`;-function sve(e) {+})), $M = (e) => Number(e || 0).toLocaleString(), cve = (e) => `已删除 ${$M(e.removed)} 条;${e.marked ? `已隐退女优的 ${$M(e.marked)} 条留作不可点的记录;` : ""}保留 ${$M(e.recovered)} 条未确认失效的链接。`;+function lve(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${eN(e.checked)} / ${eN(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${$M(e.checked)} / ${$M(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}//#endregion//#region src/react/settings-panel/settings-data.ts-var tN = "/api/settings", nN = "/api/follow/schedule", rN = "/api/thumbnail-jobs", iN = ["settings"], aN = ["follow-schedule"], oN = ["thumbnail-jobs"], cve = (e) => nn(tN, e), sN = (e) => nn(nN, e), cN = (e) => nn(rN, e);-function lve(e = V) {+var eN = "/api/settings", tN = "/api/follow/schedule", nN = "/api/thumbnail-jobs", rN = ["settings"], iN = ["follow-schedule"], aN = ["thumbnail-jobs"], uve = (e) => nn(eN, e), oN = (e) => nn(tN, e), sN = (e) => nn(nN, e);+function dve(e = V) {return e.fetchQuery({- queryKey: aN,- queryFn: ({ signal: e }) => sN(e),+ queryKey: iN,+ queryFn: ({ signal: e }) => oN(e),staleTime: 0}).catch(() => null), e.fetchQuery({- queryKey: oN,- queryFn: ({ signal: e }) => cN(e),+ queryKey: aN,+ queryFn: ({ signal: e }) => sN(e),staleTime: 0}).catch(() => null), e.fetchQuery({- queryKey: iN,- queryFn: ({ signal: e }) => cve(e),+ queryKey: rN,+ queryFn: ({ signal: e }) => uve(e),staleTime: 0}).catch(() => null);}-function lN() {+function cN() {return ft({- mutationFn: (e) => B(tN, e),- onSuccess: (e) => V.setQueryData(iN, e)+ mutationFn: (e) => B(eN, e),+ onSuccess: (e) => V.setQueryData(rN, e)});}-function uve() {+function fve() {return ft({- mutationFn: (e) => B(nN, {+ mutationFn: (e) => B(tN, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => V.setQueryData(aN, e)+ onSuccess: (e) => V.setQueryData(iN, e)});}-function dve() {+function pve() {return ft({- mutationFn: (e) => B(rN, { mode: e }),- onSuccess: (e) => V.setQueryData(oN, e)+ mutationFn: (e) => B(nN, { mode: e }),+ onSuccess: (e) => V.setQueryData(aN, e)});}-function fve(e) {- return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${pk(e.last_error)}` : e.last_finished_at ? `上次完成 ${_n(e.last_finished_at)} · 新增 ${(e.last_added || 0).toLocaleString()}` : e.next_run_at ? `下次 ${_n(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";+function mve(e) {+ return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${fk(e.last_error)}` : e.last_finished_at ? `上次完成 ${_n(e.last_finished_at)} · 新增 ${(e.last_added || 0).toLocaleString()}` : e.next_run_at ? `下次 ${_n(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";}-function pve(e) {- return e.status === "running" ? "正在采集,进度在活动页查看。" : e.status === "failed" ? `上一轮采集停下了:${pk(e.stopped) || "原因未取得"}` : e.status === "complete" ? e.stopped ? "上一轮采集已按停。" : "上一轮采集已完成。" : e.mode === "off" ? "关闭时不采集;已经生成的图留在盘上,清理走数据管理页。" : "选定档位后从最近看过的片子开始采集。";+function hve(e) {+ return e.status === "running" ? "正在采集,进度在活动页查看。" : e.status === "failed" ? `上一轮采集停下了:${fk(e.stopped) || "原因未取得"}` : e.status === "complete" ? e.stopped ? "上一轮采集已按停。" : "上一轮采集已完成。" : e.mode === "off" ? "关闭时不采集;已经生成的图留在盘上,清理走数据管理页。" : "选定档位后从最近看过的片子开始采集。";}//#endregion//#region src/react/data-cleanup/organize.ts-var mve = "/api/organize", hve = "/api/organize/preview", gve = "/api/organize/apply", _ve = "/api/organize/rollback", uN = ["organize"], dN = (e) => nn(mve, e);-async function vve(e) {+var gve = "/api/organize", _ve = "/api/organize/preview", vve = "/api/organize/apply", yve = "/api/organize/rollback", lN = ["organize"], uN = (e) => nn(gve, e);+async function bve(e) {await V.fetchQuery({- queryKey: uN,- queryFn: () => dN(e)+ queryKey: lN,+ queryFn: () => uN(e)});}-var yve = (e) => B(hve, e), bve = (e) => e.kind === "apply" ? B(gve, {+var xve = (e) => B(_ve, e), Sve = (e) => e.kind === "apply" ? B(vve, {...e.request,confirm: !0-}) : B(_ve, { confirm: !0 });-async function xve(e) {- V.setQueryData(uN, (t) => t && {+}) : B(yve, { confirm: !0 });+async function Cve(e) {+ V.setQueryData(lN, (t) => t && {...t,templates: e});try {- await B(tN, { organizeTemplates: e });+ await B(eN, { organizeTemplates: e });} catch {}}-var Sve = (e, t) => e && {+var wve = (e, t) => e && {...e,...t-}, Cve = /目录模板|分隔符|盘符|`\.`/;-function fN(e) {+}, Tve = /目录模板|分隔符|盘符|`\.`/;+function dN(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var pN = (e) => Number(e || 0).toLocaleString();-function wve(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${pN(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${pN(e.counts.change)} 个文件会改名或移动,${pN(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+var fN = (e) => Number(e || 0).toLocaleString();+function Eve(e) {+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${fN(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${fN(e.counts.change)} 个文件会改名或移动,${fN(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function mN(e) {+function pN(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${pN(r)} 个文件${n ? `,${pN(n)} 行未能退回` : ""}。` : `已整理 ${pN(r)} 个文件${n ? `,${pN(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${fN(r)} 个文件${n ? `,${fN(n)} 行未能退回` : ""}。` : `已整理 ${fN(r)} 个文件${n ? `,${fN(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}//#endregion//#region src/react/data-cleanup/resource-sync.ts-var hN = "/api/resource-sync/scan", gN = "/api/resource-sync/apply", _N = ["resource-sync", "scan"], vN = ["resource-sync", "apply"], yN = (e) => B(hN, {+var mN = "/api/resource-sync/scan", hN = "/api/resource-sync/apply", gN = ["resource-sync", "scan"], _N = ["resource-sync", "apply"], vN = (e) => B(mN, {background: !0,status_only: !0-}, "POST", e), Tve = () => B(hN, {+}, "POST", e), Dve = () => B(mN, {background: !0,restart: !0-}), bN = (e) => nn(gN, e), Eve = (e) => B(gN, {+}), yN = (e) => nn(hN, e), Ove = (e) => B(hN, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), xN = (e) => (e?.sources ?? []).some((e) => u_e.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function Dve(e) {- xN(V.getQueryData(pn)) && await Promise.all([V.fetchQuery({+}), bN = (e) => (e?.sources ?? []).some((e) => f_e.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+async function kve(e) {+ bN(V.getQueryData(pn)) && await Promise.all([V.fetchQuery({+ queryKey: gN,+ queryFn: () => vN(e)+ }), V.fetchQuery({queryKey: _N,queryFn: () => yN(e)- }), V.fetchQuery({- queryKey: vN,- queryFn: () => bN(e)})]);}-var Ove = (e) => !!(e?.missing || e?.empty || e?.cache?.files), kve = {+var Ave = (e) => !!(e?.missing || e?.empty || e?.cache?.files), jve = {local: "本地磁盘",115: "115",pikpak: "PikPak"-}, SN = (e) => Number(e || 0).toLocaleString(), Ave = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", CN = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), wN = (e) => e.vanish ? `${SN(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", TN = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", jve = (e) => `将永久删除文件已不在盘上的 ${SN(CN(e))} 条记录和 ${SN(e.empty)} 个空文件夹,并清理 ${SN(e.cache?.files)} 个闲置缓存。${TN(e)}${wN(e)}`, Mve = (e) => `将永久删除文件已不在盘上的 ${SN(CN(e))} 条记录(含回收站里的)、${SN(e.empty)} 个空文件夹,并清理 ${SN(e.cache?.files)} 个闲置缓存。来源根目录保留。${TN(e)}${wN(e)}`, Nve = (e) => e.online ? [- `找不到文件 · 共 ${SN(e.total)} 项`,- e.vanish ? `${SN(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${SN(e.empty)} 个` : "",- e.unreadable ? `${SN(e.unreadable)} 个目录读取失败,已跳过` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${SN(e.total)} 项`;-function EN(e) {+}, xN = (e) => Number(e || 0).toLocaleString(), Mve = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", SN = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), CN = (e) => e.vanish ? `${xN(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", wN = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Nve = (e) => `将永久删除文件已不在盘上的 ${xN(SN(e))} 条记录和 ${xN(e.empty)} 个空文件夹,并清理 ${xN(e.cache?.files)} 个闲置缓存。${wN(e)}${CN(e)}`, Pve = (e) => `将永久删除文件已不在盘上的 ${xN(SN(e))} 条记录(含回收站里的)、${xN(e.empty)} 个空文件夹,并清理 ${xN(e.cache?.files)} 个闲置缓存。来源根目录保留。${wN(e)}${CN(e)}`, Fve = (e) => e.online ? [+ `找不到文件 · 共 ${xN(e.total)} 项`,+ e.vanish ? `${xN(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${xN(e.empty)} 个` : "",+ e.unreadable ? `${xN(e.unreadable)} 个目录读取失败,已跳过` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${xN(e.total)} 项`;+function TN(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 ? `${SN(t.length)} 条记录没有删除(${o})` : "",- n ? `${SN(n)} 个文件夹没有删除` : "",- r.length ? `${SN(r.length)} 个缓存没有清理` : ""+ t.length ? `${xN(t.length)} 条记录没有删除(${o})` : "",+ n ? `${xN(n)} 个文件夹没有删除` : "",+ r.length ? `${xN(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}-var Pve = (e, t) => {- let { rest: n } = EN(e), r = `已永久删除 ${SN(e.purged)} 条失效记录和 ${SN(e.dirs_removed)} 个空文件夹,清理 ${SN(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${SN(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${SN(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+var Ive = (e, t) => {+ let { rest: n } = TN(e), r = `已永久删除 ${xN(e.purged)} 条失效记录和 ${xN(e.dirs_removed)} 个空文件夹,清理 ${xN(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${xN(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${xN(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, Fve = "/api/review?counts=1", DN = ["review", "counts"], Ive = "/api/ads?limit=1", ON = ["junk-summary"], kN = "/api/items?state=trash&limit=1", AN = ["trash-summary"], Lve = [+}, Lve = "/api/review?counts=1", EN = ["review", "counts"], Rve = "/api/ads?limit=1", DN = ["junk-summary"], ON = "/api/items?state=trash&limit=1", kN = ["trash-summary"], zve = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], jN = (e) => nn(Fve, e), MN = (e) => nn(Ive, e), NN = (e) => {+], AN = (e) => nn(Lve, e), jN = (e) => nn(Rve, e), MN = (e) => {let t = sessionStorage.getItem("peach.library");- return nn(t ? `${kN}&library=${encodeURIComponent(t)}` : kN, e);-}, PN = (e) => Number(e || 0).toLocaleString();-function Rve(e) {- let t = PM, 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 nn(t ? `${ON}&library=${encodeURIComponent(t)}` : ON, e);+}, NN = (e) => Number(e || 0).toLocaleString();+function Bve(e) {+ let t = NM, 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 zve(e) {+function Vve(e) {if (!e) return "";- let t = Lve.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${PN(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${PN(e.dismissed_total)}`), t.join(" · ");+ let t = zve.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${NN(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${NN(e.dismissed_total)}`), t.join(" · ");}-var Bve = [- [DN, ({ signal: e }) => jN(e)],- [AM, ({ signal: e }) => jM(e)],- [AN, ({ signal: e }) => NN(e)],+var Hve = [+ [EN, ({ signal: e }) => AN(e)],+ [kM, ({ signal: e }) => AM(e)],+ [kN, ({ signal: e }) => MN(e)],+ [GM, ({ signal: e }) => XM(e)],[KM, ({ signal: e }) => ZM(e)],- [qM, ({ signal: e }) => QM(e)],- [JM, ({ signal: e }) => $M(e)]+ [qM, ({ signal: e }) => QM(e)]];-async function Vve(e) {- let t = location.hash === "#resource-sync", n = Bve.map(([n, r]) => {+async function Uve(e) {+ let t = location.hash === "#resource-sync", n = Hve.map(([n, r]) => {if (t) return V.fetchQuery({queryKey: n,queryFn: () => r({ signal: e })@@ -40680,49 +40696,49 @@ async function Vve(e) {await Promise.all([...n,V.fetchQuery({- queryKey: ON,- queryFn: () => MN(e)+ queryKey: DN,+ queryFn: () => jN(e)}),V.fetchQuery({- queryKey: uM,- queryFn: () => fM(e)+ queryKey: lM,+ queryFn: () => dM(e)}),- lM(e).then(() => Dve(e)),- yM(e),- A_e(e),- vve(e)+ cM(e).then(() => kve(e)),+ vM(e),+ M_e(e),+ bve(e)]);}//#endregion//#region src/react/components/stat-card.tsx-var Hve = [+var Wve = ["text-chart-6","text-chart-5","text-chart-7","text-chart-8"-], Uve = [+], Gve = ["bg-chart-6/10","bg-chart-5/10","bg-chart-7/10","bg-chart-8/10"];-function FN(e = {}) {- return `${VO({+function PN(e = {}) {+ return `${BO({...e,padding: "none"})} flex flex-col overflow-hidden pt-4 text-left`;}-var IN = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Wve = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";-function LN({ interactive: e = !1 } = {}) {- return VO({+var FN = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Kve = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";+function IN({ interactive: e = !1 } = {}) {+ return BO({padding: "none",radius: "plain",interactive: e,className: "flex min-h-33 flex-col gap-2 p-4 text-left"});}-var Gve = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";-function RN({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {+var qve = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";+function LN({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",@@ -40755,13 +40771,13 @@ function RN({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta})] });}-function zN({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {+function RN({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",children: [t ? /* @__PURE__ */ (0, x.jsx)("i", {"aria-hidden": !0,- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Hve[n % 4]} ${Uve[n % 4]}`,+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Wve[n % 4]} ${Gve[n % 4]}`,children: /* @__PURE__ */ (0, x.jsx)(t, {"aria-hidden": !0,className: "size-4"@@ -40783,16 +40799,16 @@ function zN({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {}//#endregion//#region src/react/components/menu-dialog.tsx-function BN(e) {- let t = dj("hover");- return /* @__PURE__ */ (0, x.jsx)(TA, {+function zN(e) {+ let t = uj("hover");+ return /* @__PURE__ */ (0, x.jsx)(wA, {...e,ref: t});}//#endregion//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var VN = [+var BN = ["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",@@ -40800,28 +40816,28 @@ var VN = ["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(" "), Kve = "w-[266px]", qve = "flex w-full flex-col gap-1 outline-none", HN = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), UN = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", Jve = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", WN = {+].join(" "), Jve = "w-[266px]", Yve = "flex w-full flex-col gap-1 outline-none", VN = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), HN = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", Xve = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", UN = {medium: "h-9 rounded-2lg p-2 text-body-medium",small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"-}, Yve = {- medium: WN.medium,+}, Zve = {+ medium: UN.medium,small: "size-8 rounded-lg p-0 text-body-medium"-}, Xve = {+}, Qve = {medium: "size-5 shrink-0",small: "size-[18px] shrink-0"-}, Zve = {+}, $ve = {medium: "inline-flex items-center justify-center px-1 shrink-0",small: "inline-flex items-center justify-center px-0.5 shrink-0"-}, Qve = {+}, eye = {primary: "bg-button-primary text-text-white shadow-xs",secondary: "bg-background-primary-default text-text-primary border border-border-button-default shadow-xs",ghost: "bg-button-ghost-background text-button-ghost-foreground"-}, GN = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;-function KN({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {- let o = r ? WN[t] : Yve[t], s = n ? GN(n, Xve[t]) : "", c = r ? `<span class="${Zve[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";- return `<button type="button" class="${Jve} ${o} ${Qve[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;+}, WN = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;+function GN({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {+ let o = r ? UN[t] : Zve[t], s = n ? WN(n, Qve[t]) : "", c = r ? `<span class="${$ve[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";+ return `<button type="button" class="${Xve} ${o} ${eye[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;}-var $ve = {+var tye = {md: {box: "gap-1.5 px-2.5 py-2 text-body-medium",value: "gap-[5px]",@@ -40833,156 +40849,156 @@ var $ve = {chevron: "size-3.5"}};-function qN(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {- let i = $ve[t];- return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${GN("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;+function KN(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {+ let i = tye[t];+ return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${WN("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;}-var eye = "flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default", tye = "flex min-w-0 flex-col gap-2", nye = "text-body-regular text-text-secondary", rye = "text-display-4-medium tabular-nums text-text-primary", iye = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";-function JN(e) {- return `<div data-collection-summary="" class="${eye}"><div class="${tye}"><span class="${nye}">${e}</span><strong class="${rye}"><span data-skeleton="count" aria-hidden="true" class="${iye}"></span></strong></div></div>`;+var nye = "flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default", rye = "flex min-w-0 flex-col gap-2", iye = "text-body-regular text-text-secondary", aye = "text-display-4-medium tabular-nums text-text-primary", oye = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";+function qN(e) {+ return `<div data-collection-summary="" class="${nye}"><div class="${rye}"><span class="${iye}">${e}</span><strong class="${aye}"><span data-skeleton="count" aria-hidden="true" class="${oye}"></span></strong></div></div>`;}//#endregion//#region src/management.ts-var YN = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", XN = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", ZN = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", QN = "type=\"button\" disabled data-skeleton-action", $N = "disabled data-skeleton-action", aye = "aria-disabled=\"true\"", eP = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, tP = (e, t) => `<div data-geist-fieldset-content>+var JN = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", YN = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", XN = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", ZN = "type=\"button\" disabled data-skeleton-action", QN = "disabled data-skeleton-action", sye = "aria-disabled=\"true\"", $N = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, eP = (e, t) => `<div data-geist-fieldset-content><h3 class="text-title-2-medium text-text-primary">${e}</h3><p class="text-body-2-regular text-text-secondary">${t}</p></div>`;-function oye() {- return eP(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>- ${tP("扫描与采集", YN)}- <footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${GN("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${KN({+function cye() {+ return $N(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>+ ${eP("扫描与采集", JN)}+ <footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${WN("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${GN({glyph: "database",label: "扫描并补全资料",- attrs: $N- })}${KN({+ attrs: QN+ })}${GN({glyph: "chevron-down",- attrs: `${$N} aria-label="更多扫描与采集方式"`+ attrs: `${QN} aria-label="更多扫描与采集方式"`})}</span></footer></section>`);}-function sye() {- return eP(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>- ${tP("媒体修复", XN)}- <footer data-geist-fieldset-footer>${qN(ZN, {+function lye() {+ return $N(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>+ ${eP("媒体修复", YN)}+ <footer data-geist-fieldset-footer>${KN(XN, {className: "w-48",- attrs: aye- })}${KN({+ attrs: sye+ })}${GN({label: "开始修复",- attrs: $N+ attrs: QN})}</footer></section>`);}-function nP() {+function tP() {let e = [["人工复核", "square-check-big"],["高清版", "sparkles"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["回收站", "trash"]- ], t = `<span class="geist-button ui-organize-preset-skeleton">${ZN}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>- <span class="geist-input ui-organize-input-skeleton">${ZN}</span></div>`;+ ], t = `<span class="geist-button ui-organize-preset-skeleton">${XN}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>+ <span class="geist-input ui-organize-input-skeleton">${XN}</span></div>`;return `<div class="ui-cleanuppage" data-skeleton="cleanup" aria-busy="true" aria-label="正在读取数据管理状态"><div class="ui-cleanupstats">${e.map(([e, t]) => `<button type="button" class="board-plain-stat" disabled><span class="ui-board-plain-stat-head"><span class="ui-board-stat-tile">${L(t)}</span>${e}</span>- <strong>${ZN}</strong><span class="cleanupmeta">${ZN}</span></button>`).join("")}</div>+ <strong>${XN}</strong><span class="cleanupmeta">${XN}</span></button>`).join("")}</div><div class="cleanupgrid">- <div class="cleanupscraping">${oye()}</div>- <div class="cleanupmediarepair">${sye()}</div>+ <div class="cleanupscraping">${cye()}</div>+ <div class="cleanupmediarepair">${lye()}</div><section class="cleanupfieldset cleanuporganize" data-geist-fieldset data-cleanup-task aria-labelledby="cleanup-loading-organize"><div class="geist-fieldset-content"><h3 class="geist-fieldset-title" id="cleanup-loading-organize">整理</h3><p>按模板给文件改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p><div class="ui-organizefields">- <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${ZN}${L("chevron-down")}</span></span></div>+ <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${XN}${L("chevron-down")}</span></span></div>${n("文件名模板")}${n("目录模板")}<div class="ui-organizepresets">${t}</div>- <p class="cleanupmeta">${ZN}</p>+ <p class="cleanupmeta">${XN}</p></div></div>- <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${QN}>预览</button></footer>+ <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${ZN}>预览</button></footer></section></div><section class="ui-resourcesync" aria-labelledby="cleanup-loading-links"><h2 id="cleanup-loading-links">链接管理</h2><div class="resourcesyncbox" data-geist-fieldset data-cleanup-task data-fieldset-stack><div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">站外链接</h3>- <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${ZN}</b><small>${ZN}</small></div>${[+ <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${XN}</b><small>${XN}</small></div>${["官网/事务所","社交账号","作品资料站"- ].map((e) => `<div><span>${e}</span><b>${ZN}</b></div>`).join("")}</div>- <div class="ui-linkhosts"><span>主要站点</span><b>${ZN}</b></div></div></div>- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${QN}>${L("unlink")}<span>检查死链</span></button></div>+ ].map((e) => `<div><span>${e}</span><b>${XN}</b></div>`).join("")}</div>+ <div class="ui-linkhosts"><span>主要站点</span><b>${XN}</b></div></div></div>+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${ZN}>${L("unlink")}<span>检查死链</span></button></div></div></section><section class="ui-resourcesync" aria-labelledby="cleanup-loading-sync"><h2 id="cleanup-loading-sync">资源同步</h2><div class="resourcesyncbox" data-geist-fieldset data-cleanup-task><div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">文件与记录核对</h3><p>按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。</p></div>- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${QN}>${L("git-compare")}<span>检查文件</span></button></div>+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${ZN}>${L("git-compare")}<span>检查文件</span></button></div></div></section></div>`;}//#endregion//#region src/react/components/fieldset.tsx-var cye = VO({+var uye = BO({padding: "none",bordered: "line",className: "overflow-hidden"-}), lye = {+}), dye = {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"-}, uye = {+}, fye = {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"-}, dye = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", fye = {+}, pye = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", mye = {neutral: "border-border-button-default bg-card-footer",error: "border-border-error-default bg-background-tertiary-error"-}, pye = VO({+}, hye = BO({padding: "none",radius: "surface",bordered: "line",className: "overflow-hidden"-}), rP = "border-t border-border-button-default p-4 first:border-t-0";-function iP({ tone: e = "neutral", status: t, children: n }) {+}), nP = "border-t border-border-button-default p-4 first:border-t-0";+function rP({ tone: e = "neutral", status: t, children: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- className: `${dye} ${fye[e]}`,+ className: `${pye} ${mye[e]}`,children: [t ? /* @__PURE__ */ (0, x.jsx)("p", {className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,children: t}) : null, n]});}-function aP({ id: e, children: t }) {+function iP({ id: e, children: t }) {return /* @__PURE__ */ (0, x.jsx)("h2", {id: e,className: "text-title-2-medium! m-0! text-text-primary",children: t});}-function oP({ id: e, gap: t = "none", children: n }) {+function aP({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, x.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function sP({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function oP({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, x.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: `${cye} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,+ className: `${uye} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,children: [/* @__PURE__ */ (0, x.jsx)("div", {- className: lye[e],+ className: dye[e],children: a}), i ? /* @__PURE__ */ (0, x.jsx)("footer", {- className: uye[e],+ className: fye[e],children: i}) : null]});}//#endregion//#region src/react/components/overlay-scrollbar.ts-function cP() {+function sP() {let e = (0, b.useRef)(null);return (0, b.useEffect)(() => {ma(e.current);@@ -40990,7 +41006,7 @@ function cP() {}//#endregion//#region src/react/boardui/components/base/buttons/icon-button.tsx-var lP = IO({+var cP = FO({base: ["relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg","bg-background-primary-default text-foreground-icon-primary",@@ -41011,21 +41027,21 @@ var lP = IO({small: "size-4 shrink-0"}});-function uP({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function lP({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, x.jsx)("button", {ref: i,type: r,- className: FO(lP.base, lP.size[t], n),+ className: PO(cP.base, cP.size[t], n),...a,children: /* @__PURE__ */ (0, x.jsx)(e, {- className: lP.icon[t],+ className: cP.icon[t],"aria-hidden": !0})});}//#endregion//#region src/react/components/path-line.tsx-function mye({ className: e }) {+function gye({ className: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -41038,8 +41054,8 @@ function mye({ className: e }) {children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-open" })});}-var hye = "打开文件管理器失败,请重试";-function dP({ path: e, prefix: t, className: n, onRevealed: r }) {+var _ye = "打开文件管理器失败,请重试";+function uP({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(""), c = (0, b.useRef)(!0);(0, b.useEffect)(() => () => {c.current = !1;@@ -41050,7 +41066,7 @@ function dP({ path: e, prefix: t, className: n, onRevealed: r }) {try {await B("/api/reveal", { path: e }), r?.("已在资源管理器中显示");} catch (e) {- c.current && s(e instanceof en ? e.message : hye);+ c.current && s(e instanceof en ? e.message : _ye);} finally {c.current && a(!1);}@@ -41061,10 +41077,10 @@ function dP({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, x.jsxs)("p", {- className: FO("min-w-0 break-all", n),+ className: PO("min-w-0 break-all", n),children: [t, e]- }), /* @__PURE__ */ (0, x.jsx)(uP, {- icon: mye,+ }), /* @__PURE__ */ (0, x.jsx)(lP, {+ icon: gye,size: "small",className: "shrink-0","aria-label": "在资源管理器中显示",@@ -41079,38 +41095,38 @@ function dP({ path: e, prefix: t, className: n, onRevealed: r }) {}//#endregion//#region src/react/components/task-progress.tsx-function fP({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function dP({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-task-progress": !0,- className: r ? "flex flex-col gap-1.5" : VO({+ className: r ? "flex flex-col gap-1.5" : BO({variant: "outlined",padding: "none",className: "flex flex-col gap-1.5 px-4 py-3.5"}),- children: n && n > 0 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(KO, {+ children: n && n > 0 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(GO, {label: e,value: t,max: n}), /* @__PURE__ */ (0, x.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, x.jsx)(UO, { label: e })+ })] }) : /* @__PURE__ */ (0, x.jsx)(HO, { label: e })});}//#endregion//#region src/react/library-processing/use-library-processing.ts-function pP({ toast: e, mode: t, monitor: n }) {+function fP({ toast: e, mode: t, monitor: n }) {let r = t === "notice" || !!n, i = dt({- queryKey: _M,- queryFn: ({ signal: e }) => vM(e),- refetchInterval: (e) => C_e(e.state.data, r)+ queryKey: gM,+ queryFn: ({ signal: e }) => _M(e),+ refetchInterval: (e) => T_e(e.state.data, r)}), [a, o] = (0, b.useState)(null), s = (0, b.useRef)(void 0), c = i.data;return (0, b.useEffect)(() => {if (!c) return;let n = s.current;s.current = c.status;let r = n === "running" && c.status !== "running";- r && o(c), (r || t === "notice") && O_e(c, e, r);+ r && o(c), (r || t === "notice") && A_e(c, e, r);}, [c,t,@@ -41123,29 +41139,29 @@ function pP({ toast: e, mode: t, monitor: n }) {}//#endregion//#region src/react/library-processing/library-processing-card.tsx-var gye = [+var vye = [{label: "扫描并补全资料",- icon: aO,+ icon: iO,command: {}},{label: "只扫描",- icon: cO,+ icon: sO,command: { stage: "scan" }},{label: "只采集",- icon: ide,+ icon: ade,command: { stage: "collect" }}-], _ye = FO(HN, UN, "text-body-2-medium"), vye = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", yye = (e) => {+], yye = PO(VN, HN, "text-body-2-medium"), bye = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", xye = (e) => {let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;if (!t && !n && !r && !i) return "";let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];return r && a.push(`${r} 个同名冲突交回人工`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;-}, bye = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + yye(e);-function xye({ busy: e, onRun: t }) {+}, Sye = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + xye(e);+function Cye({ busy: e, onRun: t }) {let n = (0, b.useRef)(null), [r, i] = (0, b.useState)(!1), a = (n) => {e || (i(!1), t(n));};@@ -41154,14 +41170,14 @@ function xye({ busy: e, onRun: t }) {"data-split-button": !0,"data-variant": "primary",children: [/* @__PURE__ */ (0, x.jsx)(W, {- leadingIcon: aO,+ leadingIcon: iO,onClick: () => a({}),...K(e),children: "扫描并补全资料"}), /* @__PURE__ */ (0, x.jsx)(W, {ref: n,iconOnly: !0,- leadingIcon: tO,+ leadingIcon: eO,"aria-label": "更多扫描与采集方式","aria-haspopup": "dialog","aria-expanded": r,@@ -41170,19 +41186,19 @@ function xye({ busy: e, onRun: t }) {e || i(!0);}})]- }), /* @__PURE__ */ (0, x.jsx)(mA, {+ }), /* @__PURE__ */ (0, x.jsx)(pA, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "bottom end",offset: 4,- className: VN,- children: /* @__PURE__ */ (0, x.jsx)(BN, {+ className: BN,+ children: /* @__PURE__ */ (0, x.jsx)(zN, {"aria-label": "更多扫描与采集方式",className: "flex w-52 flex-col gap-1 outline-none",- children: gye.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {+ children: vye.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",- className: _ye,+ className: yye,onClick: () => a(n),children: [/* @__PURE__ */ (0, x.jsx)(t, {"aria-hidden": !0,@@ -41192,8 +41208,8 @@ function xye({ busy: e, onRun: t }) {})})] });}-function Sye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = E_e(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = T_e(e.notes || {}), c = cP();+function wye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = O_e(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = D_e(e.notes || {}), c = sP();return /* @__PURE__ */ (0, x.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",@@ -41201,7 +41217,7 @@ function Sye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {e.status === "running" && e.stalled ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "warning",title: "处理较慢",- children: vye+ children: bye}) : null,t || e.status === "failed" ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",@@ -41213,7 +41229,7 @@ function Sye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,extra: a ? /* @__PURE__ */ (0, x.jsx)("div", {className: "mt-1.5 border-t border-current/20 pt-1.5",- children: /* @__PURE__ */ (0, x.jsxs)(sk, {+ children: /* @__PURE__ */ (0, x.jsxs)(ok, {summary: a.label,children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "relative",@@ -41244,7 +41260,7 @@ function Sye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}), a.log ? /* @__PURE__ */ (0, x.jsx)("div", {className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",- children: /* @__PURE__ */ (0, x.jsx)(dP, {+ children: /* @__PURE__ */ (0, x.jsx)(uP, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -41258,13 +41274,13 @@ function Sye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {n?.status === "complete" ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "success",title: "处理完成",- children: bye(n)+ children: Sye(n)}) : null,e.status !== "running" && s ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "neutral",extra: e.issues_log ? /* @__PURE__ */ (0, x.jsx)("div", {className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",- children: /* @__PURE__ */ (0, x.jsx)(dP, {+ children: /* @__PURE__ */ (0, x.jsx)(uP, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -41276,38 +41292,38 @@ function Sye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function mP(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = pP(e), o = ft({- mutationFn: (e) => B(gM, e),+function pP(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = fP(e), o = ft({+ mutationFn: (e) => B(hM, e),onSuccess: (e) => {- a(), V.setQueryData(_M, e), V.invalidateQueries({ queryKey: _M });+ a(), V.setQueryData(gM, e), V.invalidateQueries({ queryKey: gM });}});(0, b.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? z(o.error) : r.isError ? r.data ? bM : z(r.error) : "", l = o.isPending || s.status === "running", u = SM(s), d = (e) => {+ let s = r.data ?? { status: "idle" }, c = o.error ? z(o.error) : r.isError ? r.data ? yM : z(r.error) : "", l = o.isPending || s.status === "running", u = xM(s), d = (e) => {l || (o.reset(), o.mutate(e));};return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, x.jsx)(sP, {+ children: [/* @__PURE__ */ (0, x.jsx)(oP, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(XO, {+ /* @__PURE__ */ (0, x.jsx)(YO, {href: "/scraping",size: "small",- trailingIcon: nO,+ trailingIcon: tO,children: "来源和凭证"}),- s.candidates ? /* @__PURE__ */ (0, x.jsx)(XO, {+ s.candidates ? /* @__PURE__ */ (0, x.jsx)(YO, {href: "/review",size: "small",- trailingIcon: nO,+ trailingIcon: tO,children: "复核资料"}) : null,- /* @__PURE__ */ (0, x.jsx)(xye, {+ /* @__PURE__ */ (0, x.jsx)(Cye, {busy: l,onRun: d})@@ -41315,12 +41331,12 @@ function mP(e) {children: /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(oP, { children: "扫描与采集" }),+ /* @__PURE__ */ (0, x.jsx)(aP, { children: "扫描与采集" }),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: YN+ children: JN}),- s.status === "running" ? /* @__PURE__ */ (0, x.jsx)(fP, {+ s.status === "running" ? /* @__PURE__ */ (0, x.jsx)(dP, {embedded: !0,label: u,value: Math.min(s.checked || 0, s.total || 0),@@ -41328,7 +41344,7 @@ function mP(e) {}) : null]})- }), /* @__PURE__ */ (0, x.jsx)(Sye, {+ }), /* @__PURE__ */ (0, x.jsx)(wye, {state: s,problem: c,settled: i,@@ -41344,7 +41360,7 @@ function mP(e) {}//#endregion//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function Cye(e) {+function Tye(e) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -41358,7 +41374,7 @@ function Cye(e) {})});}-function wye(e) {+function Eye(e) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -41372,7 +41388,7 @@ function wye(e) {}//#endregion//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function Tye(e, t, n) {+function Dye(e, t, n) {(0, b.useEffect)(() => {if (!e) return;let r = (e) => {@@ -41386,7 +41402,7 @@ function Tye(e, t, n) {n]);}-function Eye(e, t) {+function Oye(e, t) {let n = (0, b.useRef)(!1);return (0, b.useEffect)(() => {if (!e) return;@@ -41400,33 +41416,33 @@ function Eye(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var hP = (0, b.createContext)("md");-function gP({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var mP = (0, b.createContext)("md");+function hP({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, b.useRef)(null), u = (0, b.useRef)(null), [d, f] = (0, b.useState)(!1);- Tye(d, () => f(!1), [l, u]);- let p = Eye(d, l);- return /* @__PURE__ */ (0, x.jsx)(Dhe, {+ Dye(d, () => f(!1), [l, u]);+ let p = Oye(d, l);+ return /* @__PURE__ */ (0, x.jsx)(khe, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: FO("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(zpe, {+ className: PO("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(Vpe, {ref: l,- className: FO("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),- children: [/* @__PURE__ */ (0, x.jsx)(Ahe, {- className: FO("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: PO("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),+ children: [/* @__PURE__ */ (0, x.jsx)(Mhe, {+ className: PO("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, x.jsx)(Cye, { className: FO("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, x.jsx)(mA, {+ }), /* @__PURE__ */ (0, x.jsx)(Tye, { className: PO("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, x.jsx)(pA, {ref: u,isNonModal: !0,offset: 4,- className: FO(Kve, VN, "p-2", n),- children: /* @__PURE__ */ (0, x.jsx)(Jme, {+ className: PO(Jve, BN, "p-2", n),+ children: /* @__PURE__ */ (0, x.jsx)(Xme, {items: a,- className: FO(qve, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, x.jsx)(hP.Provider, {+ className: PO(Yve, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, x.jsx)(mP.Provider, {value: r,children: i})@@ -41434,19 +41450,19 @@ function gP({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function _P({ className: e, children: t, ...n }) {- let r = (0, b.useContext)(hP);- return /* @__PURE__ */ (0, x.jsx)(Zme, {+function gP({ className: e, children: t, ...n }) {+ let r = (0, b.useContext)(mP);+ return /* @__PURE__ */ (0, x.jsx)($me, {...n,- className: (t) => FO(HN, 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) => PO(VN, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}//#endregion//#region src/react/background-job.ts-var vP = 2e3, Dye = (e) => e, Oye = (e, t) => t;-function yP(e) {- let { queryKey: t, jobOf: n = Dye, withJob: r = Oye, idlePollMs: i } = e, [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(e);+var _P = 2e3, kye = (e) => e, Aye = (e, t) => t;+function vP(e) {+ let { queryKey: t, jobOf: n = kye, withJob: r = Aye, idlePollMs: i } = e, [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(e);(0, b.useEffect)(() => {l.current = e;});@@ -41455,7 +41471,7 @@ function yP(e) {queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? vP : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? _P : i ?? !1;}}), d = ft({mutationFn: (e) => l.current.start(e),@@ -41480,32 +41496,32 @@ function yP(e) {}//#endregion//#region src/react/media-repair/media-repair-card.tsx-var kye = (e) => Ua[e] || e, bP = (e) => V.setQueryData(TM, e);-function Aye() {+var jye = (e) => Ua[e] || e, yP = (e) => V.setQueryData(wM, e);+function Mye() {let e = dt({- queryKey: TM,- queryFn: ({ signal: e }) => DM(e),- refetchInterval: (e) => e.state.data?.status === "running" && vP+ queryKey: wM,+ queryFn: ({ signal: e }) => EM(e),+ refetchInterval: (e) => e.state.data?.status === "running" && _P}), t = dt({- queryKey: EM,- queryFn: ({ signal: e }) => OM(e)- }), [n, r] = (0, b.useState)(""), i = qO(), a = e.data ?? k_e, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {+ queryKey: TM,+ queryFn: ({ signal: e }) => DM(e)+ }), [n, r] = (0, b.useState)(""), i = KO(), a = e.data ?? j_e, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {c && rs({title: `修复媒体库「${c.name}」`,body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),confirmLabel: "修复媒体库",- onConfirm: async () => bP(await B(wM, {+ onConfirm: async () => yP(await B(CM, {library: c.id,restart: !0}))});- }, u = () => void i.run("stop", (e) => B(wM, { stop: !0 }, "POST", e), bP), d = j_e(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");+ }, u = () => void i.run("stop", (e) => B(CM, { stop: !0 }, "POST", e), yP), d = N_e(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, x.jsx)(sP, {+ children: [/* @__PURE__ */ (0, x.jsx)(oP, {layout: "split",label: "媒体修复",- footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(gP, {+ footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": "媒体库",className: "w-48",selectedKey: c?.id ?? null,@@ -41513,10 +41529,10 @@ function Aye() {onSelectionChange: (e) => {e !== null && r(String(e));},- children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(_P, {+ children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(gP, {id: e.id,textValue: e.name,- children: [/* @__PURE__ */ (0, x.jsx)(ck, { mark: kye(e.icon) }), e.name]+ children: [/* @__PURE__ */ (0, x.jsx)(sk, { mark: jye(e.icon) }), e.name]}, e.id))}), s ? /* @__PURE__ */ (0, x.jsx)(W, {onClick: u,@@ -41530,12 +41546,12 @@ function Aye() {children: /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(oP, { children: "媒体修复" }),+ /* @__PURE__ */ (0, x.jsx)(aP, { children: "媒体修复" }),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: XN+ children: YN}),- s && a.total ? /* @__PURE__ */ (0, x.jsx)(KO, {+ s && a.total ? /* @__PURE__ */ (0, x.jsx)(GO, {label: "修复进度",value: a.checked,max: a.total@@ -41559,7 +41575,7 @@ function Aye() {f && a.missing_tool ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "warning",title: "缺少 untrunc",- children: M_e(a)+ children: P_e(a)}) : null,p ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",@@ -41571,7 +41587,7 @@ function Aye() {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var xP = {+var bP = {md: {box: "size-4",glyph: "size-4",@@ -41585,11 +41601,11 @@ var xP = {gap: "gap-1.5"}};-function SP({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = xP[t], c = n || r, l = o && !a;+function xP({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = bP[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, x.jsx)("span", {"aria-hidden": !0,- className: FO("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? FO("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : FO("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: PO("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? PO("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : PO("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, x.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -41613,36 +41629,36 @@ function SP({ state: e, size: t = "md" }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox.tsx-function CP({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = xP[n];- return /* @__PURE__ */ (0, x.jsx)(Jpe, {+function SP({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = bP[n];+ return /* @__PURE__ */ (0, x.jsx)(Xpe, {ref: r,...i,- className: (t) => FO("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(SP, {+ className: (t) => PO("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(xP, {state: e,size: n}), t != null && /* @__PURE__ */ (0, x.jsx)("span", {- className: FO(a.label, "text-text-primary"),+ className: PO(a.label, "text-text-primary"),children: t})] })});}//#endregion//#region src/react/boardui/components/base/table/table.tsx-function wP({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+function CP({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, x.jsx)("div", {- className: FO("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, x.jsx)(Whe, {+ className: PO("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, x.jsx)(Khe, {ref: r,...i,- className: FO("bui-table", e === "sm" && "bui-table-sm", t)+ className: PO("bui-table", e === "sm" && "bui-table-sm", t)})});}//#endregion//#region src/react/components/data-table-frame.tsx-function TP({ children: e, follow: t = !1, onRowClick: n }) {+function wP({ children: e, follow: t = !1, onRowClick: n }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-board-data-table": !0,"data-follow-table": t || void 0,@@ -41650,15 +41666,15 @@ function TP({ 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 && Yj(e, r) && n(r.dataset.key);+ r && Jj(e, r) && n(r.dataset.key);} : void 0,children: e});}//#endregion//#region src/react/data-cleanup/link-manager.tsx-var jye = yj("unlink"), EP = yj("rotate-cw"), Mye = "站点返回 404 或 410,确认这个地址不存在。", Nye = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Pye = "删除前会逐条重验一次;此操作不可撤销。", Fye = "暂时无法读取进度,正在重新连接…", DP = (e) => Number(e || 0).toLocaleString();-function OP({ label: e, value: t, note: n }) {+var Nye = vj("unlink"), TP = vj("rotate-cw"), Pye = "站点返回 404 或 410,确认这个地址不存在。", Fye = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Iye = "删除前会逐条重验一次;此操作不可撤销。", Lye = "暂时无法读取进度,正在重新连接…", EP = (e) => Number(e || 0).toLocaleString();+function DP({ label: e, value: t, note: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-col gap-0.5",children: [@@ -41677,12 +41693,12 @@ function OP({ label: e, value: t, note: n }) {]});}-function kP({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {+function OP({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {let [o, s] = (0, b.useState)(!1);if (!t.length) return null;let c = r ?? [], l = c.length > 0 && c.length === t.length, u = o ? t : t.slice(0, 10), d = t.length > 10;return /* @__PURE__ */ (0, x.jsxs)("div", {- className: rP,+ className: nP,children: [/* @__PURE__ */ (0, x.jsxs)("h4", {className: "mb-1 text-body-semibold text-text-primary",@@ -41695,13 +41711,13 @@ function kP({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })className: "mb-3 text-caption-1-regular text-text-secondary",children: n}),- /* @__PURE__ */ (0, x.jsx)(TP, { children: /* @__PURE__ */ (0, x.jsxs)(wP, {+ /* @__PURE__ */ (0, x.jsx)(wP, { children: /* @__PURE__ */ (0, x.jsxs)(CP, {"aria-label": e,size: "sm",- children: [/* @__PURE__ */ (0, x.jsxs)(YA, { children: [- i ? /* @__PURE__ */ (0, x.jsx)(XA, {+ children: [/* @__PURE__ */ (0, x.jsxs)(JA, { children: [+ i ? /* @__PURE__ */ (0, x.jsx)(YA, {id: "pick",- children: /* @__PURE__ */ (0, x.jsx)(CP, {+ children: /* @__PURE__ */ (0, x.jsx)(SP, {slot: null,"aria-label": "全选本次未访问成功的链接",isSelected: l,@@ -41709,53 +41725,53 @@ function kP({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })onChange: (e) => i(e ? t.map((e) => e.id) : [])})}) : null,- /* @__PURE__ */ (0, x.jsx)(XA, {+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "entity",isRowHeader: !0,children: "所属"}),- /* @__PURE__ */ (0, x.jsx)(XA, {+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "kind",children: "类型"}),- /* @__PURE__ */ (0, x.jsx)(XA, {+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "label",children: "标签"}),- /* @__PURE__ */ (0, x.jsx)(XA, {+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "note",children: "结果"}),- /* @__PURE__ */ (0, x.jsx)(XA, {+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "url",children: "地址"})- ] }), /* @__PURE__ */ (0, x.jsx)(QA, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(tj, {+ ] }), /* @__PURE__ */ (0, x.jsx)(ZA, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(ej, {id: e.id,children: [- i ? /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)(CP, {+ i ? /* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsx)(SP, {slot: null,"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,isSelected: c.includes(e.id),onChange: (t) => i(t ? [...c, e.id] : c.filter((t) => t !== e.id))}) }) : null,- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)("span", {+ /* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsx)("span", {className: "block min-w-24 wrap-anywhere",children: e.entity}) }),- /* @__PURE__ */ (0, x.jsx)(rj, { children: YM[e.link_kind] || e.link_kind }),- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)("span", {+ /* @__PURE__ */ (0, x.jsx)(nj, { children: JM[e.link_kind] || e.link_kind }),+ /* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsx)("span", {className: "block min-w-24 wrap-anywhere",children: e.label || ""}) }),- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)("div", {+ /* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-40 max-w-80",- children: /* @__PURE__ */ (0, x.jsx)(_k, {+ children: /* @__PURE__ */ (0, x.jsx)(gk, {text: e.note,className: "tabular-nums text-text-error-primary"})}) }),- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsxs)("a", {+ /* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsxs)("a", {href: e.url,target: "_blank",rel: "noreferrer",@@ -41765,7 +41781,7 @@ function kP({ 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, x.jsx)(sO, {+ }), /* @__PURE__ */ (0, x.jsx)(oO, {"aria-hidden": !0,className: "size-3.5 shrink-0"})]@@ -41787,27 +41803,27 @@ function kP({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })]});}-function Iye() {+function Rye() {let e = dt({- queryKey: KM,- queryFn: ({ signal: e }) => ZM(e)- }), [t, n] = (0, b.useState)([]), r = yP({- queryKey: JM,- queryFn: ({ signal: e }) => $M(e),- start: ave,+ queryKey: GM,+ queryFn: ({ signal: e }) => XM(e)+ }), [t, n] = (0, b.useState)([]), r = vP({+ queryKey: qM,+ queryFn: ({ signal: e }) => QM(e),+ start: sve,onFinish: () => {V.invalidateQueries({- queryKey: KM,+ queryKey: GM,exact: !0}), V.invalidateQueries({- queryKey: qM,+ queryKey: KM,exact: !0});}- }), i = yP({- queryKey: qM,- queryFn: ({ signal: e }) => QM(e),- start: ive,+ }), i = vP({+ queryKey: KM,+ queryFn: ({ signal: e }) => ZM(e),+ start: ove,onStarted: () => {r.dismiss(), n([]);}@@ -41815,7 +41831,7 @@ function Iye() {(0, b.useEffect)(() => {n([]);}, [o]);- let s = i.running || i.start.isPending, c = r.running || r.start.isPending, l = a?.status === "complete", u = a?.gone ?? [], d = a?.unclear ?? [], f = l ? d : [], p = e.data, m = (p?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${DP(t)}`).join(" · "), h = (e) => {+ let s = i.running || i.start.isPending, c = r.running || r.start.isPending, l = a?.status === "complete", u = a?.gone ?? [], d = a?.unclear ?? [], f = l ? d : [], p = e.data, m = (p?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${EP(t)}`).join(" · "), h = (e) => {s || e && !e.length || i.start.mutate(e ? {retry: e,checkId: o@@ -41837,7 +41853,7 @@ function Iye() {else if (_) S = /* @__PURE__ */ (0, x.jsx)(G, {tone: "success",title: "完成",- children: ove(_)+ children: cve(_)});else if (v) S = /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",@@ -41847,7 +41863,7 @@ function Iye() {else if (i.query.isError && a) S = /* @__PURE__ */ (0, x.jsx)(G, {tone: "neutral",title: "任务状态",- children: Fye+ children: Lye});else if (a?.status === "failed") S = /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",@@ -41855,12 +41871,12 @@ function Iye() {children: a.error || "检查失败"});else if (a && a.status !== "idle") {- y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(fP, {+ y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(dP, {embedded: !0,- label: sve(a),+ label: lve(a),value: Math.min(a.checked || 0, a.total || 0),total: a.total- }) : null, c ? /* @__PURE__ */ (0, x.jsx)(fP, {+ }) : null, c ? /* @__PURE__ */ (0, x.jsx)(dP, {embedded: !0,label: r.job?.message || "正在重验并删除失效链接…",value: Math.min(r.job?.checked || 0, r.job?.total || 0),@@ -41868,38 +41884,38 @@ function Iye() {}) : null] });let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";S = l || u.length || d.length ? /* @__PURE__ */ (0, x.jsxs)("div", {- className: pye,+ className: hye,children: [- /* @__PURE__ */ (0, x.jsx)(kP, {+ /* @__PURE__ */ (0, x.jsx)(OP, {title: "地址已失效",items: u,- hint: Mye+ hint: Pye}),- /* @__PURE__ */ (0, x.jsx)(kP, {+ /* @__PURE__ */ (0, x.jsx)(OP, {title: "本次未访问成功",items: d,- hint: Nye,+ hint: Fye,picked: f.length ? t : void 0,onPick: f.length ? n : void 0,children: f.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "-mx-4 mt-3 -mb-4",- children: /* @__PURE__ */ (0, x.jsxs)(iP, { children: [/* @__PURE__ */ (0, x.jsx)(W, {- leadingIcon: EP,+ children: /* @__PURE__ */ (0, x.jsxs)(rP, { children: [/* @__PURE__ */ (0, x.jsx)(W, {+ leadingIcon: TP,disabled: !t.length,...K(s),onClick: () => h(t),children: e}), /* @__PURE__ */ (0, x.jsx)(W, {- leadingIcon: EP,+ leadingIcon: TP,...K(s),onClick: () => h(f.map((e) => e.id)),children: `全部重试(${f.length})`})] })}) : null}),- l && u.length ? /* @__PURE__ */ (0, x.jsx)(iP, {+ l && u.length ? /* @__PURE__ */ (0, x.jsx)(rP, {tone: "error",- status: Pye,+ status: Iye,children: /* @__PURE__ */ (0, x.jsx)(W, {variant: "danger",...K(c),@@ -41908,7 +41924,7 @@ function Iye() {})}) : null,l && !u.length && !d.length ? /* @__PURE__ */ (0, x.jsx)("p", {- className: `${rP} text-body-regular text-notification-success-foreground`,+ className: `${nP} text-body-regular text-notification-success-foreground`,children: "全部链接均可访问。"}) : null]@@ -41919,21 +41935,21 @@ function Iye() {"aria-labelledby": "link-manager-title",className: "flex scroll-mt-20 flex-col gap-4",children: [- /* @__PURE__ */ (0, x.jsx)(aP, {+ /* @__PURE__ */ (0, x.jsx)(iP, {id: "link-manager-title",children: "链接管理"}),- /* @__PURE__ */ (0, x.jsxs)(sP, {+ /* @__PURE__ */ (0, x.jsxs)(oP, {layout: "stack",labelledBy: "link-manager-box",footer: /* @__PURE__ */ (0, x.jsx)(W, {- leadingIcon: jye,+ leadingIcon: Nye,...K(s),onClick: () => h(),children: s ? "检查中" : l ? "重新检查" : "检查死链"}),children: [- /* @__PURE__ */ (0, x.jsx)(oP, {+ /* @__PURE__ */ (0, x.jsx)(aP, {id: "link-manager-box",gap: "small",children: "站外链接"@@ -41944,13 +41960,13 @@ function Iye() {children: z(e.error)}) : p ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "link-stat-grid mt-4 gap-x-8 gap-y-3",- children: [/* @__PURE__ */ (0, x.jsx)(OP, {+ children: [/* @__PURE__ */ (0, x.jsx)(DP, {label: "链接总数",- value: DP(p.total),- note: `分布在 ${DP(p.entities)} 个女优、厂牌与系列`- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(OP, {- label: YM[e] || e,- value: DP(t)+ value: EP(p.total),+ note: `分布在 ${EP(p.entities)} 个女优、厂牌与系列`+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(DP, {+ label: JM[e] || e,+ value: EP(t)}, e))]}), m ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "mt-4 flex min-w-0 flex-col gap-0.5",@@ -41979,11 +41995,11 @@ function Iye() {}//#endregion//#region src/react/boardui/components/base/input/label.tsx-function Lye({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, x.jsxs)(Lpe, {+function zye({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, x.jsxs)(zpe, {"data-label": "true",...a,- className: FO("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: PO("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, x.jsx)("span", {@@ -41991,7 +42007,7 @@ function Lye({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, x.jsx)(ode, {+ n && /* @__PURE__ */ (0, x.jsx)(sde, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -42000,33 +42016,33 @@ function Lye({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child}//#endregion//#region src/react/boardui/components/base/input/hint-text.tsx-function Rye({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, x.jsx)(Upe, {+function Bye({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, x.jsx)(Gpe, {slot: e ? "errorMessage" : "description",...n,- className: FO("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: PO("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 AP = (0, b.createContext)({});-function jP({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, x.jsx)(AP.Provider, {+var kP = (0, b.createContext)({});+function AP({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, x.jsx)(kP.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, x.jsx)(gge, {+ children: /* @__PURE__ */ (0, x.jsx)(vge, {...a,"data-input-size": e,- className: FO("group flex h-max w-full flex-col items-start gap-1", r),+ className: PO("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}-jP.displayName = "TextField";-var MP = IO({+AP.displayName = "TextField";+var jP = FO({field: ["relative flex w-full items-center","rounded-2lg",@@ -42055,44 +42071,44 @@ var MP = IO({].join(" "),icon: "size-5 shrink-0"});-function NP({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, b.useContext)(AP), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, x.jsx)(Zpe, {+function MP({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, b.useContext)(kP), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, x.jsx)($pe, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => FO(MP.field, d ? MP.fieldWithAddonSize[u] : MP.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 }) => PO(jP.field, d ? jP.fieldWithAddonSize[u] : jP.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),children: /* @__PURE__ */ (0, x.jsxs)("div", {- className: MP.content,+ className: jP.content,children: [/* @__PURE__ */ (0, x.jsxs)("div", {- className: MP.leftSection,+ className: jP.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, x.jsx)(t, {- className: MP.icon,+ className: jP.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, x.jsx)(eme, {+ }) : null, /* @__PURE__ */ (0, x.jsx)(nme, {ref: o,...c,- className: FO(MP.input, l.inputClassName, a)+ className: PO(jP.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, x.jsx)(n, {- className: MP.icon,+ className: jP.icon,"aria-hidden": !0}) : null]})});}-NP.displayName = "InputBase";-function PP({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {- return /* @__PURE__ */ (0, x.jsx)(jP, {+MP.displayName = "InputBase";+function NP({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {+ return /* @__PURE__ */ (0, x.jsx)(AP, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- e && /* @__PURE__ */ (0, x.jsx)(Lye, {+ e && /* @__PURE__ */ (0, x.jsx)(zye, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, x.jsx)(NP, {+ /* @__PURE__ */ (0, x.jsx)(MP, {ref: c,groupRef: l,placeholder: r,@@ -42101,28 +42117,28 @@ function PP({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, x.jsx)(Rye, {+ t && /* @__PURE__ */ (0, x.jsx)(Bye, {isInvalid: d,children: t})] })});}-PP.displayName = "Input";+NP.displayName = "Input";//#endregion//#region src/react/data-cleanup/organize-card.tsx-var zye = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Bye = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Vye = 8;-function Hye({ plan: e }) {+var Vye = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Hye = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Uye = 8;+function Wye({ plan: e }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("ol", {className: "mt-2 flex min-w-0 flex-col gap-1",- children: e.rows.slice(0, Vye).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {+ children: e.rows.slice(0, Uye).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, x.jsx)("span", {"data-middle-truncate": !0,title: e.current_path,className: "min-w-0 truncate",- children: fN(e.current_path)+ children: dN(e.current_path)}),/* @__PURE__ */ (0, x.jsx)("span", {"aria-hidden": !0,@@ -42132,7 +42148,7 @@ function Hye({ plan: e }) {"data-middle-truncate": !0,title: e.target_path,className: "min-w-0 truncate text-text-primary",- children: fN(e.target_path)+ children: dN(e.target_path)})]}, e.current_path))@@ -42141,10 +42157,10 @@ function Hye({ plan: e }) {children: "只列出前 8 行,完整计划在计划 CSV 里。"}) : null] });}-function Uye({ toast: e, failure: t }) {+function Gye({ toast: e, failure: t }) {let n = dt({- queryKey: uN,- queryFn: ({ signal: e }) => dN(e)+ queryKey: lN,+ queryFn: ({ signal: e }) => uN(e)}), r = n.data, i = r?.locations ?? [], [a, o] = (0, b.useState)(""), s = i.some((e) => e.location === a) ? a : i[0]?.location ?? "", c = r?.templates?.[s], [l, u] = (0, b.useState)(null), d = l?.location === s ? l : {location: s,file: c?.file ?? "",@@ -42157,38 +42173,38 @@ function Uye({ toast: e, failure: t }) {file_template: d.file.trim(),dir_template: d.dir.trim()}), v = ft({- mutationFn: yve,+ mutationFn: xve,onError: (e) => {- let t = Cve.test(z(e)) ? "dir" : "file";+ let t = Tve.test(z(e)) ? "dir" : "file";m(t), (t === "dir" ? g : h).current?.focus();}- }), y = yP({- queryKey: uN,- queryFn: ({ signal: e }) => dN(e),- start: bve,+ }), y = vP({+ queryKey: lN,+ queryFn: ({ signal: e }) => uN(e),+ start: Sve,jobOf: (e) => e,- withJob: Sve,+ withJob: wve,onStarted: () => v.reset(),onFinish: (n) => {if (V.invalidateQueries({- queryKey: uN,+ queryKey: lN,exact: !0}), n.status !== "complete") return;- let { text: r, failed: i } = mN(n);+ let { text: r, failed: i } = pN(n);i ? t("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : e(r.replace(/。$/, ""));}}), S = y.running || y.start.isPending, C = v.data, w = Number(C?.counts?.change || 0), T = Yt[s] || s, E = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), D = () => {!v.isPending && s && (m(null), v.mutate(_()));}, O = () => void rs({title: "按模板整理文件",- body: zye(T),+ body: Vye(T),confirmLabel: "整理文件",onConfirm: async () => {let e = _();await y.start.mutateAsync({kind: "apply",request: e- }), xve({+ }), Cve({...r?.templates ?? {},[e.location]: {file: e.file_template,@@ -42198,13 +42214,13 @@ function Uye({ toast: e, failure: t }) {}}), k = () => void rs({title: "回滚上一批整理",- body: Bye,+ body: Hye,confirmLabel: "回滚整理",onConfirm: () => y.start.mutateAsync({ kind: "rollback" })}), A = null, j = y.job, M = y.outcome;if (j?.status === "running") {let e = j.message || j.stage || "正在整理文件…";- A = /* @__PURE__ */ (0, x.jsx)(fP, {+ A = /* @__PURE__ */ (0, x.jsx)(dP, {embedded: !0,label: e,value: Math.min(j.checked || 0, j.total || 0),@@ -42216,7 +42232,7 @@ function Uye({ toast: e, failure: t }) {children: M.error || "请查看任务记录,核对已处理的文件。"});else if (M) {- let { text: e, failed: t } = mN(M);+ let { text: e, failed: t } = pN(M);A = /* @__PURE__ */ (0, x.jsx)(G, {tone: t ? "warning" : "success",title: t ? "部分完成" : "整理结果",@@ -42226,7 +42242,7 @@ function Uye({ toast: e, failure: t }) {tone: "error",title: "整理失败",children: z(y.start.error)- }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)(fP, {+ }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)(dP, {embedded: !0,label: "正在按模板算计划…"}) : v.isError ? A = /* @__PURE__ */ (0, x.jsx)(G, {@@ -42236,9 +42252,9 @@ function Uye({ toast: e, failure: t }) {}) : C && (A = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(G, {tone: "neutral",title: "预览结果",- children: wve(C)- }), w ? /* @__PURE__ */ (0, x.jsx)(Hye, { plan: C }) : null] }));- return /* @__PURE__ */ (0, x.jsxs)(sP, {+ children: Eve(C)+ }), w ? /* @__PURE__ */ (0, x.jsx)(Wye, { plan: C }) : null] }));+ return /* @__PURE__ */ (0, x.jsxs)(oP, {layout: "stack",id: "organize",labelledBy: "cleanup-organize-title",@@ -42262,7 +42278,7 @@ function Uye({ toast: e, failure: t }) {}) : null] }),children: [- /* @__PURE__ */ (0, x.jsx)(oP, {+ /* @__PURE__ */ (0, x.jsx)(aP, {id: "cleanup-organize-title",gap: "medium",children: "整理"@@ -42282,20 +42298,20 @@ function Uye({ toast: e, failure: t }) {/* @__PURE__ */ (0, x.jsxs)("div", {className: "mt-3 flex flex-col gap-3",children: [- i.length ? /* @__PURE__ */ (0, x.jsx)(gP, {+ i.length ? /* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": "整理哪个来源",className: "w-fit min-w-25",selectedKey: s || null,onSelectionChange: (e) => {e !== null && (o(String(e)), m(null), v.reset());},- children: i.map((e) => /* @__PURE__ */ (0, x.jsxs)(_P, {+ children: i.map((e) => /* @__PURE__ */ (0, x.jsxs)(gP, {id: e.location,textValue: Yt[e.location] || e.location,- children: [/* @__PURE__ */ (0, x.jsx)(ck, { mark: Ua[e.location] || "database" }), Yt[e.location] || e.location]+ children: [/* @__PURE__ */ (0, x.jsx)(sk, { mark: Ua[e.location] || "database" }), Yt[e.location] || e.location]}, e.location))}) : null,- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {label: "文件名模板",placeholder: "{number}[ {title}]",value: d.file,@@ -42306,7 +42322,7 @@ function Uye({ toast: e, failure: t }) {f({ file: e }), m(null);}}),- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {label: "目录模板",placeholder: "留空表示原地改名",value: d.dir,@@ -42351,56 +42367,56 @@ function Uye({ toast: e, failure: t }) {}//#endregion//#region src/react/data-cleanup/orphan-records.ts-var Wye = "/api/orphan-records", Gye = "/api/orphan-records/attach", FP = ["orphan-records"], Kye = [+var Kye = "/api/orphan-records", qye = "/api/orphan-records/attach", PP = ["orphan-records"], Jye = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], qye = (e) => nn(Wye, e), Jye = (e, t) => B(Gye, {+], Yye = (e) => nn(Kye, e), Xye = (e, t) => B(qye, {id: e,target: t-}), Yye = (e) => B(dM, {+}), Zye = (e) => B(uM, {ids: [e],operation: "delete"-}), Xye = (e) => [+}), Qye = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], IP = (e) => [...Kye.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Xye(e)].filter(Boolean).join(" · "), Zye = (e) => e ? `${Math.round(e / 60)} 分钟` : "", LP = (e) => [e.name, Zye(e.duration)].filter(Boolean).join(" · "), Qye = yj("play"), RP = () => V.invalidateQueries({- queryKey: FP,+], FP = (e) => [...Jye.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Qye(e)].filter(Boolean).join(" · "), $ye = (e) => e ? `${Math.round(e / 60)} 分钟` : "", IP = (e) => [e.name, $ye(e.duration)].filter(Boolean).join(" · "), ebe = vj("play"), LP = () => V.invalidateQueries({+ queryKey: PP,exact: !0});-function $ye({ item: e, toast: t }) {+function tbe({ item: e, toast: t }) {let [n, r] = (0, b.useState)(e.candidates[0]?.id ?? null), i = ft({- mutationFn: () => Jye(e.id, Number(n)),+ mutationFn: () => Xye(e.id, Number(n)),onSuccess: (e) => {- t(`记录已接到新文件,批次 ${e.batch}`), RP();+ t(`记录已接到新文件,批次 ${e.batch}`), LP();},onError: (e) => t(z(e))}), a = ft({- mutationFn: () => Yye(e.id),+ mutationFn: () => Zye(e.id),onSuccess: (n) => {- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), RP();+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), LP();}}), o = () => {rs({title: "彻底删除",- body: `将删除「${e.name}」这一条和它带的记录(${IP(e.records)})。此操作不可撤销。`,+ body: `将删除「${e.name}」这一条和它带的记录(${FP(e.records)})。此操作不可撤销。`,confirmLabel: "彻底删除",danger: !0,onConfirm: () => a.mutateAsync()});}, s = i.isPending || a.isPending;- return /* @__PURE__ */ (0, x.jsxs)(tj, {+ return /* @__PURE__ */ (0, x.jsxs)(ej, {id: e.id,children: [- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsxs)("span", {+ /* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 items-center gap-3",children: [/* @__PURE__ */ (0, x.jsxs)("span", {className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",- children: [/* @__PURE__ */ (0, x.jsx)(Qye, {+ children: [/* @__PURE__ */ (0, x.jsx)(ebe, {"aria-hidden": !0,className: "size-5"}), e.has_thumb ? /* @__PURE__ */ (0, x.jsx)("img", {@@ -42422,27 +42438,27 @@ function $ye({ item: e, toast: t }) {})]})]}) }),- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)("span", {+ /* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsx)("span", {className: "block min-w-28",- children: IP(e.records)+ children: FP(e.records)}) }),- /* @__PURE__ */ (0, x.jsx)(rj, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(gP, {+ /* @__PURE__ */ (0, x.jsx)(nj, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": `把 ${e.name} 的记录接到哪个文件`,className: "w-52",selectedKey: n,onSelectionChange: (e) => {e !== null && r(Number(e));},- children: e.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(_P, {+ children: e.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(gP, {id: e.id,- textValue: LP(e),- children: LP(e)+ textValue: IP(e),+ children: IP(e)}, e.id))}) : /* @__PURE__ */ (0, x.jsx)("span", {className: "text-text-secondary",children: "没有番号或文件名对得上的文件"}) }),- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsxs)("span", {+ /* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex flex-wrap gap-2",children: [e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(W, {size: "small",@@ -42462,23 +42478,23 @@ function $ye({ item: e, toast: t }) {]});}-function ebe({ toast: e }) {+function nbe({ toast: e }) {let t = dt({- queryKey: FP,- queryFn: ({ signal: e }) => qye(e)+ queryKey: PP,+ queryFn: ({ signal: e }) => Yye(e)}), n = t.data?.items ?? [], r = t.data?.total ?? n.length;return !t.isError && !n.length ? null : /* @__PURE__ */ (0, x.jsxs)("section", {id: "orphan-records","aria-labelledby": "orphan-records-title",className: "flex scroll-mt-20 flex-col gap-4",- children: [/* @__PURE__ */ (0, x.jsx)(aP, {+ children: [/* @__PURE__ */ (0, x.jsx)(iP, {id: "orphan-records-title",children: "孤儿记录"- }), /* @__PURE__ */ (0, x.jsxs)(sP, {+ }), /* @__PURE__ */ (0, x.jsxs)(oP, {layout: "stack",labelledBy: "orphan-records-box",children: [- /* @__PURE__ */ (0, x.jsx)(oP, {+ /* @__PURE__ */ (0, x.jsx)(aP, {id: "orphan-records-box",gap: "small",children: "文件已消失的作品"@@ -42491,28 +42507,28 @@ function ebe({ toast: e }) {tone: "error",title: "孤儿记录读取失败",children: z(t.error)- }) : /* @__PURE__ */ (0, x.jsx)(TP, { children: /* @__PURE__ */ (0, x.jsxs)(wP, {+ }) : /* @__PURE__ */ (0, x.jsx)(wP, { children: /* @__PURE__ */ (0, x.jsxs)(CP, {"aria-label": "文件已消失的作品",size: "sm",- children: [/* @__PURE__ */ (0, x.jsxs)(YA, { children: [- /* @__PURE__ */ (0, x.jsx)(XA, {+ children: [/* @__PURE__ */ (0, x.jsxs)(JA, { children: [+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "item",isRowHeader: !0,children: "作品"}),- /* @__PURE__ */ (0, x.jsx)(XA, {+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "records",children: "带的记录"}),- /* @__PURE__ */ (0, x.jsx)(XA, {+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "target",children: "接到"}),- /* @__PURE__ */ (0, x.jsx)(XA, {+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "actions",children: "操作"})- ] }), /* @__PURE__ */ (0, x.jsx)(QA, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)($ye, {+ ] }), /* @__PURE__ */ (0, x.jsx)(ZA, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(tbe, {item: t,toast: e}, t.id)) })]@@ -42527,99 +42543,99 @@ function ebe({ toast: e }) {}//#endregion//#region src/react/data-cleanup/resource-sync-card.tsx-var tbe = yj("git-compare"), nbe = yj("rotate-cw"), rbe = "暂时无法读取进度,正在重新连接…", zP = "清理失效条目", BP = "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", VP = (e) => Number(e || 0).toLocaleString();-function ibe({ scan: e }) {+var rbe = vj("git-compare"), ibe = vj("rotate-cw"), abe = "暂时无法读取进度,正在重新连接…", RP = "清理失效条目", zP = "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", BP = (e) => Number(e || 0).toLocaleString();+function obe({ scan: e }) {let t = e.cache ?? {files: 0,bytes: 0};return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {- className: BP,+ className: zP,children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, x.jsx)("article", {- className: LN(),- children: /* @__PURE__ */ (0, x.jsx)(RN, {- label: kve[e.location] || "媒体来源",- mark: /* @__PURE__ */ (0, x.jsx)(ck, { mark: Ua[e.location] ?? "database" }),+ className: IN(),+ children: /* @__PURE__ */ (0, x.jsx)(LN, {+ label: jve[e.location] || "媒体来源",+ mark: /* @__PURE__ */ (0, x.jsx)(sk, { mark: Ua[e.location] ?? "database" }),aside: /* @__PURE__ */ (0, x.jsx)("span", {className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",children: e.online ? "可访问" : "离线,已跳过"}),- figure: e.online ? `${VP(e.missing)} 项` : "—",- meta: Nve(e),+ figure: e.online ? `${BP(e.missing)} 项` : "—",+ meta: Fve(e),wrapMeta: !0})}, e.location))}), /* @__PURE__ */ (0, x.jsxs)("div", {- className: BP,+ className: zP,children: [/* @__PURE__ */ (0, x.jsx)("article", {- className: LN(),- children: /* @__PURE__ */ (0, x.jsx)(RN, {+ className: IN(),+ children: /* @__PURE__ */ (0, x.jsx)(LN, {label: "待永久删除",- figure: `${VP(CN(e))} 项`,+ figure: `${BP(SN(e))} 项`,meta: "文件已不在盘上,含回收站"})}),/* @__PURE__ */ (0, x.jsx)("article", {- className: LN(),- children: /* @__PURE__ */ (0, x.jsx)(RN, {+ className: IN(),+ children: /* @__PURE__ */ (0, x.jsx)(LN, {label: "将标为已消失",- figure: `${VP(e.vanish)} 项`,+ figure: `${BP(e.vanish)} 项`,meta: "带个人记录,记录留着"})}),/* @__PURE__ */ (0, x.jsx)("article", {- className: LN(),- children: /* @__PURE__ */ (0, x.jsx)(RN, {+ className: IN(),+ children: /* @__PURE__ */ (0, x.jsx)(LN, {label: "空文件夹",- figure: `${VP(e.empty)} 个`,+ figure: `${BP(e.empty)} 个`,meta: "保留来源根目录"})}),/* @__PURE__ */ (0, x.jsx)("article", {- className: LN(),- children: /* @__PURE__ */ (0, x.jsx)(RN, {+ className: IN(),+ children: /* @__PURE__ */ (0, x.jsx)(LN, {label: "可清理的缓存",- figure: `${VP(t.files)} 个`,+ figure: `${BP(t.files)} 个`,meta: t.files ? Ut(t.bytes) : ""})})]})] });}-function abe({ toast: e }) {- let t = yP({- queryKey: vN,- queryFn: ({ signal: e }) => bN(e),- start: Eve,+function sbe({ toast: e }) {+ let t = vP({+ queryKey: _N,+ queryFn: ({ signal: e }) => yN(e),+ start: Ove,onFinish: (t) => {if (V.invalidateQueries({- queryKey: AN,+ queryKey: kN,exact: !0}), V.invalidateQueries({- queryKey: _N,+ queryKey: gN,exact: !0}), t.status !== "complete") return;- let { done: n, left: r } = EN(t);- r ? e(`已完成 ${VP(n)} 项,${VP(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");+ let { done: n, left: r } = TN(t);+ r ? e(`已完成 ${BP(n)} 项,${BP(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");}- }), n = yP({- queryKey: _N,- queryFn: ({ signal: e }) => yN(e),- start: Tve,+ }), n = vP({+ queryKey: gN,+ queryFn: ({ signal: e }) => vN(e),+ start: Dve,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 rs({- title: zP,- body: Mve(e),- confirmLabel: zP,+ title: RP,+ body: Pve(e),+ confirmLabel: RP,danger: !0,onConfirm: () => t.start.mutateAsync(e.scan_id || "")}), l = t.outcome, u = (e) => {- let t = EN(e).left > 0;+ let t = TN(e).left > 0;return /* @__PURE__ */ (0, x.jsx)(G, {tone: t ? "warning" : "success",title: t ? "部分完成" : "清理结果",- children: Pve(e, Ut)+ children: Ive(e, Ut)});}, d = null, f = null;if (l?.status === "failed") f = /* @__PURE__ */ (0, x.jsx)(G, {@@ -42628,7 +42644,7 @@ function abe({ toast: e }) {children: l.error || "请查看任务记录,核对已处理的文件。"});else if (l) f = u(l);- else if (t.running) d = /* @__PURE__ */ (0, x.jsx)(fP, {+ else if (t.running) d = /* @__PURE__ */ (0, x.jsx)(dP, {embedded: !0,label: t.job?.message || "正在复核并清理失效条目…"});@@ -42640,11 +42656,11 @@ function abe({ toast: e }) {else if (n.query.isError && r) f = /* @__PURE__ */ (0, x.jsx)(G, {tone: "neutral",title: "任务状态",- children: rbe+ children: abe});else if (r?.status === "running") {- let e = Ave(r);- d = /* @__PURE__ */ (0, x.jsx)(fP, {+ let e = Mve(r);+ d = /* @__PURE__ */ (0, x.jsx)(dP, {embedded: !0,label: e,value: r.completed_sources,@@ -42661,13 +42677,13 @@ function abe({ toast: e }) {children: "这次检查的结果已经清理,重新扫描可再核对。"});else if (r?.status === "complete") {- let e = Ove(r);+ let e = Ave(r);f = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(ibe, { scan: r }),+ /* @__PURE__ */ (0, x.jsx)(obe, { scan: r }),e ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "neutral",title: "清理内容",- children: jve(r)+ children: Nve(r)}) : null,/* @__PURE__ */ (0, x.jsx)("div", {className: "flex flex-wrap items-center justify-end gap-2",@@ -42675,7 +42691,7 @@ function abe({ toast: e }) {variant: "danger",...K(a),onClick: () => c(r),- children: a ? "正在复核并清理…" : zP+ children: a ? "正在复核并清理…" : RP}) : /* @__PURE__ */ (0, x.jsx)("p", {className: "mr-auto text-body-regular text-notification-success-foreground",children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"@@ -42692,16 +42708,16 @@ function abe({ toast: e }) {"aria-labelledby": "resource-sync-title",className: "flex scroll-mt-20 flex-col gap-4",children: [- /* @__PURE__ */ (0, x.jsx)(aP, {+ /* @__PURE__ */ (0, x.jsx)(iP, {id: "resource-sync-title",children: "资源同步"}),- /* @__PURE__ */ (0, x.jsxs)(sP, {+ /* @__PURE__ */ (0, x.jsxs)(oP, {layout: "split",labelledBy: "resource-sync-box",footer: /* @__PURE__ */ (0, x.jsx)(W, {"data-resource-scan": !0,- leadingIcon: o && !i ? nbe : tbe,+ leadingIcon: o && !i ? ibe : rbe,...K(i),onClick: () => {i || n.start.mutate();@@ -42709,7 +42725,7 @@ function abe({ toast: e }) {children: s}),children: [- /* @__PURE__ */ (0, x.jsx)(oP, {+ /* @__PURE__ */ (0, x.jsx)(aP, {id: "resource-sync-box",gap: "small",children: "文件与记录核对"@@ -42735,16 +42751,16 @@ function abe({ toast: e }) {}//#endregion//#region src/react/data-cleanup/data-cleanup-page.tsx-function HP(e, t) {+function VP(e, t) {return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);}-function UP({ section: e, label: t, icon: n, value: r, open: i }) {+function HP({ section: e, label: t, icon: n, value: r, open: i }) {return /* @__PURE__ */ (0, x.jsx)("button", {type: "button",- className: LN({ interactive: !0 }),+ className: IN({ interactive: !0 }),"data-cleanup-go": e,onClick: () => i(e),- children: /* @__PURE__ */ (0, x.jsx)(RN, {+ children: /* @__PURE__ */ (0, x.jsx)(LN, {label: t,icon: n,figure: r.figure,@@ -42752,80 +42768,80 @@ function UP({ section: e, label: t, icon: n, value: r, open: i }) {})});}-var obe = yj("square-check-big"), sbe = yj("sparkles"), cbe = yj("file-stack"), lbe = yj("file-archive"), ube = yj("trash"), dbe = [- DN,- AM,- uM-], fbe = () => {- for (let e of dbe) V.invalidateQueries({+var cbe = vj("square-check-big"), lbe = vj("sparkles"), ube = vj("file-stack"), dbe = vj("file-archive"), fbe = vj("trash"), pbe = [+ EN,+ kM,+ lM+], mbe = () => {+ for (let e of pbe) V.invalidateQueries({queryKey: e,exact: !0});};-function pbe({ toast: e, failure: t, open: n }) {+function hbe({ toast: e, failure: t, open: n }) {let r = dt({- queryKey: DN,- queryFn: ({ signal: e }) => jN(e)+ queryKey: EN,+ queryFn: ({ signal: e }) => AN(e)}), i = dt({- queryKey: AM,- queryFn: ({ signal: e }) => jM(e)+ queryKey: kM,+ queryFn: ({ signal: e }) => AM(e)}), a = dt({- queryKey: uM,- queryFn: ({ signal: e }) => fM(e)+ queryKey: lM,+ queryFn: ({ signal: e }) => dM(e)}), o = dt({- queryKey: ON,- queryFn: ({ signal: e }) => MN(e)+ queryKey: DN,+ queryFn: ({ signal: e }) => jN(e)}), s = dt({- queryKey: AN,- queryFn: ({ signal: e }) => NN(e)+ queryKey: kN,+ queryFn: ({ signal: e }) => MN(e)}), c = dt({queryKey: pn,queryFn: ({ signal: e }) => mn(e)}), l = (t) => e(t);- return /* @__PURE__ */ (0, x.jsxs)(WO, { children: [+ return /* @__PURE__ */ (0, x.jsxs)(UO, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {- className: Gve,+ className: qve,children: [- /* @__PURE__ */ (0, x.jsx)(UP, {+ /* @__PURE__ */ (0, x.jsx)(HP, {section: "review",label: "人工复核",- icon: obe,+ icon: cbe,open: n,- value: HP(r, Rve)+ value: VP(r, Bve)}),- /* @__PURE__ */ (0, x.jsx)(UP, {+ /* @__PURE__ */ (0, x.jsx)(HP, {section: "quality",label: "高清版",- icon: sbe,+ icon: lbe,open: n,- value: HP(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))+ value: VP(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))}),- /* @__PURE__ */ (0, x.jsx)(UP, {+ /* @__PURE__ */ (0, x.jsx)(HP, {section: "duplicates",label: "重复文件",- icon: cbe,+ icon: ube,open: n,- value: HP(a, (e) => Number(e.total || 0) ? {+ value: VP(a, (e) => Number(e.total || 0) ? {figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,meta: `可回收 ${Ut(e.reclaimable || 0)}`} : { figure: "没有重复内容" })}),- /* @__PURE__ */ (0, x.jsx)(UP, {+ /* @__PURE__ */ (0, x.jsx)(HP, {section: "ads",label: "垃圾文件",- icon: lbe,+ icon: dbe,open: n,- value: HP(o, (e) => ({+ value: VP(o, (e) => ({figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,- meta: zve(e)+ meta: Vve(e)}))}),- /* @__PURE__ */ (0, x.jsx)(UP, {+ /* @__PURE__ */ (0, x.jsx)(HP, {section: "trash",label: "回收站",- icon: ube,+ icon: fbe,open: n,- value: HP(s, (e) => ({+ value: VP(s, (e) => ({figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,meta: e.total ? `占用 ${Ut(e.bytes || 0)}` : ""}))@@ -42838,31 +42854,31 @@ function pbe({ toast: e, failure: t, open: n }) {/* @__PURE__ */ (0, x.jsx)("div", {id: "libraryProcessing",className: "scroll-mt-20",- children: /* @__PURE__ */ (0, x.jsx)(mP, {+ children: /* @__PURE__ */ (0, x.jsx)(pP, {toast: l,monitor: !0,- onComplete: fbe+ onComplete: mbe})}),/* @__PURE__ */ (0, x.jsx)("div", {id: "mediaRepair",- children: /* @__PURE__ */ (0, x.jsx)(Aye, {})+ children: /* @__PURE__ */ (0, x.jsx)(Mye, {})}),- /* @__PURE__ */ (0, x.jsx)(Uye, {+ /* @__PURE__ */ (0, x.jsx)(Gye, {toast: l,failure: t})]}),- /* @__PURE__ */ (0, x.jsx)(Iye, {}),- /* @__PURE__ */ (0, x.jsx)(ebe, { toast: l }),- xN(c.data) ? /* @__PURE__ */ (0, x.jsx)(abe, { toast: e }) : null+ /* @__PURE__ */ (0, x.jsx)(Rye, {}),+ /* @__PURE__ */ (0, x.jsx)(nbe, { toast: l }),+ bN(c.data) ? /* @__PURE__ */ (0, x.jsx)(sbe, { toast: e }) : null] });}//#endregion//#region src/react/feed-new/feed-new.ts-var WP = (e) => ["feed-new", e ?? "home"], mbe = 8, hbe = 1500;-function gbe(e, t, n) {+var UP = (e) => ["feed-new", e ?? "home"], gbe = 8, _be = 1500;+function vbe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -42873,32 +42889,32 @@ function gbe(e, t, n) {setTimeout(e, n);})]);}-async function _be(e, t, n) {+async function ybe(e, t, n) {let r = new URLSearchParams({ limit: "12" });e && r.set("entity", String(e));let i = await vt(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await gbe(s, mbe, hbe), {+ return n && o.length && await vbe(s, gbe, _be), {items: o,html: s};}-var GP = (e, t, n = !1) => ({- queryKey: WP(e),- queryFn: () => _be(e, t, n),+var WP = (e, t, n = !1) => ({+ queryKey: UP(e),+ queryFn: () => ybe(e, t, n),staleTime: Infinity-}), KP = (e, t) => vt("/api/feeds/discovery", {+}), GP = (e, t) => vt("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,ids: [e]})}).then(() => void 0, () => void 0);-async function vbe(e) {- V.removeQueries({ queryKey: WP(null) }), await V.fetchQuery(GP(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+async function bbe(e) {+ V.removeQueries({ queryKey: UP(null) }), await V.fetchQuery(WP(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}//#endregion//#region src/react/entity-page/entity-page.ts-var qP = [+var KP = ["loc","creator","tag",@@ -42908,51 +42924,51 @@ var qP = ["orient","sort","dir"-], JP = {+], qP = {media: "videos",set: 0-}, YP = (e, t) => [+}, JP = (e, t) => ["entity",e,t-], ybe = (e, t, n, r) => [+], xbe = (e, t, n, r) => ["entity-items",e,t,n,r-], XP = (e, t, n, r) => [+], YP = (e, t, n, r) => ["entity-photos",e,t,n,r-], ZP = (e) => String(e || "").split(",").filter(Boolean), bbe = (e, t) => ZP(e).includes(t);-function QP(e, t, n, r, i = 0) {+], XP = (e) => String(e || "").split(",").filter(Boolean), Sbe = (e, t) => XP(e).includes(t);+function ZP(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 qP) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);+ for (let t of KP) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function $P(e, t, n, r, i, a) {- return await vt(`/api/items?${QP(e, t, n, r, i)}`, a ? { signal: a } : {});+async function QP(e, t, n, r, i, a) {+ return await vt(`/api/items?${ZP(e, t, n, r, i)}`, a ? { signal: a } : {});}-var eF = (e) => {+var $P = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = QP(e.kind, e.name, e.filters, t).toString();+ }, n = ZP(e.kind, e.name, e.filters, t).toString();return {- queryKey: ybe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => $P(e.kind, e.name, e.filters, t, 0, n),+ queryKey: xbe(e.kind, e.name, n, e.revision),+ queryFn: ({ signal: n }) => QP(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, tF = (e, t) => ({- queryKey: YP(e, t),+}, eF = (e, t) => ({+ queryKey: JP(e, t),queryFn: ({ signal: n }) => vt(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function xbe(e, t, n, r, i, a) {+function Cbe(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)}` : ""}`;@@ -42961,10 +42977,10 @@ function xbe(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 nF = (e, t, n, r) => ({- queryKey: XP(e, t, n, r),+var tF = (e, t, n, r) => ({+ queryKey: YP(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await vt(xbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await vt(Cbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -42977,8 +42993,8 @@ var nF = (e, t, n, r) => ({seed: t[0]?.seed || ""} : void 0,staleTime: Infinity-}), rF = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function Sbe(e) {+}), nF = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];+async function wbe(e) {let { kind: t, name: n } = e;for (let e of ["entity",@@ -42990,25 +43006,25 @@ async function Sbe(e) {n] });await Promise.all([- V.fetchQuery(tF(t, n)).then((t) => !t || t.error || !t.id ? null : (V.removeQueries({ queryKey: WP(Number(t.id)) }), V.fetchQuery(GP(Number(t.id), e.helpers.feedRowHtml, !0)))),- V.fetchQuery(eF(e)),- V.fetchInfiniteQuery(nF(t, n, 0, "")),- e.media.media === "photos" && e.media.set ? V.fetchInfiniteQuery(nF(t, n, e.media.set, "")) : null+ V.fetchQuery(eF(t, n)).then((t) => !t || t.error || !t.id ? null : (V.removeQueries({ queryKey: UP(Number(t.id)) }), V.fetchQuery(WP(Number(t.id), e.helpers.feedRowHtml, !0)))),+ V.fetchQuery($P(e)),+ V.fetchInfiniteQuery(tF(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? V.fetchInfiniteQuery(tF(t, n, e.media.set, "")) : null]);}//#endregion//#region src/identity-filter.ts-var iF = [+var rF = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], aF = "mb-4 flex flex-wrap gap-2";-function Cbe(e) {- let t = iF.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${aF}">${iF.map(([e, n]) => KN({+], iF = "mb-4 flex flex-wrap gap-2";+function Tbe(e) {+ let t = rF.some(([t]) => t === e) ? e : "all";+ return `<div class="peach-react"><div aria-label="身份分类" class="${iF}">${rF.map(([e, n]) => GN({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -43017,43 +43033,43 @@ function Cbe(e) {}//#endregion//#region src/react/follow/online-vocab.ts-var wbe = "/api/follow/authors", Tbe = "/api/follow/tags", Ebe = (e) => [+var Ebe = "/api/follow/authors", Dbe = "/api/follow/tags", Obe = (e) => ["follow","authors",e-], Dbe = (e, t) => [+], kbe = (e, t) => ["follow","tags",e,t];-function Obe(e, t, n) {+function Abe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${wbe}?${r}`;+ return e && r.set("q", e), `${Ebe}?${r}`;}-function kbe(e, t, n, r) {+function jbe(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), `${Tbe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Dbe}?${i}`;}-var Abe = (e, t, n, r) => nn(Obe(e, t, n), r), jbe = (e, t, n, r, i) => nn(kbe(e, t, n, r), i), Mbe = "/api/index", oF = {+var Mbe = (e, t, n, r) => nn(Abe(e, t, n), r), Nbe = (e, t, n, r, i) => nn(jbe(e, t, n, r), i), Pbe = "/api/index", aF = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, Nbe = {+}, Fbe = {performers: "performer",creators: "creator",studios: "studio",agencies: "agency"-}, sF = [+}, oF = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -43063,31 +43079,31 @@ var Abe = (e, t, n, r) => nn(Obe(e, t, n), r), jbe = (e, t, n, r, i) => nn(kbe(e["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], cF = [+], sF = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], lF = {+], cF = {people: 120,tags: 180-}, uF = (e) => e !== "tags", dF = (e) => e === "studios" || e === "agencies";-function fF(e) {- if (e.kind === "creators" && e.category === "animation") return fF({+}, lF = (e) => e !== "tags", uF = (e) => e === "studios" || e === "agencies";+function dF(e) {+ if (e.kind === "creators" && e.category === "animation") return dF({...e,kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? cF : sF : e.kind === "performers" && t === "local" ? iF : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? sF : oF : e.kind === "performers" && t === "local" ? rF : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function pF(e) {+function fF(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -43107,50 +43123,50 @@ function pF(e) {...i && i !== "all" ? { category: i } : {}};}-var mF = (e, t, n = "all") => [+var pF = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function hF(e, t, n, r, i) {+function mF(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), `${Mbe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${Pbe}?${a}`;}-function gF(e) {- let t = e.what === "people" || e.what === "online-authors" ? lF.people : lF.tags, n = {+function hF(e) {+ let t = e.what === "people" || e.what === "online-authors" ? cF.people : cF.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: mF(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: n, signal: r }) => nn(hF(e.kind, e.q, e.category || "all", t, n), r)+ queryKey: pF(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: n, signal: r }) => nn(mF(e.kind, e.q, e.category || "all", t, n), r)};case "tags": return {...n,- queryKey: mF("tags", e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => nn(hF("tags", e.q, e.category, t, n), r)+ queryKey: pF("tags", e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => nn(mF("tags", e.q, e.category, t, n), r)};case "online-authors": return {...n,- queryKey: Ebe(e.q),- queryFn: ({ pageParam: n, signal: r }) => Abe(e.q, t, n, r)+ queryKey: Obe(e.q),+ queryFn: ({ pageParam: n, signal: r }) => Mbe(e.q, t, n, r)};case "online-tags": return {...n,- queryKey: Dbe(e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => jbe(e.q, e.category, t, n, r)+ queryKey: kbe(e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => Nbe(e.q, e.category, t, n, r)};}}-async function Pbe(e, t) {- let n = gF(pF(fF(e)));+async function Ibe(e, t) {+ let n = hF(fF(dF(e)));V.removeQueries({queryKey: n.queryKey,exact: !0@@ -43164,13 +43180,13 @@ async function Pbe(e, t) {getNextPageParam: n.getNextPageParam});}-var Fbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Ibe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, _F = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Lbe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Rbe = {+var Lbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Rbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, gF = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", zbe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Bbe = {numeric: !0,sensitivity: "base"};-function zbe(e, t) {+function Vbe(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Rbe))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Bbe))) {let e = qt(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);a ? a.push(r) : n.set(i, [r]);}@@ -43178,7 +43194,7 @@ function zbe(e, t) {}//#endregion//#region src/react/index/index-people.tsx-function vF({ html: e, face: t, company: n, big: r }) {+function _F({ html: e, face: t, company: n, big: r }) {let i = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -43190,18 +43206,18 @@ function vF({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var Bbe = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";-function yF({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {+var Hbe = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";+function vF({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {return /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",...a,"data-index-cell": "",onClick: i,- className: VO({+ className: BO({radius: "plain",padding: "none",interactive: !0,- className: `${Bbe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${Hbe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -43218,23 +43234,23 @@ function yF({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {]});}-function bF({ kind: e, items: t, layout: n, props: r }) {- let i = dF(e), a = n === "big";+function yF({ kind: e, items: t, layout: n, props: r }) {+ let i = uF(e), a = n === "big";return /* @__PURE__ */ (0, x.jsx)("div", {"data-index-grid": "","data-layout": n,"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || Nbe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, x.jsx)(yF, {+ let n = t.entity_kind || Fbe[e], o = r.personAvatar(t, n, a);+ return /* @__PURE__ */ (0, x.jsx)(vF, {"data-k": t.k,"data-kind": n,name: t.k,- readout: `${Lbe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${zbe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, x.jsx)(vF, {+ children: /* @__PURE__ */ (0, x.jsx)(_F, {html: o.html,face: o.face,company: i,@@ -43244,14 +43260,14 @@ function bF({ kind: e, items: t, layout: n, props: r }) {})});}-function Vbe({ items: e, layout: t, props: n }) {+function Ube({ items: e, layout: t, props: n }) {let r = t === "big";return /* @__PURE__ */ (0, x.jsx)("div", {"data-index-grid": "","data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(yF, {+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(vF, {"data-follow-author": e.key,"data-kind": "performer",name: e.k,@@ -43260,7 +43276,7 @@ function Vbe({ items: e, layout: t, props: n }) {onPress: () => {e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);},- children: /* @__PURE__ */ (0, x.jsx)(vF, {+ children: /* @__PURE__ */ (0, x.jsx)(_F, {html: n.authorAvatar(e),company: !1,big: r@@ -43270,24 +43286,24 @@ function Vbe({ items: e, layout: t, props: n }) {}//#endregion//#region src/board-controls.ts-function xF(e) {+function bF(e) {let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;e.style.setProperty("--board-range-value", `${i}%`);}-var SF = /* @__PURE__ */ new WeakSet();-function Hbe() {- if (SF.has(document)) return;- SF.add(document);+var xF = /* @__PURE__ */ new WeakSet();+function Wbe() {+ if (xF.has(document)) return;+ xF.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(xF), Wbe(e), Ube(e);+ e.querySelectorAll("input[type=range]").forEach(bF), Kbe(e), Gbe(e);};e(document), new MutationObserver((t) => {- for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && xF(t), e(t));+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && bF(t), e(t));}).observe(document.body, {subtree: !0,childList: !0}), document.addEventListener("input", (e) => {- e.target instanceof HTMLInputElement && e.target.type === "range" && xF(e.target);+ e.target instanceof HTMLInputElement && e.target.type === "range" && bF(e.target);});let t = document.createElement("div");t.className = "ui-board-tooltip", t.id = "board-control-tooltip", t.role = "tooltip", t.popover = "manual", t.hidden = !0, document.body.append(t);@@ -43310,8 +43326,8 @@ function Hbe() {n && Ra(e, n) && o();}, !0), window.addEventListener("resize", o);}-var CF = /* @__PURE__ */ new Map();-function Ube(e) {+var SF = /* @__PURE__ */ new Map();+function Gbe(e) {let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-tabs")) return;@@ -43325,8 +43341,8 @@ function Ube(e) {left: r.offsetLeft,width: r.offsetWidth};- n(i), CF.set(t, i);- }, i = CF.get(t);+ n(i), SF.set(t, i);+ }, i = SF.get(t);i ? n(i) : r(), requestAnimationFrame(() => {e.classList.add("ui-board-tabs-ready"), requestAnimationFrame(r);});@@ -43342,15 +43358,15 @@ function Ube(e) {o.observe(e);});}-var wF = /* @__PURE__ */ new Map();-function Wbe(e) {+var CF = /* @__PURE__ */ new Map();+function Kbe(e) {let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;e.dataset.boardSegments = "true";let t = document.createElement("span");t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = wF.get(n) ?? null, i = () => {+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = CF.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -43359,7 +43375,7 @@ function Wbe(e) {w: i.offsetWidth,h: i.offsetHeight};- Vo(t, r, a, "x"), r = a, wF.set(n, a);+ Vo(t, r, a, "x"), r = a, CF.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -43376,8 +43392,8 @@ function Wbe(e) {}//#endregion//#region src/react/photo-lightbox/photo-lightbox.ts-var TF = "/vendor/swiper/14.3.0/", EF = null, Gbe = () => EF ??= Promise.all([new Promise((e, t) => {- let n = `${TF}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var wF = "/vendor/swiper/14.3.0/", TF = null, qbe = () => TF ??= Promise.all([new Promise((e, t) => {+ let n = `${wF}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -43391,11 +43407,11 @@ var TF = "/vendor/swiper/14.3.0/", EF = null, Gbe = () => EF ??= Promise.all([nereturn;}let r = document.createElement("script");- r.src = `${TF}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${wF}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 EF = null, e;+ throw TF = null, e;});-function Kbe(e, t, n) {+function Jbe(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);@@ -43416,47 +43432,47 @@ function Kbe(e, t, n) {}};}-var DF = (e) => {+var EF = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Ut(t)).replace(" ", "\xA0") : "大小未知";-}, qbe = (e) => e.asset?.name || e.name || "未命名图片";-function Jbe(e, t) {+}, Ybe = (e) => e.asset?.name || e.name || "未命名图片";+function Xbe(e, t) {let n = e.asset;- if (n) return [Yt[n.location ?? ""] || n.location || "来源未知", DF(n.size)].join(" · ");+ if (n) return [Yt[n.location ?? ""] || n.location || "来源未知", EF(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? DF(e.size) : ""+ e.size ? EF(e.size) : ""].filter(Boolean).join(" · ");}//#endregion//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx-var OF = null, kF = null, Ybe = 0;-function Xbe() {- return (!kF || !OF?.isConnected) && (kF?.unmount(), OF = document.createElement("div"), OF.className = "peach-react", OF.dataset.photoLightboxHost = "", document.body.append(OF), kF = (0, ht.createRoot)(OF)), kF;+var DF = null, OF = null, Zbe = 0;+function Qbe() {+ return (!OF || !DF?.isConnected) && (OF?.unmount(), DF = document.createElement("div"), DF.className = "peach-react", DF.dataset.photoLightboxHost = "", document.body.append(DF), OF = (0, ht.createRoot)(DF)), OF;}-async function AF(e, t, n) {+async function kF(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await Gbe();+ r = await qbe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = Xbe();- (0, mt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)(Zbe, {+ let i = Qbe();+ (0, mt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)($be, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++Ybe)));+ }, ++Zbe)));}-function jF() {- kF && (0, mt.flushSync)(() => kF.render(null));+function AF() {+ OF && (0, mt.flushSync)(() => OF.render(null));}-function Zbe({ slides: e, index: t, Swiper: n, host: r }) {+function $be({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, b.useId)(), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), [_, v] = (0, b.useState)(t), [y, S] = (0, b.useState)(100), [C, w] = (0, b.useState)({}), [T, E] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, b.useState)(!1), [j, M] = (0, b.useState)({at: t,text: ""@@ -43499,7 +43515,7 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = Kbe(e, a, S);+ i(t, 0), h.current = Jbe(e, a, S);let m = Qo(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();};@@ -43516,13 +43532,13 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {});y.observe(e);let b = (e) => {- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : jF());+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : AF());};return document.addEventListener("keydown", b, !0), () => {document.removeEventListener("keydown", b, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");};}, []), (0, b.useLayoutEffect)(() => {- m.current && xF(m.current);+ m.current && bF(m.current);}, [y]);let N = e[_], P = N.asset ?? null, ee = async (e) => {if (!P || !r || e.getAttribute("aria-busy") === "true") return;@@ -43553,18 +43569,18 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), jF();+ e.preventDefault(), AF();},onClick: (e) => {let t = e.target;- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && jF();+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && AF();},children: [/* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: jF,+ onClick: AF,dangerouslySetInnerHTML: { __html: L("x") }}),/* @__PURE__ */ (0, x.jsxs)("div", {@@ -43700,10 +43716,10 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: qbe(N)+ children: Ybe(N)}, _), /* @__PURE__ */ (0, x.jsx)("span", {"data-photo-detail-meta": "",- children: Jbe(N, C[_])+ children: Xbe(N, C[_])})]}),/* @__PURE__ */ (0, x.jsx)("button", {@@ -43742,40 +43758,40 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {}//#endregion//#region src/react/entity-body/entity-body-page.tsx-function Qbe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)($be, {+function exe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(txe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(exe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(rxe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(nxe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(axe, {photos: e.photos,props: e}, e.photos.revision) : null;}-var MF = lF.people;-function $be({ roster: e, props: t }) {+var jF = cF.people;+function txe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, b.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity- }), [n, r]), [a, o] = (0, b.useState)(MF), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {- o((e) => e + MF);+ }), [n, r]), [a, o] = (0, b.useState)(jF), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {+ o((e) => e + jF);}, []);- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(bF, {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(yF, {kind: e.kind,items: s,layout: e.layout,props: i- }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(sM, {+ }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(oM, {entity: !0,load: c,enabled: () => !0}, a) : null] });}-function exe(e) {- let t = Kj(!e.items, e.skeletonHtml);+function nxe(e) {+ let t = Gj(!e.items, e.skeletonHtml);return /* @__PURE__ */ (0, x.jsxs)("div", {"data-entity-grid": "","data-grid-reveal": t.fading ? "" : void 0,- children: [t.layer, e.items ? /* @__PURE__ */ (0, x.jsx)(oM, {+ children: [t.layer, e.items ? /* @__PURE__ */ (0, x.jsx)(aM, {mode: "entity",entityKey: `${e.kind}:${e.name}`,revision: e.revision,@@ -43794,33 +43810,33 @@ function exe(e) {}) : null]});}-var txe = (e) => Array.from({ length: e.n }, (t, n) => ({+var rxe = (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 || "官方样张"-})), NF = (e) => e.sample === !0, PF = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, FF = (e) => NF(e) ? `/sample-thumb?${PF(e)}` : `/photo-thumb?id=${e.id}`, nxe = (e) => NF(e) ? {- src: `/sample-image?${PF(e)}`,- thumb: FF(e),+})), MF = (e) => e.sample === !0, NF = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, PF = (e) => MF(e) ? `/sample-thumb?${NF(e)}` : `/photo-thumb?id=${e.id}`, ixe = (e) => MF(e) ? {+ src: `/sample-image?${NF(e)}`,+ thumb: PF(e),name: e.name,asset: null,source: e.source} : {src: `/photo?id=${e.id}`,- thumb: FF(e),+ thumb: PF(e),name: e.name || "",asset: e};-function rxe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(txe), ...e.items], [e]), [s, c] = (0, b.useState)(() => /* @__PURE__ */ new Set()), l = (0, b.useCallback)((e) => c((t) => {+function axe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(rxe), ...e.items], [e]), [s, c] = (0, b.useState)(() => /* @__PURE__ */ new Set()), l = (0, b.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, b.useCallback)((e) => {- AF(e, o.map(nxe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(ixe, {+ kF(e, o.map(ixe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(oxe, {item: e,index: t,lost: s.has(t),@@ -43838,7 +43854,7 @@ function rxe({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(IF, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(FF, {label: e.code,title: e.name,meta: [@@ -43850,7 +43866,7 @@ function rxe({ photos: e, props: t }) {...f,children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))})] }, e.code)),- m.length && e.total ? /* @__PURE__ */ (0, x.jsx)(IF, {+ m.length && e.total ? /* @__PURE__ */ (0, x.jsx)(FF, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -43859,14 +43875,14 @@ function rxe({ photos: e, props: t }) {"data-local-wall": "",children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))}),- e.hasMore ? /* @__PURE__ */ (0, x.jsx)(sM, {+ e.hasMore ? /* @__PURE__ */ (0, x.jsx)(oM, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function IF({ label: e, title: t, meta: n }) {+function FF({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"data-photo-group": "",children: [@@ -43883,7 +43899,7 @@ function IF({ label: e, title: t, meta: n }) {]});}-function ixe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function oxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -43892,7 +43908,7 @@ function ixe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {title: a,onClick: () => i(t),children: n ? null : /* @__PURE__ */ (0, x.jsx)("img", {- src: FF(e),+ src: PF(e),alt: a,loading: "lazy",decoding: "async",@@ -43903,8 +43919,8 @@ function ixe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {}//#endregion//#region src/react/follow-feed/follow-card.tsx-var axe = (e) => Number(e) > 0;-function LF({ name: e, actions: t, children: n, ...r }) {+var sxe = (e) => Number(e) > 0;+function IF({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, x.jsx)("a", {...r,href: `/creators/${encodeURIComponent(e)}`,@@ -43914,13 +43930,13 @@ function LF({ name: e, actions: t, children: n, ...r }) {children: n});}-var RF = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {+var LF = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: Cj(e) }+ dangerouslySetInnerHTML: { __html: Sj(e) }});-function oxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a }) {+function cxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a }) {let [o, s] = (0, b.useState)(!1), [c, l] = (0, b.useState)(!1);- return o ? /* @__PURE__ */ (0, x.jsx)(RF, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {+ return o ? /* @__PURE__ */ (0, x.jsx)(LF, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {src: c ? t : e,alt: "",loading: "lazy",@@ -43936,8 +43952,8 @@ function oxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function sxe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ri(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) => Cge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ai(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = see({+function lxe(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ri(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) => Tge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ai(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = see({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -43945,7 +43961,7 @@ function sxe(e) {limit: 9}), w = (0, b.useRef)(C.faces);w.current = C.faces;- let T = nM({+ let T = tM({load: async () => w.current,canFlip: () => w.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -43953,7 +43969,7 @@ function sxe(e) {E.current = T.onPointerLeave;let D = (0, b.useCallback)((e) => {e && (e._stopHover = () => E.current());- }, []), O = Oj(u, n, i), k = wj(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = jj(u, i), N = Aj(t, u), P = u.status === "saved", ee = (e) => {+ }, []), O = Dj(u, n, i), k = Cj(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = Aj(u, i), N = kj(t, u), P = u.status === "saved", ee = (e) => {e.target.closest("[data-media-tag]") || (o || e.shiftKey || e.ctrlKey || e.metaKey ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));}, F = (e, t) => {e.stopPropagation(), t();@@ -43967,7 +43983,7 @@ function sxe(e) {"data-collection": C.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: ee,- onMouseDown: Xj,+ onMouseDown: Yj,onMouseEnter: T.onPointerEnter,onMouseLeave: T.onPointerLeave,children: [@@ -43981,14 +43997,14 @@ function sxe(e) {}), /* @__PURE__ */ (0, x.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, x.jsx)(oxe, {+ p ? /* @__PURE__ */ (0, x.jsx)(cxe, {src: p,fallback: m,width: _?.width,height: _?.height,provider: A,onLearn: v- }, p) : /* @__PURE__ */ (0, x.jsx)(RF, { provider: A }),+ }, p) : /* @__PURE__ */ (0, x.jsx)(LF, { provider: A }),C.faces.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {"data-mix-faces": "",hidden: !T.faces.length,@@ -44006,7 +44022,7 @@ function sxe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: Cj(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: Sj(u.provider, u.provider_label) }}),/* @__PURE__ */ (0, x.jsx)("span", {"data-media-check": "",@@ -44015,7 +44031,7 @@ function sxe(e) {},dangerouslySetInnerHTML: { __html: L("check") }}),- axe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {+ sxe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {"data-media-duration": "",children: Vt(u.duration)}) : null,@@ -44086,7 +44102,7 @@ function sxe(e) {}),/* @__PURE__ */ (0, x.jsxs)("div", {"data-media-meta": "",- children: [O.entityName ? /* @__PURE__ */ (0, x.jsx)(LF, {+ children: [O.entityName ? /* @__PURE__ */ (0, x.jsx)(IF, {name: O.entityName,actions: l,"data-media-avatar": "",@@ -44104,11 +44120,11 @@ function sxe(e) {/* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: kj(t, u) + R(k) }+ dangerouslySetInnerHTML: { __html: Oj(t, u) + R(k) }}),/* @__PURE__ */ (0, x.jsxs)("div", {"data-follow-byline": "",- children: [O.entityName ? /* @__PURE__ */ (0, x.jsx)(LF, {+ children: [O.entityName ? /* @__PURE__ */ (0, x.jsx)(IF, {name: O.entityName,actions: l,"data-follow-author": "",@@ -44120,8 +44136,8 @@ function sxe(e) {children: O.author}), /* @__PURE__ */ (0, x.jsx)("time", {dateTime: u.published_at || "",- title: Nj(u),- children: Sge(u)+ title: Mj(u),+ children: wge(u)})]}),O.credited ? /* @__PURE__ */ (0, x.jsx)("div", {@@ -44157,10 +44173,10 @@ function sxe(e) {]});}-var zF = (0, b.memo)(sxe), BF = () => /* @__PURE__ */ (0, x.jsx)("span", {+var RF = (0, b.memo)(lxe), zF = () => /* @__PURE__ */ (0, x.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), cxe = yj("settings"), VF = yj("chevron-down"), lxe = yj("history"), uxe = [[+}), uxe = vj("settings"), BF = vj("chevron-down"), dxe = vj("history"), fxe = [["fixed","固定比例","layout-grid"@@ -44169,7 +44185,7 @@ var zF = (0, b.memo)(sxe), BF = () => /* @__PURE__ */ (0, x.jsx)("span", {"瀑布流","columns-2"]];-function dxe(e, t, n) {+function pxe(e, t, n) {return (0, b.useMemo)(() => {let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();a.forEach((e) => {@@ -44217,7 +44233,7 @@ function dxe(e, t, n) {n]);}-function fxe(e) {+function mxe(e) {let { view: t, seed: n, revision: r, actions: i } = e, a = Wr(t, r), o = pt(a), s = dt({queryKey: Gr,queryFn: ({ signal: e }) => Kr(e)@@ -44225,7 +44241,7 @@ function fxe(e) {sources: c?.sources || [],aliases: c?.author_aliases || [],credentials: l- }), [c, l]), d = dxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({+ }), [c, l]), d = pxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({tags: $s(d.visible.flatMap(Xr).map((e) => ({ tags: e.tags || [] }))),providers: [...d.providers].map(([e, t]) => [e,@@ -44251,10 +44267,10 @@ function fxe(e) {m,i]);- let h = mxe(e, !!c);+ let h = gxe(e, !!c);if (!c) return o.isError ? /* @__PURE__ */ (0, x.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, x.jsx)(HF, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(qj, {+ children: [/* @__PURE__ */ (0, x.jsx)(VF, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(Kj, {message: _t(o.error),onRetry: () => void o.refetch()})]@@ -44267,7 +44283,7 @@ function fxe(e) {author: d.author,provider: d.provider}, {- authors: new Map([...d.authorSources].map(([e, t]) => [e, Tj(t, u)])),+ authors: new Map([...d.authorSources].map(([e, t]) => [e, wj(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);@@ -44278,7 +44294,7 @@ function fxe(e) {"data-follow-feed": "","data-select-mode": e.selectMode ? "" : void 0,children: [- /* @__PURE__ */ (0, x.jsx)(HF, {+ /* @__PURE__ */ (0, x.jsx)(VF, {onManage: i.openManage,children: d.sources.length ? /* @__PURE__ */ (0, x.jsx)(W, {variant: "primary",@@ -44292,20 +44308,20 @@ function fxe(e) {}) : "检查更新"}) : null}),- /* @__PURE__ */ (0, x.jsx)(hxe, {+ /* @__PURE__ */ (0, x.jsx)(_xe, {facets: d,pressed: d.author,context: u,props: e,onPick: (e) => g({ author: d.author === e ? "" : e })}),- /* @__PURE__ */ (0, x.jsx)(gxe, {+ /* @__PURE__ */ (0, x.jsx)(vxe, {rows: d.workRows,pressed: t.work,props: e,onPick: (e) => g({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, x.jsx)(_xe, {+ /* @__PURE__ */ (0, x.jsx)(yxe, {facets: d,view: t,total: v,@@ -44313,7 +44329,7 @@ function fxe(e) {props: e,route: g}),- /* @__PURE__ */ (0, x.jsx)(vxe, {+ /* @__PURE__ */ (0, x.jsx)(bxe, {conditions: _,onDrop: (e) => i.route(fi(t, e)),onClear: () => g({@@ -44325,11 +44341,11 @@ function fxe(e) {durMax: 0})}),- d.broken.length ? /* @__PURE__ */ (0, x.jsx)(yxe, {+ d.broken.length ? /* @__PURE__ */ (0, x.jsx)(xxe, {count: d.broken.length,onManage: i.openManage}) : null,- /* @__PURE__ */ (0, x.jsx)(bxe, {+ /* @__PURE__ */ (0, x.jsx)(Sxe, {pending: f,facets: d,data: c,@@ -44340,14 +44356,14 @@ function fxe(e) {"data-follow-pagination": "",children: [c.has_more ? /* @__PURE__ */ (0, x.jsx)("span", {"data-follow-page-action": "",- children: c.groups.length < 500 ? /* @__PURE__ */ (0, x.jsxs)(sM, {+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, x.jsxs)(oM, {entity: !0,enabled: () => !h.busyRef.current,load: async () => {await o.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, x.jsx)(VF, { className: "size-3.5" }), "加载更多"]- }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(pxe, {+ children: [/* @__PURE__ */ (0, x.jsx)(BF, { className: "size-3.5" }), "加载更多"]+ }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(hxe, {busy: o.isFetchingNextPage,error: o.isFetchNextPageError ? _t(o.error) : "",load: () => {@@ -44358,7 +44374,7 @@ function fxe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",- leadingIcon: h.olderBusy ? void 0 : lxe,+ leadingIcon: h.olderBusy ? void 0 : dxe,"data-follow-older": "","aria-busy": h.busy || void 0,onClick: () => void h.start(!0),@@ -44375,7 +44391,7 @@ function fxe(e) {]})] });}-function HF({ onManage: e, children: t }) {+function VF({ onManage: e, children: t }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, x.jsx)("h2", {@@ -44385,7 +44401,7 @@ function HF({ onManage: e, children: t }) {"data-follow-head-actions": "",children: [/* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",- leadingIcon: cxe,+ leadingIcon: uxe,"data-follow-manage": "",onClick: e,children: "管理关注"@@ -44393,20 +44409,20 @@ function HF({ onManage: e, children: t }) {})]});}-function pxe({ busy: e, error: t, load: n }) {+function hxe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-entity-more": "","aria-busy": e || void 0,"aria-disabled": e || void 0,onClick: n,- children: [/* @__PURE__ */ (0, x.jsx)(VF, { className: "size-3.5" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, x.jsx)(qj, {+ children: [/* @__PURE__ */ (0, x.jsx)(BF, { className: "size-3.5" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, x.jsx)(Kj, {message: t,onRetry: n}) : null] });}-function mxe(e, t) {+function gxe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, b.useState)(0), [o, s] = (0, b.useState)(!1), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(!1), f = (0, b.useRef)(!1), p = (0, b.useRef)(null), m = (0, b.useRef)({helpers: n,actions: r@@ -44464,12 +44480,12 @@ function mxe(e, t) {olderBusy: c === "older" || u && o};}-function hxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function _xe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, b.useRef)(null);(0, b.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => Tj(e.authorSources.get(t) || [], n);+ let o = (t) => wj(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, x.jsx)("div", {@@ -44477,14 +44493,14 @@ function hxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {"data-follow-authors": "","aria-label": "创作者",children: e.authorOrder.map((n) => {- let a = e.authorSources.get(n) || [], s = Ej(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = Tj(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: Dj(a, o(n)) }+ dangerouslySetInnerHTML: { __html: Ej(a, o(n)) }}), /* @__PURE__ */ (0, x.jsx)("span", {"data-follow-name": "",children: o(n)})] });- return s ? /* @__PURE__ */ (0, x.jsx)(LF, {+ return s ? /* @__PURE__ */ (0, x.jsx)(IF, {name: s,actions: r.actions,"data-follow-author": n,@@ -44501,7 +44517,7 @@ function hxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function gxe({ rows: e, pressed: t, props: n, onPick: r }) {+function vxe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, b.useRef)(null);return (0, b.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -44522,13 +44538,13 @@ function gxe({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function _xe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = wk(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = wk(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function yxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = Ck(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = Ck(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, b.useEffect)(() => {o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);}, [o]);let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";- return /* @__PURE__ */ (0, x.jsx)(xk, {+ return /* @__PURE__ */ (0, x.jsx)(bk, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -44580,7 +44596,7 @@ function _xe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: L(i) }}, e);})- }), /* @__PURE__ */ (0, x.jsx)(BF, {})] }) : null, /* @__PURE__ */ (0, x.jsxs)("div", {+ }), /* @__PURE__ */ (0, x.jsx)(zF, {})] }) : null, /* @__PURE__ */ (0, x.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, x.jsxs)("div", {@@ -44600,7 +44616,7 @@ function _xe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {t.status !== e && a({ status: e });},children: n- }, e)), v ? /* @__PURE__ */ (0, x.jsx)(BF, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, x.jsx)(zF, {}) : null]}), /* @__PURE__ */ (0, x.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -44613,10 +44629,10 @@ function _xe({ 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: Cj(t, n) }+ dangerouslySetInnerHTML: { __html: Sj(t, n) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(BF, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(Sk, {+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(zF, {}) : null,+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(xk, {"data-follow-tag": n,"data-entity-press": "","data-tag-cat": `r34-${pi(e.groups, n)}`,@@ -44637,11 +44653,11 @@ function _xe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {}), /* @__PURE__ */ (0, x.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, x.jsx)(Vj, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Bj, {+ /* @__PURE__ */ (0, x.jsx)(Bj, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(zj, {label: "图片布局",value: i.photoLayout,- options: uxe,+ options: fxe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",@@ -44659,7 +44675,7 @@ function _xe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {})]})] }) : null,zr.map(([e, n]) => {- let r = t.sort === e, i = yj(t.dir === "asc" ? "arrow-up" : "arrow-down");+ let r = t.sort === e, i = vj(t.dir === "asc" ? "arrow-up" : "arrow-down");return /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-entity-sort": e,@@ -44678,7 +44694,7 @@ function _xe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {})] })});}-function vxe({ conditions: e, onDrop: t, onClear: n }) {+function bxe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -44703,7 +44719,7 @@ function vxe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function yxe({ count: e, onManage: t }) {+function xxe({ count: e, onManage: t }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-broken": "",onClick: (e) => {@@ -44712,12 +44728,12 @@ function yxe({ count: e, onManage: t }) {dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${L("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }});}-function bxe({ pending: e, facets: t, data: n, context: r, props: i }) {- let { view: a, helpers: o } = i, s = a.media === "images", c = Kj(e, () => o.listSkeletonHtml(a.media));+function Sxe({ pending: e, facets: t, data: n, context: r, props: i }) {+ let { view: a, helpers: o } = i, s = a.media === "images", c = Gj(e, () => o.listSkeletonHtml(a.media));return /* @__PURE__ */ (0, x.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": c.fading ? "" : void 0,- children: [c.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(xxe, {+ children: [c.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(Cxe, {facets: t,data: n,context: r,@@ -44726,28 +44742,28 @@ function bxe({ pending: e, facets: t, data: n, context: r, props: i }) {})]});}-function xxe({ facets: e, data: t, context: n, props: r, images: i }) {- let { view: a, actions: o } = r, s = WF(r), c = i ? {+function Cxe({ facets: e, data: t, context: n, props: r, images: i }) {+ let { view: a, actions: o } = r, s = UF(r), c = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)} : {}, l;return l = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), c = i?.author_key && e.authorSources.get(i.author_key) || [], l = t.primary.id;- return /* @__PURE__ */ (0, x.jsx)(zF, {+ return /* @__PURE__ */ (0, x.jsx)(RF, {group: t,authorSources: c,media: a.media,context: n,- selected: r.selected.has(UF(t, a)),+ selected: r.selected.has(HF(t, a)),selectMode: r.selectMode,- busy: s.busy.get(UF(t, a)) || "",- failure: s.failures.get(UF(t, a)) || "",+ busy: s.busy.get(HF(t, a)) || "",+ failure: s.failures.get(HF(t, a)) || "",actions: o,onStatus: s.status,onSave: s.save}, `${l}:${a.media}`);- }) : /* @__PURE__ */ (0, x.jsx)(Sxe, {+ }) : /* @__PURE__ */ (0, x.jsx)(wxe, {data: t,filtered: !!(a.status || e.author || e.provider || a.work || a.tags.length)}), /* @__PURE__ */ (0, x.jsx)("div", {@@ -44757,10 +44773,10 @@ function xxe({ facets: e, data: t, context: n, props: r, images: i }) {children: l});}-function UF(e, t) {+function HF(e, t) {return ri(e, t.media).id;}-function Sxe({ data: e, filtered: t }) {+function wxe({ data: e, filtered: t }) {let n = (e.groups || []).length ? Qa("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源、时长或标签后再试。") : (e.sources || []).length ? t ? Qa("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : Qa("rss", "还没有更新", "点「检查更新」去各个来源取一遍;来源有新内容时会集中显示在这里。") : Qa("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });return /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-empty": "",@@ -44768,12 +44784,12 @@ function Sxe({ data: e, filtered: t }) {dangerouslySetInnerHTML: { __html: n }});}-var Cxe = {+var Txe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"};-function WF(e) {+function UF(e) {let { view: t, revision: n, actions: r } = e, [i, a] = (0, b.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, b.useState)(() => /* @__PURE__ */ new Map()), c = Wr(t, n).queryKey, l = (e, t, n) => n((n) => {let r = new Map(n);return t ? r.set(e, t) : r.delete(e), r;@@ -44796,7 +44812,7 @@ function WF(e) {to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(Cxe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ u(t, n), d(), r.toast(Txe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {await B(En, {item: t,to: i@@ -44842,9 +44858,9 @@ function WF(e) {}//#endregion//#region src/react/entity-body/entity-online.tsx-function wxe(e) {- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = Kj(a, () => i.listSkeletonHtml(r));- return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(qj, {+function Exe(e) {+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = Gj(a, () => i.listSkeletonHtml(r));+ return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(Kj, {message: _t(t.error),onRetry: () => {t.refetch();@@ -44855,11 +44871,11 @@ function wxe(e) {"data-grid-reveal": o.fading ? "" : void 0,children: [o.layer,- a || !n ? null : /* @__PURE__ */ (0, x.jsx)(Txe, {+ a || !n ? null : /* @__PURE__ */ (0, x.jsx)(Dxe, {...e,data: n}),- !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(sM, {+ !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(oM, {entity: !0,enabled: () => e.canLoadMore?.() !== !1,load: async () => {@@ -44869,8 +44885,8 @@ function wxe(e) {]});}-function Txe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {- let l = WF({+function Dxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {+ let l = UF({view: e,revision: 0,actions: c@@ -44888,7 +44904,7 @@ function Txe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,"data-images-only": String(s)} : {}, p = r.length ? r.map((e) => {let n = ri(e, t).id, r = u.byId.get(e.primary?.source_id)?.author_key;- return /* @__PURE__ */ (0, x.jsx)(zF, {+ return /* @__PURE__ */ (0, x.jsx)(RF, {group: e,authorSources: r && u.byAuthor.get(r) || [],media: t,@@ -44901,7 +44917,7 @@ function Txe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: l.status,onSave: l.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, x.jsx)(Exe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });+ }) : /* @__PURE__ */ (0, x.jsx)(Oxe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });return /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-list": "","data-follow-wall": d ? "" : void 0,@@ -44909,7 +44925,7 @@ function Txe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: p});}-function Exe({ searched: e }) {+function Oxe({ searched: e }) {let t = e ? Qa("search-x", "当前筛选下没有更新", "切换媒体类型、状态、来源或标签后再试。") : Qa("rss", "还没有抓到更新", "关注页检查更新之后,这位创作者的新内容会出现在这里。");return /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-empty": "",@@ -44917,7 +44933,7 @@ function Exe({ searched: e }) {dangerouslySetInnerHTML: { __html: t }});}-function GF(e) {+function WF(e) {return {x0: 0,y0: 0,@@ -44925,7 +44941,7 @@ function GF(e) {y1: e.height};}-function KF(e) {+function GF(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -44933,40 +44949,40 @@ function KF(e) {y1: Math.round(e.y1)};}-function qF(e) {+function KF(e) {return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;}-function JF(e, t) {- if (!qF(e)) return {+function qF(e, t) {+ if (!KF(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return GF(e);+ if (t == null || !(t > 0)) return WF(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 KF({+ return GF({x0: i,y0: a,x1: i + n,y1: a + r});}-function Dxe(e, t) {- if (!qF(e) || !(t > 0)) return GF(e);+function kxe(e, t) {+ if (!KF(e) || !(t > 0)) return WF(e);let n = Math.min(e.width, e.height * t);- return KF({+ return GF({x0: e.width - n,y0: 0,x1: e.width,y1: e.height});}-function Oxe(e, t, n) {- if (!qF(t) || !(n > 0)) return GF(t);- let r = YF(e, t), i = JF({+function Axe(e, t, n) {+ if (!KF(t) || !(n > 0)) return WF(t);+ let r = JF(e, t), i = qF({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -44977,8 +44993,8 @@ function Oxe(e, t, n) {y1: r.y0 + i.y1};}-function YF(e, t, n = null, r = "width") {- if (!qF(t)) return {+function JF(e, t, n = null, r = "width") {+ if (!KF(t)) return {x0: 0,y0: 0,x1: 0,@@ -44987,43 +45003,43 @@ function YF(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 KF({+ return GF({x0: s,y0: c,x1: s + a,y1: c + o});}-function XF(e, t, n, r) {+function YF(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 KF({+ return GF({x0: o,y0: s,x1: o + i,y1: s + a});}-function ZF(e, t, n, r = null) {- if (!qF(n) || !(t > 0)) return e;+function XF(e, t, n, r = null) {+ if (!KF(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 YF({+ return JF({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,y1: a + s / 2}, n, r);}-function kxe(e, t, n, r, i = null) {+function jxe(e, t, n, r, i = null) {let a = {x0: e.x0,y0: e.y0,x1: Math.max(e.x0 + 1, t),y1: Math.max(e.y0 + 1, n)};- return YF(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return JF(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function Axe(e, t) {- return qF(t) ? {+function Mxe(e, t) {+ return KF(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -45035,8 +45051,8 @@ function Axe(e, t) {height: 0};}-function jxe(e, t) {- if (!qF(t)) return {+function Nxe(e, t) {+ if (!KF(t)) return {size: "cover",position: "50% 50%"};@@ -45046,7 +45062,7 @@ function jxe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function Mxe(e, t) {+function Pxe(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}%`,@@ -45055,32 +45071,32 @@ function Mxe(e, t) {height: `${t.height / r * 100}%`};}-function QF(e, t, n) {+function ZF(e, t, n) {return t > 0 ? e * n / t : 0;}-function Nxe(e, t) {+function Fxe(e, t) {return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;}//#endregion//#region src/react/components/modal-frame.tsx-var Pxe = {+var Ixe = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal"};-function $F({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {+function QF({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {let { isFocusVisible: a } = gie();- return /* @__PURE__ */ (0, x.jsx)(kA, {+ return /* @__PURE__ */ (0, x.jsx)(OA, {isOpen: e,onOpenChange: t,isDismissable: !0,"data-modal-motion": "","data-motion-instant": a || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, x.jsx)(hhe, {+ children: /* @__PURE__ */ (0, x.jsx)(_he, {"data-modal-surface": "",- className: `flex max-h-full w-full ${Pxe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,- children: /* @__PURE__ */ (0, x.jsx)(TA, {+ className: `flex max-h-full w-full ${Ixe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,+ children: /* @__PURE__ */ (0, x.jsx)(wA, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -45088,7 +45104,7 @@ function $F({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {})});}-function eI({ children: e }) {+function $F({ children: e }) {return /* @__PURE__ */ (0, x.jsx)("span", {"aria-hidden": !0,className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",@@ -45097,8 +45113,8 @@ function eI({ children: e }) {}//#endregion//#region src/react/crop/crop-frame.tsx-var Fxe = .02, tI = 1.08;-function nI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var Lxe = .02, eI = 1.08;+function tI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, b.useRef)(null), c = (0, b.useRef)(null), [l, u] = (0, b.useState)(!1), [d, f] = (0, b.useState)(null);(0, b.useEffect)(() => {u(!1);@@ -45117,8 +45133,8 @@ function nI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: QF(e, n.clientWidth, r.width),- dy: QF(t, n.clientHeight, r.height)+ dx: ZF(e, n.clientWidth, r.width),+ dy: ZF(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -45135,22 +45151,22 @@ function nI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: olet n = c.current, a = s.current;if (!n || !a || !r) return;let o = p(e.clientX - n.x, e.clientY - n.y);- n.mode === "move" ? i(XF(n.box, o.dx, o.dy, r)) : i(kxe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));+ n.mode === "move" ? i(YF(n.box, o.dx, o.dy, r)) : i(jxe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));}function g(e) {c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));}function _(e) {if (!n || !r) return;- let a = Math.max(1, (n.x1 - n.x0) * Fxe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * Lxe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};- o[e.key] ? (e.preventDefault(), i(XF(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(ZF(n, e.key === "-" ? 1 / tI : tI, r, t)));+ o[e.key] ? (e.preventDefault(), i(YF(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(XF(n, e.key === "-" ? 1 / eI : eI, r, t)));}- let v = n && r ? Axe(YF(n, r, t), r) : null, y = v ? Nxe(v, d) : !1, S = v ? {+ let v = n && r ? Mxe(JF(n, r, t), r) : null, y = v ? Fxe(v, d) : !1, S = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -45169,7 +45185,7 @@ function nI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odraggable: !1,onLoad: (e) => {let t = e.currentTarget;- qF({+ KF({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -45208,7 +45224,7 @@ function nI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i(ZF(n, e.deltaY > 0 ? tI : 1 / tI, r, t));+ n && r && i(XF(n, e.deltaY > 0 ? eI : 1 / eI, r, t));},className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",children: /* @__PURE__ */ (0, x.jsx)("span", {@@ -45231,13 +45247,13 @@ function nI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o}//#endregion//#region src/react/avatar-picker/avatar-picker.ts-var Ixe = "/api/avatar-choices", rI = "/api/avatar-pick", Lxe = "/api/avatar-code-cover", iI = "/api/avatar-frame", Rxe = "/avatar-choice", aI = (e, t) => [+var Rxe = "/api/avatar-choices", nI = "/api/avatar-pick", zxe = "/api/avatar-code-cover", rI = "/api/avatar-frame", Bxe = "/avatar-choice", iI = (e, t) => ["avatar-choices",e,t-], oI = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, sI = (e, t, n, r = "") => `${Rxe}${oI(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), cI = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", zxe = (e, t, n) => nn(Ixe + oI(e, t), n), Bxe = (e) => B(Lxe, { code: e });-async function Vxe(e, t, n) {- let r = await B(iI, {+], aI = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, oI = (e, t, n, r = "") => `${Bxe}${aI(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), sI = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Vxe = (e, t, n) => nn(Rxe + aI(e, t), n), Hxe = (e) => B(zxe, { code: e });+async function Uxe(e, t, n) {+ let r = await B(rI, {kind: e,id: t,ref: n.ref@@ -45250,12 +45266,12 @@ async function Vxe(e, t, n) {bases: r.bases};}-var Hxe = (e, t, n) => B(iI, {+var Wxe = (e, t, n) => B(rI, {kind: e,id: t,url: n-}), Uxe = (e, t, n) => lI(`${iI}${oI(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function lI(e, t) {+}), Gxe = (e, t, n) => cI(`${rI}${aI(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function cI(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",@@ -45264,17 +45280,17 @@ async function lI(e, t) {if (n.ok) return r;throw new en(r?.error || `请求失败(${n.status})`, n.status, r);}-function uI(e, t, n) {+function lI(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? Oxe(e.focus, t, n) : JF(t, n);+ return e.focus && r ? Axe(e.focus, t, n) : qF(t, n);}-var Wxe = (e) => e.crop && qF({+var Kxe = (e) => e.crop && KF({width: e.width,height: e.height});-async function Gxe(e, t, n) {+async function qxe(e, t, n) {if (!("file" in n)) {- await B(rI, {+ await B(nI, {kind: e,id: t,...n@@ -45287,19 +45303,19 @@ async function Gxe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await lI(`${rI}${oI(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await cI(`${nI}${aI(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var dI = 2;-function Kxe(e, t) {+var uI = 2;+function Jxe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, dI).join("」「")}」`}${n.length > dI ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, uI).join("」「")}」`}${n.length > uI ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;}-var qxe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function Jxe(e) {- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${qxe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var Yxe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function Xxe(e) {+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Yxe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var fI = (e) => e.cast > 1, Yxe = (e) => fI(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Xxe = {+var dI = (e) => e.cast > 1, Zxe = (e) => dI(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Qxe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -45309,7 +45325,7 @@ var fI = (e) => e.cast > 1, Yxe = (e) => fI(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function Zxe(e) {+function $xe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -45320,19 +45336,19 @@ function Zxe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var Qxe = (e) => `${Xxe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (fI(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), $xe = 8, eSe = 3 / 4;-async function tSe(e, t, n) {+var eSe = (e) => `${Qxe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (dI(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), tSe = 8, nSe = 3 / 4;+async function rSe(e, t, n) {switch (n.via) {- case "choice": return { choice: await Vxe(e, t, n.choice) };- case "code": return { choice: await Bxe(n.code) };- case "url": return { choice: await Hxe(e, t, n.url) };+ case "choice": return { choice: await Uxe(e, t, n.choice) };+ case "code": return { choice: await Hxe(n.code) };+ case "url": return { choice: await Wxe(e, t, n.url) };case "file": return {- choice: await Uxe(e, t, n.file),+ choice: await Gxe(e, t, n.file),file: n.file};}}-function nSe({ kind: e, entityId: t, name: n, onPicked: r }) {+function iSe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, b.useState)(!1);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -45342,17 +45358,17 @@ function nSe({ 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, x.jsx)(Hue, {+ children: /* @__PURE__ */ (0, x.jsx)(Uue, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, x.jsx)($F, {+ }), /* @__PURE__ */ (0, x.jsx)(QF, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, x.jsx)(rSe, {+ children: /* @__PURE__ */ (0, x.jsx)(aSe, {kind: e,entityId: t,name: n,@@ -45361,22 +45377,22 @@ function nSe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function rSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, b.useRef)(null), o = cP(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = aI(e, t), m = (0, b.useRef)(!1), h = dt({+function aSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, b.useRef)(null), o = sP(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = iI(e, t), m = (0, b.useRef)(!1), h = dt({queryKey: p,- queryFn: ({ signal: n }) => zxe(e, t, n),+ queryFn: ({ signal: n }) => Vxe(e, t, n),retryOnMount: !0});(0, b.useEffect)(() => () => {- m.current && V.removeQueries({ queryKey: aI(e, t) });+ m.current && V.removeQueries({ queryKey: iI(e, t) });}, [e, t]);let g = ft({- mutationFn: (n) => Gxe(e, t, n),+ mutationFn: (n) => qxe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}}), _ = ft({- mutationFn: (n) => tSe(e, t, n),+ mutationFn: (n) => rSe(e, t, n),onSuccess: f}), v = (e) => _.isPending && _.variables?.via === e;function y(e) {@@ -45394,28 +45410,28 @@ function rSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {crop: e.crop} : { file: n }) : g.mutate(e ?? { ref: t.ref });}- let C = h.data, w = C?.choices ?? [], T = (g.error ? z(g.error) : "") || (!d && _.error ? z(_.error) : "") || (h.error ? z(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : Jxe(C), O = !!T && !!h.error && T === z(h.error), k = h.isPending || w.length > 0;+ let C = h.data, w = C?.choices ?? [], T = (g.error ? z(g.error) : "") || (!d && _.error ? z(_.error) : "") || (h.error ? z(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : Xxe(C), O = !!T && !!h.error && T === z(h.error), k = h.isPending || w.length > 0;return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, x.jsx)(eI, { children: /* @__PURE__ */ (0, x.jsx)(vde, { className: "size-6" }) }),+ /* @__PURE__ */ (0, x.jsx)($F, { children: /* @__PURE__ */ (0, x.jsx)(yde, { className: "size-6" }) }),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(zk, {+ children: [/* @__PURE__ */ (0, x.jsx)(Rk, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(RO, {+ }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(LO, {color: "soft",children: [w.length.toLocaleString(), " 张可选"]}) : null]}),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? Yxe(d.choice) : Kxe(n, C)+ children: d ? Zxe(d.choice) : Jxe(n, C)}),D ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "neutral",@@ -45436,14 +45452,14 @@ function rSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, x.jsx)(uP, {- icon: iO,+ /* @__PURE__ */ (0, x.jsx)(lP, {+ icon: rO,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, x.jsx)(oSe, {+ }), d ? /* @__PURE__ */ (0, x.jsx)(cSe, {kind: e,entityId: t,choice: d.choice,@@ -45462,7 +45478,7 @@ function rSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {"aria-busy": h.isPending || void 0,"data-skeleton": h.isPending ? "avatar-choices" : void 0,className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",- children: h.isPending ? Array.from({ length: $xe }, (e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {+ children: h.isPending ? Array.from({ length: tSe }, (e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {"aria-hidden": !0,"data-avatar-skeleton": !0,className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",@@ -45475,7 +45491,7 @@ function rSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: Qxe(n),+ title: eSe(n),...K(E),onClick: () => {E || (n.crop ? f({ choice: n }) : _.mutate({@@ -45485,8 +45501,8 @@ function rSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",children: [- /* @__PURE__ */ (0, x.jsx)(iSe, {- src: sI(e, t, n.ref, cI(n, n.ref)),+ /* @__PURE__ */ (0, x.jsx)(oSe, {+ src: oI(e, t, n.ref, sI(n, n.ref)),choice: n}),/* @__PURE__ */ (0, x.jsx)("span", {@@ -45495,15 +45511,15 @@ function rSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, x.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, x.jsx)(RO, {+ children: /* @__PURE__ */ (0, x.jsx)(LO, {variant: "caption",color: "gray",children: "在用"})}) : null,- fI(n) ? /* @__PURE__ */ (0, x.jsx)("span", {+ dI(n) ? /* @__PURE__ */ (0, x.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, x.jsxs)(RO, {+ children: /* @__PURE__ */ (0, x.jsxs)(LO, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -45525,7 +45541,7 @@ function rSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, x.jsx)(PP, {+ children: /* @__PURE__ */ (0, x.jsx)(NP, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -45560,7 +45576,7 @@ function rSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "flex min-w-0 flex-1 basis-56 items-center gap-2",children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, x.jsx)(PP, {+ children: /* @__PURE__ */ (0, x.jsx)(NP, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -45583,7 +45599,7 @@ function rSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function iSe({ src: e, choice: t }) {+function oSe({ src: e, choice: t }) {let n = (0, b.useRef)(null), [r, i] = (0, b.useState)(!1), [a, o] = (0, b.useState)(!1);(0, b.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -45591,7 +45607,7 @@ function iSe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = Wxe(t) ? Mxe(uI(t, s, eSe), s) : null, l = r || a ? !0 : void 0;+ }, c = Kxe(t) ? Pxe(lI(t, s, nSe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, x.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -45617,7 +45633,7 @@ function iSe({ src: e, choice: t }) {})]});}-function aSe(e) {+function sSe(e) {let [t, n] = (0, b.useState)("");return (0, b.useEffect)(() => {if (!e) return;@@ -45625,23 +45641,23 @@ function aSe(e) {return n(t), () => URL.revokeObjectURL(t);}, [e]), t;}-function oSe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {- let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, b.useState)(s[0]), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = cI(n, c), h = aSe(r), g = r ? h : sI(e, t, c, m), _ = cP();+function cSe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {+ let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, b.useState)(s[0]), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = sI(n, c), h = sSe(r), g = r ? h : oI(e, t, c, m), _ = sP();function v(e) {l(e), d(null), p(null);}- let y = f && u ? jxe(f, u) : null;+ let y = f && u ? Nxe(f, u) : null;return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {ref: _,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: [g ? /* @__PURE__ */ (0, x.jsx)(nI, {+ children: [g ? /* @__PURE__ */ (0, x.jsx)(tI, {src: g,aspect: 1,box: f,size: u,label: `${n.label} 的头像取景框`,onSize: (e) => {- d(e), qF(e) && p(c === n.ref ? uI(n, e, 1) : JF(e, 1));+ d(e), KF(e) && p(c === n.ref ? lI(n, e, 1) : qF(e, 1));},onBox: p}) : null, s.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {@@ -45655,7 +45671,7 @@ function oSe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi"data-crop-base": !0,onClick: () => v(e),className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",- children: Zxe(e)+ children: $xe(e)}, e))}) : null]}), /* @__PURE__ */ (0, x.jsxs)("div", {@@ -45704,7 +45720,7 @@ function oSe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi}//#endregion//#region src/react/feed-new/feed-new-row.tsx-function pI({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+function fI({ feedNew: e, host: t, wire: n, act: r, settled: i }) {let a = (0, b.useRef)(null), o = e?.items.length ? e.html : "";(0, b.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !o, e && i?.(!!o);@@ -45736,12 +45752,12 @@ function pI({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}//#endregion//#region src/react/entity-hero/glyph.tsx-var sSe = {+var lSe = {"text-aa": 1.435,"mark-javdb": 326 / 111};-function mI({ name: e }) {- let t = sSe[e];+function pI({ name: e }) {+ let t = lSe[e];return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24","aria-hidden": "true",@@ -45751,20 +45767,20 @@ function mI({ name: e }) {}//#endregion//#region src/react/entity-hero/hero-pop.tsx-function hI(e, t) {+function mI(e, t) {t.style.removeProperty("max-height");let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;}-var gI = (e) => !!e?.isConnected && e.matches(":popover-open");-function _I(e, t, n, r) {+var hI = (e) => !!e?.isConnected && e.matches(":popover-open");+function gI(e, t, n, r) {let i = (0, b.useRef)(r);i.current = r, (0, b.useEffect)(() => {if (!e) return;let r = () => {- t.current && gI(n.current) ? hI(t.current, n.current) : i.current();+ t.current && hI(n.current) ? mI(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -45778,17 +45794,17 @@ function _I(e, t, n, r) {n]);}-function vI({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function _I({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)(!1), u = (0, b.useRef)(!1), d = (0, b.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, gI(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, hI(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !gI(s.current) && (s.current.showPopover(), hI(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !hI(s.current) && (s.current.showPopover(), mI(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 _I(c, o, s, f), (0, b.useEffect)(() => {+ return gI(c, o, s, f), (0, b.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -45814,7 +45830,7 @@ function vI({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && gI(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && hI(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, x.jsxs)("div", {@@ -45832,16 +45848,16 @@ function vI({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function cSe({ following: e, busy: t, onToggle: n, tip: r }) {+function uSe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), [s, c] = (0, b.useState)(!1), l = (0, b.useRef)(!1), u = () => {- gI(o.current) && o.current.hidePopover(), c(!1);+ hI(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !gI(o.current) && (o.current.showPopover(), hI(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !hI(o.current) && (o.current.showPopover(), mI(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return _I(s, i, o, () => c(!1)), (0, b.useEffect)(() => {- i.current && gI(o.current) && hI(i.current, o.current);+ return gI(s, i, o, () => c(!1)), (0, b.useEffect)(() => {+ i.current && hI(o.current) && mI(i.current, o.current);}, [r]), /* @__PURE__ */ (0, x.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -45850,7 +45866,7 @@ function cSe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, x.jsx)(mI, { name: "rss" }),+ /* @__PURE__ */ (0, x.jsx)(pI, { name: "rss" }),/* @__PURE__ */ (0, x.jsx)("input", {ref: a,type: "checkbox",@@ -45885,29 +45901,29 @@ function cSe({ following: e, busy: t, onToggle: n, tip: r }) {}//#endregion//#region src/react/entity-hero/name-picker.tsx-function lSe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function dSe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, b.useState)(!1), o = (0, b.useRef)(null);return (0, b.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");- }, []), /* @__PURE__ */ (0, x.jsxs)(she, {+ }, []), /* @__PURE__ */ (0, x.jsxs)(lhe, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, x.jsx)(zpe, {+ children: [/* @__PURE__ */ (0, x.jsx)(Vpe, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, x.jsx)(mI, { name: "chevron-down" })- }), /* @__PURE__ */ (0, x.jsx)(mA, {+ children: /* @__PURE__ */ (0, x.jsx)(pI, { name: "chevron-down" })+ }), /* @__PURE__ */ (0, x.jsx)(pA, {placement: "bottom start",offset: 8,containerPadding: 8,- className: VN,+ className: BN,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, x.jsxs)(lhe, {+ children: /* @__PURE__ */ (0, x.jsxs)(dhe, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, x.jsx)(xA, {+ /* @__PURE__ */ (0, x.jsx)(bA, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -45915,31 +45931,31 @@ function lSe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, x.jsxs)(CA, {+ children: t.map((e) => /* @__PURE__ */ (0, x.jsxs)(SA, {id: e,textValue: e,"data-namepick-name": e,- children: [/* @__PURE__ */ (0, x.jsx)(mI, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, x.jsx)(pI, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]}, e))}),- /* @__PURE__ */ (0, x.jsx)(Bme, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, x.jsx)(xA, { children: /* @__PURE__ */ (0, x.jsxs)(CA, {+ /* @__PURE__ */ (0, x.jsx)(Hme, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, x.jsx)(bA, { children: /* @__PURE__ */ (0, x.jsxs)(SA, {id: "alias",textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, x.jsx)(mI, { name: "plus" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, x.jsx)(pI, { name: "plus" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var uSe = (e) => e === "studio" || e === "agency", yI = (e) => e === "performer" || e === "creator", dSe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function fSe(e) {+var fSe = (e) => e === "studio" || e === "agency", vI = (e) => e === "performer" || e === "creator", pSe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function mSe(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}-function bI(e) {+function yI(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0@@ -45950,13 +45966,13 @@ function bI(e) {linked: !1} : null;}-function xI(e, t) {+function bI(e, t) {let n = zt(e, "performer"), r = It(t);return r && [e.label, n].map(It).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var SI = (e) => ({ site: Mt(e) });-function pSe(e, t) {- let n = bI(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var xI = (e) => ({ site: Mt(e) });+function hSe(e, t) {+ let n = yI(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -45966,7 +45982,7 @@ function pSe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${xI(e, n)} · ${t}`+ title: `${bI(e, n)} · ${t}`};}let r = e.url || "";@@ -45974,11 +45990,11 @@ function pSe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (yI(t) && e.link_kind !== "social") return {+ if (vI(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: xI(e, n),- mark: SI(e)+ title: bI(e, n),+ mark: xI(e)};if (e.link_kind === "social") {let t = Ft(r);@@ -45986,7 +46002,7 @@ function pSe(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : SI(e)+ mark: t ? { brand: t } : xI(e)};}return {@@ -45994,12 +46010,12 @@ function pSe(e, t) {url: r,title: e.label || "",text: zt(e, t, i),- mark: SI(e)+ mark: xI(e)};});- return [...r, ...mSe(a)];+ return [...r, ...gSe(a)];}-function mSe(e) {+function gSe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -46007,8 +46023,8 @@ function mSe(e) {sources: t.map((e) => e.label)}];}-var CI = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function hSe(e) {+var SI = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function _Se(e) {return [["legal_name",@@ -46064,7 +46080,7 @@ function hSe(e) {}]}] : []);}-function gSe(e) {+function vSe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -46121,14 +46137,14 @@ function gSe(e) {tags: e.tags}), t;}-function wI(e, t = 4) {+function CI(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function _Se(e) {+function ySe(e) {if (!e) return null;let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;return n.length || r > 0 ? {@@ -46139,7 +46155,7 @@ function _Se(e) {}//#endregion//#region src/react/entity-hero/entity-hero-page.tsx-function vSe(e) {+function bSe(e) {return Qi({id: e.id,hasImage: e.has_image,@@ -46150,8 +46166,8 @@ function vSe(e) {standIn: e.avatar_stand_in});}-function ySe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = yI(e), c = uSe(e), l = s ? gSe(n.profile) : c ? hSe(n.company_profile) : [], u = pSe(n, e), d = CI(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, b.useRef)(null), m = (0, b.useRef)(null);+function xSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ let s = vI(e), c = fSe(e), l = s ? vSe(n.profile) : c ? _Se(n.company_profile) : [], u = hSe(n, e), d = SI(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, b.useRef)(null), m = (0, b.useRef)(null);return (0, b.useEffect)(() => {o.wireScroller(p.current);}, [o, u.length]), (0, b.useEffect)(() => {@@ -46164,7 +46180,7 @@ function ySe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, x.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, x.jsx)(bSe, {+ children: [/* @__PURE__ */ (0, x.jsx)(SSe, {kind: e,name: t,helpers: o,@@ -46172,7 +46188,7 @@ function ySe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: c}), s && n.id ? /* @__PURE__ */ (0, x.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, x.jsx)(nSe, {+ children: /* @__PURE__ */ (0, x.jsx)(iSe, {kind: e,entityId: Number(n.id),name: n.canonical_name || t,@@ -46185,14 +46201,14 @@ function ySe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, x.jsxs)("div", {"data-entity-title": "",- children: [/* @__PURE__ */ (0, x.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, x.jsx)(lSe, {+ children: [/* @__PURE__ */ (0, x.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, x.jsx)(dSe, {current: n.canonical_name,- choices: fSe(n),+ choices: mSe(n),onChoose: a.chooseName,onAddAlias: a.addAlias})]}),- /* @__PURE__ */ (0, x.jsx)(xSe, {+ /* @__PURE__ */ (0, x.jsx)(CSe, {kind: e,entity: n,actions: a@@ -46213,14 +46229,14 @@ function ySe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,u.length ? /* @__PURE__ */ (0, x.jsx)("div", {ref: p,"data-entity-links": "",- children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(DSe, { link: e }, t))+ children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(kSe, { link: e }, t))}) : null,- d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(OSe, {+ d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(ASe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(wSe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(ESe, {follow: n.follow,entity: n,actions: a@@ -46229,11 +46245,11 @@ function ySe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),l.length ? /* @__PURE__ */ (0, x.jsx)("dl", {"data-entity-facts": "",- children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(TSe, {+ children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(DSe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, x.jsx)(ESe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, x.jsx)(OSe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -46252,7 +46268,7 @@ function ySe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, x.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${R(qt(e.k))}</span>${vSe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${R(qt(e.k))}</span>${bSe(e)}` }}), /* @__PURE__ */ (0, x.jsx)("span", {"data-hero-costar-name": "",children: e.k@@ -46260,14 +46276,14 @@ function ySe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(pI, {+ }), i ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(fI, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function bSe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function SSe({ kind: e, name: t, helpers: n, people: r, company: i }) {let [a] = (0, b.useState)(() => `${n.portraitImg()}<span>${R(qt(t))}</span>`);return /* @__PURE__ */ (0, x.jsx)("div", {"data-entity-portrait": r ? "round" : "square",@@ -46276,8 +46292,8 @@ function bSe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: a }});}-function xSe({ kind: e, entity: t, actions: n }) {- let r = bI(t), i = (e, t) => (r) => {+function CSe({ kind: e, entity: t, actions: n }) {+ let r = yI(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, x.jsx)("a", {href: Dt("agency", r.name),@@ -46286,41 +46302,41 @@ function xSe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = _Se(t.name_groups);+ let e = ySe(t.name_groups);return /* @__PURE__ */ (0, x.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, x.jsx)(TI, { entity: t }),+ /* @__PURE__ */ (0, x.jsx)(wI, { entity: t }),/* @__PURE__ */ (0, x.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, x.jsx)(mI, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, x.jsx)(pI, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(CSe, {+ t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(TSe, {follow: t.follow,actions: n}) : null,a ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, x.jsx)(mI, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, x.jsx)(pI, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]}) : null,e ? /* @__PURE__ */ (0, x.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, x.jsx)(mI, { name: "id-card" }),+ /* @__PURE__ */ (0, x.jsx)(pI, { name: "id-card" }),/* @__PURE__ */ (0, x.jsx)("span", {"data-alias-names": "",title: "别名",children: e.names.map((e, t) => /* @__PURE__ */ (0, x.jsx)("span", { children: e }, t))}),- e.rest > 0 ? /* @__PURE__ */ (0, x.jsx)(vI, {+ e.rest > 0 ? /* @__PURE__ */ (0, x.jsx)(_I, {id: "entityAliasPop",hook: "alias",rest: e.rest,label: `另外 ${e.rest.toLocaleString()} 个别名`,heading: `${e.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, x.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, x.jsx)(EI, {+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, x.jsx)(TI, {label: e.label,names: e.names}, t)) })@@ -46342,64 +46358,64 @@ function xSe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, x.jsx)(TI, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, x.jsx)(wI, { entity: t }) : null,/* @__PURE__ */ (0, x.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, x.jsx)(mI, { name: "film" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, x.jsx)(pI, { name: "film" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, x.jsx)(mI, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, x.jsx)(pI, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, x.jsx)(mI, { name: "clapperboard" }), /* @__PURE__ */ (0, x.jsx)("a", {+ children: [/* @__PURE__ */ (0, x.jsx)(pI, { name: "clapperboard" }), /* @__PURE__ */ (0, x.jsx)("a", {href: Dt("studio", l.name),"data-studio-link": l.name,onClick: i("studio", l.name),children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, x.jsx)(SSe, {+ s.length ? /* @__PURE__ */ (0, x.jsx)(wSe, {aliases: s,wide: e === "studio" || e === "agency"}) : null]});}-function SSe({ aliases: e, wide: t }) {- let { shown: n, rest: r } = wI(e, 3);+function wSe({ aliases: e, wide: t }) {+ let { shown: n, rest: r } = CI(e, 3);return /* @__PURE__ */ (0, x.jsxs)("div", {"data-meta-item": "names","data-company-names": t ? "" : void 0,children: [- /* @__PURE__ */ (0, x.jsx)(mI, { name: "id-card" }),+ /* @__PURE__ */ (0, x.jsx)(pI, { name: "id-card" }),/* @__PURE__ */ (0, x.jsx)("span", {"data-alias-names": "",title: "别名",children: n.map((e, t) => /* @__PURE__ */ (0, x.jsx)("span", { children: e }, t))}),- r ? /* @__PURE__ */ (0, x.jsx)(vI, {+ r ? /* @__PURE__ */ (0, x.jsx)(_I, {id: "entityAliasPop",hook: "alias",rest: r,label: `另外 ${r.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(EI, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(TI, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function CSe({ follow: e, actions: t }) {+function TSe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, x.jsxs)("span", {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, x.jsx)(mI, { name: "rss" }), /* @__PURE__ */ (0, x.jsxs)("a", {+ children: [/* @__PURE__ */ (0, x.jsx)(pI, { name: "rss" }), /* @__PURE__ */ (0, x.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -46408,7 +46424,7 @@ function CSe({ follow: e, actions: t }) {})]});}-function wSe({ follow: e, entity: t, actions: n }) {+function ESe({ follow: e, entity: t, actions: n }) {let [r, i] = (0, b.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -46442,14 +46458,14 @@ function wSe({ follow: e, entity: t, actions: n }) {}, e.key))});}-function TI({ entity: e }) {+function wI({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, x.jsx)(mI, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, x.jsx)(pI, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function EI({ label: e, names: t }) {+function TI({ label: e, names: t }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, x.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {@@ -46458,20 +46474,20 @@ function EI({ label: e, names: t }) {}, t))})] });}-function TSe({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("dt", { children: [/* @__PURE__ */ (0, x.jsx)(mI, { name: e }), t] }), /* @__PURE__ */ (0, x.jsx)("dd", {+function DSe({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("dt", { children: [/* @__PURE__ */ (0, x.jsx)(pI, { name: e }), t] }), /* @__PURE__ */ (0, x.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function ESe({ tags: e }) {- let { shown: t, rest: n } = wI(e);+function OSe({ tags: e }) {+ let { shown: t, rest: n } = CI(e);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, x.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, x.jsx)(vI, {+ }, e)), n ? /* @__PURE__ */ (0, x.jsx)(_I, {id: "entityTagPop",hook: "fact",rest: n,@@ -46487,10 +46503,10 @@ function ESe({ tags: e }) {})}) : null] });}-function DI({ mark: e }) {+function EI({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, x.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, x.jsx)(mI, { name: e.brand })+ children: /* @__PURE__ */ (0, x.jsx)(pI, { name: e.brand })});let t = L("globe") + ("site" in e ? `<img src="${R(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, x.jsx)("span", {@@ -46498,7 +46514,7 @@ function DI({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function DSe({ link: e }) {+function kSe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, x.jsx)("a", {"data-link": "icon",@@ -46507,19 +46523,19 @@ function DSe({ link: e }) {rel: "noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, x.jsx)(DI, { mark: e.mark })+ children: /* @__PURE__ */ (0, x.jsx)(EI, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, x.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, x.jsx)(DI, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, x.jsx)(EI, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, x.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, x.jsx)(DI, { mark: { globe: !0 } }), /* @__PURE__ */ (0, x.jsx)("span", {+ children: [/* @__PURE__ */ (0, x.jsx)(EI, { mark: { globe: !0 } }), /* @__PURE__ */ (0, x.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -46530,14 +46546,14 @@ function DSe({ link: e }) {target: "_blank",rel: "noreferrer",title: e.title,- children: [/* @__PURE__ */ (0, x.jsx)(DI, { mark: e.mark }), /* @__PURE__ */ (0, x.jsx)("span", {+ children: [/* @__PURE__ */ (0, x.jsx)(EI, { mark: e.mark }), /* @__PURE__ */ (0, x.jsx)("span", {"data-link-label": "",children: e.text})]});}}-function OSe({ entity: e, actions: t, helpers: n }) {+function ASe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, b.useState)(!!e.feed?.following), [a, o] = (0, b.useState)(!1), s = (0, b.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -46555,34 +46571,34 @@ function OSe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, x.jsxs)("div", {"data-entry-marks": "",- children: [CI(e).map((e, t) => /* @__PURE__ */ (0, x.jsxs)("a", {+ children: [SI(e).map((e, t) => /* @__PURE__ */ (0, x.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(mI, { name: e.mark }) : /* @__PURE__ */ (0, x.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(pI, { name: e.mark }) : /* @__PURE__ */ (0, x.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, x.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, x.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(cSe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(uSe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: dSe(r)+ tip: pSe(r)}) : null]});}//#endregion//#region src/react/entity-page/use-entity-online.ts-var kSe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function ASe(e, t, n) {+var jSe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function MSe(e, t, n) {let [r, i] = (0, b.useState)(() => ii(e));r.author !== e && i(ii(e));let [a, o] = (0, b.useState)({@@ -46661,7 +46677,7 @@ function ASe(e, t, n) {onlineMedia: (e) => c(e),onlineShuffle: () => E({sort: Vr,- seed: kSe()+ seed: jSe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => E({ status: e }),@@ -46679,8 +46695,8 @@ function ASe(e, t, n) {}//#endregion//#region src/react/entity-page/entity-page-view.tsx-function jSe(e) {- let { kind: t, name: n } = e, r = dt(tF(t, n)), i = !!r.data?.error, a = r.data?.redirect, { actions: o } = e;+function NSe(e) {+ let { kind: t, name: n } = e, r = dt(eF(t, n)), i = !!r.data?.error, a = r.data?.redirect, { actions: o } = e;return (0, b.useLayoutEffect)(() => {i && o.missing();}, [o, i]), (0, b.useLayoutEffect)(() => {@@ -46695,17 +46711,17 @@ function jSe(e) {o,a?.kind,a?.name- ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(qj, {+ ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(Kj, {message: z(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || a ? null : /* @__PURE__ */ (0, x.jsx)(PSe, {+ }) : !r.data || i || a ? null : /* @__PURE__ */ (0, x.jsx)(ISe, {...e,entity: r.data});}-function OI(e) {+function DI(e) {let [t, n] = (0, b.useState)({key: e,n: 1@@ -46717,22 +46733,22 @@ function OI(e) {};return n(r), r.n;}-var MSe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function NSe(e, t) {+var PSe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function FSe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function PSe(e) {- let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = pt(nF(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || rF(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {+function ISe(e) {+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = pt(tF(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || nF(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {media: "online",set: 0- } : JP, [y, S] = (0, b.useState)("people"), C = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, b.useState)(C);+ } : qP, [y, S] = (0, b.useState)("people"), C = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, b.useState)(C);w !== C && (T(C), S("videos"));- let E = l && y === "people" && u.length ? "people" : v.media, D = ASe(g, E === "online", {+ let E = l && y === "people" && u.length ? "people" : v.media, D = MSe(g, E === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, b.useState)(0), j = eF(e), M = dt(j), N = OI(JSON.stringify([j.queryKey, k])), [P] = (0, b.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));+ }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, b.useState)(0), j = $P(e), M = dt(j), N = DI(JSON.stringify([j.queryKey, k])), [P] = (0, b.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));(0, b.useLayoutEffect)(() => {s.javContext(P);}, [s, P]);@@ -46742,26 +46758,26 @@ function PSe(e) {}, [e.layout, P]), F = {jav: e.jav,seed: e.seed- }, te = (0, b.useCallback)((e, r) => $P(t, n, i, F, e, r), [N]), [ne, re] = (0, b.useState)({}), ie = v.set, ae = ne[ie] || "", oe = pt({- ...nF(t, n, ie, ae),+ }, te = (0, b.useCallback)((e, r) => QP(t, n, i, F, e, r), [N]), [ne, re] = (0, b.useState)({}), ie = v.set, ae = ne[ie] || "", oe = pt({+ ...tF(t, n, ie, ae),enabled: E === "photos"- }), se = oe.data?.pages[0], ce = OI(JSON.stringify(XP(t, n, ie, ae))), le = (0, b.useMemo)(() => {+ }), se = oe.data?.pages[0], ce = DI(JSON.stringify(YP(t, n, ie, ae))), le = (0, b.useMemo)(() => {let e = oe.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];return {revision: ce,- codeSets: t.id ? [] : rF(t),+ codeSets: t.id ? [] : nF(t),items: e.flatMap((e) => e.items || []),total: t.total || 0,hasMore: !!e[e.length - 1]?.has_more};}, [oe.data, ce]), ue = oe.refetch, de = oe.fetchNextPage, fe = dt({- ...GP(d, o.feedRowHtml),+ ...WP(d, o.feedRowHtml),enabled: !!d}), pe = (0, b.useRef)(e.feedRevision);(0, b.useEffect)(() => {- pe.current !== e.feedRevision && (pe.current = e.feedRevision, V.invalidateQueries({ queryKey: WP(d) }));+ pe.current !== e.feedRevision && (pe.current = e.feedRevision, V.invalidateQueries({ queryKey: UP(d) }));}, [d, e.feedRevision]);let me = !!M.data;(0, b.useEffect)(() => {@@ -46780,7 +46796,7 @@ function PSe(e) {he.current = !1;}, []);let ge = (0, b.useCallback)(async () => {- await V.invalidateQueries({ queryKey: YP(t, n) }), await V.invalidateQueries({ queryKey: [+ await V.invalidateQueries({ queryKey: JP(t, n) }), await V.invalidateQueries({ queryKey: ["entity-items",t,n@@ -46811,7 +46827,7 @@ function PSe(e) {enabled: e})}),- onSuccess: (e, r) => V.setQueryData(YP(t, n), (e) => e && {+ onSuccess: (e, r) => V.setQueryData(JP(t, n), (e) => e && {...e,feed: {...e.feed,@@ -46865,10 +46881,10 @@ function PSe(e) {let e = await vt("/api/feeds/check").catch(() => null);if (!e || e.status !== "running") break;}- he.current && await V.invalidateQueries({ queryKey: WP(d) });+ he.current && await V.invalidateQueries({ queryKey: UP(d) });})();},- feedAction: KP,+ feedAction: GP,avatarPicked: () => {s.avatarChanged(), ge().then(() => {he.current && A((e) => e + 1);@@ -46916,19 +46932,19 @@ function PSe(e) {(e !== E || v.set) && (S(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {media: e,set: 0- } : JP));+ } : qP));},setState: (e) => s.route({...i,state: e- }, JP),+ }, qP),toggleTag: s.toggleTag,clearFilter: s.clearFilter,clearAll: s.clearAll,setSort: s.setSort,reshuffle: async () => {if (E !== "photos") {- let r = s.reshuffleVideos(), a = eF({+ let r = s.reshuffleVideos(), a = $P({kind: t,name: n,filters: {@@ -46942,7 +46958,7 @@ function PSe(e) {await V.fetchQuery(a).catch(() => null);return;}- let r = MSe(), a = await V.fetchInfiniteQuery(nF(t, n, ie, r)).catch(() => null);+ let r = PSe(), a = await V.fetchInfiniteQuery(tF(t, n, ie, r)).catch(() => null);he.current && a?.pages[0] && !a.pages[0].error && re((e) => ({...e,[ie]: r@@ -46977,7 +46993,7 @@ function PSe(e) {k: e.k,label: Ks(e.k),n: e.n,- selected: bbe(i.tag, e.k)+ selected: Sbe(i.tag, e.k)})), Ee = [u.length,!_,@@ -47012,14 +47028,14 @@ function PSe(e) {creator: "",studio: "",owner: ""- }, JP), Pe = "", Fe = !1;+ }, qP), Pe = "", Fe = !1;if (E === "people") Pe = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;else if (E === "online") Fe = D.busy, Pe = `在线 · ${(D.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;else if (E === "videos") {Fe = !M.data;- let e = ZP(i.tag).length;+ let e = XP(i.tag).length;Pe = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : NSe(se, rF(se).length) : Fe = oe.isPending;+ } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : FSe(se, nF(se).length) : Fe = oe.isPending;let Ie = (0, b.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -47036,7 +47052,7 @@ function PSe(e) {u]);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(ySe, {+ /* @__PURE__ */ (0, x.jsx)(xSe, {kind: t,name: n,entity: r,@@ -47046,7 +47062,7 @@ function PSe(e) {actions: xe,helpers: Se}, k),- (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(Tge, {+ (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(Dge, {kind: t,name: n,view: E,@@ -47063,7 +47079,7 @@ function PSe(e) {actions: Ce,helpers: we}), c.filter),- (0, mt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(wxe, {+ (0, mt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(Exe, {view: D.view,media: D.media,result: D.result,@@ -47076,15 +47092,15 @@ function PSe(e) {helpers: e.follow.helpers,actions: e.follow.actions,canLoadMore: e.canLoadMore- }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(qj, {+ }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(Kj, {message: z(M.error),onRetry: () => {M.refetch();}- }) : Me ? /* @__PURE__ */ (0, x.jsx)(FSe, {+ }) : Me ? /* @__PURE__ */ (0, x.jsx)(LSe, {filtered: je,onShowAll: Ne- }) : /* @__PURE__ */ (0, x.jsx)(Qbe, {+ }) : /* @__PURE__ */ (0, x.jsx)(exe, {kind: t,name: n,view: E,@@ -47108,9 +47124,9 @@ function PSe(e) {}), c.body)] });}-function FSe({ filtered: e, onShowAll: t }) {- return e ? /* @__PURE__ */ (0, x.jsx)(HO, {- icon: yj("search"),+function LSe({ filtered: e, onShowAll: t }) {+ return e ? /* @__PURE__ */ (0, x.jsx)(VO, {+ icon: vj("search"),title: "没有符合条件的视频",actions: /* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",@@ -47118,15 +47134,15 @@ function FSe({ filtered: e, onShowAll: t }) {children: "查看全部视频"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, x.jsx)(HO, {- icon: yj("film"),+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {+ icon: vj("film"),title: "还没有视频",children: "署上这个名字的视频入库后会显示在这里。"});}//#endregion//#region src/react/components/collection-summary.tsx-function kI({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function OI({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"data-collection-summary": "",className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5@@ -47153,29 +47169,29 @@ function kI({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !}//#endregion//#region src/react/duplicates/duplicates-page.tsx-var ISe = yj("play"), LSe = yj("file-stack"), RSe = VO({+var RSe = vj("play"), zSe = vj("file-stack"), BSe = BO({padding: "none",radius: "surface",className: "mb-6 overflow-hidden dark:bg-background-primary-default"-}), AI = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", jI = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", MI = "font-mono text-caption-1-regular leading-5 text-text-secondary", NI = () => {+}), kI = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", AI = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", jI = "font-mono text-caption-1-regular leading-5 text-text-secondary", MI = () => {V.invalidateQueries({- queryKey: uM,+ queryKey: lM,exact: !0}), V.invalidateQueries({- queryKey: AN,+ queryKey: kN,exact: !0});};-function zSe(e) {+function VSe(e) {return e.identical ? /* @__PURE__ */ (0, x.jsx)("span", {- className: `${jI} text-(--keep)`,+ className: `${AI} text-(--keep)`,children: "sha1 一致"}) : /* @__PURE__ */ (0, x.jsx)("span", {- className: `${jI} text-text-secondary`,+ className: `${AI} text-text-secondary`,children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"});}-function BSe({ file: e, prefix: t, openItem: n }) {+function HSe({ file: e, prefix: t, openItem: n }) {let r = () => n(e.id), i = Yt[e.location] || e.location || e.drive;return /* @__PURE__ */ (0, x.jsxs)("div", {className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",@@ -47185,7 +47201,7 @@ function BSe({ file: e, prefix: t, openItem: n }) {onClick: r,"aria-label": `预览 ${e.name}`,className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",- children: [/* @__PURE__ */ (0, x.jsx)(ISe, {+ children: [/* @__PURE__ */ (0, x.jsx)(RSe, {"aria-hidden": !0,className: "size-6"}), /* @__PURE__ */ (0, x.jsx)("img", {@@ -47205,58 +47221,58 @@ function BSe({ file: e, prefix: t, openItem: n }) {"data-middle-truncate": !0,"data-middle-truncate-within": !0,className: "min-w-0 shrink cursor-pointer truncate text-left text-body-regular hover:text-text-secondary",- children: h_e(e.name, t)+ children: __e(e.name, t)}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex flex-none gap-1",children: [e.is_largest ? /* @__PURE__ */ (0, x.jsx)("i", {- className: `${AI} not-italic bg-background-primary-hover text-text-secondary`,+ className: `${kI} not-italic bg-background-primary-hover text-text-secondary`,children: "最大"}) : null, e.is_longest ? /* @__PURE__ */ (0, x.jsx)("i", {- className: `${AI} not-italic bg-(--keep)/22 text-(--keep)`,+ className: `${kI} not-italic bg-(--keep)/22 text-(--keep)`,children: "最长"}) : null]}) : null]}),/* @__PURE__ */ (0, x.jsxs)("span", {- className: `${MI} flex min-w-0 items-center gap-1.5`,- children: [/* @__PURE__ */ (0, x.jsx)(ck, { mark: Ua[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {+ className: `${jI} flex min-w-0 items-center gap-1.5`,+ children: [/* @__PURE__ */ (0, x.jsx)(sk, { mark: Ua[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {title: i,className: "min-w-0 truncate",children: i})]}),/* @__PURE__ */ (0, x.jsx)("span", {- className: MI,+ className: jI,children: Ut(e.size || 0)}),/* @__PURE__ */ (0, x.jsx)("span", {- className: MI,+ className: jI,children: Vt(e.duration)}),/* @__PURE__ */ (0, x.jsx)("span", {- className: `${MI} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,+ className: `${jI} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,children: e.path ?? ""})]});}-function VSe({ openItem: e, toast: t, failure: n }) {+function USe({ openItem: e, toast: t, failure: n }) {let r = dt({- queryKey: uM,- queryFn: ({ signal: e }) => fM(e)+ queryKey: lM,+ queryFn: ({ signal: e }) => dM(e)}), i = dt({queryKey: pn,queryFn: ({ signal: e }) => mn(e)}), [a, o] = (0, b.useState)(""), s = ft({- mutationFn: (e) => hM(e, "dispose"),+ mutationFn: (e) => mM(e, "dispose"),onSuccess: (e, r) => {- NI(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {+ MI(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {try {- await hM(r, "restore");+ await mM(r, "restore");} catch (e) {n("撤销移入回收站", e);} finally {- NI();+ MI();}} });},@@ -47270,12 +47286,12 @@ function VSe({ openItem: e, toast: t, failure: n }) {children: r.error ? z(r.error) : "未取得重复文件列表,请刷新页面重试。"})});- let l = c.groups ?? [], u = d_e(i.data), d = ({ groups: e, keep: t, key: n }) => {+ let l = c.groups ?? [], u = p_e(i.data), d = ({ groups: e, keep: t, key: n }) => {if (s.isPending) return;- let r = y_e(e, t);+ let r = x_e(e, t);r.length && rs({title: "移入回收站",- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${pM[t] ?? pM.largest}。文件共 ${Ut(b_e(e, r))},记录可从回收站还原。`,+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${fM[t] ?? fM.largest}。文件共 ${Ut(S_e(e, r))},记录可从回收站还原。`,confirmLabel: "移入回收站",onConfirm: () => (o(n), s.mutateAsync(r))});@@ -47283,15 +47299,15 @@ function VSe({ openItem: e, toast: t, failure: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "mx-auto w-full max-w-board pb-10.5",children: [- /* @__PURE__ */ (0, x.jsx)(kI, {+ /* @__PURE__ */ (0, x.jsx)(OI, {label: "重复内容",figure: `${Number(c.total || 0).toLocaleString()} 组`,detail: `${Number(c.files || 0).toLocaleString()} 个文件 · 可回收 ${Ut(c.reclaimable)}`}),- l.length ? /* @__PURE__ */ (0, x.jsxs)(Epe, {+ l.length ? /* @__PURE__ */ (0, x.jsxs)(Ope, {title: "批量保留",children: [- /* @__PURE__ */ (0, x.jsx)(Ck, {+ /* @__PURE__ */ (0, x.jsx)(Sk, {busy: a === "all:largest",onPress: () => d({groups: l,@@ -47300,7 +47316,7 @@ function VSe({ openItem: e, toast: t, failure: n }) {}),children: "全部保留最大"}),- /* @__PURE__ */ (0, x.jsx)(Ck, {+ /* @__PURE__ */ (0, x.jsx)(Sk, {busy: a === "all:longest",onPress: () => d({groups: l,@@ -47309,7 +47325,7 @@ function VSe({ openItem: e, toast: t, failure: n }) {}),children: "全部保留最长"}),- v_e(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(Ck, {+ b_e(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(Sk, {busy: a === `all:${e}`,onPress: () => d({groups: l,@@ -47329,10 +47345,10 @@ function VSe({ openItem: e, toast: t, failure: n }) {})}) : null,l.length ? l.map((t, n) => {- let r = [t], i = m_e(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;+ let r = [t], i = g_e(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;return /* @__PURE__ */ (0, x.jsxs)("section", {"aria-label": t.code,- className: RSe,+ className: BSe,children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default",children: [@@ -47344,9 +47360,9 @@ function VSe({ openItem: e, toast: t, failure: n }) {className: "font-mono text-caption-1-regular leading-5 text-text-primary",children: `${Number(t.count || 0).toLocaleString()} 个 · 可回收 ${Ut(t.reclaimable)}`}),- zSe(t),+ VSe(t),t.cross_drive ? /* @__PURE__ */ (0, x.jsx)("span", {- className: `${jI} text-text-secondary`,+ className: `${AI} text-text-secondary`,children: `跨盘 ${t.drives.join(" ")}`}) : null,/* @__PURE__ */ (0, x.jsxs)("span", {@@ -47374,7 +47390,7 @@ function VSe({ openItem: e, toast: t, failure: n }) {}),children: "留最长"}),- mM(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(W, {+ pM(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",size: "small",...f(a(e)),@@ -47399,14 +47415,14 @@ function VSe({ openItem: e, toast: t, failure: n }) {]})]- }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(BSe, {+ }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(HSe, {file: t,prefix: i,openItem: e}, t.id)) })]}, `${t.code}-${n}`);- }) : /* @__PURE__ */ (0, x.jsx)(HO, {- icon: LSe,+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {+ icon: zSe,title: "没有找到重复文件",children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"}),@@ -47419,23 +47435,23 @@ function VSe({ openItem: e, toast: t, failure: n }) {}//#endregion//#region src/react/diagnostics/diagnostics.ts-var PI = ["diagnostics"], FI = (e) => nn("/api/diagnostics", e);-async function HSe(e) {+var NI = ["diagnostics"], PI = (e) => nn("/api/diagnostics", e);+async function WSe(e) {await V.fetchQuery({- queryKey: PI,- queryFn: () => FI(e),+ queryKey: NI,+ queryFn: () => PI(e),staleTime: 1e4});}//#endregion//#region src/react/diagnostics/diagnostics-page.tsx-var II = {+var FI = {ok: "正常",warning: "需检查",failed: "需处理",unknown: "未取得",disabled: "未配置"-}, USe = [+}, GSe = [["媒体库与挂载", ["media_mounts", "data_root"]],["数据库与迁移", ["database", "schema"]],["工具", ["ffmpeg"]],@@ -47446,8 +47462,8 @@ var II = {"version"]],["后台任务", ["tasks"]]-], LI = (e) => new Date(e).toLocaleString();-function WSe({ name: e, check: t, navigate: n, configure: r }) {+], II = (e) => new Date(e).toLocaleString();+function KSe({ name: e, check: t, navigate: n, configure: r }) {let i = e === "security" ? "网络与访问" : e === "configured" ? "通用" : "媒体";return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0",@@ -47459,7 +47475,7 @@ function WSe({ name: e, check: t, navigate: n, configure: r }) {children: t.label}), /* @__PURE__ */ (0, x.jsx)("span", {className: "text-body-2-regular text-text-secondary",- children: II[t.status] ?? "未取得"+ children: FI[t.status] ?? "未取得"})]}),/* @__PURE__ */ (0, x.jsx)("p", {@@ -47479,14 +47495,14 @@ function WSe({ name: e, check: t, navigate: n, configure: r }) {]});}-function GSe({ group: e, openItem: t, receipt: n }) {- let r = qO(), i = cP(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");- return /* @__PURE__ */ (0, x.jsx)(sk, {+function qSe({ group: e, openItem: t, receipt: n }) {+ let r = KO(), i = sP(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");+ return /* @__PURE__ */ (0, x.jsx)(ok, {summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count.toLocaleString()} 项`}`,children: e.count === null ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "neutral",children: "清单未取得,请重新检查。"- }) : e.items.length ? /* @__PURE__ */ (0, x.jsxs)($O, { children: [+ }) : e.items.length ? /* @__PURE__ */ (0, x.jsxs)(QO, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2",children: [e.truncated ? /* @__PURE__ */ (0, x.jsxs)("span", {@@ -47521,20 +47537,20 @@ function GSe({ group: e, openItem: t, receipt: n }) {}) }, e.id))})})- ] }) : /* @__PURE__ */ (0, x.jsx)(HO, {- icon: nde,+ ] }) : /* @__PURE__ */ (0, x.jsx)(VO, {+ icon: rde,title: "清单为空",shell: "plain",children: "没有需要处理的作品。"})});}-function KSe(e) {+function JSe(e) {let t = dt({- queryKey: PI,- queryFn: ({ signal: e }) => FI(e),+ queryKey: NI,+ queryFn: ({ signal: e }) => PI(e),staleTime: 1e4- }), n = qO(), [r, i] = (0, b.useState)(""), a = () => void n.run("refresh", async () => {+ }), n = KO(), [r, i] = (0, b.useState)(""), a = () => void n.run("refresh", async () => {let e = await t.refetch();if (e.error) throw e.error;return e.data;@@ -47555,27 +47571,27 @@ function KSe(e) {tone: "error",children: r}) : null,- /* @__PURE__ */ (0, x.jsx)(ZO, {+ /* @__PURE__ */ (0, x.jsx)(XO, {title: "库健康",- children: /* @__PURE__ */ (0, x.jsxs)($O, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {+ children: /* @__PURE__ */ (0, x.jsxs)(QO, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {className: "text-body-2-regular text-text-secondary",- children: ["处理记录 · ", LI(o.library.issue_at)]- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(GSe, {+ children: ["处理记录 · ", II(o.library.issue_at)]+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(qSe, {group: n,...e}, t))] })}),- USe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(ZO, {+ GSe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(XO, {title: t,- children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(WSe, {+ children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(KSe, {name: t,check: o.checks[t],...e}, t) : null)}, t)),- /* @__PURE__ */ (0, x.jsx)(ZO, {+ /* @__PURE__ */ (0, x.jsx)(XO, {title: "来源会话",- children: /* @__PURE__ */ (0, x.jsxs)($O, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {+ children: /* @__PURE__ */ (0, x.jsxs)(QO, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",children: [/* @__PURE__ */ (0, x.jsxs)("h3", {@@ -47583,19 +47599,19 @@ function KSe(e) {children: [e.label," · ",- II[e.status] ?? "未取得"+ FI[e.status] ?? "未取得"]}),- /* @__PURE__ */ (0, x.jsx)(_k, {+ /* @__PURE__ */ (0, x.jsx)(gk, {text: e.reason,className: "text-body-regular text-text-primary"}),- /* @__PURE__ */ (0, x.jsxs)(ak, { children: [/* @__PURE__ */ (0, x.jsx)(ok, {+ /* @__PURE__ */ (0, x.jsxs)(ik, { children: [/* @__PURE__ */ (0, x.jsx)(ak, {term: "上次解析成功",- children: e.last_success_at ? LI(e.last_success_at) : "未取得"- }), /* @__PURE__ */ (0, x.jsx)(ok, {+ children: e.last_success_at ? II(e.last_success_at) : "未取得"+ }), /* @__PURE__ */ (0, x.jsx)(ak, {term: "冷却截止",- children: e.cooldown_until ? LI(e.cooldown_until) : "未在冷却"+ children: e.cooldown_until ? II(e.cooldown_until) : "未在冷却"})] })]}, e.source)), /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(W, {@@ -47623,21 +47639,21 @@ function KSe(e) {}//#endregion//#region src/react/feed-new/feed-new-page.tsx-function qSe({ host: e, revision: t, helpers: n, actions: r }) {- let i = dt(GP(null, n.feedRowHtml)), a = (0, b.useRef)(t);+function YSe({ host: e, revision: t, helpers: n, actions: r }) {+ let i = dt(WP(null, n.feedRowHtml)), a = (0, b.useRef)(t);return (0, b.useEffect)(() => {- a.current !== t && (a.current = t, V.invalidateQueries({ queryKey: WP(null) }));- }, [t]), (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(pI, {+ a.current !== t && (a.current = t, V.invalidateQueries({ queryKey: UP(null) }));+ }, [t]), (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(fI, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: KP,+ act: GP,settled: r.settled}), e);}//#endregion//#region src/react/follow-manage/source-view.tsx-function RI({ provider: e, label: t }) {+function LI({ provider: e, label: t }) {let n = Fr(e), [r, i] = (0, b.useState)(!1);return !n || r ? t ? /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: t }) : null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("img", {src: n,@@ -47649,7 +47665,7 @@ function RI({ provider: e, label: t }) {className: "size-3.5 shrink-0 rounded-sm object-contain"}), t ? /* @__PURE__ */ (0, x.jsx)(hb, { children: t }) : null] });}-function zI({ group: e, name: t }) {+function RI({ group: e, name: t }) {let { src: n, fallback: r } = er(e), [i, a] = (0, b.useState)(0), o = [n, r].filter(Boolean)[i];return o ? /* @__PURE__ */ (0, x.jsx)("img", {src: o,@@ -47666,15 +47682,15 @@ function zI({ group: e, name: t }) {children: $n(t)});}-function BI({ source: e }) {+function zI({ source: e }) {let t = Kn(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";- return /* @__PURE__ */ (0, x.jsx)(RO, {+ return /* @__PURE__ */ (0, x.jsx)(LO, {variant: "caption",color: t,children: nee(e)});}-function VI({ source: e }) {+function BI({ source: e }) {return /* @__PURE__ */ (0, x.jsx)("a", {href: e.url,target: "_blank",@@ -47684,7 +47700,7 @@ function VI({ source: e }) {children: e.label});}-function HI({ text: e, prefix: t = "", tone: n = "error" }) {+function VI({ text: e, prefix: t = "", tone: n = "error" }) {let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(!1), c = qn(e);(0, b.useLayoutEffect)(() => {let e = r.current;@@ -47715,11 +47731,11 @@ function HI({ text: e, prefix: t = "", tone: n = "error" }) {}//#endregion//#region src/react/follow-manage/add-source.tsx-var UI = FO(HN, UN, "text-body-2-medium"), JSe = "粘贴来源链接,或输入创作者名、id…", YSe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", XSe = "识别中…", ZSe = "站内没有查到来源", WI = (e, t) => `${e}:${t.url}`;-function QSe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {+var HI = PO(VN, HN, "text-body-2-medium"), XSe = "粘贴来源链接,或输入创作者名、id…", ZSe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", QSe = "识别中…", $Se = "站内没有查到来源", UI = (e, t) => `${e}:${t.url}`;+function eCe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {return (0, b.useEffect)(() => {t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });- }, [t, r]), /* @__PURE__ */ (0, x.jsxs)(mA, {+ }, [t, r]), /* @__PURE__ */ (0, x.jsxs)(pA, {ref: t,triggerRef: e,isOpen: !0,@@ -47731,17 +47747,17 @@ function QSe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onCplacement: "bottom start",offset: 4,"aria-label": "来源建议",- className: FO(VN, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),+ className: PO(BN, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),children: [i && !n.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "px-2 py-1.5",- children: /* @__PURE__ */ (0, x.jsx)(UO, { label: "正在查找建议" })+ children: /* @__PURE__ */ (0, x.jsx)(HO, { label: "正在查找建议" })}) : null, n.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, x.jsx)("div", {className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",children: e.group}), /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","aria-current": t === r ? "true" : void 0,- className: t === r ? FO(UI, "bg-background-secondary-default") : UI,+ className: t === r ? PO(HI, "bg-background-secondary-default") : HI,onMouseDown: (e) => e.preventDefault(),onClick: () => a(e.value),children: [@@ -47761,7 +47777,7 @@ function QSe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC})] }, `${e.group}-${e.value}`))]});}-function $Se({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {+function tCe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {let i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {let i = new Set(t);r ? i.delete(e) : i.add(e), n(i);@@ -47769,20 +47785,20 @@ function $Se({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(W, {ref: i,variant: "secondary",- leadingIcon: rde,+ leadingIcon: ide,"aria-haspopup": "dialog","aria-expanded": a,"aria-label": l,onClick: () => o(!0),children: l- }), /* @__PURE__ */ (0, x.jsx)(mA, {+ }), /* @__PURE__ */ (0, x.jsx)(pA, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom end",offset: 4,- className: VN,- children: /* @__PURE__ */ (0, x.jsxs)(TA, {+ className: BN,+ children: /* @__PURE__ */ (0, x.jsxs)(wA, {"aria-label": "来源筛选",className: "flex w-64 flex-col gap-1 outline-none",children: [s.length ? /* @__PURE__ */ (0, x.jsxs)("div", {@@ -47798,16 +47814,16 @@ function $Se({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {onClick: () => n(new Set(s.map((e) => e.provider_label))),children: "全不选"})]- }) : /* @__PURE__ */ (0, x.jsx)(tk, { children: "暂无可用来源" }), s.map((e) => {+ }) : /* @__PURE__ */ (0, x.jsx)(ek, { children: "暂无可用来源" }), s.map((e) => {let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(CP, {+ children: [/* @__PURE__ */ (0, x.jsx)(SP, {isSelected: !t.has(e.provider_label),onChange: (t) => u(e.provider_label, t),children: /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, x.jsx)(RI, { provider: e.provider }), e.provider_label]+ children: [/* @__PURE__ */ (0, x.jsx)(LI, { provider: e.provider }), e.provider_label]})}), n ? /* @__PURE__ */ (0, x.jsx)(W, {variant: "ghost",@@ -47823,7 +47839,7 @@ function $Se({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {})})] });}-function eCe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {+function nCe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {if (e.kind === "error") return /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",title: e.line,@@ -47831,7 +47847,7 @@ function eCe({ 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, x.jsxs)("div", {- className: VO({+ className: BO({variant: "outlined",padding: "none",className: "flex flex-col gap-2 p-4"@@ -47842,15 +47858,15 @@ function eCe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {children: e.line}),a.length ? a.map((e) => {- let n = WI(t, e);- return /* @__PURE__ */ (0, x.jsx)(CP, {+ let n = UI(t, e);+ return /* @__PURE__ */ (0, x.jsx)(SP, {isSelected: !e.known && !r.has(n),isDisabled: e.known,onChange: (e) => i(n, e),children: /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 flex-wrap items-center gap-1.5",children: [- /* @__PURE__ */ (0, x.jsx)(RI, { provider: e.provider }),+ /* @__PURE__ */ (0, x.jsx)(LI, { provider: e.provider }),/* @__PURE__ */ (0, x.jsx)("b", {className: "text-body-medium",children: e.provider_label@@ -47866,22 +47882,22 @@ function eCe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {]})}, n);- }) : /* @__PURE__ */ (0, x.jsx)(tk, { children: ZSe }),+ }) : /* @__PURE__ */ (0, x.jsx)(ek, { children: $Se }),(e.external_searches || []).map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, x.jsx)("small", {className: "text-caption-1-regular text-text-secondary",children: e.evidence- }), /* @__PURE__ */ (0, x.jsx)(ik, {+ }), /* @__PURE__ */ (0, x.jsx)(rk, {href: e.url,children: `${e.label}:${e.query}`})]}, e.url)),- o.length ? /* @__PURE__ */ (0, x.jsx)(tk, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null+ o.length ? /* @__PURE__ */ (0, x.jsx)(ek, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null]});}-function tCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {+function rCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(-1), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), [T, E] = (0, b.useState)(""), [D, O] = (0, b.useState)(0);(0, b.useEffect)(() => {let e = a.trim();@@ -47901,7 +47917,7 @@ function tCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:matched: t.matched || "",n: t.n || 0,group: e.label- }))), [k.data]), { job: j, running: M, outcome: N, start: P, dismiss: ee } = yP({+ }))), [k.data]), { job: j, running: M, outcome: N, start: P, dismiss: ee } = vP({queryKey: Pn,queryFn: ({ signal: e }) => lr(e),start: (e) => oee([e]),@@ -47933,7 +47949,7 @@ function tCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:}}, ae = N?.results || [], oe = ae.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({candidate: e,- key: WI(t, e)+ key: UI(t, e)})).filter((e) => !C.has(e.key))), se = ft({mutationFn: async (e) => {let t = [], n = [];@@ -47963,7 +47979,7 @@ function tCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:onError: (e) => E(z(e))}), ce = e.suggestions || [], le = !s.includes("/");return /* @__PURE__ */ (0, x.jsxs)("div", {- className: VO({+ className: BO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -47983,16 +47999,16 @@ function tCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:let t = e.relatedTarget;!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);},- children: [/* @__PURE__ */ (0, x.jsx)(PP, {+ children: [/* @__PURE__ */ (0, x.jsx)(NP, {"aria-label": "来源链接、名字或 id",- placeholder: JSe,+ placeholder: XSe,value: a,- leadingIcon: fO,+ leadingIcon: dO,enterKeyHint: "search",isDisabled: n,onChange: o,onKeyDown: ie- }), ne ? /* @__PURE__ */ (0, x.jsx)(QSe, {+ }), ne ? /* @__PURE__ */ (0, x.jsx)(eCe, {field: _,menu: v,options: A,@@ -48002,7 +48018,7 @@ function tCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:onClose: re}) : null]}),- /* @__PURE__ */ (0, x.jsx)($Se, {+ /* @__PURE__ */ (0, x.jsx)(tCe, {credentials: t,hidden: y,onHidden: S,@@ -48020,9 +48036,9 @@ function tCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:/* @__PURE__ */ (0, x.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",- children: [M || P.isPending ? /* @__PURE__ */ (0, x.jsx)(fP, {+ children: [M || P.isPending ? /* @__PURE__ */ (0, x.jsx)(dP, {embedded: !0,- label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : le ? YSe : XSe),+ label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : le ? ZSe : QSe),value: j?.checked,total: j?.total}) : null, T ? /* @__PURE__ */ (0, x.jsx)(G, {@@ -48034,8 +48050,8 @@ function tCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:ae.length ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, x.jsx)(rk, { children: "查找结果" }),- ae.map((e, t) => /* @__PURE__ */ (0, x.jsx)(eCe, {+ /* @__PURE__ */ (0, x.jsx)(nk, { children: "查找结果" }),+ ae.map((e, t) => /* @__PURE__ */ (0, x.jsx)(nCe, {row: e,at: t,hidden: y,@@ -48090,16 +48106,16 @@ function tCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:}//#endregion//#region src/react/follow-manage/alias-manager.tsx-var nCe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, GI = (e) => e.alias;-function rCe(e, t, n) {+var iCe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, WI = (e) => e.alias;+function aCe(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 KI({ sources: e, name: t, canonicalKey: n }) {+function GI({ sources: e, name: t, canonicalKey: n }) {return /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(zI, {- group: rCe(e, t, n),+ children: [/* @__PURE__ */ (0, x.jsx)(RI, {+ group: aCe(e, t, n),name: t}), /* @__PURE__ */ (0, x.jsx)("b", {className: "text-body-medium",@@ -48107,7 +48123,7 @@ function KI({ sources: e, name: t, canonicalKey: n }) {})]});}-function iCe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {+function oCe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {let [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = ft({mutationFn: async (e) => {let t = 0;@@ -48147,9 +48163,9 @@ function iCe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iconfirmLabel: t ? "合并全部别名" : "合并所选别名",onConfirm: () => p.mutateAsync(e)});- }, _ = t.filter((e) => a.has(GI(e))), v = t.length > 0 && _.length === t.length, y = K(p.isPending);+ }, _ = t.filter((e) => a.has(WI(e))), v = t.length > 0 && _.length === t.length, y = K(p.isPending);return /* @__PURE__ */ (0, x.jsxs)("div", {- className: VO({+ className: BO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -48160,10 +48176,10 @@ function iCe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(rk, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {+ children: [/* @__PURE__ */ (0, x.jsx)(nk, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-end gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {"aria-label": "规范创作者名",placeholder: "规范创作者名",value: l,@@ -48171,7 +48187,7 @@ function iCe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iisDisabled: r,className: "w-56"}),- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {"aria-label": "平台别名",placeholder: "平台别名",value: d,@@ -48192,13 +48208,13 @@ function iCe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i]})]}),- s ? /* @__PURE__ */ (0, x.jsx)(nk, { children: s }) : null,+ s ? /* @__PURE__ */ (0, x.jsx)(tk, { children: s }) : null,t.length ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(rk, { children: "待合并" }),+ /* @__PURE__ */ (0, x.jsx)(nk, { children: "待合并" }),/* @__PURE__ */ (0, x.jsx)("span", {className: "mr-auto text-body-2-regular text-text-secondary",children: `${t.length} 组`@@ -48220,44 +48236,44 @@ function iCe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ichildren: `全部合并(${t.length})`})]- }), /* @__PURE__ */ (0, x.jsx)(TP, { children: /* @__PURE__ */ (0, x.jsxs)(wP, {+ }), /* @__PURE__ */ (0, x.jsx)(wP, { children: /* @__PURE__ */ (0, x.jsxs)(CP, {"aria-label": "待合并创作者别名",size: "sm",- children: [/* @__PURE__ */ (0, x.jsxs)(YA, { children: [- /* @__PURE__ */ (0, x.jsx)(XA, {+ children: [/* @__PURE__ */ (0, x.jsxs)(JA, { children: [+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "select",- children: /* @__PURE__ */ (0, x.jsx)(CP, {+ children: /* @__PURE__ */ (0, x.jsx)(SP, {slot: null,isSelected: v,isIndeterminate: _.length > 0 && !v,"aria-label": "全选待合并别名",- onChange: (e) => o(e ? new Set(t.map(GI)) : /* @__PURE__ */ new Set())+ onChange: (e) => o(e ? new Set(t.map(WI)) : /* @__PURE__ */ new Set())})}),- /* @__PURE__ */ (0, x.jsx)(XA, {+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "canonical",children: "规范创作者"}),- /* @__PURE__ */ (0, x.jsx)(XA, {+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "alias",isRowHeader: !0,children: "平台别名"}),- /* @__PURE__ */ (0, x.jsx)(XA, {+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "evidence",children: "依据"}),- /* @__PURE__ */ (0, x.jsx)(XA, {+ /* @__PURE__ */ (0, x.jsx)(YA, {id: "actions",children: "操作"})- ] }), /* @__PURE__ */ (0, x.jsx)(QA, { children: t.map((e) => {- let t = GI(e);- return /* @__PURE__ */ (0, x.jsxs)(tj, {+ ] }), /* @__PURE__ */ (0, x.jsx)(ZA, { children: t.map((e) => {+ let t = WI(e);+ return /* @__PURE__ */ (0, x.jsxs)(ej, {id: t,"data-board-selected": a.has(t) || void 0,children: [- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)(CP, {+ /* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsx)(SP, {slot: null,isSelected: a.has(t),"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,@@ -48266,16 +48282,16 @@ function iCe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ie ? n.add(t) : n.delete(t), o(n);}}) }),- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)(KI, {+ /* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsx)(GI, {sources: n,name: e.canonical}) }),- /* @__PURE__ */ (0, x.jsx)(rj, { children: e.alias }),- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)("span", {+ /* @__PURE__ */ (0, x.jsx)(nj, { children: e.alias }),+ /* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: e.evidence}) }),- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)(W, {+ /* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",size: "small",disabled: r,@@ -48292,27 +48308,27 @@ function iCe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iclassName: "flex flex-col gap-2",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(rk, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {+ children: [/* @__PURE__ */ (0, x.jsx)(nk, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: `${e.length} 组`})]- }), e.length ? /* @__PURE__ */ (0, x.jsx)(TP, { children: /* @__PURE__ */ (0, x.jsxs)(wP, {+ }), e.length ? /* @__PURE__ */ (0, x.jsx)(wP, { children: /* @__PURE__ */ (0, x.jsxs)(CP, {"aria-label": "已保存创作者别名",size: "sm",- children: [/* @__PURE__ */ (0, x.jsxs)(YA, { children: [/* @__PURE__ */ (0, x.jsx)(XA, {+ children: [/* @__PURE__ */ (0, x.jsxs)(JA, { children: [/* @__PURE__ */ (0, x.jsx)(YA, {id: "canonical",isRowHeader: !0,children: "规范创作者"- }), /* @__PURE__ */ (0, x.jsx)(XA, {+ }), /* @__PURE__ */ (0, x.jsx)(YA, {id: "aliases",children: "平台别名"- })] }), /* @__PURE__ */ (0, x.jsx)(QA, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(tj, {+ })] }), /* @__PURE__ */ (0, x.jsx)(ZA, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(ej, {id: e.canonical_key,- children: [/* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)(KI, {+ children: [/* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsx)(GI, {sources: n,name: e.canonical_name,canonicalKey: e.canonical_key- }) }), /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)("span", {+ }) }), /* @__PURE__ */ (0, x.jsx)(nj, { children: /* @__PURE__ */ (0, x.jsx)("span", {className: "flex flex-wrap items-center gap-1.5",children: e.aliases.map((e) => /* @__PURE__ */ (0, x.jsxs)("span", {className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",@@ -48320,13 +48336,13 @@ function iCe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ivariant: "ghost",size: "xs",iconOnly: !0,- leadingIcon: iO,+ leadingIcon: rO,"aria-label": `移除别名 ${e.name}`,disabled: r,...K(h.isPending),onClick: () => void rs({title: "移除创作者别名",- body: nCe(e.name),+ body: iCe(e.name),confirmLabel: "移除创作者别名",onConfirm: () => h.mutateAsync(e.name)})@@ -48334,9 +48350,9 @@ function iCe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}, e.key))}) })]}, e.canonical_key)) })]- }) }) : /* @__PURE__ */ (0, x.jsx)(HO, {+ }) }) : /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: vde,+ icon: yde,title: "还没有保存创作者别名",children: "填写规范创作者名和平台别名以添加。"})]@@ -48346,24 +48362,24 @@ function iCe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}//#endregion//#region src/react/follow-manage/credentials.tsx-var aCe = "这些账号信息存在哪里", oCe = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", sCe = "将清除这个来源在本机和共享副本中的登录凭据。", cCe = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";-function lCe(e, t) {+var sCe = "这些账号信息存在哪里", cCe = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", lCe = "将清除这个来源在本机和共享副本中的登录凭据。", uCe = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";+function dCe(e, t) {return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";}-function uCe({ row: e }) {- if (Lr(e)) return /* @__PURE__ */ (0, x.jsx)(RO, {+function fCe({ row: e }) {+ if (Lr(e)) return /* @__PURE__ */ (0, x.jsx)(LO, {variant: "caption",color: "lime",children: "已配置"});let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";- return /* @__PURE__ */ (0, x.jsx)(RO, {+ return /* @__PURE__ */ (0, x.jsx)(LO, {variant: "caption",color: t,children: Ir[e.requirement] || ""});}-function dCe({ row: e, readOnly: t, toast: n }) {+function pCe({ row: e, readOnly: t, toast: n }) {let [r, i] = (0, b.useState)({}), [a, o] = (0, b.useState)(""), s = Lr(e), c = ft({mutationFn: (t) => _r(e.provider, t),onSuccess: (e, t) => {@@ -48380,17 +48396,17 @@ function dCe({ row: e, readOnly: t, toast: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, x.jsxs)(tk, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(ik, {+ /* @__PURE__ */ (0, x.jsxs)(ek, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(rk, {href: e.where,children: "去取"})] }) : null] }),- e.howto ? /* @__PURE__ */ (0, x.jsx)(tk, { children: e.howto }) : null,+ e.howto ? /* @__PURE__ */ (0, x.jsx)(ek, { children: e.howto }) : null,/* @__PURE__ */ (0, x.jsx)("div", {className: "flex w-full flex-col gap-3",- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)(PP, {+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)(NP, {type: "password",label: n,- placeholder: lCe(e, n),+ placeholder: dCe(e, n),autoComplete: "off",spellCheck: "false",isDisabled: t,@@ -48418,7 +48434,7 @@ function dCe({ row: e, readOnly: t, toast: n }) {...K(c.isPending),onClick: () => void rs({title: "清除来源凭据",- body: sCe,+ body: lCe,confirmLabel: "清除来源凭据",danger: !0,onConfirm: () => c.mutateAsync({})@@ -48426,9 +48442,9 @@ function dCe({ row: e, readOnly: t, toast: n }) {children: "清除"}) : null]}),- a ? /* @__PURE__ */ (0, x.jsx)(nk, { children: a }) : null,- (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(tk, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,- e.path ? /* @__PURE__ */ (0, x.jsx)(dP, {+ a ? /* @__PURE__ */ (0, x.jsx)(tk, { children: a }) : null,+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(ek, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,+ e.path ? /* @__PURE__ */ (0, x.jsx)(uP, {path: e.path,className: "font-mono text-caption-1-regular text-text-tertiary",onRevealed: n@@ -48436,25 +48452,25 @@ function dCe({ row: e, readOnly: t, toast: n }) {e.world_readable ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",title: "凭据文件权限过宽",- children: cCe+ children: uCe}) : null]});}-function fCe({ row: e, readOnly: t, toast: n }) {+function mCe({ row: e, readOnly: t, toast: n }) {let r = /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, x.jsx)("span", {className: "inline-flex size-3.5 shrink-0 items-center justify-center",- children: /* @__PURE__ */ (0, x.jsx)(RI, { provider: e.provider })+ children: /* @__PURE__ */ (0, x.jsx)(LI, { provider: e.provider })}),/* @__PURE__ */ (0, x.jsx)("b", {className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",children: e.provider_label}),- /* @__PURE__ */ (0, x.jsx)(uCe, { row: e }),- e.missing.length ? /* @__PURE__ */ (0, x.jsx)(RO, {+ /* @__PURE__ */ (0, x.jsx)(fCe, { row: e }),+ e.missing.length ? /* @__PURE__ */ (0, x.jsx)(LO, {variant: "caption",color: "rose",children: `缺 ${e.missing.join("、")}`@@ -48463,13 +48479,13 @@ function fCe({ row: e, readOnly: t, toast: n }) {});return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, x.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, x.jsx)(tk, { children: e.why }) : null]+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, x.jsx)(ek, { children: e.why }) : null]}) : /* @__PURE__ */ (0, x.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, x.jsx)(sk, {+ children: [r, /* @__PURE__ */ (0, x.jsx)(ok, {summary: Lr(e) ? "修改凭据" : "填写凭据",defaultOpen: e.requirement === "required" && !Lr(e),- children: /* @__PURE__ */ (0, x.jsx)(dCe, {+ children: /* @__PURE__ */ (0, x.jsx)(pCe, {row: e,readOnly: t,toast: n@@ -48477,10 +48493,10 @@ function fCe({ row: e, readOnly: t, toast: n }) {})]});}-function pCe({ data: e, readOnly: t, toast: n }) {+function hCe({ data: e, readOnly: t, toast: n }) {let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !Lr(e));return r.length ? /* @__PURE__ */ (0, x.jsxs)("div", {- className: VO({+ className: BO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -48515,12 +48531,12 @@ function pCe({ data: e, readOnly: t, toast: n }) {className: "text-body-medium text-text-secondary",children: e.title}), /* @__PURE__ */ (0, x.jsx)("div", {- className: VO({+ className: BO({variant: "outlined",padding: "none",className: "flex flex-col overflow-hidden"}),- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(fCe, {+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(mCe, {row: e,readOnly: t,toast: n@@ -48532,13 +48548,13 @@ function pCe({ data: e, readOnly: t, toast: n }) {children: [/* @__PURE__ */ (0, x.jsx)("b", {className: "text-body-medium text-text-primary",- children: aCe+ children: sCe}),/* @__PURE__ */ (0, x.jsx)("span", {className: "text-body-2-regular text-text-secondary",- children: oCe+ children: cCe}),- /* @__PURE__ */ (0, x.jsx)(dP, {+ /* @__PURE__ */ (0, x.jsx)(uP, {path: e.root,prefix: "凭据文件在 ",className: "text-body-2-regular text-text-secondary",@@ -48547,16 +48563,16 @@ function pCe({ data: e, readOnly: t, toast: n }) {]})]- }) : /* @__PURE__ */ (0, x.jsx)(HO, {+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: cde,+ icon: lde,title: "没有可配置的来源",children: "已接入的站点及其凭据状态会显示在这里。"});}//#endregion//#region node_modules/@tanstack/table-core/build/lib/index.mjs-function qI() {+function KI() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -48569,24 +48585,24 @@ function qI() {group: (e) => e};}-function JI(e, t) {+function qI(e, t) {return typeof e == "function" ? e(t) : e;}-function YI(e, t) {+function JI(e, t) {return (n) => {t.setState((t) => ({...t,- [e]: JI(n, t[e])+ [e]: qI(n, t[e])}));};}-function XI(e) {+function YI(e) {return e instanceof Function;}-function mCe(e) {+function gCe(e) {return Array.isArray(e) && e.every((e) => typeof e == "number");}-function hCe(e, t) {+function _Ce(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -48596,7 +48612,7 @@ function hCe(e, t) {};return r(e), n;}-function ZI(e, t, n) {+function XI(e, t, n) {let r = [], i;return (a) => {let o;@@ -48618,21 +48634,21 @@ function ZI(e, t, n) {return i;};}-function QI(e, t, n, r) {+function ZI(e, t, n, r) {return {debug: () => e?.debugAll ?? e[t],key: !1,onChange: r};}-function gCe(e, t, n, r) {+function vCe(e, t, n, r) {let i = {id: `${t.id}_${n.id}`,row: t,column: n,getValue: () => t.getValue(r),renderValue: () => i.getValue() ?? e.options.renderFallbackValue,- getContext: ZI(() => [+ getContext: XI(() => [e,n,t,@@ -48644,13 +48660,13 @@ function gCe(e, t, n, r) {cell: r,getValue: r.getValue,renderValue: r.renderValue- }), QI(e.options, "debugCells", "cell.getContext"))+ }), ZI(e.options, "debugCells", "cell.getContext"))};return e._features.forEach((r) => {r.createCell == null || r.createCell(i, n, t, e);}, {}), i;}-function _Ce(e, t, n, r) {+function yCe(e, t, n, r) {let i = {...e._getDefaultColumnDef(),...t@@ -48667,17 +48683,17 @@ function _Ce(e, t, n, r) {depth: n,columnDef: i,columns: [],- getFlatColumns: ZI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], QI(e.options, "debugColumns", "column.getFlatColumns")),- getLeafColumns: ZI(() => [e._getOrderColumnsFn()], (e) => {+ getFlatColumns: XI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], ZI(e.options, "debugColumns", "column.getFlatColumns")),+ getLeafColumns: XI(() => [e._getOrderColumnsFn()], (e) => {var t;return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];- }, QI(e.options, "debugColumns", "column.getLeafColumns"))+ }, ZI(e.options, "debugColumns", "column.getLeafColumns"))};for (let t of e._features) t.createColumn == null || t.createColumn(c, e);return c;}-var $I = "debugHeaders";-function eL(e, t, n) {+var QI = "debugHeaders";+function $I(e, t, n) {let r = {id: n.id ?? t.id,column: t,@@ -48705,42 +48721,42 @@ function eL(e, t, n) {t.createHeader == null || t.createHeader(r, e);}), r;}-var vCe = { createTable: (e) => {- e.getHeaderGroups = ZI(() => [+var bCe = { createTable: (e) => {+ e.getHeaderGroups = XI(() => [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 tL(t, [+ return eL(t, [...a,...s,...o], e);- }, QI(e.options, $I, "getHeaderGroups")), e.getCenterHeaderGroups = ZI(() => [+ }, ZI(e.options, QI, "getHeaderGroups")), e.getCenterHeaderGroups = XI(() => [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))), tL(t, n, e, "center")), QI(e.options, $I, "getCenterHeaderGroups")), e.getLeftHeaderGroups = ZI(() => [+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), eL(t, n, e, "center")), ZI(e.options, QI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = XI(() => [e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left- ], (t, n, r) => tL(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), QI(e.options, $I, "getLeftHeaderGroups")), e.getRightHeaderGroups = ZI(() => [+ ], (t, n, r) => eL(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), ZI(e.options, QI, "getLeftHeaderGroups")), e.getRightHeaderGroups = XI(() => [e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right- ], (t, n, r) => tL(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), QI(e.options, $I, "getRightHeaderGroups")), e.getFooterGroups = ZI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), QI(e.options, $I, "getFooterGroups")), e.getLeftFooterGroups = ZI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), QI(e.options, $I, "getLeftFooterGroups")), e.getCenterFooterGroups = ZI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), QI(e.options, $I, "getCenterFooterGroups")), e.getRightFooterGroups = ZI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), QI(e.options, $I, "getRightFooterGroups")), e.getFlatHeaders = ZI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), QI(e.options, $I, "getFlatHeaders")), e.getLeftFlatHeaders = ZI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), QI(e.options, $I, "getLeftFlatHeaders")), e.getCenterFlatHeaders = ZI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), QI(e.options, $I, "getCenterFlatHeaders")), e.getRightFlatHeaders = ZI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), QI(e.options, $I, "getRightFlatHeaders")), e.getCenterLeafHeaders = ZI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {+ ], (t, n, r) => eL(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), ZI(e.options, QI, "getRightHeaderGroups")), e.getFooterGroups = XI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), ZI(e.options, QI, "getFooterGroups")), e.getLeftFooterGroups = XI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), ZI(e.options, QI, "getLeftFooterGroups")), e.getCenterFooterGroups = XI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), ZI(e.options, QI, "getCenterFooterGroups")), e.getRightFooterGroups = XI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), ZI(e.options, QI, "getRightFooterGroups")), e.getFlatHeaders = XI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), ZI(e.options, QI, "getFlatHeaders")), e.getLeftFlatHeaders = XI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), ZI(e.options, QI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = XI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), ZI(e.options, QI, "getCenterFlatHeaders")), e.getRightFlatHeaders = XI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), ZI(e.options, QI, "getRightFlatHeaders")), e.getCenterLeafHeaders = XI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {var t;return !((t = e.subHeaders) != null && t.length);- }), QI(e.options, $I, "getCenterLeafHeaders")), e.getLeftLeafHeaders = ZI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {+ }), ZI(e.options, QI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = XI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {var t;return !((t = e.subHeaders) != null && t.length);- }), QI(e.options, $I, "getLeftLeafHeaders")), e.getRightLeafHeaders = ZI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {+ }), ZI(e.options, QI, "getLeftLeafHeaders")), e.getRightLeafHeaders = XI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {var t;return !((t = e.subHeaders) != null && t.length);- }), QI(e.options, $I, "getRightLeafHeaders")), e.getLeafHeaders = ZI(() => [+ }), ZI(e.options, QI, "getRightLeafHeaders")), e.getLeafHeaders = XI(() => [e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()@@ -48748,9 +48764,9 @@ var vCe = { createTable: (e) => {...e[0]?.headers ?? [],...t[0]?.headers ?? [],...n[0]?.headers ?? []- ].map((e) => e.getLeafHeaders()).flat(), QI(e.options, $I, "getLeafHeaders"));+ ].map((e) => e.getLeafHeaders()).flat(), ZI(e.options, QI, "getLeafHeaders"));} };-function tL(e, t, n, r) {+function eL(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;@@ -48768,7 +48784,7 @@ function tL(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 = eL(n, c, {+ let i = $I(n, c, {id: [r,t,@@ -48785,7 +48801,7 @@ function tL(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) => eL(n, e, {+ s(t.map((e, t) => $I(n, e, {depth: i,index: t})), i - 1), o.reverse();@@ -48803,7 +48819,7 @@ function tL(e, t, n, r) {});return c(o[0]?.headers ?? []), o;}-var yCe = (e, t, n, r, i, a, o) => {+var xCe = (e, t, n, r, i, a, o) => {let s = {id: t,index: r,@@ -48824,7 +48840,7 @@ var yCe = (e, t, n, r, i, a, o) => {},renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,subRows: a ?? [],- getLeafRows: () => hCe(s.subRows, (e) => e.subRows),+ getLeafRows: () => _Ce(s.subRows, (e) => e.subRows),getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,getParentRows: () => {let e = [], t = s;@@ -48835,95 +48851,95 @@ var yCe = (e, t, n, r, i, a, o) => {}return e.reverse();},- getAllCells: ZI(() => [e.getAllLeafColumns()], (t) => t.map((t) => gCe(e, s, t, t.id)), QI(e.options, "debugRows", "getAllCells")),- _getAllCellsByColumnId: ZI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), QI(e.options, "debugRows", "getAllCellsByColumnId"))+ getAllCells: XI(() => [e.getAllLeafColumns()], (t) => t.map((t) => vCe(e, s, t, t.id)), ZI(e.options, "debugRows", "getAllCells")),+ _getAllCellsByColumnId: XI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), ZI(e.options, "debugRows", "getAllCellsByColumnId"))};for (let t = 0; t < e._features.length; t++) {let n = e._features[t];n == null || n.createRow == null || n.createRow(s, e);}return s;-}, bCe = { createColumn: (e, t) => {+}, SCe = { createColumn: (e, t) => {e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();};-} }, nL = (e, t, n) => {+} }, tL = (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));};-nL.autoRemove = (e) => fL(e);-var rL = (e, t, n) => {+tL.autoRemove = (e) => dL(e);+var nL = (e, t, n) => {var r;return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));};-rL.autoRemove = (e) => fL(e);-var iL = (e, t, n) => {+nL.autoRemove = (e) => dL(e);+var rL = (e, t, n) => {var r;return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();};-iL.autoRemove = (e) => fL(e);-var aL = (e, t, n) => e.getValue(t)?.includes(n);-aL.autoRemove = (e) => fL(e);-var oL = (e, t, n) => !n.some((n) => {+rL.autoRemove = (e) => dL(e);+var iL = (e, t, n) => e.getValue(t)?.includes(n);+iL.autoRemove = (e) => dL(e);+var aL = (e, t, n) => !n.some((n) => {var r;return !((r = e.getValue(t)) != null && r.includes(n));});-oL.autoRemove = (e) => fL(e) || !(e != null && e.length);-var sL = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));-sL.autoRemove = (e) => fL(e) || !(e != null && e.length);-var cL = (e, t, n) => e.getValue(t) === n;-cL.autoRemove = (e) => fL(e);-var lL = (e, t, n) => e.getValue(t) == n;-lL.autoRemove = (e) => fL(e);-var uL = (e, t, n) => {+aL.autoRemove = (e) => dL(e) || !(e != null && e.length);+var oL = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));+oL.autoRemove = (e) => dL(e) || !(e != null && e.length);+var sL = (e, t, n) => e.getValue(t) === n;+sL.autoRemove = (e) => dL(e);+var cL = (e, t, n) => e.getValue(t) == n;+cL.autoRemove = (e) => dL(e);+var lL = (e, t, n) => {let [r, i] = n, a = e.getValue(t);return a >= r && a <= i;};-uL.resolveFilterValue = (e) => {+lL.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];-}, uL.autoRemove = (e) => fL(e) || fL(e[0]) && fL(e[1]);-var dL = {- includesString: nL,- includesStringSensitive: rL,- equalsString: iL,- arrIncludes: aL,- arrIncludesAll: oL,- arrIncludesSome: sL,- equals: cL,- weakEquals: lL,- inNumberRange: uL+}, lL.autoRemove = (e) => dL(e) || dL(e[0]) && dL(e[1]);+var uL = {+ includesString: tL,+ includesStringSensitive: nL,+ equalsString: rL,+ arrIncludes: iL,+ arrIncludesAll: aL,+ arrIncludesSome: oL,+ equals: sL,+ weakEquals: cL,+ inNumberRange: lL};-function fL(e) {+function dL(e) {return e == null || e === "";}-var xCe = {+var CCe = {getDefaultColumnDef: () => ({ filterFn: "auto" }),getInitialState: (e) => ({columnFilters: [],...e}),getDefaultOptions: (e) => ({- onColumnFiltersChange: YI("columnFilters", e),+ onColumnFiltersChange: JI("columnFilters", e),filterFromLeafRows: !1,maxLeafRowFilterDepth: 100}),createColumn: (e, t) => {e.getAutoFilterFn = () => {let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);- return typeof n == "string" ? dL.includesString : typeof n == "number" ? dL.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? dL.equals : Array.isArray(n) ? dL.arrIncludes : dL.weakEquals;- }, e.getFilterFn = () => XI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? dL[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" ? uL.includesString : typeof n == "number" ? uL.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? uL.equals : Array.isArray(n) ? uL.arrIncludes : uL.weakEquals;+ }, e.getFilterFn = () => YI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? uL[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 = JI(n, i ? i.value : void 0);- if (pL(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = qI(n, i ? i.value : void 0);+ if (fL(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];let o = {id: e.id,value: a@@ -48938,19 +48954,19 @@ var xCe = {createTable: (e) => {e.setColumnFilters = (t) => {let n = e.getAllLeafColumns();- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => JI(t, e)?.filter((e) => {+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => qI(t, e)?.filter((e) => {let t = n.find((t) => t.id === e.id);- return !(t && pL(t.getFilterFn(), e.value, t));+ return !(t && fL(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 pL(e, t, n) {+function fL(e, t, n) {return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;}-var mL = {+var pL = {sum: (e, t, n) => n.reduce((t, n) => {let r = n.getValue(e);return t + (typeof r == "number" ? r : 0);@@ -48986,7 +49002,7 @@ var mL = {median: (e, t) => {if (!t.length) return;let n = t.map((t) => t.getValue(e));- if (!mCe(n)) return;+ if (!gCe(n)) return;if (n.length === 1) return n[0];let r = Math.floor(n.length / 2), i = n.sort((e, t) => e - t);return n.length % 2 == 0 ? (i[r - 1] + i[r]) / 2 : i[r];@@ -48994,7 +49010,7 @@ var mL = {unique: (e, t) => Array.from(new Set(t.map((t) => t.getValue(e))).values()),uniqueCount: (e, t) => new Set(t.map((t) => t.getValue(e))).size,count: (e, t) => t.length-}, SCe = {+}, wCe = {getDefaultColumnDef: () => ({aggregatedCell: (e) => {var t;@@ -49007,7 +49023,7 @@ var mL = {...e}),getDefaultOptions: (e) => ({- onGroupingChange: YI("grouping", e),+ onGroupingChange: JI("grouping", e),groupedColumnMode: "reorder"}),createColumn: (e, t) => {@@ -49020,11 +49036,11 @@ var mL = {};}, e.getAutoAggregationFn = () => {let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);- if (typeof n == "number") return mL.sum;- if (Object.prototype.toString.call(n) === "[object Date]") return mL.extent;+ if (typeof n == "number") return pL.sum;+ if (Object.prototype.toString.call(n) === "[object Date]") return pL.extent;}, e.getAggregationFn = () => {if (!e) throw Error();- return XI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? mL[e.columnDef.aggregationFn];+ return YI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? pL[e.columnDef.aggregationFn];};},createTable: (e) => {@@ -49046,27 +49062,27 @@ var mL = {};}};-function CCe(e, t, n) {+function TCe(e, t, n) {if (!(t != null && t.length) || !n) return e;let r = e.filter((e) => !t.includes(e.id));return n === "remove" ? r : [...t.map((t) => e.find((e) => e.id === t)).filter(Boolean), ...r];}-var wCe = {+var ECe = {getInitialState: (e) => ({columnOrder: [],...e}),- getDefaultOptions: (e) => ({ onColumnOrderChange: YI("columnOrder", e) }),+ getDefaultOptions: (e) => ({ onColumnOrderChange: JI("columnOrder", e) }),createColumn: (e, t) => {- e.getIndex = ZI((e) => [bL(t, e)], (t) => t.findIndex((t) => t.id === e.id), QI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => bL(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {- let r = bL(t, n);+ e.getIndex = XI((e) => [yL(t, e)], (t) => t.findIndex((t) => t.id === e.id), ZI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => yL(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {+ let r = yL(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 = ZI(() => [+ }, e._getOrderColumnsFn = XI(() => [e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode@@ -49081,18 +49097,18 @@ var wCe = {}i = [...i, ...n];}- return CCe(i, t, n);- }, QI(e.options, "debugTable", "_getOrderColumnsFn"));+ return TCe(i, t, n);+ }, ZI(e.options, "debugTable", "_getOrderColumnsFn"));}-}, hL = () => ({+}, mL = () => ({left: [],right: []-}), TCe = {+}), DCe = {getInitialState: (e) => ({- columnPinning: hL(),+ columnPinning: mL(),...e}),- getDefaultOptions: (e) => ({ onColumnPinningChange: YI("columnPinning", e) }),+ getDefaultOptions: (e) => ({ onColumnPinningChange: JI("columnPinning", e) }),createColumn: (e, t) => {e.pin = (n) => {let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);@@ -49116,75 +49132,75 @@ var wCe = {};},createRow: (e, t) => {- e.getCenterVisibleCells = ZI(() => [+ e.getCenterVisibleCells = XI(() => [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));- }, QI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = ZI(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({+ }, ZI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = XI(() => [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"- })), QI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = ZI(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({+ })), ZI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = XI(() => [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"- })), QI(t.options, "debugRows", "getRightVisibleCells"));+ })), ZI(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 ? hL() : e.initialState?.columnPinning ?? hL()), e.getIsSomeColumnsPinned = (t) => {+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? mL() : e.initialState?.columnPinning ?? mL()), e.getIsSomeColumnsPinned = (t) => {let n = e.getState().columnPinning;return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);- }, e.getLeftLeafColumns = ZI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), QI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = ZI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), QI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = ZI(() => [+ }, e.getLeftLeafColumns = XI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), ZI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = XI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), ZI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = XI(() => [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));- }, QI(e.options, "debugColumns", "getCenterLeafColumns"));+ }, ZI(e.options, "debugColumns", "getCenterLeafColumns"));}};-function ECe(e) {+function OCe(e) {return e || (typeof document < "u" ? document : null);}-var gL = {+var hL = {size: 150,minSize: 20,maxSize: 2 ** 53 - 1-}, _L = () => ({+}, gL = () => ({startOffset: null,startSize: null,deltaOffset: null,deltaPercentage: null,isResizingColumn: !1,columnSizingStart: []-}), DCe = {- getDefaultColumnDef: () => gL,+}), kCe = {+ getDefaultColumnDef: () => hL,getInitialState: (e) => ({columnSizing: {},- columnSizingInfo: _L(),+ columnSizingInfo: gL(),...e}),getDefaultOptions: (e) => ({columnResizeMode: "onEnd",columnResizeDirection: "ltr",- onColumnSizingChange: YI("columnSizing", e),- onColumnSizingInfoChange: YI("columnSizingInfo", e)+ onColumnSizingChange: JI("columnSizing", e),+ onColumnSizingInfoChange: JI("columnSizingInfo", e)}),createColumn: (e, t) => {e.getSize = () => {let n = t.getState().columnSizing[e.id];- return Math.min(Math.max(e.columnDef.minSize ?? gL.minSize, n ?? e.columnDef.size ?? gL.size), e.columnDef.maxSize ?? gL.maxSize);- }, e.getStart = ZI((e) => [+ return Math.min(Math.max(e.columnDef.minSize ?? hL.minSize, n ?? e.columnDef.size ?? hL.size), e.columnDef.maxSize ?? hL.maxSize);+ }, e.getStart = XI((e) => [e,- bL(t, e),+ yL(t, e),t.getState().columnSizing- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), QI(t.options, "debugColumns", "getStart")), e.getAfter = ZI((e) => [+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), ZI(t.options, "debugColumns", "getStart")), e.getAfter = XI((e) => [e,- bL(t, e),+ yL(t, e),t.getState().columnSizing- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), QI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), ZI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {t.setColumnSizing((t) => {let { [e.id]: n, ...r } = t;return r;@@ -49206,8 +49222,8 @@ var gL = {}, e.getResizeHandler = (n) => {let r = t.getColumn(e.column.id), i = r?.getCanResize();return (a) => {- if (!r || !i || (a.persist == null || a.persist(), yL(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 = yL(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {+ if (!r || !i || (a.persist == null || a.persist(), vL(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 = vL(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) => {@@ -49232,7 +49248,7 @@ var gL = {deltaPercentage: null,columnSizingStart: []}));- }, p = ECe(n), m = {+ }, p = OCe(n), m = {moveHandler: (e) => d(e.clientX),upHandler: (e) => {p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);@@ -49242,8 +49258,8 @@ var gL = {upHandler: (e) => {p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);}- }, g = OCe() ? { passive: !1 } : !1;- yL(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({+ }, g = ACe() ? { passive: !1 } : !1;+ vL(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,@@ -49259,12 +49275,12 @@ var gL = {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 ? _L() : e.initialState.columnSizingInfo ?? _L());+ e.setColumnSizingInfo(t ? gL() : e.initialState.columnSizingInfo ?? gL());}, 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;}-}, vL = null;-function OCe() {- if (typeof vL == "boolean") return vL;+}, _L = null;+function ACe() {+ if (typeof _L == "boolean") return _L;let e = !1;try {let t = { get passive() {@@ -49274,17 +49290,17 @@ function OCe() {} catch {e = !1;}- return vL = e, vL;+ return _L = e, _L;}-function yL(e) {+function vL(e) {return e.type === "touchstart";}-var kCe = {+var jCe = {getInitialState: (e) => ({columnVisibility: {},...e}),- getDefaultOptions: (e) => ({ onColumnVisibilityChange: YI("columnVisibility", e) }),+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: JI("columnVisibility", e) }),createColumn: (e, t) => {e.toggleVisibility = (n) => {e.getCanHide() && t.setColumnVisibility((t) => ({@@ -49299,7 +49315,7 @@ var kCe = {};},createRow: (e, t) => {- e._getAllVisibleCells = ZI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), QI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = ZI(() => [+ e._getAllVisibleCells = XI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), ZI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = XI(() => [e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()@@ -49307,10 +49323,10 @@ var kCe = {...e,...t,...n- ], QI(t.options, "debugRows", "getVisibleCells"));+ ], ZI(t.options, "debugRows", "getVisibleCells"));},createTable: (e) => {- let t = (t, n) => ZI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), QI(e.options, "debugColumns", t));+ let t = (t, n) => XI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), ZI(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) => {@@ -49323,20 +49339,20 @@ var kCe = {};}};-function bL(e, t) {+function yL(e, t) {return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();}-var ACe = { createTable: (e) => {+var MCe = { createTable: (e) => {e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {if (e._getGlobalFacetedMinMaxValues) return e._getGlobalFacetedMinMaxValues();};-} }, jCe = {+} }, NCe = {getInitialState: (e) => ({globalFilter: void 0,...e}),getDefaultOptions: (e) => ({- onGlobalFilterChange: YI("globalFilter", e),+ onGlobalFilterChange: JI("globalFilter", e),globalFilterFn: "auto",getColumnCanGlobalFilter: (t) => {var n;@@ -49348,22 +49364,22 @@ var ACe = { 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 = () => dL.includesString, e.getGlobalFilterFn = () => {+ e.getGlobalAutoFilterFn = () => uL.includesString, e.getGlobalFilterFn = () => {let { globalFilterFn: t } = e.options;- return XI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? dL[t];+ return YI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? uL[t];}, e.setGlobalFilter = (t) => {e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);}, e.resetGlobalFilter = (t) => {e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);};}-}, MCe = {+}, PCe = {getInitialState: (e) => ({expanded: {},...e}),getDefaultOptions: (e) => ({- onExpandedChange: YI("expanded", e),+ onExpandedChange: JI("expanded", e),paginateExpandedRows: !0}),createTable: (e) => {@@ -49431,18 +49447,18 @@ var ACe = { createTable: (e) => {};};}-}, xL = 0, SL = 10, CL = () => ({- pageIndex: xL,- pageSize: SL-}), NCe = {+}, bL = 0, xL = 10, SL = () => ({+ pageIndex: bL,+ pageSize: xL+}), FCe = {getInitialState: (e) => ({...e,pagination: {- ...CL(),+ ...SL(),...e?.pagination}}),- getDefaultOptions: (e) => ({ onPaginationChange: YI("pagination", e) }),+ getDefaultOptions: (e) => ({ onPaginationChange: JI("pagination", e) }),createTable: (e) => {let t = !1, n = !1;e._autoResetPageIndex = () => {@@ -49455,11 +49471,11 @@ var ACe = { createTable: (e) => {e.resetPageIndex(), n = !1;});}- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => JI(t, e)), e.resetPagination = (t) => {- e.setPagination(t ? CL() : e.initialState.pagination ?? CL());+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => qI(t, e)), e.resetPagination = (t) => {+ e.setPagination(t ? SL() : e.initialState.pagination ?? SL());}, e.setPageIndex = (t) => {e.setPagination((n) => {- let r = JI(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+ let r = qI(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@@ -49467,13 +49483,13 @@ var ACe = { createTable: (e) => {});}, e.resetPageIndex = (t) => {var n;- e.setPageIndex(t ? xL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? xL);+ e.setPageIndex(t ? bL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? bL);}, e.resetPageSize = (t) => {var n;- e.setPageSize(t ? SL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? SL);+ e.setPageSize(t ? xL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? xL);}, e.setPageSize = (t) => {e.setPagination((e) => {- let n = Math.max(1, JI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);+ let n = Math.max(1, qI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);return {...e,pageIndex: i,@@ -49481,28 +49497,28 @@ var ACe = { createTable: (e) => {};});}, e.setPageCount = (t) => e.setPagination((n) => {- let r = JI(t, e.options.pageCount ?? -1);+ let r = qI(t, e.options.pageCount ?? -1);return typeof r == "number" && (r = Math.max(-1, r)), {...n,pageCount: r};- }), e.getPageOptions = ZI(() => [e.getPageCount()], (e) => {+ }), e.getPageOptions = XI(() => [e.getPageCount()], (e) => {let t = [];return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;- }, QI(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {+ }, ZI(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;}-}, wL = () => ({+}, CL = () => ({top: [],bottom: []-}), PCe = {+}), ICe = {getInitialState: (e) => ({- rowPinning: wL(),+ rowPinning: CL(),...e}),- getDefaultOptions: (e) => ({ onRowPinningChange: YI("rowPinning", e) }),+ getDefaultOptions: (e) => ({ onRowPinningChange: JI("rowPinning", e) }),createRow: (e, t) => {e.pin = (n, r, i) => {let a = r ? e.getLeafRows().map((e) => {@@ -49541,7 +49557,7 @@ var ACe = { createTable: (e) => {};},createTable: (e) => {- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? wL() : e.initialState?.rowPinning ?? wL()), e.getIsSomeRowsPinned = (t) => {+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? CL() : e.initialState?.rowPinning ?? CL()), 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) => {@@ -49550,22 +49566,22 @@ var ACe = { createTable: (e) => {}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({...e,position: r- })), e.getTopRows = ZI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), QI(e.options, "debugRows", "getTopRows")), e.getBottomRows = ZI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), QI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = ZI(() => [+ })), e.getTopRows = XI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), ZI(e.options, "debugRows", "getTopRows")), e.getBottomRows = XI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), ZI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = XI(() => [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));- }, QI(e.options, "debugRows", "getCenterRows"));+ }, ZI(e.options, "debugRows", "getCenterRows"));}-}, FCe = {+}, LCe = {getInitialState: (e) => ({rowSelection: {},...e}),getDefaultOptions: (e) => ({- onRowSelectionChange: YI("rowSelection", e),+ onRowSelectionChange: JI("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableSubRowSelection: !0@@ -49584,21 +49600,21 @@ var ACe = { createTable: (e) => {}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };return e.getRowModel().rows.forEach((t) => {- TL(i, t.id, r, !0, e);+ wL(i, t.id, r, !0, e);}), i;- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = ZI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? EL(e, n) : {+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = XI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? TL(e, n) : {rows: [],flatRows: [],rowsById: {}- }, QI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = ZI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? EL(e, n) : {+ }, ZI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = XI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? TL(e, n) : {rows: [],flatRows: [],rowsById: {}- }, QI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = ZI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? EL(e, n) : {+ }, ZI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = XI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? TL(e, n) : {rows: [],flatRows: [],rowsById: {}- }, QI(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {+ }, ZI(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 = () => {@@ -49622,17 +49638,17 @@ var ACe = { createTable: (e) => {t.setRowSelection((a) => {if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;let o = { ...a };- return TL(o, e.id, n, r?.selectChildren ?? !0, t), o;+ return wL(o, e.id, n, r?.selectChildren ?? !0, t), o;});}, e.getIsSelected = () => {let { rowSelection: n } = t.getState();- return DL(e, n);+ return EL(e, n);}, e.getIsSomeSelected = () => {let { rowSelection: n } = t.getState();- return OL(e, n) === "some";+ return DL(e, n) === "some";}, e.getIsAllSubRowsSelected = () => {let { rowSelection: n } = t.getState();- return OL(e, n) === "all";+ return DL(e, n) === "all";}, e.getCanSelect = () => typeof t.options.enableRowSelection == "function" ? t.options.enableRowSelection(e) : t.options.enableRowSelection ?? !0, e.getCanSelectSubRows = () => typeof t.options.enableSubRowSelection == "function" ? t.options.enableSubRowSelection(e) : t.options.enableSubRowSelection ?? !0, e.getCanMultiSelect = () => typeof t.options.enableMultiRowSelection == "function" ? t.options.enableMultiRowSelection(e) : t.options.enableMultiRowSelection ?? !0, e.getToggleSelectedHandler = () => {let t = e.getCanSelect();return (n) => {@@ -49640,16 +49656,16 @@ var ACe = { createTable: (e) => {};};}-}, TL = (e, t, n, r, i) => {+}, wL = (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) => TL(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) => wL(e, t.id, n, r, i));};-function EL(e, t) {+function TL(e, t) {let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {return e.map((e) => {var t;- let o = DL(e, n);+ let o = EL(e, n);if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {...e,subRows: a(e.subRows)@@ -49662,32 +49678,32 @@ function EL(e, t) {rowsById: i};}-function DL(e, t) {+function EL(e, t) {return t[e.id] ?? !1;}-function OL(e, t, n) {+function DL(e, t, n) {var r;if (!((r = e.subRows) != null && r.length)) return !1;let i = !0, a = !1;return e.subRows.forEach((e) => {- if ((!a || i) && (e.getCanSelect() && (DL(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {- let n = OL(e, t);+ if ((!a || i) && (e.getCanSelect() && (EL(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {+ let n = DL(e, t);n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);}}), i ? "all" : a ? "some" : !1;}-var kL = /([0-9]+)/gm, ICe = (e, t, n) => ML(jL(e.getValue(n)).toLowerCase(), jL(t.getValue(n)).toLowerCase()), LCe = (e, t, n) => ML(jL(e.getValue(n)), jL(t.getValue(n))), RCe = (e, t, n) => AL(jL(e.getValue(n)).toLowerCase(), jL(t.getValue(n)).toLowerCase()), zCe = (e, t, n) => AL(jL(e.getValue(n)), jL(t.getValue(n))), BCe = (e, t, n) => {+var OL = /([0-9]+)/gm, RCe = (e, t, n) => jL(AL(e.getValue(n)).toLowerCase(), AL(t.getValue(n)).toLowerCase()), zCe = (e, t, n) => jL(AL(e.getValue(n)), AL(t.getValue(n))), BCe = (e, t, n) => kL(AL(e.getValue(n)).toLowerCase(), AL(t.getValue(n)).toLowerCase()), VCe = (e, t, n) => kL(AL(e.getValue(n)), AL(t.getValue(n))), HCe = (e, t, n) => {let r = e.getValue(n), i = t.getValue(n);return r > i ? 1 : r < i ? -1 : 0;-}, VCe = (e, t, n) => AL(e.getValue(n), t.getValue(n));-function AL(e, t) {+}, UCe = (e, t, n) => kL(e.getValue(n), t.getValue(n));+function kL(e, t) {return e === t ? 0 : e > t ? 1 : -1;}-function jL(e) {+function AL(e) {return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";}-function ML(e, t) {- let n = e.split(kL).filter(Boolean), r = t.split(kL).filter(Boolean);+function jL(e, t) {+ let n = e.split(OL).filter(Boolean), r = t.split(OL).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])) {@@ -49701,22 +49717,22 @@ function ML(e, t) {}return n.length - r.length;}-var NL = {- alphanumeric: ICe,- alphanumericCaseSensitive: LCe,- text: RCe,- textCaseSensitive: zCe,- datetime: BCe,- basic: VCe-}, HCe = [- vCe,- kCe,- wCe,- TCe,+var ML = {+ alphanumeric: RCe,+ alphanumericCaseSensitive: zCe,+ text: BCe,+ textCaseSensitive: VCe,+ datetime: HCe,+ basic: UCe+}, WCe = [bCe,- xCe,- ACe,jCe,+ ECe,+ DCe,+ SCe,+ CCe,+ MCe,+ NCe,{getInitialState: (e) => ({sorting: [],@@ -49727,7 +49743,7 @@ var NL = {sortUndefined: 1}),getDefaultOptions: (e) => ({- onSortingChange: YI("sorting", e),+ onSortingChange: JI("sorting", e),isMultiSortEvent: (e) => e.shiftKey}),createColumn: (e, t) => {@@ -49735,13 +49751,13 @@ var NL = {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 NL.datetime;- if (typeof n == "string" && (r = !0, n.split(kL).length > 1)) return NL.alphanumeric;+ if (Object.prototype.toString.call(n) === "[object Date]") return ML.datetime;+ if (typeof n == "string" && (r = !0, n.split(OL).length > 1)) return ML.alphanumeric;}- return r ? NL.text : NL.basic;+ return r ? ML.text : ML.basic;}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {if (!e) throw Error();- return XI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? NL[e.columnDef.sortingFn];+ return YI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? ML[e.columnDef.sortingFn];}, e.toggleSorting = (n, r) => {let i = e.getNextSortingOrder(), a = n != null;t.setSorting((o) => {@@ -49778,15 +49794,15 @@ var NL = {}, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());}},- SCe,- MCe,- NCe,+ wCe,PCe,FCe,- DCe+ ICe,+ LCe,+ kCe];-function UCe(e) {- let t = [...HCe, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {+function GCe(e) {+ let t = [...WCe, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {...r,...e}, a = { ...e.initialState ?? {} };@@ -49812,7 +49828,7 @@ function UCe(e) {n.setState(n.initialState);},setOptions: (e) => {- let t = JI(e, n.options);+ let t = qI(e, n.options);n.options = i(t);},getState: () => n.options.state,@@ -49827,7 +49843,7 @@ function UCe(e) {if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();return r;},- _getDefaultColumnDef: ZI(() => [n.options.defaultColumn], (e) => (e ??= {}, {+ _getDefaultColumnDef: XI(() => [n.options.defaultColumn], (e) => (e ??= {}, {header: (e) => {let t = e.header.column.columnDef;return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;@@ -49838,20 +49854,20 @@ function UCe(e) {},...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),...e- }), QI(e, "debugColumns", "_getDefaultColumnDef")),+ }), ZI(e, "debugColumns", "_getDefaultColumnDef")),_getColumnDefs: () => n.options.columns,- getAllColumns: ZI(() => [n._getColumnDefs()], (e) => {+ getAllColumns: XI(() => [n._getColumnDefs()], (e) => {let t = function(e, r, i) {return i === void 0 && (i = 0), e.map((e) => {- let a = _Ce(n, e, i, r), o = e;+ let a = yCe(n, e, i, r), o = e;return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;});};return t(e);- }, QI(e, "debugColumns", "getAllColumns")),- getAllFlatColumns: ZI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), QI(e, "debugColumns", "getAllFlatColumns")),- _getAllFlatColumnsById: ZI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), QI(e, "debugColumns", "getAllFlatColumnsById")),- getAllLeafColumns: ZI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), QI(e, "debugColumns", "getAllLeafColumns")),+ }, ZI(e, "debugColumns", "getAllColumns")),+ getAllFlatColumns: XI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), ZI(e, "debugColumns", "getAllFlatColumns")),+ _getAllFlatColumnsById: XI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), ZI(e, "debugColumns", "getAllFlatColumnsById")),+ getAllLeafColumns: XI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), ZI(e, "debugColumns", "getAllLeafColumns")),getColumn: (e) => n._getAllFlatColumnsById()[e]};Object.assign(n, c);@@ -49861,8 +49877,8 @@ function UCe(e) {}return n;}-function PL() {- return (e) => ZI(() => [e.options.data], (t) => {+function NL() {+ return (e) => XI(() => [e.options.data], (t) => {let n = {rows: [],flatRows: [],@@ -49871,7 +49887,7 @@ function PL() {i === void 0 && (i = 0);let o = [];for (let c = 0; c < t.length; c++) {- let l = yCe(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);+ let l = xCe(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);if (n.flatRows.push(l), n.rowsById[l.id] = l, o.push(l), e.options.getSubRows) {var s;l.originalSubRows = e.options.getSubRows(t[c], c), (s = l.originalSubRows) != null && s.length && (l.subRows = r(l.originalSubRows, i + 1, l));@@ -49880,9 +49896,9 @@ function PL() {return o;};return n.rows = r(t), n;- }, QI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));+ }, ZI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));}-function WCe(e) {+function KCe(e) {let t = [], n = (e) => {var r;t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);@@ -49893,8 +49909,8 @@ function WCe(e) {rowsById: e.rowsById};}-function FL(e) {- return (e) => ZI(() => [+function PL(e) {+ return (e) => XI(() => [e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows ? void 0 : e.getState().expanded@@ -49907,7 +49923,7 @@ function FL(e) {rows: a,flatRows: o,rowsById: s- } : WCe({+ } : KCe({rows: a,flatRows: o,rowsById: s@@ -49916,32 +49932,32 @@ function FL(e) {u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);};return u.rows.forEach(d), u;- }, QI(e.options, "debugTable", "getPaginationRowModel"));+ }, ZI(e.options, "debugTable", "getPaginationRowModel"));}//#endregion//#region node_modules/@tanstack/react-table/build/lib/index.mjs-function IL(e, t) {- return e ? GCe(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;+function FL(e, t) {+ return e ? qCe(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;}-function GCe(e) {- return KCe(e) || typeof e == "function" || qCe(e);+function qCe(e) {+ return JCe(e) || typeof e == "function" || YCe(e);}-function KCe(e) {+function JCe(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function qCe(e) {+function YCe(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function LL(e) {+function IL(e) {let t = {state: {},onStateChange: () => {},renderFallbackValue: null,...e- }, [n] = b.useState(() => ({ current: UCe(t) })), [r, i] = b.useState(() => n.current.initialState);+ }, [n] = b.useState(() => ({ current: GCe(t) })), [r, i] = b.useState(() => n.current.initialState);return n.current.setOptions((t) => ({...t,...e,@@ -49956,7 +49972,7 @@ function LL(e) {}//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var JCe = IO({+var XCe = FO({sm: {track: "h-4 w-7",trackRadius: {@@ -50018,23 +50034,23 @@ var JCe = IO({}}});-function YCe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = JCe[t];+function ZCe({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = XCe[t];return /* @__PURE__ */ (0, x.jsx)("span", {"aria-hidden": !0,- className: FO("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? FO("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: PO("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? PO("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, x.jsx)("span", {- className: FO("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, x.jsx)("span", { className: FO("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: PO("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, x.jsx)("span", { className: PO("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 RL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, x.jsx)(Mhe, {+function LL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, x.jsx)(Phe, {ref: i,...a,- className: (t) => FO("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(YCe, {+ className: (t) => PO("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(ZCe, {state: e,size: n,shape: r@@ -50046,8 +50062,8 @@ function RL({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/components/legacy-avatar.ts-var zL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", XCe = "输入女优名,到 JavDB 找她的演员页";-function ZCe(e, t) {+var RL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", QCe = "输入女优名,到 JavDB 找她的演员页";+function $Ce(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);if (n.size > 1) return {@@ -50066,10 +50082,10 @@ function ZCe(e, t) {blocked: !1};}-function QCe({ card: e, picked: t, onPick: n }) {+function ewe({ card: e, picked: t, onPick: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(CP, {+ children: [/* @__PURE__ */ (0, x.jsx)(SP, {isSelected: t,onChange: n,children: /* @__PURE__ */ (0, x.jsxs)("span", {@@ -50079,7 +50095,7 @@ function QCe({ card: e, picked: t, onPick: n }) {className: "min-w-0 break-words",children: e.names.join("、")}),- e.record ? /* @__PURE__ */ (0, x.jsx)(RO, {+ e.record ? /* @__PURE__ */ (0, x.jsx)(LO, {variant: "caption",color: "neutral",children: e.record@@ -50090,14 +50106,14 @@ function QCe({ card: e, picked: t, onPick: n }) {}) : null]})- }), /* @__PURE__ */ (0, x.jsx)(ik, {+ }), /* @__PURE__ */ (0, x.jsx)(rk, {href: e.url,children: e.id})]});}-function $Ce({ readOnly: e, toast: t, onAdded: n }) {- let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(/* @__PURE__ */ new Set()), l = qO(), u = () => {+function twe({ readOnly: e, toast: t, onAdded: n }) {+ let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(/* @__PURE__ */ new Set()), l = KO(), u = () => {let t = r.trim();t && !e && l.run("lookup", (e) => wr(t, e), (e) => {o(e), c(new Set(e.suggested));@@ -50110,9 +50126,9 @@ function $Ce({ readOnly: e, toast: t, onAdded: n }) {a && l.run("follow", (e) => Tr(a.q, [...s], e), (e) => {t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();});- }, m = a ? ZCe(a, s) : null;+ }, m = a ? $Ce(a, s) : null;return /* @__PURE__ */ (0, x.jsxs)("div", {- className: VO({+ className: BO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -50125,11 +50141,11 @@ function $Ce({ readOnly: e, toast: t, onAdded: n }) {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-64 grow",- children: /* @__PURE__ */ (0, x.jsx)(PP, {+ children: /* @__PURE__ */ (0, x.jsx)(NP, {"aria-label": "女优名",- placeholder: XCe,+ placeholder: QCe,value: r,- leadingIcon: fO,+ leadingIcon: dO,enterKeyHint: "search",isDisabled: e,onChange: i,@@ -50151,16 +50167,16 @@ function $Ce({ readOnly: e, toast: t, onAdded: n }) {a ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, x.jsx)(rk, { children: "JavDB 上的演员卡" }),- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(QCe, {+ /* @__PURE__ */ (0, x.jsx)(nk, { children: "JavDB 上的演员卡" }),+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(ewe, {card: e,picked: s.has(e.id),onPick: (t) => c((n) => {let r = new Set(n);return t ? r.add(e.id) : r.delete(e.id), r;})- }, e.id)) : /* @__PURE__ */ (0, x.jsx)(tk, { children: "JavDB 上没有搜到这个名字。" }),- a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(tk, {+ }, e.id)) : /* @__PURE__ */ (0, x.jsx)(ek, { children: "JavDB 上没有搜到这个名字。" }),+ a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(ek, {role: "status",children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"}) : null,@@ -50187,19 +50203,19 @@ function $Ce({ readOnly: e, toast: t, onAdded: n }) {}//#endregion//#region src/react/follow-manage/source-list.tsx-var BL = (e) => (Number(e) || 0).toLocaleString(), ewe = Object.fromEntries(Object.entries(Bn).map(([e, t]) => [t, e])), VL = 740;-function twe() {+var zL = (e) => (Number(e) || 0).toLocaleString(), nwe = Object.fromEntries(Object.entries(Bn).map(([e, t]) => [t, e])), BL = 740;+function rwe() {let [e, t] = (0, b.useState)(!1), n = (0, b.useRef)(null), r = (0, b.useCallback)((e) => {if (n.current?.disconnect(), !e) {n.current = null;return;}- let r = new ResizeObserver(() => t(e.clientWidth < VL));- r.observe(e), n.current = r, t(e.clientWidth < VL);+ let r = new ResizeObserver(() => t(e.clientWidth < BL));+ r.observe(e), n.current = r, t(e.clientWidth < BL);}, []);return (0, b.useEffect)(() => () => n.current?.disconnect(), []), [r, e];}-var nwe = {+var iwe = {select: "选择",author: "创作者",source: "来源",@@ -50208,7 +50224,7 @@ var nwe = {checked: "上次检查",actions: "操作"};-function HL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function VL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {return t <= 1 ? null : /* @__PURE__ */ (0, x.jsxs)("nav", {"aria-label": r,className: "flex flex-wrap items-center justify-center gap-2",@@ -50245,33 +50261,33 @@ function HL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {]});}-function rwe({ source: e, selected: t, onToggle: n, handlers: r }) {+function awe({ source: e, selected: t, onToggle: n, handlers: r }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"data-selected": t || void 0,"data-follow-source-row": "",className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2",onClick: (e) => {- Yj(e, e.currentTarget) && n(!t);+ Jj(e, e.currentTarget) && n(!t);},children: [- /* @__PURE__ */ (0, x.jsx)(CP, {+ /* @__PURE__ */ (0, x.jsx)(SP, {isSelected: t,onChange: n,"aria-label": `选择 ${e.label}`}),/* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 grow basis-0 flex-col gap-0.5",- children: [/* @__PURE__ */ (0, x.jsx)(VI, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(HI, { text: e.last_error }) : null]+ children: [/* @__PURE__ */ (0, x.jsx)(BI, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(VI, { text: e.last_error }) : null]}),/* @__PURE__ */ (0, x.jsx)("span", {className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",title: e.provider_label,- children: /* @__PURE__ */ (0, x.jsx)(RI, {+ children: /* @__PURE__ */ (0, x.jsx)(LI, {provider: e.provider,label: e.provider_label})}),- /* @__PURE__ */ (0, x.jsx)(BI, { source: e }),+ /* @__PURE__ */ (0, x.jsx)(zI, { source: e }),/* @__PURE__ */ (0, x.jsxs)("span", {"data-follow-source-controls": "",className: "contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5",@@ -50280,7 +50296,7 @@ function rwe({ source: e, selected: t, onToggle: n, handlers: r }) {className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular",children: Nr(e)}),- /* @__PURE__ */ (0, x.jsx)(RL, {+ /* @__PURE__ */ (0, x.jsx)(LL, {"aria-label": `启用 ${e.label}`,isSelected: e.enabled,isDisabled: r.readOnly,@@ -50292,7 +50308,7 @@ function rwe({ source: e, selected: t, onToggle: n, handlers: r }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: dO,+ leadingIcon: uO,"aria-label": `检查 ${e.label} 的更新`,disabled: !e.enabled || r.readOnly,...K(r.busy),@@ -50301,7 +50317,7 @@ function rwe({ source: e, selected: t, onToggle: n, handlers: r }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: oO,+ leadingIcon: aO,"aria-label": `移除 ${e.label}`,disabled: r.readOnly,onClick: () => r.remove(e)@@ -50312,11 +50328,11 @@ function rwe({ source: e, selected: t, onToggle: n, handlers: r }) {]});}-function iwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {+function owe({ 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(Kn).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = ir(r, c);return /* @__PURE__ */ (0, x.jsxs)("section", {"aria-label": `${t} 的关注来源`,- className: VO({+ className: BO({variant: "raised",padding: "none",className: "flex flex-col overflow-hidden p-2"@@ -50326,7 +50342,7 @@ function iwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,"data-open": n || void 0,className: "flex flex-wrap items-center gap-3 px-2 py-2.5",children: [- /* @__PURE__ */ (0, x.jsx)(zI, {+ /* @__PURE__ */ (0, x.jsx)(RI, {group: e,name: t}),@@ -50338,7 +50354,7 @@ function iwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: dO,+ leadingIcon: uO,"aria-label": `检查 ${t} 的全部来源`,disabled: !l.length || i.readOnly,...K(i.busy),@@ -50351,7 +50367,7 @@ function iwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,/* @__PURE__ */ (0, x.jsxs)("span", {className: "flex shrink-0 items-center gap-1 max-sm:mr-auto max-sm:min-w-0 max-sm:shrink max-sm:flex-wrap",title: d,- children: [e.map((e) => /* @__PURE__ */ (0, x.jsx)(RI, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, x.jsx)(hb, { children: `来源:${d}` })]+ children: [e.map((e) => /* @__PURE__ */ (0, x.jsx)(LI, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, x.jsx)(hb, { children: `来源:${d}` })]}),u ? /* @__PURE__ */ (0, x.jsx)("span", {className: "shrink-0 text-body-2-regular text-text-error-primary",@@ -50360,7 +50376,7 @@ function iwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,/* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",size: "small",- leadingIcon: que,+ leadingIcon: Jue,"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false","aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,onClick: () => o(!p.all),@@ -50371,7 +50387,7 @@ function iwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,size: "small","aria-expanded": n,"aria-controls": f,- leadingIcon: n ? Gue : tO,+ leadingIcon: n ? Kue : eO,"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,onClick: () => a(!n),children: n ? "收起" : "展开"@@ -50383,7 +50399,7 @@ function iwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,id: f,hidden: !n,"data-source-divider": !0,- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(rwe, {+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(awe, {source: e,handlers: i,selected: r.has(e.id),@@ -50392,8 +50408,8 @@ function iwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,})]});}-function awe(e) {- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, b.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = twe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => iee(g, n, r, _), [+function swe(e) {+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, b.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = rwe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => iee(g, n, r, _), [g,n,r,@@ -50403,7 +50419,7 @@ function awe(e) {n,r,_- ]), { job: k, running: A, outcome: j, start: M } = yP({+ ]), { job: k, running: A, outcome: j, start: M } = vP({queryKey: Nn,queryFn: ({ signal: e }) => cr(e),start: (e) => dr(e),@@ -50490,12 +50506,12 @@ function awe(e) {readOnly: c};let se = oe.current, ce = (0, b.useMemo)(() => {- let e = qI(), t = (e) => () => nwe[e] || e;+ let e = KI(), t = (e) => () => iwe[e] || e;return [e.display({id: "select",header: t("select"),- cell: (e) => /* @__PURE__ */ (0, x.jsx)(CP, {+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(SP, {slot: null,isSelected: e.row.getIsSelected(),onChange: (t) => e.row.toggleSelected(t),@@ -50507,7 +50523,7 @@ function awe(e) {header: t("author"),cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(zI, {+ children: [/* @__PURE__ */ (0, x.jsx)(RI, {group: e.row.original.group,name: e.row.original.author}), /* @__PURE__ */ (0, x.jsx)("span", {@@ -50521,7 +50537,7 @@ function awe(e) {header: t("source"),cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 flex-col gap-0.5",- children: [/* @__PURE__ */ (0, x.jsx)(VI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(HI, { text: e.row.original.source.last_error }) : null]+ children: [/* @__PURE__ */ (0, x.jsx)(BI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(VI, { text: e.row.original.source.last_error }) : null]})}),e.accessor((e) => e.source.provider_label, {@@ -50529,13 +50545,13 @@ function awe(e) {header: t("provider"),cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, x.jsx)(RI, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]+ children: [/* @__PURE__ */ (0, x.jsx)(LI, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]})}),e.display({id: "status",header: t("status"),- cell: (e) => /* @__PURE__ */ (0, x.jsx)(BI, { source: e.row.original.source })+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(zI, { source: e.row.original.source })}),e.accessor((e) => e.source.last_checked_at || "", {id: "checked",@@ -50548,7 +50564,7 @@ function awe(e) {cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex items-center gap-1",children: [- /* @__PURE__ */ (0, x.jsx)(RL, {+ /* @__PURE__ */ (0, x.jsx)(LL, {"aria-label": `启用 ${e.row.original.source.label}`,isSelected: e.row.original.source.enabled,isDisabled: se.readOnly,@@ -50558,7 +50574,7 @@ function awe(e) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: dO,+ leadingIcon: uO,"aria-label": `检查 ${e.row.original.source.label} 的更新`,disabled: !e.row.original.source.enabled || se.readOnly,...K(se.busy),@@ -50568,7 +50584,7 @@ function awe(e) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: oO,+ leadingIcon: aO,"aria-label": `移除 ${e.row.original.source.label}`,disabled: se.readOnly,onClick: () => oe.current.remove(e.row.original.source)@@ -50578,12 +50594,12 @@ function awe(e) {})];}, [se]), le = (0, b.useMemo)(() => {- let e = ewe[n];+ let e = nwe[n];return e ? [{id: e,desc: r === "desc"}] : [];- }, [n, r]), ue = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), de = a === "table", fe = nr(de ? O.length : D.length, o, i), pe = LL({+ }, [n, r]), ue = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), de = a === "table", fe = nr(de ? O.length : D.length, o, i), pe = IL({data: O,columns: ce,getRowId: (e) => String(e.source.id),@@ -50614,11 +50630,11 @@ function awe(e) {}, n = typeof e == "function" ? e(t) : e;n.pageSize === o ? n.pageIndex !== t.pageIndex && u(n.pageIndex + 1) : f(n.pageSize);},- getCoreRowModel: PL(),- getPaginationRowModel: FL()+ getCoreRowModel: NL(),+ getPaginationRowModel: PL()}), me = pe.getRowModel().rows, he = de ? me.map((e) => e.original.source.id) : D.slice(fe.start, fe.end).flatMap((e) => e.map((e) => e.id)), ge = ir(s, he), _e = [...s], ve = jr(j), ye = Mr(j), be = D.length > 0 && y.size >= D.length;return g.length ? /* @__PURE__ */ (0, x.jsxs)("div", {- className: VO({+ className: BO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -50635,12 +50651,12 @@ function awe(e) {children: "关注列表"}), /* @__PURE__ */ (0, x.jsx)("span", {className: "text-body-2-regular text-text-secondary",- children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${BL(v.new)} 条未看` : ""}`+ children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${zL(v.new)} 条未看` : ""}`})]}),/* @__PURE__ */ (0, x.jsx)(W, {variant: "primary",- leadingIcon: dO,+ leadingIcon: uO,disabled: c,"aria-label": "检查全部",iconOnly: w,@@ -50659,20 +50675,20 @@ function awe(e) {children: [/* @__PURE__ */ (0, x.jsx)(W, {variant: "ghost",iconOnly: !0,- leadingIcon: lde,+ leadingIcon: ude,"aria-label": Ln[0][1],"aria-pressed": !de,onClick: () => d("default")}), /* @__PURE__ */ (0, x.jsx)(W, {variant: "ghost",iconOnly: !0,- leadingIcon: mde,+ leadingIcon: hde,"aria-label": Ln[1][1],"aria-pressed": de,onClick: () => d("table")})]}),- /* @__PURE__ */ (0, x.jsx)(gP, {+ /* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": "关注列表排序",selectedKey: n,onSelectionChange: (e) => {@@ -50680,7 +50696,7 @@ function awe(e) {let t = String(e);l(t, on[t]);},- children: rn.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(_P, {+ children: rn.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(gP, {id: e,children: t}, e))@@ -50688,14 +50704,14 @@ function awe(e) {/* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",iconOnly: !0,- leadingIcon: r === "asc" ? Wue : Uue,+ leadingIcon: r === "asc" ? Gue : Wue,"aria-label": Wn(n, r),onClick: () => l(n, r === "asc" ? "desc" : "asc")}),de ? null : /* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",iconOnly: w,- leadingIcon: be ? tO : Gue,+ leadingIcon: be ? eO : Kue,"aria-label": be ? "全部展开" : "全部收起",onClick: () => S(be ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),children: be ? "全部展开" : "全部收起"@@ -50708,7 +50724,7 @@ function awe(e) {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",children: [- A ? /* @__PURE__ */ (0, x.jsx)(fP, {+ A ? /* @__PURE__ */ (0, x.jsx)(dP, {embedded: !0,label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),value: k?.checked,@@ -50794,10 +50810,10 @@ function awe(e) {})]}),- de ? /* @__PURE__ */ (0, x.jsx)(TP, {+ de ? /* @__PURE__ */ (0, x.jsx)(wP, {follow: !0,onRowClick: (e) => P(Number(e), !s.has(Number(e))),- children: /* @__PURE__ */ (0, x.jsxs)(wP, {+ children: /* @__PURE__ */ (0, x.jsxs)(CP, {"aria-label": "关注来源",size: "sm",sortDescriptor: le[0] ? {@@ -50808,9 +50824,9 @@ function awe(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, x.jsx)(YA, { children: pe.getHeaderGroups()[0].headers.map((e) => {- let t = e.column.id in Bn, n = IL(e.column.columnDef.header, e.getContext());- return /* @__PURE__ */ (0, x.jsx)(XA, {+ children: [/* @__PURE__ */ (0, x.jsx)(JA, { children: pe.getHeaderGroups()[0].headers.map((e) => {+ let t = e.column.id in Bn, n = FL(e.column.columnDef.header, e.getContext());+ return /* @__PURE__ */ (0, x.jsx)(YA, {id: e.id,allowsSorting: t,isRowHeader: e.column.id === "source",@@ -50819,20 +50835,20 @@ function awe(e) {children: [n, /* @__PURE__ */ (0, x.jsx)("span", {"data-sort-indicator": !0,"data-direction": e || void 0,- children: /* @__PURE__ */ (0, x.jsx)(wye, {})+ children: /* @__PURE__ */ (0, x.jsx)(Eye, {})})]}) : /* @__PURE__ */ (0, x.jsx)(hb, { children: n })}, e.id);- }) }), /* @__PURE__ */ (0, x.jsx)(QA, {+ }) }), /* @__PURE__ */ (0, x.jsx)(ZA, {renderEmptyState: () => "这一页没有来源",- children: me.map((e) => /* @__PURE__ */ (0, x.jsx)(tj, {+ children: me.map((e) => /* @__PURE__ */ (0, x.jsx)(ej, {id: e.id,"data-follow-selected": e.getIsSelected() || void 0,- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(rj, { children: IL(e.column.columnDef.cell, e.getContext()) }, e.id))+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(nj, { children: FL(e.column.columnDef.cell, e.getContext()) }, e.id))}, e.id))})]})- }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(CP, {+ }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(SP, {isSelected: ge.all,isIndeterminate: ge.some,onChange: (e) => ee(he, e),@@ -50842,7 +50858,7 @@ function awe(e) {className: "flex flex-col gap-3",children: D.slice(fe.start, fe.end).map((e) => {let t = String(e[0].author_key || e[0].id);- return /* @__PURE__ */ (0, x.jsx)(iwe, {+ return /* @__PURE__ */ (0, x.jsx)(owe, {group: e,name: Qn(e, _),handlers: se,@@ -50862,21 +50878,21 @@ function awe(e) {children: [/* @__PURE__ */ (0, x.jsx)("span", {className: "text-body-2-regular text-text-secondary",- children: `${BL(fe.start + 1)}–${BL(fe.end)} / ${BL(fe.total)} ${de ? "个来源" : "位创作者"}`+ children: `${zL(fe.start + 1)}–${zL(fe.end)} / ${zL(fe.total)} ${de ? "个来源" : "位创作者"}`}),- /* @__PURE__ */ (0, x.jsx)(gP, {+ /* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(o),onSelectionChange: (e) => {e !== null && pe.setPageSize(Number(e));},- children: Rn.map((e) => /* @__PURE__ */ (0, x.jsx)(_P, {+ children: Rn.map((e) => /* @__PURE__ */ (0, x.jsx)(gP, {id: String(e),children: `每页 ${e} ${de ? "条" : "位"}`}, e))}),- /* @__PURE__ */ (0, x.jsx)(HL, {+ /* @__PURE__ */ (0, x.jsx)(VL, {page: fe.page,pages: fe.pages,onPage: (e) => pe.setPageIndex(e - 1)@@ -50888,7 +50904,7 @@ function awe(e) {children: [/* @__PURE__ */ (0, x.jsx)("span", {className: "mr-auto text-body-2-regular text-text-secondary",- children: `未看 ${BL(v.new)} · 已看 ${BL(v.seen)} · 已保存 ${BL(v.saved)} · 已忽略 ${BL(v.ignored)}`+ children: `未看 ${zL(v.new)} · 已看 ${zL(v.seen)} · 已保存 ${zL(v.saved)} · 已忽略 ${zL(v.ignored)}`}),/* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",@@ -50925,11 +50941,11 @@ function awe(e) {]}) : null]- }) : /* @__PURE__ */ (0, x.jsx)(HO, {+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: fde,+ icon: pde,title: "还没有关注来源",- actions: /* @__PURE__ */ (0, x.jsx)(BO, {+ actions: /* @__PURE__ */ (0, x.jsx)(zO, {variant: "primary",size: "small",href: "/follow-manage?tab=add",@@ -50940,7 +50956,7 @@ function awe(e) {}//#endregion//#region src/react/follow-manage/feed-sources.tsx-var owe = {+var cwe = {select: "选择",name: "名称",kind: "类型",@@ -50950,33 +50966,33 @@ var owe = {fetched: "上次拉取",fresh: "上次新增",actions: "操作"-}, swe = /* @__PURE__ */ new Set(["select", "actions"]), UL = () => V.invalidateQueries({+}, lwe = /* @__PURE__ */ new Set(["select", "actions"]), HL = () => V.invalidateQueries({queryKey: Fn,exact: !0-}), WL = (e) => e.name || e.url;-function cwe(e) {+}), UL = (e) => e.name || e.url;+function uwe(e) {try {return new URL(e).hostname.replace(/^www\./, "");} catch {return e;}}-function lwe({ source: e }) {- return e.last_error ? /* @__PURE__ */ (0, x.jsx)(RO, {+function dwe({ source: e }) {+ return e.last_error ? /* @__PURE__ */ (0, x.jsx)(LO, {variant: "caption",color: "rose",children: "拉取失败"- }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(RO, {+ }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(LO, {variant: "caption",color: "lime",children: "正常"- }) : /* @__PURE__ */ (0, x.jsx)(RO, {+ }) : /* @__PURE__ */ (0, x.jsx)(LO, {variant: "caption",color: "neutral",children: "已暂停"});}-function uwe({ source: e }) {+function fwe({ source: e }) {let t = e.entity_id ? {id: e.entity_id,has_image: !!e.has_image,@@ -50985,31 +51001,31 @@ function uwe({ source: e }) {} : null;return /* @__PURE__ */ (0, x.jsx)("span", {"aria-hidden": !0,- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${zL}`,- dangerouslySetInnerHTML: { __html: $i(WL(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 ${RL}`,+ dangerouslySetInnerHTML: { __html: $i(UL(e), t, null, "performer") }});}-var dwe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";-function fwe(e) {+var pwe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";+function mwe(e) {let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));return n;}-function GL(e, t) {+function WL(e, t) {let n = e.length === 1 ? e[0] : null;return rs({title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,- body: n ? `将移除订阅源「${WL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",+ body: n ? `将移除订阅源「${UL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",confirmLabel: n ? "移除订阅源" : "移除所选订阅源",danger: !0,onConfirm: t});}-function pwe({ readOnly: e, toast: t }) {+function hwe({ readOnly: e, toast: t }) {let n = dt({queryKey: Fn,queryFn: ({ signal: e }) => br(e)- }), r = qO(), i = n.data, a = (0, b.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, b.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, b.useState)(1), [u, d] = (0, b.useState)(20), f = nr(a.length, u, c);+ }), r = KO(), i = n.data, a = (0, b.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, b.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, b.useState)(1), [u, d] = (0, b.useState)(20), f = nr(a.length, u, c);(0, b.useEffect)(() => {l((e) => Math.min(e, f.pages));}, [f.pages]), (0, b.useEffect)(() => {@@ -51030,13 +51046,13 @@ function pwe({ 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()), UL(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {+ if (s(/* @__PURE__ */ new Set()), HL(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {let e = n[0];r.setError(`${n.length} 条没有写入:${e.ok ? "" : z(e.error)}`);}},onError: (e) => r.setError(z(e))- }), m = (0, b.useMemo)(() => fwe(a), [a]), h = (0, b.useRef)({+ }), m = (0, b.useMemo)(() => mwe(a), [a]), h = (0, b.useRef)({readOnly: e,shared: m,busy: null,@@ -51048,34 +51064,34 @@ function pwe({ readOnly: e, toast: t }) {readOnly: e,shared: m,busy: r.busy,- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => xr(e.id, t, n), () => void UL()),- fetch: (e) => void r.run(`check-${e.id}`, (t) => Cr(t, [e.id]), () => void UL()),- remove: (e) => void GL([e], async () => {- await Sr(e.id), t(`已移除订阅源「${WL(e)}」`), UL();+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => xr(e.id, t, n), () => void HL()),+ fetch: (e) => void r.run(`check-${e.id}`, (t) => Cr(t, [e.id]), () => void HL()),+ remove: (e) => void WL([e], async () => {+ await Sr(e.id), t(`已移除订阅源「${UL(e)}」`), HL();})};let g = (0, b.useMemo)(() => {- let e = qI(), t = (e) => () => owe[e] || e;+ let e = KI(), t = (e) => () => cwe[e] || e;return [e.display({id: "select",header: t("select"),- cell: (e) => /* @__PURE__ */ (0, x.jsx)(CP, {+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(SP, {slot: null,isSelected: e.row.getIsSelected(),onChange: (t) => e.row.toggleSelected(t),- "aria-label": `选择 ${WL(e.row.original)}`+ "aria-label": `选择 ${UL(e.row.original)}`})}),- e.accessor(WL, {+ e.accessor(UL, {id: "name",header: t("name"),cell: (e) => {- let t = dwe(e.row.original, h.current.shared);+ let t = pwe(e.row.original, h.current.shared);return /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",children: [- /* @__PURE__ */ (0, x.jsx)(uwe, { source: e.row.original }),+ /* @__PURE__ */ (0, x.jsx)(fwe, { source: e.row.original }),e.getValue(),t ? /* @__PURE__ */ (0, x.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -51103,13 +51119,13 @@ function pwe({ readOnly: e, toast: t }) {rel: "noreferrer noopener",title: "打开来源页面",className: "text-text-primary underline-offset-2 hover:underline",- children: cwe(e.getValue())+ children: uwe(e.getValue())})}),e.display({id: "status",header: t("status"),- cell: (e) => /* @__PURE__ */ (0, x.jsx)(lwe, { source: e.row.original })+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(dwe, { source: e.row.original })}),e.accessor((e) => ree(e.interval_minutes), {id: "interval",@@ -51141,8 +51157,8 @@ function pwe({ readOnly: e, toast: t }) {cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex items-center gap-1",children: [- /* @__PURE__ */ (0, x.jsx)(RL, {- "aria-label": `启用 ${WL(e.row.original)}`,+ /* @__PURE__ */ (0, x.jsx)(LL, {+ "aria-label": `启用 ${UL(e.row.original)}`,isSelected: e.row.original.enabled,isDisabled: h.current.readOnly,onChange: (t) => h.current.toggle(e.row.original, t)@@ -51151,8 +51167,8 @@ function pwe({ readOnly: e, toast: t }) {variant: "secondary",size: "xs",iconOnly: !0,- leadingIcon: dO,- "aria-label": `拉取 ${WL(e.row.original)}`,+ leadingIcon: uO,+ "aria-label": `拉取 ${UL(e.row.original)}`,disabled: h.current.readOnly,...K(h.current.busy === `check-${e.row.original.id}`),onClick: () => h.current.fetch(e.row.original)@@ -51161,8 +51177,8 @@ function pwe({ readOnly: e, toast: t }) {variant: "secondary",size: "xs",iconOnly: !0,- leadingIcon: oO,- "aria-label": `移除 ${WL(e.row.original)}`,+ leadingIcon: aO,+ "aria-label": `移除 ${UL(e.row.original)}`,disabled: h.current.readOnly,onClick: () => h.current.remove(e.row.original)})@@ -51170,7 +51186,7 @@ function pwe({ readOnly: e, toast: t }) {})})];- }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = LL({+ }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = IL({data: a,columns: g,getRowId: (e) => String(e.id),@@ -51186,27 +51202,27 @@ function pwe({ 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: PL(),- getPaginationRowModel: FL()+ getCoreRowModel: NL(),+ getPaginationRowModel: PL()});if (!i) return n.error ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",title: "打不开订阅源",children: z(n.error)- }) : /* @__PURE__ */ (0, x.jsx)(tk, { children: "正在读订阅源。" });- let y = () => void r.run("check", (e) => Cr(e), () => void UL()), S = (e) => s((t) => {+ }) : /* @__PURE__ */ (0, x.jsx)(ek, { children: "正在读订阅源。" });+ let y = () => void r.run("check", (e) => Cr(e), () => void HL()), S = (e) => s((t) => {let n = new Set(t);return n.has(e) ? n.delete(e) : n.add(e), n;}), C = a.filter((e) => o.has(e.id)), w = a.filter((e) => e.last_error);return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",- children: [/* @__PURE__ */ (0, x.jsx)($Ce, {+ children: [/* @__PURE__ */ (0, x.jsx)(twe, {readOnly: e,toast: t,- onAdded: () => void UL()+ onAdded: () => void HL()}), /* @__PURE__ */ (0, x.jsxs)("section", {"aria-label": "JAV 订阅列表",- className: VO({+ className: BO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -51240,11 +51256,11 @@ function pwe({ readOnly: e, toast: t }) {children: w.map((e) => /* @__PURE__ */ (0, x.jsx)("li", {className: "min-w-0 truncate",title: e.last_error || "",- children: `${WL(e)}:${qn(e.last_error || "") || "未说明原因"}`+ children: `${UL(e)}:${qn(e.last_error || "") || "未说明原因"}`}, e.id))}),children: "这些订阅源这一轮没有取到新条目。"- }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(nk, { children: r.error }) : null]+ }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(tk, { children: r.error }) : null]}) : null,/* @__PURE__ */ (0, x.jsxs)(Dw, {visible: C.length > 0,@@ -51278,7 +51294,7 @@ function pwe({ readOnly: e, toast: t }) {size: "small",disabled: e,...K(p.isPending),- onClick: () => void GL(C, () => p.mutateAsync({+ onClick: () => void WL(C, () => p.mutateAsync({ids: C.map((e) => e.id),action: "remove"})),@@ -51292,26 +51308,26 @@ function pwe({ readOnly: e, toast: t }) {})]}),- a.length ? /* @__PURE__ */ (0, x.jsx)(TP, {+ a.length ? /* @__PURE__ */ (0, x.jsx)(wP, {onRowClick: (e) => S(Number(e)),- children: /* @__PURE__ */ (0, x.jsxs)(wP, {+ children: /* @__PURE__ */ (0, x.jsxs)(CP, {"aria-label": "JAV 订阅源",size: "sm",- children: [/* @__PURE__ */ (0, x.jsx)(YA, { children: v.getHeaderGroups()[0].headers.map((e) => {- let t = IL(e.column.columnDef.header, e.getContext());- return /* @__PURE__ */ (0, x.jsx)(XA, {+ children: [/* @__PURE__ */ (0, x.jsx)(JA, { children: v.getHeaderGroups()[0].headers.map((e) => {+ let t = FL(e.column.columnDef.header, e.getContext());+ return /* @__PURE__ */ (0, x.jsx)(YA, {id: e.id,isRowHeader: e.column.id === "name",- children: swe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(hb, { children: t }) : t+ children: lwe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(hb, { children: t }) : t}, e.id);- }) }), /* @__PURE__ */ (0, x.jsx)(QA, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(tj, {+ }) }), /* @__PURE__ */ (0, x.jsx)(ZA, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(ej, {id: e.id,"data-follow-selected": e.getIsSelected() || void 0,- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(rj, { children: IL(e.column.columnDef.cell, e.getContext()) }, e.id))+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(nj, { children: FL(e.column.columnDef.cell, e.getContext()) }, e.id))}, e.id)) })]})- }) : /* @__PURE__ */ (0, x.jsx)(HO, {- icon: fde,+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {+ icon: pde,title: "还没有订阅源",shell: "plain",children: "在上面按女优名添加,或在人物页点「订阅新作」。"@@ -51323,19 +51339,19 @@ function pwe({ readOnly: e, toast: t }) {className: "text-body-2-regular text-text-secondary",children: `${(f.start + 1).toLocaleString()}–${f.end.toLocaleString()} / ${f.total.toLocaleString()} 个订阅源`}),- /* @__PURE__ */ (0, x.jsx)(gP, {+ /* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(u),onSelectionChange: (e) => {e !== null && (d(Number(e)), l(1));},- children: Rn.map((e) => /* @__PURE__ */ (0, x.jsx)(_P, {+ children: Rn.map((e) => /* @__PURE__ */ (0, x.jsx)(gP, {id: String(e),children: `每页 ${e} 条`}, e))}),- /* @__PURE__ */ (0, x.jsx)(HL, {+ /* @__PURE__ */ (0, x.jsx)(VL, {label: "JAV 订阅分页",page: f.page,pages: f.pages,@@ -51357,18 +51373,18 @@ function pwe({ readOnly: e, toast: t }) {}//#endregion//#region src/react/activity/resource-search.tsx-function mwe({ className: e }) {+function gwe({ className: e }) {return /* @__PURE__ */ (0, x.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: Ja("") }});}-function hwe(e) {+function _we(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function gwe({ initialCode: e, reason: t, choose: n }) {- let [r, i] = (0, b.useState)(e), [a, o] = (0, b.useState)(() => hwe(t)), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(""), _ = qO(), v = () => {+function vwe({ initialCode: e, reason: t, choose: n }) {+ let [r, i] = (0, b.useState)(e), [a, o] = (0, b.useState)(() => _we(t)), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(""), _ = KO(), v = () => {if (!r.trim() || _.busy) return;let e = new URLSearchParams({code: r.trim(),@@ -51385,18 +51401,18 @@ function gwe({ initialCode: e, reason: t, choose: n }) {"aria-busy": !!_.busy,className: "flex min-w-0 flex-col gap-4",children: [- t ? /* @__PURE__ */ (0, x.jsxs)(tk, { children: [+ t ? /* @__PURE__ */ (0, x.jsxs)(ek, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {label: "搜索资源",value: r,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: _.busy ? mwe : fO,+ leadingIcon: _.busy ? gwe : dO,isReadOnly: !!_.busy,"aria-busy": !!_.busy,onChange: i,@@ -51406,7 +51422,7 @@ function gwe({ initialCode: e, reason: t, choose: n }) {}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, x.jsx)(rk, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(gP, {+ children: [/* @__PURE__ */ (0, x.jsx)(nk, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(hP, {"aria-label": "优先寻找",selectedKey: a,isDisabled: !!_.busy,@@ -51414,15 +51430,15 @@ function gwe({ initialCode: e, reason: t, choose: n }) {e !== null && o(String(e));},children: [- /* @__PURE__ */ (0, x.jsx)(_P, {+ /* @__PURE__ */ (0, x.jsx)(gP, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, x.jsx)(_P, {+ /* @__PURE__ */ (0, x.jsx)(gP, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, x.jsx)(_P, {+ /* @__PURE__ */ (0, x.jsx)(gP, {id: "uncensored",children: "无码"})@@ -51431,32 +51447,32 @@ function gwe({ initialCode: e, reason: t, choose: n }) {}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, x.jsx)(PP, {+ children: [/* @__PURE__ */ (0, x.jsx)(NP, {label: "最小体积(GiB)",inputMode: "decimal",value: s,onChange: c- }), /* @__PURE__ */ (0, x.jsx)(PP, {+ }), /* @__PURE__ */ (0, x.jsx)(NP, {label: "最大体积(GiB)",inputMode: "decimal",value: l,onChange: u})]}),- _.busy ? /* @__PURE__ */ (0, x.jsx)(tk, {+ _.busy ? /* @__PURE__ */ (0, x.jsx)(ek, {role: "status",children: "正在搜索资源"}) : null,- _.error ? /* @__PURE__ */ (0, x.jsx)(nk, { children: _.error }) : null,- d?.error ? /* @__PURE__ */ (0, x.jsx)(tk, {+ _.error ? /* @__PURE__ */ (0, x.jsx)(tk, { children: _.error }) : null,+ d?.error ? /* @__PURE__ */ (0, x.jsx)(ek, {role: "status",children: d.error}) : null,- d?.state === "ready" && !d.items.length ? /* @__PURE__ */ (0, x.jsx)(tk, {+ d?.state === "ready" && !d.items.length ? /* @__PURE__ */ (0, x.jsx)(ek, {role: "status",children: "没有符合条件的资源。"}) : null,- d?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(tk, { children: e }, e)),+ d?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(ek, { children: e }, e)),d?.items.length ? /* @__PURE__ */ (0, x.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: d.items.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {@@ -51466,7 +51482,7 @@ function gwe({ initialCode: e, reason: t, choose: n }) {className: "break-words text-body-2-medium text-text-primary",children: e.name}),- /* @__PURE__ */ (0, x.jsx)(tk, { children: [+ /* @__PURE__ */ (0, x.jsx)(ek, { children: [`${(e.size / 1024 ** 3).toFixed(2)} GiB`,`${e.seeders} 个做种`,e.resolution ? `${e.resolution}p` : "",@@ -51491,19 +51507,19 @@ function gwe({ initialCode: e, reason: t, choose: n }) {}//#endregion//#region src/react/activity/cloud-download-dialog.tsx-var _we = {+var ywe = {submitted: "已提交离线下载,进度在活动页",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "远端已有同一任务,已接管"};-function KL({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, x.jsx)($F, {+function GL({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, x.jsx)(QF, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, x.jsx)(vwe, {+ children: e ? /* @__PURE__ */ (0, x.jsx)(bwe, {prefill: e,close: t,receipt: n,@@ -51511,14 +51527,14 @@ function KL({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function vwe({ prefill: e, close: t, receipt: n, provider: r }) {+function bwe({ prefill: e, close: t, receipt: n, provider: r }) {let i = dt({- queryKey: gk,- queryFn: ({ signal: e }) => nn(`${hk}?limit=50`, e),- refetchInterval: (e) => ppe(e.state.data)+ queryKey: hk,+ queryFn: ({ signal: e }) => nn(`${mk}?limit=50`, e),+ refetchInterval: (e) => hpe(e.state.data)}), a = i.data, o = a?.providers.filter((e) => e.configured) ?? [], s = [e.code, e.title].filter(Boolean).join(" "), c = /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-1 px-5 pt-5",- children: [/* @__PURE__ */ (0, x.jsx)(zk, {+ children: [/* @__PURE__ */ (0, x.jsx)(Rk, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "云下载"@@ -51527,7 +51543,7 @@ function vwe({ prefill: e, close: t, receipt: n, provider: r }) {children: s}) : null]});- return a?.available && o.length ? /* @__PURE__ */ (0, x.jsx)(ywe, {+ return a?.available && o.length ? /* @__PURE__ */ (0, x.jsx)(xwe, {header: c,snapshot: a,prefill: e,@@ -51566,8 +51582,8 @@ function vwe({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function ywe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = C(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, b.useState)(c.key), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(n.code ?? ""), [h, g] = (0, b.useState)(c.target), [_, v] = (0, b.useState)(""), y = qO(), S = (0, b.useRef)(null), w = (e) => {+function xwe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = C(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, b.useState)(c.key), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(n.code ?? ""), [h, g] = (0, b.useState)(c.target), [_, v] = (0, b.useState)(""), y = KO(), S = (0, b.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, x.jsxs)("form", {@@ -51583,14 +51599,14 @@ function ywe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: n.title,origin: n.origin};- v(""), y.run("submit", (e) => B(hk, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: gk });- let t = _we[e.outcome];+ v(""), y.run("submit", (e) => B(mk, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: hk });+ let t = ywe[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = gpe(e.task);+ let n = vpe(e.task);v(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -51600,14 +51616,14 @@ function ywe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",children: [- /* @__PURE__ */ (0, x.jsx)(gwe, {+ /* @__PURE__ */ (0, x.jsx)(vwe, {initialCode: n.code ?? "",reason: n.searchReason,choose: (e, t) => {f(e), m(t), S.current?.focus();}}),- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {ref: S,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -51619,22 +51635,22 @@ function ywe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, x.jsx)(rk, { children: "下载到" }),- /* @__PURE__ */ (0, x.jsx)(gP, {+ /* @__PURE__ */ (0, x.jsx)(nk, { children: "下载到" }),+ /* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": "下载到",selectedKey: l,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, x.jsx)(_P, {+ children: s.map((e) => /* @__PURE__ */ (0, x.jsx)(gP, {id: e.key,children: e.label}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, x.jsx)(tk, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, x.jsx)(ek, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -51642,7 +51658,7 @@ function ywe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, x.jsx)(PP, {+ n.code ? null : /* @__PURE__ */ (0, x.jsx)(NP, {label: "番号",placeholder: "可不填",autoComplete: "off",@@ -51650,7 +51666,7 @@ function ywe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: p,onChange: m}),- _ || y.error ? /* @__PURE__ */ (0, x.jsx)(nk, { children: _ || y.error }) : null+ _ || y.error ? /* @__PURE__ */ (0, x.jsx)(tk, { children: _ || y.error }) : null]}),/* @__PURE__ */ (0, x.jsxs)("div", {@@ -51671,29 +51687,33 @@ function ywe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}//#endregion//#region src/react/wants/resource-cache.ts-var qL = "peach.want-resources.v1", JL = 864e5;-function YL(e, t = Date.now()) {+var KL = "peach.want-resources.v1", qL = 864e5;+function JL(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 * JL : 7 * JL;+ return i.setUTCDate(Math.min(a, o)), Number.isFinite(n) && n < i.getTime() ? 365 * qL : 7 * qL;}-function XL() {+function YL() {try {- let e = JSON.parse(localStorage.getItem(qL) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items)) : [];+ let e = JSON.parse(localStorage.getItem(KL) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && (e.result.items.length > 0 || !e.result.warnings?.length) && e.result.items.every((e) => e && [+ "magnet",+ "ed2k",+ "url"+ ].includes(String(e.protocol)) && typeof e.size == "string" && Array.isArray(e.attributes))) : [];} catch {return [];}}-function bwe(e, t) {- let n = XL().find((t) => t.code === e);- return n && Date.now() - n.saved < YL(t) ? n : void 0;+function Swe(e, t) {+ let n = YL().find((t) => t.code === e);+ return n && Date.now() - n.saved < JL(t) ? n : void 0;}-function xwe(e, t) {+function Cwe(e, t) {if (t.state === "ready") try {- let n = XL().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem(qL, JSON.stringify([{+ let n = YL().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem(KL, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -51702,7 +51722,7 @@ function xwe(e, t) {}//#endregion//#region src/react/wants/want-magnets.tsx-function ZL({ icon: e, children: t }) {+function XL({ icon: e, children: t }) {return /* @__PURE__ */ (0, x.jsxs)("span", {className: "inline-flex items-center gap-1",children: [/* @__PURE__ */ (0, x.jsx)(e, {@@ -51711,8 +51731,8 @@ function ZL({ icon: e, children: t }) {}), t]});}-function Swe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a }) {- let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(typeof IntersectionObserver > "u"), [l, u] = (0, b.useState)([]), d = qO(), f = C(), p = (0, b.useRef)(!1), m = (0, b.useMemo)(() => bwe(e.code || "", e.release_date), [e.code, e.release_date]);+function wwe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a }) {+ let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(typeof IntersectionObserver > "u"), [l, u] = (0, b.useState)([]), d = KO(), f = C(), p = (0, b.useRef)(!1), m = (0, b.useMemo)(() => Swe(e.code || "", e.release_date), [e.code, e.release_date]);(0, b.useEffect)(() => {if (!o.current || s) return;let e = new IntersectionObserver((t) => {@@ -51728,15 +51748,15 @@ function Swe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour],queryFn: async ({ signal: t }) => {let n = p.current, r = await nn(`/api/wants/magnets?id=${e.id}${n ? "&refresh=1" : ""}`, t);- return p.current = n && r.state === "busy", xwe(e.code || "", r), r;+ return p.current = n && r.state === "busy", Cwe(e.code || "", r), r;},initialData: m?.result,initialDataUpdatedAt: m?.saved,enabled: s,retry: !1,- staleTime: (t) => Date.now() - t.state.dataUpdatedAt < (t.state.data?.state === "error" ? 6e4 : YL(e.release_date)) ? Infinity : 0,+ staleTime: (t) => Date.now() - t.state.dataUpdatedAt < (t.state.data?.state === "error" ? 6e4 : JL(e.release_date)) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => Date.now() - t.state.dataUpdatedAt >= (t.state.data?.state === "error" ? 6e4 : YL(e.release_date)) && "always",+ refetchOnMount: (t) => Date.now() - t.state.dataUpdatedAt >= (t.state.data?.state === "error" ? 6e4 : JL(e.release_date)) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});@@ -51745,7 +51765,7 @@ function Swe({ 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 B(hk, {+ let n = await B(mk, {magnet: r.uri,provider: g.key,target: g.target,@@ -51756,7 +51776,7 @@ function Swe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourif (!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: gk });+ u((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), f.invalidateQueries({ queryKey: hk });});}, v = (e) => {d.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -51774,7 +51794,7 @@ function Swe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}), /* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",size: "small",- leadingIcon: dO,+ leadingIcon: uO,...K(y),onClick: () => {y || (p.current = !0, h.refetch());@@ -51782,7 +51802,7 @@ function Swe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourchildren: "重新查询"})]}),- y ? /* @__PURE__ */ (0, x.jsx)(UO, { label: "正在查找资源链接…" }) : null,+ y ? /* @__PURE__ */ (0, x.jsx)(HO, { label: "正在查找资源链接…" }) : null,S ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",title: "资源链接未取得",@@ -51811,18 +51831,18 @@ function Swe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourclassName: "flex min-w-0 flex-1 flex-col gap-1",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(RO, {+ children: [/* @__PURE__ */ (0, x.jsx)(LO, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: /* @__PURE__ */ (0, x.jsxs)("span", {className: "inline-flex items-center gap-1",- children: [e.protocol === "magnet" ? /* @__PURE__ */ (0, x.jsx)(bde, {+ children: [e.protocol === "magnet" ? /* @__PURE__ */ (0, x.jsx)(xde, {"aria-hidden": !0,className: "size-3.5"- }) : e.protocol === "ed2k" ? /* @__PURE__ */ (0, x.jsx)(ede, {+ }) : e.protocol === "ed2k" ? /* @__PURE__ */ (0, x.jsx)(tde, {"aria-hidden": !0,className: "size-3.5"- }) : /* @__PURE__ */ (0, x.jsx)(ude, {+ }) : /* @__PURE__ */ (0, x.jsx)(dde, {"aria-hidden": !0,className: "size-3.5"}), e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ed2k" : "网页链接"]@@ -51834,24 +51854,24 @@ function Swe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}), /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap gap-x-3 gap-y-1 break-words text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, x.jsx)(ZL, {- icon: ude,+ /* @__PURE__ */ (0, x.jsx)(XL, {+ icon: dde,children: e.source}),- /* @__PURE__ */ (0, x.jsx)(ZL, {- icon: cO,+ /* @__PURE__ */ (0, x.jsx)(XL, {+ icon: sO,children: e.size || "大小未知"}),- e.files ? /* @__PURE__ */ (0, x.jsx)(ZL, {- icon: tde,+ e.files ? /* @__PURE__ */ (0, x.jsx)(XL, {+ icon: nde,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, x.jsx)(ZL, {- icon: Kue,+ /* @__PURE__ */ (0, x.jsx)(XL, {+ icon: que,children: e.date ? `${e.source === "JavDB 评论" ? "评论" : "收录"} ${e.date}` : "日期未知"}),- e.attributes.map((e) => /* @__PURE__ */ (0, x.jsx)(ZL, {- icon: uO,+ e.attributes.map((e) => /* @__PURE__ */ (0, x.jsx)(XL, {+ icon: lO,children: e}, e))]@@ -51859,11 +51879,11 @@ function Swe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}), /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex shrink-0 flex-wrap gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(BO, {+ /* @__PURE__ */ (0, x.jsx)(zO, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: sO,+ trailingIcon: oO,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -51872,7 +51892,7 @@ function Swe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour/* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",size: "small",- leadingIcon: $ue,+ leadingIcon: ede,...K(d.busy === `copy:${e.id}`),onClick: () => v(e),children: "复制链接"@@ -51880,7 +51900,7 @@ function Swe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSoure.protocol === "magnet" ? /* @__PURE__ */ (0, x.jsx)(W, {variant: "primary",size: "small",- leadingIcon: Yue,+ leadingIcon: Xue,disabled: t || !n?.available || !g || r,...K(d.busy === e.id),onClick: () => _(e),@@ -51893,7 +51913,7 @@ function Swe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourreturn /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, x.jsx)(sk, {+ }), e.length > 3 ? /* @__PURE__ */ (0, x.jsx)(ok, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, x.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -51906,41 +51926,41 @@ function Swe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}//#endregion//#region src/react/wants/wants.ts-var QL = "/api/wants", $L = ["wants"], Cwe = (e) => [+var ZL = "/api/wants", QL = ["wants"], Twe = (e) => ["wants","follow",e-], wwe = [+], Ewe = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], Twe = (e) => nn(QL, e), Ewe = (e, t) => nn(`${QL}?follow=${encodeURIComponent(e)}`, t), eR = (e, t) => B(QL, {+], Dwe = (e) => nn(ZL, e), Owe = (e, t) => nn(`${ZL}?follow=${encodeURIComponent(e)}`, t), $L = (e, t) => B(ZL, {action: "add",...e-}, "POST", t), tR = (e, t) => B(QL, {+}, "POST", t), eR = (e, t) => B(ZL, {action: "remove",ids: e-}, "POST", t), Dwe = (e, t) => B(QL, {+}, "POST", t), kwe = (e, t) => B(ZL, {action: "reset",ids: e-}, "POST", t), nR = () => V.invalidateQueries({ queryKey: $L }), rR = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function Owe(e) {+}, "POST", t), tR = () => V.invalidateQueries({ queryKey: QL }), nR = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function Awe(e) {return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";}//#endregion//#region src/react/wants/want-list.tsx-var kwe = {+var jwe = {code: "手动添加",feed: "Feed 新作",follow: "关注"-}, iR = (e) => [+}, rR = (e) => [e.release_date,e.studio,e.performers,- kwe[e.origin]+ jwe[e.origin]].filter(Boolean).join(" · ");-function Awe({ want: e }) {+function Mwe({ want: e }) {return /* @__PURE__ */ (0, x.jsxs)("span", {className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",children: [/* @__PURE__ */ (0, x.jsx)("span", {@@ -51956,39 +51976,39 @@ function Awe({ want: e }) {}) : null]});}-function jwe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {+function Nwe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {let [l, u] = (0, b.useState)(""), d = e.link || l || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");return /* @__PURE__ */ (0, x.jsxs)("li", {"data-want-id": e.id,- className: VO({+ className: BO({bordered: "soft",className: "flex flex-col gap-4 max-sm:p-4"}),children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 items-start gap-4 max-sm:gap-3",- children: [/* @__PURE__ */ (0, x.jsx)(Awe, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {+ children: [/* @__PURE__ */ (0, x.jsx)(Mwe, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-1",children: [/* @__PURE__ */ (0, x.jsxs)("p", {className: "flex min-w-0 flex-wrap items-baseline gap-x-2",children: [/* @__PURE__ */ (0, x.jsx)("b", {className: "min-w-0 text-headline-medium wrap-anywhere text-text-primary",- children: rR(e)+ children: nR(e)}), e.code && e.title ? /* @__PURE__ */ (0, x.jsx)("span", {className: "min-w-0 truncate text-body-2-regular text-text-secondary",children: e.title}) : null]}),- iR(e) ? /* @__PURE__ */ (0, x.jsx)("p", {+ rR(e) ? /* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: iR(e)+ children: rR(e)}) : null,!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, x.jsx)("p", {"data-want-note": "",className: "text-caption-1-regular text-text-secondary",- children: Owe(e)+ children: Awe(e)}) : null,- e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(HI, {+ e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(VI, {text: e.scrape_error,prefix: "资料未取得:",tone: "muted"@@ -51996,11 +52016,11 @@ function jwe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo/* @__PURE__ */ (0, x.jsxs)("div", {className: "mt-1 flex flex-wrap items-center gap-2",children: [- d ? /* @__PURE__ */ (0, x.jsx)(BO, {+ d ? /* @__PURE__ */ (0, x.jsx)(zO, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: sO,+ trailingIcon: oO,href: d,target: "_blank",rel: "noopener noreferrer",@@ -52024,7 +52044,7 @@ function jwe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo/* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",size: "small",- leadingIcon: oO,+ leadingIcon: aO,disabled: t,...K(n === `remove:${e.id}`),onClick: i,@@ -52034,7 +52054,7 @@ function jwe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo})]})]- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(Swe, {+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(wwe, {want: e,readOnly: t,downloads: o,@@ -52044,7 +52064,7 @@ function jwe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo}) : null]});}-function Mwe({ phase: e, label: t, rows: n, row: r }) {+function Pwe({ phase: e, label: t, rows: n, row: r }) {let [i, a] = (0, b.useState)(1), o = nr(n.length, 20, i);return /* @__PURE__ */ (0, x.jsxs)("section", {"aria-label": t,@@ -52068,7 +52088,7 @@ function Mwe({ phase: e, label: t, rows: n, row: r }) {children: [/* @__PURE__ */ (0, x.jsx)("span", {className: "text-body-2-regular tabular-nums text-text-secondary",children: `${(o.start + 1).toLocaleString()}–${o.end.toLocaleString()} / ${o.total.toLocaleString()} 条`- }), /* @__PURE__ */ (0, x.jsx)(HL, {+ }), /* @__PURE__ */ (0, x.jsx)(VL, {label: `${t}分页`,page: o.page,pages: o.pages,@@ -52078,36 +52098,36 @@ function Mwe({ phase: e, label: t, rows: n, row: r }) {]});}-function Nwe({ readOnly: e, toast: t }) {- let [n, r] = (0, b.useState)(""), [i, a] = (0, b.useState)(null), [o, s] = (0, b.useState)(""), c = qO(), l = dt({- queryKey: $L,- queryFn: ({ signal: e }) => Twe(e),+function Fwe({ readOnly: e, toast: t }) {+ let [n, r] = (0, b.useState)(""), [i, a] = (0, b.useState)(null), [o, s] = (0, b.useState)(""), c = KO(), l = dt({+ queryKey: QL,+ queryFn: ({ signal: e }) => Dwe(e),refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1}), u = () => {let i = n.trim();- i && !e && c.run("add", (e) => eR({ code: i }, e), (e) => {- t(e.created ? `已加入想要:${rR(e.want)}` : `${rR(e.want)} 已经在想要里`), r(""), nR();+ i && !e && c.run("add", (e) => $L({ code: i }, e), (e) => {+ t(e.created ? `已加入想要:${nR(e.want)}` : `${nR(e.want)} 已经在想要里`), r(""), tR();});}, d = (e) => {e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), u());}, f = (e) => {- c.run(`remove:${e.id}`, (t) => tR([e.id], t), () => {- t(`已移除:${rR(e)}`), nR();+ c.run(`remove:${e.id}`, (t) => eR([e.id], t), () => {+ t(`已移除:${nR(e)}`), tR();});}, p = (e) => {- c.run(`reset:${e.id}`, (t) => Dwe([e.id], t), () => {- t(`${rR(e)} 回到待找`), nR();+ c.run(`reset:${e.id}`, (t) => kwe([e.id], t), () => {+ t(`${nR(e)} 回到待找`), tR();});}, m = l.data, h = m?.items || [], g = dt({- queryKey: gk,- queryFn: ({ signal: e }) => nn(`${hk}?limit=100`, e),+ queryKey: hk,+ queryFn: ({ signal: e }) => nn(`${mk}?limit=100`, e),enabled: h.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))}), _ = g.data?.providers.filter((e) => e.configured) || [], v = _.find((e) => e.key === o)?.key || _[0]?.key || "";return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-8",children: [/* @__PURE__ */ (0, x.jsxs)("div", {- className: VO({+ className: BO({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -52120,7 +52140,7 @@ function Nwe({ readOnly: e, toast: t }) {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-64 grow max-sm:min-w-0",- children: /* @__PURE__ */ (0, x.jsx)(PP, {+ children: /* @__PURE__ */ (0, x.jsx)(NP, {"aria-label": "番号",placeholder: "输入番号,例如 SSIS-950",value: n,@@ -52136,7 +52156,7 @@ function Nwe({ readOnly: e, toast: t }) {children: "添加"})]}),- /* @__PURE__ */ (0, x.jsx)(tk, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),+ /* @__PURE__ */ (0, x.jsx)(ek, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),c.error ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",title: "这一次没有完成",@@ -52149,7 +52169,7 @@ function Nwe({ readOnly: e, toast: t }) {title: "想要清单读取失败",children: z(l.error)}) : null,- m?.scraping ? /* @__PURE__ */ (0, x.jsx)(tk, {+ m?.scraping ? /* @__PURE__ */ (0, x.jsx)(ek, {role: "status",children: "正在给刚加入的番号取资料与封面。"}) : null,@@ -52162,11 +52182,11 @@ function Nwe({ readOnly: e, toast: t }) {}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(gP, {+ children: [/* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": "下载到",selectedKey: v,onSelectionChange: (e) => s(String(e)),- children: _.map((e) => /* @__PURE__ */ (0, x.jsx)(_P, {+ children: _.map((e) => /* @__PURE__ */ (0, x.jsx)(gP, {id: e.key,children: e.label}, e.key))@@ -52177,7 +52197,7 @@ function Nwe({ readOnly: e, toast: t }) {children: "提交磁力"})]}),- /* @__PURE__ */ (0, x.jsx)(tk, { children: _.find((e) => e.key === v)?.target || "使用已配置的目标目录" })+ /* @__PURE__ */ (0, x.jsx)(ek, { children: _.find((e) => e.key === v)?.target || "使用已配置的目标目录" })]}) : null,g.error ? /* @__PURE__ */ (0, x.jsx)(G, {@@ -52193,19 +52213,19 @@ function Nwe({ readOnly: e, toast: t }) {tone: "neutral",children: "云下载只在账本写入端可用。"}) : null,- m && !h.length ? /* @__PURE__ */ (0, x.jsx)(HO, {+ m && !h.length ? /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: pde,+ icon: mde,title: "还没有想要的作品",children: "在上面输入番号,或在 Feed 新作卡、关注详情上点「想要」。"}) : null,- wwe.map(([n, r]) => {+ Ewe.map(([n, r]) => {let i = h.filter((e) => e.phase === n);- return i.length ? /* @__PURE__ */ (0, x.jsx)(Mwe, {+ return i.length ? /* @__PURE__ */ (0, x.jsx)(Pwe, {phase: n,label: r,rows: i,- row: (n) => /* @__PURE__ */ (0, x.jsx)(jwe, {+ row: (n) => /* @__PURE__ */ (0, x.jsx)(Nwe, {want: n,readOnly: e,busy: c.busy,@@ -52222,7 +52242,7 @@ function Nwe({ readOnly: e, toast: t }) {}, n.id)}, n) : null;}),- /* @__PURE__ */ (0, x.jsx)(KL, {+ /* @__PURE__ */ (0, x.jsx)(GL, {prefill: i,close: () => a(null),receipt: t,@@ -52233,16 +52253,16 @@ function Nwe({ readOnly: e, toast: t }) {}//#endregion//#region src/react/follow-manage/follow-manage-page.tsx-var aR = [+var iR = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"],["wants", "JAV 入库"],["source", "来源和凭证"]-], oR = (e) => aR.some(([t]) => t === e);-function sR({ term: e, figure: t, unit: n }) {+], aR = (e) => iR.some(([t]) => t === e);+function oR({ term: e, figure: t, unit: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- className: VO({+ className: BO({padding: "none",className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"}),@@ -52262,8 +52282,8 @@ function sR({ term: e, figure: t, unit: n }) {})]});}-function Pwe(e) {- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, b.useState)(oR(e.tab) ? e.tab : "list"), [u, d] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, b.useState)(() => cn(e.sort, e.dir).sort), [m, h] = (0, b.useState)(() => cn(e.sort, e.dir).dir), [g, _] = (0, b.useState)(Vn(e.layout) ? e.layout : "default"), [v, y] = (0, b.useState)(Hn(e.pageSize)), [S, C] = (0, b.useState)(/* @__PURE__ */ new Set()), w = dt({+function Iwe(e) {+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, b.useState)(aR(e.tab) ? e.tab : "list"), [u, d] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, b.useState)(() => cn(e.sort, e.dir).sort), [m, h] = (0, b.useState)(() => cn(e.sort, e.dir).dir), [g, _] = (0, b.useState)(Vn(e.layout) ? e.layout : "default"), [v, y] = (0, b.useState)(Hn(e.pageSize)), [S, C] = (0, b.useState)(/* @__PURE__ */ new Set()), w = dt({queryKey: jn,queryFn: ({ signal: e }) => or(e)}), T = dt({@@ -52291,7 +52311,7 @@ function Pwe(e) {dir: r === on[n] ? "" : r});}, j = tr(k), M = k.filter(Kn).length, N = k.filter((e) => e.enabled).length, P = (O.providers || []).filter((e) => e.requirement === "required" && !Lr(e)).length, ee = new Set((E.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;- return /* @__PURE__ */ (0, x.jsxs)(WO, { children: [+ return /* @__PURE__ */ (0, x.jsxs)(UO, { children: [a ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "warning",title: "本机只能浏览",@@ -52306,64 +52326,64 @@ function Pwe(e) {children: o}) : null,/* @__PURE__ */ (0, x.jsxs)("div", {- className: Wve,+ className: Kve,"aria-label": "关注概览",children: [- /* @__PURE__ */ (0, x.jsx)(sR, {+ /* @__PURE__ */ (0, x.jsx)(oR, {term: "关注创作者",figure: j.length,unit: "位"}),- /* @__PURE__ */ (0, x.jsx)(sR, {+ /* @__PURE__ */ (0, x.jsx)(oR, {term: "启用来源",figure: N,unit: `/ ${k.length}`}),- /* @__PURE__ */ (0, x.jsx)(sR, {+ /* @__PURE__ */ (0, x.jsx)(oR, {term: "检查失败",figure: M,unit: "个来源"}),- /* @__PURE__ */ (0, x.jsx)(sR, {+ /* @__PURE__ */ (0, x.jsx)(oR, {term: "未看更新",figure: D.counts?.new || 0,unit: "条"}),- /* @__PURE__ */ (0, x.jsx)(sR, {+ /* @__PURE__ */ (0, x.jsx)(oR, {term: "JAV 订阅",figure: ee,unit: "位"}),- /* @__PURE__ */ (0, x.jsx)(sR, {+ /* @__PURE__ */ (0, x.jsx)(oR, {term: "未看新作",figure: E.data?.unread || 0,unit: "条"})]}),- /* @__PURE__ */ (0, x.jsxs)(sj, {+ /* @__PURE__ */ (0, x.jsxs)(oj, {selectedKey: c,onSelectionChange: (e) => {let t = String(e);- oR(t) && (l(t), A({ tab: t }));+ aR(t) && (l(t), A({ tab: t }));},className: "flex flex-col gap-6",children: [- /* @__PURE__ */ (0, x.jsx)(cj, {+ /* @__PURE__ */ (0, x.jsx)(sj, {"aria-label": "关注管理区域","data-section-nav": !0,"data-section-items": !0,className: "flex max-w-full flex-nowrap overflow-x-auto",- children: aR.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(lj, {+ children: iR.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(cj, {id: e,className: "cursor-pointer whitespace-nowrap",children: e === "source" && P ? `${t}(${P})` : t}, e))}),- /* @__PURE__ */ (0, x.jsx)(uj, {+ /* @__PURE__ */ (0, x.jsx)(lj, {id: "list",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, x.jsx)(awe, {+ children: /* @__PURE__ */ (0, x.jsx)(swe, {data: D,sort: f,dir: m,@@ -52393,10 +52413,10 @@ function Pwe(e) {}})}),- /* @__PURE__ */ (0, x.jsxs)(uj, {+ /* @__PURE__ */ (0, x.jsxs)(lj, {id: "add",className: "flex flex-col gap-8",- children: [/* @__PURE__ */ (0, x.jsx)(tCe, {+ children: [/* @__PURE__ */ (0, x.jsx)(rCe, {data: D,credentials: O,readOnly: a,@@ -52404,7 +52424,7 @@ function Pwe(e) {openCredentials: () => {l("source"), A({ tab: "source" });}- }), /* @__PURE__ */ (0, x.jsx)(iCe, {+ }), /* @__PURE__ */ (0, x.jsx)(oCe, {groups: D.author_aliases || [],readOnly: a,toast: r,@@ -52412,26 +52432,26 @@ function Pwe(e) {sources: D.sources})]}),- /* @__PURE__ */ (0, x.jsx)(uj, {+ /* @__PURE__ */ (0, x.jsx)(lj, {id: "feeds",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, x.jsx)(pwe, {+ children: /* @__PURE__ */ (0, x.jsx)(hwe, {readOnly: a,toast: r})}),- /* @__PURE__ */ (0, x.jsx)(uj, {+ /* @__PURE__ */ (0, x.jsx)(lj, {id: "wants",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, x.jsx)(Nwe, {+ children: /* @__PURE__ */ (0, x.jsx)(Fwe, {readOnly: a,toast: r})}),- /* @__PURE__ */ (0, x.jsx)(uj, {+ /* @__PURE__ */ (0, x.jsx)(lj, {id: "source",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, x.jsx)(pCe, {+ children: /* @__PURE__ */ (0, x.jsx)(hCe, {data: O,readOnly: a,toast: r@@ -52443,15 +52463,15 @@ function Pwe(e) {}//#endregion//#region src/react/components/board-tabs.tsx-function cR({ value: e }) {+function sR({ value: e }) {return /* @__PURE__ */ (0, x.jsx)("span", {"data-tab-count": "",className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",children: e.toLocaleString()});}-var Fwe = "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 lR({ tabs: e, value: t, label: n, onChange: r }) {+var Lwe = "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 cR({ tabs: e, value: t, label: n, onChange: r }) {let i = (0, b.useRef)(null), a = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {let e = i.current;@@ -52482,14 +52502,14 @@ function lR({ 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 ? yj(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? vj(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",role: "tab","data-tab": e.value,"aria-selected": i,tabIndex: i ? 0 : -1,- className: Fwe,+ className: Lwe,onClick: () => {i || r(e.value);},@@ -52505,24 +52525,24 @@ function lR({ tabs: e, value: t, label: n, onChange: r }) {}//#endregion//#region src/react/index/index-tags.tsx-var uR = () => /* @__PURE__ */ (0, x.jsx)("span", {+var lR = () => /* @__PURE__ */ (0, x.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"});-function Iwe({ tag: e, actions: t }) {+function Rwe({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, x.jsxs)("button", {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": _F(t.online, e.cat),+ "data-tag-cat": gF(t.online, e.cat),"aria-pressed": n,title: e.label,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, x.jsx)(uR, {}),+ /* @__PURE__ */ (0, x.jsx)(lR, {}),/* @__PURE__ */ (0, x.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -52534,23 +52554,23 @@ function Iwe({ tag: e, actions: t }) {]});}-function Lwe({ groups: e, actions: t }) {+function zwe({ groups: e, actions: t }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, x.jsxs)("section", {"data-alpha-group": r,- className: VO({+ className: BO({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, x.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, x.jsx)(cR, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, x.jsx)(sR, { value: n.length })]}), /* @__PURE__ */ (0, x.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(Iwe, {+ children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(Rwe, {tag: e,actions: t}, e.k))@@ -52558,8 +52578,8 @@ function Lwe({ groups: e, actions: t }) {}, e))});}-var Rwe = "\xA0";-function zwe({ tags: e, actions: t }) {+var Bwe = "\xA0";+function Vwe({ tags: e, actions: t }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",@@ -52567,11 +52587,11 @@ function zwe({ tags: e, actions: t }) {type: "button","data-tag-chip": "","data-k": e.k,- "data-tag-cat": _F(t.online, e.cat),+ "data-tag-cat": gF(t.online, e.cat),"aria-pressed": t.picked.has(e.k),onClick: () => t.press(e.k),className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: [e.label + Rwe, /* @__PURE__ */ (0, x.jsx)("span", {+ children: [e.label + Bwe, /* @__PURE__ */ (0, x.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",children: e.n.toLocaleString()@@ -52579,7 +52599,7 @@ function zwe({ tags: e, actions: t }) {}, e.k))});}-var Bwe = [[+var Hwe = [["cloud","标签云","tags"@@ -52588,16 +52608,16 @@ var Bwe = [["字母表","text-aa"]];-function Vwe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {- return /* @__PURE__ */ (0, x.jsx)(xk, {+function Uwe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {+ return /* @__PURE__ */ (0, x.jsx)(bk, {label: "标签筛选",topLabel: "标签类型",- top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(Sk, {+ top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(xk, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : _F(n, e),+ "data-tag-cat": e === "all" ? "all" : gF(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, x.jsx)(uR, {}), r]+ children: [/* @__PURE__ */ (0, x.jsx)(lR, {}), r]}, e)),bottom: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {@@ -52616,19 +52636,19 @@ function Vwe({ categories: e, category: t, online: n, readout: r, letters: i, vichildren: e}, e))}) : null,- /* @__PURE__ */ (0, x.jsx)(MA, {+ /* @__PURE__ */ (0, x.jsx)(jA, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${gj}`,- children: Bwe.map(([e, t, n]) => {- let r = yj(n);- return /* @__PURE__ */ (0, x.jsx)(NA, {+ className: `ml-auto ${hj}`,+ children: Hwe.map(([e, t, n]) => {+ let r = vj(n);+ return /* @__PURE__ */ (0, x.jsx)(MA, {value: e,"aria-label": t,"data-glass-segment": "",- className: _j,+ className: gj,children: /* @__PURE__ */ (0, x.jsx)("span", {title: t,className: "contents",@@ -52640,13 +52660,13 @@ function Vwe({ categories: e, category: t, online: n, readout: r, letters: i, vi] })});}-function Hwe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+function Wwe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {return /* @__PURE__ */ (0, x.jsxs)(Dw, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, x.jsx)(CP, {+ /* @__PURE__ */ (0, x.jsx)(SP, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, x.jsxs)("span", {@@ -52678,7 +52698,7 @@ function Hwe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {}//#endregion//#region src/react/index/index-page.tsx-var Uwe = [{+var Gwe = [{value: "studios",label: "厂牌",symbol: "clapperboard"@@ -52686,7 +52706,7 @@ var Uwe = [{value: "agencies",label: "事务所",symbol: "briefcase"-}], Wwe = [{+}], Kwe = [{value: "local",label: "本地",symbol: "hard-drive"@@ -52694,7 +52714,7 @@ var Uwe = [{value: "online",label: "在线",symbol: "rss"-}], Gwe = [+}], qwe = [{value: "performers",label: "艺人",@@ -52710,7 +52730,7 @@ var Uwe = [{label: "在线",symbol: "rss"}-], Kwe = {+], Jwe = {people: [["big","大图 · 竖幅头像",@@ -52730,20 +52750,20 @@ var Uwe = [{"layout-grid"]]};-function qwe({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, x.jsx)(pj, {- "aria-label": `${oF[e]}索引版式`,+function Ywe({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, x.jsx)(fj, {+ "aria-label": `${aF[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none max-board-narrow:order-3 ${mj}`,- children: Kwe[dF(e) ? "company" : "people"].map(([e, t, n]) => {- let r = yj(n);- return /* @__PURE__ */ (0, x.jsx)(NA, {+ className: `flex-none max-board-narrow:order-3 ${pj}`,+ children: Jwe[uF(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = vj(n);+ return /* @__PURE__ */ (0, x.jsx)(MA, {value: e,"aria-label": t,- className: vge,+ className: bge,children: /* @__PURE__ */ (0, x.jsx)("span", {title: t,className: "contents",@@ -52753,8 +52773,8 @@ function qwe({ kind: e, layout: t, onChange: n }) {})});}-var Jwe = yj("search");-function Ywe({ label: e, value: t, onQuery: n }) {+var Xwe = vj("search");+function Zwe({ label: e, value: t, onQuery: n }) {let [r, i] = (0, b.useState)(t), a = (0, b.useRef)(!1), o = (0, b.useRef)(void 0);(0, b.useEffect)(() => () => clearTimeout(o.current), []);let s = (e) => {@@ -52769,16 +52789,16 @@ function Ywe({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, x.jsx)(jP, {+ children: /* @__PURE__ */ (0, x.jsx)(AP, {"aria-label": e,value: r,enterKeyHint: "search",onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, x.jsx)(NP, {+ children: /* @__PURE__ */ (0, x.jsx)(MP, {type: "search",- leadingIcon: Jwe,+ leadingIcon: Xwe,spellCheck: !1,autoComplete: "off",onKeyDown: (e) => {@@ -52788,14 +52808,14 @@ function Ywe({ label: e, value: t, onQuery: n }) {})});}-function Xwe(e) {- let [t, n] = (0, b.useState)(() => fF({+function Qwe(e) {+ let [t, n] = (0, b.useState)(() => dF({kind: e.kind,q: e.q,scope: e.scope,view: e.view,category: e.category- })), [r, i] = (0, b.useState)(e.layout), [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)("any"), l = (0, b.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = oF[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";+ })), [r, i] = (0, b.useState)(e.layout), [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)("any"), l = (0, b.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = aF[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";(0, b.useEffect)(() => {if (t.kind === e.kind && t.scope === e.scope && t.category === e.category) return;let n = !0;@@ -52813,7 +52833,7 @@ function Xwe(e) {...r};y(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });- }, C = gF(pF(t)), w = pt({+ }, C = hF(fF(t)), w = pt({queryKey: C.queryKey,queryFn: ({ pageParam: e, signal: t }) => C.queryFn({pageParam: e,@@ -52822,7 +52842,7 @@ function Xwe(e) {initialPageParam: 0,getNextPageParam: C.getNextPageParam,placeholderData: v ? de : void 0- }), T = Fbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = Ibe(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;+ }), T = Lbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = Rbe(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;A && !w.isPlaceholderData && (k.current = {key: O,counts: A@@ -52834,14 +52854,14 @@ function Xwe(e) {let P = (0, b.useMemo)(() => u === "tags" ? T.map((t) => ({...t,label: e.tagLabel(t.k)- })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? zbe(P, (t) => e.tagLabel(t)) : [], [+ })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? Vbe(P, (t) => e.tagLabel(t)) : [], [P,p,u]), F = (t) => {i(t), e.savePreference({ layout: t });- }, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(lR, {- tabs: Wwe,+ }, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(cR, {+ tabs: Kwe,value: f,label: "词表",onChange: (e) => {@@ -52851,8 +52871,8 @@ function Xwe(e) {view: e === "online" ? "alphabet" : p});}- }) : dF(u) ? /* @__PURE__ */ (0, x.jsx)(lR, {- tabs: Uwe,+ }) : uF(u) ? /* @__PURE__ */ (0, x.jsx)(cR, {+ tabs: Gwe,value: u,label: "公司类型",onChange: (e) => S({ kind: e })@@ -52861,7 +52881,7 @@ function Xwe(e) {let n = new Set(e);return n.delete(t) || n.add(t), n;}) : e.showTags([t], "all");- }, re = (g ? cF : sF).filter(N);+ }, re = (g ? sF : oF).filter(N);return /* @__PURE__ */ (0, x.jsxs)("div", {ref: l,"data-index-page": u,@@ -52876,12 +52896,12 @@ function Xwe(e) {className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",children: h}),- uF(u) ? /* @__PURE__ */ (0, x.jsx)("span", {+ lF(u) ? /* @__PURE__ */ (0, x.jsx)("span", {"data-index-count": "",className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",children: w.isPending || w.isError ? "" : D}) : null,- uF(u) ? /* @__PURE__ */ (0, x.jsx)(qwe, {+ lF(u) ? /* @__PURE__ */ (0, x.jsx)(Ywe, {kind: u,layout: r,onChange: F@@ -52890,7 +52910,7 @@ function Xwe(e) {"aria-hidden": !0,className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"}),- /* @__PURE__ */ (0, x.jsx)(Ywe, {+ /* @__PURE__ */ (0, x.jsx)(Zwe, {label: `过滤${h}`,value: d,onQuery: (e) => {@@ -52899,8 +52919,8 @@ function Xwe(e) {})]}),- u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(lR, {- tabs: Gwe,+ u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(cR, {+ tabs: qwe,value: _ ? "online" : u,label: "人物名册",onChange: (t) => {@@ -52914,8 +52934,8 @@ function Xwe(e) {te,u === "performers" && f === "local" ? /* @__PURE__ */ (0, x.jsx)("div", {"aria-label": "身份分类",- className: aF,- children: iF.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(W, {+ className: iF,+ children: rF.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(W, {variant: m === e ? "primary" : "secondary",size: "small","aria-pressed": m === e,@@ -52923,7 +52943,7 @@ function Xwe(e) {children: t}, e))}) : null,- u === "tags" ? /* @__PURE__ */ (0, x.jsx)(Vwe, {+ u === "tags" ? /* @__PURE__ */ (0, x.jsx)(Uwe, {categories: re,category: m,online: g,@@ -52948,8 +52968,8 @@ function Xwe(e) {mode: p}) }});- if (w.isError) return /* @__PURE__ */ (0, x.jsx)(HO, {- icon: yj("alert"),+ if (w.isError) return /* @__PURE__ */ (0, x.jsx)(VO, {+ icon: vj("alert"),title: `没能读取${h}`,actions: /* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",@@ -52958,18 +52978,18 @@ function Xwe(e) {}),children: _t(w.error)});- if (!T.length) return /* @__PURE__ */ (0, x.jsx)(Qwe, {+ if (!T.length) return /* @__PURE__ */ (0, x.jsx)(eTe, {kind: u,filtered: !!d || m !== "all",online: g || _,configurable: e.configurable});- if (_) return /* @__PURE__ */ (0, x.jsx)(Vbe, {+ if (_) return /* @__PURE__ */ (0, x.jsx)(Ube, {items: T,layout: r,props: e});- if (uF(u)) return /* @__PURE__ */ (0, x.jsx)(bF, {+ if (lF(u)) return /* @__PURE__ */ (0, x.jsx)(yF, {kind: u,items: T,layout: r,@@ -52980,10 +53000,10 @@ function Xwe(e) {picked: a,press: ne};- return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(Lwe, {+ return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(zwe, {groups: ee,actions: t- }) : /* @__PURE__ */ (0, x.jsx)(zwe, {+ }) : /* @__PURE__ */ (0, x.jsx)(Vwe, {tags: P,actions: t});@@ -52998,13 +53018,13 @@ function Xwe(e) {disabled: w.isFetchingNextPage,"aria-busy": w.isFetchingNextPage || void 0,onClick: () => void w.fetchNextPage(),- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(UO, {+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(HO, {inline: !0,label: "继续载入中…"}) : "载入更多"})}) : null,- u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(Hwe, {+ u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(Wwe, {count: a.size,match: s,onMatch: c,@@ -53017,31 +53037,31 @@ function Xwe(e) {]});}-var Zwe = {+var $we = {tags: "标签",performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所"};-function Qwe({ kind: e, filtered: t, online: n, configurable: r }) {- if (t) return /* @__PURE__ */ (0, x.jsx)(HO, {- icon: yj("search"),+function eTe({ kind: e, filtered: t, online: n, configurable: r }) {+ if (t) return /* @__PURE__ */ (0, x.jsx)(VO, {+ icon: vj("search"),title: "没有符合条件的内容",- actions: /* @__PURE__ */ (0, x.jsx)(BO, {+ actions: /* @__PURE__ */ (0, x.jsx)(zO, {variant: "primary",href: "/?loc=&thumb=0",children: "查看全部内容"}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : Zwe[e], a = /* @__PURE__ */ (0, x.jsx)(BO, {+ let i = n && e === "performers" ? "创作者" : $we[e], a = /* @__PURE__ */ (0, x.jsx)(zO, {variant: !r || n ? "primary" : "secondary",href: "/follow-manage?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, x.jsx)(HO, {- icon: yj(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, x.jsx)(VO, {+ icon: vj(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,actions: n ? a : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [r ? /* @__PURE__ */ (0, x.jsx)(W, {variant: "primary",@@ -53051,15 +53071,15 @@ function Qwe({ kind: e, filtered: t, online: n, configurable: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var dR = {+var uR = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, $we = (e) => dR[e.junk_kind || "other"] || dR.other;-function eTe(e) {+}, tTe = (e) => uR[e.junk_kind || "other"] || uR.other;+function nTe(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -53070,21 +53090,21 @@ function eTe(e) {glyph: "check"};}-var fR = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), tTe = (e, t) => [+var dR = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), rTe = (e, t) => ["junk-queue",e.view,e.kind,t];-function nTe({ kind: e, view: t }) {+function iTe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function rTe(e, t) {- let n = await nn(`/api/ads?${nTe(e)}`, t);+async function aTe(e, t) {+ let n = await nn(`/api/ads?${iTe(e)}`, t);return {...n,items: n.items || []@@ -53092,19 +53112,19 @@ async function rTe(e, t) {}//#endregion//#region src/react/junk-queue/junk-card.tsx-function pR({ name: e }) {+function fR({ name: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })});}-var mR = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function iTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = e.junk_kind || "other", [f, p] = $we(e), m = String(e.name || ""), h = eTe(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]") || mR(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var pR = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function oTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = e.junk_kind || "other", [f, p] = tTe(e), m = String(e.name || ""), h = nTe(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]") || pR(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), mR(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), pR(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);}, S = (t) => {t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));}, C = (t) => (n) => {@@ -53135,7 +53155,7 @@ function iTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: Xj,+ onMouseDown: Yj,children: [/* @__PURE__ */ (0, x.jsxs)("div", {"data-media-pic": "",@@ -53143,7 +53163,7 @@ function iTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, x.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, x.jsx)(pR, { name: p }), /* @__PURE__ */ (0, x.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, x.jsx)(fR, { name: p }), /* @__PURE__ */ (0, x.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, x.jsx)("span", {"data-media-art": "thumb",@@ -53155,7 +53175,7 @@ function iTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, x.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, x.jsx)(pR, { name: "check" })+ children: /* @__PURE__ */ (0, x.jsx)(fR, { name: "check" })})]}),@@ -53192,7 +53212,7 @@ function iTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [s === "reveal" ? /* @__PURE__ */ (0, x.jsx)("span", {"data-junk-spinner": "",dangerouslySetInnerHTML: { __html: Ja("正在定位") }- }) : /* @__PURE__ */ (0, x.jsx)(pR, { name: "folder-open" }), /* @__PURE__ */ (0, x.jsx)("span", {+ }) : /* @__PURE__ */ (0, x.jsx)(fR, { name: "folder-open" }), /* @__PURE__ */ (0, x.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -53204,7 +53224,7 @@ function iTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": h.label,...w(h.operation),onClick: C(h.operation),- children: [/* @__PURE__ */ (0, x.jsx)(pR, { name: h.glyph }), /* @__PURE__ */ (0, x.jsx)("span", {+ children: [/* @__PURE__ */ (0, x.jsx)(fR, { name: h.glyph }), /* @__PURE__ */ (0, x.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -53216,7 +53236,7 @@ function iTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...w("dispose"),onClick: C("dispose"),- children: [/* @__PURE__ */ (0, x.jsx)(pR, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("span", {+ children: [/* @__PURE__ */ (0, x.jsx)(fR, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -53231,7 +53251,7 @@ function iTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var aTe = (0, b.memo)(iTe), hR = [+var sTe = (0, b.memo)(oTe), mR = [["","全部",@@ -53267,65 +53287,65 @@ var aTe = (0, b.memo)(iTe), hR = ["其它","hard-drive"]-], oTe = (e) => hR.find(([t]) => t === e)?.[0] ?? "";-function gR(e) {+], cTe = (e) => mR.find(([t]) => t === e)?.[0] ?? "";+function hR(e) {let t = new URLSearchParams(e);return {- kind: oTe(t.get("type")),+ kind: cTe(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function _R(e = "", t = "pending") {+function gR(e = "", t = "pending") {let n = new URLSearchParams();e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");let r = n.toString();return `/junk-files${r ? `?${r}` : ""}`;}-function vR(e) {+function _R(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: _R("", "pending")+ href: gR("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: _R("", "dismissed")+ href: gR("", "dismissed")};}-var yR = (e) => e === "dismissed" ? "已排除" : "待判断", bR = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function sTe({ kind: e, view: t }) {- let n = hR.map(([n, r, i]) => `<a href="${_R(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${bR(i)}${R(r)}</a>`).join(""), r = vR(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${JN(yR(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${bR(r.glyph)}${r.label}</a></nav></div></div></div>`;+var vR = (e) => e === "dismissed" ? "已排除" : "待判断", yR = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function lTe({ kind: e, view: t }) {+ let n = mR.map(([n, r, i]) => `<a href="${gR(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${yR(i)}${R(r)}</a>`).join(""), r = _R(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${qN(vR(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${yR(r.glyph)}${r.label}</a></nav></div></div></div>`;}//#endregion//#region src/react/junk-queue/junk-count.tsx-function xR({ name: e }) {+function bR({ name: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })});}-function SR({ scope: e, count: t }) {+function xR({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function cTe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = cP(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = wk(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? hR.map(([e]) => fR(t, e)).join(",") : ""}`), l = vR(s), u = (e) => {+function uTe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = sP(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = Ck(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? mR.map(([e]) => dR(t, e)).join(",") : ""}`), l = _R(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") || _R()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || gR()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, x.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, x.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, x.jsx)(kI, {- label: yR(s),+ children: /* @__PURE__ */ (0, x.jsx)(OI, {+ label: vR(s),figure: d,pending: !t && !n,flush: !0@@ -53345,17 +53365,17 @@ function cTe({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- hR.map(([e, n, r]) => /* @__PURE__ */ (0, x.jsxs)("a", {- href: _R(e, s),+ mR.map(([e, n, r]) => /* @__PURE__ */ (0, x.jsxs)("a", {+ href: gR(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, x.jsx)(xR, { name: r }),+ /* @__PURE__ */ (0, x.jsx)(bR, { name: r }),n,- /* @__PURE__ */ (0, x.jsx)(SR, {+ /* @__PURE__ */ (0, x.jsx)(xR, {scope: e,- count: t ? fR(t, e) : 0+ count: t ? dR(t, e) : 0})]}, e || "all")),@@ -53369,9 +53389,9 @@ function cTe({ route: e, page: t, failed: n, onNavigate: r }) {"aria-current": s === "dismissed" ? "page" : void 0,onPointerEnter: s === "dismissed" ? void 0 : c.hover,children: [- /* @__PURE__ */ (0, x.jsx)(xR, { name: l.glyph }),+ /* @__PURE__ */ (0, x.jsx)(bR, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, x.jsx)(SR, {+ /* @__PURE__ */ (0, x.jsx)(xR, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -53384,33 +53404,33 @@ function cTe({ route: e, page: t, failed: n, onNavigate: r }) {}//#endregion//#region src/react/junk-queue/junk-queue-page.tsx-var lTe = yj("check"), uTe = (e, t) => e[1] === t.view && e[2] === t.kind;-function dTe(e) {+var dTe = vj("check"), fTe = (e, t) => e[1] === t.view && e[2] === t.kind;+function pTe(e) {let t = {kind: e.kind,view: e.view}, n = dt({- queryKey: tTe(t, e.revision),- queryFn: ({ signal: e }) => rTe(t, e),- placeholderData: (e, n) => n && uTe(n.queryKey, t) ? e : void 0+ queryKey: rTe(t, e.revision),+ queryFn: ({ signal: e }) => aTe(t, e),+ placeholderData: (e, n) => n && fTe(n.queryKey, t) ? e : void 0});(0, b.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = fTe(e.countRow), i = n.isPending;+ let r = mTe(e.countRow), i = n.isPending;(0, b.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, b.useLayoutEffect)(() => {r && n.data && oo(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(cTe, {+ let { navigate: a } = e.actions, o = r ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(uTe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(pTe, {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(hTe, {props: e,data: n.data,pending: i,@@ -53418,7 +53438,7 @@ function dTe(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function fTe(e) {+function mTe(e) {let [t, n] = (0, b.useState)(null);return (0, b.useLayoutEffect)(() => {if (!e) return;@@ -53428,8 +53448,8 @@ function fTe(e) {};}, [e]), t;}-function pTe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = Kj(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, b.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, b.useCallback)(() => {+function hTe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = Gj(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, b.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, b.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, x.jsxs)("div", {@@ -53437,14 +53457,14 @@ function pTe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-grid-reveal": a.fading ? "" : void 0,children: [a.layer, (() => {if (n) return null;- if (!t) return /* @__PURE__ */ (0, x.jsx)(qj, {+ if (!t) return /* @__PURE__ */ (0, x.jsx)(Kj, {message: _t(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, x.jsx)(HO, {- icon: lTe,+ return /* @__PURE__ */ (0, x.jsx)(VO, {+ icon: dTe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"});@@ -53454,7 +53474,7 @@ function pTe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-media-grid": "","data-junk-grid": "","data-select-mode": e.selectMode ? "" : void 0,- children: u.map((t) => /* @__PURE__ */ (0, x.jsx)(aTe, {+ children: u.map((t) => /* @__PURE__ */ (0, x.jsx)(sTe, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -53463,7 +53483,7 @@ function pTe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(mTe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(gTe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, x.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -53473,7 +53493,7 @@ function pTe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function mTe({ onMore: e }) {+function gTe({ onMore: e }) {let t = (0, b.useRef)(null);return (0, b.useEffect)(() => {let n = t.current;@@ -53491,12 +53511,12 @@ function mTe({ onMore: e }) {}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var CR = "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", hTe = {- gray: `${CR} border-separator-border bg-background-secondary-default text-text-secondary`,- warning: `${CR} border-current/35 bg-status-yellow-background text-status-yellow-text`,- error: `${CR} border-current/35 bg-background-tertiary-error text-text-error-primary`+var SR = "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", _Te = {+ gray: `${SR} border-separator-border bg-background-secondary-default text-text-secondary`,+ warning: `${SR} border-current/35 bg-status-yellow-background text-status-yellow-text`,+ error: `${SR} border-current/35 bg-background-tertiary-error text-text-error-primary`};-function gTe({ value: e, max: t }) {+function vTe({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, x.jsxs)("svg", {role: "progressbar",@@ -53524,16 +53544,16 @@ function gTe({ value: e, max: t }) {})]});}-function _Te(e) {- let { job: t } = pP(e), n = t.data, r = t.isError ? n ? bM : z(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";+function yTe(e) {+ let { job: t } = fP(e), n = t.data, r = t.isError ? n ? yM : z(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";if (!r && !o && !a) return null;- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : SM(n) + (c ? ` · ${fk(l, c)}` : "")), d = s === "gray" ? sde : Zue;+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : xM(n) + (c ? ` · ${dk(l, c)}` : "")), d = s === "gray" ? cde : Que;return /* @__PURE__ */ (0, x.jsxs)("aside", {role: a ? "alert" : "status",- className: hTe[s],+ className: _Te[s],children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 items-center gap-3",- children: [o && c ? /* @__PURE__ */ (0, x.jsx)(gTe, {+ children: [o && c ? /* @__PURE__ */ (0, x.jsx)(vTe, {value: l,max: c}) : /* @__PURE__ */ (0, x.jsx)(d, {@@ -53543,42 +53563,42 @@ function _Te(e) {className: "min-w-0 text-body-2-regular",children: u})]- }), /* @__PURE__ */ (0, x.jsx)(XO, {+ }), /* @__PURE__ */ (0, x.jsx)(YO, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: nO,+ trailingIcon: tO,children: r || a ? "查看并处理" : "查看进度"})]});}//#endregion//#region src/react/playlists/playlists.ts-var vTe = "/api/playlists", wR = "/api/playlist", TR = ["playlists"], ER = (e) => nn(vTe, e);-async function yTe(e) {+var bTe = "/api/playlists", CR = "/api/playlist", wR = ["playlists"], TR = (e) => nn(bTe, e);+async function xTe(e) {await V.fetchQuery({- queryKey: TR,- queryFn: () => ER(e),+ queryKey: wR,+ queryFn: () => TR(e),staleTime: 0});}-var DR = () => V.invalidateQueries({- queryKey: TR,+var ER = () => V.invalidateQueries({+ queryKey: wR,exact: !0-}), bTe = (e) => e.current_asset_id || e.preview_asset_id || null, OR = (e) => `/poster?id=${e}&c=4`, xTe = (e) => B(wR, {+}), STe = (e) => e.current_asset_id || e.preview_asset_id || null, DR = (e) => `/poster?id=${e}&c=4`, CTe = (e) => B(CR, {action: "create",name: e,asset_ids: []-}), kR = (e, t) => B(wR, {+}), OR = (e, t) => B(CR, {action: "rename",id: e,name: t-}), AR = (e) => B(wR, {+}), kR = (e) => B(CR, {action: "delete",id: e-}), STe = (e) => nn(`${wR}?id=${e}`).catch(() => null);-function CTe(e) {+}), wTe = (e) => nn(`${CR}?id=${e}`).catch(() => null);+function TTe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return B(wR, {+ return B(CR, {action: "create",name: e.name,asset_ids: t,@@ -53588,18 +53608,18 @@ function CTe(e) {}//#endregion//#region src/react/playlists/playlists-page.tsx-var wTe = yj("ellipsis"), TTe = yj("pencil"), ETe = yj("trash"), DTe = yj("playlist"), jR = FO(HN, UN, "text-body-2-medium"), MR = "播放列表名称不能为空", NR = (e) => async () => {+var ETe = vj("ellipsis"), DTe = vj("pencil"), OTe = vj("trash"), kTe = vj("playlist"), AR = PO(VN, HN, "text-body-2-medium"), jR = "播放列表名称不能为空", MR = (e) => async () => {try {await e();} finally {- DR();+ ER();}};-function OTe({ toast: e }) {+function ATe({ toast: e }) {let [t, n] = (0, b.useState)(""), [r, i] = (0, b.useState)(""), a = ft({- mutationFn: (e) => xTe(e),+ mutationFn: (e) => CTe(e),onSuccess: (t) => {- n(""), i(""), DR(), e("已新建播放列表", { undo: NR(() => AR(t.playlist.id)) });+ n(""), i(""), ER(), e("已新建播放列表", { undo: MR(() => kR(t.playlist.id)) });},onError: (e) => i(z(e) || "新建失败")});@@ -53607,12 +53627,12 @@ function OTe({ toast: e }) {"data-playlist-create": "","aria-label": "新建播放列表",onSubmit: (e) => {- e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(MR));+ e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(jR));},className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",- children: /* @__PURE__ */ (0, x.jsx)(PP, {+ children: /* @__PURE__ */ (0, x.jsx)(NP, {label: "新播放列表",placeholder: "输入名称",maxLength: 80,@@ -53631,7 +53651,7 @@ function OTe({ toast: e }) {})]});}-function kTe({ target: e, close: t, toast: n }) {+function jTe({ target: e, close: t, toast: n }) {let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(""), s = (0, b.useRef)(null);(0, b.useEffect)(() => {if (!e) return;@@ -53642,13 +53662,13 @@ function kTe({ target: e, close: t, toast: n }) {return () => cancelAnimationFrame(t);}, [e]);let c = ft({- mutationFn: ({ row: e, value: t }) => kR(e.id, t),+ mutationFn: ({ row: e, value: t }) => OR(e.id, t),onSuccess: (e, { row: r }) => {- t(), DR(), n("已重命名播放列表", { undo: NR(() => kR(r.id, r.name)) });+ t(), ER(), n("已重命名播放列表", { undo: MR(() => OR(r.id, r.name)) });},onError: (e) => o(z(e))});- return /* @__PURE__ */ (0, x.jsx)($F, {+ return /* @__PURE__ */ (0, x.jsx)(QF, {isOpen: !!e,onOpenChange: (e) => {e || t();@@ -53662,16 +53682,16 @@ function kTe({ target: e, close: t, toast: n }) {n ? c.mutate({row: e,value: n- }) : o(MR);+ }) : o(jR);},className: "flex min-h-0 flex-col",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-4 p-5",- children: [/* @__PURE__ */ (0, x.jsx)(zk, {+ children: [/* @__PURE__ */ (0, x.jsx)(Rk, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "编辑名称"- }), /* @__PURE__ */ (0, x.jsx)(PP, {+ }), /* @__PURE__ */ (0, x.jsx)(NP, {ref: s,label: "名称",placeholder: "输入名称",@@ -53699,7 +53719,7 @@ function kTe({ target: e, close: t, toast: n }) {})});}-function ATe({ name: e, onRename: t, onDelete: n }) {+function MTe({ name: e, onRename: t, onDelete: n }) {let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), o = (e) => {a(!1), e();};@@ -53713,33 +53733,33 @@ function ATe({ name: e, onRename: t, onDelete: n }) {"data-playlist-menu": "",onClick: () => a(!0),className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, x.jsx)(wTe, {+ children: /* @__PURE__ */ (0, x.jsx)(ETe, {"aria-hidden": !0,className: "size-4.5"})- }), /* @__PURE__ */ (0, x.jsx)(mA, {+ }), /* @__PURE__ */ (0, x.jsx)(pA, {triggerRef: r,isOpen: i,onOpenChange: a,placement: "bottom end",offset: 4,- className: VN,- children: /* @__PURE__ */ (0, x.jsxs)(BN, {+ className: BN,+ children: /* @__PURE__ */ (0, x.jsxs)(zN, {"aria-label": `播放列表操作:${e}`,className: "flex w-37.5 flex-col gap-0.5 outline-none",children: [/* @__PURE__ */ (0, x.jsxs)("button", {type: "button",- className: jR,+ className: AR,onClick: () => o(t),- children: [/* @__PURE__ */ (0, x.jsx)(TTe, {+ children: [/* @__PURE__ */ (0, x.jsx)(DTe, {"aria-hidden": !0,className: "size-4 shrink-0"}), "编辑名称"]}), /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",- className: jR,+ className: AR,onClick: () => o(n),- children: [/* @__PURE__ */ (0, x.jsx)(ETe, {+ children: [/* @__PURE__ */ (0, x.jsx)(OTe, {"aria-hidden": !0,className: "size-4 shrink-0"}), "删除播放列表"]@@ -53747,13 +53767,13 @@ function ATe({ name: e, onRename: t, onDelete: n }) {})})] });}-function jTe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {+function NTe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {let a = dt({- queryKey: TR,- queryFn: ({ signal: e }) => ER(e)+ queryKey: wR,+ queryFn: ({ signal: e }) => TR(e)}), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(i);(0, b.useEffect)(() => {- c.current !== i && (c.current = i, DR());+ c.current !== i && (c.current = i, ER());}, [i]);let l = a.data, u = l?.items ?? [], d = (e) => {rs({@@ -53762,8 +53782,8 @@ function jTe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: iconfirmLabel: "删除播放列表",danger: !0,onConfirm: async () => {- let t = await STe(e.id);- await AR(e.id), DR(), r("已删除播放列表", t ? { undo: NR(() => CTe(t)) } : void 0);+ let t = await wTe(e.id);+ await kR(e.id), ER(), r("已删除播放列表", t ? { undo: MR(() => TTe(t)) } : void 0);}});};@@ -53778,41 +53798,41 @@ function jTe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i}), /* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "保存 Mix,按自己的顺序继续播放。"- })] }), /* @__PURE__ */ (0, x.jsx)(OTe, { toast: r })]+ })] }), /* @__PURE__ */ (0, x.jsx)(ATe, { toast: r })]}),l ? u.length ? /* @__PURE__ */ (0, x.jsx)("div", {"data-playlist-grid": "",className: "card-grid-cover gap-4.5",children: u.map((r) => {- let i = bTe(r), a = r.name.trim() || "未命名播放列表";- return /* @__PURE__ */ (0, x.jsx)(aM, {+ let i = STe(r), a = r.name.trim() || "未命名播放列表";+ return /* @__PURE__ */ (0, x.jsx)(iM, {"data-playlist-card": String(r.id),name: a,caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",count: r.item_count,- poster: r.preview_asset_id ? OR(r.preview_asset_id) : null,- flipImages: async () => (r.preview_ids || []).map(OR),+ poster: r.preview_asset_id ? DR(r.preview_asset_id) : null,+ flipImages: async () => (r.preview_ids || []).map(DR),canFlip: n,faces: r.faces || [],onOpenEntity: t,...i ? { onOpen: () => e(r.id, i) } : {},openLabel: `打开播放列表 ${a}`,- menu: /* @__PURE__ */ (0, x.jsx)(ATe, {+ menu: /* @__PURE__ */ (0, x.jsx)(MTe, {name: a,onRename: () => s(r),onDelete: () => d(r)})}, r.id);})- }) : /* @__PURE__ */ (0, x.jsx)(HO, {- icon: DTe,+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {+ icon: kTe,title: "还没有播放列表",children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"- }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(qj, {+ }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(Kj, {message: z(a.error) || "播放列表读取失败",onRetry: () => void a.refetch()}) : null,- /* @__PURE__ */ (0, x.jsx)(kTe, {+ /* @__PURE__ */ (0, x.jsx)(jTe, {target: o,close: () => s(null),toast: r@@ -53822,11 +53842,11 @@ function jTe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i}//#endregion//#region src/react/quality-goals/quality-goals-page.tsx-function MTe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {+function PTe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {let o = () => t(e.id);return /* @__PURE__ */ (0, x.jsxs)("li", {"data-goal-id": e.id,- className: VO({+ className: BO({padding: "none",bordered: "soft",className: "flex flex-col gap-3 p-3"@@ -53842,7 +53862,7 @@ function MTe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisclassName: "text-caption-1-regular text-text-secondary",children: "暂无预览"}), /* @__PURE__ */ (0, x.jsx)("img", {- src: F_e(e),+ src: L_e(e),alt: "",loading: "lazy",onError: (e) => e.currentTarget.remove(),@@ -53900,26 +53920,26 @@ function MTe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis})]});}-function NTe({ toast: e, ...t }) {+function FTe({ toast: e, ...t }) {let [n, r] = (0, b.useState)(null), i = dt({- queryKey: AM,- queryFn: ({ signal: e }) => jM(e)+ queryKey: kM,+ queryFn: ({ signal: e }) => AM(e)}), a = i.data;- if (!a) return /* @__PURE__ */ (0, x.jsx)(WO, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ if (!a) return /* @__PURE__ */ (0, x.jsx)(UO, { children: /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",title: "高清版目标读取失败",children: i.error ? z(i.error) : "未取得高清版目标,请刷新页面重试。"}) });let o = a.items || [];- return o.length ? /* @__PURE__ */ (0, x.jsxs)(WO, { children: [- /* @__PURE__ */ (0, x.jsx)(kI, {+ return o.length ? /* @__PURE__ */ (0, x.jsxs)(UO, { children: [+ /* @__PURE__ */ (0, x.jsx)(OI, {label: "待升级",figure: `${Number(a.total || 0).toLocaleString()} 部作品`,flush: !0}),/* @__PURE__ */ (0, x.jsx)("ul", {className: "card-grid-cover gap-5",- children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(MTe, {+ children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(PTe, {item: e,...t,searchResources: r@@ -53929,22 +53949,22 @@ function NTe({ toast: e, ...t }) {className: "mt-6 text-center text-caption-1-regular text-text-secondary",children: `显示前 ${o.length.toLocaleString()} 部,共 ${Number(a.total).toLocaleString()} 部。`}) : null,- /* @__PURE__ */ (0, x.jsx)(KL, {+ /* @__PURE__ */ (0, x.jsx)(GL, {prefill: n,close: () => r(null),receipt: e})- ] }) : /* @__PURE__ */ (0, x.jsx)(WO, { children: /* @__PURE__ */ (0, x.jsx)(HO, {+ ] }) : /* @__PURE__ */ (0, x.jsx)(UO, { children: /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: xde,+ icon: Sde,title: "没有标记中的高清版目标",children: "现有版本都已满足条件,或还没有加入追踪。"}) });}//#endregion//#region src/react/review/bulk-toolbar.tsx-function PTe(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 = G_e(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), S = y.length ? "统一选择来源" : "所选项目无共同来源";+function ITe(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 = q_e(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), S = y.length ? "统一选择来源" : "所选项目无共同来源";return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {role: "group","aria-label": "复核筛选",@@ -53952,29 +53972,29 @@ function PTe(e) {"data-glass-pane": "",className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",children: [- /* @__PURE__ */ (0, x.jsx)(gP, {+ /* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": "筛选分组方式",size: "sm",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: t.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(_P, {+ children: t.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(gP, {id: e,children: t}, e))}),- i.length > 1 ? /* @__PURE__ */ (0, x.jsxs)(gP, {+ i.length > 1 ? /* @__PURE__ */ (0, x.jsxs)(hP, {"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",size: "sm",selectedKey: a || "*",onSelectionChange: (e) => {e !== null && o(String(e) === "*" ? "" : String(e));},- children: [/* @__PURE__ */ (0, x.jsx)(_P, {+ children: [/* @__PURE__ */ (0, x.jsx)(gP, {id: "*",children: "全部分类"- }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(_P, {+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(gP, {id: e.key,children: `${e.title} · ${e.rows.length}`}, e.key))]@@ -53982,7 +54002,7 @@ function PTe(e) {/* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",size: "small",- leadingIcon: que,+ leadingIcon: Jue,"aria-pressed": v,disabled: p || !s.length,onClick: () => {@@ -53998,7 +54018,7 @@ function PTe(e) {visible: c.size > 0,count: `已选 ${c.size} 项`,children: [- b ? /* @__PURE__ */ (0, x.jsxs)(gP, {+ b ? /* @__PURE__ */ (0, x.jsxs)(hP, {"aria-label": "统一选择来源",size: "sm",selectedKey: "",@@ -54006,10 +54026,10 @@ function PTe(e) {onSelectionChange: (e) => {e !== null && e !== "" && h(String(e));},- children: [/* @__PURE__ */ (0, x.jsx)(_P, {+ children: [/* @__PURE__ */ (0, x.jsx)(gP, {id: "",children: S- }), y.map((e) => /* @__PURE__ */ (0, x.jsx)(_P, {+ }), y.map((e) => /* @__PURE__ */ (0, x.jsx)(gP, {id: e,children: e}, e))]@@ -54045,7 +54065,7 @@ function PTe(e) {}//#endregion//#region src/react/review/candidate-form.tsx-var FTe = {+var LTe = {title: "标题",original_title: "原标题",runtime: "来源时长",@@ -54055,14 +54075,14 @@ var FTe = {cover_url: "封面",screenshot_urls: "截图",trailer_url: "预告片"-}, PR = "reviewgenretags";-function ITe({ tags: e }) {+}, NR = "reviewgenretags";+function RTe({ tags: e }) {return e.length ? /* @__PURE__ */ (0, x.jsx)("datalist", {- id: PR,+ id: NR,children: e.map((e) => /* @__PURE__ */ (0, x.jsx)("option", { value: e }, e))}) : null;}-function FR({ candidate: e, selectable: t = !1 }) {+function PR({ candidate: e, selectable: t = !1 }) {let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;return /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 flex-1 flex-col",@@ -54099,7 +54119,7 @@ function FR({ candidate: e, selectable: t = !1 }) {children: [/* @__PURE__ */ (0, x.jsx)("dt", {className: "text-body-2-regular text-text-secondary",- children: FTe[e] || e+ children: LTe[e] || e}),/* @__PURE__ */ (0, x.jsx)("dd", {className: "min-w-0 text-body-2-regular break-words text-text-primary",@@ -54114,32 +54134,32 @@ function FR({ candidate: e, selectable: t = !1 }) {}) : null]});}-function LTe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {+function zTe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {let a = e.candidates || [];return a.length ? a.length === 1 ? /* @__PURE__ */ (0, x.jsx)("div", {className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",- children: /* @__PURE__ */ (0, x.jsx)(FR, { candidate: a[0] })- }) : /* @__PURE__ */ (0, x.jsx)(MA, {+ children: /* @__PURE__ */ (0, x.jsx)(PR, { candidate: a[0] })+ }) : /* @__PURE__ */ (0, x.jsx)(jA, {"aria-label": `${t || "候选"}的来源`,value: n,isDisabled: i,onChange: r,className: "flex flex-col gap-2",- children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(NA, {+ children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(MA, {value: e.candidate_key,className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",- children: /* @__PURE__ */ (0, x.jsx)(FR, {+ children: /* @__PURE__ */ (0, x.jsx)(PR, {candidate: e,selectable: !0})}, e.candidate_key))}) : null;}-function RTe({ genre: e, tags: t, locked: n, toast: r }) {+function BTe({ genre: e, tags: t, locked: n, toast: r }) {let [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), c = ft({- mutationFn: (t) => $_e(e, t),+ mutationFn: (t) => tve(e, t),onSuccess: async (t, n) => {- t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await tve()) : s(t.error || "服务端拒绝了这次收录");+ t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await rve()) : s(t.error || "服务端拒绝了这次收录");},onError: (e) => s(z(e))}), l = () => {@@ -54154,16 +54174,16 @@ function RTe({ genre: e, tags: t, locked: n, toast: r }) {className: "text-body-medium text-text-primary",children: e}),- /* @__PURE__ */ (0, x.jsx)(jP, {+ /* @__PURE__ */ (0, x.jsx)(AP, {"aria-label": `「${e}」收录成的中文标签`,value: i,onChange: a,maxLength: 40,isDisabled: n || c.isPending,className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, x.jsx)(NP, {+ children: /* @__PURE__ */ (0, x.jsx)(MP, {size: "small",- list: t.length ? PR : void 0,+ list: t.length ? NR : void 0,autoComplete: "off",placeholder: "中文标签",onKeyDown: (e) => {@@ -54195,8 +54215,8 @@ function RTe({ genre: e, tags: t, locked: n, toast: r }) {]});}-function zTe({ row: e, tags: t, locked: n, toast: r }) {- let i = X_e(e);+function VTe({ row: e, tags: t, locked: n, toast: r }) {+ let i = Q_e(e);return i.length ? /* @__PURE__ */ (0, x.jsxs)("div", {role: "group","aria-label": "未收录 genre",@@ -54204,7 +54224,7 @@ function zTe({ row: e, tags: t, locked: n, toast: r }) {children: [/* @__PURE__ */ (0, x.jsx)("h5", {className: "text-body-2-medium text-text-secondary",children: `未收录 genre · ${i.length}`- }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(RTe, {+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(BTe, {genre: e,tags: t,locked: n,@@ -54214,9 +54234,9 @@ function zTe({ row: e, tags: t, locked: n, toast: r }) {}//#endregion//#region src/react/review/review-evidence.tsx-var IR = (e = "") => /^https?:\/\//i.test(e) ? e : "", BTe = (e = "") => IR(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");-function LR({ url: e }) {- let t = BTe(e || ""), [n, r] = (0, b.useState)(!1);+var FR = (e = "") => /^https?:\/\//i.test(e) ? e : "", HTe = (e = "") => FR(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");+function IR({ url: e }) {+ let t = HTe(e || ""), [n, r] = (0, b.useState)(!1);return /* @__PURE__ */ (0, x.jsx)("div", {className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",children: t && !n ? /* @__PURE__ */ (0, x.jsx)("img", {@@ -54231,7 +54251,7 @@ function LR({ url: e }) {})});}-function RR({ asset: e, openItem: t }) {+function LR({ asset: e, openItem: t }) {let n = e.name || "";return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",@@ -54257,21 +54277,21 @@ function RR({ asset: e, openItem: t }) {}), /* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",size: "small",- leadingIcon: dde,+ leadingIcon: fde,onClick: () => t(e.id),children: "打开原视频"})]})]});}-function VTe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {+function UTe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [/* @__PURE__ */ (0, x.jsx)("button", {type: "button","aria-label": `打开创作者页:${t}`,onClick: () => i(e, t),- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${zL}`,+ 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 ${RL}`,dangerouslySetInnerHTML: { __html: r }}), /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-col items-start",@@ -54287,8 +54307,8 @@ function VTe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {})]});}-function HTe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {- let o = IR(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));+function WTe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {+ let o = FR(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));return /* @__PURE__ */ (0, x.jsxs)("section", {className: "flex flex-col gap-3",children: [@@ -54298,10 +54318,10 @@ function HTe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [o ? /* @__PURE__ */ (0, x.jsx)(BO, {+ children: [o ? /* @__PURE__ */ (0, x.jsx)(zO, {variant: "secondary",size: "small",- trailingIcon: sO,+ trailingIcon: oO,href: o,target: "_blank",rel: "noopener noreferrer",@@ -54313,7 +54333,7 @@ function HTe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, nochildren: `查看全部 ${c.toLocaleString()} 部作品`})]}),- /* @__PURE__ */ (0, x.jsx)(LR, { url: e.preview_url }),+ /* @__PURE__ */ (0, x.jsx)(IR, { url: e.preview_url }),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "通过后记录身份判断。"@@ -54356,7 +54376,7 @@ function HTe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no]});}-function UTe({ assets: e, picked: t, onPicked: n, locked: r }) {+function GTe({ assets: e, picked: t, onPicked: n, locked: r }) {let [i, a] = (0, b.useState)(null), o = new Set(t), s = (t, s) => {if (r) return;let c = new Set(o);@@ -54412,7 +54432,7 @@ function UTe({ assets: e, picked: t, onPicked: n, locked: r }) {}),/* @__PURE__ */ (0, x.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, x.jsx)(SP, {+ children: /* @__PURE__ */ (0, x.jsx)(xP, {size: "sm",state: {isSelected: n,@@ -54432,22 +54452,22 @@ function UTe({ assets: e, picked: t, onPicked: n, locked: r }) {}//#endregion//#region src/react/review/review-card.tsx-var WTe = VO({+var KTe = BO({variant: "outlined",padding: "none",className: "flex flex-col gap-4 px-5 pt-4"-}), zR = "flex min-h-6 min-w-0 items-center", BR = 2, GTe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";-function KTe(e) {- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, b.useRef)(!1), m = cP(), h = cP(), g = t === "metadata_fields", _ = V_e[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = q_e(t, n), C = zM(t, n), w = RM(t, n), T = J_e(n), E = Y_e(n), D = LM(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, x.jsxs)("div", {+}), RR = "flex min-h-6 min-w-0 items-center", zR = 2, qTe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";+function JTe(e) {+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, b.useRef)(!1), m = sP(), h = sP(), g = t === "metadata_fields", _ = U_e[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = Y_e(t, n), C = RM(t, n), w = LM(t, n), T = X_e(n), E = Z_e(n), D = IM(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",- children: [O.slice(0, BR).map((e) => /* @__PURE__ */ (0, x.jsx)(RR, {+ children: [O.slice(0, zR).map((e) => /* @__PURE__ */ (0, x.jsx)(LR, {asset: e,openItem: f.openItem- }, e.id)), O.length > BR ? /* @__PURE__ */ (0, x.jsx)("p", {+ }, e.id)), O.length > zR ? /* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: `另有 ${(O.length - BR).toLocaleString()} 部对照作品`+ children: `另有 ${(O.length - zR).toLocaleString()} 部对照作品`}) : null]- }) : y ? /* @__PURE__ */ (0, x.jsx)(VTe, {+ }) : y ? /* @__PURE__ */ (0, x.jsx)(UTe, {kind: _,name: v,works: Number(n.video_count || n.videos || 0),@@ -54458,14 +54478,14 @@ function KTe(e) {image_version: n.image_version,avatar_focus: n.avatar_focus} : null, null, _)- }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(RR, {+ }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(LR, {openItem: f.openItem,asset: {id: n.asset_id,name: n.asset_name,preview_url: n.asset_preview_url}- }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(LTe, {+ }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(zTe, {row: n,fieldName: C,value: r.candidateKey,@@ -54474,7 +54494,7 @@ function KTe(e) {candidateKey: e}),locked: s- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(UTe, {+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(GTe, {assets: k,picked: r.assets,locked: s,@@ -54482,24 +54502,24 @@ function KTe(e) {...r,assets: e})- }) : /* @__PURE__ */ (0, x.jsx)(HO, {+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {shell: "inset",- icon: ade,+ icon: ode,title: "这批作品尚未抽帧",children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(HTe, {+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(WTe, {row: n,openItem: f.openItem,openEntity: f.openEntity,onReveal: f.onReveal,revealing: f.revealing,note: f.revealNote- }) : /* @__PURE__ */ (0, x.jsx)(LR, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {- className: `${zR} flex-wrap gap-2`,+ }) : /* @__PURE__ */ (0, x.jsx)(IR, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {+ className: `${RR} flex-wrap gap-2`,children: [/* @__PURE__ */ (0, x.jsx)("span", {title: C,className: "flex max-w-full min-w-0 overflow-hidden rounded-md",- children: /* @__PURE__ */ (0, x.jsx)(RO, {+ children: /* @__PURE__ */ (0, x.jsx)(LO, {variant: "caption",color: "blue",children: C@@ -54510,7 +54530,7 @@ function KTe(e) {children: w})]}) : /* @__PURE__ */ (0, x.jsx)("h4", {- className: zR,+ className: RR,children: /* @__PURE__ */ (0, x.jsx)("span", {title: S,className: "min-w-0 truncate text-body-medium text-text-primary",@@ -54520,20 +54540,20 @@ function KTe(e) {return /* @__PURE__ */ (0, x.jsxs)("section", {"aria-label": S,"data-review-key": n.item_key,- className: `${WTe} ${GTe(t)} overflow-hidden`,+ className: `${KTe} ${qTe(t)} overflow-hidden`,children: [/* @__PURE__ */ (0, x.jsxs)("header", {className: "flex min-w-0 shrink-0 items-start gap-2",children: [s ? null : /* @__PURE__ */ (0, x.jsx)("span", {- className: `${zR} shrink-0`,+ className: `${RR} shrink-0`,onPointerDownCapture: (e) => {p.current = e.shiftKey;},onKeyDownCapture: (e) => {p.current = e.shiftKey;},- children: /* @__PURE__ */ (0, x.jsx)(CP, {+ children: /* @__PURE__ */ (0, x.jsx)(SP, {isSelected: a,"aria-label": `选择 ${S}`,onChange: (e) => o(p.current, e)@@ -54543,7 +54563,7 @@ function KTe(e) {className: "min-w-0 flex-1",children: N}),- A ? /* @__PURE__ */ (0, x.jsx)(RO, {+ A ? /* @__PURE__ */ (0, x.jsx)(LO, {variant: "caption",color: "neutral",children: n.decision@@ -54567,7 +54587,7 @@ function KTe(e) {!y && j ? j : null,E.length || t === "creator_tags" ? /* @__PURE__ */ (0, x.jsx)("div", {className: "flex flex-wrap gap-1",- children: E.length ? E.map((e) => /* @__PURE__ */ (0, x.jsx)(RO, {+ children: E.length ? E.map((e) => /* @__PURE__ */ (0, x.jsx)(LO, {variant: "caption",color: "soft",children: e@@ -54577,7 +54597,7 @@ function KTe(e) {})}) : null,M,- /* @__PURE__ */ (0, x.jsx)(zTe, {+ /* @__PURE__ */ (0, x.jsx)(VTe, {row: n,tags: u,locked: s,@@ -54640,8 +54660,8 @@ function KTe(e) {}//#endregion//#region src/react/review/review-page.tsx-var qTe = "flex cursor-pointer items-center justify-between gap-2";-function JTe({ page: e, pages: t, onPage: n }) {+var YTe = "flex cursor-pointer items-center justify-between gap-2";+function XTe({ page: e, pages: t, onPage: n }) {return t <= 1 ? null : /* @__PURE__ */ (0, x.jsxs)("nav", {"aria-label": "复核分页",className: "flex w-full flex-wrap items-center justify-between gap-2",@@ -54678,34 +54698,34 @@ function JTe({ page: e, pages: t, onPage: n }) {]});}-function YTe(e) {+function ZTe(e) {let [t, n] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);(0, b.useEffect)(() => {let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, b.useState)(FM(e.category) ? e.category : B_e), [p, m] = (0, b.useState)("candidates"), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(1), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, b.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, b.useState)(""), k = (0, b.useRef)(null), [A, j] = (0, b.useState)(0), [M, N] = (0, b.useState)(""), P = (0, b.useRef)(!0);+ let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, b.useState)(PM(e.category) ? e.category : H_e), [p, m] = (0, b.useState)("candidates"), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(1), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, b.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, b.useState)(""), k = (0, b.useRef)(null), [A, j] = (0, b.useState)(0), [M, N] = (0, b.useState)(""), P = (0, b.useRef)(!0);(0, b.useEffect)(() => () => {P.current = !1;}, []);let ee = dt({- queryKey: NM,- queryFn: ({ signal: e }) => VM(e)+ queryKey: MM,+ queryFn: ({ signal: e }) => BM(e)}), F = ee.data || {sections: {},counts: {}- }, te = F.sections[d] || [], ne = d === "metadata_fields", re = c, ie = H_e(te, ne), ae = ie.some(([e]) => e === p) ? p : "candidates", oe = IM(te, ae), se = oe.some((e) => e.key === h) ? h : "", ce = W_e(U_e(te, ae, se), _), le = ce.rows.map((e) => e.item_key), ue = new Set(le), de = oe.map((e) => ({+ }, te = F.sections[d] || [], ne = d === "metadata_fields", re = c, ie = W_e(te, ne), ae = ie.some(([e]) => e === p) ? p : "candidates", oe = FM(te, ae), se = oe.some((e) => e.key === h) ? h : "", ce = K_e(G_e(te, ae, se), _), le = ce.rows.map((e) => e.item_key), ue = new Set(le), de = oe.map((e) => ({...e,rows: e.rows.filter((e) => ue.has(e.item_key))- })).filter((e) => e.rows.length), fe = (e) => C.get(e.item_key) || Z_e(e), pe = te.filter((e) => y.has(e.item_key)), me = (e) => {+ })).filter((e) => e.rows.length), fe = (e) => C.get(e.item_key) || $_e(e), pe = te.filter((e) => y.has(e.item_key)), me = (e) => {let t = new Set(e);S((e) => new Set([...e].filter((e) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e)))), E((e) => new Map([...e].filter(([e]) => !t.has(e))));}, he = (e, t) => E((n) => new Map(n).set(e, t)), ge = (e) => {f(e), m("candidates"), g(""), v(1), S(/* @__PURE__ */ new Set()), w(/* @__PURE__ */ new Map()), E(/* @__PURE__ */ new Map()), O(""), k.current = null, r({ category: e === "metadata_fields" ? "" : e });}, _e = ft({- mutationFn: ({ row: e, status: t }) => HM(BM(d, e, t, fe(e))),+ mutationFn: ({ row: e, status: t }) => VM(zM(d, e, t, fe(e))),onSuccess: (e, { row: t, status: n }) => {- e.ok ? (UM(d, [t.item_key]), me([t.item_key]), s(Q_e(n))) : he(t.item_key, e.error || "服务端拒绝了这次判定");+ e.ok ? (HM(d, [t.item_key]), me([t.item_key]), s(eve(n))) : he(t.item_key, e.error || "服务端拒绝了这次判定");},onError: (e, { row: t }) => he(t.item_key, z(e))}), ve = ft({@@ -54715,7 +54735,7 @@ function YTe(e) {if (!P.current) break;O(`正在处理 ${i} / ${t.length}`);try {- let t = await HM(BM(d, a, e, fe(a)));+ let t = await VM(zM(d, a, e, fe(a)));if (!t.ok) throw Error(t.error || "服务端未采用该项");n.push(a.item_key);} catch (e) {@@ -54729,7 +54749,7 @@ function YTe(e) {};},onSuccess: ({ status: e, done: t, failures: n }) => {- UM(d, t), me(t), n.forEach(([e, t]) => he(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));+ HM(d, t), me(t), n.forEach(([e, t]) => he(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));},onError: (e) => {O(z(e));@@ -54753,7 +54773,7 @@ function YTe(e) {j(e), N("");let t = await o(e);P.current && (j(0), N(t));- }, Se = nve(F.mirror, l), Ce = F.genre_tags || [], we = {+ }, Se = ive(F.mirror, l), Ce = F.genre_tags || [], we = {openItem: i,openEntity: a,onReveal: xe,@@ -54761,7 +54781,7 @@ function YTe(e) {revealNote: M,toast: s};- return /* @__PURE__ */ (0, x.jsx)(WO, { children: /* @__PURE__ */ (0, x.jsxs)("div", {+ return /* @__PURE__ */ (0, x.jsx)(UO, { children: /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-5 pb-10",children: [re ? /* @__PURE__ */ (0, x.jsx)(G, {@@ -54777,13 +54797,13 @@ function YTe(e) {}) : void 0,children: Se}) : null,- /* @__PURE__ */ (0, x.jsx)(ITe, { tags: Ce }),- /* @__PURE__ */ (0, x.jsxs)(sj, {+ /* @__PURE__ */ (0, x.jsx)(RTe, { tags: Ce }),+ /* @__PURE__ */ (0, x.jsxs)(oj, {orientation: t ? "horizontal" : "vertical",selectedKey: d,onSelectionChange: (e) => {let t = String(e);- FM(t) && ge(t);+ PM(t) && ge(t);},className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",children: [/* @__PURE__ */ (0, x.jsxs)("div", {@@ -54792,27 +54812,27 @@ function YTe(e) {children: [/* @__PURE__ */ (0, x.jsx)("h2", {id: "reviewcategories",children: "复核分类"- }), /* @__PURE__ */ (0, x.jsx)(cj, {+ }), /* @__PURE__ */ (0, x.jsx)(sj, {"aria-labelledby": "reviewcategories","data-section-items": !0,className: "flex review-split:flex-col review-split:items-stretch",- children: z_e.map((e) => {+ children: V_e.map((e) => {let t = Number(F.counts[e] || 0);- return /* @__PURE__ */ (0, x.jsxs)(lj, {+ return /* @__PURE__ */ (0, x.jsxs)(cj, {id: e,- className: qTe,- children: [PM[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {+ className: YTe,+ children: [NM[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {className: "tabular-nums text-caption-1-medium text-text-secondary",children: t.toLocaleString()}) : null]}, e);})})]- }), /* @__PURE__ */ (0, x.jsxs)(uj, {+ }), /* @__PURE__ */ (0, x.jsxs)(lj, {id: d,className: "flex min-w-0 flex-1 flex-col gap-5",children: [- te.length && !re ? /* @__PURE__ */ (0, x.jsx)(PTe, {+ te.length && !re ? /* @__PURE__ */ (0, x.jsx)(ITe, {groupOptions: ie,groupBy: ae,onGroupBy: (e) => {@@ -54828,7 +54848,7 @@ function YTe(e) {onSelected: S,selectedRows: pe,metadata: ne,- approvable: pe.every((e) => LM(d, e)),+ approvable: pe.every((e) => IM(d, e)),busy: ve.isPending,feedback: D,onUnifySource: be,@@ -54853,7 +54873,7 @@ function YTe(e) {})]}) : null, /* @__PURE__ */ (0, x.jsx)("div", {className: "review-grid gap-5",- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(KTe, {+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(JTe, {category: d,row: e,choice: fe(e),@@ -54861,7 +54881,7 @@ function YTe(e) {selected: y.has(e.item_key),onSelect: (t, n) => S((r) => {let i = new Set(r);- return k.current = K_e(i, le, k.current, e.item_key, t, n), i;+ return k.current = J_e(i, le, k.current, e.item_key, t, n), i;}),locked: re,busy: _e.isPending && _e.variables?.row.item_key === e.item_key,@@ -54887,12 +54907,12 @@ function YTe(e) {children: "重试"}),children: z(ee.error)- }) : /* @__PURE__ */ (0, x.jsx)(HO, {- icon: Jue,+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {+ icon: Yue,title: "此分类没有待复核项目",children: "可切换分类查看其他候选。"}),- /* @__PURE__ */ (0, x.jsx)(JTe, {+ /* @__PURE__ */ (0, x.jsx)(XTe, {page: ce.page,pages: ce.pages,onPage: v@@ -54905,9 +54925,13 @@ function YTe(e) {}//#endregion//#region src/react/scraping/scraping.ts-var XTe = "/api/scraping", ZTe = "/api/scraping/settings", QTe = "/api/scraping/check", VR = "/api/scraping/cover", $Te = "/api/scraping/amane-bridge", eEe = "/api/scraping/amane-bridge/check", tEe = "/api/scraping/amane-bridge/rebuild", HR = ["scraping"], UR = ["scraping", "cover"], WR = ["scraping", "amane-bridge"], GR = (e) => nn(XTe, e), KR = (e) => nn(VR, e), qR = (e) => nn($Te, e);-async function nEe(e) {+var QTe = "/api/scraping", $Te = "/api/scraping/settings", eEe = "/api/scraping/check", BR = "/api/scraping/cover", tEe = "/api/scraping/amane-bridge", nEe = "/api/scraping/amane-bridge/check", rEe = "/api/scraping/amane-bridge/rebuild", VR = ["scraping"], HR = ["scraping", "cover"], UR = ["scraping", "amane-bridge"], WR = (e) => nn(QTe, e), GR = (e) => nn(BR, e), KR = (e) => nn(tEe, e);+async function iEe(e) {await Promise.all([+ V.fetchQuery({+ queryKey: VR,+ queryFn: () => WR(e)+ }),V.fetchQuery({queryKey: HR,queryFn: () => GR(e)@@ -54915,31 +54939,27 @@ async function nEe(e) {V.fetchQuery({queryKey: UR,queryFn: () => KR(e)- }),- V.fetchQuery({- queryKey: WR,- queryFn: () => qR(e)})]);}-function rEe(e, t) {+function aEe(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.message ? `。${e.message}` : "");}//#endregion//#region src/react/scraping/scraping-page.tsx-var JR = [["peach", "Peach 代理"], ["direct", "直接连接"]];-function iEe(e) {- return JR.some(([t]) => t === e) || !e ? [...JR] : [...JR, [e, e]];+var qR = [["peach", "Peach 代理"], ["direct", "直接连接"]];+function oEe(e) {+ return qR.some(([t]) => t === e) || !e ? [...qR] : [...qR, [e, e]];}-function aEe(e) {+function sEe(e) {try {return new URL(e).host || e;} catch {return e;}}-var YR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];-function XR({ source: e }) {+var JR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];+function YR({ source: e }) {let t = ["javten","fc2ppvdb",@@ -54957,16 +54977,16 @@ function XR({ source: e }) {className: "size-4 shrink-0 rounded-sm object-contain"});}-function oEe() {- return /* @__PURE__ */ (0, x.jsx)(XR, { source: "github" });+function cEe() {+ return /* @__PURE__ */ (0, x.jsx)(YR, { source: "github" });}-function sEe({ source: e, toast: t }) {- let [n, r] = (0, b.useState)(e.network), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(YR[0][0]), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(""), m = (0, b.useRef)(null);+function lEe({ source: e, toast: t }) {+ let [n, r] = (0, b.useState)(e.network), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(JR[0][0]), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(""), m = (0, b.useRef)(null);function h() {a(""), s(""), d(""), p(""), m.current && (m.current.value = "");}let g = ft({- mutationFn: (t) => B(ZTe, {+ mutationFn: (t) => B($Te, {source: e.source,network: n,cookie: i,@@ -54974,12 +54994,12 @@ function sEe({ source: e, toast: t }) {revoke: t}),onSuccess: (e, n) => {- V.setQueryData(HR, (t) => t && {+ V.setQueryData(VR, (t) => t && {...t,sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");}- }), _ = ft({ mutationFn: () => B(QTe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {+ }), _ = ft({ mutationFn: () => B(eEe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {e.preventDefault(), !v && (_.reset(), g.mutate(!1));}, S = () => {v || (_.reset(), g.mutate(!0));@@ -54998,41 +55018,41 @@ function sEe({ source: e, toast: t }) {}}let T = f || (g.error ? z(g.error) : "") || (_.error ? z(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || e.browser || !!T || E.length > 0;- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: e.label,onSubmit: y,aside: /* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 items-center gap-1",- children: [/* @__PURE__ */ (0, x.jsx)(XR, { source: e.source }), /* @__PURE__ */ (0, x.jsx)(ik, {+ children: [/* @__PURE__ */ (0, x.jsx)(YR, { source: e.source }), /* @__PURE__ */ (0, x.jsx)(rk, {href: e.login,- children: aEe(e.login)+ children: sEe(e.login)})]}),children: [- /* @__PURE__ */ (0, x.jsx)(QO, { children: /* @__PURE__ */ (0, x.jsx)(JO, {+ /* @__PURE__ */ (0, x.jsx)(ZO, { children: /* @__PURE__ */ (0, x.jsx)(qO, {label: "连接方式",- children: /* @__PURE__ */ (0, x.jsx)(gP, {+ children: /* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": "连接方式",className: "w-44 min-w-0",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: iEe(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(_P, {+ children: oEe(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(gP, {id: e,children: t}, e))})}) }),- D ? /* @__PURE__ */ (0, x.jsxs)($O, {+ D ? /* @__PURE__ */ (0, x.jsxs)(QO, {divided: !0,children: [n === "peach" ? /* @__PURE__ */ (0, x.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, x.jsx)(XO, {+ children: /* @__PURE__ */ (0, x.jsx)(YO, {href: "/configuration#peachProxy",size: "small",- trailingIcon: nO,+ trailingIcon: tO,children: "配置 Peach 代理"})}) : null,@@ -55045,20 +55065,20 @@ function sEe({ source: e, toast: t }) {className: "text-body-2-regular text-text-secondary",children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"}),- /* @__PURE__ */ (0, x.jsx)(pj, {+ /* @__PURE__ */ (0, x.jsx)(fj, {"aria-label": "提供 Cookie 的方式(二选一)",value: c,onChange: (e) => {l(e), h();},- className: mj,- children: YR.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(NA, {+ className: pj,+ children: JR.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(MA, {value: e,- className: hj,+ className: mj,children: t}, e))}),- c === "paste" ? /* @__PURE__ */ (0, x.jsx)(PP, {+ c === "paste" ? /* @__PURE__ */ (0, x.jsx)(NP, {type: "password",label: "Cookie",autoComplete: "off",@@ -55067,7 +55087,7 @@ function sEe({ source: e, toast: t }) {}) : /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(rk, { children: "Netscape Cookie 文件(.txt)" }),+ /* @__PURE__ */ (0, x.jsx)(nk, { children: "Netscape Cookie 文件(.txt)" }),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-3",children: [/* @__PURE__ */ (0, x.jsx)(W, {@@ -55093,14 +55113,14 @@ function sEe({ source: e, toast: t }) {]})] }) : null,- T ? /* @__PURE__ */ (0, x.jsx)(nk, { children: T }) : null,+ T ? /* @__PURE__ */ (0, x.jsx)(tk, { children: T }) : null,E.map((t) => /* @__PURE__ */ (0, x.jsx)(G, {tone: t.ok ? "success" : "error",- children: rEe(t, e.label)+ children: aEe(t, e.label)}, t.label))]}) : null,- /* @__PURE__ */ (0, x.jsxs)(ek, { children: [+ /* @__PURE__ */ (0, x.jsxs)($O, { children: [e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",onClick: S,@@ -55122,26 +55142,26 @@ function sEe({ source: e, toast: t }) {]});}-function cEe({ toast: e }) {- let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = yP({- queryKey: UR,- queryFn: ({ signal: e }) => KR(e),- start: () => B(VR, { code: t }),+function uEe({ toast: e }) {+ let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = vP({+ queryKey: HR,+ queryFn: ({ signal: e }) => GR(e),+ start: () => B(BR, { code: t }),onFinish: (t) => {t.status === "complete" && e(t.result || "封面采集完成");}}), o = (e) => {e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();}, s = a.error ? z(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";- return /* @__PURE__ */ (0, x.jsx)(ZO, {+ return /* @__PURE__ */ (0, x.jsx)(XO, {title: "高清封面",onSubmit: o,- children: /* @__PURE__ */ (0, x.jsxs)($O, { children: [+ children: /* @__PURE__ */ (0, x.jsxs)(QO, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, x.jsx)(PP, {+ children: /* @__PURE__ */ (0, x.jsx)(NP, {"aria-label": "馆藏番号",isRequired: !0,isDisabled: r,@@ -55156,7 +55176,7 @@ function cEe({ toast: e }) {children: "抓取封面"})]}),- r ? /* @__PURE__ */ (0, x.jsx)(UO, { label: "正在抓取封面" }) : null,+ r ? /* @__PURE__ */ (0, x.jsx)(HO, { label: "正在抓取封面" }) : null,s ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",children: s@@ -55168,11 +55188,11 @@ function cEe({ toast: e }) {] })});}-function lEe({ toast: e }) {- let { query: t, running: n, outcome: r, start: i } = yP({- queryKey: WR,- queryFn: ({ signal: e }) => qR(e),- start: () => B(tEe, {}),+function dEe({ toast: e }) {+ let { query: t, running: n, outcome: r, start: i } = vP({+ queryKey: UR,+ queryFn: ({ signal: e }) => KR(e),+ start: () => B(rEe, {}),jobOf: (e) => e.job,withJob: (e, t) => e && {...e,@@ -55181,52 +55201,52 @@ function lEe({ toast: e }) {onFinish: (t) => {t.status === "complete" && e(t.result || "amane 桥已重建");}- }), a = ft({ mutationFn: () => B(eEe, {}) }), o = t.data;- if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(ZO, {+ }), a = ft({ mutationFn: () => B(nEe, {}) }), o = t.data;+ if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(XO, {title: "amane",- children: /* @__PURE__ */ (0, x.jsx)($O, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ children: /* @__PURE__ */ (0, x.jsx)(QO, { children: /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",children: z(t.error)}) })}) : null;let s = n || i.isPending || a.isPending, c = i.error ? z(i.error) : a.error ? z(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: "amane",- aside: /* @__PURE__ */ (0, x.jsx)(ik, {+ aside: /* @__PURE__ */ (0, x.jsx)(rk, {href: o.repository,- leadingIcon: oEe,+ leadingIcon: cEe,children: o.repository}),children: [- /* @__PURE__ */ (0, x.jsxs)(ak, { children: [- /* @__PURE__ */ (0, x.jsx)(ok, {+ /* @__PURE__ */ (0, x.jsxs)(ik, { children: [+ /* @__PURE__ */ (0, x.jsx)(ak, {term: "已安装版本",children: o.installed_version || "未安装"}),- /* @__PURE__ */ (0, x.jsx)(ok, {+ /* @__PURE__ */ (0, x.jsx)(ak, {term: "上游最新版本",children: a.data?.latest ?? "尚未检查"}),- /* @__PURE__ */ (0, x.jsx)(ok, {+ /* @__PURE__ */ (0, x.jsx)(ak, {term: "运行环境",children: o.installed ? "已安装" : "未安装"}),- /* @__PURE__ */ (0, x.jsxs)(ok, {+ /* @__PURE__ */ (0, x.jsxs)(ak, {term: "内置站点",children: [o.sites.length.toLocaleString(), " 个"]})] }),- /* @__PURE__ */ (0, x.jsxs)($O, {+ /* @__PURE__ */ (0, x.jsxs)(QO, {divided: !0,children: [- o.sites.length ? /* @__PURE__ */ (0, x.jsx)(sk, {+ o.sites.length ? /* @__PURE__ */ (0, x.jsx)(ok, {summary: "查看内置站点",children: /* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: o.sites.map((e) => e.label).join("、")})}) : null,- /* @__PURE__ */ (0, x.jsxs)(tk, { children: [+ /* @__PURE__ */ (0, x.jsxs)(ek, { children: ["已安装版本:",o.installed_version || "未安装","。amane(",@@ -55235,7 +55255,7 @@ function lEe({ toast: e }) {o.version," 版本,不随上游自动升级。"] }),- n ? /* @__PURE__ */ (0, x.jsx)(UO, { label: "正在重建运行环境" }) : null,+ n ? /* @__PURE__ */ (0, x.jsx)(HO, { label: "正在重建运行环境" }) : null,c ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",children: c@@ -55246,7 +55266,7 @@ function lEe({ toast: e }) {}) : null]}),- /* @__PURE__ */ (0, x.jsxs)(ek, { children: [/* @__PURE__ */ (0, x.jsx)(W, {+ /* @__PURE__ */ (0, x.jsxs)($O, { children: [/* @__PURE__ */ (0, x.jsx)(W, {variant: "secondary",onClick: () => {s || a.mutate();@@ -55263,23 +55283,23 @@ function lEe({ toast: e }) {]});}-function uEe({ toast: e }) {+function fEe({ toast: e }) {let t = dt({- queryKey: HR,- queryFn: ({ signal: e }) => GR(e)+ queryKey: VR,+ queryFn: ({ signal: e }) => WR(e)}), n = t.data;- return n ? /* @__PURE__ */ (0, x.jsxs)(WO, { children: [+ return n ? /* @__PURE__ */ (0, x.jsxs)(UO, { children: [/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "高清图片可能要经代理才能下载,先检查连接。"}),- /* @__PURE__ */ (0, x.jsx)(cEe, { toast: e }),- (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(sEe, {+ /* @__PURE__ */ (0, x.jsx)(uEe, { toast: e }),+ (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(lEe, {source: t,toast: e}, t.source)),- /* @__PURE__ */ (0, x.jsx)(lEe, { toast: e })- ] }) : /* @__PURE__ */ (0, x.jsx)(WO, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ /* @__PURE__ */ (0, x.jsx)(dEe, { toast: e })+ ] }) : /* @__PURE__ */ (0, x.jsx)(UO, { children: /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",title: "采集来源读取失败",children: t.error ? z(t.error) : "读取采集来源失败"@@ -55287,21 +55307,21 @@ function uEe({ toast: e }) {}//#endregion//#region src/react/search/search.ts-var ZR = /* @__PURE__ */ new Set([+var XR = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), QR = /* @__PURE__ */ new Set(["asset"]), $R = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function dEe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {+]), ZR = /* @__PURE__ */ new Set(["asset"]), QR = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function pEe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {let s = 0, c = [], l = (e) => {let t = {...e,index: s++};return c.push(t), t;- }, u = t.filter((t) => !e || $R(t).includes($R(e)));+ }, u = t.filter((t) => !e || QR(t).includes(QR(e)));if (!e) {let e = u.length ? {label: "搜索记录",@@ -55340,7 +55360,7 @@ function dEe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: akind: e.kind,item: t}))- }), h = p.filter((e) => !QR.has(e.kind)).map(m), g = p.filter((e) => QR.has(e.kind)).map(m), _ = d && !p.some((e) => e.items.length);+ }), h = p.filter((e) => !ZR.has(e.kind)).map(m), g = p.filter((e) => ZR.has(e.kind)).map(m), _ = d && !p.some((e) => e.items.length);return {tabs: d && a.length > 1 ? [...a] : null,recent: f,@@ -55350,17 +55370,17 @@ function dEe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: c};}-function fEe(e, t, n = Math.random) {+function mEe(e, t, n = Math.random) {let r = [...e];for (let e = r.length - 1; e > 0; --e) {let t = Math.floor(n() * (e + 1));[r[e], r[t]] = [r[t], r[e]];}- return r.filter((e) => !t.some((t) => $R(t) === $R(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => QR(t) === QR(e))).slice(0, 5);}//#endregion//#region src/react/search/search-page.tsx-var pEe = () => ({+var hEe = () => ({history: [],pool: [],poolRequest: 0,@@ -55376,7 +55396,7 @@ var pEe = () => ({active: -1,reveal: !1,rewind: !1-}), ez = (e) => dEe({+}), $R = (e) => pEe({query: e.query,history: e.history,picks: e.picks,@@ -55384,18 +55404,18 @@ var pEe = () => ({groups: e.groups,tabs: e.tabs,kind: e.kind-}), mEe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), tz = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {+}), gEe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), ez = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })});-function hEe(e) {+function _Ee(e) {let t = (0, b.useRef)(e);t.current = e;let n = (0, b.useRef)(null);- n.current ??= pEe();+ n.current ??= hEe();let r = n.current, i = (0, b.useRef)(null), [, a] = (0, b.useReducer)((e) => e + 1, 0), o = (0, b.useRef)(null);- o.current ??= gEe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= vEe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, b.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();@@ -55408,7 +55428,7 @@ function hEe(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 = ez(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(vEe, {+ let c = $R(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(bEe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -55428,7 +55448,7 @@ function hEe(e) {"data-search-root": "","data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, x.jsx)(_Ee, {+ c.tabs ? /* @__PURE__ */ (0, x.jsx)(yEe, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -55454,7 +55474,7 @@ function hEe(e) {]});}-function gEe(e, t, n, r) {+function vEe(e, t, n, r) {let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {t.history = n.slice(0, e().historyLimit);}, c = async () => {@@ -55465,7 +55485,7 @@ function gEe(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) => $R(e) !== $R(t))]), B("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => QR(e) !== QR(t))]), B("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -55499,9 +55519,9 @@ function gEe(e, t, n, r) {let i = n();i && e().helpers.dismiss(i), t.active = -1, r();}, m = () => {- t.query = i().value.trim(), t.picks = t.query ? [] : fEe(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : mEe(t.pool, o()), t.active = -1;let a = n();- a && (mEe(ez(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (gEe($R(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, h = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -55513,7 +55533,7 @@ function gEe(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() ? ez(t).options : [], v = (e) => {+ }, _ = () => f() ? $R(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) => {@@ -55522,7 +55542,7 @@ function gEe(e, t, n, r) {}, b = (t, n) => {i().blur(), l(n), e().actions.openEntity(t, n);}, x = (t) => {- t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && ZR.has(t.kind) ? b(t.kind, t.value) : (i().value = t.value, y(!1, !0));+ t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && XR.has(t.kind) ? b(t.kind, t.value) : (i().value = t.value, y(!1, !0));};return {input: (t) => {@@ -55566,12 +55586,12 @@ function gEe(e, t, n, r) {await B("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => $R(t) !== $R(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => QR(t) !== QR(e))), t.active = -1, r();},pickKind: g};}-function _Ee({ tabs: e, kind: t, onPick: n, wire: r }) {+function yEe({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, b.useRef)(null);(0, b.useLayoutEffect)(() => {r(i.current);@@ -55583,7 +55603,7 @@ function _Ee({ tabs: e, kind: t, onPick: n, wire: r }) {"aria-selected": t === e,onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, x.jsx)(cR, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, x.jsx)(sR, { value: i }) : null]}, e || "all");return /* @__PURE__ */ (0, x.jsxs)("div", {ref: i,@@ -55593,8 +55613,8 @@ function _Ee({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var nz = (e) => e.preventDefault();-function vEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+var tz = (e) => e.preventDefault();+function bEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -55606,28 +55626,28 @@ function vEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, x.jsx)(tz, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, x.jsx)(ez, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, x.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: nz,+ onMouseDown: tz,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, x.jsx)(tz, { name: "x" })+ children: /* @__PURE__ */ (0, x.jsx)(ez, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = ZR.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = XR.has(c) ? c : void 0;if (c === "asset") {let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");return /* @__PURE__ */ (0, x.jsxs)("div", {"data-search-option": "work","data-open-item": s.id,...o,- children: [/* @__PURE__ */ (0, x.jsx)(rz, {+ children: [/* @__PURE__ */ (0, x.jsx)(nz, {card: s.card,helpers: n}), /* @__PURE__ */ (0, x.jsxs)("span", {@@ -55653,7 +55673,7 @@ function vEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- /* @__PURE__ */ (0, x.jsx)(iz, {+ /* @__PURE__ */ (0, x.jsx)(rz, {item: s,kind: c}),@@ -55673,11 +55693,11 @@ function vEe({ 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: nz,+ onMouseDown: tz,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, x.jsx)(rz, {+ children: /* @__PURE__ */ (0, x.jsx)(nz, {card: e,helpers: n})@@ -55691,7 +55711,7 @@ function vEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, x.jsx)(iz, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, x.jsx)(rz, {item: s,kind: c}) : null,@@ -55704,13 +55724,13 @@ function vEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function rz({ card: e, helpers: t }) {+function nz({ card: e, helpers: t }) {return /* @__PURE__ */ (0, x.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function iz({ item: e, kind: t }) {+function rz({ item: e, kind: t }) {let n = {id: e.entity_id,has_image: e.has_image,@@ -55726,63 +55746,63 @@ function iz({ item: e, kind: t }) {}//#endregion//#region src/configuration-endpoints.ts-var az = "/api/configuration", yEe = "/api/pick-folder", oz = ["configuration"], sz = (e) => nn(az, e);-async function cz(e) {+var iz = "/api/configuration", xEe = "/api/pick-folder", az = ["configuration"], oz = (e) => nn(iz, e);+async function sz(e) {await V.fetchQuery({- queryKey: oz,- queryFn: () => sz(e)+ queryKey: az,+ queryFn: () => oz(e)});}//#endregion//#region src/react/settings/configuration-panel.ts-var lz = "flex flex-col gap-6";-function uz(e) {+var cz = "flex flex-col gap-6";+function lz(e) {return e ? {- className: e.active ? `${lz} ui-board-group-active` : lz,+ className: e.active ? `${cz} ui-board-group-active` : cz,"data-board-group": String(e.index),id: e.id,role: "tabpanel","aria-labelledby": e.labelledBy- } : { className: lz };+ } : { className: cz };}//#endregion//#region src/react/settings/indexer-settings.tsx-var dz = "/api/configuration/indexers";-function bEe({ receipt: e }) {+var uz = "/api/configuration/indexers";+function SEe({ receipt: e }) {let t = dt({queryKey: ["indexers"],- queryFn: ({ signal: e }) => nn(dz, e)+ queryFn: ({ signal: e }) => nn(uz, e)});- return t.error ? /* @__PURE__ */ (0, x.jsx)(nk, { children: z(t.error) }) : t.data ? /* @__PURE__ */ (0, x.jsx)(xEe, {+ return t.error ? /* @__PURE__ */ (0, x.jsx)(tk, { children: z(t.error) }) : t.data ? /* @__PURE__ */ (0, x.jsx)(CEe, {initial: t.data,receipt: e}) : null;}-function xEe({ initial: e, receipt: t }) {- let [n, r] = (0, b.useState)(e.indexers), i = qO(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {+function CEe({ initial: e, receipt: t }) {+ let [n, r] = (0, b.useState)(e.indexers), i = KO(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,...t} : n));- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: "资源索引器",onSubmit: (e) => {- e.preventDefault(), i.run("save", (e) => B(dz, { indexers: n }, "POST", e), (e) => {+ e.preventDefault(), i.run("save", (e) => B(uz, { indexers: n }, "POST", e), (e) => {r(e.indexers), t("已保存索引器");});},- children: [/* @__PURE__ */ (0, x.jsxs)($O, { children: [- /* @__PURE__ */ (0, x.jsx)(tk, { children: "接入 Prowlarr 或 Jackett 后可以按番号搜磁力。Torznab 地址在 Prowlarr 每个索引器的详情里, API key 在 Settings → General。" }),+ children: [/* @__PURE__ */ (0, x.jsxs)(QO, { children: [+ /* @__PURE__ */ (0, x.jsx)(ek, { children: "接入 Prowlarr 或 Jackett 后可以按番号搜磁力。Torznab 地址在 Prowlarr 每个索引器的详情里, API key 在 Settings → General。" }),n.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",children: [- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {label: `索引器 ${t + 1} 名称`,value: e.name,maxLength: 80,isDisabled: !!i.busy,onChange: (t) => a(e.key, { name: t })}),- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {label: `索引器 ${t + 1} Torznab 地址`,value: e.url,type: "url",@@ -55791,7 +55811,7 @@ function xEe({ initial: e, receipt: t }) {isDisabled: !!i.busy,onChange: (t) => a(e.key, { url: t })}),- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {label: `索引器 ${t + 1} API key`,type: "password",autoComplete: "new-password",@@ -55800,13 +55820,13 @@ function xEe({ initial: e, receipt: t }) {isDisabled: !!i.busy,onChange: (t) => a(e.key, { api_key: t })}),- /* @__PURE__ */ (0, x.jsx)(CP, {+ /* @__PURE__ */ (0, x.jsx)(SP, {isSelected: e.enabled,isDisabled: !!i.busy,onChange: (t) => a(e.key, { enabled: t }),children: "启用"}),- e.api_key_set ? /* @__PURE__ */ (0, x.jsx)(CP, {+ e.api_key_set ? /* @__PURE__ */ (0, x.jsx)(SP, {isSelected: !!e.clear_api_key,isDisabled: !!i.busy,onChange: (t) => a(e.key, { clear_api_key: t }),@@ -55820,8 +55840,8 @@ function xEe({ initial: e, receipt: t }) {}) })]}, e.key)),- i.error ? /* @__PURE__ */ (0, x.jsx)(nk, { children: i.error }) : null- ] }), /* @__PURE__ */ (0, x.jsxs)(ek, { children: [/* @__PURE__ */ (0, x.jsx)(W, {+ i.error ? /* @__PURE__ */ (0, x.jsx)(tk, { children: i.error }) : null+ ] }), /* @__PURE__ */ (0, x.jsxs)($O, { children: [/* @__PURE__ */ (0, x.jsx)(W, {type: "button",disabled: !!i.busy || n.length >= e.max_indexers,onClick: () => r([...n, {@@ -55841,24 +55861,24 @@ function xEe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/download-settings.tsx-var SEe = "/api/configuration/downloads", fz = "/api/configuration/downloads/check", CEe = "/api/configuration/downloads/folder", wEe = "/api/configuration/downloads/pikpak/login", TEe = "/api/configuration/downloads/pikpak/logout", pz = "/api/configuration/downloads/pikpak/browser-login", mz = 2e3;-function EEe({ initial: e, receipt: t, panel: n }) {+var wEe = "/api/configuration/downloads", dz = "/api/configuration/downloads/check", TEe = "/api/configuration/downloads/folder", EEe = "/api/configuration/downloads/pikpak/login", DEe = "/api/configuration/downloads/pikpak/logout", fz = "/api/configuration/downloads/pikpak/browser-login", pz = 2e3;+function OEe({ initial: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- ...uz(n),- children: [/* @__PURE__ */ (0, x.jsx)(DEe, {+ ...lz(n),+ children: [/* @__PURE__ */ (0, x.jsx)(kEe, {initial: e,receipt: t- }), /* @__PURE__ */ (0, x.jsx)(bEe, { receipt: t })]+ }), /* @__PURE__ */ (0, x.jsx)(SEe, { receipt: t })]});}-function DEe({ initial: e, receipt: t }) {+function kEe({ initial: e, receipt: t }) {let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(""), o = n.pikpak.logged_in || !!i.trim();- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(OEe, {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(AEe, {state: n,settle: r,receipt: t,pikpakAccount: o- }), /* @__PURE__ */ (0, x.jsx)(AEe, {+ }), /* @__PURE__ */ (0, x.jsx)(MEe, {state: n,settle: r,receipt: t,@@ -55866,8 +55886,8 @@ function DEe({ initial: e, receipt: t }) {setUsername: a})] });}-function OEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {- let [i, a] = (0, b.useState)(e.config), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(String(e.config.wait_hours)), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(""), [m, h] = (0, b.useState)(hz), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = qO(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({+function AEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {+ let [i, a] = (0, b.useState)(e.config), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(String(e.config.wait_hours)), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(""), [m, h] = (0, b.useState)(mz), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = KO(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({...i,targets: {...i.targets,@@ -55896,8 +55916,8 @@ function OEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {target: !e.config.targets[115],root: !e.config.pikpak_root};- S.run("auto", (e) => nn(fz, e), (e) => E(e, t), (e) => _(z(e)));- }, []), /* @__PURE__ */ (0, x.jsxs)(ZO, {+ S.run("auto", (e) => nn(dz, e), (e) => E(e, t), (e) => _(z(e)));+ }, []), /* @__PURE__ */ (0, x.jsxs)(XO, {title: "云下载",onSubmit: (e) => {if (e.preventDefault(), T) {@@ -55910,19 +55930,19 @@ function OEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {token: o,pikpak_account: r};- S.run("save", (e) => B(SEe, f, "POST", e), (e) => {+ S.run("save", (e) => B(wEe, f, "POST", e), (e) => {let { report: r, ...i } = e;t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? E(r, {address: !i.config.clouddrive_address,target: u,root: !i.config.pikpak_root- }, i.config.targets[115] ?? "") : (d(null), p(""), h(hz), y(!1), _("")), n("已保存配置");+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(mz), y(!1), _("")), n("已保存配置");}, (e) => _(z(e)));},children: [- /* @__PURE__ */ (0, x.jsxs)($O, { children: [- /* @__PURE__ */ (0, x.jsx)(tk, { children: "磁力交给 115 或 PikPak 离线下载,下完自动入库。" }),- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsxs)(QO, { children: [+ /* @__PURE__ */ (0, x.jsx)(ek, { children: "磁力交给 115 或 PikPak 离线下载,下完自动入库。" }),+ /* @__PURE__ */ (0, x.jsx)(NP, {label: "CloudDrive2 地址",placeholder: "留空自动探测本机 19798 / 29798",autoComplete: "off",@@ -55934,7 +55954,7 @@ function OEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {clouddrive_address: e})}),- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {label: "CloudDrive2 API 令牌",type: "password",autoComplete: "off",@@ -55945,7 +55965,7 @@ function OEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {isDisabled: !e.available,onChange: s}),- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {label: "115 目标目录",placeholder: "留空时按推送发现自动填写",autoComplete: "off",@@ -55957,7 +55977,7 @@ function OEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {isDisabled: !e.available,onChange: (e) => w("115", e)}),- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {label: "PikPak 目标目录",placeholder: "以 / 开头的网盘路径",autoComplete: "off",@@ -55969,7 +55989,7 @@ function OEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, x.jsx)(rk, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(gP, {+ children: [/* @__PURE__ */ (0, x.jsx)(nk, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": "PikPak 根目录对应的媒体文件夹",selectedKey: i.pikpak_root || null,isDisabled: !e.available,@@ -55978,13 +55998,13 @@ function OEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {...i,pikpak_root: e === null ? "" : String(e)}),- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, x.jsx)(_P, {+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, x.jsx)(gP, {id: e,children: e}, e))- }) : /* @__PURE__ */ (0, x.jsx)(tk, { children: "先在「媒体」分组添加 PikPak 挂载的文件夹,这里才能选。" })]+ }) : /* @__PURE__ */ (0, x.jsx)(ek, { children: "先在「媒体」分组添加 PikPak 挂载的文件夹,这里才能选。" })]}),- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {label: "等待上限(小时)",type: "number",inputMode: "numeric",@@ -55995,11 +56015,11 @@ function OEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {onChange: l})] }),- S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)($O, {+ S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)(QO, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(UO, { label: "正在检查 CloudDrive2" })+ children: /* @__PURE__ */ (0, x.jsx)(HO, { label: "正在检查 CloudDrive2" })}) : null,- u ? /* @__PURE__ */ (0, x.jsx)(kEe, {+ u ? /* @__PURE__ */ (0, x.jsx)(jEe, {report: u,detected: f,suggested: m,@@ -56011,7 +56031,7 @@ function OEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {pikpak_root: i.pikpak_root,pikpak_account: r};- S.run("folder", (e) => B(CEe, t, "POST", e), (t) => {+ S.run("folder", (e) => B(TEe, t, "POST", e), (t) => {d(t), h((t) => ({...t,target: {@@ -56023,11 +56043,11 @@ function OEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {} : void 0,creating: S.busy === "folder"}) : null,- g || S.error ? /* @__PURE__ */ (0, x.jsx)($O, {+ g || S.error ? /* @__PURE__ */ (0, x.jsx)(QO, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(nk, { children: g || S.error })+ children: /* @__PURE__ */ (0, x.jsx)(tk, { children: g || S.error })}) : null,- /* @__PURE__ */ (0, x.jsxs)(ek, {+ /* @__PURE__ */ (0, x.jsxs)($O, {status: e.available ? void 0 : "云下载只在账本写入端可用。",children: [/* @__PURE__ */ (0, x.jsx)(W, {onClick: () => {@@ -56042,7 +56062,7 @@ function OEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {pikpak_root: i.pikpak_root,pikpak_account: r};- S.run("check", (e) => B(fz, t, "POST", e), (t) => E(t, e), (e) => _(z(e)));+ S.run("check", (e) => B(dz, t, "POST", e), (t) => E(t, e), (e) => _(z(e)));},disabled: !e.available,...K(S.busy === "check"),@@ -56057,25 +56077,25 @@ function OEe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {]});}-var hz = {+var mz = {target: null,root: "",saved: !1};-function kEe({ report: e, detected: t, suggested: n, create: r, creating: i }) {+function jEe({ report: e, detected: t, suggested: n, create: r, creating: i }) {let a = n.target;- return /* @__PURE__ */ (0, x.jsxs)($O, {+ return /* @__PURE__ */ (0, x.jsxs)(QO, {divided: !0,- children: [/* @__PURE__ */ (0, x.jsxs)(ak, { children: [- t ? /* @__PURE__ */ (0, x.jsx)(ok, {+ children: [/* @__PURE__ */ (0, x.jsxs)(ik, { children: [+ t ? /* @__PURE__ */ (0, x.jsx)(ak, {term: "CloudDrive2 地址",children: `探测到 ${t},保存配置后生效`}) : null,- a?.exists ? /* @__PURE__ */ (0, x.jsx)(ok, {+ a?.exists ? /* @__PURE__ */ (0, x.jsx)(ak, {term: "115 目标目录",children: n.saved ? `已按推送发现填入 ${a.path}` : `按推送发现填入 ${a.path},保存配置后生效`}) : null,- a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(ok, {+ a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(ak, {term: "115 目标目录",children: [`${a.path} 不存在`, r ? /* @__PURE__ */ (0, x.jsx)(W, {size: "small",@@ -56084,49 +56104,49 @@ function kEe({ report: e, detected: t, suggested: n, create: r, creating: i }) {children: "新建这个目录"}) : null]}) : null,- n.root ? /* @__PURE__ */ (0, x.jsx)(ok, {+ n.root ? /* @__PURE__ */ (0, x.jsx)(ak, {term: "PikPak 根目录",children: `按推送发现填入 ${n.root},保存配置后生效`}) : null,- e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(ok, {+ e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(ak, {term: "离线权限",children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"}) : null,- e.folder ? /* @__PURE__ */ (0, x.jsx)(ok, {+ e.folder ? /* @__PURE__ */ (0, x.jsx)(ak, {term: "目标目录",children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`}) : null,- e.quota ? /* @__PURE__ */ (0, x.jsx)(ok, {+ e.quota ? /* @__PURE__ */ (0, x.jsx)(ak, {term: "115 离线配额",children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`}) : null- ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(nk, { children: e }, e))]+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(tk, { children: e }, e))]});}-function AEe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {- let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(""), h = qO(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";+function MEe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {+ let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(""), h = KO(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";(0, b.useEffect)(() => {if (!v) return;let e = new AbortController(), r, i = async () => {try {- let r = await nn(pz, e.signal);+ let r = await nn(fz, e.signal);if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;} catch (t) {if (e.signal.aborted) return;f(z(t));}- r = setTimeout(i, mz);+ r = setTimeout(i, pz);};- return r = setTimeout(i, mz), () => {+ return r = setTimeout(i, pz), () => {e.abort(), clearTimeout(r);};}, [v]);let y = () => {- m(""), h.run("browser", (e) => B(pz, {}, "POST", e), (e) => {+ m(""), h.run("browser", (e) => B(fz, {}, "POST", e), (e) => {t(e), f("");}, (e) => f(z(e)));}, S = () => {- h.run("cancel", (e) => B(`${pz}/cancel`, {}, "POST", e), (e) => {+ h.run("cancel", (e) => B(`${fz}/cancel`, {}, "POST", e), (e) => {t(e), f(""), m(e.pikpak_browser.message);}, (e) => f(z(e)));}, C = (e) => {@@ -56136,15 +56156,15 @@ function AEe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {password: a,remember: s};- h.run("login", (e) => B(wEe, i, "POST", e), (e) => {+ h.run("login", (e) => B(EEe, i, "POST", e), (e) => {t(e.settings), f(""), e.ok ? (u(""), o(""), n("已登录 PikPak")) : u(e.captcha_url ?? "");}, (e) => f(z(e)));}, w = () => {- h.run("logout", (e) => B(TEe, {}, "POST", e), (e) => {+ h.run("logout", (e) => B(DEe, {}, "POST", e), (e) => {t(e), f(""), n("已登出 PikPak");}, (e) => f(z(e)));}, T = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {label: "账号",placeholder: "邮箱或手机号",autoComplete: "username",@@ -56153,7 +56173,7 @@ function AEe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {isDisabled: !e.available,onChange: i}),- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {label: "密码",type: "password",autoComplete: "current-password",@@ -56162,7 +56182,7 @@ function AEe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {isDisabled: !e.available,onChange: o}),- /* @__PURE__ */ (0, x.jsx)(CP, {+ /* @__PURE__ */ (0, x.jsx)(SP, {isSelected: s,isDisabled: !e.available,onChange: c,@@ -56173,7 +56193,7 @@ function AEe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {title: "需要人机验证",extra: /* @__PURE__ */ (0, x.jsx)("div", {className: "pt-2",- children: /* @__PURE__ */ (0, x.jsx)(ik, {+ children: /* @__PURE__ */ (0, x.jsx)(rk, {href: l,children: "打开 PikPak 验证页"})@@ -56186,31 +56206,31 @@ function AEe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {...K(h.busy === "login"),children: "登录"}), D = _.state === "timeout" || _.state === "failed";- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: "PikPak 账号",onSubmit: C,children: [- g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(ak, { children: [/* @__PURE__ */ (0, x.jsx)(ok, {+ g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(ik, { children: [/* @__PURE__ */ (0, x.jsx)(ak, {term: "账号",children: g.username || "已登录"- }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(ok, {+ }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(ak, {term: "登录方式",children: "浏览器登录,由 Peach 续期"- }) : /* @__PURE__ */ (0, x.jsx)(ok, {+ }) : /* @__PURE__ */ (0, x.jsx)(ak, {term: "密码",children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"- })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)($O, { children: [- /* @__PURE__ */ (0, x.jsx)(tk, { children: "在弹出的浏览器窗口里登录 PikPak,之后由 Peach 自动续期。" }),- p ? D ? /* @__PURE__ */ (0, x.jsx)(nk, { children: p }) : /* @__PURE__ */ (0, x.jsx)(tk, {+ })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)(QO, { children: [+ /* @__PURE__ */ (0, x.jsx)(ek, { children: "在弹出的浏览器窗口里登录 PikPak,之后由 Peach 自动续期。" }),+ p ? D ? /* @__PURE__ */ (0, x.jsx)(tk, { children: p }) : /* @__PURE__ */ (0, x.jsx)(ek, {role: "status",children: p}) : null,- /* @__PURE__ */ (0, x.jsx)(sk, {+ /* @__PURE__ */ (0, x.jsx)(ok, {summary: "用账号密码登录",children: /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, x.jsx)(tk, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }),+ /* @__PURE__ */ (0, x.jsx)(ek, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }),T,/* @__PURE__ */ (0, x.jsx)("div", {className: "flex justify-end",@@ -56219,13 +56239,13 @@ function AEe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {]})})- ] }) : /* @__PURE__ */ (0, x.jsxs)($O, { children: [/* @__PURE__ */ (0, x.jsx)(tk, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }), T] }),- d || h.error ? /* @__PURE__ */ (0, x.jsx)($O, {+ ] }) : /* @__PURE__ */ (0, x.jsxs)(QO, { children: [/* @__PURE__ */ (0, x.jsx)(ek, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }), T] }),+ d || h.error ? /* @__PURE__ */ (0, x.jsx)(QO, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(nk, { children: d || h.error })+ children: /* @__PURE__ */ (0, x.jsx)(tk, { children: d || h.error })}) : null,- /* @__PURE__ */ (0, x.jsx)(ek, {- status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(UO, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,+ /* @__PURE__ */ (0, x.jsx)($O, {+ status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(HO, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,children: g.logged_in ? /* @__PURE__ */ (0, x.jsx)(W, {onClick: w,disabled: !e.available,@@ -56249,90 +56269,90 @@ function AEe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {}//#endregion//#region src/react/settings/maintenance-settings.tsx-var jEe = [+var NEe = [["6", "每 6 小时"],["24", "每天"],["168", "每周"]];-function MEe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {+function PEe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- ...uz(r),+ ...lz(r),children: [- /* @__PURE__ */ (0, x.jsx)(FEe, { facts: e.facts }),- /* @__PURE__ */ (0, x.jsx)(NEe, {+ /* @__PURE__ */ (0, x.jsx)(LEe, { facts: e.facts }),+ /* @__PURE__ */ (0, x.jsx)(FEe, {receipt: t,reopenTutorial: n}),- e.uninstall ? /* @__PURE__ */ (0, x.jsx)(IEe, {+ e.uninstall ? /* @__PURE__ */ (0, x.jsx)(REe, {uninstall: e.uninstall,receipt: t}) : null]});}-function NEe({ receipt: e, reopenTutorial: t }) {- let n = qO();- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+function FEe({ receipt: e, reopenTutorial: t }) {+ let n = KO();+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: "安装教程",- children: [/* @__PURE__ */ (0, x.jsxs)($O, { children: [/* @__PURE__ */ (0, x.jsx)(tk, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, x.jsx)(nk, { children: n.error }) : null] }), /* @__PURE__ */ (0, x.jsx)(ek, { children: /* @__PURE__ */ (0, x.jsx)(W, {+ children: [/* @__PURE__ */ (0, x.jsxs)(QO, { children: [/* @__PURE__ */ (0, x.jsx)(ek, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, x.jsx)(tk, { children: n.error }) : null] }), /* @__PURE__ */ (0, x.jsx)($O, { children: /* @__PURE__ */ (0, x.jsx)(W, {onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),...K(n.busy === "reopen"),children: "重新打开教程"}) })]});}-function PEe({ initial: e, receipt: t }) {- let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = qO(e.error), s = (r) => {+function IEe({ initial: e, receipt: t }) {+ let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = KO(e.error), s = (r) => {r.preventDefault(), e.available && o.run("save", (e) => B("/api/configuration/automatic-updates", {mode: n,interval_hours: i}, "POST", e), () => t("已保存配置"));}, c = e.available ? e.download_available ? "下载完成后在这里确认重启安装。" : void 0 : "自动更新需要由托盘管理的服务。";- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: "自动更新",onSubmit: s,children: [- /* @__PURE__ */ (0, x.jsxs)(QO, { children: [- /* @__PURE__ */ (0, x.jsx)(JO, {+ /* @__PURE__ */ (0, x.jsxs)(ZO, { children: [+ /* @__PURE__ */ (0, x.jsx)(qO, {label: "自动检查新版本",- children: /* @__PURE__ */ (0, x.jsx)(RL, {+ children: /* @__PURE__ */ (0, x.jsx)(LL, {"aria-label": "自动检查新版本",isSelected: n !== "off",isDisabled: !e.available,onChange: (e) => r(e ? "check" : "off")})}),- /* @__PURE__ */ (0, x.jsx)(JO, {+ /* @__PURE__ */ (0, x.jsx)(qO, {label: "自动下载更新",- children: /* @__PURE__ */ (0, x.jsx)(RL, {+ children: /* @__PURE__ */ (0, x.jsx)(LL, {"aria-label": "自动下载更新",isSelected: n === "download",isDisabled: !e.available || !e.download_available || n === "off",onChange: (e) => r(e ? "download" : "check")})}),- /* @__PURE__ */ (0, x.jsx)(JO, {+ /* @__PURE__ */ (0, x.jsx)(qO, {label: "检查频率",description: c,- children: /* @__PURE__ */ (0, x.jsx)(gP, {+ children: /* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": "检查频率",selectedKey: String(i),isDisabled: !e.available,onSelectionChange: (e) => {e !== null && a(Number(e));},- children: jEe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(_P, {+ children: NEe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(gP, {id: e,children: t}, e))})})] }),- o.error ? /* @__PURE__ */ (0, x.jsx)($O, {+ o.error ? /* @__PURE__ */ (0, x.jsx)(QO, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(nk, { children: o.error })+ children: /* @__PURE__ */ (0, x.jsx)(tk, { children: o.error })}) : null,- /* @__PURE__ */ (0, x.jsx)(ek, { children: /* @__PURE__ */ (0, x.jsx)(W, {+ /* @__PURE__ */ (0, x.jsx)($O, { children: /* @__PURE__ */ (0, x.jsx)(W, {type: "submit",disabled: !e.available,...K(o.busy === "save"),@@ -56341,22 +56361,22 @@ function PEe({ initial: e, receipt: t }) {]});}-function FEe({ facts: e }) {- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+function LEe({ facts: e }) {+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: "运行信息",- children: [/* @__PURE__ */ (0, x.jsx)(ak, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(ok, {+ children: [/* @__PURE__ */ (0, x.jsx)(ik, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(ak, {term: e.term,- children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(ik, {+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(rk, {href: e.download_url,children: e.download_label}) : null]- }, e.term)) }), /* @__PURE__ */ (0, x.jsx)(ek, { children: /* @__PURE__ */ (0, x.jsx)(XO, {+ }, e.term)) }), /* @__PURE__ */ (0, x.jsx)($O, { children: /* @__PURE__ */ (0, x.jsx)(YO, {href: "/diagnostics",children: "打开系统诊断"}) })]});}-function IEe({ uninstall: e, receipt: t }) {+function REe({ uninstall: e, receipt: t }) {let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), o = () => void rs({title: "卸载 Peach",danger: !0,@@ -56370,26 +56390,26 @@ function IEe({ uninstall: e, receipt: t }) {a(e.message);}}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+ return /* @__PURE__ */ (0, x.jsxs)(XO, {id: "uninstallPeach",title: "卸载 Peach",- children: [/* @__PURE__ */ (0, x.jsxs)($O, { children: [- e.available ? /* @__PURE__ */ (0, x.jsx)(tk, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,- /* @__PURE__ */ (0, x.jsx)(CP, {+ children: [/* @__PURE__ */ (0, x.jsxs)(QO, { children: [+ e.available ? /* @__PURE__ */ (0, x.jsx)(ek, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,+ /* @__PURE__ */ (0, x.jsx)(SP, {isSelected: n,isDisabled: !e.full_available || !!i,onChange: r,children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"}),- /* @__PURE__ */ (0, x.jsx)(sk, {+ /* @__PURE__ */ (0, x.jsx)(ok, {summary: "数据目录",- children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(dP, {+ children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(uP, {path: e,className: "text-body-2-regular text-text-secondary",onRevealed: t}, e))})- ] }), /* @__PURE__ */ (0, x.jsx)(ek, {+ ] }), /* @__PURE__ */ (0, x.jsx)($O, {status: s ? /* @__PURE__ */ (0, x.jsx)("p", {role: i ? "status" : void 0,children: s@@ -56405,23 +56425,23 @@ function IEe({ uninstall: e, receipt: t }) {}//#endregion//#region src/react/settings/release-updates.tsx-var gz = /* @__PURE__ */ new Set([+var hz = /* @__PURE__ */ new Set(["downloading","verifying","extracting","preparing","restarting","installing"-]), LEe = [+]), zEe = [65,67,90-], _z = 120;-function REe({ initial: e, initialJob: t }) {+], gz = 120;+function BEe({ initial: e, initialJob: t }) {let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(t || {state: "idle",progress: 0- }), [o, s] = (0, b.useState)(""), c = qO(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = gz.has(i.state);+ }), [o, s] = (0, b.useState)(""), c = KO(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = hz.has(i.state);(0, b.useEffect)(() => (u.current = !0, () => {u.current = !1;}), []);@@ -56438,7 +56458,7 @@ function REe({ initial: e, initialJob: t }) {(0, b.useEffect)(() => {i.state !== "ready" || l.current || (l.current = !0, p());}, [i.state]), (0, b.useEffect)(() => {- let e = new AbortController(), t = gz.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {+ let e = new AbortController(), t = hz.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {try {let t = await nn("/api/configuration/update-status", e.signal);if (e.signal.aborted) return;@@ -56451,9 +56471,9 @@ function REe({ initial: e, initialJob: t }) {let n = await nn("/api/configuration/automatic-updates", e.signal);!e.signal.aborted && n.result && r(n.result);} catch {- o += 1, o >= _z && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");+ o += 1, o >= gz && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");}- !e.signal.aborted && o < _z && (n = setTimeout(c, t));+ !e.signal.aborted && o < gz && (n = setTimeout(c, t));};return n = setTimeout(c, t), () => {e.abort(), clearTimeout(n);@@ -56467,57 +56487,57 @@ function REe({ initial: e, initialJob: t }) {state: "error"}), c.setError(z(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, x.jsxs)(ZO, {+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: "检查更新",children: [- /* @__PURE__ */ (0, x.jsxs)(ak, { children: [- /* @__PURE__ */ (0, x.jsx)(ok, {+ /* @__PURE__ */ (0, x.jsxs)(ik, { children: [+ /* @__PURE__ */ (0, x.jsx)(ak, {term: "当前版本",children: n.current_version}),- /* @__PURE__ */ (0, x.jsx)(ok, {+ /* @__PURE__ */ (0, x.jsx)(ak, {term: "安装方式",children: n.installation}),- /* @__PURE__ */ (0, x.jsx)(ok, {+ /* @__PURE__ */ (0, x.jsx)(ak, {term: "更新通道",children: n.channel}),- /* @__PURE__ */ (0, x.jsx)(ok, {+ /* @__PURE__ */ (0, x.jsx)(ak, {term: "最新版本",children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")})] }),- n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)($O, {+ n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)(QO, {divided: !0,children: [- n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(tk, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,+ n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(ek, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,n.state === "available" && !g ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "info",title: "有可用更新",children: n.message- }) : g || n.state === "error" ? /* @__PURE__ */ (0, x.jsx)(nk, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(tk, {+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, x.jsx)(tk, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(ek, {role: "status",children: n.message}),- i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(nk, { children: i.message }) : null,+ i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(tk, { children: i.message }) : null,i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, x.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(KO, {+ /* @__PURE__ */ (0, x.jsx)(GO, {label: "更新准备进度",value: i.progress,- stops: LEe+ stops: zEe}),- /* @__PURE__ */ (0, x.jsxs)(tk, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),- /* @__PURE__ */ (0, x.jsx)(tk, { children: _ })+ /* @__PURE__ */ (0, x.jsxs)(ek, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),+ /* @__PURE__ */ (0, x.jsx)(ek, { children: _ })]}) : null]}),- /* @__PURE__ */ (0, x.jsxs)(ek, {- status: /* @__PURE__ */ (0, x.jsx)(ik, {+ /* @__PURE__ */ (0, x.jsxs)($O, {+ status: /* @__PURE__ */ (0, x.jsx)(rk, {href: n.release_url,children: "查看发布页"}),@@ -56544,28 +56564,28 @@ function REe({ initial: e, initialJob: t }) {}//#endregion//#region src/react/settings/general-settings.tsx-function zEe({ data: e, receipt: t, panel: n }) {+function VEe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- ...uz(n),+ ...lz(n),children: [- e.startup ? /* @__PURE__ */ (0, x.jsx)(BEe, {+ e.startup ? /* @__PURE__ */ (0, x.jsx)(HEe, {startup: e.startup,receipt: t}) : null,- e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(PEe, {+ e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(IEe, {initial: e.automatic_updates,receipt: t}) : null,- e.updates ? /* @__PURE__ */ (0, x.jsx)(REe, {+ e.updates ? /* @__PURE__ */ (0, x.jsx)(BEe, {initial: e.updates,initialJob: e.update_job}) : null]});}-function BEe({ startup: e, receipt: t }) {- let [n, r] = (0, b.useState)(e.enabled), [i, a] = (0, b.useState)(e.silent), [o, s] = (0, b.useState)(e.desktop), c = qO(), l = e.available && !e.desktop_message;- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+function HEe({ startup: e, receipt: t }) {+ let [n, r] = (0, b.useState)(e.enabled), [i, a] = (0, b.useState)(e.silent), [o, s] = (0, b.useState)(e.desktop), c = KO(), l = e.available && !e.desktop_message;+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: "开机自启",onSubmit: (r) => {r.preventDefault(), e.available && c.run("save", (e) => B("/api/configuration/startup", {@@ -56575,30 +56595,30 @@ function BEe({ startup: e, receipt: t }) {}, "POST", e), () => t("已保存配置"));},children: [- /* @__PURE__ */ (0, x.jsxs)(QO, { children: [- /* @__PURE__ */ (0, x.jsx)(JO, {+ /* @__PURE__ */ (0, x.jsxs)(ZO, { children: [+ /* @__PURE__ */ (0, x.jsx)(qO, {label: "开机后启动 Peach",- children: /* @__PURE__ */ (0, x.jsx)(RL, {+ children: /* @__PURE__ */ (0, x.jsx)(LL, {"aria-label": "开机后启动 Peach",isSelected: n,isDisabled: !e.available,onChange: r})}),- /* @__PURE__ */ (0, x.jsx)(JO, {+ /* @__PURE__ */ (0, x.jsx)(qO, {label: "静默启动",description: "开机后只显示托盘图标,不打开网页。",- children: /* @__PURE__ */ (0, x.jsx)(RL, {+ children: /* @__PURE__ */ (0, x.jsx)(LL, {"aria-label": "静默启动",isSelected: i,isDisabled: !e.available || !n,onChange: a})}),- /* @__PURE__ */ (0, x.jsx)(JO, {+ /* @__PURE__ */ (0, x.jsx)(qO, {label: "在桌面创建快捷方式",description: e.desktop_message || "双击图标打开 Peach 网页。",- children: /* @__PURE__ */ (0, x.jsx)(RL, {+ children: /* @__PURE__ */ (0, x.jsx)(LL, {"aria-label": "在桌面创建快捷方式",isSelected: o,isDisabled: !l,@@ -56606,11 +56626,11 @@ function BEe({ startup: e, receipt: t }) {})})] }),- e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)($O, {+ e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)(QO, {divided: !0,- children: [e.message ? /* @__PURE__ */ (0, x.jsx)(tk, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(nk, { children: c.error }) : null]+ children: [e.message ? /* @__PURE__ */ (0, x.jsx)(ek, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(tk, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, x.jsx)(ek, { children: /* @__PURE__ */ (0, x.jsx)(W, {+ /* @__PURE__ */ (0, x.jsx)($O, { children: /* @__PURE__ */ (0, x.jsx)(W, {type: "submit",disabled: !e.available,...K(c.busy === "save"),@@ -56621,7 +56641,7 @@ function BEe({ startup: e, receipt: t }) {}//#endregion//#region src/react/restart-redirect.ts-var VEe = 8e3, HEe = [+var UEe = 8e3, WEe = [{name: "机械硬盘,或内存 8 GB 以内",cache: "10–20 GiB",@@ -56640,33 +56660,33 @@ var VEe = 8e3, HEe = [read: "256 / 128 KB",task: "2 个起步"}-], UEe = [+], GEe = [["cache", "缓存上限"],["read", "读取长度(默认 / 最小)"],["task", "同时处理视频"]];-function WEe() {+function KEe() {return /* @__PURE__ */ (0, x.jsx)("div", {className: "@container flex flex-col gap-3",- children: /* @__PURE__ */ (0, x.jsxs)(sk, {+ children: /* @__PURE__ */ (0, x.jsxs)(ok, {summary: "CloudDrive 设置帮助",children: [- /* @__PURE__ */ (0, x.jsxs)(tk, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(ik, {+ /* @__PURE__ */ (0, x.jsxs)(ek, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(rk, {href: "https://www.clouddrive2.com/help.html",children: "挂载帮助"})] }),- /* @__PURE__ */ (0, x.jsx)(tk, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),+ /* @__PURE__ */ (0, x.jsx)(ek, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),/* @__PURE__ */ (0, x.jsx)("ul", {"aria-label": "按缓存所在硬盘分档",className: "flex flex-col gap-2",- children: HEe.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {+ children: WEe.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",children: [/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-medium text-text-primary",children: e.name}), /* @__PURE__ */ (0, x.jsx)("dl", {className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",- children: UEe.map(([t, n]) => /* @__PURE__ */ (0, x.jsxs)("div", {+ children: GEe.map(([t, n]) => /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col",children: [/* @__PURE__ */ (0, x.jsx)("dt", {className: "text-caption-1-regular text-text-secondary",@@ -56687,9 +56707,9 @@ function WEe() {/* @__PURE__ */ (0, x.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })]}),- /* @__PURE__ */ (0, x.jsxs)(tk, { children: [+ /* @__PURE__ */ (0, x.jsxs)(ek, { children: ["三处缓存的分工、往上调的方法和这些起步值的来源在",- /* @__PURE__ */ (0, x.jsx)(ik, {+ /* @__PURE__ */ (0, x.jsx)(rk, {href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",children: "CloudDrive 配置与调优"}),@@ -56701,7 +56721,7 @@ function WEe() {}//#endregion//#region src/react/settings/folder-rows.tsx-function GEe({ className: e }) {+function qEe({ className: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -56714,12 +56734,12 @@ function GEe({ className: e }) {children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-search" })});}-var vz = [+var _z = [["local", "本地磁盘"],["115", "CloudDrive · 115"],["pikpak", "CloudDrive · PikPak"]-], yz = (e) => Ua[e] || "database", KEe = (e) => e === "115" || e === "pikpak";-function qEe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {+], vz = (e) => Ua[e] || "database", JEe = (e) => e === "115" || e === "pikpak";+function YEe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)([]), [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(null), p = (0, b.useRef)(!1), m = (0, b.useRef)([]);(0, b.useLayoutEffect)(() => {l !== null && (m.current[l]?.focus(), u(null));@@ -56762,7 +56782,7 @@ function qEe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:}};}-function JEe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {+function XEe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {let u = (0, b.useRef)(null), d = () => {let e = u.current;e && e.ownerDocument.activeElement !== e && (e.scrollLeft = e.scrollWidth);@@ -56775,7 +56795,7 @@ function JEe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex items-start gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {className: "min-w-0 flex-1","aria-label": e,placeholder: "本机文件夹路径",@@ -56793,14 +56813,14 @@ function JEe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,className: "flex h-10 shrink-0 items-center",children: c}) : null,- /* @__PURE__ */ (0, x.jsx)(uP, {- icon: GEe,+ /* @__PURE__ */ (0, x.jsx)(lP, {+ icon: qEe,"aria-label": "选择文件夹",onClick: o,...K(a)}),- s ? /* @__PURE__ */ (0, x.jsx)(uP, {- icon: iO,+ s ? /* @__PURE__ */ (0, x.jsx)(lP, {+ icon: rO,"aria-label": "移除这个文件夹",onClick: s}) : null@@ -56811,23 +56831,23 @@ function JEe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,})]});}-function YEe({ index: e, value: t, onChange: n, options: r = vz }) {- return /* @__PURE__ */ (0, x.jsx)(gP, {+function ZEe({ index: e, value: t, onChange: n, options: r = _z }) {+ return /* @__PURE__ */ (0, x.jsx)(hP, {className: "w-full @lg:w-60","aria-label": `媒体来源 ${e + 1}`,selectedKey: t,onSelectionChange: (e) => {e !== null && n(String(e));},- children: r.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(_P, {+ children: r.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(gP, {id: e,textValue: t,- children: [/* @__PURE__ */ (0, x.jsx)(ck, { mark: yz(e) }), t]+ children: [/* @__PURE__ */ (0, x.jsx)(sk, { mark: vz(e) }), t]}, e))});}-function XEe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {- return /* @__PURE__ */ (0, x.jsx)(PP, {+function QEe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {+ return /* @__PURE__ */ (0, x.jsx)(NP, {label: n,placeholder: r,value: e,@@ -56836,7 +56856,7 @@ function XEe({ value: e, onChange: t, label: n = "Windows 中的对应路径", p}//#endregion//#region src/react/settings/library-icon-picker.tsx-var bz = [+var yz = [["", "自动识别"],["hard-drive", "磁盘"],["database", "资料库"],@@ -56880,13 +56900,13 @@ var bz = [["star", "收藏"],["tags", "主题"]];-function ZEe(e) {+function $Ee(e) {let t = e === "local" ? "" : Ua[e];return t ? [t, "自动识别"] : ["hard-drive", "默认"];}-var xz = "auto";-function QEe({ value: e, label: t, kind: n = "local", onChange: r }) {- let i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(e), [l, u] = ZEe(n);+var bz = "auto";+function eDe({ value: e, label: t, kind: n = "local", onChange: r }) {+ let i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(e), [l, u] = $Ee(n);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(W, {ref: i,variant: "secondary",@@ -56900,35 +56920,35 @@ function QEe({ value: e, label: t, kind: n = "local", onChange: r }) {children: /* @__PURE__ */ (0, x.jsxs)("span", {"data-icon-choice": !0,className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, x.jsx)(ck, { mark: e || l }), ((e) => e && bz.find(([t]) => t === e)?.[1] || u)(e)]+ children: [/* @__PURE__ */ (0, x.jsx)(sk, { mark: e || l }), ((e) => e && yz.find(([t]) => t === e)?.[1] || u)(e)]})- }), /* @__PURE__ */ (0, x.jsx)(mA, {+ }), /* @__PURE__ */ (0, x.jsx)(pA, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom start",offset: 4,- className: VN,- children: /* @__PURE__ */ (0, x.jsxs)(TA, {+ className: BN,+ children: /* @__PURE__ */ (0, x.jsxs)(wA, {"aria-label": `${t}候选`,className: "flex w-72 flex-col gap-3 outline-none",children: [- /* @__PURE__ */ (0, x.jsx)(zk, {+ /* @__PURE__ */ (0, x.jsx)(Rk, {slot: "title",className: "px-1 text-body-medium text-text-primary",children: "选择媒体库图标"}),- /* @__PURE__ */ (0, x.jsx)(MA, {+ /* @__PURE__ */ (0, x.jsx)(jA, {"aria-label": "候选图标",- value: s || xz,- onChange: (e) => c(e === xz ? "" : e),+ value: s || bz,+ onChange: (e) => c(e === bz ? "" : e),className: "inline-grid grid-cols-7 gap-1",- children: bz.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(NA, {- value: e || xz,+ children: yz.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(MA, {+ value: e || bz,"aria-label": e ? t : u,className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",- children: /* @__PURE__ */ (0, x.jsx)(ck, { mark: e || l })- }, e || xz))+ children: /* @__PURE__ */ (0, x.jsx)(sk, { mark: e || l })+ }, e || bz))}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",@@ -56950,9 +56970,9 @@ function QEe({ value: e, label: t, kind: n = "local", onChange: r }) {}//#endregion//#region src/react/settings/push-discovery-settings.tsx-var $Ee = "/api/configuration/push-discovery", eDe = "/api/configuration/push-discovery/secret";-function tDe({ initial: e, receipt: t }) {- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = qO(), l = cP(), u = n.media_roots, [d, f] = (0, b.useState)(e), p = (e, n) => {+var tDe = "/api/configuration/push-discovery", nDe = "/api/configuration/push-discovery/secret";+function rDe({ initial: e, receipt: t }) {+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = KO(), l = sP(), u = n.media_roots, [d, f] = (0, b.useState)(e), p = (e, n) => {r(e), f(e), a(e.prefixes), s(""), t(n);}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {...n,@@ -56965,21 +56985,21 @@ function tDe({ initial: e, receipt: t }) {cloud: n.cloud,prefixes: i};- c.run("save", (e) => B($Ee, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(z(e)));+ c.run("save", (e) => B(tDe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(z(e)));}, g = () => {- c.run("secret", (e) => B(eDe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(z(e)));+ c.run("secret", (e) => B(nDe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(z(e)));}, _ = () => {navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看配置」选中自己复制。"));}, v = `已入库 ${d.queue.ingested} 个文件` + (d.queue.pending ? `,队列里还有 ${d.queue.pending} 条` : ""), y = d.local_running ? `正在监视 ${d.local_roots.join("、")}` : d.local_message || "没有运行";- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: "推送发现",onSubmit: h,children: [- /* @__PURE__ */ (0, x.jsxs)(QO, { children: [- /* @__PURE__ */ (0, x.jsx)(JO, {+ /* @__PURE__ */ (0, x.jsxs)(ZO, { children: [+ /* @__PURE__ */ (0, x.jsx)(qO, {label: "新文件落地就入库",description: d.enabled ? v : void 0,- children: /* @__PURE__ */ (0, x.jsx)(RL, {+ children: /* @__PURE__ */ (0, x.jsx)(LL, {"aria-label": "新文件落地就入库",isSelected: n.enabled,isDisabled: !n.available,@@ -56989,10 +57009,10 @@ function tDe({ initial: e, receipt: t }) {})})}),- /* @__PURE__ */ (0, x.jsx)(JO, {+ /* @__PURE__ */ (0, x.jsx)(qO, {label: "监视本机文件夹",description: d.enabled && d.watch_local ? y : void 0,- children: /* @__PURE__ */ (0, x.jsx)(RL, {+ children: /* @__PURE__ */ (0, x.jsx)(LL, {"aria-label": "监视本机文件夹",isSelected: n.watch_local,isDisabled: !n.available || !n.enabled,@@ -57002,9 +57022,9 @@ function tDe({ initial: e, receipt: t }) {})})}),- /* @__PURE__ */ (0, x.jsx)(JO, {+ /* @__PURE__ */ (0, x.jsx)(qO, {label: "接收 CloudDrive2 通知",- children: /* @__PURE__ */ (0, x.jsx)(RL, {+ children: /* @__PURE__ */ (0, x.jsx)(LL, {"aria-label": "接收 CloudDrive2 通知",isSelected: n.cloud,isDisabled: !n.available || !n.enabled,@@ -57014,7 +57034,7 @@ function tDe({ initial: e, receipt: t }) {})})}),- d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)(JO, {+ d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)(qO, {label: "Webhook 配置",description: d.config_toml ? "贴进 CloudDrive2「设置 → Webhooks」,需要会员;更换密钥后要重贴。" : d.origin ? "还没有共享密钥,保存配置后生成。" : "要先有 CloudDrive2 能访问的 HTTPS 地址才能生成。",children: d.config_toml ? /* @__PURE__ */ (0, x.jsx)(W, {@@ -57024,11 +57044,11 @@ function tDe({ initial: e, receipt: t }) {}) : null}) : null] }),- d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)($O, {+ d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(QO, {divided: !0,children: /* @__PURE__ */ (0, x.jsx)("div", {className: "flex flex-col gap-3",- children: /* @__PURE__ */ (0, x.jsxs)(sk, {+ children: /* @__PURE__ */ (0, x.jsxs)(ok, {summary: "查看配置",children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "relative",@@ -57038,16 +57058,16 @@ function tDe({ initial: e, receipt: t }) {className: "overflow-x-auto rounded-2xl bg-background-tertiary-default p-3 text-caption-1-regular whitespace-pre text-text-primary",children: d.config_toml})- }), /* @__PURE__ */ (0, x.jsx)(tk, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]+ }), /* @__PURE__ */ (0, x.jsx)(ek, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]})})}) : null,- n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)($O, {+ n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)(QO, {divided: !0,children: /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, x.jsx)(rk, { children: "云端路径前缀" }),+ /* @__PURE__ */ (0, x.jsx)(nk, { children: "云端路径前缀" }),/* @__PURE__ */ (0, x.jsx)("div", {role: "group","aria-label": "云端路径前缀",@@ -57055,7 +57075,7 @@ function tDe({ initial: e, receipt: t }) {children: i.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex items-start gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {className: "min-w-0 flex-1","aria-label": `云端路径前缀 ${t + 1}`,placeholder: "/115",@@ -57064,19 +57084,19 @@ function tDe({ initial: e, receipt: t }) {value: e.prefix,onChange: (e) => m(t, { prefix: e })}),- /* @__PURE__ */ (0, x.jsx)(gP, {+ /* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": `前缀 ${t + 1} 对应的媒体根`,selectedKey: e.root,onSelectionChange: (e) => {e !== null && m(t, { root: String(e) });},- children: u.map((e) => /* @__PURE__ */ (0, x.jsx)(_P, {+ children: u.map((e) => /* @__PURE__ */ (0, x.jsx)(gP, {id: e,children: e}, e))}),- /* @__PURE__ */ (0, x.jsx)(uP, {- icon: iO,+ /* @__PURE__ */ (0, x.jsx)(lP, {+ icon: rO,"aria-label": "移除这一条",onClick: () => a((e) => e.filter((e, n) => n !== t))})@@ -57094,11 +57114,11 @@ function tDe({ initial: e, receipt: t }) {]})}) : null,- o || c.error ? /* @__PURE__ */ (0, x.jsx)($O, {+ o || c.error ? /* @__PURE__ */ (0, x.jsx)(QO, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(nk, { children: o || c.error })+ children: /* @__PURE__ */ (0, x.jsx)(tk, { children: o || c.error })}) : null,- /* @__PURE__ */ (0, x.jsxs)(ek, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(W, {+ /* @__PURE__ */ (0, x.jsxs)($O, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(W, {onClick: g,disabled: !n.available,...K(c.busy === "secret"),@@ -57114,29 +57134,29 @@ function tDe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/media-settings.tsx-var nDe = (e) => vz.find(([t]) => t === e)?.[1] ?? e, rDe = async (e) => (await B(yEe, { initial: e })).path, Sz = (e = "") => ({+var iDe = (e) => _z.find(([t]) => t === e)?.[1] ?? e, aDe = async (e) => (await B(xEe, { initial: e })).path, xz = (e = "") => ({path: e,location: "local",root: "",library: "",library_icon: ""});-function iDe(e) {- let t = e.media_sources?.filter((e) => vz.some(([t]) => t === e.location));+function oDe(e) {+ let t = e.media_sources?.filter((e) => _z.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) => Sz(e));+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => xz(e));}-var aDe = (e) => !(e instanceof en) || e.status !== 400 ? null : e.body?.errors ?? null;-function oDe({ data: e, receipt: t, panel: n }) {+var sDe = (e) => !(e instanceof en) || e.status !== 400 ? null : e.body?.errors ?? null;+function cDe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- ...uz(n),+ ...lz(n),children: [- e.editable ? /* @__PURE__ */ (0, x.jsx)(sDe, {+ e.editable ? /* @__PURE__ */ (0, x.jsx)(lDe, {data: e,receipt: t}) : /* @__PURE__ */ (0, x.jsx)(G, {@@ -57144,28 +57164,28 @@ function oDe({ data: e, receipt: t, panel: n }) {title: "只读",children: e.notice}),- e.editable ? null : /* @__PURE__ */ (0, x.jsx)(cDe, { data: e }),- e.push_discovery ? /* @__PURE__ */ (0, x.jsx)(tDe, {+ e.editable ? null : /* @__PURE__ */ (0, x.jsx)(uDe, { data: e }),+ e.push_discovery ? /* @__PURE__ */ (0, x.jsx)(rDe, {initial: e.push_discovery,receipt: t}) : null]});}-function sDe({ data: e, receipt: t }) {- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = qEe({- initial: () => iDe(e),- blank: () => Sz(),- pickFolder: rDe,+function lDe({ data: e, receipt: t }) {+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = YEe({+ initial: () => oDe(e),+ blank: () => xz(),+ pickFolder: aDe,describe: z- }), [d, f] = (0, b.useState)(String(e.port)), [p, m] = (0, b.useState)(!1), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), [y, S] = (0, b.useState)(null), C = (0, b.useRef)(e.revision), w = qO();+ }), [d, f] = (0, b.useState)(String(e.port)), [p, m] = (0, b.useState)(!1), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), [y, S] = (0, b.useState)(null), C = (0, b.useRef)(e.revision), w = KO();(0, b.useEffect)(() => {if (!y) return;- let e = setTimeout(() => location.assign(y.url), VEe);+ let e = setTimeout(() => location.assign(y.url), UEe);return () => clearTimeout(e);}, [y]);let T = (r) => {- r.preventDefault(), v(""), w.run("save", (t) => B(az, {+ r.preventDefault(), v(""), w.run("save", (t) => B(iz, {revision: C.current,media_dirs: n.map((e) => e.path),...e.media_sources ? { media_sources: n } : {},@@ -57174,18 +57194,18 @@ function sDe({ data: e, receipt: t }) {}, "POST", t), (e) => {C.current = e.revision, s([]), g(""), t("已保存配置"), S(e);}, (e) => {- let t = aDe(e);+ let t = sDe(e);s(t?.media_dirs ?? []), g(t?.port ?? ""), t || v(z(e));});};- if (y) return /* @__PURE__ */ (0, x.jsx)(ZO, {+ if (y) return /* @__PURE__ */ (0, x.jsx)(XO, {title: "这台电脑",- children: /* @__PURE__ */ (0, x.jsx)($O, { children: /* @__PURE__ */ (0, x.jsxs)(G, {+ children: /* @__PURE__ */ (0, x.jsx)(QO, { children: /* @__PURE__ */ (0, x.jsxs)(G, {tone: "success",title: "配置已保存",children: ["Peach 正在重新启动。稍后自动跳转,或点击",- /* @__PURE__ */ (0, x.jsx)(XO, {+ /* @__PURE__ */ (0, x.jsx)(YO, {href: y.url,size: "small",children: "进入馆藏"@@ -57194,20 +57214,20 @@ function sDe({ data: e, receipt: t }) {]}) })});- let E = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, D = n.some((e) => KEe(e.location)), O = D ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+ let E = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, D = n.some((e) => JEe(e.location)), O = D ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: "这台电脑",onSubmit: T,- children: [/* @__PURE__ */ (0, x.jsxs)($O, { children: [+ children: [/* @__PURE__ */ (0, x.jsxs)(QO, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, x.jsx)(rk, { children: "媒体文件夹" }),+ /* @__PURE__ */ (0, x.jsx)(nk, { children: "媒体文件夹" }),/* @__PURE__ */ (0, x.jsx)("div", {role: "group","aria-label": "媒体文件夹",className: "flex flex-col gap-3",- children: n.map((t, i) => /* @__PURE__ */ (0, x.jsxs)(JEe, {+ children: n.map((t, i) => /* @__PURE__ */ (0, x.jsxs)(XEe, {label: `媒体文件夹 ${i + 1}`,path: t.path,onPath: (e) => r(i, { path: e }),@@ -57216,14 +57236,14 @@ function sDe({ data: e, receipt: t }) {picking: c === i,onPick: () => void l(i),onRemove: n.length > 1 ? () => a(i) : void 0,- status: E(t.path) ? /* @__PURE__ */ (0, x.jsx)(Cz, { online: E(t.path)?.online }) : null,+ status: E(t.path) ? /* @__PURE__ */ (0, x.jsx)(Sz, { online: E(t.path)?.online }) : null,children: [- /* @__PURE__ */ (0, x.jsx)(YEe, {+ /* @__PURE__ */ (0, x.jsx)(ZEe, {index: i,value: t.location,onChange: (e) => r(i, { location: e })}),- /* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(NP, {className: "min-w-40 flex-1","aria-label": `媒体库名称 ${i + 1}`,maxLength: 80,@@ -57231,13 +57251,13 @@ function sDe({ data: e, receipt: t }) {value: t.library,onChange: (e) => r(i, { library: e })}),- /* @__PURE__ */ (0, x.jsx)(QEe, {+ /* @__PURE__ */ (0, x.jsx)(eDe, {label: `媒体库图标 ${i + 1}`,value: t.library_icon,kind: t.location,onChange: (e) => r(i, { library_icon: e })}),- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(XEe, {+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(QEe, {value: t.root,onChange: (e) => r(i, { root: e })}) : null@@ -57251,18 +57271,18 @@ function sDe({ data: e, receipt: t }) {})]}),- D ? /* @__PURE__ */ (0, x.jsx)(WEe, {}) : null,- O.map((e) => /* @__PURE__ */ (0, x.jsxs)(tk, { children: [+ D ? /* @__PURE__ */ (0, x.jsx)(KEe, {}) : null,+ O.map((e) => /* @__PURE__ */ (0, x.jsxs)(ek, { children: ["未检测到 ",e.name,"。",- /* @__PURE__ */ (0, x.jsxs)(ik, {+ /* @__PURE__ */ (0, x.jsxs)(rk, {href: e.download_url,children: ["下载 ", e.name]})] }, e.name)),- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(tk, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,- e.port_editable === !1 ? null : /* @__PURE__ */ (0, x.jsx)(PP, {+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(ek, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, x.jsx)(NP, {id: "configPort",label: "本机访问端口",inputMode: "numeric",@@ -57272,7 +57292,7 @@ function sDe({ data: e, receipt: t }) {isInvalid: !!h,hint: h || "浏览器地址里冒号后面的数字,一般不用改。"}),- /* @__PURE__ */ (0, x.jsx)(CP, {+ /* @__PURE__ */ (0, x.jsx)(SP, {isSelected: p,onChange: m,children: "保存后扫描并补全资料"@@ -57282,7 +57302,7 @@ function sDe({ data: e, receipt: t }) {title: "没有保存",children: _}) : null- ] }), /* @__PURE__ */ (0, x.jsx)(ek, {+ ] }), /* @__PURE__ */ (0, x.jsx)($O, {status: e.port_editable === !1 ? void 0 : "保存后 Peach 会重新启动,端口改了就用新地址打开。",children: /* @__PURE__ */ (0, x.jsx)(W, {type: "submit",@@ -57292,7 +57312,7 @@ function sDe({ data: e, receipt: t }) {})]});}-function Cz({ online: e }) {+function Sz({ online: e }) {return e === !0 ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-mount": "online",className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",@@ -57316,21 +57336,21 @@ function Cz({ online: e }) {}), "未检测"]});}-function cDe({ data: e }) {- let t = e.media_sources, n = qO();- return t ? /* @__PURE__ */ (0, x.jsxs)(ZO, {+function uDe({ data: e }) {+ let t = e.media_sources, n = KO();+ return t ? /* @__PURE__ */ (0, x.jsxs)(XO, {title: "挂载状态",children: [- /* @__PURE__ */ (0, x.jsx)(ak, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(ok, {- term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(ck, { mark: yz(e.location) }), nDe(e.location)] }),- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(Cz, { online: e.online })]+ /* @__PURE__ */ (0, x.jsx)(ik, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(ak, {+ term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(sk, { mark: vz(e.location) }), iDe(e.location)] }),+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(Sz, { online: e.online })]}, t)) }),- n.error ? /* @__PURE__ */ (0, x.jsx)($O, {+ n.error ? /* @__PURE__ */ (0, x.jsx)(QO, {divided: !0,- children: /* @__PURE__ */ (0, x.jsx)(nk, { children: n.error })+ children: /* @__PURE__ */ (0, x.jsx)(tk, { children: n.error })}) : null,- /* @__PURE__ */ (0, x.jsx)(ek, { children: /* @__PURE__ */ (0, x.jsx)(W, {- onClick: () => void n.run("refresh", (e) => sz(e), (e) => V.setQueryData(oz, e)),+ /* @__PURE__ */ (0, x.jsx)($O, { children: /* @__PURE__ */ (0, x.jsx)(W, {+ onClick: () => void n.run("refresh", (e) => oz(e), (e) => V.setQueryData(az, e)),...K(n.busy === "refresh"),children: "刷新挂载状态"}) })@@ -57339,8 +57359,8 @@ function cDe({ data: e }) {}//#endregion//#region src/react/settings/password-pair.tsx-function lDe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(PP, {+function dDe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(NP, {id: "access-password",type: "password",label: e,@@ -57353,7 +57373,7 @@ function lDe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmavalidationBehavior: "aria",isInvalid: !a && !!o,hint: a ? s : o || s- }), /* @__PURE__ */ (0, x.jsx)(PP, {+ }), /* @__PURE__ */ (0, x.jsx)(NP, {id: "access-confirm",type: "password",label: "确认访问密码",@@ -57370,13 +57390,13 @@ function lDe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma}//#endregion//#region src/react/settings/access-settings.tsx-var uDe = {+var fDe = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"};-function dDe({ initial: e, receipt: t }) {- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(!1), [f, p] = (0, b.useState)({}), m = (0, b.useRef)(null), h = qO(), g = (e) => {+function pDe({ initial: e, receipt: t }) {+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(!1), [f, p] = (0, b.useState)({}), m = (0, b.useRef)(null), h = KO(), g = (e) => {e.preventDefault();let f = {};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 ? requestAnimationFrame(() => m.current?.querySelector("input[aria-invalid=\"true\"]")?.focus()) : h.run("save", (e) => B("/api/configuration/access", {@@ -57392,25 +57412,25 @@ function dDe({ initial: e, receipt: t }) {let t = e instanceof en ? e.body : null, n = t?.errors || t?.detail?.errors;n ? p(n) : h.setError(z(e));});- }, _ = uDe[n.mode], v = n.mode !== "locked";- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+ }, _ = fDe[n.mode], v = n.mode !== "locked";+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: "访问密码",onSubmit: g,children: [/* @__PURE__ */ (0, x.jsx)("div", {ref: m,- children: /* @__PURE__ */ (0, x.jsxs)($O, { children: [- _ ? /* @__PURE__ */ (0, x.jsx)(tk, { children: _ }) : null,+ children: /* @__PURE__ */ (0, x.jsxs)(QO, { children: [+ _ ? /* @__PURE__ */ (0, x.jsx)(ek, { children: _ }) : null,n.mode === "open" ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "warning",title: "未设置访问密码",children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"}) : null,- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, x.jsx)(CP, {+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, x.jsx)(SP, {isSelected: u,onChange: d,children: "关闭访问密码"}) : null,- n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(PP, {+ n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(NP, {id: "access-current",type: "password",label: "当前访问密码",@@ -57423,7 +57443,7 @@ function dDe({ initial: e, receipt: t }) {isInvalid: !!f.current_password,hint: f.current_password}) : null,- v ? /* @__PURE__ */ (0, x.jsx)(lDe, {+ v ? /* @__PURE__ */ (0, x.jsx)(dDe, {label: n.mode === "password" ? "新访问密码" : "设置访问密码",password: o,confirmation: c,@@ -57439,9 +57459,9 @@ function dDe({ initial: e, receipt: t }) {title: "访问范围",children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"}) : null,- h.error ? /* @__PURE__ */ (0, x.jsx)(nk, { children: h.error }) : null+ h.error ? /* @__PURE__ */ (0, x.jsx)(tk, { children: h.error }) : null] })- }), v ? /* @__PURE__ */ (0, x.jsx)(ek, { children: /* @__PURE__ */ (0, x.jsx)(W, {+ }), v ? /* @__PURE__ */ (0, x.jsx)($O, { children: /* @__PURE__ */ (0, x.jsx)(W, {type: "submit",...K(h.busy === "save"),children: "保存配置"@@ -57450,15 +57470,15 @@ function dDe({ initial: e, receipt: t }) {}//#endregion//#region src/configuration-copy.ts-var fDe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", pDe = "只填域名,留空用默认地址";+var mDe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", hDe = "只填域名,留空用默认地址";//#endregion//#region src/react/settings/entry-links-settings.tsx-function mDe({ initial: e, receipt: t }) {- let [n, r] = (0, b.useState)(e.sites), i = qO(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {+function gDe({ initial: e, receipt: t }) {+ let [n, r] = (0, b.useState)(e.sites), i = KO(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,host: t} : n));- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: "外部入口",onSubmit: (e) => {e.preventDefault();@@ -57467,9 +57487,9 @@ function mDe({ initial: e, receipt: t }) {r(e.sites), t("已保存配置");});},- children: [/* @__PURE__ */ (0, x.jsxs)($O, { children: [- /* @__PURE__ */ (0, x.jsx)(tk, { children: fDe }),- n.map((e) => /* @__PURE__ */ (0, x.jsx)(PP, {+ children: [/* @__PURE__ */ (0, x.jsxs)(QO, { children: [+ /* @__PURE__ */ (0, x.jsx)(ek, { children: mDe }),+ n.map((e) => /* @__PURE__ */ (0, x.jsx)(NP, {id: `entry-link-${e.key}`,label: `${e.label} 地址`,autoComplete: "off",@@ -57478,10 +57498,10 @@ function mDe({ initial: e, receipt: t }) {placeholder: e.default_host,onChange: (t) => a(e.key, t),validationBehavior: "aria",- hint: pDe+ hint: hDe}, e.key)),- i.error ? /* @__PURE__ */ (0, x.jsx)(nk, { children: i.error }) : null- ] }), /* @__PURE__ */ (0, x.jsx)(ek, { children: /* @__PURE__ */ (0, x.jsx)(W, {+ i.error ? /* @__PURE__ */ (0, x.jsx)(tk, { children: i.error }) : null+ ] }), /* @__PURE__ */ (0, x.jsx)($O, { children: /* @__PURE__ */ (0, x.jsx)(W, {type: "submit",...K(i.busy === "save"),children: "保存配置"@@ -57490,19 +57510,19 @@ function mDe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/tunnel-settings.tsx-var hDe = 2e3, gDe = [["quick", "临时链接"], ["named", "命名隧道"]], _De = {+var _De = 2e3, vDe = [["quick", "临时链接"], ["named", "命名隧道"]], yDe = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function vDe({ revision: e, initial: t, receipt: n }) {- let [r, i] = (0, b.useState)(t), [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(t.mode), [l, u] = (0, b.useState)(t.hostname), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)({}), h = qO(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";+function bDe({ revision: e, initial: t, receipt: n }) {+ let [r, i] = (0, b.useState)(t), [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(t.mode), [l, u] = (0, b.useState)(t.hostname), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)({}), h = KO(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";(0, b.useEffect)(() => {if (r.state !== "starting") return;let e = new AbortController(), t = window.setInterval(() => {- sz(e.signal).then((t) => {- !e.signal.aborted && t.tunnel && (V.setQueryData(oz, t), i(t.tunnel), o(t.revision));+ oz(e.signal).then((t) => {+ !e.signal.aborted && t.tunnel && (V.setQueryData(az, t), i(t.tunnel), o(t.revision));}).catch(() => void 0);- }, hDe);+ }, _De);return () => {e.abort(), window.clearInterval(t);};@@ -57521,26 +57541,26 @@ function vDe({ revision: e, initial: t, receipt: n }) {n ? m(n) : h.setError(z(e));});};- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+ return /* @__PURE__ */ (0, x.jsxs)(XO, {title: "Cloudflare 公网入口",onSubmit: (e) => {e.preventDefault(), v("save", g, () => n("已保存配置"));},- children: [/* @__PURE__ */ (0, x.jsxs)($O, { children: [- r.named_available ? /* @__PURE__ */ (0, x.jsx)(pj, {+ children: [/* @__PURE__ */ (0, x.jsxs)(QO, { children: [+ r.named_available ? /* @__PURE__ */ (0, x.jsx)(fj, {"aria-label": "公网入口的形态(二选一)",value: s,isDisabled: g,onChange: (e) => c(e),- className: mj,- children: gDe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(NA, {+ className: pj,+ children: vDe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(MA, {value: e,- className: hj,+ className: mj,children: t}, e))}) : null,- /* @__PURE__ */ (0, x.jsx)(tk, { children: _De[_ ? "named" : "quick"] }),- _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(PP, {+ /* @__PURE__ */ (0, x.jsx)(ek, { children: yDe[_ ? "named" : "quick"] }),+ _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(NP, {id: "tunnel-hostname",label: "公开主机名",autoComplete: "off",@@ -57551,7 +57571,7 @@ function vDe({ revision: e, initial: t, receipt: n }) {validationBehavior: "aria",isInvalid: !!p.hostname,hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"- }), /* @__PURE__ */ (0, x.jsx)(PP, {+ }), /* @__PURE__ */ (0, x.jsx)(NP, {id: "tunnel-token",type: "password",label: "隧道令牌",@@ -57571,7 +57591,7 @@ function vDe({ revision: e, initial: t, receipt: n }) {r.state === "running" && r.url ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "info",title: "公网地址",- children: /* @__PURE__ */ (0, x.jsx)(ik, {+ children: /* @__PURE__ */ (0, x.jsx)(rk, {href: r.url,children: r.url})@@ -57581,9 +57601,9 @@ function vDe({ revision: e, initial: t, receipt: n }) {title: "正在连接",children: "正在等待 cloudflared 连上 Cloudflare 边缘。"}) : null,- r.error ? /* @__PURE__ */ (0, x.jsx)(nk, { children: r.error }) : null,- h.error ? /* @__PURE__ */ (0, x.jsx)(nk, { children: h.error }) : null- ] }), /* @__PURE__ */ (0, x.jsxs)(ek, {+ r.error ? /* @__PURE__ */ (0, x.jsx)(tk, { children: r.error }) : null,+ h.error ? /* @__PURE__ */ (0, x.jsx)(tk, { children: h.error }) : null+ ] }), /* @__PURE__ */ (0, x.jsxs)($O, {status: r.enabled ? "Peach 重启后自动恢复。" : void 0,children: [/* @__PURE__ */ (0, x.jsx)(W, {onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),@@ -57599,28 +57619,28 @@ function vDe({ revision: e, initial: t, receipt: n }) {}//#endregion//#region src/react/settings/network-settings.tsx-var yDe = [+var xDe = [["environment", "系统代理"],["direct", "直连"],["proxy", "自定义"]];-function bDe({ data: e, receipt: t, panel: n }) {+function SDe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- ...uz(n),+ ...lz(n),children: [- e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(xDe, {+ e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(CDe, {initial: e.peach_proxy,receipt: t}) : null,- e.entry_links ? /* @__PURE__ */ (0, x.jsx)(mDe, {+ e.entry_links ? /* @__PURE__ */ (0, x.jsx)(gDe, {initial: e.entry_links,receipt: t}) : null,- e.access ? /* @__PURE__ */ (0, x.jsx)(dDe, {+ e.access ? /* @__PURE__ */ (0, x.jsx)(pDe, {initial: e.access,receipt: t}) : null,- e.tunnel ? /* @__PURE__ */ (0, x.jsx)(vDe, {+ e.tunnel ? /* @__PURE__ */ (0, x.jsx)(bDe, {revision: e.revision,initial: e.tunnel,receipt: t@@ -57628,9 +57648,9 @@ function bDe({ data: e, receipt: t, panel: n }) {]});}-function xDe({ initial: e, receipt: t }) {- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = qO();- return /* @__PURE__ */ (0, x.jsxs)(ZO, {+function CDe({ initial: e, receipt: t }) {+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = KO();+ return /* @__PURE__ */ (0, x.jsxs)(XO, {id: "peachProxy",title: "Peach 代理",onSubmit: (e) => {@@ -57642,25 +57662,25 @@ function xDe({ initial: e, receipt: t }) {});},children: [- /* @__PURE__ */ (0, x.jsx)(QO, { children: /* @__PURE__ */ (0, x.jsx)(JO, {+ /* @__PURE__ */ (0, x.jsx)(ZO, { children: /* @__PURE__ */ (0, x.jsx)(qO, {label: "连接方式",description: "采集来源选「Peach 代理」时共用这里的连接方式。",- children: /* @__PURE__ */ (0, x.jsx)(gP, {+ children: /* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": "连接方式",selectedKey: i,onSelectionChange: (e) => {e !== null && a(String(e));},- children: yDe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(_P, {+ children: xDe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(gP, {id: e,children: t}, e))})}) }),- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)($O, {+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(QO, {divided: !0,children: [- i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(PP, {+ i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(NP, {id: "peachProxyAddress",type: "password",label: "代理地址",@@ -57674,10 +57694,10 @@ function xDe({ initial: e, receipt: t }) {title: "需要选择连接方式",children: "已有来源的代理地址不同,请选择公共连接方式。"}) : null,- c.error ? /* @__PURE__ */ (0, x.jsx)(nk, { children: c.error }) : null+ c.error ? /* @__PURE__ */ (0, x.jsx)(tk, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, x.jsx)(ek, { children: /* @__PURE__ */ (0, x.jsx)(W, {+ /* @__PURE__ */ (0, x.jsx)($O, { children: /* @__PURE__ */ (0, x.jsx)(W, {type: "submit",...K(c.busy === "save"),children: "保存配置"@@ -57687,12 +57707,12 @@ function xDe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/configuration-page.tsx-function SDe({ receipt: e, reopenTutorial: t, section: n = "" }) {+function wDe({ receipt: e, reopenTutorial: t, section: n = "" }) {let r = dt({- queryKey: oz,- queryFn: ({ signal: e }) => sz(e)+ queryKey: az,+ queryFn: ({ signal: e }) => oz(e)}), i = r.data;- return i ? /* @__PURE__ */ (0, x.jsx)(wDe, {+ return i ? /* @__PURE__ */ (0, x.jsx)(EDe, {data: i,receipt: e,reopenTutorial: t,@@ -57706,29 +57726,29 @@ function SDe({ receipt: e, reopenTutorial: t, section: n = "" }) {})});}-var CDe = 0;-function wDe({ data: e, receipt: t, reopenTutorial: n, section: r }) {- let [i] = (0, b.useState)(() => `board-tabs-${++CDe}`), [a, o] = (0, b.useState)(r), s = (0, b.useRef)([]), c = {+var TDe = 0;+function EDe({ data: e, receipt: t, reopenTutorial: n, section: r }) {+ let [i] = (0, b.useState)(() => `board-tabs-${++TDe}`), [a, o] = (0, b.useState)(r), s = (0, b.useRef)([]), c = {data: e,receipt: t}, l = !!(e.startup || e.automatic_updates || e.updates), u = !!(e.peach_proxy || e.entry_links || e.access || e.tunnel), d = e.downloads, f = [...l ? [{title: "通用",- body: (e) => /* @__PURE__ */ (0, x.jsx)(zEe, {+ body: (e) => /* @__PURE__ */ (0, x.jsx)(VEe, {...c,panel: e})}] : [],{title: "媒体",- body: (e) => /* @__PURE__ */ (0, x.jsx)(oDe, {+ body: (e) => /* @__PURE__ */ (0, x.jsx)(cDe, {...c,panel: e})},...d ? [{title: "下载",- body: (e) => /* @__PURE__ */ (0, x.jsx)(EEe, {+ body: (e) => /* @__PURE__ */ (0, x.jsx)(OEe, {initial: d,receipt: t,panel: e@@ -57736,14 +57756,14 @@ function wDe({ data: e, receipt: t, reopenTutorial: n, section: r }) {}] : [],...u ? [{title: "网络与访问",- body: (e) => /* @__PURE__ */ (0, x.jsx)(bDe, {+ body: (e) => /* @__PURE__ */ (0, x.jsx)(SDe, {...c,panel: e})}] : [],{title: "维护",- body: (e) => /* @__PURE__ */ (0, x.jsx)(MEe, {+ body: (e) => /* @__PURE__ */ (0, x.jsx)(PEe, {...c,reopenTutorial: n,panel: e@@ -57794,35 +57814,35 @@ function wDe({ data: e, receipt: t, reopenTutorial: n, section: r }) {}//#endregion//#region src/react/settings/configuration-summary.tsx-var TDe = (e) => {+var DDe = (e) => {let t = e.updates;return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";};-function EDe({ openConfiguration: e }) {+function ODe({ openConfiguration: e }) {let t = dt({- queryKey: oz,- queryFn: ({ signal: e }) => sz(e)+ queryKey: az,+ queryFn: ({ signal: e }) => oz(e)}), n = t.data;return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col",- children: [n ? /* @__PURE__ */ (0, x.jsxs)(ak, { children: [- /* @__PURE__ */ (0, x.jsx)(ok, {+ children: [n ? /* @__PURE__ */ (0, x.jsxs)(ik, { children: [+ /* @__PURE__ */ (0, x.jsx)(ak, {term: "媒体库",children: `${n.library_count} 个`}),- /* @__PURE__ */ (0, x.jsx)(ok, {+ /* @__PURE__ */ (0, x.jsx)(ak, {term: "端口",children: String(n.port)}),- /* @__PURE__ */ (0, x.jsx)(ok, {+ /* @__PURE__ */ (0, x.jsx)(ak, {term: "更新",- children: TDe(n)+ children: DDe(n)})- ] }) : /* @__PURE__ */ (0, x.jsx)($O, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ ] }) : /* @__PURE__ */ (0, x.jsx)(QO, { children: /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",title: "配置读取失败",children: t.error ? z(t.error) : "未取得配置,请刷新页面重试。"- }) }), /* @__PURE__ */ (0, x.jsx)(ek, {+ }) }), /* @__PURE__ */ (0, x.jsx)($O, {status: "媒体文件夹、端口、代理与更新在配置页上改。",children: /* @__PURE__ */ (0, x.jsx)(W, {onClick: e,@@ -57833,16 +57853,16 @@ function EDe({ openConfiguration: e }) {}//#endregion//#region src/react/settings-panel/legacy-controls.tsx-var wz = (e) => e.map(([e, t, n]) => n ? [+var Cz = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function Tz({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function wz({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(l);return f.current = l, (0, b.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = qo(t, n, wz(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = qo(t, n, Cz(r), i, {attr: a,className: o,text: s@@ -57860,13 +57880,13 @@ function Tz({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function Ez({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {+function Tz({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {let d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(-1), m = (0, b.useRef)(l);return m.current = l, (0, b.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = Va(wz(n), r, { label: t });+ e.innerHTML = Va(Cz(n), r, { label: t });let i = Ha(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -57879,7 +57899,7 @@ function Ez({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function DDe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function kDe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)({onStep: a,onSettle: o@@ -57914,7 +57934,7 @@ function DDe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet}//#endregion//#region src/react/settings-panel/glow-settings.tsx-var ODe = [+var ADe = [["strength","强度",@@ -57941,7 +57961,7 @@ var ODe = [100]];-function kDe({ host: e, spot: t, index: n, glow: r }) {+function jDe({ host: e, spot: t, index: n, glow: r }) {let i = Dse[n], a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)("all");(0, b.useLayoutEffect)(() => {let [e, t, n] = [@@ -57980,7 +58000,7 @@ function kDe({ host: e, spot: t, index: n, glow: r }) {children: u})]}),- /* @__PURE__ */ (0, x.jsx)(JD, { name: "chevron-down" })+ /* @__PURE__ */ (0, x.jsx)(qD, { name: "chevron-down" })]}), /* @__PURE__ */ (0, x.jsxs)("div", {className: "popmenu",@@ -58019,7 +58039,7 @@ function kDe({ host: e, spot: t, index: n, glow: r }) {})]});}-function ADe({ host: e }) {+function MDe({ host: e }) {let t = e.store.value.homeGlow, n = Kw(t.preset);return /* @__PURE__ */ (0, x.jsxs)("section", {"data-glow-setting": "",@@ -58049,7 +58069,7 @@ function ADe({ host: e }) {}),/* @__PURE__ */ (0, x.jsx)("div", {"data-glow-fields": "",- children: ODe.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(DDe, {+ children: ADe.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(kDe, {field: r,label: i,max: a,@@ -58071,7 +58091,7 @@ function ADe({ host: e }) {hidden: n,children: [/* @__PURE__ */ (0, x.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, x.jsx)("div", {"data-glow-stops": "",- children: Uw.map((n, r) => /* @__PURE__ */ (0, x.jsx)(kDe, {+ children: Uw.map((n, r) => /* @__PURE__ */ (0, x.jsx)(jDe, {host: e,spot: n,index: r,@@ -58096,7 +58116,7 @@ function ADe({ host: e }) {}//#endregion//#region src/react/settings-panel/number-setting.tsx-var jDe = {+var NDe = {batchSizeSetting: {min: 1,max: 200,@@ -58137,22 +58157,22 @@ var jDe = {optional: !0,fallback: 60}-}, Dz = (e) => `peach.number.${e}`;-function Oz(e, t) {+}, Ez = (e) => `peach.number.${e}`;+function Dz(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function kz({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = jDe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);- d.current ||= Mw(Number(localStorage.getItem(Dz(e))), o, s, n && n > 0 ? n : l);+function Oz({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = NDe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);+ d.current ||= Mw(Number(localStorage.getItem(Ez(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, b.useState)(n ?? 0), [m, h] = (0, b.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, b.useState)(""), v = (0, b.useRef)(null), y = (0, b.useRef)(i);y.current = i, (0, b.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));}, [n]);let S = () => {let t = v.current;- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(Dz(e), String(d.current)), y.current(d.current)));+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(Ez(e), String(d.current)), y.current(d.current)));}, C = (0, b.useRef)(S);C.current = S, (0, b.useEffect)(() => {let e = v.current;@@ -58162,7 +58182,7 @@ function kz({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}, []);let w = f > 0, T = () => {let t = v.current;- t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(Dz(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));+ t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(Ez(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));}, E = r || n === null;return /* @__PURE__ */ (0, x.jsxs)("div", {"data-number-setting": "",@@ -58199,7 +58219,7 @@ function kz({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, x.jsxs)("span", {"aria-hidden": "true",- children: [c, Oz(Number(m), c) ? ` · ${Oz(Number(m), c)}` : ""]+ children: [c, Dz(Number(m), c) ? ` · ${Dz(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, x.jsx)("small", {id: `${e}-error`,@@ -58213,13 +58233,13 @@ function kz({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}//#endregion//#region src/react/sidebar/sidebar-order.ts-function Az(e) {- let { mutate: t } = lN();+function kz(e) {+ let { mutate: t } = cN();return (0, b.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function jz(e, t, n, r) {+function Az(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -58229,17 +58249,17 @@ function jz(e, t, n, r) {}//#endregion//#region src/react/settings-panel/sidebar-order.tsx-var MDe = "__home__", Mz = (e) => e === "" ? MDe : e;-function NDe({ host: e }) {- let t = Az(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, b.useState)(null), [c, l] = (0, b.useState)(!1), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (e, r, i) => {- let a = jz(n, e, r, i);+var PDe = "__home__", jz = (e) => e === "" ? PDe : e;+function FDe({ host: e }) {+ let t = kz(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, b.useState)(null), [c, l] = (0, b.useState)(!1), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (e, r, i) => {+ let a = Az(n, e, r, i);a && t(a);}, _ = (e, r) => {let i = n.indexOf(e), a = i + r;if (i < 0 || a < 0 || a >= n.length) return;let o = [...n];[o[i], o[a]] = [o[a], o[i]], t(o);- }, v = a.find(([e]) => Mz(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => jz(e) === o) ?? a[0], y = () => {h.current && Ia(h.current), l(!1);}, S = () => {let e = h.current;@@ -58260,7 +58280,7 @@ function NDe({ host: e }) {}, T = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", Mz(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", jz(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -58292,9 +58312,9 @@ function NDe({ host: e }) {/* @__PURE__ */ (0, x.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, x.jsx)(JD, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, x.jsx)(qD, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, x.jsx)(JD, { name: a ?? "" }),+ /* @__PURE__ */ (0, x.jsx)(qD, { name: a ?? "" }),/* @__PURE__ */ (0, x.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, x.jsxs)("span", {@@ -58308,7 +58328,7 @@ function NDe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, x.jsx)(JD, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, x.jsx)(qD, { name: "chevron-up" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -58318,7 +58338,7 @@ function NDe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, x.jsx)(JD, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, x.jsx)(qD, { name: "chevron-down" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -58330,11 +58350,11 @@ function NDe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, x.jsx)(JD, { name: "eye-off" })+ children: /* @__PURE__ */ (0, x.jsx)(qD, { name: "eye-off" })})]})]- }, Mz(e))), /* @__PURE__ */ (0, x.jsxs)("div", {+ }, jz(e))), /* @__PURE__ */ (0, x.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, x.jsxs)("div", {"data-sidebar-add-picker": "",@@ -58350,13 +58370,13 @@ function NDe({ host: e }) {ref: m,onClick: S,children: v ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [- /* @__PURE__ */ (0, x.jsx)(JD, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, x.jsx)(qD, { name: v[2] ?? "" }),/* @__PURE__ */ (0, x.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, x.jsx)(JD, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(JD, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, x.jsx)(qD, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(qD, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -58367,15 +58387,15 @@ function NDe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": Mz(e),+ "data-sidebar-add-option": jz(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: C,onClick: () => {- s(Mz(e)), y(), m.current?.focus();+ s(jz(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, x.jsx)(JD, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]- }, Mz(e)))+ children: [/* @__PURE__ */ (0, x.jsx)(qD, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]+ }, jz(e)))}) : null]}), /* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -58392,7 +58412,7 @@ function NDe({ host: e }) {}//#endregion//#region src/react/settings-panel/settings-panel.tsx-var Nz = [+var Mz = [["界面", "ri-palette-line"],["浏览", "ri-layout-grid-line"],["播放", "ri-play-circle-line"],@@ -58400,7 +58420,7 @@ var Nz = [["关注", "ri-rss-line"],["安全", "ri-shield-check-line"],["这台电脑", "ri-macbook-line"]-], PDe = [+], IDe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -58409,16 +58429,16 @@ var Nz = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], FDe = [["desc", "降序"], ["asc", "升序"]], IDe = [+], LDe = [["desc", "降序"], ["asc", "升序"]], RDe = [["off", "关闭"],["precise", "精准"],["coarse", "粗略"]-], LDe = [+], zDe = [["7", "每周"],["30", "每月"],["90", "每季"],["0", "从不"]-], RDe = [[+], BDe = [["cover","官方封面",""@@ -58426,7 +58446,7 @@ var Nz = ["thumbnail","预览图",""-]], zDe = [+]], VDe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -58451,91 +58471,91 @@ var Nz = ["feedHideExcerptDescription","把出过的正片剪成十几分钟单卖的,比如ハイライト厂牌。"]-], BDe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", Pz = null, Fz = {+], HDe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", Nz = null, Pz = {open: !1,closing: !1,epoch: 0,tab: 0,machine: "none"-}, Iz = 0, Lz = null, Rz = /* @__PURE__ */ new Set();-function VDe(e) {- return Rz.add(e), () => {- Rz.delete(e);+}, Fz = 0, Iz = null, Lz = /* @__PURE__ */ new Set();+function UDe(e) {+ return Lz.add(e), () => {+ Lz.delete(e);};}-function HDe() {- for (let e of [...Rz]) e();+function WDe() {+ for (let e of [...Lz]) e();}-function zz(e) {- Fz = {- ...Fz,+function Rz(e) {+ Pz = {+ ...Pz,...e- }, (0, mt.flushSync)(HDe);+ }, (0, mt.flushSync)(WDe);}-async function UDe(e) {- if (Fz.machine === "summary") return;+async function GDe(e) {+ if (Pz.machine === "summary") return;let t = await e.configurable();- if (Fz.open) {- if (!t) zz({ machine: "note" });+ if (Pz.open) {+ if (!t) Rz({ machine: "note" });else {try {- await cz(new AbortController().signal);+ await sz(new AbortController().signal);} catch {}- Fz.open && zz({ machine: "summary" });+ Pz.open && Rz({ machine: "summary" });}}}-function WDe(e = "") {- let t = Pz;+function KDe(e = "") {+ let t = Nz;if (!t) return;- Na(), Iz += 1, Lz ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let n = Nz.findIndex(([t]) => t === e), r = lve();- zz({+ Na(), Fz += 1, Iz ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let n = Mz.findIndex(([t]) => t === e), r = dve();+ Rz({open: !0,closing: !1,- epoch: Fz.epoch + 1,- tab: n >= 0 ? n : Fz.tab+ epoch: Pz.epoch + 1,+ tab: n >= 0 ? n : Pz.tab}), r.then((e) => {e && t.syncRemote(e);- }), UDe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), GDe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function Bz() {- if (!Fz.open || Fz.closing) return;- let e = ++Iz;- zz({ closing: !0 });+function zz() {+ if (!Pz.open || Pz.closing) return;+ let e = ++Fz;+ Rz({ closing: !0 });let t = () => {- e === Iz && Fz.closing && (zz({+ e === Fz && Pz.closing && (Rz({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), Lz instanceof HTMLElement && document.contains(Lz) && Lz.focus(), Lz = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), Iz instanceof HTMLElement && document.contains(Iz) && Iz.focus(), Iz = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(t) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380));}-var GDe = {- open: WDe,- close: Bz,- isOpen: () => Fz.open,+var qDe = {+ open: KDe,+ close: zz,+ isOpen: () => Pz.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function KDe(e) {- return Pz = e, GDe;+function JDe(e) {+ return Nz = e, qDe;}-function qDe() {- let e = (0, b.useSyncExternalStore)(VDe, () => Fz);- return Pz ? /* @__PURE__ */ (0, x.jsx)(XDe, {- host: Pz,+function YDe() {+ let e = (0, b.useSyncExternalStore)(UDe, () => Pz);+ return Nz ? /* @__PURE__ */ (0, x.jsx)(QDe, {+ host: Nz,view: e}) : null;}-function JDe(e) {+function XDe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(BDe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(HDe)].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 Vz = (e) => `settings-tab-${e}`, Hz = (e) => e === Nz.length - 1 ? "machineGroup" : `settings-group-${e}`;-function YDe({ tab: e, epoch: t, onSelect: n }) {+var Bz = (e) => `settings-tab-${e}`, Vz = (e) => e === Mz.length - 1 ? "machineGroup" : `settings-group-${e}`;+function ZDe({ tab: e, epoch: t, onSelect: n }) {let r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(e), s = (0, b.useRef)([]), c = (e, t) => {let n = i.current;if (!n) return;@@ -58563,7 +58583,7 @@ function YDe({ tab: e, epoch: t, onSelect: n }) {o.current = e, l.current(s.current[e], t);}, [e, t]);let u = (e, t) => {- let r = Nz.length, i = t;+ let r = Mz.length, i = t;if (e.key === "ArrowRight" || e.key === "ArrowDown") i = (t + 1) % r;else if (e.key === "ArrowLeft" || e.key === "ArrowUp") i = (t + r - 1) % r;else if (e.key === "Home") i = 0;@@ -58592,11 +58612,11 @@ function YDe({ tab: e, epoch: t, onSelect: n }) {role: "presentation",children: "设置"}),- Nz.map(([t, r], i) => /* @__PURE__ */ (0, x.jsxs)("button", {+ Mz.map(([t, r], i) => /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",role: "tab",- id: Vz(i),- "aria-controls": Hz(i),+ id: Bz(i),+ "aria-controls": Vz(i),"aria-selected": i === e,tabIndex: i === e ? 0 : -1,ref: (e) => {@@ -58607,22 +58627,22 @@ function YDe({ tab: e, epoch: t, onSelect: n }) {onPointerEnter: (e) => {e.pointerType !== "touch" && c(e.currentTarget, !0);},- children: [/* @__PURE__ */ (0, x.jsx)(Tue, { name: r }), t]+ children: [/* @__PURE__ */ (0, x.jsx)(Eue, { name: r }), t]}, t))]});}-function Uz({ index: e, tab: t, children: n }) {+function Hz({ index: e, tab: t, children: n }) {return /* @__PURE__ */ (0, x.jsxs)("section", {"data-setting-group": "",- id: Hz(e),+ id: Vz(e),role: "tabpanel",- "aria-labelledby": Vz(e),+ "aria-labelledby": Bz(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: Nz[e][0] }), n]+ children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: Mz[e][0] }), n]});}-function Wz({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function Uz({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, x.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, x.jsxs)("span", { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: t }), /* @__PURE__ */ (0, x.jsx)("small", {@@ -58639,7 +58659,7 @@ function Wz({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function Gz({ title: e, description: t, kind: n, children: r }) {+function Wz({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -58647,11 +58667,11 @@ function Gz({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, x.jsxs)("span", { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, x.jsx)("small", { children: t }) : t] }), r]});}-var Kz = ({ html: e, ...t }) => /* @__PURE__ */ (0, x.jsx)("small", {+var Gz = ({ html: e, ...t }) => /* @__PURE__ */ (0, x.jsx)("small", {...t,dangerouslySetInnerHTML: { __html: e }-}), qz = () => `${Ja("保存中")}<span>正在保存…</span>`, Jz = (e, t) => e instanceof Error && e.message || t;-function XDe({ host: e, view: t }) {+}), Kz = () => `${Ja("保存中")}<span>正在保存…</span>`, qz = (e, t) => e instanceof Error && e.message || t;+function QDe({ host: e, view: t }) {(0, b.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -58672,7 +58692,7 @@ function XDe({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (e) => {- e !== Fz.tab && zz({ tab: e });+ e !== Pz.tab && Rz({ tab: e });}, p = () => e.store.save();return /* @__PURE__ */ (0, x.jsx)("section", {"data-settings-panel": "",@@ -58683,9 +58703,9 @@ function XDe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: JDe,+ onKeyDown: XDe,onClick: (e) => {- e.target === e.currentTarget && Bz();+ e.target === e.currentTarget && zz();},children: /* @__PURE__ */ (0, x.jsxs)("div", {"data-settings-card": "",@@ -58696,19 +58716,19 @@ function XDe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, x.jsx)("h2", {id: "settingsTitle",- children: Nz[t.tab][0]+ children: Mz[t.tab][0]}), /* @__PURE__ */ (0, x.jsx)("button", {type: "button",id: "settingsClose","aria-label": "关闭设置",- onClick: Bz,+ onClick: zz,children: /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-x" })})})]}),- /* @__PURE__ */ (0, x.jsx)(YDe, {+ /* @__PURE__ */ (0, x.jsx)(ZDe, {tab: t.tab,epoch: d,onSelect: f@@ -58717,14 +58737,14 @@ function XDe({ host: e, view: t }) {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, x.jsxs)(Uz, {+ /* @__PURE__ */ (0, x.jsxs)(Hz, {index: 0,tab: t.tab,children: [- /* @__PURE__ */ (0, x.jsx)(Gz, {+ /* @__PURE__ */ (0, x.jsx)(Wz, {title: "主题",description: "跟随系统,或固定用浅色、深色。",- children: /* @__PURE__ */ (0, x.jsx)(Tz, {+ children: /* @__PURE__ */ (0, x.jsx)(wz, {id: "themeSetting",name: "theme",legend: "主题",@@ -58752,7 +58772,7 @@ function XDe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, x.jsx)(Wz, {+ /* @__PURE__ */ (0, x.jsx)(Uz, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -58761,7 +58781,7 @@ function XDe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, x.jsx)(Wz, {+ /* @__PURE__ */ (0, x.jsx)(Uz, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -58770,44 +58790,44 @@ function XDe({ host: e, view: t }) {n.homeGlow.on = t, p(), e.changed("glow");}}),- /* @__PURE__ */ (0, x.jsx)(ADe, { host: e }),+ /* @__PURE__ */ (0, x.jsx)(MDe, { host: e }),/* @__PURE__ */ (0, x.jsxs)("section", {"data-sidebar-setting": "","aria-labelledby": "sidebarOrderTitle",children: [/* @__PURE__ */ (0, x.jsxs)("span", { children: [/* @__PURE__ */ (0, x.jsx)("b", {id: "sidebarOrderTitle",children: "左侧导航"- }), /* @__PURE__ */ (0, x.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, x.jsx)(NDe, { host: e })]+ }), /* @__PURE__ */ (0, x.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, x.jsx)(FDe, { host: e })]})]}),- /* @__PURE__ */ (0, x.jsx)(QDe, {+ /* @__PURE__ */ (0, x.jsx)(eOe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, x.jsx)(eOe, {+ /* @__PURE__ */ (0, x.jsx)(nOe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, x.jsx)(Uz, {+ /* @__PURE__ */ (0, x.jsx)(Hz, {index: 3,tab: t.tab,- children: /* @__PURE__ */ (0, x.jsx)(nOe, {+ children: /* @__PURE__ */ (0, x.jsx)(iOe, {host: e,epoch: d})}),- /* @__PURE__ */ (0, x.jsx)(rOe, {+ /* @__PURE__ */ (0, x.jsx)(aOe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, x.jsx)(Uz, {+ /* @__PURE__ */ (0, x.jsx)(Hz, {index: 5,tab: t.tab,- children: /* @__PURE__ */ (0, x.jsx)(Wz, {+ children: /* @__PURE__ */ (0, x.jsx)(Uz, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -58816,10 +58836,10 @@ function XDe({ host: e, view: t }) {onToggle: (t) => e.setCensored(t)})}),- /* @__PURE__ */ (0, x.jsx)(Uz, {+ /* @__PURE__ */ (0, x.jsx)(Hz, {index: 6,tab: t.tab,- children: /* @__PURE__ */ (0, x.jsx)(aOe, {+ children: /* @__PURE__ */ (0, x.jsx)(sOe, {host: e,machine: t.machine})@@ -58830,7 +58850,7 @@ function XDe({ host: e, view: t }) {})});}-function ZDe(e, t) {+function $De(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = eo("arrow-up", "arrow-down", "a", {@@ -58840,18 +58860,18 @@ function ZDe(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function QDe({ host: e, tab: t, epoch: n }) {+function eOe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";- return /* @__PURE__ */ (0, x.jsxs)(Uz, {+ return /* @__PURE__ */ (0, x.jsxs)(Hz, {index: 1,tab: t,children: [- /* @__PURE__ */ (0, x.jsx)(Gz, {+ /* @__PURE__ */ (0, x.jsx)(Wz, {title: "每批作品",description: "首页每次加载的作品数量。",children: /* @__PURE__ */ (0, x.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, x.jsx)(kz, {+ children: /* @__PURE__ */ (0, x.jsx)(Oz, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -58861,7 +58881,7 @@ function QDe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, x.jsx)(Gz, {+ /* @__PURE__ */ (0, x.jsx)(Wz, {title: "默认排序",kind: "sort",description: /* @__PURE__ */ (0, x.jsx)("small", {@@ -58870,19 +58890,19 @@ function QDe({ host: e, tab: t, epoch: n }) {}),children: /* @__PURE__ */ (0, x.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, x.jsx)(Ez, {+ children: [/* @__PURE__ */ (0, x.jsx)(Tz, {id: "defaultSortSetting",label: "默认排序",- options: PDe,+ options: IDe,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, x.jsx)(Ez, {+ }), /* @__PURE__ */ (0, x.jsx)(Tz, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: FDe,+ options: LDe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -58891,7 +58911,7 @@ function QDe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => ZDe(e, o)+ decorate: (e) => $De(e, o)})]})}),@@ -58908,14 +58928,14 @@ function QDe({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, x.jsx)(Gz, {+ /* @__PURE__ */ (0, x.jsx)(Wz, {title: "JAV 默认封面",description: "首页、接着看和 Mix 等位置共用;缺图时使用另一种封面。",- children: /* @__PURE__ */ (0, x.jsx)(Tz, {+ children: /* @__PURE__ */ (0, x.jsx)(wz, {id: "javImageSetting",name: "jav-image",legend: "JAV 默认封面",- options: RDe,+ options: BDe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",@@ -58926,11 +58946,11 @@ function QDe({ host: e, tab: t, epoch: n }) {}})}),- /* @__PURE__ */ (0, x.jsx)(Gz, {+ /* @__PURE__ */ (0, x.jsx)(Wz, {title: "视频封面默认大小",kind: "related",description: "首页和 JAV 等视频列表共用;小图展示完整封套,大图展示完整正封。",- children: /* @__PURE__ */ (0, x.jsx)(Tz, {+ children: /* @__PURE__ */ (0, x.jsx)(wz, {id: "javSizeSetting",name: "video-size",legend: "视频封面默认大小",@@ -58943,7 +58963,7 @@ function QDe({ host: e, tab: t, epoch: n }) {onChoose: (t) => e.setVideoLayout(t)})}),- /* @__PURE__ */ (0, x.jsx)(Wz, {+ /* @__PURE__ */ (0, x.jsx)(Uz, {id: "feedAutoScrollSetting",title: "新作自动滚动",checked: r.feedAutoScroll,@@ -58952,7 +58972,7 @@ function QDe({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- zDe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, x.jsx)($De, {+ VDe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, x.jsx)(tOe, {host: e,id: t,settingKey: n,@@ -58964,8 +58984,8 @@ function QDe({ host: e, tab: t, epoch: n }) {]});}-function $De({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {- let s = lN(), [c, l] = (0, b.useState)(null), u = (0, b.useRef)(null), d = e.store.value, f = (t) => {+function tOe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {+ let s = cN(), [c, l] = (0, b.useState)(null), u = (0, b.useRef)(null), d = e.store.value, f = (t) => {l(t), Wo(u.current), s.mutate({ [n]: t }, {onSuccess: (i) => {d[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);@@ -58993,18 +59013,18 @@ function $De({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a})]});}-function eOe({ host: e, tab: t, epoch: n }) {+function nOe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, x.jsxs)(Uz, {+ return /* @__PURE__ */ (0, x.jsxs)(Hz, {index: 2,tab: t,children: [- /* @__PURE__ */ (0, x.jsx)(Gz, {+ /* @__PURE__ */ (0, x.jsx)(Wz, {title: "悬停放大",description: "转圈完成后进入放大预览。",children: /* @__PURE__ */ (0, x.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, x.jsx)(kz, {+ children: /* @__PURE__ */ (0, x.jsx)(Oz, {id: "hoverDelaySetting",label: "悬停放大",value: r.hoverDelaySeconds,@@ -59014,7 +59034,7 @@ function eOe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, x.jsx)(Wz, {+ /* @__PURE__ */ (0, x.jsx)(Uz, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: r.detailAutoplay,@@ -59023,7 +59043,7 @@ function eOe({ host: e, tab: t, epoch: n }) {r.detailAutoplay = e, i();}}),- /* @__PURE__ */ (0, x.jsx)(Wz, {+ /* @__PURE__ */ (0, x.jsx)(Uz, {id: "miniplayerSetting",title: "小窗播放",checked: r.miniplayer,@@ -59032,12 +59052,12 @@ function eOe({ host: e, tab: t, epoch: n }) {r.miniplayer = t, i(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, x.jsx)(Gz, {+ /* @__PURE__ */ (0, x.jsx)(Wz, {title: "快进 / 快退",description: "卡片预览和详情播放器共用。",children: /* @__PURE__ */ (0, x.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, x.jsx)(kz, {+ children: /* @__PURE__ */ (0, x.jsx)(Oz, {id: "seekSecondsSetting",label: "快进 / 快退",value: r.seekSeconds,@@ -59047,13 +59067,13 @@ function eOe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, x.jsx)(tOe, { epoch: n }),- /* @__PURE__ */ (0, x.jsx)(Gz, {+ /* @__PURE__ */ (0, x.jsx)(rOe, { epoch: n }),+ /* @__PURE__ */ (0, x.jsx)(Wz, {title: "相关推荐",description: "详情下方一次显示的相似作品数量。",children: /* @__PURE__ */ (0, x.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, x.jsx)(kz, {+ children: /* @__PURE__ */ (0, x.jsx)(Oz, {id: "relatedLimitSetting",label: "相关推荐",value: r.relatedLimit,@@ -59066,26 +59086,26 @@ function eOe({ host: e, tab: t, epoch: n }) {]});}-function tOe({ epoch: e }) {+function rOe({ epoch: e }) {let t = dt({- queryKey: oN,- queryFn: ({ signal: e }) => cN(e)- }), n = dve(), r = n.reset;+ queryKey: aN,+ queryFn: ({ signal: e }) => sN(e)+ }), n = pve(), r = n.reset;(0, b.useEffect)(() => {r();}, [e, r]);- let i = t.data?.mode || "off", a = n.isPending ? qz() : t.isFetching ? Xa("正在读取状态") : n.isError ? Yz(Jz(n.error, "保存失败")) : t.isError ? Yz(`状态未取得:${Jz(t.error, String(t.error))}`) : t.data ? Yz(pve(t.data)) : "读取运行状态…";- return /* @__PURE__ */ (0, x.jsx)(Gz, {+ let i = t.data?.mode || "off", a = n.isPending ? Kz() : t.isFetching ? Xa("正在读取状态") : n.isError ? Jz(qz(n.error, "保存失败")) : t.isError ? Jz(`状态未取得:${qz(t.error, String(t.error))}`) : t.data ? Jz(hve(t.data)) : "读取运行状态…";+ return /* @__PURE__ */ (0, x.jsx)(Wz, {title: "视频缩略图采集",- description: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("small", { children: "拖动进度条时按时间点看画面。精准每 10 秒一张,粗略每 30 秒一张;两小时的片子约 720 / 240 张,占 20–100 / 7–35 MB。只采集本机磁盘上的片子,网盘上的每张都要回源拉一次。" }), /* @__PURE__ */ (0, x.jsx)(Kz, {+ description: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("small", { children: "拖动进度条时按时间点看画面。精准每 10 秒一张,粗略每 30 秒一张;两小时的片子约 720 / 240 张,占 20–100 / 7–35 MB。只采集本机磁盘上的片子,网盘上的每张都要回源拉一次。" }), /* @__PURE__ */ (0, x.jsx)(Gz, {id: "videoThumbnailState","aria-live": "polite",html: a})] }),- children: /* @__PURE__ */ (0, x.jsx)(Ez, {+ children: /* @__PURE__ */ (0, x.jsx)(Tz, {id: "videoThumbnailSetting",label: "视频缩略图采集",- options: IDe,+ options: RDe,value: n.isPending || n.isError ? n.variables ?? i : i,disabled: n.isPending || t.isFetching,epoch: e,@@ -59093,14 +59113,14 @@ function tOe({ epoch: e }) {})});}-function nOe({ host: e, epoch: t }) {- let n = e.store.value, r = lN();- return /* @__PURE__ */ (0, x.jsx)(Gz, {+function iOe({ host: e, epoch: t }) {+ let n = e.store.value, r = cN();+ return /* @__PURE__ */ (0, x.jsx)(Wz, {title: "搜索记录",description: "保存在 Peach 账本,所有访问端同步。",children: /* @__PURE__ */ (0, x.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, x.jsx)(kz, {+ children: /* @__PURE__ */ (0, x.jsx)(Oz, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,@@ -59111,8 +59131,8 @@ function nOe({ host: e, epoch: t }) {})});}-function rOe({ host: e, tab: t, epoch: n }) {- let r = e.store.value, i = lN(), a = lN(), [o, s] = (0, b.useState)("");+function aOe({ host: e, tab: t, epoch: n }) {+ let r = e.store.value, i = cN(), a = cN(), [o, s] = (0, b.useState)("");(0, b.useEffect)(() => {s("");}, [n]);@@ -59122,22 +59142,22 @@ function rOe({ host: e, tab: t, epoch: n }) {typeof t.followInitialDays == "number" && (r.followInitialDays = t.followInitialDays), e.store.save(), s("已保存,适用于尚未开始采集的来源。"), e.receipt("已保存首次采集历史范围");},onError: (t) => {- s(Jz(t, "")), e.failure("保存首次采集历史范围", t);+ s(qz(t, "")), e.failure("保存首次采集历史范围", t);}}));};- return /* @__PURE__ */ (0, x.jsxs)(Uz, {+ return /* @__PURE__ */ (0, x.jsxs)(Hz, {index: 4,tab: t,children: [- /* @__PURE__ */ (0, x.jsx)(Gz, {+ /* @__PURE__ */ (0, x.jsx)(Wz, {title: "首次采集历史范围",description: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("small", { children: "按发布时间限制新来源首次导入的内容;范围内不足 30 条时补到 30 条。没有日期的条目仍会导入;已有内容不受影响,支持历史分页的来源可手动加载更早。" }), /* @__PURE__ */ (0, x.jsx)("small", {id: "followInitialDaysState","aria-live": "polite",children: o})] }),- children: /* @__PURE__ */ (0, x.jsx)(Ez, {+ children: /* @__PURE__ */ (0, x.jsx)(Tz, {id: "followInitialDaysSetting",label: "首次采集历史范围",options: e.followInitialRanges,@@ -59147,14 +59167,14 @@ function rOe({ host: e, tab: t, epoch: n }) {onPick: (e) => c(Number(e))})}),- /* @__PURE__ */ (0, x.jsx)(iOe, { epoch: n }),- /* @__PURE__ */ (0, x.jsx)(Gz, {+ /* @__PURE__ */ (0, x.jsx)(oOe, { epoch: n }),+ /* @__PURE__ */ (0, x.jsx)(Wz, {title: "头像与站点图标刷新",description: "创作者头像、来源图标和外链圆标保存在本机,到期后下次显示时重新取一次;视频与图片不保存。",- children: /* @__PURE__ */ (0, x.jsx)(Ez, {+ children: /* @__PURE__ */ (0, x.jsx)(Tz, {id: "metadataRefreshSetting",label: "头像与站点图标刷新",- options: LDe,+ options: zDe,value: String(r.metadataRefreshDays),epoch: n,onPick: (t) => {@@ -59166,25 +59186,25 @@ function rOe({ host: e, tab: t, epoch: n }) {]});}-function iOe({ epoch: e }) {+function oOe({ epoch: e }) {let t = dt({- queryKey: aN,- queryFn: ({ signal: e }) => sN(e)- }), n = uve(), r = n.reset;+ queryKey: iN,+ queryFn: ({ signal: e }) => oN(e)+ }), n = fve(), r = n.reset;(0, b.useEffect)(() => {r();}, [e, r]);- let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? qz() : t.isFetching ? Xa("正在读取状态") : n.isError ? Yz(Jz(n.error, "保存失败")) : t.isError ? Yz(`状态未取得:${Jz(t.error, String(t.error))}`) : i ? Yz(fve(i)) : "读取运行状态…";- return /* @__PURE__ */ (0, x.jsx)(Gz, {+ let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? Kz() : t.isFetching ? Xa("正在读取状态") : n.isError ? Jz(qz(n.error, "保存失败")) : t.isError ? Jz(`状态未取得:${qz(t.error, String(t.error))}`) : i ? Jz(mve(i)) : "读取运行状态…";+ return /* @__PURE__ */ (0, x.jsx)(Wz, {title: "关注自动更新",- description: /* @__PURE__ */ (0, x.jsx)(Kz, {+ description: /* @__PURE__ */ (0, x.jsx)(Gz, {id: "followScheduleState","aria-live": "polite",html: o}),children: /* @__PURE__ */ (0, x.jsx)("div", {id: "followScheduleSetting",- children: /* @__PURE__ */ (0, x.jsx)(kz, {+ children: /* @__PURE__ */ (0, x.jsx)(Oz, {id: "followScheduleSetting",label: "关注自动更新",value: i && !a ? i.enabled ? i.interval_minutes : 0 : null,@@ -59194,13 +59214,13 @@ function iOe({ epoch: e }) {})});}-function aOe({ host: e, machine: t }) {+function sOe({ host: e, machine: t }) {return t === "summary" ? /* @__PURE__ */ (0, x.jsx)("div", {id: "machineSettings",children: /* @__PURE__ */ (0, x.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, x.jsx)(EDe, { openConfiguration: () => {- Bz(), e.openConfiguration();+ children: /* @__PURE__ */ (0, x.jsx)(ODe, { openConfiguration: () => {+ zz(), e.openConfiguration();} })})}, "summary") : t === "note" ? /* @__PURE__ */ (0, x.jsx)("div", {@@ -59208,73 +59228,73 @@ function aOe({ host: e, machine: t }) {dangerouslySetInnerHTML: { __html: qa("媒体文件夹、端口、代理与更新只能在运行 Peach 服务的那台设备上改:在它的浏览器里打开配置页。", { label: "在服务端设备修改" }) }}, "note") : /* @__PURE__ */ (0, x.jsx)("div", { id: "machineSettings" }, "none");}-function Yz(e) {+function Jz(e) {return e.replace(/[&<>"']/g, (e) => `&#${e.charCodeAt(0)};`);}//#endregion//#region src/react/sidebar/sidebar-island.tsx-var Xz = "__home__", oOe = {+var Yz = "__home__", cOe = {creator: 26,tag: 30,tech: 16-}, Zz = 180, Qz = null, $z = {+}, Xz = 180, Zz = null, Qz = {props: {content: null,filters: {},latest: null},epoch: 0-}, eB = /* @__PURE__ */ new Set();-function sOe(e) {- return eB.add(e), () => {- eB.delete(e);+}, $z = /* @__PURE__ */ new Set();+function lOe(e) {+ return $z.add(e), () => {+ $z.delete(e);};}-function tB() {- for (let e of [...eB]) e();+function eB() {+ for (let e of [...$z]) e();}-var cOe = {+var uOe = {render(e) {- $z = {- ...$z,+ Qz = {+ ...Qz,props: e- }, (0, mt.flushSync)(tB);+ }, (0, mt.flushSync)(eB);},navChanged() {- $z = {- ...$z,- epoch: $z.epoch + 1- }, (0, mt.flushSync)(tB);+ Qz = {+ ...Qz,+ epoch: Qz.epoch + 1+ }, (0, mt.flushSync)(eB);}};-function lOe(e) {- return Qz = e, $z = {- ...$z,+function dOe(e) {+ return Zz = e, Qz = {+ ...Qz,props: {content: null,filters: {},latest: null}- }, cOe;+ }, uOe;}-function uOe() {- let e = (0, b.useSyncExternalStore)(sOe, () => $z);- return Qz ? /* @__PURE__ */ (0, x.jsx)(dOe, {- host: Qz,+function fOe() {+ let e = (0, b.useSyncExternalStore)(lOe, () => Qz);+ return Zz ? /* @__PURE__ */ (0, x.jsx)(pOe, {+ host: Zz,props: e.props,epoch: e.epoch}) : null;}-function dOe({ host: e, props: t, epoch: n }) {+function pOe({ host: e, props: t, epoch: n }) {let r = (0, b.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, x.jsx)(fOe, {+ /* @__PURE__ */ (0, x.jsx)(mOe, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, x.jsx)(mOe, {+ t.content ? /* @__PURE__ */ (0, x.jsx)(gOe, {host: e,content: t.content,filters: t.filters,@@ -59282,8 +59302,8 @@ function dOe({ host: e, props: t, epoch: n }) {}) : null] });}-function fOe({ host: e, epoch: t, version: n }) {- let r = Az(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = wk(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || Xz : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function mOe({ host: e, epoch: t, version: n }) {+ let r = kz(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = Ck(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || Yz : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, b.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());return [@@ -59301,7 +59321,7 @@ function fOe({ host: e, epoch: t, version: n }) {}, _ = (e) => ({draggable: !0,onDragStart: (t) => {- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || Xz);+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || Yz);},onDragOver: (t) => {if (f === null || f === e) return;@@ -59316,7 +59336,7 @@ function fOe({ host: e, epoch: t, version: n }) {t.preventDefault();let n = f, a = m?.key === e && m.after;g();- let o = n === null ? null : jz(i, n, e, a);+ let o = n === null ? null : Az(i, n, e, a);o && r(o);},onDragEnd: g@@ -59339,16 +59359,16 @@ function fOe({ host: e, epoch: t, version: n }) {"data-sidebar-home-logo": "",src: "/peach-logo.png",alt: ""- }) : /* @__PURE__ */ (0, x.jsx)(JD, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]- }, t || Xz))+ }) : /* @__PURE__ */ (0, x.jsx)(qD, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]+ }, t || Yz))}), v ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)("span", {"data-sidebar-glide": "","aria-hidden": "true",ref: l}), v) : null] });}-var nB = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function pOe(e) {+var tB = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function hOe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -59361,7 +59381,7 @@ function pOe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function mOe({ host: e, content: t, filters: n, latest: r }) {+function gOe({ host: e, content: t, filters: n, latest: r }) {let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;(0, b.useLayoutEffect)(() => {t.kind === "catalog" && oo(e.scroll, "drawer");@@ -59370,8 +59390,8 @@ function mOe({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? hOe(e, t.facets, n, r, i) : gOe(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)(_Oe, {+ let a = t.kind === "catalog" ? _Oe(e, t.facets, n, r, i) : vOe(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)(yOe, {title: e.title,kind: e.kind,active: e.active,@@ -59380,11 +59400,11 @@ function mOe({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function hOe(e, t, n, r, i) {- let a = pOe(r), o = (t, r, i) => {+function _Oe(e, t, n, r, i) {+ let a = hOe(r), o = (t, r, i) => {if (!t.length) return null;- let o = nB(n, r);- return /* @__PURE__ */ (0, x.jsx)(aB, {+ let o = tB(n, r);+ return /* @__PURE__ */ (0, x.jsx)(iB, {rows: t,filterKey: r,multi: i,@@ -59394,7 +59414,7 @@ function hOe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = nB(n, l), p = c.some((e) => f.includes(e.value));+ let f = tB(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -59406,12 +59426,12 @@ function hOe(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, x.jsx)(yOe, {+ body: /* @__PURE__ */ (0, x.jsx)(xOe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: oOe[d],+ limit: cOe[d],filterKey: l,selected: f,counts: a,@@ -59426,7 +59446,7 @@ function hOe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, x.jsx)(cB, {+ body: /* @__PURE__ */ (0, x.jsx)(sB, {host: e,filters: n})@@ -59440,7 +59460,7 @@ function hOe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, x.jsx)(oB, {+ body: /* @__PURE__ */ (0, x.jsx)(aB, {rows: t.followTags,host: e,selected: null,@@ -59449,14 +59469,14 @@ function hOe(e, t, n, r, i) {} : null];}-function gOe(e, t, n) {- let r = t.providers || [], i = nB(n, "provider"), a = new Set(t.selected);+function vOe(e, t, n) {+ let r = t.providers || [], i = tB(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, x.jsx)(aB, {+ body: /* @__PURE__ */ (0, x.jsx)(iB, {rows: r,filterKey: "provider",multi: !1,@@ -59470,7 +59490,7 @@ function gOe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, x.jsx)(cB, {+ body: /* @__PURE__ */ (0, x.jsx)(sB, {host: e,filters: n,commit: e.setFollowDuration@@ -59480,7 +59500,7 @@ function gOe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, x.jsx)(oB, {+ body: /* @__PURE__ */ (0, x.jsx)(aB, {rows: t.tags,host: e,selected: a,@@ -59489,19 +59509,19 @@ function gOe(e, t, n) {} : null];}-function rB(e, t) {+function nB(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function _Oe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)(() => rB(e, n)), u = (0, b.useRef)(!1);+function yOe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)(() => nB(e, n)), u = (0, b.useRef)(!1);(0, b.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? rB(e, n) : c;+ let i = u.current ? nB(e, n) : c;u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));}, [i]);let d = (t) => {@@ -59522,7 +59542,7 @@ function _Oe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, x.jsx)(JD, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, x.jsx)(qD, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, x.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -59533,7 +59553,7 @@ function _Oe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, x.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, x.jsx)(iB.Provider, {+ children: /* @__PURE__ */ (0, x.jsx)(rB.Provider, {value: d,children: a})@@ -59542,15 +59562,15 @@ function _Oe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var iB = (0, b.createContext)(() => {});-function vOe({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(JD, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, x.jsx)("img", {+var rB = (0, b.createContext)(() => {});+function bOe({ dot: e }) {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(qD, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, x.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, x.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function aB({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function iB({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -59567,7 +59587,7 @@ function aB({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,title: e.offline || e.label,onClick: () => o(t, e.value, n),children: [- /* @__PURE__ */ (0, x.jsx)(vOe, { dot: e.dot }),+ /* @__PURE__ */ (0, x.jsx)(bOe, { dot: e.dot }),/* @__PURE__ */ (0, x.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -59582,8 +59602,8 @@ function aB({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function yOe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, b.useContext)(iB), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(e);+function xOe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, b.useContext)(rB), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(e);p !== e && (m(e), f(null));let h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, b.useLayoutEffect)(() => {@@ -59598,7 +59618,7 @@ function yOe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("ui-fcollapse"), va(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(aB, {+ }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(iB, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -59623,10 +59643,10 @@ function yOe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, x.jsx)(JD, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, x.jsx)(qD, { name: "chevron-down" })}) : null] });}-function oB({ rows: e, host: t, selected: n, badges: r }) {+function aB({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {@@ -59648,10 +59668,10 @@ function oB({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var sB = (e, t) => e ? Math.min(Zz, Number(e) / 60) : t;-function cB({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, b.useState)(r), [o, s] = (0, b.useState)(() => [sB(t.dur_min, 0), sB(t.dur_max, Zz)]), [c, l] = (0, b.useState)("max");- i !== r && (a(r), s([sB(t.dur_min, 0), sB(t.dur_max, Zz)]));+var oB = (e, t) => e ? Math.min(Xz, Number(e) / 60) : t;+function sB({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, b.useState)(r), [o, s] = (0, b.useState)(() => [oB(t.dur_min, 0), oB(t.dur_max, Xz)]), [c, l] = (0, b.useState)("max");+ i !== r && (a(r), s([oB(t.dur_min, 0), oB(t.dur_max, Xz)]));let [u, d] = o, f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(o);h.current = o;let g = (e, t) => {@@ -59664,11 +59684,11 @@ function cB({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, b.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / Zz * 100}%`), e.style.setProperty("--hi", `${d / Zz * 100}%`);+ e.style.setProperty("--lo", `${u / Xz * 100}%`), e.style.setProperty("--hi", `${d / Xz * 100}%`);let t = e.getBoundingClientRect();e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {let n = e.dataset.rangeEnd === "max" ? d : u;- e.style.left = `${n / Zz * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / Xz * 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`);});@@ -59678,7 +59698,7 @@ function cB({ host: e, filters: t, commit: n = e.setDuration }) {"data-range-end": e,"data-range-active": c === e ? "" : void 0,"aria-hidden": "true",- children: e === "max" && t >= Zz ? "不限" : `${t} 分钟`+ children: e === "max" && t >= Xz ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, x.jsx)("div", {"data-sidebar-duration": "",@@ -59693,7 +59713,7 @@ function cB({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: Zz,+ max: Xz,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -59704,7 +59724,7 @@ function cB({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: Zz,+ max: Xz,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -59719,23 +59739,23 @@ function cB({ host: e, filters: t, commit: n = e.setDuration }) {}//#endregion//#region src/configuration-skeleton.ts-var lB = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${KN({+var cB = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${GN({label: "保存配置",attrs: "disabled data-skeleton-action"-})}</div></div></section>`, uB = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`;-function bOe() {+})}</div></div></section>`, lB = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`;+function SOe() {return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${["通用","媒体","下载","网络与访问","维护"- ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${lB("开机自启", `<div class="flex flex-col">${uB("开机后启动 Peach")}${uB("静默启动", "开机后只显示托盘图标,不打开网页。")}${uB("在桌面创建快捷方式", "双击图标打开 Peach 网页。")}</div>`)}${lB("自动更新", `<div class="flex flex-col">${uB("自动检查新版本")}${uB("自动下载更新")}${uB("检查频率", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;+ ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${cB("开机自启", `<div class="flex flex-col">${lB("开机后启动 Peach")}${lB("静默启动", "开机后只显示托盘图标,不打开网页。")}${lB("在桌面创建快捷方式", "双击图标打开 Peach 网页。")}</div>`)}${cB("自动更新", `<div class="flex flex-col">${lB("自动检查新版本")}${lB("自动下载更新")}${lB("检查频率", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;}//#endregion//#region src/management-skeletons.ts-var dB = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", fB = (e = "60%") => `<span class="${dB} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, pB = "disabled data-skeleton-action", mB = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function xOe() {+var uB = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", dB = (e = "60%") => `<span class="${uB} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, fB = "disabled data-skeleton-action", pB = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+function COe() {let e = ["馆藏视频","看过",@@ -59743,27 +59763,27 @@ function xOe() {"使用空间"].map((e, t) => `<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${dB} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${fB("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${fB("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${mB}" data-stats-chart>- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${fB("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${uB} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${dB("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${dB("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${pB}" data-stats-chart>+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${dB("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header><svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[76,54,32].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${fB()}</span><b class="text-title-2-medium">${fB("3em")}</b><small class="text-caption-1-regular">${fB()}</small></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${dB()}</span><b class="text-title-2-medium">${dB("3em")}</b><small class="text-caption-1-regular">${dB()}</small></div>`).join("")}</div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${fB("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${dB("12em")}</p><div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div><div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div><div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${["时长","画质","文件类型"- ].map((e) => `<section class="${mB}"><h3 class="text-title-2-medium">${e}</h3><div class="${dB} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${pB}"><h3 class="text-title-2-medium">${e}</h3><div class="${uB} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -59772,11 +59792,11 @@ function xOe() {"最近看过","标签来源"].map((e) => `<span>${e}</span>`).join("")}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${dB} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${uB} h-7"></div>`).join("")}</div></section></div></div>`;}-function SOe() {+function wOe() {let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = ["浏览记录","口味维度",@@ -59784,20 +59804,20 @@ function SOe() {"私有导出"].map((e) => `<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${dB} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${fB("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${fB("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${dB} h-6"></div>`).join(""), r = (e) => `<section class="${mB}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${dB} h-40"></div></section>`;+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${uB} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${dB("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${dB("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${uB} h-6"></div>`).join(""), r = (e) => `<section class="${pB}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${uB} h-40"></div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8"><div class="flex flex-col gap-5"><div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}- <div class="flex flex-wrap items-center gap-2">${qN("全部时间")}<span data-button-group data-split-button data-variant="primary">${KN({+ <div class="flex flex-wrap items-center gap-2">${KN("全部时间")}<span data-button-group data-split-button data-variant="primary">${GN({glyph: "compass",label: "读取浏览器历史",- attrs: pB- })}${KN({+ attrs: fB+ })}${GN({glyph: "chevron-down",- attrs: pB+ attrs: fB})}</span></div></div><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>@@ -59815,11 +59835,11 @@ function SOe() {4,5].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>- <small class="text-caption-1-regular">${fB("8em")}</small></div>+ <small class="text-caption-1-regular">${dB("8em")}</small></div><div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div></section><div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>- <section class="${mB}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${dB} h-72 max-sm:h-48"></div></section>+ <section class="${pB}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${uB} h-72 max-sm:h-48"></div></section><section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col"><div class="px-4 pt-3">${e(["标签",@@ -59827,130 +59847,130 @@ function SOe() {"常访问网站","浏览候选"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${dB} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${uB} h-7"></div>`).join("")}</div></section></div></div></div>`;}-function COe() {+function TOe() {let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">- <span class="${dB} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${fB("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${fB("3em")}</span>`).join("")}- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${fB("75%")}</span>+ <span class="${uB} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${dB("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${dB("3em")}</span>`).join("")}+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${dB("75%")}</span></div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group><div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">- <b class="text-title-2-medium">${fB("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${fB("8em")}</span>+ <b class="text-title-2-medium">${dB("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${dB("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长","整组回收"- ].map((e) => KN({+ ].map((e) => GN({variant: "secondary",size: "small",label: e,- attrs: pB+ attrs: fB})).join("")}</span></div>${e.repeat(2)}</section>`;return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5"><div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${fB("4em")}</strong></div><p class="text-body-regular text-text-secondary">${fB("12em")}</p>+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${dB("4em")}</strong></div><p class="text-body-regular text-text-secondary">${dB("12em")}</p></div>- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${pB} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${fB} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>${t.repeat(2)}</div></div>`;}-function wOe() {+function EOe() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">- <div class="flex min-w-0 gap-4"><span class="${dB} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${fB("80%")}</h3><p class="text-body-2-regular">${fB("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${uB} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${dB("80%")}</h3><p class="text-body-2-regular">${dB("60%")}</p></div></div>- <footer class="flex justify-end">${KN({+ <footer class="flex justify-end">${GN({variant: "secondary",size: "small",label: "查看版本",- attrs: pB+ attrs: fB})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- ${JN("待升级")}+ ${qN("待升级")}<ul class="card-grid-cover gap-5">${e.repeat(6)}</ul></div></div>`;}//#endregion//#region src/board-skeleton.ts-var hB = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, gB = () => `${hB("80%")}${hB("48%")}`, _B = (e, t) => e.repeat(t), vB = "disabled data-skeleton-action", yB = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, bB = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, TOe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", xB = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var mB = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, hB = () => `${mB("80%")}${mB("48%")}`, gB = (e, t) => e.repeat(t), _B = "disabled data-skeleton-action", vB = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, yB = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, DOe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", bB = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${["关注创作者","启用来源","检查失败","未看更新","JAV 订阅","未看新作"-].map((e) => `<div class="${TOe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${yB("3em")}</b></div>`).join("")}</div>`, SB = [+].map((e) => `<div class="${DOe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${vB("3em")}</b></div>`).join("")}</div>`, xB = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"],["wants", "JAV 入库"],["source", "来源和凭证"]-], EOe = (e = "") => SB.some(([t]) => t === e) ? e : "list", CB = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${SB.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, wB = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, DOe = ({ table: e, sort: t, dir: n }) => {+], OOe = (e = "") => xB.some(([t]) => t === e) ? e : "list", SB = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${xB.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, CB = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, kOe = ({ table: e, sort: t, dir: n }) => {let r = rn.find(([e]) => e === t)[1];- return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${yB("132px")}</span></span>${KN({+ return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${vB("132px")}</span></span>${GN({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: vB- })}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${KN({+ attrs: _B+ })}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${GN({variant: "ghost",glyph: "layout-grid",attrs: `aria-pressed="${!e}"`- })}${KN({+ })}${GN({variant: "ghost",glyph: "table",attrs: `aria-pressed="${e}"`- })}</span>${qN(r)}${KN({+ })}</span>${KN(r)}${GN({variant: "secondary",glyph: n === "asc" ? "arrow-up" : "arrow-down"- })}${e ? "" : KN({+ })}${e ? "" : GN({variant: "secondary",glyph: "chevron-up",label: "全部收起",compact: !0,- attrs: vB+ attrs: _B})}</span></div>`;-}, TB = () => `<span class="flex shrink-0 items-center gap-1">${KN({+}, wB = () => `<span class="flex shrink-0 items-center gap-1">${GN({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: vB-})}${KN({+ attrs: _B+})}${GN({variant: "secondary",size: "small",glyph: "trash",- attrs: vB-})}</span>`, OOe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${wB()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${yB("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${bB(14, 14)}</span>${bB(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${yB("113px")}</span>${TB()}</span></div>`, EB = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${bB(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${yB("92px")}</b>${KN({+ attrs: _B+})}</span>`, AOe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${CB()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${vB("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${yB(14, 14)}</span>${yB(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${vB("113px")}</span>${wB()}</span></div>`, TB = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${yB(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${vB("92px")}</b>${GN({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: vB-})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${bB(14, 14)}${bB(14, 14)}</span>${KN({+ attrs: _B+})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${yB(14, 14)}${yB(14, 14)}</span>${GN({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: vB-})}${KN({+ attrs: _B+})}${GN({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: vB-})}</span></div><div data-source-divider>${_B(OOe(), e)}</div></section>`, kOe = () => {+ attrs: _B+})}</span></div><div data-source-divider>${gB(AOe(), e)}</div></section>`, jOe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, AOe = [+}, MOe = [["select", ""],["author", "创作者"],["source", "来源"],@@ -59958,63 +59978,63 @@ var hB = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, gB["status", "状态"],["checked", "上次检查"],["actions", ""]-], jOe = {+], NOe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, MOe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", NOe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${AOe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${jOe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${MOe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${_B(`<tr>${[- wB(),- `<span class="flex min-w-0 items-center gap-2">${bB(32, 32, !0)}${yB("5em")}</span>`,- yB("10em"),- `<span class="flex items-center gap-1.5">${bB(14, 14)}${yB("4em")}</span>`,- bB(48, 24),- yB("113px"),- TB()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, POe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${yB("111px")}</span>${qN(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${bB(204, 32)}</div>`, FOe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${yB("120px")}</h3>${[+}, POe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", FOe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${MOe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${NOe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${POe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${gB(`<tr>${[+ CB(),+ `<span class="flex min-w-0 items-center gap-2">${yB(32, 32, !0)}${vB("5em")}</span>`,+ vB("10em"),+ `<span class="flex items-center gap-1.5">${yB(14, 14)}${vB("4em")}</span>`,+ yB(48, 24),+ vB("113px"),+ wB()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, IOe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${vB("111px")}</span>${KN(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${yB(204, 32)}</div>`, LOe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${vB("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${yB(e)}</span>`).join("")}</div>`, IOe = (e) => {- let t = EOe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${xB()}<div class="flex flex-col gap-6">${CB(t)}<div class="flex flex-col gap-4">${FOe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = cn(e.followSort, e.followDir), i = e.followPageSize || kOe(), a = n ? NOe(i, r) : `${wB("全选本页")}<div class="flex flex-col gap-3">${EB(3)}${EB(4)}${EB(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${xB()}<div class="flex flex-col gap-6">${CB(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${DOe({+].map((e) => `<span class="text-body-medium">${vB(e)}</span>`).join("")}</div>`, ROe = (e) => {+ let t = OOe(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${bB()}<div class="flex flex-col gap-6">${SB(t)}<div class="flex flex-col gap-4">${LOe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = cn(e.followSort, e.followDir), i = e.followPageSize || jOe(), a = n ? FOe(i, r) : `${CB("全选本页")}<div class="flex flex-col gap-3">${TB(3)}${TB(4)}${TB(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${bB()}<div class="flex flex-col gap-6">${SB(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${kOe({table: n,...r- })}${a}${POe(n, i)}</div></div></div></div></div>`;+ })}${a}${IOe(n, i)}</div></div></div></div></div>`;};-function LOe() {- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${hB("85%")}${hB("65%")}${_B(gB(), 4)}</div></aside></div>`;+function zOe() {+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${mB("85%")}${mB("65%")}${gB(hB(), 4)}</div></aside></div>`;}-function ROe(e, t = {}) {+function BOe(e, t = {}) {let n = "";- if (e === "/stats") n = xOe();- else if (e === "/taste") n = SOe();- else if (e === "/follow-manage") n = IOe(t);- else if (e === "/configuration") n = bOe();+ if (e === "/stats") n = COe();+ else if (e === "/taste") n = wOe();+ else if (e === "/follow-manage") n = ROe(t);+ else if (e === "/configuration") n = SOe();else if (e === "/activity") n = `<div class="ui-activitypage">${["正在进行","被挡下的","最近完成"- ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${hB("35%")}${gB()}</div></article></div></section>`).join("")}</div>`;- else if (e === "/duplicates") n = COe();- else if (e === "/quality-goals") n = wOe();- else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${hB("200px")}</div></header><div class="ui-playlistcards">${_B(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${gB()}</div></div></article>`, 6)}</div></section>`;+ ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${mB("35%")}${hB()}</div></article></div></section>`).join("")}</div>`;+ else if (e === "/duplicates") n = TOe();+ else if (e === "/quality-goals") n = EOe();+ else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${mB("200px")}</div></header><div class="ui-playlistcards">${gB(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${hB()}</div></div></article>`, 6)}</div></section>`;else return "";return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}//#endregion//#region src/react/follow-detail/follow-detail.ts-var DB = (e) => ["follow-item", e], zOe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, BOe = "/api/follow/save", VOe = "/api/follow/media/hide", OB = class extends Error {+var EB = (e) => ["follow-item", e], VOe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, HOe = "/api/follow/save", UOe = "/api/follow/media/hide", DB = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function kB(e, t) {- let n = await nn(zOe(e), t);+async function OB(e, t) {+ let n = await nn(VOe(e), t);for (let t of n.groups || []) {let r = Xr(t).find((t) => t.id === e);if (r) return {@@ -60024,9 +60044,9 @@ async function kB(e, t) {aliases: n.author_aliases || []};}- throw new OB();+ throw new DB();}-function HOe(e) {+function WOe(e) {for (let [, t] of V.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;let n = Xr(t.group).find((t) => t.id === e);@@ -60037,20 +60057,20 @@ function HOe(e) {}return null;}-async function AB(e, t) {- let n = DB(e.id), r = Zr(e.id), i = V.getQueryData(Gr) ? null : V.fetchQuery({+async function kB(e, t) {+ let n = EB(e.id), r = Zr(e.id), i = V.getQueryData(Gr) ? null : V.fetchQuery({queryKey: Gr,queryFn: () => Kr(t)}), a = r ? {...r,item: r.item- } : V.getQueryData(n) ?? HOe(e.id);+ } : V.getQueryData(n) ?? WOe(e.id);a ? V.setQueryData(n, a) : await V.fetchQuery({queryKey: n,- queryFn: () => kB(e.id, t)+ queryFn: () => OB(e.id, t)}), await i;}-function UOe(e, t, n, r) {+function GOe(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 && ai(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,@@ -60065,32 +60085,32 @@ function UOe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var WOe = (e) => Xr(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), GOe = {+var KOe = (e) => Xr(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), qOe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, KOe = {+}, JOe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function qOe(e) {+function YOe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return GOe[t] || t;+ return qOe[t] || t;} catch {return "外部文件页";}}-function jB(e, t) {- return KOe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function AB(e, t) {+ return JOe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function JOe(e, t, n = "") {+function XOe(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;@@ -60099,54 +60119,54 @@ function JOe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var YOe = (e) => String(e.name || "").trim(), MB = (e, t) => e.tag_types?.[t] || "unknown", XOe = /* @__PURE__ */ new Set([+var ZOe = (e) => String(e.name || "").trim(), jB = (e, t) => e.tag_types?.[t] || "unknown", QOe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function ZOe(e, t) {- let n = MB(e, t);- return `r34-${XOe.has(n) ? n : "general"}`;+function $Oe(e, t) {+ let n = jB(e, t);+ return `r34-${QOe.has(n) ? n : "general"}`;}-var NB = [+var MB = ["copyright","character","artist","general","metadata"];-function QOe(e, t) {+function eke(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = NB.indexOf(MB(e, t));- return n < 0 ? NB.length : n;+ let n = MB.indexOf(jB(e, t));+ return n < 0 ? MB.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function $Oe(e, t) {+function tke(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 eke = (e, t) => ({+var nke = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), PB = (e) => e?.size ? { size: e.size } : {};-function tke(e, t) {+}), NB = (e) => e?.size ? { size: e.size } : {};+function rke(e, t) {let { images: n, kind: r, src: i, selected: a } = t;return n.length ? n.map((t) => ({src: `/follow-stream?id=${e.id}&media=${t.index}`,thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,name: t.name || e.title,- source: jB(t, e),- ...PB(t)+ source: AB(t, e),+ ...NB(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: jB(a, e),- ...PB(a)+ source: AB(a, e),+ ...NB(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -60154,10 +60174,10 @@ function tke(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var nke = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";+var ike = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";//#endregion//#region src/react/components/mix-queue.tsx-function FB({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function PB({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, b.useRef)(null), l = (0, b.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -60193,7 +60213,7 @@ function FB({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function IB({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function FB({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, x.jsx)("span", {"data-mix-item-text": "",children: a@@ -60216,29 +60236,29 @@ function IB({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var rke = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {+var ake = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {"data-mix-group-label": "",children: [e," ",/* @__PURE__ */ (0, x.jsx)("span", { children: t })]-}), LB = (e) => Number(e) > 0, ike = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {+}), IB = (e) => Number(e) > 0, oke = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: L(e) }-}), RB = L("external-link", "ui-externalmark");-function ake(e) {+}), LB = L("external-link", "ui-externalmark");+function ske(e) {let { id: t, actions: n } = e, r = dt({- queryKey: DB(t),- queryFn: ({ signal: e }) => kB(t, e)+ queryKey: EB(t),+ queryFn: ({ signal: e }) => OB(t, e)}), i = dt({queryKey: Gr,queryFn: ({ signal: e }) => Kr(e)}), a = (0, b.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, b.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, x.jsx)(cke, {+ return r.data ? /* @__PURE__ */ (0, x.jsx)(uke, {...e,data: r.data,- context: eke(r.data, a),+ context: nke(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, x.jsx)("div", {@@ -60247,9 +60267,9 @@ function ake(e) {children: /* @__PURE__ */ (0, x.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, x.jsx)(zB, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {+ children: [/* @__PURE__ */ (0, x.jsx)(RB, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? oke(r.error) ? /* @__PURE__ */ (0, x.jsx)(ske, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(qj, {+ children: r.isError ? cke(r.error) ? /* @__PURE__ */ (0, x.jsx)(lke, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(Kj, {message: _t(r.error),onRetry: () => void r.refetch()}) : null@@ -60257,8 +60277,8 @@ function ake(e) {})});}-var oke = (e) => e instanceof OB || e instanceof en && e.status === 404;-function ske({ onBack: e }) {+var cke = (e) => e instanceof DB || e instanceof en && e.status === 404;+function lke({ onBack: e }) {return /* @__PURE__ */ (0, x.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -60267,7 +60287,7 @@ function ske({ onBack: e }) {dangerouslySetInnerHTML: { __html: qa("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var zB = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {+var RB = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -60276,8 +60296,8 @@ var zB = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: L("x") }});-function cke({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {- let { item: s, group: c } = e, l = UOe(s, c, n, i), u = pke(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, b.useState)({+function uke({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {+ let { item: s, group: c } = e, l = GOe(s, c, n, i), u = hke(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, b.useState)({key: "",kind: ""}), m = {@@ -60297,20 +60317,20 @@ function cke({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hels,l.kind]);- let h = !l.embedded.length && l.collection ? WOe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(UB, {+ let h = !l.embedded.length && l.collection ? KOe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(HB, {item: s,current: l.selected.index,helpers: a,actions: o,onMedia: r- }) : l.collection ? h ? /* @__PURE__ */ (0, x.jsx)(UB, {+ }) : l.collection ? h ? /* @__PURE__ */ (0, x.jsx)(HB, {item: h,current: null,helpers: a,actions: o,onMedia: r,currentId: s.id- }) : /* @__PURE__ */ (0, x.jsx)(uke, {+ }) : /* @__PURE__ */ (0, x.jsx)(fke, {group: l.collection,itemId: s.id,helpers: a,@@ -60321,7 +60341,7 @@ function cke({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel"data-with-queue": g ? "" : void 0,"data-follow-detail": "",children: [- /* @__PURE__ */ (0, x.jsx)(lke, {+ /* @__PURE__ */ (0, x.jsx)(dke, {item: s,media: l,helpers: a,@@ -60330,7 +60350,7 @@ function cke({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helissues: m}, d),g,- /* @__PURE__ */ (0, x.jsx)(dke, {+ /* @__PURE__ */ (0, x.jsx)(pke, {item: s,data: e,context: t,@@ -60343,8 +60363,8 @@ function cke({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel]});}-function lke({ item: e, media: t, actions: n, onMedia: r, issues: i }) {- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, b.useRef)(null), [p, m] = (0, b.useState)(null), h = tke(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 : "", [S, C] = (0, b.useState)(v), w = (0, b.useRef)({+function dke({ item: e, media: t, actions: n, onMedia: r, issues: i }) {+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, b.useRef)(null), [p, m] = (0, b.useState)(null), h = rke(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 : "", [S, C] = (0, b.useState)(v), w = (0, b.useRef)({item: e,selected: o}), T = (0, b.useRef)(i.failed);@@ -60374,14 +60394,14 @@ function lke({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"--follow-image-arrow-inset": p === null ? void 0 : `${p}px`},children: [- /* @__PURE__ */ (0, x.jsx)(zB, { onClose: n.close }),+ /* @__PURE__ */ (0, x.jsx)(RB, { onClose: n.close }),_ ? null : v ? /* @__PURE__ */ (0, x.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": h.length ? "" : void 0,src: S,alt: e.title,referrerPolicy: "no-referrer",- onClick: h.length ? () => void AF(Math.max(0, l), h) : void 0,+ onClick: h.length ? () => void kF(Math.max(0, l), h) : void 0,onError: () => {y && S !== y ? (C(y), i.thumbFallback()) : i.failed();}@@ -60389,7 +60409,7 @@ function lke({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, x.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: Sj(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: xj(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, x.jsx)("span", { children: "没有可用预览" })]}),u ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [@@ -60433,11 +60453,11 @@ function lke({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var BB = ({ kind: e }) => /* @__PURE__ */ (0, x.jsx)("span", {+var zB = ({ kind: e }) => /* @__PURE__ */ (0, x.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: L(e === "image" ? "image-off" : "play") }});-function VB({ src: e }) {+function BB({ src: e }) {let [t, n] = (0, b.useState)(!1);return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {src: e,@@ -60447,27 +60467,27 @@ function VB({ src: e }) {onError: () => n(!0)});}-function HB(e) {+function VB(e) {return (0, b.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function uke({ group: e, itemId: t, helpers: n, actions: r }) {- let i = ai(e), a = HB(n);- return /* @__PURE__ */ (0, x.jsx)(FB, {+function fke({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = ai(e), a = VB(n);+ return /* @__PURE__ */ (0, x.jsx)(PB, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${wj(e.primary)} · ${i.length} 个视频`,+ summary: `${Cj(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = JOe(e, n, i ? n.provider_label : ""), o = i ? Sj(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, x.jsxs)(IB, {+ let i = e.duplicates.includes(n), a = XOe(e, n, i ? n.provider_label : ""), o = i ? xj(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, x.jsxs)(FB, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(VB, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(BB, { kind: "video" }), LB(n.duration) ? /* @__PURE__ */ (0, x.jsx)("i", {+ pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(BB, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(zB, { kind: "video" }), IB(n.duration) ? /* @__PURE__ */ (0, x.jsx)("i", {className: "mono","data-mix-item-duration": "",children: Vt(n.duration)@@ -60485,15 +60505,15 @@ function uke({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, x.jsx)("time", {dateTime: n.published_at || "",- children: Nj(n)+ children: Mj(n)})]})]}, n.id);})});}-function UB({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = HB(r), c = [];+function HB({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = VB(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -60503,26 +60523,26 @@ function UB({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, c.push(n)), n.items.push(e);});let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);- return /* @__PURE__ */ (0, x.jsx)(FB, {+ return /* @__PURE__ */ (0, x.jsx)(PB, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${wj(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(rke, {+ summary: `${Cj(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(ake, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, x.jsxs)(IB, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, x.jsxs)(FB, {current: n.index === t,"data-follow-media-owner": e.id,"data-follow-media-item": n.index,"data-media-kind": n.media_kind || "",onClick: () => l(n),- pic: n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(VB, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(BB, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(BB, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(zB, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, x.jsx)("b", {"data-middle-truncate": "",- children: YOe(n)+ children: ZOe(n)}), /* @__PURE__ */ (0, x.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -60530,13 +60550,13 @@ function UB({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function dke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function pke({ 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 = Aj(d, e), p = Oj(e, $Oe(e, t.sources), n), m = p.credited ? "" : e.author && It(e.author) !== It(p.author) ? e.author : "", h = jj(e, n), g = QOe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {+ }, f = kj(d, e), p = Dj(e, tke(e, t.sources), n), m = p.credited ? "" : e.author && It(e.author) !== It(p.author) ? e.author : "", h = Aj(e, n), g = eke(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -60552,7 +60572,7 @@ function dke({ 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: kj(d, e) + R(wj(e)) }+ dangerouslySetInnerHTML: { __html: Oj(d, e) + R(Cj(e)) }}), e.url ? /* @__PURE__ */ (0, x.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -60560,7 +60580,7 @@ function dke({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: RB }+ dangerouslySetInnerHTML: { __html: LB }}) : null]}),/* @__PURE__ */ (0, x.jsxs)("div", {@@ -60579,15 +60599,15 @@ function dke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, x.jsx)("span", { children: Nj(e) }),- LB(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Vt(e.duration) }) : null,+ /* @__PURE__ */ (0, x.jsx)("span", { children: Mj(e) }),+ IB(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Vt(e.duration) }) : null,f ? /* @__PURE__ */ (0, x.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }}) : null]}),- e.summary ? /* @__PURE__ */ (0, x.jsx)(fke, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, x.jsx)(mke, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, x.jsx)("p", {"data-follow-media-issue": "",children: h@@ -60610,9 +60630,9 @@ function dke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [qOe(e), /* @__PURE__ */ (0, x.jsx)("span", {+ children: [YOe(e), /* @__PURE__ */ (0, x.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: RB }+ dangerouslySetInnerHTML: { __html: LB }})]}, e))}) : null,@@ -60711,7 +60731,7 @@ function dke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...y(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, x.jsx)(VB, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(ike, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, x.jsx)(BB, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(oke, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]}, e.index))})]}) : null,@@ -60725,7 +60745,7 @@ function dke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-follow-detail-tags": "",children: g.map((t) => /* @__PURE__ */ (0, x.jsx)("button", {type: "button",- "data-tag-cat": ZOe(e, t),+ "data-tag-cat": $Oe(e, t),"data-follow-tag": t,onClick: () => s.openTag(t),children: o.tagLabel(t)@@ -60735,7 +60755,7 @@ function dke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function fke({ text: e }) {+function mke({ text: e }) {let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(!1);return (0, b.useLayoutEffect)(() => {let e = t.current;@@ -60758,8 +60778,8 @@ function fke({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function pke(e, t, n) {- let r = e.id, i = DB(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), l = (e, t) => o((n) => {+function hke(e, t, n) {+ let r = e.id, i = EB(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {@@ -60778,7 +60798,7 @@ function pke(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && nR(), t.toast(nke(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && tR(), t.toast(ike(n), { undo: i === "saved" ? void 0 : async () => {await B(En, {item: r,to: i@@ -60788,7 +60808,7 @@ function pke(e, t, n) {onError: d,onSettled: (e, t, { to: n }) => l(n, !1)}), p = ft({- mutationFn: () => B(BOe, { item: r }),+ mutationFn: () => B(HOe, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到账本");},@@ -60796,7 +60816,7 @@ function pke(e, t, n) {onSettled: () => l("save", !1)}), m = ft({mutationFn: async ({ index: e, hidden: t }) => {- await B(VOe, {+ await B(UOe, {item: r,media: e,hidden: t@@ -60812,12 +60832,12 @@ function pke(e, t, n) {onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)}), h = dt({- queryKey: Cwe(r),- queryFn: ({ signal: e }) => Ewe(r, e)+ queryKey: Twe(r),+ queryFn: ({ signal: e }) => Owe(r, e)}).data?.want ?? null, g = ft({- mutationFn: async (e) => (e ? await tR([e.id]) : await eR({ follow: r }), !e),+ mutationFn: async (e) => (e ? await eR([e.id]) : await $L({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), nR();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), tR();},onError: d,onSettled: () => l("want", !1)@@ -60857,25 +60877,25 @@ function pke(e, t, n) {}//#endregion//#region src/react/components/overlay-host.ts-function mke(e) {+function gke(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 hke(e) {+function _ke(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return mke(n ?? t.body);+ return gke(n ?? t.body);}//#endregion//#region src/react/cover-crop/cover-crop.ts-var gke = "/api/cover-crop", _ke = (e, t) => B(gke, {+var vke = "/api/cover-crop", yke = (e, t) => B(vke, {code: e,box: t});//#endregion//#region src/react/cover-crop/cover-crop-page.tsx-function WB({ className: e }) {+function UB({ className: e }) {return /* @__PURE__ */ (0, x.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -60888,7 +60908,7 @@ function WB({ className: e }) {children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-crop" })});}-function vke({ code: e, coverUrl: t, box: n, onSaved: r }) {+function bke({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, b.useState)(!1), o = (0, b.useRef)(null);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("button", {ref: o,@@ -60899,15 +60919,15 @@ function vke({ code: e, coverUrl: t, box: n, onSaved: r }) {title: "裁剪封面:框出正封那一块",onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, x.jsx)(WB, { className: "size-3.75" })+ children: /* @__PURE__ */ (0, x.jsx)(UB, { className: "size-3.75" })}), /* @__PURE__ */ (0, x.jsx)(Tx, {- getContainer: () => hke(o.current),- children: /* @__PURE__ */ (0, x.jsx)($F, {+ getContainer: () => _ke(o.current),+ children: /* @__PURE__ */ (0, x.jsx)(QF, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, x.jsx)(yke, {+ children: /* @__PURE__ */ (0, x.jsx)(xke, {code: e,coverUrl: t,box: n,@@ -60917,9 +60937,9 @@ function vke({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function yke({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(null), [l, u] = (0, b.useState)(!0), d = cP(), f = ft({- mutationFn: (t) => _ke(e, t),+function xke({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(null), [l, u] = (0, b.useState)(!0), d = sP(), f = ft({+ mutationFn: (t) => yke(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -60931,19 +60951,19 @@ function yke({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : Dxe(e, Hi);- c(YF(t, e, null));+ } : kxe(e, Hi);+ c(JF(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, x.jsx)(eI, { children: /* @__PURE__ */ (0, x.jsx)(WB, { className: "size-6" }) }),+ /* @__PURE__ */ (0, x.jsx)($F, { children: /* @__PURE__ */ (0, x.jsx)(UB, { className: "size-6" }) }),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(zk, {+ /* @__PURE__ */ (0, x.jsx)(Rk, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -60958,8 +60978,8 @@ function yke({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, x.jsx)(uP, {- icon: iO,+ /* @__PURE__ */ (0, x.jsx)(lP, {+ icon: rO,size: "small","aria-label": "关闭",onClick: i@@ -60969,24 +60989,24 @@ function yke({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, x.jsx)("div", {ref: d,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: /* @__PURE__ */ (0, x.jsx)(nI, {+ children: /* @__PURE__ */ (0, x.jsx)(tI, {src: t,aspect: l ? Hi : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- qF(e) && p(e);+ KF(e) && p(e);},onBox: c})}),/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, x.jsx)(RL, {+ children: [/* @__PURE__ */ (0, x.jsx)(LL, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(YF(s, a, Hi));+ u(e), e && s && a && c(JF(s, a, Hi));},children: /* @__PURE__ */ (0, x.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -61015,14 +61035,14 @@ function yke({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}//#endregion//#region src/react/item-detail/item-detail-page.tsx-var GB = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {+var WB = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: L(e) }-}), KB = ({ html: e }) => /* @__PURE__ */ (0, x.jsx)("span", {+}), GB = ({ html: e }) => /* @__PURE__ */ (0, x.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), qB = (e) => Number(e) > 0 ? Ut(Number(e)) : "大小未知";-function bke(e) {+}), KB = (e) => Number(e) > 0 ? Ut(Number(e)) : "大小未知";+function Ske(e) {let { queue: t, actions: n } = e, r = dt({queryKey: t ? WE(t) : ["item-queue", "none"],queryFn: ({ signal: n }) => $E(t, e.helpers, n),@@ -61040,9 +61060,9 @@ function bke(e) {children: /* @__PURE__ */ (0, x.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, x.jsx)(JB, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {+ children: [/* @__PURE__ */ (0, x.jsx)(qB, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, x.jsx)(qj, {+ children: e ? /* @__PURE__ */ (0, x.jsx)(Kj, {message: _t(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -61052,13 +61072,13 @@ function bke(e) {})});}- return /* @__PURE__ */ (0, x.jsx)(xke, {+ return /* @__PURE__ */ (0, x.jsx)(Cke, {...e,item: ile(o.data, i),queue: i}, o.data.id);}-var JB = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {+var qB = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -61067,8 +61087,8 @@ var JB = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: L("x") }});-function xke(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = Lke(t, r, i.tagLabel), o = (0, b.useRef)(t);+function Cke(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = zke(t, r, i.tagLabel), o = (0, b.useRef)(t);(0, b.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, b.useEffect)(() => {@@ -61084,7 +61104,7 @@ function xke(e) {"data-with-queue": n ? "" : void 0,"data-item-detail": "",children: [- /* @__PURE__ */ (0, x.jsx)(Ske, {+ /* @__PURE__ */ (0, x.jsx)(wke, {item: t,gate: s,helpers: i,@@ -61098,13 +61118,13 @@ function xke(e) {}, c.id);}}),- n ? /* @__PURE__ */ (0, x.jsx)(wke, {+ n ? /* @__PURE__ */ (0, x.jsx)(Eke, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- /* @__PURE__ */ (0, x.jsx)(Dke, {+ /* @__PURE__ */ (0, x.jsx)(kke, {item: t,queue: n,write: a,@@ -61112,9 +61132,9 @@ function xke(e) {actions: r})]- }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, x.jsx)(Ike, { ...e }) : null] });+ }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, x.jsx)(Rke, { ...e }) : null] });}-function Ske({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+function wke({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, b.useState)(t ? "" : "auto"), c = (0, b.useRef)(null), l = (0, b.useRef)(e), u = (0, b.useRef)(a);u.current = a, (0, b.useLayoutEffect)(() => {let e = c.current;@@ -61131,7 +61151,7 @@ function Ske({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aref: c,"data-stage-media": "","data-item-media": t || "video",- children: [/* @__PURE__ */ (0, x.jsx)(JB, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, x.jsx)(Cke, {+ children: [/* @__PURE__ */ (0, x.jsx)(qB, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, x.jsx)(Tke, {item: e,badge: d,helpers: n,@@ -61141,7 +61161,7 @@ function Ske({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: arole: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, x.jsx)(KB, { html: d }),+ /* @__PURE__ */ (0, x.jsx)(GB, { html: d }),/* @__PURE__ */ (0, x.jsx)("b", { children: "在线资产" }),/* @__PURE__ */ (0, x.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, x.jsx)("button", {@@ -61156,11 +61176,11 @@ function Ske({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, x.jsx)(KB, { html: d }), /* @__PURE__ */ (0, x.jsxs)("span", { children: ["点此开始拉流 · ", qB(e.size)] })]+ children: [/* @__PURE__ */ (0, x.jsx)(GB, { html: d }), /* @__PURE__ */ (0, x.jsxs)("span", { children: ["点此开始拉流 · ", KB(e.size)] })]}) : null]});}-function Cke({ item: e, badge: t, helpers: n, actions: r }) {+function Tke({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -61171,7 +61191,7 @@ function Cke({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, x.jsx)(KB, { html: t }),+ /* @__PURE__ */ (0, x.jsx)(GB, { html: t }),/* @__PURE__ */ (0, x.jsx)("b", { children: "脱盘模式" }),/* @__PURE__ */ (0, x.jsx)("span", { children: n.offlineReason(e.location || "") }),/* @__PURE__ */ (0, x.jsx)("button", {@@ -61185,8 +61205,8 @@ function Cke({ item: e, badge: t, helpers: n, actions: r }) {]});}-function wke({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = mle(e), a = (0, b.useRef)(null), o = Eke(e, t, r), s = (0, b.useRef)(o);+function Eke({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = mle(e), a = (0, b.useRef)(null), o = Oke(e, t, r), s = (0, b.useRef)(o);s.current = o;let c = (0, b.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -61194,7 +61214,7 @@ function wke({ 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 = Tke(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)("button", {+ }, [n, e.kind]), l = Dke(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表",@@ -61213,7 +61233,7 @@ function wke({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, x.jsx)(FB, {+ return /* @__PURE__ */ (0, x.jsx)(PB, {kind: e.kind,title: i.title,summary: i.summary,@@ -61226,7 +61246,7 @@ function wke({ queue: e, itemId: t, helpers: n, actions: r }) {"data-queue-edition": "",children: i.edition_label}) : null, s = e.kind === "playlist" && tD(i);- return /* @__PURE__ */ (0, x.jsxs)(IB, {+ return /* @__PURE__ */ (0, x.jsxs)(FB, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -61236,25 +61256,25 @@ function wke({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(KB, { html: la(i, n.javImage()) }), /* @__PURE__ */ (0, x.jsx)("i", {+ pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(GB, { html: la(i, n.javImage()) }), /* @__PURE__ */ (0, x.jsx)("i", {className: "mono","data-mix-item-duration": "",children: Vt(i.duration)})] }),- lead: /* @__PURE__ */ (0, x.jsx)(KB, { html: fa(i) }),+ lead: /* @__PURE__ */ (0, x.jsx)(GB, { html: fa(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, x.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "grip-vertical" })}), /* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "x" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, x.jsxs)("span", {@@ -61271,7 +61291,7 @@ function wke({ queue: e, itemId: t, helpers: n, actions: r }) {})});}-function Tke(e, t) {+function Dke(e, t) {let n = ft({ mutationFn: (t) => B(GE, {action: "create",name: t,@@ -61285,7 +61305,7 @@ function Tke(e, t) {save: (e) => n.mutateAsync(e)});}-function Eke(e, t, n) {+function Oke(e, t, n) {let r = WE({kind: "playlist",playlistId: e.playlistId@@ -61348,7 +61368,7 @@ function Eke(e, t, n) {}};}-function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function kke({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, b.useState)(!1);return /* @__PURE__ */ (0, x.jsx)("div", {"data-stage-side": "",@@ -61356,7 +61376,7 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, x.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, x.jsx)(Oke, {+ /* @__PURE__ */ (0, x.jsx)(Ake, {item: e,queue: t,helpers: r,@@ -61368,7 +61388,7 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, x.jsx)(Ake, {+ /* @__PURE__ */ (0, x.jsx)(Mke, {item: e,write: n}),@@ -61379,7 +61399,7 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, x.jsx)(GB, { name: "monitor" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, x.jsx)(WB, { name: "monitor" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.width,"×",e.height@@ -61387,11 +61407,11 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, x.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, x.jsx)(GB, { name: "hard-drive" }), /* @__PURE__ */ (0, x.jsx)("span", { children: qB(e.size) })]+ children: [/* @__PURE__ */ (0, x.jsx)(WB, { name: "hard-drive" }), /* @__PURE__ */ (0, x.jsx)("span", { children: KB(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, x.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, x.jsx)(GB, { name: "calendar" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, x.jsx)(WB, { name: "calendar" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",@@ -61399,22 +61419,22 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"data-open-region": e.region || "",title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",onClick: () => i.openRegion(e.region || ""),- children: [/* @__PURE__ */ (0, x.jsx)(GB, { name: "globe" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, x.jsx)(WB, { name: "globe" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- /* @__PURE__ */ (0, x.jsx)(jke, {+ /* @__PURE__ */ (0, x.jsx)(Nke, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, x.jsx)(Mke, {+ /* @__PURE__ */ (0, x.jsx)(Pke, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, x.jsx)(Pke, { item: e }),+ /* @__PURE__ */ (0, x.jsx)(Ike, { item: e }),/* @__PURE__ */ (0, x.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -61428,7 +61448,7 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.liked,...o("like"),onClick: () => n.preference({ liked: !e.liked }),- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "thumbs-up" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -61440,7 +61460,7 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-controls": "preferencePanel","data-has-reason": String(!!e.like_reason),onClick: () => c((e) => !e),- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "notebook-pen" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -61451,7 +61471,7 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "thumbs-down" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -61462,7 +61482,7 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "eye" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "eye" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -61473,7 +61493,7 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -61482,7 +61502,7 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "playlist" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "playlist" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -61493,7 +61513,7 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "sparkles" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "sparkles" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button",@@ -61504,11 +61524,11 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "trash" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "trash" })})]}),- /* @__PURE__ */ (0, x.jsx)(Fke, {+ /* @__PURE__ */ (0, x.jsx)(Lke, {item: e,open: s,write: n@@ -61519,7 +61539,7 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, x.jsx)(GB, { name: "sperm" }),+ /* @__PURE__ */ (0, x.jsx)(WB, { name: "sperm" }),/* @__PURE__ */ (0, x.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, x.jsx)("b", {className: "mono",@@ -61532,7 +61552,7 @@ function Dke({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function Oke({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+function Ake({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {let a = (0, b.useRef)(null), [o, s] = (0, b.useState)(!1), [c, l] = (0, b.useState)(!1);(0, b.useLayoutEffect)(() => {let e = a.current;@@ -61569,11 +61589,11 @@ function Oke({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: u,- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: o ? "chevron-up" : "chevron-down" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: o ? "chevron-up" : "chevron-down" })}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, x.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, x.jsx)(vke, {+ children: /* @__PURE__ */ (0, x.jsx)(bke, {code: e.cover_key || e.code || "",coverUrl: Ji(e),box: e.poster_box || null,@@ -61585,7 +61605,7 @@ function Oke({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, x.jsx)(kke, {+ e.location === "online" ? null : /* @__PURE__ */ (0, x.jsx)(jke, {id: e.id,actions: r,onStatus: i@@ -61595,7 +61615,7 @@ function Oke({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function kke({ id: e, actions: t, onStatus: n }) {+function jke({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, b.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -61625,10 +61645,10 @@ function kke({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "folder-sync" })})] });}-function Ake({ item: e, write: t }) {+function Mke({ item: e, write: t }) {let n = aD(e.rating);return /* @__PURE__ */ (0, x.jsxs)("div", {id: "detailRating",@@ -61652,7 +61672,7 @@ function Ake({ item: e, write: t }) {"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,...t.busyAttrs(`rate:${e}`),onClick: () => t.rate(e),- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "star" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "star" })}, e))}), /* @__PURE__ */ (0, x.jsx)("span", {"data-rating-value": "",@@ -61661,7 +61681,7 @@ function Ake({ item: e, write: t }) {})]});}-function jke({ item: e, actions: t }) {+function Nke({ item: e, actions: t }) {let n = (0, b.useMemo)(() => ole(e), [e]), [r, i] = (0, b.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r, o = e === "performer" ? /* @__PURE__ */ (0, x.jsx)("span", {"data-id-face": "",@@ -61725,7 +61745,7 @@ function jke({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, x.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "user-round" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "user-round" })}), /* @__PURE__ */ (0, x.jsx)("span", {"data-id-name": "",children: "未归属"@@ -61737,7 +61757,7 @@ function jke({ item: e, actions: t }) {size: "small",id: "castMore","data-cast-more": "",- trailingIcon: tO,+ trailingIcon: eO,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -61771,18 +61791,18 @@ function jke({ item: e, actions: t }) {"data-entity-name": e.name,title: e.name,onClick: () => t.openEntity("series", e.name),- children: [/* @__PURE__ */ (0, x.jsx)(GB, { name: "tags" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.name })]+ children: [/* @__PURE__ */ (0, x.jsx)(WB, { name: "tags" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.name })]}, e.name) : /* @__PURE__ */ (0, x.jsxs)("span", {"data-series-link": "",title: e.name,- children: [/* @__PURE__ */ (0, x.jsx)(GB, { name: "tags" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.name })]+ children: [/* @__PURE__ */ (0, x.jsx)(WB, { name: "tags" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.name })]}, e.name))})]}) : null]});}-function Mke({ item: e, write: t, helpers: n, actions: r }) {+function Pke({ item: e, write: t, helpers: n, actions: r }) {let i = lle(e, n);return /* @__PURE__ */ (0, x.jsxs)("div", {"data-stage-tags": "",@@ -61803,16 +61823,16 @@ function Mke({ item: e, write: t, helpers: n, actions: r }) {"aria-label": `删除标签 ${n.tagLabel(e.k)}`,...t.busyAttrs(`tag:${e.k}`),onClick: () => t.removeTag(e),- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "x" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, x.jsx)(Nke, {+ }, e.k)), /* @__PURE__ */ (0, x.jsx)(Fke, {item: e,write: t,helpers: n})]});}-function Nke({ item: e, write: t, helpers: n }) {+function Fke({ item: e, write: t, helpers: n }) {let r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(!1), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(-1), h = (0, b.useCallback)(() => {i.current && Ia(i.current), c(!1);}, []);@@ -61862,7 +61882,7 @@ function Nke({ item: e, write: t, helpers: n }) {"aria-pressed": i,onClick: () => v(t, i),children: [- /* @__PURE__ */ (0, x.jsx)(GB, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, x.jsx)(WB, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, x.jsx)("span", {"data-pick-name": "",children: n.tagLabel(t.k)@@ -61885,7 +61905,7 @@ function Nke({ item: e, write: t, helpers: n }) {onClick: () => {i.current && (Fa(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));},- children: /* @__PURE__ */ (0, x.jsx)(GB, { name: "plus" })+ children: /* @__PURE__ */ (0, x.jsx)(WB, { name: "plus" })}), /* @__PURE__ */ (0, x.jsxs)("div", {ref: i,id: "tagPicker",@@ -61895,7 +61915,7 @@ function Nke({ item: e, write: t, helpers: n }) {hidden: !0,children: [/* @__PURE__ */ (0, x.jsxs)("label", {"data-tag-search": "",- children: [/* @__PURE__ */ (0, x.jsx)(GB, { name: "search" }), /* @__PURE__ */ (0, x.jsx)("input", {+ children: [/* @__PURE__ */ (0, x.jsx)(WB, { name: "search" }), /* @__PURE__ */ (0, x.jsx)("input", {ref: a,id: "tagPickSearch",maxLength: 80,@@ -61936,7 +61956,7 @@ function Nke({ item: e, write: t, helpers: n }) {onClick: () => {h(), t.addTag(g.create);},- children: [/* @__PURE__ */ (0, x.jsx)(GB, { name: "plus" }), /* @__PURE__ */ (0, x.jsxs)("span", {+ children: [/* @__PURE__ */ (0, x.jsx)(WB, { name: "plus" }), /* @__PURE__ */ (0, x.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -61951,7 +61971,7 @@ function Nke({ item: e, write: t, helpers: n }) {})]})] });}-function Pke({ item: e }) {+function Ike({ item: e }) {let t = yle(e);return /* @__PURE__ */ (0, x.jsxs)("div", {"data-item-trace": "",@@ -61986,7 +62006,7 @@ function Pke({ item: e }) {})]});}-function Fke({ item: e, open: t, write: n }) {+function Lke({ item: e, open: t, write: n }) {let [r, i] = (0, b.useState)(e.like_reason || ""), a = (0, b.useRef)(null);(0, b.useEffect)(() => {t && a.current?.focus();@@ -62025,7 +62045,7 @@ function Fke({ item: e, open: t, write: n }) {})]});}-function Ike(e) {+function Rke(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = dt({queryKey: tle(t.id, n),queryFn: async ({ signal: e }) => (await nn(rle(t.id, n), e)).items || []@@ -62041,7 +62061,7 @@ function Ike(e) {ref: s,id: "nrow","data-related-row": "",- children: a.data ? /* @__PURE__ */ (0, x.jsx)(oM, {+ children: a.data ? /* @__PURE__ */ (0, x.jsx)(aM, {mode: "items",variant: "next",items: a.data,@@ -62054,11 +62074,11 @@ function Ike(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : a.isError ? null : /* @__PURE__ */ (0, x.jsx)(KB, { html: o })+ }) : a.isError ? null : /* @__PURE__ */ (0, x.jsx)(GB, { html: o })})]});}-function Lke(e, t, n) {+function zke(e, t, n) {let r = e.id, i = UE(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;@@ -62197,31 +62217,31 @@ function Lke(e, t, n) {}//#endregion//#region src/react/stage/stage-player.ts-var YB = null, XB = null, ZB = null, QB = null, $B = null, eV = !1, tV = 0, nV = null, rV = () => !1, iV = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function Rke(e, t) {- YB = e, rV = () => t.isOpen(), nV = () => t.requestClose(), dce({+var JB = null, YB = null, XB = null, ZB = null, QB = null, $B = !1, eV = 0, tV = null, nV = () => !1, rV = (e, t, n) => `${e}:${t}:${n ?? ""}`;+function Bke(e, t) {+ JB = e, nV = () => t.isOpen(), tV = () => t.requestClose(), dce({...e.player,stage: () => document.getElementById("stage")}), fce({- inMiniplayer: (e) => XB?.player === e,- kind: (e) => XB?.player === e ? XB.kind : ZB?.kind ?? QB?.kind ?? "item",- expand: () => CV(),- toMiniplayer: () => wV()- }), aV || (aV = !0, addEventListener("pagehide", () => SE()));-}-var aV = !1;-function oV() {- if (!YB) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return YB;-}-function sV(e) {- QB = e;-}-var zke = () => QB;-function cV(e, t) {- let { kind: n, item: r, media: i = null } = t, a = iV(n, r.id, i?.index ?? null);- if (XB && XB.key === a) return Bke(e, XB);- XB && SV();+ inMiniplayer: (e) => YB?.player === e,+ kind: (e) => YB?.player === e ? YB.kind : XB?.kind ?? ZB?.kind ?? "item",+ expand: () => SV(),+ toMiniplayer: () => CV()+ }), iV || (iV = !0, addEventListener("pagehide", () => SE()));+}+var iV = !1;+function aV() {+ if (!JB) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return JB;+}+function oV(e) {+ ZB = e;+}+var Vke = () => ZB;+function sV(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = rV(n, r.id, i?.index ?? null);+ if (YB && YB.key === a) return Hke(e, YB);+ YB && xV();let o = {player: null,kind: n,@@ -62229,7 +62249,7 @@ function cV(e, t) {mediaIndex: i?.index ?? null,key: a};- ZB = o;+ XB = 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 = FE(s, {@@ -62239,18 +62259,18 @@ function cV(e, t) {autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- ZB === o && (o.player = e);+ XB === o && (o.player = e);},- handedOff: (e) => XB?.player === e+ handedOff: (e) => YB?.player === e});return () => {- let e = !!o.player && XB?.player === o.player;- ZB === o && (ZB = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), SE());+ let e = !!o.player && YB?.player === o.player;+ XB === o && (XB = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), SE());};}-function Bke(e, t) {+function Hke(e, t) {let { player: n } = t;- bV(t), XB = null, xV(), n.el().classList.remove("vjs-peach-mini"), PE(e), e.append(n.el()), XT(n);+ yV(t), YB = null, bV(), n.el().classList.remove("vjs-peach-mini"), Vce(e), e.append(n.el()), XT(n);let r = {player: n,kind: t.kind,@@ -62258,23 +62278,23 @@ function Bke(e, t) {mediaIndex: t.mediaIndex,key: t.key};- ZB = r;- let i = Vce(n, e);+ XB = r;+ let i = PE(n, e);return ZT(n), () => {- ZB === r && (ZB = null), i(), XB?.player !== n && (YT() === n && XT(null), mE(n), SE());+ XB === r && (XB = null), i(), YB?.player !== n && (YT() === n && XT(null), mE(n), SE());};}-var lV = () => {- let e = ZB?.player;+var cV = () => {+ let e = XB?.player;return e && !e.isDisposed() ? e : null;};-function Vke(e) {- let t = eV;- eV = !1, XB?.pending && SV();- let n = ZB, r = n?.player, i = QB;- if (!n || !r || r.isDisposed() || !i || !$B) return;- let a = oV().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && Gke({+function Uke(e) {+ let t = $B;+ $B = !1, YB?.pending && xV();+ let n = XB, r = n?.player, i = ZB;+ if (!n || !r || r.isDisposed() || !i || !QB) return;+ let a = aV().player.settings();+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && qke({player: r,kind: n.kind,item: n.item,@@ -62282,46 +62302,46 @@ function Vke(e) {key: n.key}, i);}-function uV(e, t) {- eV = !1, XB && (XB.kind === e && XB.item.id === t ? (XB.pending = !0, xV()) : SV());+function lV(e, t) {+ $B = !1, YB && (YB.kind === e && YB.item.id === t ? (YB.pending = !0, bV()) : xV());}-function dV(e) {- $B = e, $B && vV();+function uV(e) {+ QB = e, QB && _V();}-var fV = () => !!XB && !XB.pending && !XB.player.isDisposed();-function Hke() {- return fV() ? $B?.frame.querySelector("video") ?? null : null;+var dV = () => !!YB && !YB.pending && !YB.player.isDisposed();+function Wke() {+ return dV() ? QB?.frame.querySelector("video") ?? null : null;}-function Uke() {- return rV() ? document.getElementById("stage")?.querySelector("video") ?? null : Hke();+function Gke() {+ return nV() ? document.getElementById("stage")?.querySelector("video") ?? null : Wke();}-function pV(e) {- $B && ($B.title.textContent = e.title || "", $B.sub.textContent = e.sub || "", $B.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+function fV(e) {+ QB && (QB.title.textContent = e.title || "", QB.sub.textContent = e.sub || "", QB.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function mV(e = XB?.item) {- if (!$B) return;- let t = $B.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- $B.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function pV(e = YB?.item) {+ if (!QB) return;+ let t = QB.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ QB.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-function hV() {- let e = XB?.player;- if (!e || e.isDisposed() || !$B) return;+function mV() {+ let e = YB?.player;+ if (!e || e.isDisposed() || !QB) return;let t = e.paused();- $B.play.setAttribute("aria-label", t ? "播放" : "暂停"), $B.play.querySelector("[data-icon-swap]") || ($B.play.innerHTML = eo("player-pause", "player-play", t ? "b" : "a")), to($B.play, t ? "b" : "a");-}-function gV() {- let e = XB?.player;- if (!e || e.isDisposed() || !$B) return;- let t = Bt(XB?.item.duration) || Bt(e.duration());- $B.time.textContent = `${Ht(e.currentTime())} / ${t ? Ht(t) : "0:00"}`;+ QB.play.setAttribute("aria-label", t ? "播放" : "暂停"), QB.play.querySelector("[data-icon-swap]") || (QB.play.innerHTML = eo("player-pause", "player-play", t ? "b" : "a")), to(QB.play, t ? "b" : "a");}-var _V = () => Math.max(1, Number(oV().player.settings().seekSeconds) || 10);-function vV() {- if (!$B || !YB) return;- let e = _V();- for (let [t, n] of [[$B.back, `后退 ${e} 秒`], [$B.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;-}-function yV(e) {+function hV() {+ let e = YB?.player;+ if (!e || e.isDisposed() || !QB) return;+ let t = Bt(YB?.item.duration) || Bt(e.duration());+ QB.time.textContent = `${Ht(e.currentTime())} / ${t ? Ht(t) : "0:00"}`;+}+var gV = () => Math.max(1, Number(aV().player.settings().seekSeconds) || 10);+function _V() {+ if (!QB || !JB) return;+ let e = gV();+ for (let [t, n] of [[QB.back, `后退 ${e} 秒`], [QB.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function vV(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -62333,17 +62353,17 @@ function yV(e) {"play","pause","ended"- ], hV), t([+ ], mV), t(["timeupdate","durationchange","loadedmetadata"- ], gV), t("loadedmetadata", () => mV()), hV(), gV(), mV(), vV();+ ], hV), t("loadedmetadata", () => pV()), mV(), hV(), pV(), _V();}-function bV(e) {+function yV(e) {e.off.forEach((e) => e()), e.off = [];}-function Wke() {- let e = $B?.root;+function Kke() {+ let e = QB?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -62351,8 +62371,8 @@ function Wke() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function xV() {- let e = $B?.root;+function bV() {+ let e = QB?.root;if (e) {e.hidden = !0;for (let t of [@@ -62363,73 +62383,73 @@ function xV() {e.style.transform = "";}}-function Gke(e, t) {- if (!$B) return;+function qke(e, t) {+ if (!QB) return;let n = {...e,meta: t,off: [],pending: !1};- XB = n, tV++, e.player.el().classList.add("vjs-peach-mini"), $B.frame.prepend(e.player.el()), pV(t), yV(n), Wke(), ZT(e.player);+ YB = n, eV++, e.player.el().classList.add("vjs-peach-mini"), QB.frame.prepend(e.player.el()), fV(t), vV(n), Kke(), ZT(e.player);}-function SV() {- let e = XB;- e && bV(e), XB = null, tV++;+function xV() {+ let e = YB;+ e && yV(e), YB = null, eV++;let t = e?.player ?? null;- t && YT() === t && XT(null), mE(t), t && SE(), $B?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), qT(), xV();+ t && YT() === t && XT(null), mE(t), t && SE(), QB?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), qT(), bV();}-function CV() {- if (!fV() || !XB) return;- let { kind: e, item: t, mediaIndex: n } = XB;- oV().expand(e, t.id, n);+function SV() {+ if (!dV() || !YB) return;+ let { kind: e, item: t, mediaIndex: n } = YB;+ aV().expand(e, t.id, n);}-function wV() {- fV() && !rV() ? CV() : rV() && lV() && nV && (eV = !0, nV());+function CV() {+ dV() && !nV() ? SV() : nV() && cV() && tV && ($B = !0, tV());}-function Kke() {- let e = XB?.player;+function Jke() {+ let e = YB?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function TV(e) {- let t = XB?.player;+function wV(e) {+ let t = YB?.player;if (!t || t.isDisposed()) return;- let n = Bt(t.duration()) || Bt(XB?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + _V() * e);+ let n = Bt(t.duration()) || Bt(YB?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + gV() * e);t.currentTime(n ? Math.min(n, r) : r);}-function EV(e) {- return !(!fV() || !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 || oV().sourceOffline(String(e.location ?? "")));-}-async function qke(e) {- if (!fV() || !XB || !$B) return;- let t = ++tV, n = await vt(`/api/item?id=${e}`).catch(() => null);- if (t !== tV || !fV() || !XB || !$B || !n || n.error) return;- if (!EV(n)) {- oV().openItem(e);+function TV(e) {+ return !(!dV() || !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 || aV().sourceOffline(String(e.location ?? "")));+}+async function Yke(e) {+ if (!dV() || !YB || !QB) return;+ let t = ++eV, n = await vt(`/api/item?id=${e}`).catch(() => null);+ if (t !== eV || !dV() || !YB || !QB || !n || n.error) return;+ if (!TV(n)) {+ aV().openItem(e);return;}- let r = XB;- bV(r), YT() === r.player && XT(null), mE(r.player), SE(), $B.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = YB;+ yV(r), YT() === r.player && XT(null), mE(r.player), SE(), QB.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", $B.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", QB.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- pV(a), FE(i, {+ fV(a), FE(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== tV) {+ if (t !== eV) {r && YT() === r && XT(null), mE(r);return;}if (!r) {- SV(), oV().openItem(e);+ xV(), aV().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -62438,26 +62458,26 @@ async function qke(e) {kind: "item",item: n,mediaIndex: null,- key: iV("item", n.id, null),+ key: rV("item", n.id, null),meta: a,off: [],pending: !1};- XB = i, yV(i);+ YB = i, vV(i);}- }), mV(n);+ }), pV(n);}//#endregion//#region src/react/stage/miniplayer.tsx-var DV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {+var EV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })-}), Jke = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, OV = (e) => (t) => {+}), Xke = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, DV = (e) => (t) => {t.stopPropagation(), e();-}, Yke = (0, b.memo)(function() {+}, Zke = (0, b.memo)(function() {let e = (0, b.useRef)(null), t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)(null);- return (0, b.useLayoutEffect)(() => (dV({+ return (0, b.useLayoutEffect)(() => (uV({root: e.current,frame: n.current,play: r.current,@@ -62467,7 +62487,7 @@ var DV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => dV(null)), []), (0, b.useEffect)(() => Zke(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {+ }), () => uV(null)), []), (0, b.useEffect)(() => $ke(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -62491,24 +62511,24 @@ var DV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: OV(CV),- children: /* @__PURE__ */ (0, x.jsx)(DV, { name: "maximize-2" })+ onClick: DV(SV),+ children: /* @__PURE__ */ (0, x.jsx)(EV, { name: "maximize-2" })}),/* @__PURE__ */ (0, x.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: OV(SV),- children: /* @__PURE__ */ (0, x.jsx)(DV, { name: "x" })+ onClick: DV(xV),+ children: /* @__PURE__ */ (0, x.jsx)(EV, { name: "x" })}),/* @__PURE__ */ (0, x.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: OV(() => TV(-1)),- children: /* @__PURE__ */ (0, x.jsx)(DV, { name: "rotate-ccw" })+ onClick: DV(() => wV(-1)),+ children: /* @__PURE__ */ (0, x.jsx)(EV, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, x.jsx)("button", {ref: r,@@ -62517,16 +62537,16 @@ var DV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: OV(Kke),- dangerouslySetInnerHTML: Jke+ onClick: DV(Jke),+ dangerouslySetInnerHTML: Xke}),/* @__PURE__ */ (0, x.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: OV(() => TV(1)),- children: /* @__PURE__ */ (0, x.jsx)(DV, { name: "rotate-cw" })+ onClick: DV(() => wV(1)),+ children: /* @__PURE__ */ (0, x.jsx)(EV, { name: "rotate-cw" })}),/* @__PURE__ */ (0, x.jsx)("span", {ref: i,@@ -62543,7 +62563,7 @@ var DV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => CV(),+ onClick: () => SV(),children: [/* @__PURE__ */ (0, x.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -62557,7 +62577,7 @@ var DV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {})});});-function Xke(e, t, n) {+function Qke(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@@ -62579,7 +62599,7 @@ function Xke(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function Zke(e, t) {+function $ke(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 = {@@ -62605,7 +62625,7 @@ function Zke(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), Xke(e, i.dx, i.dy));+ }, 0), Qke(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -62617,69 +62637,69 @@ function Zke(e, t) {}//#endregion//#region src/react/stage/stage.tsx-var kV = null, AV = null, jV = /* @__PURE__ */ new Set(), MV = 0, NV = null, PV = !1, FV = !1, IV = () => {+var OV = null, kV = null, AV = /* @__PURE__ */ new Set(), jV = 0, MV = null, NV = !1, PV = !1, FV = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function LV() {- if (!kV) throw Error("舞台还没有接上宿主(configureStage)");- return kV;+function IV() {+ if (!OV) throw Error("舞台还没有接上宿主(configureStage)");+ return OV;}-function Qke(e) {- return jV.add(e), () => {- jV.delete(e);+function eAe(e) {+ return AV.add(e), () => {+ AV.delete(e);};}-function $ke() {- for (let e of [...jV]) e();+function tAe() {+ for (let e of [...AV]) e();}-function RV() {- (0, mt.flushSync)($ke);+function LV() {+ (0, mt.flushSync)(tAe);}-function eAe({ view: e }) {- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(tAe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(Yke, {})] });+function nAe({ view: e }) {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(rAe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(Zke, {})] });}-var zV = () => /* @__PURE__ */ (0, x.jsx)("div", {+var RV = () => /* @__PURE__ */ (0, x.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: LOe() }+ dangerouslySetInnerHTML: { __html: zOe() }});-function BV(e) {+function zV(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 tAe({ view: e }) {+function rAe({ view: e }) {let t = (0, b.useRef)(null);(0, b.useLayoutEffect)(() => {let e = t.current, n = (e) => {- e.preventDefault(), VV();+ e.preventDefault(), BV();};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, x.jsx)(bke, { ...r.props }) : /* @__PURE__ */ (0, x.jsx)(ake, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, x.jsx)(Ske, { ...r.props }) : /* @__PURE__ */ (0, x.jsx)(ske, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, x.jsxs)("dialog", {ref: t,id: "stage","data-stage": "","aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), VV());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), BV());},onPointerDown: (e) => {- FV = BV(e);+ PV = zV(e);},onClick: (e) => {- FV && BV(e) && VV();+ PV && zV(e) && BV();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, x.jsx)(zV, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, x.jsx)(RV, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, x.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, x.jsx)(zV, {})+ children: /* @__PURE__ */ (0, x.jsx)(RV, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, x.jsx)("div", {"data-stage-scroll": "",@@ -62691,34 +62711,34 @@ function tAe({ view: e }) {]});}-function VV() {- AV && !PV && (PV = !0, AV.request.actions.close());+function BV() {+ kV && !NV && (NV = !0, kV.request.actions.close());}-function HV(e, t) {- let n = IV();+function VV(e, t) {+ let n = FV();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function UV(e) {+function HV(e) {let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => LV().player.settings(), i = () => AV?.request === e;+ }, r = () => IV().player.settings(), i = () => kV?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: VV,+ close: BV,present: (e, t) => {let n = e.performers;- sV({+ oV({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), HV(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), VV(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => cV(e, {+ mountPlayer: (e, t, r, i) => sV(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -62736,18 +62756,18 @@ function UV(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: VV,+ close: BV,present: (e, t) => {- sV({+ oV({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), HV(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), VV(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => cV(e, {+ mountPlayer: (e, t, r, i) => sV(e, {kind: "follow",item: t,media: r,@@ -62764,78 +62784,78 @@ function UV(e) {}};}-function nAe(e, t) {+function iAe(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"), AV?.generation === t && AV.phase === "reveal" && (AV = {- ...AV,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), kV?.generation === t && kV.phase === "reveal" && (kV = {+ ...kV,phase: "content"- }, RV());+ }, LV());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function WV(e) {- let t = IV();- return !AV || AV.content.kind !== e || PV || !t?.open || t.hasAttribute("data-closing") ? null : t;+function UV(e) {+ let t = FV();+ return !kV || kV.content.kind !== e || NV || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function rAe(e) {- let t = WV(e.kind);+async function aAe(e) {+ let t = UV(e.kind);if (t) {- await iAe(e, t);+ await oAe(e, t);return;}- AV && GV({ miniplayer: !1 });- let n = ++MV, r = new AbortController();- NV = r, PV = !1, FV = !1, uV(e.kind, e.id ?? NaN), AV = {+ kV && WV({ miniplayer: !1 });+ let n = ++jV, r = new AbortController();+ MV = r, NV = !1, PV = !1, lV(e.kind, e.id ?? NaN), kV = {generation: n,request: e,- content: UV(e),+ content: HV(e),phase: "skeleton"- }, RV();- let i = IV();+ }, LV();+ let i = FV();if (!i) return;yo(i), document.body.setAttribute("data-detail-open", ""), i.open || i.showModal();- let a = AV.content;+ let a = kV.content;try {- a.kind === "item" ? await rD(a.props, r.signal) : await AB(a.props, r.signal);+ a.kind === "item" ? await rD(a.props, r.signal) : await kB(a.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== MV || !AV) return;+ if (n !== jV || !kV) return;let o = !!i.querySelector(".skeleton-awaiting");- AV = {- ...AV,+ kV = {+ ...kV,phase: o ? "content" : "reveal"- }, RV(), o || nAe(i, n), so(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, LV(), o || iAe(i, n), so(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");let s = document.activeElement;(s === i || !i.contains(s)) && i.querySelector("#closeStage")?.focus();}-async function iAe(e, t) {- let n = ++MV;- NV?.abort();+async function oAe(e, t) {+ let n = ++jV;+ MV?.abort();let r = new AbortController();- NV = r, FV = !1;- let i = UV(e);+ MV = r, PV = !1;+ let i = HV(e);try {- i.kind === "item" ? await rD(i.props, r.signal) : await AB(i.props, r.signal);+ i.kind === "item" ? await rD(i.props, r.signal) : await kB(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== MV || !AV || WV(e.kind) !== t) return;- uV(e.kind, e.id ?? NaN), Hs(t), qT(), AV = {- ...AV,+ if (n !== jV || !kV || UV(e.kind) !== t) return;+ lV(e.kind, e.id ?? NaN), Hs(t), qT(), kV = {+ ...kV,request: e,content: i,phase: "content"- }, RV(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), so(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, LV(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), so(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");let a = document.activeElement;(a === t || !t.contains(a)) && (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });}-function aAe() {- let e = IV();+function sAe() {+ let e = FV();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();@@ -62845,78 +62865,78 @@ function aAe() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function GV({ miniplayer: e = !0 } = {}) {- if (MV++, NV?.abort(), NV = null, Vke(e), !AV) return;- let t = IV();- t && Hs(t), qT(), t?.open && t.close(), AV = null, PV = !1, FV = !1, RV(), sV(null), document.body.removeAttribute("data-detail-open");+function WV({ miniplayer: e = !0 } = {}) {+ if (jV++, MV?.abort(), MV = null, Uke(e), !kV) return;+ let t = FV();+ t && Hs(t), qT(), t?.open && t.close(), kV = null, NV = !1, PV = !1, LV(), oV(null), document.body.removeAttribute("data-detail-open");}-function oAe(e) {- AV && AV.content.kind === "item" && (AV = {- ...AV,+function cAe(e) {+ kV && kV.content.kind === "item" && (kV = {+ ...kV,content: {kind: "item",props: {- ...AV.content.props,+ ...kV.content.props,...e}}- }, RV());+ }, LV());}-function sAe() {- let e = zke(), t = e?.kind === "item" ? e.item : null, n = t ? ua(t, LV().player.settings().javImage) : "";+function lAe() {+ let e = Vke(), t = e?.kind === "item" ? e.item : null, n = t ? ua(t, IV().player.settings().javImage) : "";if (!n) return;- let r = lV();+ let r = cV();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var cAe = {- open: rAe,- update: oAe,- exit: aAe,- dispose: GV,- requestClose: VV,- repaintPoster: sAe,- isOpen: () => !!AV,- showing: () => AV && WV(AV.content.kind) ? AV.content.kind : null,- activeVideo: () => Uke(),+var uAe = {+ open: aAe,+ update: cAe,+ exit: sAe,+ dispose: WV,+ requestClose: BV,+ repaintPoster: lAe,+ isOpen: () => !!kV,+ showing: () => kV && UV(kV.content.kind) ? kV.content.kind : null,+ activeVideo: () => Gke(),toggleTheater: () => {- AV && pE(!LV().player.settings().theaterMode);+ kV && pE(!IV().player.settings().theaterMode);},- toggleMiniplayer: () => wV(),- closeMiniplayer: () => SV(),- miniplayerActive: () => fV(),- miniplayerTakesCard: (e) => EV(e),+ toggleMiniplayer: () => CV(),+ closeMiniplayer: () => xV(),+ miniplayerActive: () => dV(),+ miniplayerTakesCard: (e) => TV(e),miniplayerPlay: (e) => {- qke(e);+ Yke(e);}};-function lAe(e) {- return kV = e, Rke(e, {- isOpen: () => !!AV,- requestClose: VV- }), cAe;+function dAe(e) {+ return OV = e, Bke(e, {+ isOpen: () => !!kV,+ requestClose: BV+ }), uAe;}-function uAe() {- let e = (0, b.useSyncExternalStore)(Qke, () => AV);- return kV ? /* @__PURE__ */ (0, x.jsx)(eAe, { view: e }) : null;+function fAe() {+ let e = (0, b.useSyncExternalStore)(eAe, () => kV);+ return OV ? /* @__PURE__ */ (0, x.jsx)(nAe, { view: e }) : null;}//#endregion//#region src/react/stats/stats.ts-var dAe = "/api/stats", KV = ["stats"], qV = (e) => nn(dAe, e);-async function fAe(e) {+var pAe = "/api/stats", GV = ["stats"], KV = (e) => nn(pAe, e);+async function mAe(e) {await V.fetchQuery({- queryKey: KV,- queryFn: () => qV(e)+ queryKey: GV,+ queryFn: () => KV(e)});}-var JV = (e) => e != null && Number.isFinite(e), YV = (e) => JV(e) ? e.toLocaleString() : "未取得", pAe = (e, t) => JV(e) && JV(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, XV = (e, t) => {- let n = pAe(e, t);- return !n && JV(e) && e > 0 && JV(t) && t > 0 ? "<1%" : `${n}%`;-}, ZV = (e) => {- if (!JV(e)) return "未取得";+var qV = (e) => e != null && Number.isFinite(e), JV = (e) => qV(e) ? e.toLocaleString() : "未取得", hAe = (e, t) => qV(e) && qV(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, YV = (e, t) => {+ let n = hAe(e, t);+ return !n && qV(e) && e > 0 && qV(t) && t > 0 ? "<1%" : `${n}%`;+}, XV = (e) => {+ if (!qV(e)) return "未取得";let t = Math.max(0, e);return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;-}, QV = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, $V = (e) => (e.max_reached || 0) * 100, mAe = (e) => e.kind === "online" ? "在线直接观看" : QV(e) < $V(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", hAe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`;-function gAe(e, t = 6) {+}, ZV = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, QV = (e) => (e.max_reached || 0) * 100, gAe = (e) => e.kind === "online" ? "在线直接观看" : ZV(e) < QV(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", _Ae = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`;+function vAe(e, t = 6) {let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (n.length <= t) return n;let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);@@ -62926,7 +62946,7 @@ function gAe(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var _Ae = (e) => Math.max(1, ...e) * 1.1, vAe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, yAe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), bAe = {+var yAe = (e) => Math.max(1, ...e) * 1.1, bAe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, xAe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), SAe = {video: "视频",image: "图片",illustration: "插画",@@ -62934,18 +62954,18 @@ var _Ae = (e) => Math.max(1, ...e) * 1.1, vAe = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, xAe = (e) => e.map((e) => ({- name: bAe[e.k] ?? e.k,+}, CAe = (e) => e.map((e) => ({+ name: SAe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), SAe = {+})).sort((e, t) => t.value - e.value), wAe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, eH = (e, t = {}) => e.map((e) => ({+}, $V = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), CAe = (e) => eH(e, SAe), wAe = [+})), TAe = (e) => $V(e, wAe), EAe = [[1,1,@@ -62981,49 +63001,49 @@ var _Ae = (e) => Math.max(1, ...e) * 1.1, vAe = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], TAe = (e) => wAe.map(([t, n, r]) => ({+], DAe = (e) => EAe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)-})), EAe = /* @__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 tH(e) {- return typeof e == "string" && EAe.includes(e);+})), OAe = /* @__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 eH(e) {+ return typeof e == "string" && OAe.includes(e);}//#endregion//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js-var DAe = /* @__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 nH(e) {- return typeof e == "string" && DAe.has(e);+var kAe = /* @__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 tH(e) {+ return typeof e == "string" && kAe.has(e);}-function rH(e) {+function nH(e) {return typeof e == "string" && e.startsWith("data-");}-function iH(e) {+function rH(e) {if (typeof e != "object" || !e) return {};var t = {};- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (nH(n) || rH(n)) && (t[n] = e[n]);+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (tH(n) || nH(n)) && (t[n] = e[n]);return t;}-function aH(e) {+function iH(e) {if (e == null) return null;if (/*#__PURE__*/ (0, b.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {var t = e.props;- return iH(t);+ return rH(t);}- return typeof e == "object" && !Array.isArray(e) ? iH(e) : null;+ return typeof e == "object" && !Array.isArray(e) ? rH(e) : null;}//#endregion//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js-function oH(e) {+function aH(e) {var t = {};- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (nH(n) || rH(n) || tH(n)) && (t[n] = e[n]);+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (tH(n) || nH(n) || eH(n)) && (t[n] = e[n]);return t;}-function OAe(e) {- return e == null ? null : /*#__PURE__*/ (0, b.isValidElement)(e) ? oH(e.props) : typeof e == "object" && !Array.isArray(e) ? oH(e) : null;+function AAe(e) {+ return e == null ? null : /*#__PURE__*/ (0, b.isValidElement)(e) ? aH(e.props) : typeof e == "object" && !Array.isArray(e) ? aH(e) : null;}//#endregion//#region node_modules/recharts/es6/container/Surface.js-var kAe = [+var jAe = ["children","width","height",@@ -63033,25 +63053,25 @@ var kAe = ["title","desc"];-function sH() {- return sH = Object.assign ? Object.assign.bind() : function(e) {+function oH() {+ return oH = 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;- }, sH.apply(null, arguments);+ }, oH.apply(null, arguments);}-function AAe(e, t) {+function MAe(e, t) {if (e == null) return {};- var n, r, i = jAe(e, t);+ var n, r, i = NAe(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 jAe(e, t) {+function NAe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -63060,14 +63080,14 @@ function jAe(e, t) {}return n;}-var cH = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = AAe(e, kAe), d = a || {+var sH = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = MAe(e, jAe), d = a || {width: r,height: i,x: 0,y: 0}, f = dv("recharts-surface", o);- return /*#__PURE__*/ b.createElement("svg", sH({}, oH(u), {+ return /*#__PURE__*/ b.createElement("svg", oH({}, aH(u), {className: f,width: r,height: i,@@ -63075,26 +63095,26 @@ var cH = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,ref: t}), /*#__PURE__*/ b.createElement("title", null, c), /*#__PURE__*/ b.createElement("desc", null, l), n);-}), MAe = ["children", "className"];-function lH() {- return lH = Object.assign ? Object.assign.bind() : function(e) {+}), PAe = ["children", "className"];+function cH() {+ return cH = 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;- }, lH.apply(null, arguments);+ }, cH.apply(null, arguments);}-function NAe(e, t) {+function FAe(e, t) {if (e == null) return {};- var n, r, i = PAe(e, t);+ var n, r, i = IAe(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 PAe(e, t) {+function IAe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -63103,54 +63123,54 @@ function PAe(e, t) {}return n;}-var uH = /*#__PURE__*/ b.forwardRef((e, t) => {- var n = e.children, r = e.className, i = NAe(e, MAe), a = dv("recharts-layer", r);- return /*#__PURE__*/ b.createElement("g", lH({ className: a }, oH(i), { ref: t }), n);+var lH = /*#__PURE__*/ b.forwardRef((e, t) => {+ var n = e.children, r = e.className, i = FAe(e, PAe), a = dv("recharts-layer", r);+ return /*#__PURE__*/ b.createElement("g", cH({ className: a }, aH(i), { ref: t }), n);});//#endregion//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs-function dH(e) {+function uH(e) {return e === "__proto__";}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs-var FAe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;-function fH(e) {+var LAe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;+function dH(e) {switch (typeof e) {case "number":case "symbol": return !1;- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : FAe.test(e);+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : LAe.test(e);default: return !1;}}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs-function pH(e) {+function fH(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 mH(e) {+function pH(e) {return typeof e == "symbol" || e instanceof Symbol;}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toString.mjs-function IAe(e) {- return e == null ? "" : hH(e);+function RAe(e) {+ return e == null ? "" : mH(e);}-function hH(e) {+function mH(e) {if (typeof e == "string") return e;- if (Array.isArray(e)) return e.map(hH).join(",");- if (mH(e)) return e.toString();+ if (Array.isArray(e)) return e.map(mH).join(",");+ if (pH(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 gH(e) {- if (Array.isArray(e)) return e.map(pH);+function hH(e) {+ if (Array.isArray(e)) return e.map(fH);if (typeof e == "symbol") return [e];- e = IAe(e);+ e = RAe(e);let t = [], n = e.length;if (n === 0) return t;let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;@@ -63178,86 +63198,86 @@ function gH(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/object/get.mjs-function _H(e, t, n) {+function gH(e, t, n) {if (e == null) return n;switch (typeof t) {case "string": {- if (dH(t)) return n;+ if (uH(t)) return n;let r = e[t];- return r === void 0 ? fH(t) && !Object.hasOwn(e, t) ? _H(e, gH(t), n) : n : r;+ return r === void 0 ? dH(t) && !Object.hasOwn(e, t) ? gH(e, hH(t), n) : n : r;}case "number":case "symbol": {- typeof t == "number" && (t = pH(t));+ typeof t == "number" && (t = fH(t));let r = e[t];return r === void 0 ? n : r;}default: {- if (Array.isArray(t)) return LAe(e, t, n);- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), dH(t)) return n;+ if (Array.isArray(t)) return zAe(e, t, n);+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), uH(t)) return n;let r = e[t];return r === void 0 ? n : r;}}}-function LAe(e, t, n) {+function zAe(e, t, n) {if (t.length === 0) return n;let r = e;for (let e = 0; e < t.length; e++) {- if (r == null || dH(t[e])) return n;+ if (r == null || uH(t[e])) return n;r = r[t[e]];}return r === void 0 ? n : r;}//#endregion//#region node_modules/recharts/es6/util/round.js-var RAe = 4;-function vH(e) {- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : RAe), n = Math.round(e * t) / t;+var BAe = 4;+function _H(e) {+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : BAe), n = Math.round(e * t) / t;return Object.is(n, -0) ? 0 : n;}-function yH(e) {+function vH(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 + vH(i) + n;+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + _H(i) + n;}, "");}//#endregion//#region node_modules/recharts/es6/util/DataUtils.js-var bH = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, xH = (e) => typeof e == "number" && e != +e, SH = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, q = (e) => (typeof e == "number" || e instanceof Number) && !xH(e), CH = (e) => q(e) || typeof e == "string", zAe = 0, wH = (e) => {- var t = ++zAe;+var yH = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, bH = (e) => typeof e == "number" && e != +e, xH = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, q = (e) => (typeof e == "number" || e instanceof Number) && !bH(e), SH = (e) => q(e) || typeof e == "string", VAe = 0, CH = (e) => {+ var t = ++VAe;return `${e || ""}${t}`;-}, TH = function(e, t) {+}, wH = 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 (!q(e) && typeof e != "string") return n;var i;- if (SH(e)) {+ if (xH(e)) {if (t == null) return n;var a = e.indexOf("%");i = t * parseFloat(e.slice(0, a)) / 100;} else i = +e;- return xH(i) && (i = n), r && t != null && i > t && (i = t), i;-}, EH = (e) => {+ return bH(i) && (i = n), r && t != null && i > t && (i = t), i;+}, TH = (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 DH(e, t, n) {- return q(e) && q(t) ? vH(e + n * (t - e)) : t;+function EH(e, t, n) {+ return q(e) && q(t) ? _H(e + n * (t - e)) : t;}-function OH(e, t, n) {- if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : _H(e, t)) === n);+function DH(e, t, n) {+ if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : gH(e, t)) === n);}-var kH = (e) => e == null, AH = (e) => kH(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;-function jH(e) {+var OH = (e) => e == null, kH = (e) => OH(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;+function AH(e) {return e != null;}-function MH() {}+function jH() {}//#endregion//#region node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js-function NH(e) {+function MH(e) {if (e) return {x: e.x,y: e.y,@@ -63269,7 +63289,7 @@ function NH(e) {}//#endregion//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js-function PH(e, t) {+function NH(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -63279,30 +63299,30 @@ function PH(e, t) {}return n;}-function FH(e) {+function PH(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? PH(Object(n), !0).forEach(function(t) {- BAe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PH(Object(n)).forEach(function(t) {+ t % 2 ? NH(Object(n), !0).forEach(function(t) {+ HAe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NH(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 HAe(e, t, n) {+ return (t = UAe(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 UAe(e) {+ var t = WAe(e, "string");return typeof t == "symbol" ? t : t + "";}-function HAe(e, t) {+function WAe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -63312,8 +63332,8 @@ function HAe(e, t) {}return (t === "string" ? String : Number)(e);}-var IH = (e) => {- var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = NH(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;+var FH = (e) => {+ var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = MH(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;if (n === "top") {var D = {x: p + d / 2,@@ -63354,98 +63374,98 @@ var IH = (e) => {width: g,height: u} : {};- return n === "insideLeft" ? FH({+ return n === "insideLeft" ? PH({x: h + C,y: l + u / 2,horizontalAnchor: T,verticalAnchor: "middle"- }, j) : n === "insideRight" ? FH({+ }, j) : n === "insideRight" ? PH({x: h + g - C,y: l + u / 2,horizontalAnchor: w,verticalAnchor: "middle"- }, j) : n === "insideTop" ? FH({+ }, j) : n === "insideTop" ? PH({x: p + d / 2,y: l + y,horizontalAnchor: "middle",verticalAnchor: x- }, j) : n === "insideBottom" ? FH({+ }, j) : n === "insideBottom" ? PH({x: m + f / 2,y: l + u - y,horizontalAnchor: "middle",verticalAnchor: b- }, j) : n === "insideTopLeft" ? FH({+ }, j) : n === "insideTopLeft" ? PH({x: p + C,y: l + y,horizontalAnchor: T,verticalAnchor: x- }, j) : n === "insideTopRight" ? FH({+ }, j) : n === "insideTopRight" ? PH({x: p + d - C,y: l + y,horizontalAnchor: w,verticalAnchor: x- }, j) : n === "insideBottomLeft" ? FH({+ }, j) : n === "insideBottomLeft" ? PH({x: m + C,y: l + u - y,horizontalAnchor: T,verticalAnchor: b- }, j) : n === "insideBottomRight" ? FH({+ }, j) : n === "insideBottomRight" ? PH({x: m + f - C,y: l + u - y,horizontalAnchor: w,verticalAnchor: b- }, j) : n && typeof n == "object" && (q(n.x) || SH(n.x)) && (q(n.y) || SH(n.y)) ? FH({- x: c + TH(n.x, g),- y: l + TH(n.y, u),+ }, j) : n && typeof n == "object" && (q(n.x) || xH(n.x)) && (q(n.y) || xH(n.y)) ? PH({+ x: c + wH(n.x, g),+ y: l + wH(n.y, u),horizontalAnchor: "end",verticalAnchor: "end"- }, j) : FH({+ }, j) : PH({x: _,y: l + u / 2,horizontalAnchor: "middle",verticalAnchor: "middle"}, j);-}, UAe = [+}, GAe = ["top","left","right","bottom"];-function LH(e) {- return e == null ? !1 : typeof e == "object" || UAe.includes(e);+function IH(e) {+ return e == null ? !1 : typeof e == "object" || GAe.includes(e);}//#endregion//#region node_modules/recharts/es6/context/legendPortalContext.js-var RH = /*#__PURE__*/ (0, b.createContext)(null), WAe = () => (0, b.useContext)(RH);+var LH = /*#__PURE__*/ (0, b.createContext)(null), KAe = () => (0, b.useContext)(LH);//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js-function zH(e) {+function RH(e) {return function() {return e;};}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js-var BH = Math.cos, VH = Math.sin, HH = Math.sqrt, UH = Math.PI;-UH / 2;-var WH = 2 * UH, GH = Math.PI, KH = 2 * GH, qH = 1e-6, GAe = KH - qH;-function JH(e) {+var zH = Math.cos, BH = Math.sin, VH = Math.sqrt, HH = Math.PI;+HH / 2;+var UH = 2 * HH, WH = Math.PI, GH = 2 * WH, KH = 1e-6, qAe = GH - KH;+function qH(e) {this._ += e[0];for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];}-function KAe(e) {+function JAe(e) {let t = Math.floor(e);if (!(t >= 0)) throw Error(`invalid digits: ${e}`);- if (t > 15) return JH;+ if (t > 15) return qH;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 YH = class {+var JH = class {constructor(e) {- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? JH : KAe(e);+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? qH : JAe(e);}moveTo(e, t) {this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;@@ -63466,18 +63486,18 @@ var YH = 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 > qH) {- if (!(Math.abs(u * s - c * l) > qH) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;+ else if (d > KH) {+ if (!(Math.abs(u * s - c * l) > KH) || !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((GH - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > qH && 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((WH - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > KH && 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) > qH || Math.abs(this._y1 - l) > qH) && this._append`L${c},${l}`, n && (d < 0 && (d = d % KH + KH), d > GAe ? 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 > qH && this._append`A${n},${n},0,${+(d >= GH)},${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) > KH || Math.abs(this._y1 - l) > KH) && this._append`L${c},${l}`, n && (d < 0 && (d = d % GH + GH), d > qAe ? 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 > KH && this._append`A${n},${n},0,${+(d >= WH)},${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`;@@ -63486,10 +63506,10 @@ var YH = class {return this._;}};-YH.prototype;+JH.prototype;//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js-function XH(e) {+function YH(e) {let t = 3;return e.digits = function(n) {if (!arguments.length) return t;@@ -63500,18 +63520,18 @@ function XH(e) {t = e;}return e;- }, () => new YH(t);+ }, () => new JH(t);}Array.prototype.slice;-function ZH(e) {+function XH(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 QH(e) {+function ZH(e) {this._context = e;}-QH.prototype = {+ZH.prototype = {areaStart: function() {this._line = 0;},@@ -63534,33 +63554,33 @@ QH.prototype = {}}};-function $H(e) {- return new QH(e);+function QH(e) {+ return new ZH(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js-function eU(e) {+function $H(e) {return e[0];}-function tU(e) {+function eU(e) {return e[1];}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js-function nU(e, t) {- var n = zH(!0), r = null, i = $H, a = null, o = XH(s);- e = typeof e == "function" ? e : e === void 0 ? eU : zH(e), t = typeof t == "function" ? t : t === void 0 ? tU : zH(t);+function tU(e, t) {+ var n = RH(!0), r = null, i = QH, a = null, o = YH(s);+ e = typeof e == "function" ? e : e === void 0 ? $H : RH(e), t = typeof t == "function" ? t : t === void 0 ? eU : RH(t);function s(s) {- var c, l = (s = ZH(s)).length, u, d = !1, f;+ var c, l = (s = XH(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 : zH(+t), s) : e;+ return arguments.length ? (e = typeof t == "function" ? t : RH(+t), s) : e;}, s.y = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : zH(+e), s) : t;+ return arguments.length ? (t = typeof e == "function" ? e : RH(+e), s) : t;}, s.defined = function(e) {- return arguments.length ? (n = typeof e == "function" ? e : zH(!!e), s) : n;+ return arguments.length ? (n = typeof e == "function" ? e : RH(!!e), s) : n;}, s.curve = function(e) {return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;}, s.context = function(e) {@@ -63569,11 +63589,11 @@ function nU(e, t) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js-function rU(e, t, n) {- var r = null, i = zH(!0), a = null, o = $H, s = null, c = XH(l);- e = typeof e == "function" ? e : e === void 0 ? eU : zH(+e), t = typeof t == "function" ? t : zH(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? tU : zH(+n);+function nU(e, t, n) {+ var r = null, i = RH(!0), a = null, o = QH, s = null, c = YH(l);+ e = typeof e == "function" ? e : e === void 0 ? $H : RH(+e), t = typeof t == "function" ? t : RH(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? eU : RH(+n);function l(l) {- var u, d, f, p = (l = ZH(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);+ var u, d, f, p = (l = XH(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();@@ -63587,20 +63607,20 @@ function rU(e, t, n) {if (g) return s = null, g + "" || null;}function u() {- return nU().defined(i).curve(o).context(a);+ return tU().defined(i).curve(o).context(a);}return l.x = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : zH(+t), r = null, l) : e;+ return arguments.length ? (e = typeof t == "function" ? t : RH(+t), r = null, l) : e;}, l.x0 = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : zH(+t), l) : e;+ return arguments.length ? (e = typeof t == "function" ? t : RH(+t), l) : e;}, l.x1 = function(e) {- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : zH(+e), l) : r;+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : RH(+e), l) : r;}, l.y = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : zH(+e), n = null, l) : t;+ return arguments.length ? (t = typeof e == "function" ? e : RH(+e), n = null, l) : t;}, l.y0 = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : zH(+e), l) : t;+ return arguments.length ? (t = typeof e == "function" ? e : RH(+e), l) : t;}, l.y1 = function(e) {- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : zH(+e), l) : n;+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : RH(+e), l) : n;}, l.lineX0 = l.lineY0 = function() {return u().x(e).y(t);}, l.lineY1 = function() {@@ -63608,7 +63628,7 @@ function rU(e, t, n) {}, l.lineX1 = function() {return u().x(r).y(t);}, l.defined = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : zH(!!e), l) : i;+ return arguments.length ? (i = typeof e == "function" ? e : RH(!!e), l) : i;}, l.curve = function(e) {return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;}, l.context = function(e) {@@ -63617,7 +63637,7 @@ function rU(e, t, n) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js-var iU = class {+var rU = class {constructor(e, t) {this._context = e, this._x = t;}@@ -63644,70 +63664,70 @@ var iU = class {this._x0 = e, this._y0 = t;}};-function qAe(e) {- return new iU(e, !0);+function YAe(e) {+ return new rU(e, !0);}-function JAe(e) {- return new iU(e, !1);+function XAe(e) {+ return new rU(e, !1);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js-var aU = { draw(e, t) {- let n = HH(t / UH);- e.moveTo(n, 0), e.arc(0, 0, n, 0, WH);-} }, YAe = { draw(e, t) {- let n = HH(t / 5) / 2;+var iU = { draw(e, t) {+ let n = VH(t / HH);+ e.moveTo(n, 0), e.arc(0, 0, n, 0, UH);+} }, ZAe = { draw(e, t) {+ let n = VH(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();-} }, oU = HH(1 / 3), XAe = oU * 2, ZAe = { draw(e, t) {- let n = HH(t / XAe), r = n * oU;+} }, aU = VH(1 / 3), QAe = aU * 2, $Ae = { draw(e, t) {+ let n = VH(t / QAe), r = n * aU;e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();-} }, QAe = { draw(e, t) {- let n = HH(t), r = -n / 2;+} }, eje = { draw(e, t) {+ let n = VH(t), r = -n / 2;e.rect(r, r, n, n);-} }, $Ae = .8908130915292852, sU = VH(UH / 10) / VH(7 * UH / 10), eje = VH(WH / 10) * sU, tje = -BH(WH / 10) * sU, nje = { draw(e, t) {- let n = HH(t * $Ae), r = eje * n, i = tje * n;+} }, tje = .8908130915292852, oU = BH(HH / 10) / BH(7 * HH / 10), nje = BH(UH / 10) * oU, rje = -zH(UH / 10) * oU, ije = { draw(e, t) {+ let n = VH(t * tje), r = nje * n, i = rje * n;e.moveTo(0, -n), e.lineTo(r, i);for (let t = 1; t < 5; ++t) {- let a = WH * t / 5, o = BH(a), s = VH(a);+ let a = UH * t / 5, o = zH(a), s = BH(a);e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);}e.closePath();-} }, cU = HH(3), rje = { draw(e, t) {- let n = -HH(t / (cU * 3));- e.moveTo(0, n * 2), e.lineTo(-cU * n, -n), e.lineTo(cU * n, -n), e.closePath();-} }, lU = -.5, uU = HH(3) / 2, dU = 1 / HH(12), ije = (dU / 2 + 1) * 3, aje = { draw(e, t) {- let n = HH(t / ije), r = n / 2, i = n * dU, a = r, o = n * dU + n, s = -a, c = o;- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(lU * r - uU * i, uU * r + lU * i), e.lineTo(lU * a - uU * o, uU * a + lU * o), e.lineTo(lU * s - uU * c, uU * s + lU * c), e.lineTo(lU * r + uU * i, lU * i - uU * r), e.lineTo(lU * a + uU * o, lU * o - uU * a), e.lineTo(lU * s + uU * c, lU * c - uU * s), e.closePath();+} }, sU = VH(3), aje = { draw(e, t) {+ let n = -VH(t / (sU * 3));+ e.moveTo(0, n * 2), e.lineTo(-sU * n, -n), e.lineTo(sU * n, -n), e.closePath();+} }, cU = -.5, lU = VH(3) / 2, uU = 1 / VH(12), oje = (uU / 2 + 1) * 3, sje = { draw(e, t) {+ let n = VH(t / oje), r = n / 2, i = n * uU, a = r, o = n * uU + n, s = -a, c = o;+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(cU * r - lU * i, lU * r + cU * i), e.lineTo(cU * a - lU * o, lU * a + cU * o), e.lineTo(cU * s - lU * c, lU * s + cU * c), e.lineTo(cU * r + lU * i, cU * i - lU * r), e.lineTo(cU * a + lU * o, cU * o - lU * a), e.lineTo(cU * s + lU * c, cU * c - lU * s), e.closePath();} };//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js-function oje(e, t) {- let n = null, r = XH(i);- e = typeof e == "function" ? e : zH(e || aU), t = typeof t == "function" ? t : zH(t === void 0 ? 64 : +t);+function cje(e, t) {+ let n = null, r = YH(i);+ e = typeof e == "function" ? e : RH(e || iU), t = typeof t == "function" ? t : RH(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 : zH(t), i) : e;+ return arguments.length ? (e = typeof t == "function" ? t : RH(t), i) : e;}, i.size = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : zH(+e), i) : t;+ return arguments.length ? (t = typeof e == "function" ? e : RH(+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 fU() {}+function dU() {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js-function pU(e, t, n) {+function fU(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 mU(e) {+function pU(e) {this._context = e;}-mU.prototype = {+pU.prototype = {areaStart: function() {this._line = 0;},@@ -63719,7 +63739,7 @@ mU.prototype = {},lineEnd: function() {switch (this._point) {- case 3: pU(this, this._x1, this._y1);+ case 3: fU(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;@@ -63733,22 +63753,22 @@ mU.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: pU(this, e, t);+ default: fU(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};-function sje(e) {- return new mU(e);+function lje(e) {+ return new pU(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js-function hU(e) {+function mU(e) {this._context = e;}-hU.prototype = {- areaStart: fU,- areaEnd: fU,+mU.prototype = {+ areaStart: dU,+ areaEnd: dU,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;},@@ -63774,20 +63794,20 @@ hU.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: pU(this, e, t);+ default: fU(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};-function cje(e) {- return new hU(e);+function uje(e) {+ return new mU(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js-function gU(e) {+function hU(e) {this._context = e;}-gU.prototype = {+hU.prototype = {areaStart: function() {this._line = 0;},@@ -63814,22 +63834,22 @@ gU.prototype = {this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);break;case 3: this._point = 4;- default: pU(this, e, t);+ default: fU(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};-function lje(e) {- return new gU(e);+function dje(e) {+ return new hU(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js-function _U(e) {+function gU(e) {this._context = e;}-_U.prototype = {- areaStart: fU,- areaEnd: fU,+gU.prototype = {+ areaStart: dU,+ areaEnd: dU,lineStart: function() {this._point = 0;},@@ -63840,30 +63860,30 @@ _U.prototype = {e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));}};-function uje(e) {- return new _U(e);+function fje(e) {+ return new gU(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js-function vU(e) {+function _U(e) {return e < 0 ? -1 : 1;}-function yU(e, t, n) {+function vU(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 (vU(a) + vU(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;+ return (_U(a) + _U(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;}-function bU(e, t) {+function yU(e, t) {var n = e._x1 - e._x0;return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;}-function xU(e, t, n) {+function bU(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 SU(e) {+function xU(e) {this._context = e;}-SU.prototype = {+xU.prototype = {areaStart: function() {this._line = 0;},@@ -63878,7 +63898,7 @@ SU.prototype = {case 2:this._context.lineTo(this._x1, this._y1);break;- case 3: xU(this, this._t0, bU(this, this._t0));+ case 3: bU(this, this._t0, yU(this, this._t0));}(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;},@@ -63893,24 +63913,24 @@ SU.prototype = {this._point = 2;break;case 2:- this._point = 3, xU(this, bU(this, n = yU(this, e, t)), n);+ this._point = 3, bU(this, yU(this, n = vU(this, e, t)), n);break;- default: xU(this, this._t0, n = yU(this, e, t));+ default: bU(this, this._t0, n = vU(this, e, t));}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;}}};-function CU(e) {- this._context = new wU(e);+function SU(e) {+ this._context = new CU(e);}-(CU.prototype = Object.create(SU.prototype)).point = function(e, t) {- SU.prototype.point.call(this, t, e);+(SU.prototype = Object.create(xU.prototype)).point = function(e, t) {+ xU.prototype.point.call(this, t, e);};-function wU(e) {+function CU(e) {this._context = e;}-wU.prototype = {+CU.prototype = {moveTo: function(e, t) {this._context.moveTo(t, e);},@@ -63924,18 +63944,18 @@ wU.prototype = {this._context.bezierCurveTo(t, e, r, n, a, i);}};-function dje(e) {- return new SU(e);+function pje(e) {+ return new xU(e);}-function fje(e) {- return new CU(e);+function mje(e) {+ return new SU(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js-function TU(e) {+function wU(e) {this._context = e;}-TU.prototype = {+wU.prototype = {areaStart: function() {this._line = 0;},@@ -63949,7 +63969,7 @@ TU.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 = EU(e), i = EU(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 = TU(e), i = TU(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;},@@ -63957,7 +63977,7 @@ TU.prototype = {this._x.push(+e), this._y.push(+t);}};-function EU(e) {+function TU(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];@@ -63965,15 +63985,15 @@ function EU(e) {for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];return [i, a];}-function pje(e) {- return new TU(e);+function hje(e) {+ return new wU(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js-function DU(e, t) {+function EU(e, t) {this._context = e, this._t = t;}-DU.prototype = {+EU.prototype = {areaStart: function() {this._line = 0;},@@ -64001,78 +64021,78 @@ DU.prototype = {this._x = e, this._y = t;}};-function mje(e) {- return new DU(e, .5);+function gje(e) {+ return new EU(e, .5);}-function hje(e) {- return new DU(e, 0);+function _je(e) {+ return new EU(e, 0);}-function gje(e) {- return new DU(e, 1);+function vje(e) {+ return new EU(e, 1);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js-function OU(e, t) {+function DU(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 kU(e) {+function OU(e) {for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;return n;}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js-function _je(e, t) {+function yje(e, t) {return e[t];}-function vje(e) {+function bje(e) {let t = [];return t.key = e, t;}-function yje() {- var e = zH([]), t = kU, n = OU, r = _je;+function xje() {+ var e = RH([]), t = OU, n = DU, r = yje;function i(i) {- var a = Array.from(e.apply(this, arguments), vje), o, s = a.length, c = -1, l;+ var a = Array.from(e.apply(this, arguments), bje), 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 = ZH(t(a)); o < s; ++o) a[l[o]].index = o;+ for (o = 0, l = XH(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 : zH(Array.from(t)), i) : e;+ return arguments.length ? (e = typeof t == "function" ? t : RH(Array.from(t)), i) : e;}, i.value = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : zH(+e), i) : r;+ return arguments.length ? (r = typeof e == "function" ? e : RH(+e), i) : r;}, i.order = function(e) {- return arguments.length ? (t = e == null ? kU : typeof e == "function" ? e : zH(Array.from(e)), i) : t;+ return arguments.length ? (t = e == null ? OU : typeof e == "function" ? e : RH(Array.from(e)), i) : t;}, i.offset = function(e) {- return arguments.length ? (n = e ?? OU, i) : n;+ return arguments.length ? (n = e ?? DU, i) : n;}, i;}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js-function bje(e, t) {+function Sje(e, t) {if ((r = e.length) > 0) {for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;}- OU(e, t);+ DU(e, t);}}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js-function xje(e, t) {+function Cje(e, t) {if ((i = e.length) > 0) {for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;r[n][1] += r[n][0] = -s / 2;}- OU(e, t);+ DU(e, t);}}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js-function Sje(e, t) {+function wje(e, t) {if ((o = e.length) > 0 && (a = (i = e[t[0]]).length) > 0) {for (var n = 0, r = 1, i, a, o; r < a; ++r) {for (var s = 0, c = 0, l = 0; s < o; ++s) {@@ -64084,26 +64104,26 @@ function Sje(e, t) {}i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);}- i[r - 1][1] += i[r - 1][0] = n, OU(e, t);+ i[r - 1][1] += i[r - 1][0] = n, DU(e, t);}}//#endregion//#region node_modules/recharts/es6/shape/Symbols.js-var Cje = [+var Tje = ["type","size","sizeType"];-function AU() {- return AU = Object.assign ? Object.assign.bind() : function(e) {+function kU() {+ return kU = 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;- }, AU.apply(null, arguments);+ }, kU.apply(null, arguments);}-function jU(e, t) {+function AU(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64113,30 +64133,30 @@ function jU(e, t) {}return n;}-function MU(e) {+function jU(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) {- wje(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jU(Object(n)).forEach(function(t) {+ t % 2 ? AU(Object(n), !0).forEach(function(t) {+ Eje(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AU(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function wje(e, t, n) {- return (t = Tje(t)) in e ? Object.defineProperty(e, t, {+function Eje(e, t, n) {+ return (t = Dje(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Tje(e) {- var t = Eje(e, "string");+function Dje(e) {+ var t = Oje(e, "string");return typeof t == "symbol" ? t : t + "";}-function Eje(e, t) {+function Oje(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64146,16 +64166,16 @@ function Eje(e, t) {}return (t === "string" ? String : Number)(e);}-function Dje(e, t) {+function kje(e, t) {if (e == null) return {};- var n, r, i = Oje(e, t);+ var n, r, i = Aje(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 Oje(e, t) {+function Aje(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -64164,68 +64184,68 @@ function Oje(e, t) {}return n;}-var NU = {- symbolCircle: aU,- symbolCross: YAe,- symbolDiamond: ZAe,- symbolSquare: QAe,- symbolStar: nje,- symbolTriangle: rje,- symbolWye: aje-}, kje = Math.PI / 180, Aje = (e) => NU[`symbol${AH(e)}`] || aU, jje = (e, t, n) => {+var MU = {+ symbolCircle: iU,+ symbolCross: ZAe,+ symbolDiamond: $Ae,+ symbolSquare: eje,+ symbolStar: ije,+ symbolTriangle: aje,+ symbolWye: sje+}, jje = Math.PI / 180, Mje = (e) => MU[`symbol${kH(e)}`] || iU, Nje = (e, t, n) => {if (t === "area") return e;switch (n) {case "cross": return 5 * e * e / 9;case "diamond": return .5 * e * e / Math.sqrt(3);case "square": return e * e;case "star":- var r = 18 * kje;+ var r = 18 * jje;return 1.25 * e * e * (Math.tan(r) - Math.tan(r * 2) * Math.tan(r) ** 2);case "triangle": return Math.sqrt(3) * e * e / 4;case "wye": return (21 - 10 * Math.sqrt(3)) * e * e / 8;default: return Math.PI * e * e / 4;}-}, Mje = (e, t) => {- NU[`symbol${AH(e)}`] = t;-}, PU = (e) => {- var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = MU(MU({}, Dje(e, Cje)), {}, {+}, Pje = (e, t) => {+ MU[`symbol${kH(e)}`] = t;+}, NU = (e) => {+ var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = jU(jU({}, kje(e, Tje)), {}, {type: n,size: i,sizeType: o}), c = "circle";typeof n == "string" && (c = n);var l = () => {- var e = Aje(c), t = oje().type(e).size(jje(i, o, c))();+ var e = Mje(c), t = cje().type(e).size(Nje(i, o, c))();if (t !== null) return t;- }, u = s.className, d = s.cx, f = s.cy, p = oH(s);- return q(d) && q(f) && q(i) ? /*#__PURE__*/ b.createElement("path", AU({}, p, {+ }, u = s.className, d = s.cx, f = s.cy, p = aH(s);+ return q(d) && q(f) && q(i) ? /*#__PURE__*/ b.createElement("path", kU({}, p, {className: dv("recharts-symbols", u),transform: `translate(${d}, ${f})`,d: l()})) : null;};-PU.registerSymbol = Mje;+NU.registerSymbol = Pje;//#endregion//#region node_modules/recharts/es6/util/types.js-var FU = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, IU = (e, t) => {+var PU = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, FU = (e, t) => {if (!e || typeof e == "function" || typeof e == "boolean") return null;var n = e;if (/*#__PURE__*/ (0, b.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;var r = {};return Object.keys(n).forEach((e) => {- tH(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));+ eH(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));}), r;-}, Nje = (e, t, n) => (r) => (e(t, n, r), null), LU = (e, t, n) => {+}, Fje = (e, t, n) => (r) => (e(t, n, r), null), IU = (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];- tH(i) && typeof a == "function" && (r ||= {}, r[i] = Nje(a, t, n));+ eH(i) && typeof a == "function" && (r ||= {}, r[i] = Fje(a, t, n));}), r;};//#endregion//#region node_modules/recharts/es6/util/resolveDefaultProps.js-function RU(e, t) {+function LU(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64235,30 +64255,30 @@ function RU(e, t) {}return n;}-function Pje(e) {+function Ije(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? RU(Object(n), !0).forEach(function(t) {- Fje(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : RU(Object(n)).forEach(function(t) {+ t % 2 ? LU(Object(n), !0).forEach(function(t) {+ Lje(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LU(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Fje(e, t, n) {- return (t = Ije(t)) in e ? Object.defineProperty(e, t, {+function Lje(e, t, n) {+ return (t = Rje(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Ije(e) {- var t = Lje(e, "string");+function Rje(e) {+ var t = zje(e, "string");return typeof t == "symbol" ? t : t + "";}-function Lje(e, t) {+function zje(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64268,22 +64288,22 @@ function Lje(e, t) {}return (t === "string" ? String : Number)(e);}-function zU(e, t) {- var n = Pje({}, e), r = t;+function RU(e, t) {+ var n = Ije({}, 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 BU() {- return BU = Object.assign ? Object.assign.bind() : function(e) {+function zU() {+ return zU = 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;- }, BU.apply(null, arguments);+ }, zU.apply(null, arguments);}-function VU(e, t) {+function BU(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64293,30 +64313,30 @@ function VU(e, t) {}return n;}-function HU(e) {+function VU(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? VU(Object(n), !0).forEach(function(t) {- Rje(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : VU(Object(n)).forEach(function(t) {+ t % 2 ? BU(Object(n), !0).forEach(function(t) {+ Bje(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BU(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Rje(e, t, n) {- return (t = zje(t)) in e ? Object.defineProperty(e, t, {+function Bje(e, t, n) {+ return (t = Vje(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function zje(e) {- var t = Bje(e, "string");+function Vje(e) {+ var t = Hje(e, "string");return typeof t == "symbol" ? t : t + "";}-function Bje(e, t) {+function Hje(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64326,7 +64346,7 @@ function Bje(e, t) {}return (t === "string" ? String : Number)(e);}-var UU = 32, Vje = {+var HU = 32, Uje = {align: "center",iconSize: 14,inactiveColor: "#ccc",@@ -64334,20 +64354,20 @@ var UU = 32, Vje = {verticalAlign: "middle",labelStyle: {}};-function Hje(e) {+function Wje(e) {if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);}-function Uje(e) {- var t = e.data, n = e.iconType, r = e.inactiveColor, i = UU / 2, a = UU / 6, o = UU / 3, s = t.inactive ? r : t.color, c = n ?? t.type;+function Gje(e) {+ var t = e.data, n = e.iconType, r = e.inactiveColor, i = HU / 2, a = HU / 6, o = HU / 3, s = t.inactive ? r : t.color, c = n ?? t.type;if (c === "none") return null;if (c === "plainline") return /*#__PURE__*/ b.createElement("line", {strokeWidth: 4,fill: "none",stroke: s,- strokeDasharray: Hje(t.payload),+ strokeDasharray: Wje(t.payload),x1: 0,y1: i,- x2: UU,+ x2: HU,y2: i,className: "recharts-legend-icon"});@@ -64357,35 +64377,35 @@ function Uje(e) {stroke: s,d: `M0,${i}h${o}A${a},${a},0,1,1,${2 * o},${i}- H${UU}M${2 * o},${i}+ H${HU}M${2 * o},${i}A${a},${a},0,1,1,${o},${i}`,className: "recharts-legend-icon"});if (c === "rect") return /*#__PURE__*/ b.createElement("path", {stroke: "none",fill: s,- d: `M0,${UU / 8}h${UU}v${UU * 3 / 4}h${-UU}z`,+ d: `M0,${HU / 8}h${HU}v${HU * 3 / 4}h${-HU}z`,className: "recharts-legend-icon"});if (/*#__PURE__*/ b.isValidElement(t.legendIcon)) {- var l = HU({}, t);+ var l = VU({}, t);return delete l.legendIcon, /*#__PURE__*/ b.cloneElement(t.legendIcon, l);}- return /*#__PURE__*/ b.createElement(PU, {+ return /*#__PURE__*/ b.createElement(NU, {fill: s,cx: i,cy: i,- size: UU,+ size: HU,sizeType: "diameter",type: c});}-function Wje(e) {+function Kje(e) {var t = e.payload, n = e.iconSize, r = e.layout, i = e.formatter, a = e.inactiveColor, o = e.iconType, s = e.labelStyle, c = {x: 0,y: 0,- width: UU,- height: UU+ width: HU,+ height: HU}, l = {display: r === "horizontal" ? "inline-block" : "block",marginRight: 10,@@ -64402,20 +64422,20 @@ function Wje(e) {inactive: t.inactive});if (t.type === "none") return null;- var p = typeof s == "object" ? HU({}, s) : {};+ var p = typeof s == "object" ? VU({}, s) : {};p.color = t.inactive ? a : p.color || t.color, p.whiteSpace ??= "normal", p.overflowWrap ??= "break-word";var m = d ? d(t.value, t, r) : t.value;- return /*#__PURE__*/ b.createElement("li", BU({+ return /*#__PURE__*/ b.createElement("li", zU({className: f,style: l,key: `legend-item-${r}`- }, LU(e, t, r)), /*#__PURE__*/ b.createElement(cH, {+ }, IU(e, t, r)), /*#__PURE__*/ b.createElement(sH, {width: n,height: n,viewBox: c,style: u,"aria-label": t.value == null ? "legend icon" : `${t.value} legend icon`- }, /*#__PURE__*/ b.createElement(Uje, {+ }, /*#__PURE__*/ b.createElement(Gje, {data: t,iconType: o,inactiveColor: a@@ -64425,8 +64445,8 @@ function Wje(e) {}, m));});}-var Gje = (e) => {- var t = zU(e, Vje), n = t.payload, r = t.layout, i = t.align;+var qje = (e) => {+ var t = RU(e, Uje), n = t.payload, r = t.layout, i = t.align;if (!n || !n.length) return null;var a = {padding: 0,@@ -64436,11 +64456,11 @@ var Gje = (e) => {return /*#__PURE__*/ b.createElement("ul", {className: "recharts-default-legend",style: a- }, /*#__PURE__*/ b.createElement(Wje, BU({}, t, { payload: n })));+ }, /*#__PURE__*/ b.createElement(Kje, zU({}, t, { payload: n })));};//#endregion//#region node_modules/es-toolkit/dist/array/uniqBy.mjs-function Kje(e, t) {+function Jje(e, t) {let n = /* @__PURE__ */ new Map();for (let r = 0; r < e.length; r++) {let i = e[r], a = t(i, r, e);@@ -64450,77 +64470,77 @@ function Kje(e, t) {}//#endregion//#region node_modules/es-toolkit/dist/function/ary.mjs-function qje(e, t) {+function Yje(e, t) {return function(...n) {return e.apply(this, n.slice(0, t));};}//#endregion//#region node_modules/es-toolkit/dist/function/identity.mjs-function WU(e) {+function UU(e) {return e;}//#endregion//#region node_modules/es-toolkit/dist/predicate/isLength.mjs-function Jje(e) {+function Xje(e) {return Number.isSafeInteger(e) && e >= 0;}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs-function GU(e) {- return e != null && typeof e != "function" && Jje(e.length);+function WU(e) {+ return e != null && typeof e != "function" && Xje(e.length);}//#endregion//#region node_modules/es-toolkit/dist/compat/object/property.mjs-function Yje(e) {+function Zje(e) {return function(t) {- return _H(t, e);+ return gH(t, e);};}//#endregion//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs-function KU(e) {+function GU(e) {return e == null || typeof e != "object" && typeof e != "function";}//#endregion//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs-function Xje(e) {+function Qje(e) {return ArrayBuffer.isView(e) && !(e instanceof DataView);}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs-function qU(e) {+function KU(e) {return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs-function JU(e) {+function qU(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 YU = "[object RegExp]", XU = "[object String]", ZU = "[object Number]", QU = "[object Boolean]", $U = "[object Arguments]", eW = "[object Symbol]", tW = "[object Date]", nW = "[object Map]", rW = "[object Set]", iW = "[object Array]", Zje = "[object Function]", aW = "[object ArrayBuffer]", oW = "[object Object]", Qje = "[object Error]", sW = "[object DataView]", cW = "[object Uint8Array]", lW = "[object Uint8ClampedArray]", uW = "[object Uint16Array]", dW = "[object Uint32Array]", $je = "[object BigUint64Array]", fW = "[object Int8Array]", pW = "[object Int16Array]", mW = "[object Int32Array]", eMe = "[object BigInt64Array]", hW = "[object Float32Array]", gW = "[object Float64Array]", _W = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {+var JU = "[object RegExp]", YU = "[object String]", XU = "[object Number]", ZU = "[object Boolean]", QU = "[object Arguments]", $U = "[object Symbol]", eW = "[object Date]", tW = "[object Map]", nW = "[object Set]", rW = "[object Array]", $je = "[object Function]", iW = "[object ArrayBuffer]", aW = "[object Object]", eMe = "[object Error]", oW = "[object DataView]", sW = "[object Uint8Array]", cW = "[object Uint8ClampedArray]", lW = "[object Uint16Array]", uW = "[object Uint32Array]", tMe = "[object BigUint64Array]", dW = "[object Int8Array]", fW = "[object Int16Array]", pW = "[object Int32Array]", nMe = "[object BigInt64Array]", mW = "[object Float32Array]", hW = "[object Float64Array]", gW = 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 vW(e) {- return _W.Buffer !== void 0 && _W.Buffer.isBuffer(e);+function _W(e) {+ return gW.Buffer !== void 0 && gW.Buffer.isBuffer(e);}//#endregion//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs-function tMe(e, t) {- return yW(e, void 0, e, /* @__PURE__ */ new Map(), t);+function rMe(e, t) {+ return vW(e, void 0, e, /* @__PURE__ */ new Map(), t);}-function yW(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {+function vW(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {let a = i?.(e, t, n, r);if (a !== void 0) return a;- if (KU(e)) return e;+ if (GU(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] = yW(e[a], a, n, r, i);+ for (let a = 0; a < e.length; a++) t[a] = vW(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());@@ -64531,132 +64551,132 @@ function yW(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, yW(o, a, n, r, i));+ for (let [a, o] of e) t.set(a, vW(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(yW(a, void 0, n, r, i));+ for (let a of e) t.add(vW(a, void 0, n, r, i));return t;}- if (vW(e)) return e.subarray();- if (Xje(e)) {+ if (_W(e)) return e.subarray();+ if (Qje(e)) {let t = new (Object.getPrototypeOf(e)).constructor(e.length);r.set(e, t);- for (let a = 0; a < e.length; a++) t[a] = yW(e[a], a, n, r, i);+ for (let a = 0; a < e.length; a++) t[a] = vW(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), bW(t, e, n, r, i), t;+ return r.set(e, t), yW(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), bW(t, e, n, r, i), t;+ return r.set(e, t), yW(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), bW(t, e, n, r, i), t;+ return r.set(e, t), yW(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, bW(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, yW(t, e, n, r, i), t;}if (e instanceof Boolean) {let t = new Boolean(e.valueOf());- return r.set(e, t), bW(t, e, n, r, i), t;+ return r.set(e, t), yW(t, e, n, r, i), t;}if (e instanceof Number) {let t = new Number(e.valueOf());- return r.set(e, t), bW(t, e, n, r, i), t;+ return r.set(e, t), yW(t, e, n, r, i), t;}if (e instanceof String) {let t = new String(e.valueOf());- return r.set(e, t), bW(t, e, n, r, i), t;+ return r.set(e, t), yW(t, e, n, r, i), t;}- if (typeof e == "object" && nMe(e)) {+ if (typeof e == "object" && iMe(e)) {let t = Object.create(Object.getPrototypeOf(e));- return r.set(e, t), bW(t, e, n, r, i), t;+ return r.set(e, t), yW(t, e, n, r, i), t;}return e;}-function bW(e, t, n = e, r, i) {- let a = [...Object.keys(t), ...qU(t)];+function yW(e, t, n = e, r, i) {+ let a = [...Object.keys(t), ...KU(t)];for (let o = 0; o < a.length; o++) {let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);- (c == null || c.writable) && (e[s] = yW(t[s], s, n, r, i));+ (c == null || c.writable) && (e[s] = vW(t[s], s, n, r, i));}}-function nMe(e) {- switch (JU(e)) {- case $U:- case iW:- case aW:- case sW:+function iMe(e) {+ switch (qU(e)) {case QU:- case tW:+ case rW:+ case iW:+ case oW:+ case ZU:+ case eW:+ case mW:case hW:- case gW:+ case dW:case fW:case pW:- case mW:+ case tW:+ case XU:+ case aW:+ case JU:case nW:- case ZU:- case oW:case YU:- case rW:- case XU:- case eW:+ case $U:+ case sW:case cW:case lW:- case uW:- case dW: return !0;+ case uW: return !0;default: return !1;}}//#endregion//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs-function rMe(e) {- return yW(e, void 0, e, /* @__PURE__ */ new Map(), void 0);+function aMe(e) {+ return vW(e, void 0, e, /* @__PURE__ */ new Map(), void 0);}//#endregion//#region node_modules/es-toolkit/dist/compat/util/eq.mjs-function xW(e, t) {+function bW(e, t) {return e === t || Number.isNaN(e) && Number.isNaN(t);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs-function SW(e) {+function xW(e) {return e !== null && (typeof e == "object" || typeof e == "function");}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs-function CW(e, t, n) {- return typeof n == "function" ? wW(e, t, function e(t, r, i, a, o, s) {+function SW(e, t, n) {+ return typeof n == "function" ? CW(e, t, function e(t, r, i, a, o, s) {let c = n(t, r, i, a, o, s);- return c === void 0 ? wW(t, r, e, s, !1) : !!c;- }, /* @__PURE__ */ new Map(), !0) : CW(e, t, () => void 0);+ return c === void 0 ? CW(t, r, e, s, !1) : !!c;+ }, /* @__PURE__ */ new Map(), !0) : SW(e, t, () => void 0);}-function wW(e, t, n, r, i = !1) {+function CW(e, t, n, r, i = !1) {if (t === e) return !0;switch (typeof t) {- case "object": return iMe(e, t, n, r, i);- case "function": return Object.keys(t).length > 0 ? wW(e, { ...t }, n, r, i) : xW(e, t);- default: return SW(e) && i ? typeof t != "string" || t === "" : xW(e, t);+ case "object": return oMe(e, t, n, r, i);+ case "function": return Object.keys(t).length > 0 ? CW(e, { ...t }, n, r, i) : bW(e, t);+ default: return xW(e) && i ? typeof t != "string" || t === "" : bW(e, t);}}-function iMe(e, t, n, r, i = !1) {+function oMe(e, t, n, r, i = !1) {if (t == null) return !0;- if (Array.isArray(t)) return TW(e, t, n, r);- if (t instanceof Map) return aMe(e, t, n, r);- if (t instanceof Set) return oMe(e, t, n, r);+ if (Array.isArray(t)) return wW(e, t, n, r);+ if (t instanceof Map) return sMe(e, t, n, r);+ if (t instanceof Set) return cMe(e, t, n, r);let a = Object.keys(t);if (e == null) return i && a.length === 0;- if (i) KU(e) && (e = Object(e));+ if (i) GU(e) && (e = Object(e));else {- let t = JU(e);+ let t = qU(e);if (t !== "[object Object]" && t !== "[object Arguments]") return !1;}if (a.length === 0) return !0;@@ -64672,13 +64692,13 @@ function iMe(e, t, n, r, i = !1) {r?.delete(t);}}-function aMe(e, t, n, r) {+function sMe(e, t, n, r) {if (t.size === 0) return !0;if (!(e instanceof Map)) return !1;for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;return !0;}-function TW(e, t, n, r) {+function wW(e, t, n, r) {if (t.length === 0) return !0;if (!Array.isArray(e)) return !1;let i = /* @__PURE__ */ new Set();@@ -64696,40 +64716,40 @@ function TW(e, t, n, r) {}return !0;}-function oMe(e, t, n, r) {- return t.size === 0 || e instanceof Set && TW([...e], [...t], n, r);+function cMe(e, t, n, r) {+ return t.size === 0 || e instanceof Set && wW([...e], [...t], n, r);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs-function EW(e, t) {- return CW(e, t, () => void 0);+function TW(e, t) {+ return SW(e, t, () => void 0);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs-function sMe(e) {- return e = rMe(e), (t) => EW(t, e);+function lMe(e) {+ return e = aMe(e), (t) => TW(t, e);}//#endregion//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs-function cMe(e, t) {- return tMe(e, (n, r, i, a) => {+function uMe(e, t) {+ return rMe(e, (n, r, i, a) => {let o = t?.(n, r, i, a);if (o !== void 0) return o;if (typeof e == "object") {- if (JU(e) === "[object Object]" && typeof e.constructor != "function") {+ if (qU(e) === "[object Object]" && typeof e.constructor != "function") {let t = {};- return a.set(e, t), bW(t, e, i, a), t;+ return a.set(e, t), yW(t, e, i, a), t;}switch (Object.prototype.toString.call(e)) {- case ZU:case XU:- case QU: {+ case YU:+ case ZU: {let t = new e.constructor(e?.valueOf());- return bW(t, e), t;+ return yW(t, e), t;}- case $U: {+ case QU: {let t = {};- return bW(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;+ return yW(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;}default: return;}@@ -64738,79 +64758,79 @@ function cMe(e, t) {}//#endregion//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs-function lMe(e) {- return cMe(e);+function dMe(e) {+ return uMe(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs-var uMe = /^(?:0|[1-9]\d*)$/;-function DW(e, t = 2 ** 53 - 1) {+var fMe = /^(?:0|[1-9]\d*)$/;+function EW(e, t = 2 ** 53 - 1) {switch (typeof e) {case "number": return Number.isInteger(e) && e >= 0 && e < t;case "symbol": return !1;- case "string": return uMe.test(e);+ case "string": return fMe.test(e);}}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs-function dMe(e) {- return typeof e == "object" && !!e && JU(e) === "[object Arguments]";+function pMe(e) {+ return typeof e == "object" && !!e && qU(e) === "[object Arguments]";}//#endregion//#region node_modules/es-toolkit/dist/compat/object/has.mjs-function fMe(e, t) {+function mMe(e, t) {let n;- if (n = Array.isArray(t) ? t : typeof t == "string" && fH(t) && !(t in Object(e)) ? gH(t) : [t], n.length === 0) return !1;+ if (n = Array.isArray(t) ? t : typeof t == "string" && dH(t) && !(t in Object(e)) ? hH(t) : [t], n.length === 0) return !1;let r = e;for (let e = 0; e < n.length; e++) {- let t = pH(n[e]);- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || dMe(r)) && DW(t) && Number(t) < r.length)) return !1;+ let t = fH(n[e]);+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || pMe(r)) && EW(t) && Number(t) < r.length)) return !1;r = r[t];}return !0;}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs-function pMe(e, t) {+function hMe(e, t) {switch (typeof e) {case "object":Object.is(e?.valueOf(), -0) && (e = "-0");break;- case "number": e = pH(e);+ case "number": e = fH(e);}- return t = lMe(t), function(n) {- let r = _H(n, e);- return r === void 0 ? fMe(n, e) : t === void 0 ? r === void 0 : EW(r, t);+ return t = dMe(t), function(n) {+ let r = gH(n, e);+ return r === void 0 ? mMe(n, e) : t === void 0 ? r === void 0 : TW(r, t);};}//#endregion//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs-function OW(e) {- if (e == null) return WU;+function DW(e) {+ if (e == null) return UU;switch (typeof e) {case "function": return e;- case "object": return Array.isArray(e) && e.length === 2 ? pMe(e[0], e[1]) : sMe(e);- default: return Yje(e);+ case "object": return Array.isArray(e) && e.length === 2 ? hMe(e[0], e[1]) : lMe(e);+ default: return Zje(e);}}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs-function mMe(e) {+function gMe(e) {return e === 0 ? 0 : e;}//#endregion//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs-function kW(e, t = WU) {- return GU(e) ? Kje(Array.from(e), qje(OW(t), 1)).map(mMe) : [];+function OW(e, t = UU) {+ return WU(e) ? Jje(Array.from(e), Yje(DW(t), 1)).map(gMe) : [];}//#endregion//#region node_modules/recharts/es6/util/payload/getUniqPayload.js-function AW(e, t, n) {- return t === !0 ? kW(e, n) : typeof t == "function" ? kW(e, t) : e;+function kW(e, t, n) {+ return t === !0 ? OW(e, n) : typeof t == "function" ? OW(e, t) : e;}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var hMe = /* @__PURE__ */ o(((e) => {+var _Me = /* @__PURE__ */ o(((e) => {var t = d(), n = Sv();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -64855,60 +64875,60 @@ var hMe = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), gMe = /* @__PURE__ */ o(((e, t) => {- t.exports = hMe();-})), jW = /*#__PURE__*/ (0, b.createContext)(null), _Me = gMe(), vMe = (e) => e, MW = () => {- var e = (0, b.useContext)(jW);- return e ? e.store.dispatch : vMe;-}, NW = () => {}, yMe = () => NW, bMe = (e, t) => e === t;+})), vMe = /* @__PURE__ */ o(((e, t) => {+ t.exports = _Me();+})), AW = /*#__PURE__*/ (0, b.createContext)(null), yMe = vMe(), bMe = (e) => e, jW = () => {+ var e = (0, b.useContext)(AW);+ return e ? e.store.dispatch : bMe;+}, MW = () => {}, xMe = () => MW, SMe = (e, t) => e === t;function J(e) {- var t = (0, b.useContext)(jW), n = (0, b.useMemo)(() => t ? (t) => {+ var t = (0, b.useContext)(AW), n = (0, b.useMemo)(() => t ? (t) => {if (t != null) return e(t);- } : NW, [t, e]);- return (0, _Me.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : yMe, t ? t.store.getState : NW, t ? t.store.getState : NW, n, bMe);+ } : MW, [t, e]);+ return (0, yMe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : xMe, t ? t.store.getState : MW, t ? t.store.getState : MW, n, SMe);}//#endregion//#region node_modules/reselect/dist/reselect.mjs-function xMe(e, t = `expected a function, instead received ${typeof e}`) {+function CMe(e, t = `expected a function, instead received ${typeof e}`) {if (typeof e != "function") throw TypeError(t);}-function SMe(e, t = "expected all items to be functions, instead received the following types: ") {+function wMe(e, t = "expected all items to be functions, instead received the following types: ") {if (!e.every((e) => typeof e == "function")) {let n = e.map((e) => typeof e == "function" ? `function ${e.name || "unnamed"}()` : typeof e).join(", ");throw TypeError(`${t}[${n}]`);}}-var PW = (e) => Array.isArray(e) ? e : [e];-function CMe(e) {+var NW = (e) => Array.isArray(e) ? e : [e];+function TMe(e) {let t = Array.isArray(e[0]) ? e[0] : e;- return SMe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;+ return wMe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;}-function wMe(e, t) {+function EMe(e, t) {let n = [], { length: r } = e;for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));return n;}-var TMe = class {+var DMe = class {constructor(e) {this.value = e;}deref() {return this.value;}-}, FW = typeof WeakRef > "u" ? TMe : WeakRef, EMe = 0, IW = 1;-function LW() {+}, PW = typeof WeakRef > "u" ? DMe : WeakRef, OMe = 0, FW = 1;+function IW() {return {- s: EMe,+ s: OMe,v: void 0,o: null,p: null};}-function DMe(e) {- return e instanceof FW ? e.deref() : e;+function kMe(e) {+ return e instanceof PW ? e.deref() : e;}-function RW(e, t = {}) {- let n = LW(), { resultEqualityCheck: r } = t, i, a = 0;+function LW(e, t = {}) {+ let n = IW(), { resultEqualityCheck: r } = t, i, a = 0;function o() {let t = n, { length: o } = arguments;for (let e = 0, n = o; e < n; e++) {@@ -64917,43 +64937,43 @@ function RW(e, t = {}) {let e = t.o;e === null && (t.o = e = /* @__PURE__ */ new WeakMap());let r = e.get(n);- r === void 0 ? (t = LW(), e.set(n, t)) : t = r;+ r === void 0 ? (t = IW(), 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 = LW(), e.set(n, t)) : t = r;+ r === void 0 ? (t = IW(), e.set(n, t)) : t = r;}}let s = t, c;- if (t.s === IW) c = t.v;+ if (t.s === FW) c = t.v;else if (c = e.apply(null, arguments), a++, r) {- let e = DMe(i);- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new FW(c) : c;+ let e = kMe(i);+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new PW(c) : c;}- return s.s = IW, s.v = c, c;+ return s.s = FW, s.v = c, c;}return o.clearCache = () => {- n = LW(), o.resetResultsCount();+ n = IW(), o.resetResultsCount();}, o.resultsCount = () => a, o.resetResultsCount = () => {a = 0;}, o;}-function OMe(e, ...t) {+function AMe(e, ...t) {let n = typeof e == "function" ? {memoize: e,memoizeOptions: t} : e, r = (...e) => {let t = 0, r = 0, i, a = {}, o = e.pop();- typeof o == "object" && (a = o, o = e.pop()), xMe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = RW, argsMemoizeOptions: u = [] } = {+ typeof o == "object" && (a = o, o = e.pop()), CMe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = LW, argsMemoizeOptions: u = [] } = {...n,...a- }, d = PW(c), f = PW(u), p = CMe(e), m = s(function() {+ }, d = NW(c), f = NW(u), p = TMe(e), m = s(function() {return t++, o.apply(null, arguments);}, ...d), h = l(function() {r++;- let e = wMe(p, arguments);+ let e = EMe(p, arguments);return i = m.apply(null, e), i;}, ...f);return Object.assign(h, {@@ -64975,10 +64995,10 @@ function OMe(e, ...t) {};return Object.assign(r, { withTypes: () => r }), r;}-var Y = /* @__PURE__ */ OMe(RW);+var Y = /* @__PURE__ */ AMe(LW);//#endregion//#region node_modules/es-toolkit/dist/array/flatten.mjs-function kMe(e, t = 1) {+function jMe(e, t = 1) {let n = [], r = Math.floor(t), i = (e, t) => {for (let a = 0; a < e.length; a++) {let o = e[a];@@ -64989,17 +65009,17 @@ function kMe(e, t = 1) {}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs-function zW(e, t, n) {- return SW(n) && (typeof t == "number" && GU(n) && DW(t) && t < n.length || typeof t == "string" && t in n) ? xW(n[t], e) : !1;+function RW(e, t, n) {+ return xW(n) && (typeof t == "number" && WU(n) && EW(t) && t < n.length || typeof t == "string" && t in n) ? bW(n[t], e) : !1;}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs-function BW(e) {+function zW(e) {return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;}-var AMe = (e, t, n) => {+var MMe = (e, t, n) => {if (e !== t) {- let r = BW(e), i = BW(t);+ let r = zW(e), i = zW(t);if (r === i && r === 0) {if (e < t) return n === "desc" ? 1 : -1;if (e > t) return n === "desc" ? -1 : 1;@@ -65007,15 +65027,15 @@ var AMe = (e, t, n) => {return n === "desc" ? i - r : r - i;}return 0;-}, jMe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, MMe = /^\w*$/;-function NMe(e, t) {- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || mH(e) ? !0 : typeof e == "string" && (MMe.test(e) || !jMe.test(e)) || t != null && Object.hasOwn(t, e);+}, NMe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, PMe = /^\w*$/;+function FMe(e, t) {+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || pH(e) ? !0 : typeof e == "string" && (PMe.test(e) || !NMe.test(e)) || t != null && Object.hasOwn(t, e);}//#endregion//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs-function PMe(e, t, n, r) {+function IMe(e, t, n, r) {if (e == null) return [];- n = r ? void 0 : n, Array.isArray(e) || (e = GU(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 = WU(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]];@@ -65023,16 +65043,16 @@ function PMe(e, t, n, r) {}, a = (e, t) => {if (e == null) return t;if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];- }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || NMe(e) ? e : {+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || FMe(e) ? e : {key: e,- path: gH(e)+ path: hH(e)}));return e.map((e) => ({original: e,criteria: o.map((t) => a(t, e))})).slice().sort((e, t) => {for (let r = 0; r < o.length; r++) {- let i = AMe(e.criteria[r], t.criteria[r], n[r]);+ let i = MMe(e.criteria[r], t.criteria[r], n[r]);if (i !== 0) return i;}return 0;@@ -65040,42 +65060,42 @@ function PMe(e, t, n, r) {}//#endregion//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs-function VW(e, ...t) {+function BW(e, ...t) {let n = t.length;- return n > 1 && zW(e, t[0], t[1]) ? t = [] : n > 2 && zW(t[0], t[1], t[2]) && (t = [t[0]]), PMe(e, kMe(t), ["asc"]);+ return n > 1 && RW(e, t[0], t[1]) ? t = [] : n > 2 && RW(t[0], t[1], t[2]) && (t = [t[0]]), IMe(e, jMe(t), ["asc"]);}//#endregion//#region node_modules/recharts/es6/state/selectors/legendSelectors.js-var HW = (e) => e.legend.settings, FMe = (e) => e.legend.size, IMe = Y([(e) => e.legend.payload, HW], (e, t) => {+var VW = (e) => e.legend.settings, LMe = (e) => e.legend.size, RMe = Y([(e) => e.legend.payload, VW], (e, t) => {var n = t.itemSorter, r = e.flat(1);- return n ? VW(r, n) : r;+ return n ? BW(r, n) : r;});//#endregion//#region node_modules/recharts/es6/context/legendPayloadContext.js-function LMe() {- return J(IMe);+function zMe() {+ return J(RMe);}//#endregion//#region node_modules/recharts/es6/util/useElementOffset.js-function RMe(e, t) {- return HMe(e) || VMe(e, t) || BMe(e, t) || zMe();+function BMe(e, t) {+ return WMe(e) || UMe(e, t) || HMe(e, t) || VMe();}-function zMe() {+function VMe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function BMe(e, t) {+function HMe(e, t) {if (e) {- if (typeof e == "string") return UW(e, t);+ if (typeof e == "string") return HW(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? UW(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? HW(e, t) : void 0;}}-function UW(e, t) {+function HW(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function VMe(e, t) {+function UMe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -65096,14 +65116,14 @@ function VMe(e, t) {return s;}}-function HMe(e) {+function WMe(e) {if (Array.isArray(e)) return e;}-var WW = 1;-function GW(e, t) {- return Math.abs(e.height - t.height) > WW || Math.abs(e.left - t.left) > WW || Math.abs(e.top - t.top) > WW || Math.abs(e.width - t.width) > WW;+var UW = 1;+function WW(e, t) {+ return Math.abs(e.height - t.height) > UW || Math.abs(e.left - t.left) > UW || Math.abs(e.top - t.top) > UW || Math.abs(e.width - t.width) > UW;}-function KW(e) {+function GW(e) {var t = e.getBoundingClientRect();return {height: t.height,@@ -65112,8 +65132,8 @@ function KW(e) {width: t.width};}-function qW() {- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = RMe((0, b.useState)({+function KW() {+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = BMe((0, b.useState)({height: 0,left: 0,top: 0,@@ -65122,11 +65142,11 @@ function qW() {a.current = n;var o = (0, b.useCallback)((e) => {if (i.current != null && (i.current.disconnect(), i.current = null), e != null) {- var t = KW(e);- if (GW(t, a.current) && r(t), typeof ResizeObserver < "u") {+ var t = GW(e);+ if (WW(t, a.current) && r(t), typeof ResizeObserver < "u") {var n = new ResizeObserver(() => {- var t = KW(e);- GW(t, a.current) && r(t);+ var t = GW(e);+ WW(t, a.current) && r(t);});n.observe(e), i.current = n;}@@ -65139,26 +65159,26 @@ function qW() {}//#endregion//#region node_modules/redux/dist/redux.mjs-function JW(e) {+function qW(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 YW = typeof Symbol == "function" && Symbol.observable || "@@observable", XW = () => Math.random().toString(36).substring(7).split("").join("."), ZW = {- INIT: `@@redux/INIT${/* @__PURE__ */ XW()}`,- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ XW()}`,- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${XW()}`+var JW = typeof Symbol == "function" && Symbol.observable || "@@observable", YW = () => Math.random().toString(36).substring(7).split("").join("."), XW = {+ INIT: `@@redux/INIT${/* @__PURE__ */ YW()}`,+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ YW()}`,+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${YW()}`};-function QW(e) {+function ZW(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 $W(e, t, n) {- if (typeof e != "function") throw Error(JW(2));- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(JW(0));+function QW(e, t, n) {+ if (typeof e != "function") throw Error(qW(2));+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(qW(0));if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {- if (typeof n != "function") throw Error(JW(1));- return n($W)(e, t);+ if (typeof n != "function") throw Error(qW(1));+ return n(QW)(e, t);}let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;function l() {@@ -65167,27 +65187,27 @@ function $W(e, t, n) {}));}function u() {- if (c) throw Error(JW(3));+ if (c) throw Error(qW(3));return i;}function d(e) {- if (typeof e != "function") throw Error(JW(4));- if (c) throw Error(JW(5));+ if (typeof e != "function") throw Error(qW(4));+ if (c) throw Error(qW(5));let t = !0;l();let n = s++;return o.set(n, e), function() {if (t) {- if (c) throw Error(JW(6));+ if (c) throw Error(qW(6));t = !1, l(), o.delete(n), a = null;}};}function f(e) {- if (!QW(e)) throw Error(JW(7));- if (e.type === void 0) throw Error(JW(8));- if (typeof e.type != "string") throw Error(JW(17));- if (c) throw Error(JW(9));+ if (!ZW(e)) throw Error(qW(7));+ if (e.type === void 0) throw Error(qW(8));+ if (typeof e.type != "string") throw Error(qW(17));+ if (c) throw Error(qW(9));try {c = !0, i = r(i, e);} finally {@@ -65198,41 +65218,41 @@ function $W(e, t, n) {}), e;}function p(e) {- if (typeof e != "function") throw Error(JW(10));- r = e, f({ type: ZW.REPLACE });+ if (typeof e != "function") throw Error(qW(10));+ r = e, f({ type: XW.REPLACE });}function m() {let e = d;return {subscribe(t) {- if (typeof t != "object" || !t) throw Error(JW(11));+ if (typeof t != "object" || !t) throw Error(qW(11));function n() {let e = t;e.next && e.next(u());}return n(), { unsubscribe: e(n) };},- [YW]() {+ [JW]() {return this;}};}- return f({ type: ZW.INIT }), {+ return f({ type: XW.INIT }), {dispatch: f,subscribe: d,getState: u,replaceReducer: p,- [YW]: m+ [JW]: m};}-function UMe(e) {+function GMe(e) {Object.keys(e).forEach((t) => {let n = e[t];- if (n(void 0, { type: ZW.INIT }) === void 0) throw Error(JW(12));- if (n(void 0, { type: ZW.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(JW(13));+ if (n(void 0, { type: XW.INIT }) === void 0) throw Error(qW(12));+ if (n(void 0, { type: XW.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(qW(13));});}-function eG(e) {+function $W(e) {let t = Object.keys(e), n = {};for (let r = 0; r < t.length; r++) {let i = t[r];@@ -65240,7 +65260,7 @@ function eG(e) {}let r = Object.keys(n), i;try {- UMe(n);+ GMe(n);} catch (e) {i = e;}@@ -65249,124 +65269,124 @@ function eG(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(JW(14));+ if (u === void 0) throw t && t.type, Error(qW(14));o[s] = u, a ||= u !== l;}return a ||= r.length !== Object.keys(e).length, a ? o : e;};}-function tG(...e) {+function eG(...e) {return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));}-function WMe(...e) {+function KMe(...e) {return (t) => (n, r) => {let i = t(n, r), a = () => {- throw Error(JW(15));+ throw Error(qW(15));}, o = {getState: i.getState,dispatch: (e, ...t) => a(e, ...t)};- return a = tG(...e.map((e) => e(o)))(i.dispatch), {+ return a = eG(...e.map((e) => e(o)))(i.dispatch), {...i,dispatch: a};};}-function nG(e) {- return QW(e) && "type" in e && typeof e.type == "string";+function tG(e) {+ return ZW(e) && "type" in e && typeof e.type == "string";}//#endregion//#region node_modules/immer/dist/immer.mjs-var rG = Symbol.for("immer-nothing"), iG = Symbol.for("immer-draftable"), aG = Symbol.for("immer-state");-function oG(e, ...t) {+var nG = Symbol.for("immer-nothing"), rG = Symbol.for("immer-draftable"), iG = Symbol.for("immer-state");+function aG(e, ...t) {throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);}-var sG = Object, cG = sG.getPrototypeOf, lG = "constructor", uG = "prototype", dG = "configurable", fG = "enumerable", pG = "writable", mG = "value", hG = (e) => !!e && !!e[aG];-function gG(e) {- return e ? vG(e) || wG(e) || !!e[iG] || !!e[lG]?.[iG] || TG(e) || EG(e) : !1;+var oG = Object, sG = oG.getPrototypeOf, cG = "constructor", lG = "prototype", uG = "configurable", dG = "enumerable", fG = "writable", pG = "value", mG = (e) => !!e && !!e[iG];+function hG(e) {+ return e ? _G(e) || CG(e) || !!e[rG] || !!e[cG]?.[rG] || wG(e) || TG(e) : !1;}-var GMe = sG[uG][lG].toString(), _G = /* @__PURE__ */ new WeakMap();-function vG(e) {- if (!e || !DG(e)) return !1;- let t = cG(e);- if (t === null || t === sG[uG]) return !0;- let n = sG.hasOwnProperty.call(t, lG) && t[lG];+var qMe = oG[lG][cG].toString(), gG = /* @__PURE__ */ new WeakMap();+function _G(e) {+ if (!e || !EG(e)) return !1;+ let t = sG(e);+ if (t === null || t === oG[lG]) return !0;+ let n = oG.hasOwnProperty.call(t, cG) && t[cG];if (n === Object) return !0;- if (!OG(n)) return !1;- let r = _G.get(n);- return r === void 0 && (r = Function.toString.call(n), _G.set(n, r)), r === GMe;+ if (!DG(n)) return !1;+ let r = gG.get(n);+ return r === void 0 && (r = Function.toString.call(n), gG.set(n, r)), r === qMe;}-function yG(e, t, n = !0) {- bG(e) === 0 ? (n ? Reflect.ownKeys(e) : sG.keys(e)).forEach((n) => {+function vG(e, t, n = !0) {+ yG(e) === 0 ? (n ? Reflect.ownKeys(e) : oG.keys(e)).forEach((n) => {t(n, e[n], e);}) : e.forEach((n, r) => t(r, n, e));}-function bG(e) {- let t = e[aG];- return t ? t.type_ : wG(e) ? 1 : TG(e) ? 2 : EG(e) ? 3 : 0;+function yG(e) {+ let t = e[iG];+ return t ? t.type_ : CG(e) ? 1 : wG(e) ? 2 : TG(e) ? 3 : 0;}-var xG = (e, t, n = bG(e)) => n === 2 ? e.has(t) : sG[uG].hasOwnProperty.call(e, t), SG = (e, t, n = bG(e)) => n === 2 ? e.get(t) : e[t], CG = (e, t, n, r = bG(e)) => {+var bG = (e, t, n = yG(e)) => n === 2 ? e.has(t) : oG[lG].hasOwnProperty.call(e, t), xG = (e, t, n = yG(e)) => n === 2 ? e.get(t) : e[t], SG = (e, t, n, r = yG(e)) => {r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;};-function KMe(e, t) {+function JMe(e, t) {return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;}-var wG = Array.isArray, TG = (e) => e instanceof Map, EG = (e) => e instanceof Set, DG = (e) => typeof e == "object", OG = (e) => typeof e == "function", kG = (e) => typeof e == "boolean";-function qMe(e) {+var CG = Array.isArray, wG = (e) => e instanceof Map, TG = (e) => e instanceof Set, EG = (e) => typeof e == "object", DG = (e) => typeof e == "function", OG = (e) => typeof e == "boolean";+function YMe(e) {let t = +e;return Number.isInteger(t) && String(t) === e;}-var AG = (e) => e.copy_ || e.base_, jG = (e) => e.modified_ ? e.copy_ : e.base_;-function MG(e, t) {- if (TG(e)) return new Map(e);- if (EG(e)) return new Set(e);- if (wG(e)) return Array[uG].slice.call(e);- let n = vG(e);+var kG = (e) => e.copy_ || e.base_, AG = (e) => e.modified_ ? e.copy_ : e.base_;+function jG(e, t) {+ if (wG(e)) return new Map(e);+ if (TG(e)) return new Set(e);+ if (CG(e)) return Array[lG].slice.call(e);+ let n = _G(e);if (t === !0 || t === "class_only" && !n) {- let t = sG.getOwnPropertyDescriptors(e);- delete t[aG];+ let t = oG.getOwnPropertyDescriptors(e);+ delete t[iG];let n = Reflect.ownKeys(t);for (let r = 0; r < n.length; r++) {let i = n[r], a = t[i];- a[pG] === !1 && (a[pG] = !0, a[dG] = !0), (a.get || a.set) && (t[i] = {- [dG]: !0,- [pG]: !0,- [fG]: a[fG],- [mG]: e[i]+ a[fG] === !1 && (a[fG] = !0, a[uG] = !0), (a.get || a.set) && (t[i] = {+ [uG]: !0,+ [fG]: !0,+ [dG]: a[dG],+ [pG]: e[i]});}- return sG.create(cG(e), t);+ return oG.create(sG(e), t);}{- let t = cG(e);+ let t = sG(e);if (t !== null && n) return { ...e };- let r = sG.create(t);- return sG.assign(r, e);- }-}-function NG(e, t = !1) {- return FG(e) || hG(e) || !gG(e) || (bG(e) > 1 && sG.defineProperties(e, {- set: PG,- add: PG,- clear: PG,- delete: PG- }), sG.freeze(e), t && yG(e, (e, t) => {- NG(t, !0);+ let r = oG.create(t);+ return oG.assign(r, e);+ }+}+function MG(e, t = !1) {+ return PG(e) || mG(e) || !hG(e) || (yG(e) > 1 && oG.defineProperties(e, {+ set: NG,+ add: NG,+ clear: NG,+ delete: NG+ }), oG.freeze(e), t && vG(e, (e, t) => {+ MG(t, !0);}, !1)), e;}-function JMe() {- oG(2);+function XMe() {+ aG(2);}-var PG = { [mG]: JMe };-function FG(e) {- return e === null || !DG(e) || sG.isFrozen(e);+var NG = { [pG]: XMe };+function PG(e) {+ return e === null || !EG(e) || oG.isFrozen(e);}-var IG = "MapSet", LG = "Patches", RG = "ArrayMethods", zG = {};-function BG(e) {- let t = zG[e];- return t || oG(0, e), t;+var FG = "MapSet", IG = "Patches", LG = "ArrayMethods", RG = {};+function zG(e) {+ let t = RG[e];+ return t || aG(0, e), t;}-var VG = (e) => !!zG[e], HG, UG = () => HG, YMe = (e, t) => ({+var BG = (e) => !!RG[e], VG, HG = () => VG, ZMe = (e, t) => ({drafts_: [],parent_: e,immer_: t,@@ -65374,114 +65394,114 @@ var VG = (e) => !!zG[e], HG, UG = () => HG, YMe = (e, t) => ({unfinalizedDrafts_: 0,handledSet_: /* @__PURE__ */ new Set(),processedForPatches_: /* @__PURE__ */ new Set(),- mapSetPlugin_: VG(IG) ? BG(IG) : void 0,- arrayMethodsPlugin_: VG(RG) ? BG(RG) : void 0+ mapSetPlugin_: BG(FG) ? zG(FG) : void 0,+ arrayMethodsPlugin_: BG(LG) ? zG(LG) : void 0});-function WG(e, t) {- t && (e.patchPlugin_ = BG(LG), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);+function UG(e, t) {+ t && (e.patchPlugin_ = zG(IG), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);}-function GG(e) {- KG(e), e.drafts_.forEach(XMe), e.drafts_ = null;+function WG(e) {+ GG(e), e.drafts_.forEach(QMe), e.drafts_ = null;}-function KG(e) {- e === HG && (HG = e.parent_);+function GG(e) {+ e === VG && (VG = e.parent_);}-var qG = (e) => HG = YMe(HG, e);-function XMe(e) {- let t = e[aG];+var KG = (e) => VG = ZMe(VG, e);+function QMe(e) {+ let t = e[iG];t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;}-function JG(e, t) {+function qG(e, t) {t.unfinalizedDrafts_ = t.drafts_.length;let n = t.drafts_[0];if (e !== void 0 && e !== n) {- n[aG].modified_ && (GG(t), oG(4)), gG(e) && (e = YG(t, e));+ n[iG].modified_ && (WG(t), aG(4)), hG(e) && (e = JG(t, e));let { patchPlugin_: r } = t;- r && r.generateReplacementPatches_(n[aG].base_, e, t);- } else e = YG(t, n);- return ZMe(t, e, !0), GG(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === rG ? void 0 : e;-}-function YG(e, t) {- if (FG(t)) return t;- let n = t[aG];- if (!n) return eK(t, e.handledSet_, e);- if (!ZG(n, e)) return t;+ r && r.generateReplacementPatches_(n[iG].base_, e, t);+ } else e = JG(t, n);+ return $Me(t, e, !0), WG(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === nG ? void 0 : e;+}+function JG(e, t) {+ if (PG(t)) return t;+ let n = t[iG];+ if (!n) return $G(t, e.handledSet_, e);+ if (!XG(n, e)) return t;if (!n.modified_) return n.base_;if (!n.finalized_) {let { callbacks_: t } = n;if (t) for (; t.length > 0;) t.pop()(e);- $G(n, e);+ QG(n, e);}return n.copy_;}-function ZMe(e, t, n = !1) {- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && NG(t, n);+function $Me(e, t, n = !1) {+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && MG(t, n);}-function XG(e) {+function YG(e) {e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;}-var ZG = (e, t) => e.scope_ === t, QMe = [];-function QG(e, t, n, r) {- let i = AG(e), a = e.type_;- if (r !== void 0 && SG(i, r, a) === t) {- CG(i, r, n, a);+var XG = (e, t) => e.scope_ === t, eNe = [];+function ZG(e, t, n, r) {+ let i = kG(e), a = e.type_;+ if (r !== void 0 && xG(i, r, a) === t) {+ SG(i, r, n, a);return;}if (!e.draftLocations_) {let t = e.draftLocations_ = /* @__PURE__ */ new Map();- yG(i, (e, n) => {- if (hG(n)) {+ vG(i, (e, n) => {+ if (mG(n)) {let r = t.get(n) || [];r.push(e), t.set(n, r);}});}- let o = e.draftLocations_.get(t) ?? QMe;- for (let e of o) CG(i, e, n, a);+ let o = e.draftLocations_.get(t) ?? eNe;+ for (let e of o) SG(i, e, n, a);}-function $Me(e, t, n) {+function tNe(e, t, n) {e.callbacks_.push(function(r) {let i = t;- if (!i || !ZG(i, r)) return;+ if (!i || !XG(i, r)) return;r.mapSetPlugin_?.fixSetContents(i);- let a = jG(i);- QG(e, i.draft_ ?? i, a, n), $G(i, r);+ let a = AG(i);+ ZG(e, i.draft_ ?? i, a, n), QG(i, r);});}-function $G(e, t) {+function QG(e, t) {if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {let { patchPlugin_: n } = t;if (n) {let r = n.getPath(e);r && n.generatePatches_(e, r, t);}- XG(e);+ YG(e);}}-function eNe(e, t, n) {+function nNe(e, t, n) {let { scope_: r } = e;- if (hG(n)) {- let i = n[aG];- ZG(i, r) && i.callbacks_.push(function() {- oK(e), QG(e, n, jG(i), t);+ if (mG(n)) {+ let i = n[iG];+ XG(i, r) && i.callbacks_.push(function() {+ aK(e), ZG(e, n, AG(i), t);});- } else gG(n) && e.callbacks_.push(function() {- let i = AG(e);- e.type_ === 3 ? i.has(n) && eK(n, r.handledSet_, r) : SG(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && eK(SG(e.copy_, t, e.type_), r.handledSet_, r);+ } else hG(n) && e.callbacks_.push(function() {+ let i = kG(e);+ e.type_ === 3 ? i.has(n) && $G(n, r.handledSet_, r) : xG(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && $G(xG(e.copy_, t, e.type_), r.handledSet_, r);});}-function eK(e, t, n) {- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || hG(e) || t.has(e) || !gG(e) || FG(e) || (t.add(e), yG(e, (r, i) => {- if (hG(i)) {- let t = i[aG];- ZG(t, n) && (CG(e, r, jG(t), e.type_), XG(t));- } else gG(i) && eK(i, t, n);+function $G(e, t, n) {+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || mG(e) || t.has(e) || !hG(e) || PG(e) || (t.add(e), vG(e, (r, i) => {+ if (mG(i)) {+ let t = i[iG];+ XG(t, n) && (SG(e, r, AG(t), e.type_), YG(t));+ } else hG(i) && $G(i, t, n);})), e;}-function tNe(e, t) {- let n = wG(e), r = {+function rNe(e, t) {+ let n = CG(e), r = {type_: +!!n,- scope_: t ? t.scope_ : UG(),+ scope_: t ? t.scope_ : HG(),modified_: !1,finalized_: !1,assigned_: void 0,@@ -65492,108 +65512,108 @@ function tNe(e, t) {revoke_: null,isManual_: !1,callbacks_: void 0- }, i = r, a = tK;- n && (i = [r], a = nK);+ }, i = r, a = eK;+ n && (i = [r], a = tK);let { revoke: o, proxy: s } = Proxy.revocable(i, a);return r.draft_ = s, r.revoke_ = o, [s, r];}-var tK = {+var eK = {get(e, t) {- if (t === aG) return e;+ if (t === iG) return e;let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);- let i = AG(e);- if (!xG(i, t, e.type_)) return rNe(e, i, t);+ let i = kG(e);+ if (!bG(i, t, e.type_)) return aNe(e, i, t);let a = i[t];- if (e.finalized_ || !gG(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && qMe(t)) return a;- if (a === rK(e.base_, t) || nNe(e, t, a)) {- oK(e);- let n = e.type_ === 1 ? +t : t, r = sK(e.scope_, a, e, n);+ if (e.finalized_ || !hG(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && YMe(t)) return a;+ if (a === nK(e.base_, t) || iNe(e, t, a)) {+ aK(e);+ let n = e.type_ === 1 ? +t : t, r = oK(e.scope_, a, e, n);return e.copy_[n] = r;}return a;},has(e, t) {- return t in AG(e);+ return t in kG(e);},ownKeys(e) {- return Reflect.ownKeys(AG(e));+ return Reflect.ownKeys(kG(e));},set(e, t, n) {- let r = iK(AG(e), t);+ let r = rK(kG(e), t);if (r?.set) return r.set.call(e.draft_, n), !0;if (!e.modified_) {- let r = rK(AG(e), t), i = r?.[aG];+ let r = nK(kG(e), t), i = r?.[iG];if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.delete(t), !0;- if (KMe(n, r) && (n !== void 0 || xG(e.base_, t, e.type_))) return !0;- oK(e), aK(e);+ if (JMe(n, r) && (n !== void 0 || bG(e.base_, t, e.type_))) return !0;+ aK(e), iK(e);}- return e.copy_[t] === n && (n !== void 0 || xG(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), eNe(e, t, n)), !0;+ return e.copy_[t] === n && (n !== void 0 || bG(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), nNe(e, t, n)), !0;},deleteProperty(e, t) {- return oK(e), rK(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), aK(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;+ return aK(e), nK(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), iK(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;},getOwnPropertyDescriptor(e, t) {- let n = AG(e), r = Reflect.getOwnPropertyDescriptor(n, t);+ let n = kG(e), r = Reflect.getOwnPropertyDescriptor(n, t);return r && {- [pG]: !0,- [dG]: e.type_ !== 1 || t !== "length",- [fG]: r[fG],- [mG]: n[t]+ [fG]: !0,+ [uG]: e.type_ !== 1 || t !== "length",+ [dG]: r[dG],+ [pG]: n[t]};},defineProperty() {- oG(11);+ aG(11);},getPrototypeOf(e) {- return cG(e.base_);+ return sG(e.base_);},setPrototypeOf() {- oG(12);+ aG(12);}-}, nK = {};-for (let e in tK) {- let t = tK[e];- nK[e] = function() {+}, tK = {};+for (let e in eK) {+ let t = eK[e];+ tK[e] = function() {let e = arguments;return e[0] = e[0][0], t.apply(this, e);};}-nK.deleteProperty = function(e, t) {- return nK.set.call(this, e, t, void 0);-}, nK.set = function(e, t, n) {- return tK.set.call(this, e[0], t, n, e[0]);+tK.deleteProperty = function(e, t) {+ return tK.set.call(this, e, t, void 0);+}, tK.set = function(e, t, n) {+ return eK.set.call(this, e[0], t, n, e[0]);};-function rK(e, t) {- let n = e[aG];- return (n ? AG(n) : e)[t];+function nK(e, t) {+ let n = e[iG];+ return (n ? kG(n) : e)[t];}-function nNe(e, t, n) {- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !gG(n) || n[aG] ? !1 : e.baseRefs_.has(n);+function iNe(e, t, n) {+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !hG(n) || n[iG] ? !1 : e.baseRefs_.has(n);}-function rNe(e, t, n) {- let r = iK(t, n);- return r ? mG in r ? r[mG] : r.get?.call(e.draft_) : void 0;+function aNe(e, t, n) {+ let r = rK(t, n);+ return r ? pG in r ? r[pG] : r.get?.call(e.draft_) : void 0;}-function iK(e, t) {+function rK(e, t) {if (!(t in e)) return;- let n = cG(e);+ let n = sG(e);for (; n;) {let e = Object.getOwnPropertyDescriptor(n, t);if (e) return e;- n = cG(n);+ n = sG(n);}}-function aK(e) {- e.modified_ || (e.modified_ = !0, e.parent_ && aK(e.parent_));+function iK(e) {+ e.modified_ || (e.modified_ = !0, e.parent_ && iK(e.parent_));}-function oK(e) {- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), MG(e.base_, e.scope_.immer_.useStrictShallowCopy_));+function aK(e) {+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), jG(e.base_, e.scope_.immer_.useStrictShallowCopy_));}-var iNe = class {+var oNe = class {constructor(e) {this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {- if (OG(e) && !OG(t)) {+ if (DG(e) && !DG(t)) {let n = t;t = e;let r = this;@@ -65601,30 +65621,30 @@ var iNe = class {return r.produce(e, (e) => t.call(this, e, ...i));};}- OG(t) || oG(6), n !== void 0 && !OG(n) && oG(7);+ DG(t) || aG(6), n !== void 0 && !DG(n) && aG(7);let r;- if (gG(e)) {- let i = qG(this), a = sK(i, e, void 0), o = !0;+ if (hG(e)) {+ let i = KG(this), a = oK(i, e, void 0), o = !0;try {r = t(a), o = !1;} finally {- o ? GG(i) : KG(i);+ o ? WG(i) : GG(i);}- return WG(i, n), JG(r, i);+ return UG(i, n), qG(r, i);}- if (!e || !DG(e)) {- if (r = t(e), r === void 0 && (r = e), r === rG && (r = void 0), this.autoFreeze_ && NG(r, !0), n) {+ if (!e || !EG(e)) {+ if (r = t(e), r === void 0 && (r = e), r === nG && (r = void 0), this.autoFreeze_ && MG(r, !0), n) {let t = [], i = [];- BG(LG).generateReplacementPatches_(e, r, {+ zG(IG).generateReplacementPatches_(e, r, {patches_: t,inversePatches_: i}), n(t, i);}return r;}- oG(1, e);+ aG(1, e);}, this.produceWithPatches = (e, t) => {- if (OG(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));+ if (DG(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));let n, r;return [this.produce(e, t, (e, t) => {@@ -65633,18 +65653,18 @@ var iNe = class {n,r];- }, kG(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), kG(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), kG(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);+ }, OG(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), OG(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), OG(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);}createDraft(e) {- gG(e) || oG(8), hG(e) && (e = cK(e));- let t = qG(this), n = sK(t, e, void 0);- return n[aG].isManual_ = !0, KG(t), n;+ hG(e) || aG(8), mG(e) && (e = sK(e));+ let t = KG(this), n = oK(t, e, void 0);+ return n[iG].isManual_ = !0, GG(t), n;}finishDraft(e, t) {- let n = e && e[aG];- (!n || !n.isManual_) && oG(9);+ let n = e && e[iG];+ (!n || !n.isManual_) && aG(9);let { scope_: r } = n;- return WG(r, t), JG(void 0, r);+ return UG(r, t), qG(void 0, r);}setAutoFreeze(e) {this.autoFreeze_ = e;@@ -65668,48 +65688,48 @@ var iNe = class {}}n > -1 && (t = t.slice(n + 1));- let r = BG(LG).applyPatches_;- return hG(e) ? r(e, t) : this.produce(e, (e) => r(e, t));+ let r = zG(IG).applyPatches_;+ return mG(e) ? r(e, t) : this.produce(e, (e) => r(e, t));}};-function sK(e, t, n, r) {- let [i, a] = TG(t) ? BG(IG).proxyMap_(t, n) : EG(t) ? BG(IG).proxySet_(t, n) : tNe(t, n);- return (n?.scope_ ?? UG()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? $Me(n, a, r) : a.callbacks_.push(function(e) {+function oK(e, t, n, r) {+ let [i, a] = wG(t) ? zG(FG).proxyMap_(t, n) : TG(t) ? zG(FG).proxySet_(t, n) : rNe(t, n);+ return (n?.scope_ ?? HG()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? tNe(n, a, r) : a.callbacks_.push(function(e) {e.mapSetPlugin_?.fixSetContents(a);let { patchPlugin_: t } = e;a.modified_ && t && t.generatePatches_(a, [], e);}), i;}-function cK(e) {- return hG(e) || oG(10, e), lK(e);+function sK(e) {+ return mG(e) || aG(10, e), cK(e);}-function lK(e) {- if (!gG(e) || FG(e)) return e;- let t = e[aG], n, r = !0;+function cK(e) {+ if (!hG(e) || PG(e)) return e;+ let t = e[iG], n, r = !0;if (t) {if (!t.modified_) return t.base_;- t.finalized_ = !0, n = MG(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();- } else n = MG(e, !0);- return yG(n, (e, t) => {- CG(n, e, lK(t));+ t.finalized_ = !0, n = jG(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();+ } else n = jG(e, !0);+ return vG(n, (e, t) => {+ SG(n, e, cK(t));}, r), t && (t.finalized_ = !1), n;}globalThis.Iterator?.from;-var uK = new iNe().produce, dK = (e) => e;+var lK = new oNe().produce, uK = (e) => e;//#endregion//#region node_modules/redux-thunk/dist/redux-thunk.mjs-function fK(e) {+function dK(e) {return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);}-var aNe = fK(), oNe = fK, sNe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {- if (arguments.length !== 0) return typeof arguments[0] == "object" ? tG : tG.apply(null, arguments);+var sNe = dK(), cNe = dK, lNe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? eG : eG.apply(null, arguments);};typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;-function pK(e, t) {+function fK(e, t) {function n(...n) {if (t) {let r = t(...n);- if (!r) throw Error(JK(0));+ if (!r) throw Error(qK(0));return {type: e,payload: r.payload,@@ -65722,9 +65742,9 @@ function pK(e, t) {payload: n[0]};}- return n.toString = () => `${e}`, n.type = e, n.match = (t) => nG(t) && t.type === e, n;+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => tG(t) && t.type === e, n;}-var mK = class e extends Array {+var pK = class e extends Array {constructor(...t) {super(...t), Object.setPrototypeOf(this, e.prototype);}@@ -65738,29 +65758,29 @@ var mK = class e extends Array {return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));}};-function hK(e) {- return gG(e) ? uK(e, () => {}) : e;+function mK(e) {+ return hG(e) ? lK(e, () => {}) : e;}-function gK(e, t, n) {+function hK(e, t, n) {return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);}-function cNe(e) {+function uNe(e) {return typeof e == "boolean";}-var lNe = () => function(e) {- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new mK();- return t && (cNe(t) ? a.push(aNe) : a.push(oNe(t.extraArgument))), a;-}, _K = "RTK_autoBatch", vK = () => (e) => ({+var dNe = () => function(e) {+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new pK();+ return t && (uNe(t) ? a.push(sNe) : a.push(cNe(t.extraArgument))), a;+}, gK = "RTK_autoBatch", _K = () => (e) => ({payload: e,- meta: { [_K]: !0 }-}), yK = (e) => (t) => {+ meta: { [gK]: !0 }+}), vK = (e) => (t) => {setTimeout(t, e);-}, uNe = (e, t) => (n) => {+}, fNe = (e, t) => (n) => {let r = !1, i = () => {r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());}, a = e(i), o = setTimeout(i, t);-}, bK = (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 ? uNe(window.requestAnimationFrame, 100) : yK(10) : e.type === "callback" ? e.queueNotification : yK(e.timeout), l = () => {+}, yK = (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 ? fNe(window.requestAnimationFrame, 100) : vK(10) : e.type === "callback" ? e.queueNotification : vK(e.timeout), l = () => {o = !1, a && (a = !1, s.forEach((e) => e()));};return Object.assign({}, r, {@@ -65772,37 +65792,37 @@ var lNe = () => function(e) {},dispatch(e) {try {- return i = !e?.meta?.[_K], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);+ return i = !e?.meta?.[gK], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);} finally {i = !0;}}});-}, dNe = (e) => function(t) {- let { autoBatch: n = !0 } = t ?? {}, r = new mK(e);- return n && r.push(bK(typeof n == "object" ? n : void 0)), r;+}, pNe = (e) => function(t) {+ let { autoBatch: n = !0 } = t ?? {}, r = new pK(e);+ return n && r.push(yK(typeof n == "object" ? n : void 0)), r;};-function fNe(e) {- let t = lNe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;+function mNe(e) {+ let t = dNe(), { 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 (QW(n)) c = eG(n);- else throw Error(JK(1));+ else if (ZW(n)) c = $W(n);+ else throw Error(qK(1));let l;l = typeof r == "function" ? r(t) : t();- let u = tG;- i && (u = sNe({+ let u = eG;+ i && (u = lNe({trace: !1,...typeof i == "object" && i}));- let d = dNe(WMe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);- return $W(c, o, p);+ let d = pNe(KMe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);+ return QW(c, o, p);}-function xK(e) {+function bK(e) {let t = {}, n = [], r, i = {addCase(e, n) {let r = typeof e == "string" ? e : e.type;- if (!r) throw Error(JK(28));- if (r in t) throw Error(JK(29));+ if (!r) throw Error(qK(28));+ if (r in t) throw Error(qK(29));return t[r] = n, i;},addAsyncThunk(e, r) {@@ -65827,25 +65847,25 @@ function xK(e) {r];}-function pNe(e) {+function hNe(e) {return typeof e == "function";}-function mNe(e, t) {- let [n, r, i] = xK(t), a;- if (pNe(e)) a = () => hK(e());+function gNe(e, t) {+ let [n, r, i] = bK(t), a;+ if (hNe(e)) a = () => mK(e());else {- let t = hK(e);+ let t = mK(e);a = () => t;}function o(e = a(), t) {let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {if (n) {- if (hG(e)) {+ if (mG(e)) {let r = n(e, t);return r === void 0 ? e : r;}- if (gG(e)) return uK(e, (e) => n(e, t));+ if (hG(e)) return lK(e, (e) => n(e, t));{let r = n(e, t);if (r === void 0) {@@ -65860,20 +65880,20 @@ function mNe(e, t) {}return o.getInitialState = a, o;}-var hNe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", gNe = (e = 21) => {+var _Ne = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", vNe = (e = 21) => {let t = "", n = e;- for (; n--;) t += hNe[Math.random() * 64 | 0];+ for (; n--;) t += _Ne[Math.random() * 64 | 0];return t;-}, _Ne = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");-function vNe(e, t) {+}, yNe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");+function bNe(e, t) {return `${e}/${t}`;}-function yNe({ creators: e } = {}) {- let t = e?.asyncThunk?.[_Ne];+function xNe({ creators: e } = {}) {+ let t = e?.asyncThunk?.[yNe];return function(e) {let { name: n, reducerPath: r = n } = e;- if (!n) throw Error(JK(11));- let i = (typeof e.reducers == "function" ? e.reducers(xNe()) : e.reducers) || {}, a = Object.keys(i), o = {+ if (!n) throw Error(qK(11));+ let i = (typeof e.reducers == "function" ? e.reducers(CNe()) : e.reducers) || {}, a = Object.keys(i), o = {sliceCaseReducersByName: {},sliceCaseReducersByType: {},actionCreators: {},@@ -65881,8 +65901,8 @@ function yNe({ creators: e } = {}) {}, s = {addCase(e, t) {let n = typeof e == "string" ? e : e.type;- if (!n) throw Error(JK(12));- if (n in o.sliceCaseReducersByType) throw Error(JK(13));+ if (!n) throw Error(qK(12));+ if (n in o.sliceCaseReducersByType) throw Error(qK(13));return o.sliceCaseReducersByType[n] = t, s;},addMatcher(e, t) {@@ -65901,17 +65921,17 @@ function yNe({ creators: e } = {}) {a.forEach((r) => {let a = i[r], o = {reducerName: r,- type: vNe(n, r),+ type: bNe(n, r),createNotation: typeof e.reducers == "function"};- CNe(a) ? TNe(o, a, s, t) : SNe(o, a, s);+ TNe(a) ? DNe(o, a, s, t) : wNe(o, a, s);});function c() {- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? xK(e.extraReducers) : [e.extraReducers], i = {+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? bK(e.extraReducers) : [e.extraReducers], i = {...t,...o.sliceCaseReducersByType};- return mNe(e.initialState, (e) => {+ return gNe(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);@@ -65928,12 +65948,12 @@ function yNe({ creators: e } = {}) {function h(t, n = !1) {function r(e) {let i = e[t];- return i === void 0 && n && (i = gK(d, r, m)), i;+ return i === void 0 && n && (i = hK(d, r, m)), i;}function i(t = l) {- return gK(gK(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {+ return hK(hK(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {let r = {};- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = bNe(a, t, () => gK(d, t, m), n);+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = SNe(a, t, () => hK(d, t, m), n);return r;});}@@ -65967,15 +65987,15 @@ function yNe({ creators: e } = {}) {return g;};}-function bNe(e, t, n, r) {+function SNe(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 SK = /* @__PURE__ */ yNe();-function xNe() {+var xK = /* @__PURE__ */ xNe();+function CNe() {function e(e, t) {return {_reducerDefinitionType: "asyncThunk",@@ -65999,53 +66019,53 @@ function xNe() {asyncThunk: e};}-function SNe({ type: e, reducerName: t, createNotation: n }, r, i) {+function wNe({ type: e, reducerName: t, createNotation: n }, r, i) {let a, o;if ("reducer" in r) {- if (n && !wNe(r)) throw Error(JK(17));+ if (n && !ENe(r)) throw Error(qK(17));a = r.reducer, o = r.prepare;} else a = r;- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? pK(e, o) : pK(e));+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? fK(e, o) : fK(e));}-function CNe(e) {+function TNe(e) {return e._reducerDefinitionType === "asyncThunk";}-function wNe(e) {+function ENe(e) {return e._reducerDefinitionType === "reducerWithPrepare";}-function TNe({ type: e, reducerName: t }, n, r, i) {- if (!i) throw Error(JK(18));+function DNe({ type: e, reducerName: t }, n, r, i) {+ if (!i) throw Error(qK(18));let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {- fulfilled: o || CK,- pending: s || CK,- rejected: c || CK,- settled: l || CK+ fulfilled: o || SK,+ pending: s || SK,+ rejected: c || SK,+ settled: l || SK});}-function CK() {}-var ENe = "task", wK = "listener", TK = "completed", EK = "cancelled", DNe = `task-${EK}`, ONe = `task-${TK}`, DK = `${wK}-${EK}`, kNe = `${wK}-${TK}`, OK = class {+function SK() {}+var ONe = "task", CK = "listener", wK = "completed", TK = "cancelled", kNe = `task-${TK}`, ANe = `task-${wK}`, EK = `${CK}-${TK}`, jNe = `${CK}-${wK}`, DK = class {constructor(e) {- this.code = e, this.message = `${ENe} ${EK} (reason: ${e})`;+ this.code = e, this.message = `${ONe} ${TK} (reason: ${e})`;}code;name = "TaskAbortError";message;-}, kK = (e, t) => {- if (typeof e != "function") throw TypeError(JK(32));-}, AK = () => {}, jK = (e, t = AK) => (e.catch(t), e), MK = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), NK = (e) => {- if (e.aborted) throw new OK(e.reason);+}, OK = (e, t) => {+ if (typeof e != "function") throw TypeError(qK(32));+}, kK = () => {}, AK = (e, t = kK) => (e.catch(t), e), jK = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), MK = (e) => {+ if (e.aborted) throw new DK(e.reason);};-function PK(e, t) {- let n = AK;+function NK(e, t) {+ let n = kK;return new Promise((r, i) => {- let a = () => i(new OK(e.reason));- e.aborted ? a() : (n = MK(e, a), t.finally(() => n()).then(r, i));+ let a = () => i(new DK(e.reason));+ e.aborted ? a() : (n = jK(e, a), t.finally(() => n()).then(r, i));}).finally(() => {- n = AK;+ n = kK;});}-var ANe = async (e, t) => {+var MNe = async (e, t) => {try {return await Promise.resolve(), {status: "ok",@@ -66053,40 +66073,40 @@ var ANe = async (e, t) => {};} catch (e) {return {- status: e instanceof OK ? "cancelled" : "rejected",+ status: e instanceof DK ? "cancelled" : "rejected",error: e};} finally {t?.();}-}, FK = (e) => (t) => jK(PK(e, t).then((t) => (NK(e), t))), IK = (e) => {- let t = FK(e);+}, PK = (e) => (t) => AK(NK(e, t).then((t) => (MK(e), t))), FK = (e) => {+ let t = PK(e);return (e) => t(new Promise((t) => setTimeout(t, e)));-}, { assign: LK } = Object, RK = {}, zK = "listenerMiddleware", jNe = (e, t) => {- let n = (t) => MK(e, () => t.abort(e.reason));+}, { assign: IK } = Object, LK = {}, RK = "listenerMiddleware", NNe = (e, t) => {+ let n = (t) => jK(e, () => t.abort(e.reason));return (r, i) => {- kK(r, "taskExecutor");+ OK(r, "taskExecutor");let a = new AbortController();n(a);- let o = ANe(async () => {- NK(e), NK(a.signal);+ let o = MNe(async () => {+ MK(e), MK(a.signal);let t = await r({- pause: FK(a.signal),- delay: IK(a.signal),+ pause: PK(a.signal),+ delay: FK(a.signal),signal: a.signal});- return NK(a.signal), t;- }, () => a.abort(ONe));- return i?.autoJoin && t.push(o.catch(AK)), {- result: FK(e)(o),+ return MK(a.signal), t;+ }, () => a.abort(ANe));+ return i?.autoJoin && t.push(o.catch(kK)), {+ result: PK(e)(o),cancel() {- a.abort(DNe);+ a.abort(kNe);}};};-}, MNe = (e, t) => {+}, PNe = (e, t) => {let n = async (n, r) => {- NK(t);+ MK(t);let i = () => {}, a = [new Promise((t, r) => {let a = e({predicate: n,@@ -66104,47 +66124,47 @@ var ANe = async (e, t) => {})];r != null && a.push(new Promise((e) => setTimeout(e, r, null)));try {- let e = await PK(t, Promise.race(a));- return NK(t), e;+ let e = await NK(t, Promise.race(a));+ return MK(t), e;} finally {i();}};- return ((e, t) => jK(n(e, t)));-}, BK = (e) => {+ return ((e, t) => AK(n(e, t)));+}, zK = (e) => {let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;- if (t) i = pK(t).match;+ if (t) i = fK(t).match;else if (n) t = n.type, i = n.match;else if (r) i = r;- else if (!i) throw Error(JK(21));- return kK(a, "options.listener"), {+ else if (!i) throw Error(qK(21));+ return OK(a, "options.listener"), {predicate: i,type: t,effect: a};-}, VK = /* @__PURE__ */ LK((e) => {- let { type: t, predicate: n, effect: r } = BK(e);+}, BK = /* @__PURE__ */ IK((e) => {+ let { type: t, predicate: n, effect: r } = zK(e);return {- id: gNe(),+ id: vNe(),effect: r,type: t,predicate: n,pending: /* @__PURE__ */ new Set(),unsubscribe: () => {- throw Error(JK(22));+ throw Error(qK(22));}};-}, { withTypes: () => VK }), HK = (e, t) => {- let { type: n, effect: r, predicate: i } = BK(t);+}, { withTypes: () => BK }), VK = (e, t) => {+ let { type: n, effect: r, predicate: i } = zK(t);return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);-}, UK = (e) => {+}, HK = (e) => {e.pending.forEach((e) => {- e.abort(DK);+ e.abort(EK);});-}, NNe = (e, t) => () => {- for (let e of t.keys()) UK(e);+}, FNe = (e, t) => () => {+ for (let e of t.keys()) HK(e);e.clear();-}, WK = (e, t, n) => {+}, UK = (e, t, n) => {try {e(t, n);} catch (e) {@@ -66152,74 +66172,74 @@ var ANe = async (e, t) => {throw e;}, 0);}-}, GK = /* @__PURE__ */ LK(/* @__PURE__ */ pK(`${zK}/add`), { withTypes: () => GK }), PNe = /* @__PURE__ */ pK(`${zK}/removeAll`), KK = /* @__PURE__ */ LK(/* @__PURE__ */ pK(`${zK}/remove`), { withTypes: () => KK }), FNe = (...e) => {- console.error(`${zK}/error`, ...e);-}, qK = (e = {}) => {+}, WK = /* @__PURE__ */ IK(/* @__PURE__ */ fK(`${RK}/add`), { withTypes: () => WK }), INe = /* @__PURE__ */ fK(`${RK}/removeAll`), GK = /* @__PURE__ */ IK(/* @__PURE__ */ fK(`${RK}/remove`), { withTypes: () => GK }), LNe = (...e) => {+ console.error(`${RK}/error`, ...e);+}, KK = (e = {}) => {let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {let t = n.get(e) ?? 0;n.set(e, t + 1);}, i = (e) => {let t = n.get(e) ?? 1;t === 1 ? n.delete(e) : n.set(e, t - 1);- }, { extra: a, onError: o = FNe } = e;- kK(o, "onError");+ }, { extra: a, onError: o = LNe } = e;+ OK(o, "onError");let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {- e.unsubscribe(), t?.cancelActive && UK(e);+ e.unsubscribe(), t?.cancelActive && HK(e);}), c = ((e) => {- let n = HK(t, e) ?? VK(e);+ let n = VK(t, e) ?? BK(e);return s(n);});- LK(c, { withTypes: () => c });+ IK(c, { withTypes: () => c });let l = (e) => {- let n = HK(t, e);- return n && (n.unsubscribe(), e.cancelActive && UK(n)), !!n;+ let n = VK(t, e);+ return n && (n.unsubscribe(), e.cancelActive && HK(n)), !!n;};- LK(l, { withTypes: () => l });+ IK(l, { withTypes: () => l });let u = async (e, n, s, l) => {- let u = new AbortController(), d = MNe(c, u.signal), f = [];+ let u = new AbortController(), d = PNe(c, u.signal), f = [];try {- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, LK({}, s, {+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, IK({}, s, {getOriginalState: l,condition: (e, t) => d(e, t).then(Boolean),take: d,- delay: IK(u.signal),- pause: FK(u.signal),+ delay: FK(u.signal),+ pause: PK(u.signal),extra: a,signal: u.signal,- fork: jNe(u.signal, f),+ fork: NNe(u.signal, f),unsubscribe: e.unsubscribe,subscribe: () => {t.set(e.id, e);},cancelActiveListeners: () => {e.pending.forEach((e, t, n) => {- e !== u && (e.abort(DK), n.delete(e));+ e !== u && (e.abort(EK), n.delete(e));});},cancel: () => {- u.abort(DK), e.pending.delete(u);+ u.abort(EK), e.pending.delete(u);},throwIfCancelled: () => {- NK(u.signal);+ MK(u.signal);}})));} catch (e) {- e instanceof OK || WK(o, e, { raisedBy: "effect" });+ e instanceof DK || UK(o, e, { raisedBy: "effect" });} finally {- await Promise.all(f), u.abort(kNe), i(e), e.pending.delete(u);+ await Promise.all(f), u.abort(jNe), i(e), e.pending.delete(u);}- }, d = NNe(t, n);+ }, d = FNe(t, n);return {middleware: (e) => (n) => (r) => {- if (!nG(r)) return n(r);- if (GK.match(r)) return c(r.payload);- if (PNe.match(r)) {+ if (!tG(r)) return n(r);+ if (WK.match(r)) return c(r.payload);+ if (INe.match(r)) {d();return;}- if (KK.match(r)) return l(r.payload);+ if (GK.match(r)) return l(r.payload);let i = e.getState(), a = () => {- if (i === RK) throw Error(JK(23));+ if (i === LK) throw Error(qK(23));return i;}, s;try {@@ -66230,13 +66250,13 @@ var ANe = async (e, t) => {try {s = t.predicate(r, n, i);} catch (e) {- s = !1, WK(o, e, { raisedBy: "predicate" });+ s = !1, UK(o, e, { raisedBy: "predicate" });}s && u(t, r, e, a);}}} finally {- i = RK;+ i = LK;}return s;},@@ -66245,12 +66265,12 @@ var ANe = async (e, t) => {clearListeners: d};};-function JK(e) {+function qK(e) {return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;}//#endregion//#region node_modules/recharts/es6/state/layoutSlice.js-var YK = SK({+var JK = xK({name: "chartLayout",initialState: {layoutType: "horizontal",@@ -66278,23 +66298,23 @@ var YK = SK({e.scale = t.payload;}}-}), XK = YK.actions, INe = XK.setMargin, LNe = XK.setLayout, RNe = XK.setChartSize, zNe = XK.setScale, BNe = YK.reducer;+}), YK = JK.actions, RNe = YK.setMargin, zNe = YK.setLayout, BNe = YK.setChartSize, VNe = YK.setScale, HNe = JK.reducer;//#endregion//#region node_modules/recharts/es6/util/getSliced.js-function ZK(e, t, n) {+function XK(e, t, n) {return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;}//#endregion//#region node_modules/recharts/es6/util/isWellBehavedNumber.js-function QK(e) {+function ZK(e) {return Number.isFinite(e);}-function $K(e) {+function QK(e) {return typeof e == "number" && e > 0 && Number.isFinite(e);}//#endregion//#region node_modules/recharts/es6/util/ChartUtils.js-function eq(e, t) {+function $K(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -66304,30 +66324,30 @@ function eq(e, t) {}return n;}-function tq(e) {+function eq(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? eq(Object(n), !0).forEach(function(t) {- VNe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eq(Object(n)).forEach(function(t) {+ t % 2 ? $K(Object(n), !0).forEach(function(t) {+ UNe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $K(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function VNe(e, t, n) {- return (t = HNe(t)) in e ? Object.defineProperty(e, t, {+function UNe(e, t, n) {+ return (t = WNe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function HNe(e) {- var t = UNe(e, "string");+function WNe(e) {+ var t = GNe(e, "string");return typeof t == "symbol" ? t : t + "";}-function UNe(e, t) {+function GNe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -66337,72 +66357,72 @@ function UNe(e, t) {}return (t === "string" ? String : Number)(e);}-function nq(e, t, n) {- return kH(e) || kH(t) ? n : CH(t) ? _H(e, t, n) : typeof t == "function" ? t(e) : n;+function tq(e, t, n) {+ return OH(e) || OH(t) ? n : SH(t) ? gH(e, t, n) : typeof t == "function" ? t(e) : n;}-var WNe = (e, t, n) => {+var KNe = (e, t, n) => {if (t && n) {var r = n.width, i = n.height, a = t.align, o = t.verticalAlign, s = t.layout, c = t.position, l = t.offset, u = l === void 0 ? 0 : l;if (c != null) {- if (LH(c)) {- if (c === "top" && q(e.top)) return tq(tq({}, e), {}, { top: e.top + (i || 0) + u });- if (c === "bottom" && q(e.bottom)) return tq(tq({}, e), {}, { bottom: e.bottom + (i || 0) + u });- if (c === "left" && q(e.left)) return tq(tq({}, e), {}, { left: e.left + (r || 0) + u });- if (c === "right" && q(e.right)) return tq(tq({}, e), {}, { right: e.right + (r || 0) + u });+ if (IH(c)) {+ if (c === "top" && q(e.top)) return eq(eq({}, e), {}, { top: e.top + (i || 0) + u });+ if (c === "bottom" && q(e.bottom)) return eq(eq({}, e), {}, { bottom: e.bottom + (i || 0) + u });+ if (c === "left" && q(e.left)) return eq(eq({}, e), {}, { left: e.left + (r || 0) + u });+ if (c === "right" && q(e.right)) return eq(eq({}, e), {}, { right: e.right + (r || 0) + u });}return e;}- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && q(e[a])) return tq(tq({}, e), {}, { [a]: e[a] + (r || 0) });- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && q(e[o])) return tq(tq({}, e), {}, { [o]: e[o] + (i || 0) });+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && q(e[a])) return eq(eq({}, e), {}, { [a]: e[a] + (r || 0) });+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && q(e[o])) return eq(eq({}, e), {}, { [o]: e[o] + (i || 0) });}return e;-}, rq = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", iq = (e, t, n, r) => {+}, nq = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", rq = (e, t, n, r) => {if (r) return e.map((e) => e.coordinate);var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));return i || o.push(t), a || o.push(n), o;-}, aq = (e, t, n) => {+}, iq = (e, t, n) => {if (!e) return null;var r = e.duplicateDomain, i = e.type, a = e.range, o = e.scale, s = e.realScaleType, c = e.isCategorical, l = e.categoricalDomain, u = e.tickCount, d = e.ticks, f = e.niceTicks, p = e.axisType;if (!o) return null;var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;- return h = p === "angleAxis" && a && a.length >= 2 ? bH(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {+ return h = p === "angleAxis" && a && a.length >= 2 ? yH(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 QK(i) ? {+ return ZK(i) ? {coordinate: i + h,value: e,offset: h,index: t} : null;- }).filter(jH) : c && l ? l.map((e, t) => {+ }).filter(AH) : c && l ? l.map((e, t) => {var n = o.map(e);- return QK(n) ? {+ return ZK(n) ? {coordinate: n + h,value: e,index: t,offset: h} : null;- }).filter(jH) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {+ }).filter(AH) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {var n = o.map(e);- return QK(n) ? {+ return ZK(n) ? {coordinate: n + h,value: e,index: t,offset: h} : null;- }).filter(jH) : o.domain().map((e, t) => {+ }).filter(AH) : o.domain().map((e, t) => {var n = o.map(e);- return QK(n) ? {+ return ZK(n) ? {coordinate: n + h,value: r ? r[e] : e,index: t,offset: h} : null;- }).filter(jH);-}, oq = (e, t) => {+ }).filter(AH);+}, aq = (e, t) => {if (!t || t.length !== 2 || !q(t[0]) || !q(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 (!q(e[0]) || e[0] < n) && (i[0] = n), (!q(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;-}, GNe = {+}, qNe = {sign: (e) => {var t = e.length;if (!(t <= 0)) {@@ -66410,16 +66430,16 @@ var WNe = (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 = xH(c) ? l : c;+ var c = s[1], l = s[0], u = bH(c) ? l : c;u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);}}}},- expand: bje,- none: OU,- silhouette: xje,- wiggle: Sje,+ expand: Sje,+ none: DU,+ silhouette: Cje,+ wiggle: wje,positive: (e) => {var t = e.length;if (!(t <= 0)) {@@ -66427,70 +66447,70 @@ var WNe = (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 = xH(o[1]) ? o[0] : o[1];+ var s = bH(o[1]) ? o[0] : o[1];s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);}}}}-}, KNe = (e, t, n) => {- var r = GNe[n] ?? OU, i = yje().keys(t).value((e, t) => Number(nq(e, t, 0))).order(kU).offset(r)(e);+}, JNe = (e, t, n) => {+ var r = qNe[n] ?? DU, i = xje().keys(t).value((e, t) => Number(tq(e, t, 0))).order(OU).offset(r)(e);return i.forEach((n, r) => {n.forEach((n, i) => {- var a = nq(e[i], t[r], 0);+ var a = tq(e[i], t[r], 0);Array.isArray(a) && a.length === 2 && q(a[0]) && q(a[1]) && (n[0] = a[0], n[1] = a[1]);});}), i;};-function sq(e) {+function oq(e) {return e == null ? void 0 : String(e);}-function cq(e) {+function sq(e) {var t = e.axis, n = e.ticks, r = e.bandSize, i = e.entry, a = e.index, o = e.dataKey;if (t.type === "category") {- if (!t.allowDuplicatedCategory && t.dataKey && !kH(i[t.dataKey])) {- var s = OH(n, "value", i[t.dataKey]);+ if (!t.allowDuplicatedCategory && t.dataKey && !OH(i[t.dataKey])) {+ var s = DH(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 = nq(i, kH(o) ? t.dataKey : o), l = t.scale.map(c);+ var c = tq(i, OH(o) ? t.dataKey : o), l = t.scale.map(c);return q(l) ? l : null;}-var lq = (e) => {+var cq = (e) => {var t = e.axis, n = e.ticks, r = e.offset, i = e.bandSize, a = e.entry, o = e.index;if (t.type === "category") return n[o] ? n[o].coordinate + r : null;- var s = nq(a, t.dataKey, t.scale.domain()[o]);- if (kH(s)) return null;+ var s = tq(a, t.dataKey, t.scale.domain()[o]);+ if (OH(s)) return null;var c = t.scale.map(s);return q(c) ? c - i / 2 + r : null;-}, uq = (e) => {+}, lq = (e) => {var t = e.numericAxis, n = t.scale.domain();if (t.type === "number") {var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;}return n[0];-}, qNe = (e) => {+}, YNe = (e) => {var t = e.flat(2).filter(q);return [Math.min(...t), Math.max(...t)];-}, JNe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], YNe = (e, t, n) => {- if (e != null && Object.keys(e).length !== 0) return JNe(Object.keys(e).reduce((r, i) => {+}, XNe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], ZNe = (e, t, n) => {+ if (e != null && Object.keys(e).length !== 0) return XNe(Object.keys(e).reduce((r, i) => {var a = e[i];if (!a) return r;var o = a.stackedData.reduce((e, r) => {- var i = qNe(ZK(r, t, n));- return !QK(i[0]) || !QK(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];+ var i = YNe(XK(r, t, n));+ return !ZK(i[0]) || !ZK(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];}, [Infinity, -Infinity]);return [Math.min(o[0], r[0]), Math.max(o[1], r[1])];}, [Infinity, -Infinity]));-}, dq = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, fq = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, pq = (e, t, n) => {+}, uq = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, dq = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, fq = (e, t, n) => {if (e && e.scale && e.scale.bandwidth) {var r = e.scale.bandwidth();if (!n || r > 0) return r;}if (e && t && t.length >= 2) {- for (var i = VW(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {+ for (var i = BW(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {var l = (i[s]?.coordinate || 0) - (i[s - 1]?.coordinate || 0);a.push(l), o = Math.max(l, o);}@@ -66500,26 +66520,26 @@ var lq = (e) => {}return n ? void 0 : 0;};-function mq(e) {+function pq(e) {var t = e.tooltipEntrySettings, n = e.dataKey, r = e.payload, i = e.value, a = e.name;- return tq(tq({}, t), {}, {+ return eq(eq({}, t), {}, {dataKey: n,payload: r,value: i,name: a});}-function hq(e, t) {+function mq(e, t) {if (e != null) return String(e);if (typeof t == "string") return t;}-var XNe = (e, t) => {+var QNe = (e, t) => {if (t === "horizontal") return e.relativeX;if (t === "vertical") return e.relativeY;-}, ZNe = (e, t) => t === "centric" ? e.angle : e.radius, gq = (e) => e.layout.width, _q = (e) => e.layout.height, QNe = (e) => e.layout.scale, vq = (e) => e.layout.margin, yq = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), bq = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), $Ne = "data-recharts-item-index";+}, $Ne = (e, t) => t === "centric" ? e.angle : e.radius, hq = (e) => e.layout.width, gq = (e) => e.layout.height, ePe = (e) => e.layout.scale, _q = (e) => e.layout.margin, vq = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), yq = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), tPe = "data-recharts-item-index";//#endregion//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js-function xq(e, t) {+function bq(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -66529,30 +66549,30 @@ function xq(e, t) {}return n;}-function Sq(e) {+function xq(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? xq(Object(n), !0).forEach(function(t) {- ePe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xq(Object(n)).forEach(function(t) {+ t % 2 ? bq(Object(n), !0).forEach(function(t) {+ nPe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bq(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function ePe(e, t, n) {- return (t = tPe(t)) in e ? Object.defineProperty(e, t, {+function nPe(e, t, n) {+ return (t = rPe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function tPe(e) {- var t = nPe(e, "string");+function rPe(e) {+ var t = iPe(e, "string");return typeof t == "symbol" ? t : t + "";}-function nPe(e, t) {+function iPe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -66562,58 +66582,58 @@ function nPe(e, t) {}return (t === "string" ? String : Number)(e);}-var rPe = (e) => e.brush.height;-function iPe(e) {- return bq(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);-}-function aPe(e) {- return bq(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);-}+var aPe = (e) => e.brush.height;function oPe(e) {- return yq(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);+ return yq(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);}function sPe(e) {- return yq(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);+ return yq(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);+}+function cPe(e) {+ return vq(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);}-var Cq = Y([+function lPe(e) {+ return vq(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);+}+var Sq = Y([+ hq,gq,_q,- vq,- rPe,- iPe,aPe,oPe,sPe,- HW,- FMe+ cPe,+ lPe,+ VW,+ LMe], (e, t, n, r, i, a, o, s, c, l) => {var u = {left: (n.left || 0) + i,right: (n.right || 0) + a- }, d = Sq(Sq({}, {+ }, d = xq(xq({}, {top: (n.top || 0) + o,bottom: (n.bottom || 0) + s}), u), f = d.bottom;- d.bottom += r, d = WNe(d, c, l);+ d.bottom += r, d = KNe(d, c, l);var p = e - d.left - d.right, m = t - d.top - d.bottom;- return Sq(Sq({ brushBottom: f }, d), {}, {+ return xq(xq({ brushBottom: f }, d), {}, {width: Math.max(p, 0),height: Math.max(m, 0)});-}), wq = Y(Cq, (e) => ({+}), Cq = Y(Sq, (e) => ({x: e.left,y: e.top,width: e.width,height: e.height-})), Tq = Y(gq, _q, (e, t) => ({+})), wq = Y(hq, gq, (e, t) => ({x: 0,y: 0,width: e,height: t-})), cPe = /*#__PURE__*/ (0, b.createContext)(null), Eq = () => (0, b.useContext)(cPe) != null, Dq = (e) => e.brush, Oq = Y([- Dq,- Cq,- vq+})), uPe = /*#__PURE__*/ (0, b.createContext)(null), Tq = () => (0, b.useContext)(uPe) != null, Eq = (e) => e.brush, Dq = Y([+ Eq,+ Sq,+ _q], (e, t, n) => ({height: e.height,x: q(e.x) ? e.x : t.left,@@ -66622,7 +66642,7 @@ var Cq = Y([}));//#endregion//#region node_modules/es-toolkit/dist/function/debounce.mjs-function lPe(e, t, { signal: n, edges: r } = {}) {+function dPe(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 = () => {@@ -66647,11 +66667,11 @@ function lPe(e, t, { signal: n, edges: r } = {}) {}//#endregion//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs-function uPe(e, t = 0, n = {}) {+function fPe(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 = lPe(function(...t) {+ let s, c = null, l = dPe(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);@@ -66660,9 +66680,9 @@ function uPe(e, t = 0, n = {}) {}//#endregion//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs-function dPe(e, t = 0, n = {}) {+function pPe(e, t = 0, n = {}) {let { leading: r = !0, trailing: i = !0 } = n;- return uPe(e, t, {+ return fPe(e, t, {leading: r,maxWait: t,trailing: i@@ -66670,7 +66690,7 @@ function dPe(e, t = 0, n = {}) {}//#endregion//#region node_modules/recharts/es6/util/LogUtils.js-var kq = function(e, t) {+var Oq = function(e, t) {var n = [...arguments].slice(2);if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");@@ -66679,7 +66699,7 @@ var kq = function(e, t) {console.warn(t.replace(/%s/g, () => n[r++]));}}-}, Aq = {+}, kq = {width: "100%",height: "100%",debounce: 0,@@ -66688,36 +66708,36 @@ var kq = function(e, t) {width: -1,height: -1}-}, jq = (e, t, n) => {- var r = n.width, i = r === void 0 ? Aq.width : r, a = n.height, o = a === void 0 ? Aq.height : a, s = n.aspect, c = n.maxHeight, l = SH(i) ? e : Number(i), u = SH(o) ? t : Number(o);+}, Aq = (e, t, n) => {+ var r = n.width, i = r === void 0 ? kq.width : r, a = n.height, o = a === void 0 ? kq.height : a, s = n.aspect, c = n.maxHeight, l = xH(i) ? e : Number(i), u = xH(o) ? t : Number(o);return s && s > 0 && (l ? u = l / s : u && (l = u * s), c && u != null && u > c && (u = c)), {calculatedWidth: l,calculatedHeight: u};-}, fPe = {+}, mPe = {width: 0,height: 0,overflow: "visible"-}, pPe = {+}, hPe = {width: 0,overflowX: "visible"-}, mPe = {+}, gPe = {height: 0,overflowY: "visible"-}, hPe = {}, gPe = (e) => {- var t = e.width, n = e.height, r = SH(t), i = SH(n);- return r && i ? fPe : r ? pPe : i ? mPe : hPe;+}, _Pe = {}, vPe = (e) => {+ var t = e.width, n = e.height, r = xH(t), i = xH(n);+ return r && i ? mPe : r ? hPe : i ? gPe : _Pe;};-function _Pe(e) {+function yPe(e) {var t = e.width, n = e.height, r = e.aspect, i = t, a = n;- return i === void 0 && a === void 0 ? (i = Aq.width, a = Aq.height) : i === void 0 ? i = r && r > 0 ? void 0 : Aq.width : a === void 0 && (a = r && r > 0 ? void 0 : Aq.height), {+ return i === void 0 && a === void 0 ? (i = kq.width, a = kq.height) : i === void 0 ? i = r && r > 0 ? void 0 : kq.width : a === void 0 && (a = r && r > 0 ? void 0 : kq.height), {width: i,height: a};}//#endregion//#region node_modules/recharts/es6/component/ResponsiveContainer.js-var vPe = [+var bPe = ["aspect","initialDimension","width",@@ -66732,16 +66752,16 @@ var vPe = ["onResize","style"];-function Mq() {- return Mq = Object.assign ? Object.assign.bind() : function(e) {+function jq() {+ return jq = 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;- }, Mq.apply(null, arguments);+ }, jq.apply(null, arguments);}-function Nq(e, t) {+function Mq(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -66751,30 +66771,30 @@ function Nq(e, t) {}return n;}-function Pq(e) {+function Nq(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Nq(Object(n), !0).forEach(function(t) {- yPe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Nq(Object(n)).forEach(function(t) {+ t % 2 ? Mq(Object(n), !0).forEach(function(t) {+ xPe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Mq(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function yPe(e, t, n) {- return (t = bPe(t)) in e ? Object.defineProperty(e, t, {+function xPe(e, t, n) {+ return (t = SPe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function bPe(e) {- var t = xPe(e, "string");+function SPe(e) {+ var t = CPe(e, "string");return typeof t == "symbol" ? t : t + "";}-function xPe(e, t) {+function CPe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -66784,25 +66804,25 @@ function xPe(e, t) {}return (t === "string" ? String : Number)(e);}-function SPe(e, t) {- return EPe(e) || TPe(e, t) || wPe(e, t) || CPe();+function wPe(e, t) {+ return OPe(e) || DPe(e, t) || EPe(e, t) || TPe();}-function CPe() {+function TPe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function wPe(e, t) {+function EPe(e, t) {if (e) {- if (typeof e == "string") return Fq(e, t);+ if (typeof e == "string") return Pq(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Fq(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Pq(e, t) : void 0;}}-function Fq(e, t) {+function Pq(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function TPe(e, t) {+function DPe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -66823,19 +66843,19 @@ function TPe(e, t) {return s;}}-function EPe(e) {+function OPe(e) {if (Array.isArray(e)) return e;}-function DPe(e, t) {+function kPe(e, t) {if (e == null) return {};- var n, r, i = OPe(e, t);+ var n, r, i = APe(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 OPe(e, t) {+function APe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -66844,21 +66864,21 @@ function OPe(e, t) {}return n;}-var Iq = /*#__PURE__*/ (0, b.createContext)(Aq.initialDimension);-function kPe(e) {- return $K(e.width) && $K(e.height);+var Fq = /*#__PURE__*/ (0, b.createContext)(kq.initialDimension);+function jPe(e) {+ return QK(e.width) && QK(e.height);}-function Lq(e) {+function Iq(e) {var t = e.children, n = e.width, r = e.height, i = (0, b.useMemo)(() => ({width: n,height: r}), [n, r]);- return kPe(i) ? /*#__PURE__*/ b.createElement(Iq.Provider, { value: i }, t) : null;+ return jPe(i) ? /*#__PURE__*/ b.createElement(Fq.Provider, { value: i }, t) : null;}-var Rq = () => (0, b.useContext)(Iq), APe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.aspect, r = e.initialDimension, i = r === void 0 ? Aq.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? Aq.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? Aq.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = DPe(e, vPe), x = (0, b.useRef)(null), S = (0, b.useRef)();+var Lq = () => (0, b.useContext)(Fq), MPe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.aspect, r = e.initialDimension, i = r === void 0 ? kq.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? kq.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? kq.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = kPe(e, bPe), x = (0, b.useRef)(null), S = (0, b.useRef)();S.current = g, (0, b.useImperativeHandle)(t, () => x.current);- var C = SPe((0, b.useState)({+ var C = wPe((0, b.useState)({containerWidth: i.width,containerHeight: i.height}), 2), w = C[0], T = C[1], E = (0, b.useCallback)((e, t) => {@@ -66871,7 +66891,7 @@ var Rq = () => (0, b.useContext)(Iq), APe = /*#__PURE__*/ (0, b.forwardRef)((e,});}, []);(0, b.useEffect)(() => {- if (x.current == null || typeof ResizeObserver > "u") return MH;+ if (x.current == null || typeof ResizeObserver > "u") return jH;var e = (e) => {var t, n = e[0];if (n != null) {@@ -66879,7 +66899,7 @@ var Rq = () => (0, b.useContext)(Iq), APe = /*#__PURE__*/ (0, b.forwardRef)((e,E(i, a), (t = S.current) == null || t.call(S, i, a);}};- p > 0 && (e = dPe(e, p, {+ p > 0 && (e = pPe(e, p, {trailing: !0,leading: !1}));@@ -66889,17 +66909,17 @@ var Rq = () => (0, b.useContext)(Iq), APe = /*#__PURE__*/ (0, b.forwardRef)((e,};}, [E, p]);var D = w.containerWidth, O = w.containerHeight;- kq(!n || n > 0, "The aspect(%s) must be greater than zero.", n);- var k = jq(D, O, {+ Oq(!n || n > 0, "The aspect(%s) must be greater than zero.", n);+ var k = Aq(D, O, {width: a,height: o,aspect: n,maxHeight: u}), A = k.calculatedWidth, j = k.calculatedHeight;- return kq(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ b.createElement("div", Mq({+ return Oq(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ b.createElement("div", jq({id: m ? `${m}` : void 0,className: dv("recharts-responsive-container", h),- style: Pq(Pq({}, v), {}, {+ style: Nq(Nq({}, v), {}, {width: a,height: o,minWidth: c,@@ -66907,43 +66927,43 @@ var Rq = () => (0, b.useContext)(Iq), APe = /*#__PURE__*/ (0, b.forwardRef)((e,maxHeight: u}),ref: x- }, y), /*#__PURE__*/ b.createElement("div", { style: gPe({+ }, y), /*#__PURE__*/ b.createElement("div", { style: vPe({width: a,height: o- }) }, /*#__PURE__*/ b.createElement(Lq, {+ }) }, /*#__PURE__*/ b.createElement(Iq, {width: A,height: j}, d)));-}), zq = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = Rq();- if ($K(n.width) && $K(n.height)) return e.children;- var r = _Pe({+}), Rq = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = Lq();+ if (QK(n.width) && QK(n.height)) return e.children;+ var r = yPe({width: e.width,height: e.height,aspect: e.aspect- }), i = r.width, a = r.height, o = jq(void 0, void 0, {+ }), i = r.width, a = r.height, o = Aq(void 0, void 0, {width: i,height: a,aspect: e.aspect,maxHeight: e.maxHeight}), s = o.calculatedWidth, c = o.calculatedHeight;- return q(s) && q(c) ? /*#__PURE__*/ b.createElement(Lq, {+ return q(s) && q(c) ? /*#__PURE__*/ b.createElement(Iq, {width: s,height: c- }, e.children) : /*#__PURE__*/ b.createElement(APe, Mq({}, e, {+ }, e.children) : /*#__PURE__*/ b.createElement(MPe, jq({}, e, {width: i,height: a,ref: t}));-}), Bq = () => {- var e = Eq(), t = J(wq), n = J(Oq), r = J(Dq)?.padding;+}), zq = () => {+ var e = Tq(), t = J(Cq), n = J(Dq), r = J(Eq)?.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};-}, jPe = {+}, NPe = {top: 0,bottom: 0,left: 0,@@ -66951,16 +66971,16 @@ var Rq = () => (0, b.useContext)(Iq), APe = /*#__PURE__*/ (0, b.forwardRef)((e,width: 0,height: 0,brushBottom: 0-}, Vq = () => J(Cq) ?? jPe, Hq = () => J(gq), Uq = () => J(_q), MPe = () => J((e) => e.layout.margin), Wq = (e) => e.layout.layoutType, Gq = () => J(Wq), Kq = () => {- var e = Gq();+}, Bq = () => J(Sq) ?? NPe, Vq = () => J(hq), Hq = () => J(gq), PPe = () => J((e) => e.layout.margin), Uq = (e) => e.layout.layoutType, Wq = () => J(Uq), Gq = () => {+ var e = Wq();if (e === "horizontal" || e === "vertical") return e;-}, qq = (e) => {+}, Kq = (e) => {var t = e.layout.layoutType;if (t === "centric" || t === "radial") return t;-}, Jq = () => J(qq), NPe = () => Gq() !== void 0, Yq = (e) => {- var t = MW(), n = Eq(), r = e.width, i = e.height, a = Rq(), o = r, s = i;+}, qq = () => J(Kq), FPe = () => Wq() !== void 0, Jq = (e) => {+ var t = jW(), n = Tq(), r = e.width, i = e.height, a = Lq(), o = r, s = i;return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, b.useEffect)(() => {- !n && $K(o) && $K(s) && t(RNe({+ !n && QK(o) && QK(s) && t(BNe({width: o,height: s}));@@ -66970,7 +66990,7 @@ var Rq = () => (0, b.useContext)(Iq), APe = /*#__PURE__*/ (0, b.forwardRef)((e,o,s]), null;-}, Xq = SK({+}, Yq = xK({name: "legend",initialState: {settings: {@@ -66996,43 +67016,43 @@ var Rq = () => (0, b.useContext)(Iq), APe = /*#__PURE__*/ (0, b.forwardRef)((e,},addLegendPayload: {reducer(e, t) {- e.payload.push(dK(t.payload));+ e.payload.push(uK(t.payload));},- prepare: vK()+ prepare: _K()},replaceLegendPayload: {reducer(e, t) {- var n = t.payload, r = n.prev, i = n.next, a = cK(e).payload.indexOf(dK(r));- a > -1 && (e.payload[a] = dK(i));+ var n = t.payload, r = n.prev, i = n.next, a = sK(e).payload.indexOf(uK(r));+ a > -1 && (e.payload[a] = uK(i));},- prepare: vK()+ prepare: _K()},removeLegendPayload: {reducer(e, t) {- var n = cK(e).payload.indexOf(dK(t.payload));+ var n = sK(e).payload.indexOf(uK(t.payload));n > -1 && e.payload.splice(n, 1);},- prepare: vK()+ prepare: _K()}}-}), Zq = Xq.actions, Qq = Zq.setLegendSize, PPe = Zq.setLegendSettings, $q = Zq.addLegendPayload, eJ = Zq.replaceLegendPayload, tJ = Zq.removeLegendPayload, FPe = Xq.reducer, IPe = /* @__PURE__ */ o(((e) => {+}), Xq = Yq.actions, Zq = Xq.setLegendSize, IPe = Xq.setLegendSettings, Qq = Xq.addLegendPayload, $q = Xq.replaceLegendPayload, eJ = Xq.removeLegendPayload, LPe = Yq.reducer, RPe = /* @__PURE__ */ o(((e) => {var t = d();t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;}));(/* @__PURE__ */ o(((e, t) => {- t.exports = IPe();+ t.exports = RPe();})))();-function LPe(e) {+function zPe(e) {e();}-function RPe() {+function BPe() {let e = null, t = null;return {clear() {e = null, t = null;},notify() {- LPe(() => {+ zPe(() => {let t = e;for (; t;) t.callback(), t = t.next;});@@ -67054,12 +67074,12 @@ function RPe() {}};}-var nJ = {+var tJ = {notify() {},get: () => []};-function zPe(e, t) {- let n, r = nJ, i = 0, a = !1;+function VPe(e, t) {+ let n, r = tJ, i = 0, a = !1;function o(e) {u();let t = r.subscribe(e), n = !1;@@ -67077,10 +67097,10 @@ function zPe(e, t) {return a;}function u() {- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = RPe());+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = BPe());}function d() {- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = nJ);+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = tJ);}function f() {a || (a = !0, u());@@ -67099,44 +67119,44 @@ function zPe(e, t) {};return m;}-var BPe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, VPe = typeof navigator < "u" && navigator.product === "ReactNative", HPe = BPe || VPe ? b.useLayoutEffect : b.useEffect;-function rJ(e, t) {+var HPe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, UPe = typeof navigator < "u" && navigator.product === "ReactNative", WPe = HPe || UPe ? b.useLayoutEffect : b.useEffect;+function nJ(e, t) {return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;}-function UPe(e, t) {- if (rJ(e, t)) return !0;+function GPe(e, t) {+ if (nJ(e, t)) return !0;if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;let n = Object.keys(e), r = Object.keys(t);if (n.length !== r.length) return !1;- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !rJ(e[n[r]], t[n[r]])) return !1;+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !nJ(e[n[r]], t[n[r]])) return !1;return !0;}-var WPe = /* @__PURE__ */ Symbol.for("react-redux-context"), GPe = typeof globalThis < "u" ? globalThis : {};-function KPe() {+var KPe = /* @__PURE__ */ Symbol.for("react-redux-context"), qPe = typeof globalThis < "u" ? globalThis : {};+function JPe() {if (!b.createContext) return {};- let e = GPe[WPe] ??= /* @__PURE__ */ new Map(), t = e.get(b.createContext);+ let e = qPe[KPe] ??= /* @__PURE__ */ new Map(), t = e.get(b.createContext);return t || (t = b.createContext(null), e.set(b.createContext, t)), t;}-var qPe = /* @__PURE__ */ KPe();-function JPe(e) {+var YPe = /* @__PURE__ */ JPe();+function XPe(e) {let { children: t, context: n, serverState: r, store: i } = e, a = b.useMemo(() => {- let e = zPe(i);+ let e = VPe(i);return {store: i,subscription: e,getServerState: r ? () => r : void 0};}, [i, r]), o = b.useMemo(() => i.getState(), [i]);- HPe(() => {+ WPe(() => {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 || qPe;+ let s = n || YPe;return /* @__PURE__ */ b.createElement(s.Provider, { value: a }, t);}-var YPe = JPe, XPe = /* @__PURE__ */ new Set([+var ZPe = XPe, QPe = /* @__PURE__ */ new Set(["axisLine","tickLine","activeBar",@@ -67159,22 +67179,22 @@ var YPe = JPe, XPe = /* @__PURE__ */ new Set(["radius","throttledEvents"]);-function ZPe(e, t) {+function $Pe(e, t) {return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;}-function iJ(e, t) {- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (XPe.has(n)) {+function rJ(e, t) {+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (QPe.has(n)) {if (e[n] == null && t[n] == null) continue;- if (!UPe(e[n], t[n])) return !1;- } else if (!ZPe(e[n], t[n])) return !1;+ if (!GPe(e[n], t[n])) return !1;+ } else if (!$Pe(e[n], t[n])) return !1;return !0;}//#endregion//#region node_modules/recharts/es6/state/selectors/selectLegendArea.js-var QPe = Y([+var eFe = Y([+ hq,gq,- _q,- vq+ _q], (e, t, n) => ({x: n.left || 0,y: n.top || 0,@@ -67183,7 +67203,7 @@ var QPe = Y([}));//#endregion//#region node_modules/recharts/es6/cartesian/cartesianPositionToCSSTranslate.js-function $Pe(e, t) {+function tFe(e, t) {return e === "start" && t === "start" ? "" : `translate(${e === "inherit" ? "0" : {start: "0",middle: "-50%",@@ -67196,35 +67216,35 @@ function $Pe(e, t) {}//#endregion//#region node_modules/recharts/es6/component/Legend.js-var eFe = ["contextPayload"];-function aJ() {- return aJ = Object.assign ? Object.assign.bind() : function(e) {+var nFe = ["contextPayload"];+function iJ() {+ return iJ = 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;- }, aJ.apply(null, arguments);+ }, iJ.apply(null, arguments);}-function tFe(e, t) {- return aFe(e) || iFe(e, t) || rFe(e, t) || nFe();+function rFe(e, t) {+ return sFe(e) || oFe(e, t) || aFe(e, t) || iFe();}-function nFe() {+function iFe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function rFe(e, t) {+function aFe(e, t) {if (e) {- if (typeof e == "string") return oJ(e, t);+ if (typeof e == "string") return aJ(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? oJ(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? aJ(e, t) : void 0;}}-function oJ(e, t) {+function aJ(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function iFe(e, t) {+function oFe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -67245,10 +67265,10 @@ function iFe(e, t) {return s;}}-function aFe(e) {+function sFe(e) {if (Array.isArray(e)) return e;}-function sJ(e, t) {+function oJ(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -67258,30 +67278,30 @@ function sJ(e, t) {}return n;}-function cJ(e) {+function sJ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? sJ(Object(n), !0).forEach(function(t) {- oFe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sJ(Object(n)).forEach(function(t) {+ t % 2 ? oJ(Object(n), !0).forEach(function(t) {+ cFe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oJ(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function oFe(e, t, n) {- return (t = sFe(t)) in e ? Object.defineProperty(e, t, {+function cFe(e, t, n) {+ return (t = lFe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function sFe(e) {- var t = cFe(e, "string");+function lFe(e) {+ var t = uFe(e, "string");return typeof t == "symbol" ? t : t + "";}-function cFe(e, t) {+function uFe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -67291,16 +67311,16 @@ function cFe(e, t) {}return (t === "string" ? String : Number)(e);}-function lFe(e, t) {+function dFe(e, t) {if (e == null) return {};- var n, r, i = uFe(e, t);+ var n, r, i = fFe(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 uFe(e, t) {+function fFe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -67309,30 +67329,30 @@ function uFe(e, t) {}return n;}-function dFe(e) {+function pFe(e) {return e.value;}-function fFe(e) {- var t = e.contextPayload, n = lFe(e, eFe), r = AW(t, e.payloadUniqBy, dFe), i = cJ(cJ({}, n), {}, { payload: r });- return /*#__PURE__*/ b.isValidElement(e.content) ? /*#__PURE__*/ b.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ b.createElement(e.content, i) : /*#__PURE__*/ b.createElement(Gje, i);+function mFe(e) {+ var t = e.contextPayload, n = dFe(e, nFe), r = kW(t, e.payloadUniqBy, pFe), i = sJ(sJ({}, n), {}, { payload: r });+ return /*#__PURE__*/ b.isValidElement(e.content) ? /*#__PURE__*/ b.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ b.createElement(e.content, i) : /*#__PURE__*/ b.createElement(qje, i);}-function pFe(e) {+function hFe(e) {return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";}-function mFe(e, t) {- return t == null ? null : LH(t) ? QPe(e) : wq(e);+function gFe(e, t) {+ return t == null ? null : IH(t) ? eFe(e) : Cq(e);}-function hFe(e, t, n) {+function _Fe(e, t, n) {return e === "top" ? { top: n.height + t } : e === "bottom" ? { top: -n.height - t } : e === "left" ? { left: n.width + t } : e === "right" ? { left: -n.width - t } : {};}-function gFe(e, t, n, r, i, a) {+function vFe(e, t, n, r, i, a) {var o = t.layout, s = t.align, c = t.verticalAlign, l, u;- return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), cJ(cJ({}, 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 }), sJ(sJ({}, l), u);}-function _Fe(e) {- var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = MW();+function yFe(e) {+ var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = jW();return (0, b.useLayoutEffect)(() => {- s(PPe({+ s(IPe({align: t,layout: n,verticalAlign: r,@@ -67350,10 +67370,10 @@ function _Fe(e) {o]), null;}-function vFe(e) {- var t = e.width, n = e.height, r = MW();+function bFe(e) {+ var t = e.width, n = e.height, r = jW();return (0, b.useLayoutEffect)(() => {- r(Qq({+ r(Zq({width: t,height: n}));@@ -67362,16 +67382,16 @@ function vFe(e) {t,n]), (0, b.useLayoutEffect)(() => () => {- r(Qq({+ r(Zq({width: 0,height: 0}));}, [r]), null;}-function yFe(e, t, n, r) {+function xFe(e, t, n, r) {return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;}-var bFe = {+var SFe = {align: "center",iconSize: 14,inactiveColor: "#ccc",@@ -67381,10 +67401,10 @@ var bFe = {verticalAlign: "bottom",offset: 0};-function xFe(e) {- var t = zU(e, bFe), n = e.layout && e.layout !== "auto" ? e.layout : pFe(t.position), r = LMe(), i = WAe(), a = MPe(), o = J((e) => mFe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || LH(t.position)), f = tFe(qW([r]), 2), p = f[0], m = f[1], h = Hq(), g = Uq();+function CFe(e) {+ var t = RU(e, SFe), n = e.layout && e.layout !== "auto" ? e.layout : hFe(t.position), r = zMe(), i = KAe(), a = PPe(), o = J((e) => gFe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || IH(t.position)), f = rFe(KW([r]), 2), p = f[0], m = f[1], h = Vq(), g = Hq();if (h == null || g == null || t.position != null && o == null) return null;- var _ = yFe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : IH({+ var _ = xFe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : FH({viewBox: o ?? {x: 0,y: 0,@@ -67393,7 +67413,7 @@ function xFe(e) {},position: t.position,offset: t.offset ?? 0- }), y = hFe(t.position, t.offset ?? 0, p), x = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, S = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {+ }), y = _Fe(t.position, t.offset ?? 0, p), x = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, S = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {width: "max-content",height: "max-content",maxWidth: x,@@ -67401,8 +67421,8 @@ function xFe(e) {overflowY: "auto",top: v.y + (y.top ?? 0),left: v.x + (y.left ?? 0),- transform: $Pe(v.horizontalAnchor, v.verticalAnchor)- } : gFe(l, t, a, h, g, p), w = u ? l : cJ(cJ({+ transform: tFe(v.horizontalAnchor, v.verticalAnchor)+ } : vFe(l, t, a, h, g, p), w = u ? l : sJ(sJ({position: "absolute",width: _?.width || s || "auto",height: _?.height || c || "auto"@@ -67412,14 +67432,14 @@ function xFe(e) {className: "recharts-legend-wrapper",style: w,ref: m- }, /*#__PURE__*/ b.createElement(_Fe, {+ }, /*#__PURE__*/ b.createElement(yFe, {layout: n,align: t.align,verticalAlign: t.verticalAlign,itemSorter: t.itemSorter,position: t.position,offset: t.offset- }), d && /*#__PURE__*/ b.createElement(vFe, p), /*#__PURE__*/ b.createElement(fFe, aJ({}, t, { layout: n }, _, {+ }), d && /*#__PURE__*/ b.createElement(bFe, p), /*#__PURE__*/ b.createElement(mFe, iJ({}, t, { layout: n }, _, {margin: a,chartWidth: h,chartHeight: g,@@ -67427,20 +67447,20 @@ function xFe(e) {})));return /*#__PURE__*/ (0, mt.createPortal)(E, T);}-var lJ = /*#__PURE__*/ b.memo(xFe, iJ);-lJ.displayName = "Legend";+var cJ = /*#__PURE__*/ b.memo(CFe, rJ);+cJ.displayName = "Legend";//#endregion//#region node_modules/recharts/es6/component/DefaultTooltipContent.js-function uJ() {- return uJ = Object.assign ? Object.assign.bind() : function(e) {+function lJ() {+ return lJ = 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;- }, uJ.apply(null, arguments);+ }, lJ.apply(null, arguments);}-function dJ(e, t) {+function uJ(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -67450,30 +67470,30 @@ function dJ(e, t) {}return n;}-function fJ(e) {+function dJ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? dJ(Object(n), !0).forEach(function(t) {- SFe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dJ(Object(n)).forEach(function(t) {+ t % 2 ? uJ(Object(n), !0).forEach(function(t) {+ wFe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uJ(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function SFe(e, t, n) {- return (t = CFe(t)) in e ? Object.defineProperty(e, t, {+function wFe(e, t, n) {+ return (t = TFe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function CFe(e) {- var t = wFe(e, "string");+function TFe(e) {+ var t = EFe(e, "string");return typeof t == "symbol" ? t : t + "";}-function wFe(e, t) {+function EFe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -67483,25 +67503,25 @@ function wFe(e, t) {}return (t === "string" ? String : Number)(e);}-function TFe(e, t) {- return kFe(e) || OFe(e, t) || DFe(e, t) || EFe();+function DFe(e, t) {+ return jFe(e) || AFe(e, t) || kFe(e, t) || OFe();}-function EFe() {+function OFe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function DFe(e, t) {+function kFe(e, t) {if (e) {- if (typeof e == "string") return pJ(e, t);+ if (typeof e == "string") return fJ(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? pJ(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? fJ(e, t) : void 0;}}-function pJ(e, t) {+function fJ(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function OFe(e, t) {+function AFe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -67522,13 +67542,13 @@ function OFe(e, t) {return s;}}-function kFe(e) {+function jFe(e) {if (Array.isArray(e)) return e;}-function AFe(e) {- return Array.isArray(e) && CH(e[0]) && CH(e[1]) ? e.join(" ~ ") : e;+function MFe(e) {+ return Array.isArray(e) && SH(e[0]) && SH(e[1]) ? e.join(" ~ ") : e;}-var mJ = {+var pJ = {separator: " : ",contentStyle: {margin: 0,@@ -67546,32 +67566,32 @@ var mJ = {labelStyle: {},accessibilityLayer: !1};-function jFe(e, t) {- return t == null ? e : VW(e, t);+function NFe(e, t) {+ return t == null ? e : BW(e, t);}-var MFe = (e) => {- var t = e.separator, n = t === void 0 ? mJ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? mJ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? mJ.accessibilityLayer : m, g = () => {+var PFe = (e) => {+ var t = e.separator, n = t === void 0 ? pJ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? pJ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? pJ.accessibilityLayer : m, g = () => {if (s && s.length) {var e = {padding: 0,margin: 0- }, t = jFe(s, l).map((e, t) => {+ }, t = NFe(s, l).map((e, t) => {if (!e || e.type === "none") return null;- var r = e.formatter || c || AFe, a = e.value, o = e.name, l = a, u = o;+ var r = e.formatter || c || MFe, a = e.value, o = e.name, l = a, u = o;if (r) {var d = r(a, o, e, t, s);if (Array.isArray(d)) {- var f = TFe(d, 2);+ var f = DFe(d, 2);l = f[0], u = f[1];} else if (d != null) l = d;else return null;}- var p = fJ(fJ({}, mJ.itemStyle), {}, { color: e.color || mJ.itemStyle.color }, i);+ var p = dJ(dJ({}, pJ.itemStyle), {}, { color: e.color || pJ.itemStyle.color }, i);return /*#__PURE__*/ b.createElement("li", {className: "recharts-tooltip-item",key: `tooltip-item-${t}`,style: p- }, CH(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, CH(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));+ }, SH(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, SH(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));});return /*#__PURE__*/ b.createElement("ul", {className: "recharts-tooltip-item-list",@@ -67579,30 +67599,30 @@ var MFe = (e) => {}, t);}return null;- }, _ = fJ(fJ({}, mJ.contentStyle), r), v = fJ({ margin: 0 }, o), y = !kH(f), x = y ? f : "", S = dv("recharts-default-tooltip", u), C = dv("recharts-tooltip-label", d);+ }, _ = dJ(dJ({}, pJ.contentStyle), r), v = dJ({ margin: 0 }, o), y = !OH(f), x = y ? f : "", S = dv("recharts-default-tooltip", u), C = dv("recharts-tooltip-label", d);y && p && s != null && (x = p(f, s));var w = h ? {role: "status","aria-live": "assertive"} : {};- return /*#__PURE__*/ b.createElement("div", uJ({+ return /*#__PURE__*/ b.createElement("div", lJ({className: S,style: _}, w), /*#__PURE__*/ b.createElement("p", {className: C,style: v}, /*#__PURE__*/ b.isValidElement(x) ? x : `${x}`), g());-}, hJ = "recharts-tooltip-wrapper", NFe = { visibility: "hidden" };-function PFe(e) {+}, mJ = "recharts-tooltip-wrapper", FFe = { visibility: "hidden" };+function IFe(e) {var t = e.coordinate, n = e.translateX, r = e.translateY;- return dv(hJ, {- [`${hJ}-right`]: q(n) && t && q(t.x) && n >= t.x,- [`${hJ}-left`]: q(n) && t && q(t.x) && n < t.x,- [`${hJ}-bottom`]: q(r) && t && q(t.y) && r >= t.y,- [`${hJ}-top`]: q(r) && t && q(t.y) && r < t.y+ return dv(mJ, {+ [`${mJ}-right`]: q(n) && t && q(t.x) && n >= t.x,+ [`${mJ}-left`]: q(n) && t && q(t.x) && n < t.x,+ [`${mJ}-bottom`]: q(r) && t && q(t.y) && r >= t.y,+ [`${mJ}-top`]: q(r) && t && q(t.y) && r < t.y});}-function gJ(e) {+function hJ(e) {var t = e.allowEscapeViewBox, n = e.coordinate, r = e.key, i = e.offset, a = e.position, o = e.reverseDirection, s = e.tooltipDimension, c = e.viewBox, l = e.viewBoxDimension;if (a && q(a[r])) return a[r];var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;@@ -67610,13 +67630,13 @@ function gJ(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 FFe(e) {+function LFe(e) {var t = e.translateX, n = e.translateY;return { transform: e.useTranslate3d ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };}-function IFe(e) {+function RFe(e) {var t = e.allowEscapeViewBox, n = e.coordinate, r = e.offsetTop, i = e.offsetLeft, a = e.position, o = e.reverseDirection, s = e.tooltipBox, c = e.useTranslate3d, l = e.viewBox, u, d, f;- return s && s.height > 0 && s.width > 0 && n ? (d = gJ({+ return s && s.height > 0 && s.width > 0 && n ? (d = hJ({allowEscapeViewBox: t,coordinate: n,key: "x",@@ -67626,7 +67646,7 @@ function IFe(e) {tooltipDimension: s.width,viewBox: l,viewBoxDimension: l.width- }), f = gJ({+ }), f = hJ({allowEscapeViewBox: t,coordinate: n,key: "y",@@ -67636,44 +67656,44 @@ function IFe(e) {tooltipDimension: s.height,viewBox: l,viewBoxDimension: l.height- }), u = FFe({+ }), u = LFe({translateX: d,translateY: f,useTranslate3d: c- })) : u = NFe, {+ })) : u = FFe, {cssProperties: u,- cssClasses: PFe({+ cssClasses: IFe({translateX: d,translateY: f,coordinate: n})};}-var _J = {+var gJ = {devToolsEnabled: !0,isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)};//#endregion//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js-function LFe(e, t) {- return VFe(e) || BFe(e, t) || zFe(e, t) || RFe();+function zFe(e, t) {+ return UFe(e) || HFe(e, t) || VFe(e, t) || BFe();}-function RFe() {+function BFe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function zFe(e, t) {+function VFe(e, t) {if (e) {- if (typeof e == "string") return vJ(e, t);+ if (typeof e == "string") return _J(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? vJ(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _J(e, t) : void 0;}}-function vJ(e, t) {+function _J(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function BFe(e, t) {+function HFe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -67694,11 +67714,11 @@ function BFe(e, t) {return s;}}-function VFe(e) {+function UFe(e) {if (Array.isArray(e)) return e;}-function yJ() {- var e = LFe((0, b.useState)(() => _J.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];+function vJ() {+ var e = zFe((0, b.useState)(() => gJ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];return (0, b.useEffect)(() => {if (window.matchMedia) {var e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => {@@ -67712,7 +67732,162 @@ function yJ() {}//#endregion//#region node_modules/recharts/es6/component/TooltipBoundingBox.js-function bJ(e, t) {+function yJ(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function bJ(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? yJ(Object(n), !0).forEach(function(t) {+ WFe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yJ(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function 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 GFe(e) {+ var t = KFe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function KFe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function qFe(e, t) {+ return ZFe(e) || XFe(e, t) || YFe(e, t) || JFe();+}+function JFe() {+ throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");+}+function YFe(e, t) {+ if (e) {+ if (typeof e == "string") return xJ(e, t);+ var n = {}.toString.call(e).slice(8, -1);+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? xJ(e, t) : void 0;+ }+}+function xJ(e, t) {+ (t == null || t > e.length) && (t = e.length);+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];+ return r;+}+function XFe(e, t) {+ var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];+ if (n != null) {+ var r, i, a, o, s = [], c = !0, l = !1;+ try {+ if (a = (n = n.call(e)).next, t === 0) {+ if (Object(n) !== n) return;+ c = !1;+ } else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);+ } catch (e) {+ l = !0, i = e;+ } finally {+ try {+ if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;+ } finally {+ if (l) throw i;+ }+ }+ return s;+ }+}+function ZFe(e) {+ if (Array.isArray(e)) return e;+}+function QFe(e) {+ if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) {+ var t = typeof e.animationEasing == "string" ? e.animationEasing : "ease";+ return `transform ${e.animationDuration}ms ${t}`;+ }+}+function $Fe(e) {+ var t = vJ(), n = qFe(b.useState(() => ({+ dismissed: !1,+ dismissedAtCoordinate: {+ x: 0,+ y: 0+ }+ })), 2), r = n[0], i = n[1];+ b.useEffect(() => {+ var t = (t) => {+ t.key === "Escape" && i({+ dismissed: !0,+ dismissedAtCoordinate: {+ x: e.coordinate?.x ?? 0,+ y: e.coordinate?.y ?? 0+ }+ });+ };+ return document.addEventListener("keydown", t), () => {+ document.removeEventListener("keydown", t);+ };+ }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(bJ(bJ({}, r), {}, { dismissed: !1 }));+ var a = RFe({+ allowEscapeViewBox: e.allowEscapeViewBox,+ coordinate: e.coordinate,+ offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,+ offsetTop: typeof e.offset == "number" ? e.offset : e.offset.y,+ position: e.position,+ reverseDirection: e.reverseDirection,+ tooltipBox: e.lastBoundingBox,+ useTranslate3d: e.useTranslate3d,+ viewBox: e.viewBox+ }), o = a.cssClasses, s = a.cssProperties, c = bJ(bJ({}, e.hasPortalFromProps ? {} : bJ(bJ({ transition: QFe({+ prefersReducedMotion: t,+ isAnimationActive: e.isAnimationActive,+ active: e.active,+ animationDuration: e.animationDuration,+ animationEasing: e.animationEasing+ }) }, s), {}, {+ pointerEvents: "none",+ position: "absolute",+ top: 0,+ left: 0+ })), {}, { visibility: !r.dismissed && e.active && e.hasPayload ? "visible" : "hidden" }, e.wrapperStyle);+ return /*#__PURE__*/ b.createElement("div", {+ xmlns: "http://www.w3.org/1999/xhtml",+ tabIndex: -1,+ className: o,+ style: c,+ ref: e.innerRef+ }, e.children);+}+var eIe = /*#__PURE__*/ b.memo($Fe), SJ = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;+//#endregion+//#region node_modules/recharts/es6/shape/Curve.js+function CJ() {+ return CJ = 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;+ }, CJ.apply(null, arguments);+}+function wJ(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -67722,185 +67897,30 @@ function bJ(e, t) {}return n;}-function xJ(e) {+function TJ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? bJ(Object(n), !0).forEach(function(t) {- HFe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bJ(Object(n)).forEach(function(t) {+ t % 2 ? wJ(Object(n), !0).forEach(function(t) {+ tIe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wJ(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function HFe(e, t, n) {- return (t = UFe(t)) in e ? Object.defineProperty(e, t, {+function tIe(e, t, n) {+ return (t = nIe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function UFe(e) {- var t = WFe(e, "string");- return typeof t == "symbol" ? t : t + "";-}-function WFe(e, t) {- if (typeof e != "object" || !e) return e;- var n = e[Symbol.toPrimitive];- if (n !== void 0) {- var r = n.call(e, t || "default");- if (typeof r != "object") return r;- throw TypeError("@@toPrimitive must return a primitive value.");- }- return (t === "string" ? String : Number)(e);-}-function GFe(e, t) {- return YFe(e) || JFe(e, t) || qFe(e, t) || KFe();-}-function KFe() {- throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");-}-function qFe(e, t) {- if (e) {- if (typeof e == "string") return SJ(e, t);- var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? SJ(e, t) : void 0;- }-}-function SJ(e, t) {- (t == null || t > e.length) && (t = e.length);- for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];- return r;-}-function JFe(e, t) {- var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];- if (n != null) {- var r, i, a, o, s = [], c = !0, l = !1;- try {- if (a = (n = n.call(e)).next, t === 0) {- if (Object(n) !== n) return;- c = !1;- } else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);- } catch (e) {- l = !0, i = e;- } finally {- try {- if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;- } finally {- if (l) throw i;- }- }- return s;- }-}-function YFe(e) {- if (Array.isArray(e)) return e;-}-function XFe(e) {- if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) {- var t = typeof e.animationEasing == "string" ? e.animationEasing : "ease";- return `transform ${e.animationDuration}ms ${t}`;- }-}-function ZFe(e) {- var t = yJ(), n = GFe(b.useState(() => ({- dismissed: !1,- dismissedAtCoordinate: {- x: 0,- y: 0- }- })), 2), r = n[0], i = n[1];- b.useEffect(() => {- var t = (t) => {- t.key === "Escape" && i({- dismissed: !0,- dismissedAtCoordinate: {- x: e.coordinate?.x ?? 0,- y: e.coordinate?.y ?? 0- }- });- };- return document.addEventListener("keydown", t), () => {- document.removeEventListener("keydown", t);- };- }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(xJ(xJ({}, r), {}, { dismissed: !1 }));- var a = IFe({- allowEscapeViewBox: e.allowEscapeViewBox,- coordinate: e.coordinate,- offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,- offsetTop: typeof e.offset == "number" ? e.offset : e.offset.y,- position: e.position,- reverseDirection: e.reverseDirection,- tooltipBox: e.lastBoundingBox,- useTranslate3d: e.useTranslate3d,- viewBox: e.viewBox- }), o = a.cssClasses, s = a.cssProperties, c = xJ(xJ({}, e.hasPortalFromProps ? {} : xJ(xJ({ transition: XFe({- prefersReducedMotion: t,- isAnimationActive: e.isAnimationActive,- active: e.active,- animationDuration: e.animationDuration,- animationEasing: e.animationEasing- }) }, s), {}, {- pointerEvents: "none",- position: "absolute",- top: 0,- left: 0- })), {}, { visibility: !r.dismissed && e.active && e.hasPayload ? "visible" : "hidden" }, e.wrapperStyle);- return /*#__PURE__*/ b.createElement("div", {- xmlns: "http://www.w3.org/1999/xhtml",- tabIndex: -1,- className: o,- style: c,- ref: e.innerRef- }, e.children);-}-var QFe = /*#__PURE__*/ b.memo(ZFe), CJ = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;-//#endregion-//#region node_modules/recharts/es6/shape/Curve.js-function wJ() {- return wJ = 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;- }, wJ.apply(null, arguments);-}-function TJ(e, t) {- var n = Object.keys(e);- if (Object.getOwnPropertySymbols) {- var r = Object.getOwnPropertySymbols(e);- t && (r = r.filter(function(t) {- return Object.getOwnPropertyDescriptor(e, t).enumerable;- })), n.push.apply(n, r);- }- return n;-}-function EJ(e) {- for (var t = 1; t < arguments.length; t++) {- var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? TJ(Object(n), !0).forEach(function(t) {- $Fe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TJ(Object(n)).forEach(function(t) {- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));- });- }- return e;-}-function $Fe(e, t, n) {- return (t = eIe(t)) in e ? Object.defineProperty(e, t, {- value: n,- enumerable: !0,- configurable: !0,- writable: !0- }) : e[t] = n, e;-}-function eIe(e) {- var t = tIe(e, "string");+function nIe(e) {+ var t = rIe(e, "string");return typeof t == "symbol" ? t : t + "";}-function tIe(e, t) {+function rIe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -67910,40 +67930,40 @@ function tIe(e, t) {}return (t === "string" ? String : Number)(e);}-var DJ = {- curveBasisClosed: cje,- curveBasisOpen: lje,- curveBasis: sje,- curveBumpX: qAe,- curveBumpY: JAe,- curveLinearClosed: uje,- curveLinear: $H,- curveMonotoneX: dje,- curveMonotoneY: fje,- curveNatural: pje,- curveStep: mje,- curveStepAfter: gje,- curveStepBefore: hje-}, OJ = (e) => QK(e.x) && QK(e.y), kJ = (e) => e.base != null && OJ(e.base) && OJ(e), AJ = (e) => e.x, jJ = (e) => e.y, nIe = (e, t) => {+var EJ = {+ curveBasisClosed: uje,+ curveBasisOpen: dje,+ curveBasis: lje,+ curveBumpX: YAe,+ curveBumpY: XAe,+ curveLinearClosed: fje,+ curveLinear: QH,+ curveMonotoneX: pje,+ curveMonotoneY: mje,+ curveNatural: hje,+ curveStep: gje,+ curveStepAfter: vje,+ curveStepBefore: _je+}, DJ = (e) => ZK(e.x) && ZK(e.y), OJ = (e) => e.base != null && DJ(e.base) && DJ(e), kJ = (e) => e.x, AJ = (e) => e.y, iIe = (e, t) => {if (typeof e == "function") return e;- var n = `curve${AH(e)}`;+ var n = `curve${kH(e)}`;if ((n === "curveMonotone" || n === "curveBump") && t) {- var r = DJ[`${n}${t === "vertical" ? "Y" : "X"}`];+ var r = EJ[`${n}${t === "vertical" ? "Y" : "X"}`];if (r) return r;}- return DJ[n] || $H;-}, MJ = {+ return EJ[n] || QH;+}, jJ = {connectNulls: !1,type: "linear"-}, rIe = (e) => {- var t = e.type, n = t === void 0 ? MJ.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? MJ.connectNulls : s, l = nIe(n, o), u = c ? i.filter(OJ) : i;+}, aIe = (e) => {+ var t = e.type, n = t === void 0 ? jJ.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? jJ.connectNulls : s, l = iIe(n, o), u = c ? i.filter(DJ) : i;if (Array.isArray(a)) {- var d, f = i.map((e, t) => EJ(EJ({}, e), {}, { base: a[t] }));- return d = o === "vertical" ? rU().y(jJ).x1(AJ).x0((e) => e.base.x) : rU().x(AJ).y1(jJ).y0((e) => e.base.y), d.defined(kJ).curve(l)(c ? f.filter(kJ) : f);+ var d, f = i.map((e, t) => TJ(TJ({}, e), {}, { base: a[t] }));+ return d = o === "vertical" ? nU().y(AJ).x1(kJ).x0((e) => e.base.x) : nU().x(kJ).y1(AJ).y0((e) => e.base.y), d.defined(OJ).curve(l)(c ? f.filter(OJ) : f);}- return (o === "vertical" && q(a) ? rU().y(jJ).x1(AJ).x0(a) : q(a) ? rU().x(AJ).y1(jJ).y0(a) : nU().x(AJ).y(jJ)).defined(OJ).curve(l)(u);-}, NJ = (e) => {- var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = Gq();+ return (o === "vertical" && q(a) ? nU().y(AJ).x1(kJ).x0(a) : q(a) ? nU().x(kJ).y1(AJ).y0(a) : tU().x(kJ).y(AJ)).defined(DJ).curve(l)(u);+}, MJ = (e) => {+ var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = Wq();if ((!n || !n.length) && !r) return null;var o = {type: e.type,@@ -67951,13 +67971,13 @@ var DJ = {baseLine: e.baseLine,layout: e.layout || a,connectNulls: e.connectNulls- }, s = n && n.length ? rIe(o) : r;- return /*#__PURE__*/ b.createElement("path", wJ({}, iH(e), IU(e), {+ }, s = n && n.length ? aIe(o) : r;+ return /*#__PURE__*/ b.createElement("path", CJ({}, rH(e), FU(e), {className: dv("recharts-curve", t),d: s === null ? void 0 : s,ref: i}));-}, iIe = [+}, oIe = ["x","y","top",@@ -67966,16 +67986,16 @@ var DJ = {"height","className"];-function PJ() {- return PJ = Object.assign ? Object.assign.bind() : function(e) {+function NJ() {+ return NJ = 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;- }, PJ.apply(null, arguments);+ }, NJ.apply(null, arguments);}-function FJ(e, t) {+function PJ(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -67985,30 +68005,30 @@ function FJ(e, t) {}return n;}-function aIe(e) {+function sIe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? FJ(Object(n), !0).forEach(function(t) {- oIe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FJ(Object(n)).forEach(function(t) {+ t % 2 ? PJ(Object(n), !0).forEach(function(t) {+ cIe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PJ(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function oIe(e, t, n) {- return (t = sIe(t)) in e ? Object.defineProperty(e, t, {+function cIe(e, t, n) {+ return (t = lIe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function sIe(e) {- var t = cIe(e, "string");+function lIe(e) {+ var t = uIe(e, "string");return typeof t == "symbol" ? t : t + "";}-function cIe(e, t) {+function uIe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -68018,16 +68038,16 @@ function cIe(e, t) {}return (t === "string" ? String : Number)(e);}-function lIe(e, t) {+function dIe(e, t) {if (e == null) return {};- var n, r, i = uIe(e, t);+ var n, r, i = fIe(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 uIe(e, t) {+function fIe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -68036,8 +68056,8 @@ function uIe(e, t) {}return n;}-var dIe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, fIe = (e) => {- var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = lIe(e, iIe), h = aIe({+var pIe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, mIe = (e) => {+ var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = dIe(e, oIe), h = sIe({x: n,y: i,top: o,@@ -68045,14 +68065,14 @@ var dIe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, fIe = (e) => {width: u,height: f}, m);- return !q(n) || !q(i) || !q(u) || !q(f) || !q(o) || !q(c) ? null : /*#__PURE__*/ b.createElement("path", PJ({}, oH(h), {+ return !q(n) || !q(i) || !q(u) || !q(f) || !q(o) || !q(c) ? null : /*#__PURE__*/ b.createElement("path", NJ({}, aH(h), {className: dv("recharts-cross", p),- d: dIe(n, i, u, f, o, c)+ d: pIe(n, i, u, f, o, c)}));};//#endregion//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js-function pIe(e, t, n, r) {+function hIe(e, t, n, r) {var i = r / 2;return {stroke: "none",@@ -68063,12 +68083,12 @@ function pIe(e, t, n, r) {height: e === "horizontal" ? n.height - 1 : r};}-var IJ = (e, t) => [+var FJ = (e, t) => [0,3 * e,3 * t - 6 * e,3 * e - 3 * t + 1-], LJ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), RJ = (e, t) => (n) => LJ(IJ(e, t), n), mIe = (e, t) => (n) => LJ([...IJ(e, t).map((e, t) => e * t).slice(1), 0], n), hIe = (e) => {+], IJ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), LJ = (e, t) => (n) => IJ(FJ(e, t), n), gIe = (e, t) => (n) => IJ([...FJ(e, t).map((e, t) => e * t).slice(1), 0], n), _Ie = (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(",");@@ -68080,7 +68100,7 @@ var IJ = (e, t) => [i[2],i[3]];-}, gIe = function() {+}, vIe = function() {var e = [...arguments];if (e.length === 1) switch (e[0]) {case "linear": return [@@ -68114,7 +68134,7 @@ var IJ = (e, t) => [1];default:- var t = hIe(e[0]);+ var t = _Ie(e[0]);if (t) return t;}return e.length === 4 ? e : [@@ -68123,8 +68143,8 @@ var IJ = (e, t) => [1,1];-}, _Ie = (e, t, n, r) => {- var i = RJ(e, n), a = RJ(t, r), o = mIe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {+}, yIe = (e, t, n, r) => {+ var i = LJ(e, n), a = LJ(t, r), o = gIe(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);@@ -68133,9 +68153,9 @@ var IJ = (e, t) => [return a(n);};return c.isStepper = !1, c;-}, zJ = function() {- return _Ie(...gIe(...arguments));-}, vIe = function() {+}, RJ = function() {+ return yIe(...vIe(...arguments));+}, bIe = function() {for (var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.stiff, n = t === void 0 ? 100 : t, r = e.damping, i = r === void 0 ? 8 : r, a = e.dt, o = a === void 0 ? 16.67 : a, s = 1, c = [0], l = 0, u = 0, d = 1e4, f = 0; f < d;) {var p = -(l - s) * n, m = u * i;if (u += (p - m) * o / 1e3, l += u * o / 1e3, c.push(l), Math.abs(l - s) < 1e-4 && Math.abs(u) < 1e-4) break;@@ -68149,18 +68169,18 @@ var IJ = (e, t) => [var t = e * h, n = Math.floor(t), r = t - n;return (c[n] ?? 0) + ((c[n + 1] ?? 0) - (c[n] ?? 0)) * r;};-}, yIe = (e) => {+}, xIe = (e) => {if (typeof e == "string") switch (e) {case "ease":case "ease-in-out":case "ease-out":case "ease-in":- case "linear": return zJ(e);- case "spring": return vIe();- default: if (e.split("(")[0] === "cubic-bezier") return zJ(e);+ case "linear": return RJ(e);+ case "spring": return bIe();+ default: if (e.split("(")[0] === "cubic-bezier") return RJ(e);}return typeof e == "function" ? e : null;-}, BJ = /*#__PURE__*/ (0, b.createContext)((e, t, n) => {+}, zJ = /*#__PURE__*/ (0, b.createContext)((e, t, n) => {var r, i = (a) => {var o = t.tick(a);if (t.getState() === "active") {@@ -68173,26 +68193,26 @@ var IJ = (e, t) => [};return r = e.setTimeout(i, 0), () => r?.();});-BJ.Provider;-function bIe(e) {- var t = (0, b.useContext)(BJ);+zJ.Provider;+function SIe(e) {+ var t = (0, b.useContext)(zJ);return (0, b.useMemo)(() => e ?? t, [e, t]);}//#endregion//#region node_modules/recharts/es6/animation/AnimationHandle.js-function xIe(e, t, n) {- return (t = SIe(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 SIe(e) {- var t = CIe(e, "string");+function wIe(e) {+ var t = TIe(e, "string");return typeof t == "symbol" ? t : t + "";}-function CIe(e, t) {+function TIe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -68202,11 +68222,11 @@ function CIe(e, t) {}return (t === "string" ? String : Number)(e);}-var VJ = "init", HJ = "pending", UJ = "active", wIe = "completed";-function WJ(e) {+var BJ = "init", VJ = "pending", HJ = "active", EIe = "completed";+function UJ(e) {return Math.max(0, e);}-var TIe = class {+var DIe = class {getAnimationStartedTime() {return this.animationStartedTime;}@@ -68215,7 +68235,7 @@ var TIe = class {}constructor(e) {var t;- xIe(this, "state", VJ), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = WJ(e.animationDuration), this.animationBegin = WJ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);+ CIe(this, "state", BJ), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = UJ(e.animationDuration), this.animationBegin = UJ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);}getState() {return this.state;@@ -68227,13 +68247,13 @@ var TIe = class {return this.animationDuration;}tick(e) {- if (this.getState() === VJ) return this.state = HJ, this.beginStartedTime = e, this.animationBegin;- if (this.getState() === HJ) {+ if (this.getState() === BJ) return this.state = VJ, this.beginStartedTime = e, this.animationBegin;+ if (this.getState() === VJ) {if (this.beginStartedTime == null) throw Error();var t = e - this.beginStartedTime;- return t >= this.animationBegin ? (this.state = UJ, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : WJ(this.animationBegin - t);+ return t >= this.animationBegin ? (this.state = HJ, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : UJ(this.animationBegin - t);}- if (this.getState() === UJ) {+ if (this.getState() === HJ) {if (this.animationStartedTime == null) throw Error();var n = e - this.animationStartedTime;return this.setProgress(n / this.animationDuration), this.nextAnimationUpdate(n);@@ -68251,7 +68271,7 @@ var TIe = class {var e;(e = this.onAnimationEnd) == null || e.call(this);}- this.state = wIe;+ this.state = EIe;}getFrom() {return this.from;@@ -68265,14 +68285,14 @@ var TIe = class {getAnimationBegin() {return this.animationBegin;}-}, EIe = class extends TIe {+}, OIe = class extends DIe {nextAnimationUpdate() {return 0;}getInterpolated() {- return this.easing(DH(this.getFrom(), this.getTo(), this.getProgress()));+ return this.easing(EH(this.getFrom(), this.getTo(), this.getProgress()));}-}, DIe = class {+}, kIe = class {setTimeout(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {a - n >= t ? e(a) : r = requestAnimationFrame(i);@@ -68284,25 +68304,25 @@ var TIe = class {};//#endregion//#region node_modules/recharts/es6/animation/JavascriptAnimate.js-function OIe(e, t) {- return MIe(e) || jIe(e, t) || AIe(e, t) || kIe();+function AIe(e, t) {+ return PIe(e) || NIe(e, t) || MIe(e, t) || jIe();}-function kIe() {+function jIe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function AIe(e, t) {+function MIe(e, t) {if (e) {- if (typeof e == "string") return GJ(e, t);+ if (typeof e == "string") return WJ(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? GJ(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? WJ(e, t) : void 0;}}-function GJ(e, t) {+function WJ(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function jIe(e, t) {+function NIe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -68323,10 +68343,10 @@ function jIe(e, t) {return s;}}-function MIe(e) {+function PIe(e) {if (Array.isArray(e)) return e;}-var NIe = {+var FIe = {begin: 0,duration: 1e3,easing: "ease",@@ -68334,22 +68354,22 @@ var NIe = {canBegin: !0,onAnimationEnd: () => {},onAnimationStart: () => {}-}, KJ = 0, qJ = 1;-function JJ(e) {- var t = zU(e, NIe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = yJ(), f = r === "auto" ? !_J.isSsr && !d : r, p = bIe(t.animationController), m = OIe((0, b.useState)(f ? KJ : qJ), 2), h = m[0], g = m[1];+}, GJ = 0, KJ = 1;+function qJ(e) {+ var t = RU(e, FIe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = vJ(), f = r === "auto" ? !gJ.isSsr && !d : r, p = SIe(t.animationController), m = AIe((0, b.useState)(f ? GJ : KJ), 2), h = m[0], g = m[1];return (0, b.useEffect)(() => {- f || g(qJ);+ f || g(KJ);}, [f]), (0, b.useEffect)(() => {- var e = yIe(o);- return !f || !i || e == null ? MH : p(new DIe(), new EIe({+ var e = xIe(o);+ return !f || !i || e == null ? jH : p(new kIe(), new OIe({animationId: n,easing: e,animationDuration: a,animationBegin: s,onAnimationStart: l,onAnimationEnd: c,- from: KJ,- to: qJ+ from: GJ,+ to: KJ}), g);}, [p,@@ -68365,14 +68385,14 @@ function JJ(e) {}//#endregion//#region node_modules/recharts/es6/util/useAnimationId.js-function YJ(e) {- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, b.useRef)(wH(t)), r = (0, b.useRef)(e);- return r.current !== e && (n.current = wH(t), r.current = e), n.current;+function JJ(e) {+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, b.useRef)(CH(t)), r = (0, b.useRef)(e);+ return r.current !== e && (n.current = CH(t), r.current = e), n.current;}//#endregion//#region node_modules/recharts/es6/animation/util.js-var PIe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), FIe = (e, t, n) => e.map((e) => `${PIe(e)} ${t}ms ${n}`).join(","), IIe = ["radius"], LIe = ["radius"], RIe, zIe, BIe, VIe, HIe, UIe, WIe, GIe, KIe, qIe;-function XJ(e, t) {+var IIe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), LIe = (e, t, n) => e.map((e) => `${IIe(e)} ${t}ms ${n}`).join(","), RIe = ["radius"], zIe = ["radius"], BIe, VIe, HIe, UIe, WIe, GIe, KIe, qIe, JIe, YIe;+function YJ(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -68382,30 +68402,30 @@ function XJ(e, t) {}return n;}-function ZJ(e) {+function XJ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? XJ(Object(n), !0).forEach(function(t) {- JIe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XJ(Object(n)).forEach(function(t) {+ t % 2 ? YJ(Object(n), !0).forEach(function(t) {+ XIe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YJ(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function JIe(e, t, n) {- return (t = YIe(t)) in e ? Object.defineProperty(e, t, {+function XIe(e, t, n) {+ return (t = ZIe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function YIe(e) {- var t = XIe(e, "string");+function ZIe(e) {+ var t = QIe(e, "string");return typeof t == "symbol" ? t : t + "";}-function XIe(e, t) {+function QIe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -68415,25 +68435,25 @@ function XIe(e, t) {}return (t === "string" ? String : Number)(e);}-function QJ() {- return QJ = Object.assign ? Object.assign.bind() : function(e) {+function ZJ() {+ return ZJ = 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;- }, QJ.apply(null, arguments);+ }, ZJ.apply(null, arguments);}-function $J(e, t) {+function QJ(e, t) {if (e == null) return {};- var n, r, i = ZIe(e, t);+ var n, r, i = $Ie(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 ZIe(e, t) {+function $Ie(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -68442,25 +68462,25 @@ function ZIe(e, t) {}return n;}-function QIe(e, t) {- return nLe(e) || tLe(e, t) || eLe(e, t) || $Ie();+function eLe(e, t) {+ return iLe(e) || rLe(e, t) || nLe(e, t) || tLe();}-function $Ie() {+function tLe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function eLe(e, t) {+function nLe(e, t) {if (e) {- if (typeof e == "string") return eY(e, t);+ if (typeof e == "string") return $J(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? eY(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? $J(e, t) : void 0;}}-function eY(e, t) {+function $J(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function tLe(e, t) {+function rLe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -68481,14 +68501,14 @@ function tLe(e, t) {return s;}}-function nLe(e) {+function iLe(e) {if (Array.isArray(e)) return e;}-function tY(e, t) {+function eY(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var nY = (e, t, n, r, i) => {- var a = vH(n), o = vH(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 tY = (e, t, n, r, i) => {+ var a = _H(n), o = _H(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,@@ -68499,44 +68519,44 @@ var nY = (e, t, n, r, i) => {var h = i[p] ?? 0;f[p] = h > s ? s : h;}- d = yH(RIe ||= tY([+ d = vH(BIe ||= eY(["M",",",""- ]), e, t + c * f[0]), f[0] > 0 && (d += yH(zIe ||= tY([+ ]), e, t + c * f[0]), f[0] > 0 && (d += vH(VIe ||= eY(["A ",",",",0,0,",",",",",""- ]), f[0], f[0], u, e + l * f[0], t)), d += yH(BIe ||= tY([+ ]), f[0], f[0], u, e + l * f[0], t)), d += vH(HIe ||= eY(["L ",",",""- ]), e + n - l * f[1], t), f[1] > 0 && (d += yH(VIe ||= tY([+ ]), e + n - l * f[1], t), f[1] > 0 && (d += vH(UIe ||= eY(["A ",",",",0,0,",",\n ",",",""- ]), f[1], f[1], u, e + n, t + c * f[1])), d += yH(HIe ||= tY([+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += vH(WIe ||= eY(["L ",",",""- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += yH(UIe ||= tY([+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += vH(GIe ||= eY(["A ",",",",0,0,",",\n ",",",""- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += yH(WIe ||= tY([+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += vH(KIe ||= eY(["L ",",",""- ]), e + l * f[3], t + r), f[3] > 0 && (d += yH(GIe ||= tY([+ ]), e + l * f[3], t + r), f[3] > 0 && (d += vH(qIe ||= eY(["A ",",",",0,0,",@@ -68546,8 +68566,8 @@ var nY = (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 = yH(KIe ||= tY(/* @__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 = yH(qIe ||= tY([+ d = vH(JIe ||= eY(/* @__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 = vH(YIe ||= eY(["M ",","," h ",@@ -68556,7 +68576,7 @@ var nY = (e, t, n, r, i) => {" Z"]), e, t, n, r, -n);return d;-}, rY = {+}, nY = {x: 0,y: 0,width: 0,@@ -68567,15 +68587,15 @@ var nY = (e, t, n, r, i) => {animationBegin: 0,animationDuration: 1500,animationEasing: "ease"-}, iY = (e) => {- var t = zU(e, rY), n = (0, b.useRef)(null), r = QIe((0, b.useState)(-1), 2), i = r[0], a = r[1];+}, rY = (e) => {+ var t = RU(e, nY), n = (0, b.useRef)(null), r = eLe((0, b.useState)(-1), 2), i = r[0], a = r[1];(0, b.useEffect)(() => {if (n.current && n.current.getTotalLength) try {var e = n.current.getTotalLength();e && a(e);} catch {}}, []);- var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, b.useRef)(c), v = (0, b.useRef)(l), y = (0, b.useRef)(o), x = (0, b.useRef)(s), S = YJ((0, b.useMemo)(() => ({+ var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, b.useRef)(c), v = (0, b.useRef)(l), y = (0, b.useRef)(o), x = (0, b.useRef)(s), S = JJ((0, b.useMemo)(() => ({x: o,y: s,width: c,@@ -68591,21 +68611,21 @@ var nY = (e, t, n, r, i) => {if (o !== +o || s !== +s || c !== +c || l !== +l || c === 0 || l === 0) return null;var C = dv("recharts-rectangle", d);if (!g) {- var w = oH(t);+ var w = aH(t);w.radius;- var T = $J(w, IIe);- return /*#__PURE__*/ b.createElement("path", QJ({}, T, {- x: vH(o),- y: vH(s),- width: vH(c),- height: vH(l),+ var T = QJ(w, RIe);+ return /*#__PURE__*/ b.createElement("path", ZJ({}, T, {+ x: _H(o),+ y: _H(s),+ width: _H(c),+ height: _H(l),radius: typeof u == "number" ? u : void 0,className: C,- d: nY(o, s, c, l, u)+ d: tY(o, s, c, l, u)}));}- var E = _.current, D = v.current, O = y.current, k = x.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = FIe(["strokeDasharray"], p, typeof f == "string" ? f : rY.animationEasing);- return /*#__PURE__*/ b.createElement(JJ, {+ var E = _.current, D = v.current, O = y.current, k = x.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = LIe(["strokeDasharray"], p, typeof f == "string" ? f : nY.animationEasing);+ return /*#__PURE__*/ b.createElement(qJ, {animationId: S,key: S,canBegin: i > 0,@@ -68614,26 +68634,26 @@ var nY = (e, t, n, r, i) => {isActive: g,begin: m}, (e) => {- var r = DH(E, c, e), i = DH(D, l, e), a = DH(O, o, e), d = DH(k, s, e);+ var r = EH(E, c, e), i = EH(D, l, e), a = EH(O, o, e), d = EH(k, s, e);n.current && (_.current = r, v.current = i, y.current = a, x.current = d);var f = h ? e > 0 ? {transition: M,strokeDasharray: j- } : { strokeDasharray: A } : { strokeDasharray: j }, p = oH(t);+ } : { strokeDasharray: A } : { strokeDasharray: j }, p = aH(t);p.radius;- var m = $J(p, LIe);- return /*#__PURE__*/ b.createElement("path", QJ({}, m, {+ var m = QJ(p, zIe);+ return /*#__PURE__*/ b.createElement("path", ZJ({}, m, {radius: typeof u == "number" ? u : void 0,className: C,- d: nY(a, d, r, i, u),+ d: tY(a, d, r, i, u),ref: n,- style: ZJ(ZJ({}, f), t.style)+ style: XJ(XJ({}, f), t.style)}));});};//#endregion//#region node_modules/recharts/es6/util/PolarUtils.js-function aY(e, t) {+function iY(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -68643,30 +68663,30 @@ function aY(e, t) {}return n;}-function oY(e) {+function aY(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? aY(Object(n), !0).forEach(function(t) {- rLe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aY(Object(n)).forEach(function(t) {+ t % 2 ? iY(Object(n), !0).forEach(function(t) {+ aLe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iY(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function rLe(e, t, n) {- return (t = iLe(t)) in e ? Object.defineProperty(e, t, {+function aLe(e, t, n) {+ return (t = oLe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function iLe(e) {- var t = aLe(e, "string");+function oLe(e) {+ var t = sLe(e, "string");return typeof t == "symbol" ? t : t + "";}-function aLe(e, t) {+function sLe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -68676,10 +68696,10 @@ function aLe(e, t) {}return (t === "string" ? String : Number)(e);}-var sY = Math.PI / 180, cY = (e) => e * Math.PI / 180, oLe = (e) => e * 180 / Math.PI, lY = (e, t, n, r) => ({- x: e + Math.cos(-sY * r) * n,- y: t + Math.sin(-sY * r) * n-}), sLe = function(e, t) {+var oY = Math.PI / 180, sY = (e) => e * Math.PI / 180, cLe = (e) => e * 180 / Math.PI, cY = (e, t, n, r) => ({+ x: e + Math.cos(-oY * r) * n,+ y: t + Math.sin(-oY * r) * n+}), lLe = function(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {top: 0,right: 0,@@ -68690,11 +68710,11 @@ var sY = Math.PI / 180, cY = (e) => e * Math.PI / 180, oLe = (e) => e * 180 / MabrushBottom: 0};return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;-}, cLe = (e, t) => {+}, uLe = (e, t) => {var n = e.x, r = e.y, i = t.x, a = t.y;return Math.sqrt((n - i) ** 2 + (r - a) ** 2);-}, lLe = (e, t) => {- var n = e.x, r = e.y, i = t.cx, a = t.cy, o = cLe({+}, dLe = (e, t) => {+ var n = e.x, r = e.y, i = t.cx, a = t.cy, o = uLe({x: n,y: r}, {@@ -68708,25 +68728,25 @@ var sY = Math.PI / 180, cY = (e) => e * Math.PI / 180, oLe = (e) => e * 180 / Mavar s = (n - i) / o, c = Math.acos(s);return r > a && (c = 2 * Math.PI - c), {radius: o,- angle: oLe(c),+ angle: cLe(c),angleInRadian: c};-}, uLe = (e) => {+}, fLe = (e) => {var t = e.startAngle, n = e.endAngle, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);return {startAngle: t - a * 360,endAngle: n - a * 360};-}, dLe = (e, t) => {+}, pLe = (e, t) => {var n = t.startAngle, r = t.endAngle, i = Math.floor(n / 360), a = Math.floor(r / 360);return e + Math.min(i, a) * 360;-}, fLe = (e, t) => {- var n = e.relativeX, r = e.relativeY, i = lLe({+}, mLe = (e, t) => {+ var n = e.relativeX, r = e.relativeY, i = dLe({x: n,y: r}, t), a = i.radius, o = i.angle, s = t.innerRadius, c = t.outerRadius;if (a < s || a > c || a === 0) return null;- var l = uLe(t), u = l.startAngle, d = l.endAngle, f = o, p;+ var l = fLe(t), u = l.startAngle, d = l.endAngle, f = o, p;if (u <= d) {for (; f > d;) f -= 360;for (; f < u;) f += 360;@@ -68736,17 +68756,17 @@ var sY = Math.PI / 180, cY = (e) => e * Math.PI / 180, oLe = (e) => e * 180 / Mafor (; f < d;) f += 360;p = f >= d && f <= u;}- return p ? oY(oY({}, t), {}, {+ return p ? aY(aY({}, t), {}, {radius: a,- angle: dLe(f, t)+ angle: pLe(f, t)}) : null;};//#endregion//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js-function uY(e) {+function lY(e) {var t = e.cx, n = e.cy, r = e.radius, i = e.startAngle, a = e.endAngle;return {- points: [lY(t, n, r, i), lY(t, n, r, a)],+ points: [cY(t, n, r, i), cY(t, n, r, a)],cx: t,cy: n,radius: r,@@ -68756,29 +68776,29 @@ function uY(e) {}//#endregion//#region node_modules/recharts/es6/shape/Sector.js-var pLe, mLe, hLe, gLe, _Le, vLe, yLe;-function dY() {- return dY = Object.assign ? Object.assign.bind() : function(e) {+var hLe, gLe, _Le, vLe, yLe, bLe, xLe;+function uY() {+ return uY = 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;- }, dY.apply(null, arguments);+ }, uY.apply(null, arguments);}-function fY(e, t) {+function dY(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) => {- var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / sY, d = c ? i : i + a * u, f = lY(t, n, l, d), p = lY(t, n, r, d), m = c ? i - a * u : i;+var SLe = (e, t) => yH(t - e) * Math.min(Math.abs(t - e), 359.999), fY = (e) => {+ var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / oY, d = c ? i : i + a * u, f = cY(t, n, l, d), p = cY(t, n, r, d), m = c ? i - a * u : i;return {center: f,circleTangency: p,- lineTangency: lY(t, n, l * Math.cos(u * sY), m),+ lineTangency: cY(t, n, l * Math.cos(u * oY), m),theta: u};-}, mY = (e) => {- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = bLe(a, o), c = a + s, l = lY(t, n, i, a), u = lY(t, n, i, c), d = yH(pLe ||= fY([+}, pY = (e) => {+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = SLe(a, o), c = a + s, l = cY(t, n, i, a), u = cY(t, n, i, c), d = vH(hLe ||= dY(["M ",",","\n A ",@@ -68790,8 +68810,8 @@ var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) =>"\n "]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);if (r > 0) {- var f = lY(t, n, r, a), p = lY(t, n, r, c);- d += yH(mLe ||= fY([+ var f = cY(t, n, r, a), p = cY(t, n, r, c);+ d += vH(gLe ||= dY(["L ",",","\n A ",@@ -68802,14 +68822,14 @@ var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) =>","," Z"]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);- } else d += yH(hLe ||= fY([+ } else d += vH(_Le ||= dY(["L ",","," Z"]), t, n);return d;-}, xLe = (e) => {- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = bH(l - c), d = pY({+}, CLe = (e) => {+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = yH(l - c), d = fY({cx: t,cy: n,radius: i,@@ -68817,7 +68837,7 @@ var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) =>sign: u,cornerRadius: a,cornerIsExternal: s- }), f = d.circleTangency, p = d.lineTangency, m = d.theta, h = pY({+ }), f = d.circleTangency, p = d.lineTangency, m = d.theta, h = fY({cx: t,cy: n,radius: i,@@ -68826,7 +68846,7 @@ var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) =>cornerRadius: a,cornerIsExternal: s}), g = h.circleTangency, _ = h.lineTangency, v = h.theta, y = s ? Math.abs(c - l) : Math.abs(c - l) - m - v;- if (y < 0) return o ? yH(gLe ||= fY([+ if (y < 0) return o ? vH(vLe ||= dY(["M ",",","\n a",@@ -68836,7 +68856,7 @@ var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) =>",",",0,0,1,",",0\n "- ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : mY({+ ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : pY({cx: t,cy: n,innerRadius: r,@@ -68844,7 +68864,7 @@ var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) =>startAngle: c,endAngle: l});- var b = yH(_Le ||= fY([+ var b = vH(yLe ||= dY(["M ",",","\n A",@@ -68866,7 +68886,7 @@ var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) =>"\n "]), p.x, p.y, a, a, +(u < 0), f.x, f.y, i, i, +(y > 180), +(u < 0), g.x, g.y, a, a, +(u < 0), _.x, _.y);if (r > 0) {- var x = pY({+ var x = fY({cx: t,cy: n,radius: r,@@ -68875,7 +68895,7 @@ var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) =>isExternal: !0,cornerRadius: a,cornerIsExternal: s- }), S = x.circleTangency, C = x.lineTangency, w = x.theta, T = pY({+ }), S = x.circleTangency, C = x.lineTangency, w = x.theta, T = fY({cx: t,cy: n,radius: r,@@ -68886,7 +68906,7 @@ var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) =>cornerIsExternal: s}), E = T.circleTangency, D = T.lineTangency, O = T.theta, k = s ? Math.abs(c - l) : Math.abs(c - l) - w - O;if (k < 0 && a === 0) return `${b}L${t},${n}Z`;- b += yH(vLe ||= fY([+ b += vH(bLe ||= dY(["L",",","\n A",@@ -68907,13 +68927,13 @@ var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) =>",","Z"]), D.x, D.y, a, a, +(u < 0), E.x, E.y, r, r, +(k > 180), +(u > 0), S.x, S.y, a, a, +(u < 0), C.x, C.y);- } else b += yH(yLe ||= fY([+ } else b += vH(xLe ||= dY(["L",",","Z"]), t, n);return b;-}, SLe = {+}, wLe = {cx: 0,cy: 0,innerRadius: 0,@@ -68923,10 +68943,10 @@ var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) =>cornerRadius: 0,forceCornerRadius: !1,cornerIsExternal: !1-}, hY = (e) => {- var t = zU(e, SLe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;+}, mY = (e) => {+ var t = RU(e, wLe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;if (a < i || l === u) return null;- var f = dv("recharts-sector", d), p = a - i, m = TH(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? xLe({+ var f = dv("recharts-sector", d), p = a - i, m = wH(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? CLe({cx: n,cy: r,innerRadius: i,@@ -68936,7 +68956,7 @@ var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) =>cornerIsExternal: c,startAngle: l,endAngle: u- }) : mY({+ }) : pY({cx: n,cy: r,innerRadius: i,@@ -68944,14 +68964,14 @@ var bLe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 359.999), pY = (e) =>startAngle: l,endAngle: u});- return /*#__PURE__*/ b.createElement("path", dY({}, oH(t), {+ return /*#__PURE__*/ b.createElement("path", uY({}, aH(t), {className: f,d: h}));};//#endregion//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js-function CLe(e, t, n) {+function TLe(e, t, n) {if (e === "horizontal") return [{x: t.x,y: n.top@@ -68966,9 +68986,9 @@ function CLe(e, t, n) {x: n.left + n.width,y: t.y}];- if (FU(t)) {+ if (PU(t)) {if (e === "centric") {- var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = lY(r, i, a, s), l = lY(r, i, o, s);+ var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = cY(r, i, a, s), l = cY(r, i, o, s);return [{x: c.x,y: c.y@@ -68977,30 +68997,30 @@ function CLe(e, t, n) {y: l.y}];}- return uY(t);+ return lY(t);}}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs-function wLe(e) {- return mH(e) ? NaN : Number(e);+function ELe(e) {+ return pH(e) ? NaN : Number(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs-function gY(e) {- return e ? (e = wLe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;+function hY(e) {+ return e ? (e = ELe(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 _Y(e, t, n) {- n && typeof n != "number" && zW(e, t, n) && (t = n = void 0), e = gY(e), t === void 0 ? (t = e, e = 0) : t = gY(t), n = n === void 0 ? e < t ? 1 : -1 : gY(n);+function gY(e, t, n) {+ n && typeof n != "number" && RW(e, t, n) && (t = n = void 0), e = hY(e), t === void 0 ? (t = e, e = 0) : t = hY(t), n = n === void 0 ? e < t ? 1 : -1 : hY(n);let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);for (let t = 0; t < r; t++) i[t] = e, e += n;return i;}//#endregion//#region node_modules/recharts/es6/state/selectors/dataSelectors.js-var vY = (e) => e.chartData, yY = Y([vY], (e) => {+var _Y = (e) => e.chartData, vY = Y([_Y], (e) => {var t = e.chartData == null ? 0 : e.chartData.length - 1;return {chartData: e.chartData,@@ -69008,37 +69028,37 @@ var vY = (e) => e.chartData, yY = Y([vY], (e) => {dataEndIndex: t,dataStartIndex: 0};-}), bY = (e, t, n, r) => r ? yY(e) : vY(e), xY = (e, t, n) => n ? yY(e) : vY(e), TLe = Y([bY], (e) => {+}), yY = (e, t, n, r) => r ? vY(e) : _Y(e), bY = (e, t, n) => n ? vY(e) : _Y(e), DLe = Y([yY], (e) => {var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;return t == null ? [] : t.slice(n, r + 1);-}), ELe = Y([yY], (e) => {+}), OLe = Y([vY], (e) => {var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;return t == null ? [] : t.slice(n, r + 1);-}), DLe = Y([vY], (e) => {+}), kLe = Y([_Y], (e) => {var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;return t == null ? [] : t.slice(n, r + 1);});//#endregion//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js-function SY(e, t) {- return jLe(e) || ALe(e, t) || kLe(e, t) || OLe();+function xY(e, t) {+ return NLe(e) || MLe(e, t) || jLe(e, t) || ALe();}-function OLe() {+function ALe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function kLe(e, t) {+function jLe(e, t) {if (e) {- if (typeof e == "string") return CY(e, t);+ if (typeof e == "string") return SY(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? CY(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? SY(e, t) : void 0;}}-function CY(e, t) {+function SY(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function ALe(e, t) {+function MLe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -69059,45 +69079,45 @@ function ALe(e, t) {return s;}}-function jLe(e) {+function NLe(e) {if (Array.isArray(e)) return e;}-function wY(e) {+function CY(e) {if (Array.isArray(e) && e.length === 2) {- var t = SY(e, 2), n = t[0], r = t[1];- if (QK(n) && QK(r)) return !0;+ var t = xY(e, 2), n = t[0], r = t[1];+ if (ZK(n) && ZK(r)) return !0;}return !1;}-function TY(e, t, n) {+function wY(e, t, n) {return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];}-function EY(e, t) {+function TY(e, t) {if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {- var n = SY(e, 2), r = n[0], i = n[1], a, o;- if (QK(r)) a = r;+ var n = xY(e, 2), r = n[0], i = n[1], a, o;+ if (ZK(r)) a = r;else if (typeof r == "function") return;- if (QK(i)) o = i;+ if (ZK(i)) o = i;else if (typeof i == "function") return;var s = [a, o];- if (wY(s)) return s;+ if (CY(s)) return s;}}-function MLe(e, t, n) {+function PLe(e, t, n) {if (n || t != null) {if (typeof e == "function" && t != null) try {var r = e(t, n);- if (wY(r)) return TY(r, t, n);+ if (CY(r)) return wY(r, t, n);} catch {}if (Array.isArray(e) && e.length === 2) {- var i = SY(e, 2), a = i[0], o = i[1], s, c;+ var i = xY(e, 2), a = i[0], o = i[1], s, c;if (a === "auto") t != null && (s = Math.min(...t));else if (q(a)) s = a;else if (typeof a == "function") try {t != null && (s = a(t?.[0]));} catch {}- else if (typeof a == "string" && dq.test(a)) {- var l = dq.exec(a);+ else if (typeof a == "string" && uq.test(a)) {+ var l = uq.exec(a);if (l == null || l[1] == null || t == null) s = void 0;else {var u = +l[1];@@ -69109,8 +69129,8 @@ function MLe(e, t, n) {else if (typeof o == "function") try {t != null && (c = o(t?.[1]));} catch {}- else if (typeof o == "string" && fq.test(o)) {- var d = fq.exec(o);+ else if (typeof o == "string" && dq.test(o)) {+ var d = dq.exec(o);if (d == null || d[1] == null || t == null) c = void 0;else {var f = +d[1];@@ -69118,13 +69138,13 @@ function MLe(e, t, n) {}} else c = t?.[1];var p = [s, c];- if (wY(p)) return t == null ? p : TY(p, t, n);+ if (CY(p)) return t == null ? p : wY(p, t, n);}}}//#endregion//#region node_modules/recharts/es6/util/scale/util/arithmetic.js-var DY = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {+var EY = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {(function(e) {var n = 1e9, r = {precision: 20,@@ -69499,34 +69519,34 @@ var DY = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);})(e);})))());-function OY(e) {- return e === 0 ? 1 : Math.floor(new DY.default(e).abs().log(10).toNumber()) + 1;+function DY(e) {+ return e === 0 ? 1 : Math.floor(new EY.default(e).abs().log(10).toNumber()) + 1;}-function kY(e, t, n) {- for (var r = new DY.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;+function OY(e, t, n) {+ for (var r = new EY.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;return a;}//#endregion//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js-function AY(e, t) {- return ILe(e) || FLe(e, t) || PLe(e, t) || NLe();+function kY(e, t) {+ return RLe(e) || LLe(e, t) || ILe(e, t) || FLe();}-function NLe() {+function FLe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function PLe(e, t) {+function ILe(e, t) {if (e) {- if (typeof e == "string") return jY(e, t);+ if (typeof e == "string") return AY(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? jY(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? AY(e, t) : void 0;}}-function jY(e, t) {+function AY(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function FLe(e, t) {+function LLe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -69547,74 +69567,74 @@ function FLe(e, t) {return s;}}-function ILe(e) {+function RLe(e) {if (Array.isArray(e)) return e;}-var MY = (e) => {- var t = AY(e, 2), n = t[0], r = t[1], i = n, a = r;+var jY = (e) => {+ var t = kY(e, 2), n = t[0], r = t[1], i = n, a = r;return n > r && (i = r, a = n), [i, a];+}, MY = (e, t, n) => {+ if (e.lte(0)) return new EY.default(0);+ var r = DY(e.toNumber()), i = new EY.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new EY.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);+ return t ? new EY.default(s.toNumber()) : new EY.default(Math.ceil(s.toNumber()));}, NY = (e, t, n) => {- if (e.lte(0)) return new DY.default(0);- var r = OY(e.toNumber()), i = new DY.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new DY.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);- return t ? new DY.default(s.toNumber()) : new DY.default(Math.ceil(s.toNumber()));-}, PY = (e, t, n) => {- if (e.lte(0)) return new DY.default(0);+ if (e.lte(0)) return new EY.default(0);var r = [1,2,2.5,5- ], i = e.toNumber(), a = Math.floor(new DY.default(i).abs().log(10).toNumber()), o = new DY.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);+ ], i = e.toNumber(), a = Math.floor(new EY.default(i).abs().log(10).toNumber()), o = new EY.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);if (c === -1 && (o = o.mul(10), c = 0), c += n, c >= r.length) {var l = Math.floor(c / r.length);- c %= r.length, o = o.mul(new DY.default(10).pow(l));+ c %= r.length, o = o.mul(new EY.default(10).pow(l));}- var u = r[c] ?? 1, d = new DY.default(u).mul(o);- return t ? d : new DY.default(Math.ceil(d.toNumber()));-}, LLe = (e, t, n) => {- var r = new DY.default(1), i = new DY.default(e);+ var u = r[c] ?? 1, d = new EY.default(u).mul(o);+ return t ? d : new EY.default(Math.ceil(d.toNumber()));+}, zLe = (e, t, n) => {+ var r = new EY.default(1), i = new EY.default(e);if (!i.isint() && n) {var a = Math.abs(e);- a < 1 ? (r = new DY.default(10).pow(OY(e) - 1), i = new DY.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new DY.default(Math.floor(e)));- } else e === 0 ? i = new DY.default(Math.floor((t - 1) / 2)) : n || (i = new DY.default(Math.floor(e)));- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new DY.default(c - o).mul(r)).toNumber());+ a < 1 ? (r = new EY.default(10).pow(DY(e) - 1), i = new EY.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new EY.default(Math.floor(e)));+ } else e === 0 ? i = new EY.default(Math.floor((t - 1) / 2)) : n || (i = new EY.default(Math.floor(e)));+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new EY.default(c - o).mul(r)).toNumber());return s;-}, FY = function(e, t, n, r) {- var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : NY;+}, PY = function(e, t, n, r) {+ var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : MY;if (!Number.isFinite((t - e) / (n - 1))) return {- step: new DY.default(0),- tickMin: new DY.default(0),- tickMax: new DY.default(0)- };- var o = a(new DY.default(t).sub(e).div(n - 1), r, i), s;- e <= 0 && t >= 0 ? s = new DY.default(0) : (s = new DY.default(e).add(t).div(2), s = s.sub(new DY.default(s).mod(o)));- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new DY.default(t).sub(s).div(o).toNumber()), u = c + l + 1;- return u > n ? FY(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {+ step: new EY.default(0),+ tickMin: new EY.default(0),+ tickMax: new EY.default(0)+ };+ var o = a(new EY.default(t).sub(e).div(n - 1), r, i), s;+ e <= 0 && t >= 0 ? s = new EY.default(0) : (s = new EY.default(e).add(t).div(2), s = s.sub(new EY.default(s).mod(o)));+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new EY.default(t).sub(s).div(o).toNumber()), u = c + l + 1;+ return u > n ? PY(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {step: o,- tickMin: s.sub(new DY.default(c).mul(o)),- tickMax: s.add(new DY.default(l).mul(o))+ tickMin: s.sub(new EY.default(c).mul(o)),+ tickMax: s.add(new EY.default(l).mul(o))});-}, IY = function(e) {- var t = AY(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = AY(MY([n, r]), 2), l = c[0], u = c[1];+}, FY = function(e) {+ var t = kY(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = kY(jY([n, r]), 2), l = c[0], u = c[1];if (l === -Infinity || u === Infinity) {var d = u === Infinity ? [l, ...Array(i - 1).fill(Infinity)] : [...Array(i - 1).fill(-Infinity), u];return n > r ? d.reverse() : d;}- if (l === u) return LLe(l, i, a);- var f = FY(l, u, s, a, 0, o === "snap125" ? PY : NY), p = f.step, m = f.tickMin, h = f.tickMax, g = kY(m, h.add(new DY.default(.1).mul(p)), p);+ if (l === u) return zLe(l, i, a);+ var f = PY(l, u, s, a, 0, o === "snap125" ? NY : MY), p = f.step, m = f.tickMin, h = f.tickMax, g = OY(m, h.add(new EY.default(.1).mul(p)), p);return n > r ? g.reverse() : g;-}, LY = function(e, t) {- var n = AY(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = AY(MY([r, i]), 2), c = s[0], l = s[1];+}, IY = function(e, t) {+ var n = kY(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = kY(jY([r, i]), 2), c = s[0], l = s[1];if (c === -Infinity || l === Infinity) return [r, i];if (c === l) return [c];- var u = o === "snap125" ? PY : NY, d = Math.max(t, 2), f = u(new DY.default(l).sub(c).div(d - 1), a, 0), p = [...kY(new DY.default(c), new DY.default(l), f), l];+ var u = o === "snap125" ? NY : MY, d = Math.max(t, 2), f = u(new EY.default(l).sub(c).div(d - 1), a, 0), p = [...OY(new EY.default(c), new EY.default(l), f), l];if (a === !1) {p = p.map((e) => Math.round(e));var m = p.length - 1;m > 0 && p[m] === p[m - 1] && (p = p.slice(0, m));}return r > i ? p.reverse() : p;-}, RY = (e) => e.rootProps.maxBarSize, zY = (e) => e.rootProps.barGap, BY = (e) => e.rootProps.barCategoryGap, VY = (e) => e.rootProps.barSize, HY = (e) => e.rootProps.stackOffset, UY = (e) => e.rootProps.reverseStackOrder, WY = (e) => e.options.chartName, GY = (e) => e.rootProps.syncId, KY = (e) => e.rootProps.syncMethod, qY = (e) => e.options.eventEmitter, RLe = (e) => e.rootProps.baseValue, JY = {+}, LY = (e) => e.rootProps.maxBarSize, RY = (e) => e.rootProps.barGap, zY = (e) => e.rootProps.barCategoryGap, BY = (e) => e.rootProps.barSize, VY = (e) => e.rootProps.stackOffset, HY = (e) => e.rootProps.reverseStackOrder, UY = (e) => e.options.chartName, WY = (e) => e.rootProps.syncId, GY = (e) => e.rootProps.syncMethod, KY = (e) => e.options.eventEmitter, BLe = (e) => e.rootProps.baseValue, qY = {grid: -100,barBackground: -50,area: 100,@@ -69627,7 +69647,7 @@ var MY = (e) => {cursorLine: 1100,activeDot: 1200,label: 2e3-}, YY = {+}, JY = {allowDecimals: !1,allowDuplicatedCategory: !0,allowDataOverflow: !1,@@ -69648,8 +69668,8 @@ var MY = (e) => {tickLine: !0,tickSize: 8,type: "auto",- zIndex: JY.axis-}, XY = {+ zIndex: qY.axis+}, YY = {allowDataOverflow: !1,allowDecimals: !1,allowDuplicatedCategory: !0,@@ -69668,19 +69688,19 @@ var MY = (e) => {tickCount: 5,tickLine: !0,type: "auto",- zIndex: JY.axis-}, ZY = (e, t) => {+ zIndex: qY.axis+}, XY = (e, t) => {if (e && t) return e != null && e.reversed ? [t[1], t[0]] : t;};//#endregion//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js-function QY(e, t, n) {+function ZY(e, t, n) {if (n !== "auto") return n;- if (e != null) return rq(e, t) ? "category" : "number";+ if (e != null) return nq(e, t) ? "category" : "number";}//#endregion//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js-function $Y(e, t) {+function QY(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -69690,30 +69710,30 @@ function $Y(e, t) {}return n;}-function eX(e) {+function $Y(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? $Y(Object(n), !0).forEach(function(t) {- zLe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $Y(Object(n)).forEach(function(t) {+ t % 2 ? QY(Object(n), !0).forEach(function(t) {+ VLe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QY(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function zLe(e, t, n) {- return (t = BLe(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 BLe(e) {- var t = VLe(e, "string");+function HLe(e) {+ var t = ULe(e, "string");return typeof t == "symbol" ? t : t + "";}-function VLe(e, t) {+function ULe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -69723,77 +69743,77 @@ function VLe(e, t) {}return (t === "string" ? String : Number)(e);}-var tX = {- allowDataOverflow: YY.allowDataOverflow,- allowDecimals: YY.allowDecimals,+var eX = {+ allowDataOverflow: JY.allowDataOverflow,+ allowDecimals: JY.allowDecimals,allowDuplicatedCategory: !1,dataKey: void 0,domain: void 0,- id: YY.angleAxisId,+ id: JY.angleAxisId,includeHidden: !1,name: void 0,- reversed: YY.reversed,- scale: YY.scale,- tick: YY.tick,+ reversed: JY.reversed,+ scale: JY.scale,+ tick: JY.tick,tickCount: void 0,ticks: void 0,- type: YY.type,+ type: JY.type,unit: void 0,niceTicks: "auto"-}, nX = {- allowDataOverflow: XY.allowDataOverflow,- allowDecimals: XY.allowDecimals,- allowDuplicatedCategory: XY.allowDuplicatedCategory,+}, tX = {+ allowDataOverflow: YY.allowDataOverflow,+ allowDecimals: YY.allowDecimals,+ allowDuplicatedCategory: YY.allowDuplicatedCategory,dataKey: void 0,domain: void 0,- id: XY.radiusAxisId,- includeHidden: XY.includeHidden,+ id: YY.radiusAxisId,+ includeHidden: YY.includeHidden,name: void 0,- reversed: XY.reversed,- scale: XY.scale,- tick: XY.tick,- tickCount: XY.tickCount,+ reversed: YY.reversed,+ scale: YY.scale,+ tick: YY.tick,+ tickCount: YY.tickCount,ticks: void 0,- type: XY.type,+ type: YY.type,unit: void 0,niceTicks: "auto"-}, rX = Y([(e, t) => {+}, nX = Y([(e, t) => {if (t != null) return e.polarAxis.angleAxis[t];-}, qq], (e, t) => {+}, Kq], (e, t) => {if (e != null) return e;- var n = QY(t, "angleAxis", tX.type) ?? "category";- return eX(eX({}, tX), {}, { type: n });-}), iX = Y([(e, t) => e.polarAxis.radiusAxis[t], qq], (e, t) => {+ var n = ZY(t, "angleAxis", eX.type) ?? "category";+ return $Y($Y({}, eX), {}, { type: n });+}), rX = Y([(e, t) => e.polarAxis.radiusAxis[t], Kq], (e, t) => {if (e != null) return e;- var n = QY(t, "radiusAxis", nX.type) ?? "category";- return eX(eX({}, nX), {}, { type: n });-}), aX = (e) => e.polarOptions, oX = Y([+ var n = ZY(t, "radiusAxis", tX.type) ?? "category";+ return $Y($Y({}, tX), {}, { type: n });+}), iX = (e) => e.polarOptions, aX = Y([+ hq,gq,- _q,- Cq-], sLe), sX = Y([aX, oX], (e, t) => {- if (e != null) return TH(e.innerRadius, t, 0);-}), cX = Y([aX, oX], (e, t) => {- if (e != null) return TH(e.outerRadius, t, t * .8);-}), lX = Y([aX], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), HLe = Y([rX, lX], ZY), uX = Y([+ Sq+], lLe), oX = Y([iX, aX], (e, t) => {+ if (e != null) return wH(e.innerRadius, t, 0);+}), sX = Y([iX, aX], (e, t) => {+ if (e != null) return wH(e.outerRadius, t, t * .8);+}), cX = Y([iX], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), WLe = Y([nX, cX], XY), lX = Y([+ aX,oX,- sX,- cX+ sX], (e, t, n) => {if (e != null && t != null && n != null) return [t, n];-}), ULe = Y([iX, uX], ZY), dX = Y([- Wq,- aX,+}), GLe = Y([rX, lX], XY), uX = Y([+ Uq,+ iX,+ oX,sX,- cX,- gq,- _q+ hq,+ gq], (e, t, n, r, i, a) => {if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {var o = t.cx, s = t.cy, c = t.startAngle, l = t.endAngle;return {- cx: TH(o, i, i / 2),- cy: TH(s, a, a / 2),+ cx: wH(o, i, i / 2),+ cy: wH(s, a, a / 2),innerRadius: n,outerRadius: r,startAngle: c,@@ -69801,22 +69821,22 @@ var tX = {clockWise: !1};}-}), fX = (e, t) => t, pX = (e, t, n) => n;+}), dX = (e, t) => t, fX = (e, t, n) => n;//#endregion//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js-function mX(e) {+function pX(e) {return e?.id;}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js-function hX(e, t, n) {+function mX(e, t, n) {var r = t.chartData, i = r === void 0 ? [] : r, a = n.allowDuplicatedCategory, o = n.dataKey, s = /* @__PURE__ */ new Map();return e.forEach((e) => {var t = e.data ?? i;if (t != null && t.length !== 0) {- var n = mX(e);+ var n = pX(e);t.forEach((t, r) => {- var i = o == null || a ? r : String(nq(t, o, null)), c = nq(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};+ var i = o == null || a ? r : String(tq(t, o, null)), c = tq(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};Object.assign(l, { [n]: c }), s.set(i, l);});}@@ -69824,18 +69844,18 @@ function hX(e, t, n) {}//#endregion//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js-function gX(e) {+function hX(e) {return "stackId" in e && e.stackId != null && e.dataKey != null;}//#endregion//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js-var _X = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];+var gX = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];//#endregion//#region node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js-function vX(e, t) {+function _X(e, t) {return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;}-function WLe(e, t) {+function KLe(e, t) {if (e.length === t.length) {for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;return !0;@@ -69844,13 +69864,13 @@ function WLe(e, t) {}//#endregion//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js-var yX = (e) => {- var t = Wq(e);+var vX = (e) => {+ var t = Uq(e);return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";-}, bX = (e) => e.tooltip.settings.axisId;+}, yX = (e) => e.tooltip.settings.axisId;//#endregion//#region node_modules/recharts/es6/util/scale/RechartsScale.js-function xX(e) {+function bX(e) {if (e != null) {var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];return {@@ -69891,13 +69911,13 @@ function xX(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js-var SX = (e, t) => {+var xX = (e, t) => {if (t != null) switch (e) {case "linear":- if (!wY(t)) {+ if (!CY(t)) {for (var n, r, i = 0; i < t.length; i++) {var a = t[i];- QK(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));+ ZK(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));}return n !== void 0 && r !== void 0 ? [n, r] : void 0;}@@ -69907,14 +69927,14 @@ var SX = (e, t) => {};//#endregion//#region node_modules/d3-array/src/ascending.js-function CX(e, t) {+function SX(e, t) {return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;}//#endregion//#region node_modules/d3-array/src/bisector.js-function wX(e) {+function CX(e) {let t = e, n = e;- e.length === 1 && (t = (t, n) => e(t) - n, n = GLe(e));+ e.length === 1 && (t = (t, n) => e(t) - n, n = qLe(e));function r(e, t, r, i) {for (r ??= 0, i ??= e.length; r < i;) {let a = r + i >>> 1;@@ -69940,15 +69960,15 @@ function wX(e) {right: i};}-function GLe(e) {- return (t, n) => CX(e(t), n);+function qLe(e) {+ return (t, n) => SX(e(t), n);}//#endregion//#region node_modules/d3-array/src/number.js-function TX(e) {+function wX(e) {return e === null ? NaN : +e;}-function* KLe(e, t) {+function* JLe(e, t) {if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);else {let n = -1;@@ -69957,52 +69977,52 @@ function* KLe(e, t) {}//#endregion//#region node_modules/d3-array/src/bisect.js-var EX = wX(CX), DX = EX.right;-EX.left, wX(TX).center;+var TX = CX(SX), EX = TX.right;+TX.left, CX(wX).center;//#endregion//#region node_modules/internmap/src/index.js-var OX = class extends Map {- constructor(e, t = YLe) {+var DX = class extends Map {+ constructor(e, t = ZLe) {if (super(), Object.defineProperties(this, {_intern: { value: /* @__PURE__ */ new Map() },_key: { value: t }}), e != null) for (let [t, n] of e) this.set(t, n);}get(e) {- return super.get(kX(this, e));+ return super.get(OX(this, e));}has(e) {- return super.has(kX(this, e));+ return super.has(OX(this, e));}set(e, t) {- return super.set(qLe(this, e), t);+ return super.set(YLe(this, e), t);}delete(e) {- return super.delete(JLe(this, e));+ return super.delete(XLe(this, e));}};-function kX({ _intern: e, _key: t }, n) {+function OX({ _intern: e, _key: t }, n) {let r = t(n);return e.has(r) ? e.get(r) : n;}-function qLe({ _intern: e, _key: t }, n) {+function YLe({ _intern: e, _key: t }, n) {let r = t(n);return e.has(r) ? e.get(r) : (e.set(r, n), n);}-function JLe({ _intern: e, _key: t }, n) {+function XLe({ _intern: e, _key: t }, n) {let r = t(n);return e.has(r) && (n = e.get(n), e.delete(r)), n;}-function YLe(e) {+function ZLe(e) {return typeof e == "object" && e ? e.valueOf() : e;}//#endregion//#region node_modules/d3-array/src/ticks.js-var AX = Math.sqrt(50), jX = Math.sqrt(10), MX = Math.sqrt(2);-function NX(e, t, n) {+var kX = Math.sqrt(50), AX = Math.sqrt(10), jX = Math.sqrt(2);+function MX(e, t, n) {var r, i = -1, a, o, s;if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];- if ((r = t < e) && (a = e, e = t, t = a), (s = PX(e, t, n)) === 0 || !isFinite(s)) return [];+ if ((r = t < e) && (a = e, e = t, t = a), (s = NX(e, t, n)) === 0 || !isFinite(s)) return [];if (s > 0) {let n = Math.round(e / s), r = Math.round(t / s);for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;@@ -70013,17 +70033,17 @@ function NX(e, t, n) {}return r && o.reverse(), o;}-function PX(e, t, n) {+function NX(e, t, n) {var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;- return i >= 0 ? (a >= AX ? 10 : a >= jX ? 5 : a >= MX ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= AX ? 10 : a >= jX ? 5 : a >= MX ? 2 : 1);+ return i >= 0 ? (a >= kX ? 10 : a >= AX ? 5 : a >= jX ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= kX ? 10 : a >= AX ? 5 : a >= jX ? 2 : 1);}-function FX(e, t, n) {+function PX(e, t, n) {var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;- return a >= AX ? i *= 10 : a >= jX ? i *= 5 : a >= MX && (i *= 2), t < e ? -i : i;+ return a >= kX ? i *= 10 : a >= AX ? i *= 5 : a >= jX && (i *= 2), t < e ? -i : i;}//#endregion//#region node_modules/d3-array/src/max.js-function IX(e, t) {+function FX(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);else {@@ -70034,7 +70054,7 @@ function IX(e, t) {}//#endregion//#region node_modules/d3-array/src/min.js-function LX(e, t) {+function IX(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);else {@@ -70045,36 +70065,36 @@ function LX(e, t) {}//#endregion//#region node_modules/d3-array/src/quickselect.js-function RX(e, t, n = 0, r = e.length - 1, i = CX) {+function LX(e, t, n = 0, r = e.length - 1, i = SX) {for (; r > n;) {if (r - n > 600) {let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);- RX(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);+ LX(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);}let a = e[t], o = n, s = r;- for (zX(e, n, t), i(e[r], a) > 0 && zX(e, n, r); o < s;) {- for (zX(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;+ for (RX(e, n, t), i(e[r], a) > 0 && RX(e, n, r); o < s;) {+ for (RX(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;for (; i(e[s], a) > 0;) --s;}- i(e[n], a) === 0 ? zX(e, n, s) : (++s, zX(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);+ i(e[n], a) === 0 ? RX(e, n, s) : (++s, RX(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);}return e;}-function zX(e, t, n) {+function RX(e, t, n) {let r = e[t];e[t] = e[n], e[n] = r;}//#endregion//#region node_modules/d3-array/src/quantile.js-function XLe(e, t, n) {- if (e = Float64Array.from(KLe(e, n)), r = e.length) {- if ((t = +t) <= 0 || r < 2) return LX(e);- if (t >= 1) return IX(e);- var r, i = (r - 1) * t, a = Math.floor(i), o = IX(RX(e, a).subarray(0, a + 1));- return o + (LX(e.subarray(a + 1)) - o) * (i - a);+function QLe(e, t, n) {+ if (e = Float64Array.from(JLe(e, n)), r = e.length) {+ if ((t = +t) <= 0 || r < 2) return IX(e);+ if (t >= 1) return FX(e);+ var r, i = (r - 1) * t, a = Math.floor(i), o = FX(LX(e, a).subarray(0, a + 1));+ return o + (IX(e.subarray(a + 1)) - o) * (i - a);}}-function ZLe(e, t, n = TX) {+function $Le(e, t, n = wX) {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);@@ -70084,14 +70104,14 @@ function ZLe(e, t, n = TX) {}//#endregion//#region node_modules/d3-array/src/range.js-function QLe(e, t, n) {+function eRe(e, t, n) {e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;return a;}//#endregion//#region node_modules/d3-array/src/sum.js-function BX(e, t) {+function zX(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -70102,7 +70122,7 @@ function BX(e, t) {}//#endregion//#region node_modules/d3-scale/src/init.js-function VX(e, t) {+function BX(e, t) {switch (arguments.length) {case 0: break;case 1:@@ -70112,7 +70132,7 @@ function VX(e, t) {}return this;}-function HX(e, t) {+function VX(e, t) {switch (arguments.length) {case 0: break;case 1:@@ -70124,20 +70144,20 @@ function HX(e, t) {}//#endregion//#region node_modules/d3-scale/src/ordinal.js-var UX = Symbol("implicit");-function WX() {- var e = new OX(), t = [], n = [], r = UX;+var HX = Symbol("implicit");+function UX() {+ var e = new DX(), t = [], n = [], r = HX;function i(i) {let a = e.get(i);if (a === void 0) {- if (r !== UX) return r;+ if (r !== HX) return r;e.set(i, a = t.push(i) - 1);}return n[a % n.length];}return i.domain = function(n) {if (!arguments.length) return t.slice();- t = [], e = new OX();+ t = [], e = new DX();for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);return i;}, i.range = function(e) {@@ -70145,18 +70165,18 @@ function WX() {}, i.unknown = function(e) {return arguments.length ? (r = e, i) : r;}, i.copy = function() {- return WX(t, n).unknown(r);- }, VX.apply(i, arguments), i;+ return UX(t, n).unknown(r);+ }, BX.apply(i, arguments), i;}//#endregion//#region node_modules/d3-scale/src/band.js-function GX() {- var e = WX().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;+function WX() {+ var e = UX().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;delete e.unknown;function d() {var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));- var m = QLe(e).map(function(e) {+ var m = eRe(e).map(function(e) {return f + a * e;});return n(d ? m.reverse() : m);@@ -70182,32 +70202,32 @@ function GX() {}, e.align = function(e) {return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;}, e.copy = function() {- return GX(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);- }, VX.apply(d(), arguments);+ return WX(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);+ }, BX.apply(d(), arguments);}-function KX(e) {+function GX(e) {var t = e.copy;return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {- return KX(t());+ return GX(t());}, e;}-function $Le() {- return KX(GX.apply(null, arguments).paddingInner(1));+function tRe() {+ return GX(WX.apply(null, arguments).paddingInner(1));}//#endregion//#region node_modules/d3-color/src/define.js-function qX(e, t, n) {+function KX(e, t, n) {e.prototype = t.prototype = n, n.constructor = e;}-function JX(e, t) {+function qX(e, t) {var n = Object.create(e.prototype);for (var r in t) n[r] = t[r];return n;}//#endregion//#region node_modules/d3-color/src/color.js-function YX() {}-var XX = .7, ZX = 1 / XX, QX = "\\s*([+-]?\\d+)\\s*", $X = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", eZ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", eRe = /^#([0-9a-f]{3,8})$/, tRe = RegExp(`^rgb\\(${QX},${QX},${QX}\\)$`), nRe = RegExp(`^rgb\\(${eZ},${eZ},${eZ}\\)$`), rRe = RegExp(`^rgba\\(${QX},${QX},${QX},${$X}\\)$`), iRe = RegExp(`^rgba\\(${eZ},${eZ},${eZ},${$X}\\)$`), aRe = RegExp(`^hsl\\(${$X},${eZ},${eZ}\\)$`), oRe = RegExp(`^hsla\\(${$X},${eZ},${eZ},${$X}\\)$`), tZ = {+function JX() {}+var YX = .7, XX = 1 / YX, ZX = "\\s*([+-]?\\d+)\\s*", QX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", $X = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", nRe = /^#([0-9a-f]{3,8})$/, rRe = RegExp(`^rgb\\(${ZX},${ZX},${ZX}\\)$`), iRe = RegExp(`^rgb\\(${$X},${$X},${$X}\\)$`), aRe = RegExp(`^rgba\\(${ZX},${ZX},${ZX},${QX}\\)$`), oRe = RegExp(`^rgba\\(${$X},${$X},${$X},${QX}\\)$`), sRe = RegExp(`^hsl\\(${QX},${$X},${$X}\\)$`), cRe = RegExp(`^hsla\\(${QX},${$X},${$X},${QX}\\)$`), eZ = {aliceblue: 15792383,antiquewhite: 16444375,aqua: 65535,@@ -70357,170 +70377,170 @@ var XX = .7, ZX = 1 / XX, QX = "\\s*([+-]?\\d+)\\s*", $X = "\\s*([+-]?(?:\\d*\\.yellow: 16776960,yellowgreen: 10145074};-qX(YX, iZ, {+KX(JX, rZ, {copy(e) {return Object.assign(new this.constructor(), this, e);},displayable() {return this.rgb().displayable();},- hex: nZ,- formatHex: nZ,- formatHex8: sRe,- formatHsl: cRe,- formatRgb: rZ,- toString: rZ+ hex: tZ,+ formatHex: tZ,+ formatHex8: lRe,+ formatHsl: uRe,+ formatRgb: nZ,+ toString: nZ});-function nZ() {+function tZ() {return this.rgb().formatHex();}-function sRe() {+function lRe() {return this.rgb().formatHex8();}-function cRe() {- return hZ(this).formatHsl();+function uRe() {+ return mZ(this).formatHsl();}-function rZ() {+function nZ() {return this.rgb().formatRgb();}-function iZ(e) {+function rZ(e) {var t, n;- return e = (e + "").trim().toLowerCase(), (t = eRe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? aZ(t) : n === 3 ? new cZ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? oZ(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? oZ(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 = tRe.exec(e)) ? new cZ(t[1], t[2], t[3], 1) : (t = nRe.exec(e)) ? new cZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = rRe.exec(e)) ? oZ(t[1], t[2], t[3], t[4]) : (t = iRe.exec(e)) ? oZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = aRe.exec(e)) ? mZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = oRe.exec(e)) ? mZ(t[1], t[2] / 100, t[3] / 100, t[4]) : tZ.hasOwnProperty(e) ? aZ(tZ[e]) : e === "transparent" ? new cZ(NaN, NaN, NaN, 0) : null;+ return e = (e + "").trim().toLowerCase(), (t = nRe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? iZ(t) : n === 3 ? new sZ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? aZ(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? aZ(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 = rRe.exec(e)) ? new sZ(t[1], t[2], t[3], 1) : (t = iRe.exec(e)) ? new sZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = aRe.exec(e)) ? aZ(t[1], t[2], t[3], t[4]) : (t = oRe.exec(e)) ? aZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = sRe.exec(e)) ? pZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = cRe.exec(e)) ? pZ(t[1], t[2] / 100, t[3] / 100, t[4]) : eZ.hasOwnProperty(e) ? iZ(eZ[e]) : e === "transparent" ? new sZ(NaN, NaN, NaN, 0) : null;}-function aZ(e) {- return new cZ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);+function iZ(e) {+ return new sZ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);}-function oZ(e, t, n, r) {- return r <= 0 && (e = t = n = NaN), new cZ(e, t, n, r);+function aZ(e, t, n, r) {+ return r <= 0 && (e = t = n = NaN), new sZ(e, t, n, r);}-function lRe(e) {- return e instanceof YX || (e = iZ(e)), e ? (e = e.rgb(), new cZ(e.r, e.g, e.b, e.opacity)) : new cZ();+function dRe(e) {+ return e instanceof JX || (e = rZ(e)), e ? (e = e.rgb(), new sZ(e.r, e.g, e.b, e.opacity)) : new sZ();}-function sZ(e, t, n, r) {- return arguments.length === 1 ? lRe(e) : new cZ(e, t, n, r ?? 1);+function oZ(e, t, n, r) {+ return arguments.length === 1 ? dRe(e) : new sZ(e, t, n, r ?? 1);}-function cZ(e, t, n, r) {+function sZ(e, t, n, r) {this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;}-qX(cZ, sZ, JX(YX, {+KX(sZ, oZ, qX(JX, {brighter(e) {- return e = e == null ? ZX : ZX ** +e, new cZ(this.r * e, this.g * e, this.b * e, this.opacity);+ return e = e == null ? XX : XX ** +e, new sZ(this.r * e, this.g * e, this.b * e, this.opacity);},darker(e) {- return e = e == null ? XX : XX ** +e, new cZ(this.r * e, this.g * e, this.b * e, this.opacity);+ return e = e == null ? YX : YX ** +e, new sZ(this.r * e, this.g * e, this.b * e, this.opacity);},rgb() {return this;},clamp() {- return new cZ(fZ(this.r), fZ(this.g), fZ(this.b), dZ(this.opacity));+ return new sZ(dZ(this.r), dZ(this.g), dZ(this.b), uZ(this.opacity));},displayable() {return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;},- hex: lZ,- formatHex: lZ,- formatHex8: uRe,- formatRgb: uZ,- toString: uZ+ hex: cZ,+ formatHex: cZ,+ formatHex8: fRe,+ formatRgb: lZ,+ toString: lZ}));-function lZ() {- return `#${pZ(this.r)}${pZ(this.g)}${pZ(this.b)}`;+function cZ() {+ return `#${fZ(this.r)}${fZ(this.g)}${fZ(this.b)}`;}-function uRe() {- return `#${pZ(this.r)}${pZ(this.g)}${pZ(this.b)}${pZ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;+function fRe() {+ return `#${fZ(this.r)}${fZ(this.g)}${fZ(this.b)}${fZ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;}-function uZ() {- let e = dZ(this.opacity);- return `${e === 1 ? "rgb(" : "rgba("}${fZ(this.r)}, ${fZ(this.g)}, ${fZ(this.b)}${e === 1 ? ")" : `, ${e})`}`;+function lZ() {+ let e = uZ(this.opacity);+ return `${e === 1 ? "rgb(" : "rgba("}${dZ(this.r)}, ${dZ(this.g)}, ${dZ(this.b)}${e === 1 ? ")" : `, ${e})`}`;}-function dZ(e) {+function uZ(e) {return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));}-function fZ(e) {+function dZ(e) {return Math.max(0, Math.min(255, Math.round(e) || 0));}-function pZ(e) {- return e = fZ(e), (e < 16 ? "0" : "") + e.toString(16);+function fZ(e) {+ return e = dZ(e), (e < 16 ? "0" : "") + e.toString(16);}-function mZ(e, t, n, r) {- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new gZ(e, t, n, r);+function pZ(e, t, n, r) {+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new hZ(e, t, n, r);}-function hZ(e) {- if (e instanceof gZ) return new gZ(e.h, e.s, e.l, e.opacity);- if (e instanceof YX || (e = iZ(e)), !e) return new gZ();- if (e instanceof gZ) return e;+function mZ(e) {+ if (e instanceof hZ) return new hZ(e.h, e.s, e.l, e.opacity);+ if (e instanceof JX || (e = rZ(e)), !e) return new hZ();+ if (e instanceof hZ) return e;e = e.rgb();var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;- return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new gZ(o, s, c, e.opacity);+ return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new hZ(o, s, c, e.opacity);}-function dRe(e, t, n, r) {- return arguments.length === 1 ? hZ(e) : new gZ(e, t, n, r ?? 1);+function pRe(e, t, n, r) {+ return arguments.length === 1 ? mZ(e) : new hZ(e, t, n, r ?? 1);}-function gZ(e, t, n, r) {+function hZ(e, t, n, r) {this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;}-qX(gZ, dRe, JX(YX, {+KX(hZ, pRe, qX(JX, {brighter(e) {- return e = e == null ? ZX : ZX ** +e, new gZ(this.h, this.s, this.l * e, this.opacity);+ return e = e == null ? XX : XX ** +e, new hZ(this.h, this.s, this.l * e, this.opacity);},darker(e) {- return e = e == null ? XX : XX ** +e, new gZ(this.h, this.s, this.l * e, this.opacity);+ return e = e == null ? YX : YX ** +e, new hZ(this.h, this.s, this.l * e, this.opacity);},rgb() {var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;- return new cZ(yZ(e >= 240 ? e - 240 : e + 120, i, r), yZ(e, i, r), yZ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);+ return new sZ(vZ(e >= 240 ? e - 240 : e + 120, i, r), vZ(e, i, r), vZ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);},clamp() {- return new gZ(_Z(this.h), vZ(this.s), vZ(this.l), dZ(this.opacity));+ return new hZ(gZ(this.h), _Z(this.s), _Z(this.l), uZ(this.opacity));},displayable() {return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;},formatHsl() {- let e = dZ(this.opacity);- return `${e === 1 ? "hsl(" : "hsla("}${_Z(this.h)}, ${vZ(this.s) * 100}%, ${vZ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;+ let e = uZ(this.opacity);+ return `${e === 1 ? "hsl(" : "hsla("}${gZ(this.h)}, ${_Z(this.s) * 100}%, ${_Z(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;}}));-function _Z(e) {+function gZ(e) {return e = (e || 0) % 360, e < 0 ? e + 360 : e;}-function vZ(e) {+function _Z(e) {return Math.max(0, Math.min(1, e || 0));}-function yZ(e, t, n) {+function vZ(e, t, n) {return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;}//#endregion//#region node_modules/d3-interpolate/src/constant.js-var bZ = (e) => () => e;+var yZ = (e) => () => e;//#endregion//#region node_modules/d3-interpolate/src/color.js-function fRe(e, t) {+function mRe(e, t) {return function(n) {return e + n * t;};}-function pRe(e, t, n) {+function hRe(e, t, n) {return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {return (e + r * t) ** +n;};}-function mRe(e) {- return (e = +e) == 1 ? xZ : function(t, n) {- return n - t ? pRe(t, n, e) : bZ(isNaN(t) ? n : t);+function gRe(e) {+ return (e = +e) == 1 ? bZ : function(t, n) {+ return n - t ? hRe(t, n, e) : yZ(isNaN(t) ? n : t);};}-function xZ(e, t) {+function bZ(e, t) {var n = t - e;- return n ? fRe(e, n) : bZ(isNaN(e) ? t : e);+ return n ? mRe(e, n) : yZ(isNaN(e) ? t : e);}//#endregion//#region node_modules/d3-interpolate/src/rgb.js-var SZ = (function e(t) {- var n = mRe(t);+var xZ = (function e(t) {+ var n = gRe(t);function r(e, t) {- var r = n((e = sZ(e)).r, (t = sZ(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = xZ(e.opacity, t.opacity);+ var r = n((e = oZ(e)).r, (t = oZ(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = bZ(e.opacity, t.opacity);return function(t) {return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";};@@ -70529,7 +70549,7 @@ var SZ = (function e(t) {})(1);//#endregion//#region node_modules/d3-interpolate/src/numberArray.js-function hRe(e, t) {+function _Re(e, t) {t ||= [];var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;return function(a) {@@ -70537,13 +70557,13 @@ function hRe(e, t) {return r;};}-function gRe(e) {+function vRe(e) {return ArrayBuffer.isView(e) && !(e instanceof DataView);}//#endregion//#region node_modules/d3-interpolate/src/array.js-function _Re(e, t) {- for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = EZ(e[o], t[o]);+function yRe(e, t) {+ for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = TZ(e[o], t[o]);for (; o < n; ++o) a[o] = t[o];return function(e) {for (o = 0; o < r; ++o) a[o] = i[o](e);@@ -70552,7 +70572,7 @@ function _Re(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/date.js-function vRe(e, t) {+function bRe(e, t) {var n = /* @__PURE__ */ new Date();return e = +e, t = +t, function(r) {return n.setTime(e * (1 - r) + t * r), n;@@ -70560,16 +70580,16 @@ function vRe(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/number.js-function CZ(e, t) {+function SZ(e, t) {return e = +e, t = +t, function(n) {return e * (1 - n) + t * n;};}//#endregion//#region node_modules/d3-interpolate/src/object.js-function yRe(e, t) {+function xRe(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] = EZ(e[i], t[i]) : r[i] = t[i];+ for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = TZ(e[i], t[i]) : r[i] = t[i];return function(e) {for (i in n) r[i] = n[i](e);return r;@@ -70577,45 +70597,45 @@ function yRe(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/string.js-var wZ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, TZ = new RegExp(wZ.source, "g");-function bRe(e) {+var CZ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, wZ = new RegExp(CZ.source, "g");+function SRe(e) {return function() {return e;};}-function xRe(e) {+function CRe(e) {return function(t) {return e(t) + "";};}-function SRe(e, t) {- var n = wZ.lastIndex = TZ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];- for (e += "", t += ""; (r = wZ.exec(e)) && (i = TZ.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({+function wRe(e, t) {+ var n = CZ.lastIndex = wZ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];+ for (e += "", t += ""; (r = CZ.exec(e)) && (i = wZ.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: CZ(r, i)- })), n = TZ.lastIndex;- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? xRe(c[0].x) : bRe(t) : (t = c.length, function(e) {+ x: SZ(r, i)+ })), n = wZ.lastIndex;+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? CRe(c[0].x) : SRe(t) : (t = c.length, function(e) {for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);return s.join("");});}//#endregion//#region node_modules/d3-interpolate/src/value.js-function EZ(e, t) {+function TZ(e, t) {var n = typeof t, r;- return t == null || n === "boolean" ? bZ(t) : (n === "number" ? CZ : n === "string" ? (r = iZ(t)) ? (t = r, SZ) : SRe : t instanceof iZ ? SZ : t instanceof Date ? vRe : gRe(t) ? hRe : Array.isArray(t) ? _Re : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? yRe : CZ)(e, t);+ return t == null || n === "boolean" ? yZ(t) : (n === "number" ? SZ : n === "string" ? (r = rZ(t)) ? (t = r, xZ) : wRe : t instanceof rZ ? xZ : t instanceof Date ? bRe : vRe(t) ? _Re : Array.isArray(t) ? yRe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? xRe : SZ)(e, t);}//#endregion//#region node_modules/d3-interpolate/src/round.js-function DZ(e, t) {+function EZ(e, t) {return e = +e, t = +t, function(n) {return Math.round(e * (1 - n) + t * n);};}//#endregion//#region node_modules/d3-interpolate/src/piecewise.js-function CRe(e, t) {- t === void 0 && (t = e, e = EZ);+function TRe(e, t) {+ t === void 0 && (t = e, e = TZ);for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);return function(e) {var t = Math.max(0, Math.min(r - 1, Math.floor(e *= r)));@@ -70624,69 +70644,69 @@ function CRe(e, t) {}//#endregion//#region node_modules/d3-scale/src/constant.js-function wRe(e) {+function ERe(e) {return function() {return e;};}//#endregion//#region node_modules/d3-scale/src/number.js-function OZ(e) {+function DZ(e) {return +e;}//#endregion//#region node_modules/d3-scale/src/continuous.js-var kZ = [0, 1];-function AZ(e) {+var OZ = [0, 1];+function kZ(e) {return e;}-function jZ(e, t) {+function AZ(e, t) {return (t -= e = +e) ? function(n) {return (n - e) / t;- } : wRe(isNaN(t) ? NaN : .5);+ } : ERe(isNaN(t) ? NaN : .5);}-function TRe(e, t) {+function DRe(e, t) {var n;return e > t && (n = e, e = t, t = n), function(n) {return Math.max(e, Math.min(t, n));};}-function ERe(e, t, n) {+function ORe(e, t, n) {var r = e[0], i = e[1], a = t[0], o = t[1];- return i < r ? (r = jZ(i, r), a = n(o, a)) : (r = jZ(r, i), a = n(a, o)), function(e) {+ return i < r ? (r = AZ(i, r), a = n(o, a)) : (r = AZ(r, i), a = n(a, o)), function(e) {return a(r(e));};}-function DRe(e, t, n) {+function kRe(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] = jZ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);+ for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = AZ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);return function(t) {- var n = DX(e, t, 1, r) - 1;+ var n = EX(e, t, 1, r) - 1;return a[n](i[n](t));};}-function MZ(e, t) {+function jZ(e, t) {return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());}-function NZ() {- var e = kZ, t = kZ, n = EZ, r, i, a, o = AZ, s, c, l;+function MZ() {+ var e = OZ, t = OZ, n = TZ, r, i, a, o = kZ, s, c, l;function u() {var n = Math.min(e.length, t.length);- return o !== AZ && (o = TRe(e[0], e[n - 1])), s = n > 2 ? DRe : ERe, c = l = null, d;+ return o !== kZ && (o = DRe(e[0], e[n - 1])), s = n > 2 ? kRe : ORe, c = l = null, d;}function d(i) {return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));}return d.invert = function(n) {- return o(i((l ||= s(t, e.map(r), CZ))(n)));+ return o(i((l ||= s(t, e.map(r), SZ))(n)));}, d.domain = function(t) {- return arguments.length ? (e = Array.from(t, OZ), u()) : e.slice();+ return arguments.length ? (e = Array.from(t, DZ), u()) : e.slice();}, d.range = function(e) {return arguments.length ? (t = Array.from(e), u()) : t.slice();}, d.rangeRound = function(e) {- return t = Array.from(e), n = DZ, u();+ return t = Array.from(e), n = EZ, u();}, d.clamp = function(e) {- return arguments.length ? (o = e ? !0 : AZ, u()) : o !== AZ;+ return arguments.length ? (o = e ? !0 : kZ, u()) : o !== kZ;}, d.interpolate = function(e) {return arguments.length ? (n = e, u()) : n;}, d.unknown = function(e) {@@ -70695,27 +70715,27 @@ function NZ() {return r = e, i = t, u();};}-function PZ() {- return NZ()(AZ, AZ);+function NZ() {+ return MZ()(kZ, kZ);}//#endregion//#region node_modules/d3-format/src/formatDecimal.js-function ORe(e) {+function ARe(e) {return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);}-function FZ(e, t) {+function PZ(e, t) {if (!isFinite(e) || e === 0) return null;var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];}//#endregion//#region node_modules/d3-format/src/exponent.js-function IZ(e) {- return e = FZ(Math.abs(e)), e ? e[1] : NaN;+function FZ(e) {+ return e = PZ(Math.abs(e)), e ? e[1] : NaN;}//#endregion//#region node_modules/d3-format/src/formatGroup.js-function kRe(e, t) {+function jRe(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);@@ -70723,7 +70743,7 @@ function kRe(e, t) {}//#endregion//#region node_modules/d3-format/src/formatNumerals.js-function ARe(e) {+function MRe(e) {return function(t) {return t.replace(/[0-9]/g, function(t) {return e[+t];@@ -70732,11 +70752,11 @@ function ARe(e) {}//#endregion//#region node_modules/d3-format/src/formatSpecifier.js-var jRe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;-function LZ(e) {- if (!(t = jRe.exec(e))) throw Error("invalid format: " + e);+var NRe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;+function IZ(e) {+ if (!(t = NRe.exec(e))) throw Error("invalid format: " + e);var t;- return new RZ({+ return new LZ({fill: t[1],align: t[2],sign: t[3],@@ -70749,16 +70769,16 @@ function LZ(e) {type: t[10]});}-LZ.prototype = RZ.prototype;-function RZ(e) {+IZ.prototype = LZ.prototype;+function LZ(e) {this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";}-RZ.prototype.toString = function() {+LZ.prototype.toString = function() {return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;};//#endregion//#region node_modules/d3-format/src/formatTrim.js-function MRe(e) {+function PRe(e) {out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {case ".":r = i = n;@@ -70774,46 +70794,46 @@ function MRe(e) {}//#endregion//#region node_modules/d3-format/src/formatPrefixAuto.js-var zZ;-function NRe(e, t) {- var n = FZ(e, t);- if (!n) return zZ = void 0, e.toPrecision(t);- var r = n[0], i = n[1], a = i - (zZ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;- return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + FZ(e, Math.max(0, t + a - 1))[0];+var RZ;+function FRe(e, t) {+ var n = PZ(e, t);+ if (!n) return RZ = void 0, e.toPrecision(t);+ var r = n[0], i = n[1], a = i - (RZ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;+ return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + PZ(e, Math.max(0, t + a - 1))[0];}//#endregion//#region node_modules/d3-format/src/formatRounded.js-function BZ(e, t) {- var n = FZ(e, t);+function zZ(e, t) {+ var n = PZ(e, t);if (!n) return e + "";var r = n[0], i = n[1];return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");}//#endregion//#region node_modules/d3-format/src/formatTypes.js-var VZ = {+var BZ = {"%": (e, t) => (e * 100).toFixed(t),b: (e) => Math.round(e).toString(2),c: (e) => e + "",- d: ORe,+ d: ARe,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) => BZ(e * 100, t),- r: BZ,- s: NRe,+ p: (e, t) => zZ(e * 100, t),+ r: zZ,+ s: FRe,X: (e) => Math.round(e).toString(16).toUpperCase(),x: (e) => Math.round(e).toString(16)};//#endregion//#region node_modules/d3-format/src/identity.js-function HZ(e) {+function VZ(e) {return e;}//#endregion//#region node_modules/d3-format/src/locale.js-var UZ = Array.prototype.map, WZ = [+var HZ = Array.prototype.map, UZ = ["y","z","a",@@ -70832,13 +70852,13 @@ var UZ = Array.prototype.map, WZ = ["Z","Y"];-function PRe(e) {- var t = e.grouping === void 0 || e.thousands === void 0 ? HZ : kRe(UZ.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 ? HZ : ARe(UZ.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 IRe(e) {+ var t = e.grouping === void 0 || e.thousands === void 0 ? VZ : jRe(HZ.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 ? VZ : MRe(HZ.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 = LZ(e);+ e = IZ(e);var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;- y === "n" ? (g = !0, y = "g") : VZ[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");- var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = VZ[y], C = /[defgprs%]/.test(y);+ y === "n" ? (g = !0, y = "g") : BZ[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = BZ[y], C = /[defgprs%]/.test(y);_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));function w(e) {var n = b, r = x, o, l, p;@@ -70846,7 +70866,7 @@ function PRe(e) {else {e = +e;var w = e < 0 || 1 / e < 0;- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = MRe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && zZ !== void 0 ? WZ[8 + zZ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = PRe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && RZ !== void 0 ? UZ[8 + RZ / 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;@@ -70874,7 +70894,7 @@ function PRe(e) {}, w;}function u(e, t) {- var n = Math.max(-8, Math.min(8, Math.floor(IZ(t) / 3))) * 3, r = 10 ** -n, i = l((e = LZ(e), e.type = "f", e), { suffix: WZ[8 + n / 3] });+ var n = Math.max(-8, Math.min(8, Math.floor(FZ(t) / 3))) * 3, r = 10 ** -n, i = l((e = IZ(e), e.type = "f", e), { suffix: UZ[8 + n / 3] });return function(e) {return i(r * e);};@@ -70886,65 +70906,65 @@ function PRe(e) {}//#endregion//#region node_modules/d3-format/src/defaultLocale.js-var GZ, KZ, qZ;-FRe({+var WZ, GZ, KZ;+LRe({thousands: ",",grouping: [3],currency: ["$", ""]});-function FRe(e) {- return GZ = PRe(e), KZ = GZ.format, qZ = GZ.formatPrefix, GZ;+function LRe(e) {+ return WZ = IRe(e), GZ = WZ.format, KZ = WZ.formatPrefix, WZ;}//#endregion//#region node_modules/d3-format/src/precisionFixed.js-function IRe(e) {- return Math.max(0, -IZ(Math.abs(e)));+function RRe(e) {+ return Math.max(0, -FZ(Math.abs(e)));}//#endregion//#region node_modules/d3-format/src/precisionPrefix.js-function LRe(e, t) {- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(IZ(t) / 3))) * 3 - IZ(Math.abs(e)));+function zRe(e, t) {+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(FZ(t) / 3))) * 3 - FZ(Math.abs(e)));}//#endregion//#region node_modules/d3-format/src/precisionRound.js-function RRe(e, t) {- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, IZ(t) - IZ(e)) + 1;+function BRe(e, t) {+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, FZ(t) - FZ(e)) + 1;}//#endregion//#region node_modules/d3-scale/src/tickFormat.js-function JZ(e, t, n, r) {- var i = FX(e, t, n), a;- switch (r = LZ(r ?? ",f"), r.type) {+function qZ(e, t, n, r) {+ var i = PX(e, t, n), a;+ switch (r = IZ(r ?? ",f"), r.type) {case "s":var o = Math.max(Math.abs(e), Math.abs(t));- return r.precision == null && !isNaN(a = LRe(i, o)) && (r.precision = a), qZ(r, o);+ return r.precision == null && !isNaN(a = zRe(i, o)) && (r.precision = a), KZ(r, o);case "":case "e":case "g":case "p":case "r":- r.precision == null && !isNaN(a = RRe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));+ r.precision == null && !isNaN(a = BRe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));break;case "f":- case "%": r.precision == null && !isNaN(a = IRe(i)) && (r.precision = a - (r.type === "%") * 2);+ case "%": r.precision == null && !isNaN(a = RRe(i)) && (r.precision = a - (r.type === "%") * 2);}- return KZ(r);+ return GZ(r);}//#endregion//#region node_modules/d3-scale/src/linear.js-function YZ(e) {+function JZ(e) {var t = e.domain;return e.ticks = function(e) {var n = t();- return NX(n[0], n[n.length - 1], e ?? 10);+ return MX(n[0], n[n.length - 1], e ?? 10);}, e.tickFormat = function(e, n) {var r = t();- return JZ(r[0], r[r.length - 1], e ?? 10, n);+ return qZ(r[0], r[r.length - 1], e ?? 10, n);}, e.nice = function(n) {n ??= 10;var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {- if (l = PX(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);+ if (l = NX(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;else break;@@ -70953,64 +70973,64 @@ function YZ(e) {return e;}, e;}-function XZ() {- var e = PZ();+function YZ() {+ var e = NZ();return e.copy = function() {- return MZ(e, XZ());- }, VX.apply(e, arguments), YZ(e);+ return jZ(e, YZ());+ }, BX.apply(e, arguments), JZ(e);}//#endregion//#region node_modules/d3-scale/src/identity.js-function ZZ(e) {+function XZ(e) {var t;function n(e) {return e == null || isNaN(e = +e) ? t : e;}return n.invert = n, n.domain = n.range = function(t) {- return arguments.length ? (e = Array.from(t, OZ), n) : e.slice();+ return arguments.length ? (e = Array.from(t, DZ), n) : e.slice();}, n.unknown = function(e) {return arguments.length ? (t = e, n) : t;}, n.copy = function() {- return ZZ(e).unknown(t);- }, e = arguments.length ? Array.from(e, OZ) : [0, 1], YZ(n);+ return XZ(e).unknown(t);+ }, e = arguments.length ? Array.from(e, DZ) : [0, 1], JZ(n);}//#endregion//#region node_modules/d3-scale/src/nice.js-function QZ(e, t) {+function ZZ(e, t) {e = e.slice();var n = 0, r = e.length - 1, i = e[n], a = e[r], o;return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;}//#endregion//#region node_modules/d3-scale/src/log.js-function $Z(e) {+function QZ(e) {return Math.log(e);}-function eQ(e) {+function $Z(e) {return Math.exp(e);}-function zRe(e) {+function VRe(e) {return -Math.log(-e);}-function BRe(e) {+function HRe(e) {return -Math.exp(-e);}-function VRe(e) {+function URe(e) {return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;}-function HRe(e) {- return e === 10 ? VRe : e === Math.E ? Math.exp : (t) => e ** +t;+function WRe(e) {+ return e === 10 ? URe : e === Math.E ? Math.exp : (t) => e ** +t;}-function URe(e) {+function GRe(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 tQ(e) {+function eQ(e) {return (t, n) => -e(-t, n);}-function nQ(e) {- let t = e($Z, eQ), n = t.domain, r = 10, i, a;+function tQ(e) {+ let t = e(QZ, $Z), n = t.domain, r = 10, i, a;function o() {- return i = URe(r), a = HRe(r), n()[0] < 0 ? (i = tQ(i), a = tQ(a), e(zRe, BRe)) : e($Z, eQ), t;+ return i = GRe(r), a = WRe(r), n()[0] < 0 ? (i = eQ(i), a = eQ(a), e(VRe, HRe)) : e(QZ, $Z), t;}return t.base = function(e) {return arguments.length ? (r = +e, o()) : r;@@ -71030,100 +71050,100 @@ function nQ(e) {if (f > s) break;m.push(f);}- m.length * 2 < p && (m = NX(o, s, p));- } else m = NX(l, u, Math.min(u - l, p)).map(a);+ m.length * 2 < p && (m = MX(o, s, p));+ } else m = MX(l, u, Math.min(u - l, p)).map(a);return c ? m.reverse() : m;}, t.tickFormat = (e, n) => {- if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = LZ(n)).precision == null && (n.trim = !0), n = KZ(n)), e === Infinity) return n;+ if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = IZ(n)).precision == null && (n.trim = !0), n = GZ(n)), e === Infinity) return n;let o = Math.max(1, r * e / t.ticks().length);return (e) => {let t = e / a(Math.round(i(e)));return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";};- }, t.nice = () => n(QZ(n(), {+ }, t.nice = () => n(ZZ(n(), {floor: (e) => a(Math.floor(i(e))),ceil: (e) => a(Math.ceil(i(e)))})), t;}-function rQ() {- let e = nQ(NZ()).domain([1, 10]);- return e.copy = () => MZ(e, rQ()).base(e.base()), VX.apply(e, arguments), e;+function nQ() {+ let e = tQ(MZ()).domain([1, 10]);+ return e.copy = () => jZ(e, nQ()).base(e.base()), BX.apply(e, arguments), e;}//#endregion//#region node_modules/d3-scale/src/symlog.js-function iQ(e) {+function rQ(e) {return function(t) {return Math.sign(t) * Math.log1p(Math.abs(t / e));};}-function aQ(e) {+function iQ(e) {return function(t) {return Math.sign(t) * Math.expm1(Math.abs(t)) * e;};}-function oQ(e) {- var t = 1, n = e(iQ(t), aQ(t));+function aQ(e) {+ var t = 1, n = e(rQ(t), iQ(t));return n.constant = function(n) {- return arguments.length ? e(iQ(t = +n), aQ(t)) : t;- }, YZ(n);+ return arguments.length ? e(rQ(t = +n), iQ(t)) : t;+ }, JZ(n);}-function sQ() {- var e = oQ(NZ());+function oQ() {+ var e = aQ(MZ());return e.copy = function() {- return MZ(e, sQ()).constant(e.constant());- }, VX.apply(e, arguments);+ return jZ(e, oQ()).constant(e.constant());+ }, BX.apply(e, arguments);}//#endregion//#region node_modules/d3-scale/src/pow.js-function cQ(e) {+function sQ(e) {return function(t) {return t < 0 ? -((-t) ** +e) : t ** +e;};}-function WRe(e) {+function KRe(e) {return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);}-function GRe(e) {+function qRe(e) {return e < 0 ? -e * e : e * e;}-function lQ(e) {- var t = e(AZ, AZ), n = 1;+function cQ(e) {+ var t = e(kZ, kZ), n = 1;function r() {- return n === 1 ? e(AZ, AZ) : n === .5 ? e(WRe, GRe) : e(cQ(n), cQ(1 / n));+ return n === 1 ? e(kZ, kZ) : n === .5 ? e(KRe, qRe) : e(sQ(n), sQ(1 / n));}return t.exponent = function(e) {return arguments.length ? (n = +e, r()) : n;- }, YZ(t);+ }, JZ(t);}-function uQ() {- var e = lQ(NZ());+function lQ() {+ var e = cQ(MZ());return e.copy = function() {- return MZ(e, uQ()).exponent(e.exponent());- }, VX.apply(e, arguments), e;+ return jZ(e, lQ()).exponent(e.exponent());+ }, BX.apply(e, arguments), e;}-function KRe() {- return uQ.apply(null, arguments).exponent(.5);+function JRe() {+ return lQ.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/d3-scale/src/radial.js-function dQ(e) {+function uQ(e) {return Math.sign(e) * e * e;}-function qRe(e) {+function YRe(e) {return Math.sign(e) * Math.sqrt(Math.abs(e));}-function fQ() {- var e = PZ(), t = [0, 1], n = !1, r;+function dQ() {+ var e = NZ(), t = [0, 1], n = !1, r;function i(t) {- var i = qRe(e(t));+ var i = YRe(e(t));return isNaN(i) ? r : n ? Math.round(i) : i;}return i.invert = function(t) {- return e.invert(dQ(t));+ return e.invert(uQ(t));}, i.domain = function(t) {return arguments.length ? (e.domain(t), i) : e.domain();}, i.range = function(n) {- return arguments.length ? (e.range((t = Array.from(n, OZ)).map(dQ)), i) : t.slice();+ return arguments.length ? (e.range((t = Array.from(n, DZ)).map(uQ)), i) : t.slice();}, i.rangeRound = function(e) {return i.range(e).round(!0);}, i.round = function(e) {@@ -71133,20 +71153,20 @@ function fQ() {}, i.unknown = function(e) {return arguments.length ? (r = e, i) : r;}, i.copy = function() {- return fQ(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);- }, VX.apply(i, arguments), YZ(i);+ return dQ(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);+ }, BX.apply(i, arguments), JZ(i);}//#endregion//#region node_modules/d3-scale/src/quantile.js-function pQ() {+function fQ() {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] = ZLe(e, r / i);+ for (n = Array(i - 1); ++r < i;) n[r - 1] = $Le(e, r / i);return a;}function a(e) {- return e == null || isNaN(e = +e) ? r : t[DX(n, e)];+ return e == null || isNaN(e = +e) ? r : t[EX(n, e)];}return a.invertExtent = function(r) {var i = t.indexOf(r);@@ -71155,7 +71175,7 @@ function pQ() {if (!arguments.length) return e.slice();e = [];for (let n of t) n != null && !isNaN(n = +n) && e.push(n);- return e.sort(CX), i();+ return e.sort(SX), i();}, a.range = function(e) {return arguments.length ? (t = Array.from(e), i()) : t.slice();}, a.unknown = function(e) {@@ -71163,15 +71183,15 @@ function pQ() {}, a.quantiles = function() {return n.slice();}, a.copy = function() {- return pQ().domain(e).range(t).unknown(r);- }, VX.apply(a, arguments);+ return fQ().domain(e).range(t).unknown(r);+ }, BX.apply(a, arguments);}//#endregion//#region node_modules/d3-scale/src/quantize.js-function mQ() {+function pQ() {var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;function o(e) {- return e != null && e <= e ? i[DX(r, e, 0, n)] : a;+ return e != null && e <= e ? i[EX(r, e, 0, n)] : a;}function s() {var i = -1;@@ -71190,15 +71210,15 @@ function mQ() {}, o.thresholds = function() {return r.slice();}, o.copy = function() {- return mQ().domain([e, t]).range(i).unknown(a);- }, VX.apply(YZ(o), arguments);+ return pQ().domain([e, t]).range(i).unknown(a);+ }, BX.apply(JZ(o), arguments);}//#endregion//#region node_modules/d3-scale/src/threshold.js-function hQ() {+function mQ() {var e = [.5], t = [0, 1], n, r = 1;function i(i) {- return i != null && i <= i ? t[DX(e, i, 0, r)] : n;+ return i != null && i <= i ? t[EX(e, i, 0, r)] : n;}return i.domain = function(n) {return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();@@ -71210,13 +71230,13 @@ function hQ() {}, i.unknown = function(e) {return arguments.length ? (n = e, i) : n;}, i.copy = function() {- return hQ().domain(e).range(t).unknown(n);- }, VX.apply(i, arguments);+ return mQ().domain(e).range(t).unknown(n);+ }, BX.apply(i, arguments);}//#endregion//#region node_modules/d3-time/src/interval.js-var gQ = /* @__PURE__ */ new Date(), _Q = /* @__PURE__ */ new Date();-function vQ(e, t, n, r) {+var hQ = /* @__PURE__ */ new Date(), gQ = /* @__PURE__ */ new Date();+function _Q(e, t, n, r) {function i(t) {return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;}@@ -71231,226 +71251,226 @@ function vQ(e, t, n, r) {o.push(s = /* @__PURE__ */ new Date(+n)), t(n, a), e(n);while (s < n && n < r);return o;- }, i.filter = (n) => vQ((t) => {+ }, i.filter = (n) => _Q((t) => {if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);}, (e, r) => {if (e >= e) {if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););else for (; --r >= 0;) for (; t(e, 1), !n(e););}- }), n && (i.count = (t, r) => (gQ.setTime(+t), _Q.setTime(+r), e(gQ), e(_Q), Math.floor(n(gQ, _Q))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;+ }), n && (i.count = (t, r) => (hQ.setTime(+t), gQ.setTime(+r), e(hQ), e(gQ), Math.floor(n(hQ, gQ))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;}//#endregion//#region node_modules/d3-time/src/millisecond.js-var yQ = vQ(() => {}, (e, t) => {+var vQ = _Q(() => {}, (e, t) => {e.setTime(+e + t);}, (e, t) => t - e);-yQ.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? vQ((t) => {+vQ.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? _Q((t) => {t.setTime(Math.floor(t / e) * e);}, (t, n) => {t.setTime(+t + n * e);-}, (t, n) => (n - t) / e) : yQ), yQ.range;+}, (t, n) => (n - t) / e) : vQ), vQ.range;//#endregion//#region node_modules/d3-time/src/duration.js-var bQ = 1e3, xQ = bQ * 60, SQ = xQ * 60, CQ = SQ * 24, wQ = CQ * 7, TQ = CQ * 30, EQ = CQ * 365, DQ = vQ((e) => {+var yQ = 1e3, bQ = yQ * 60, xQ = bQ * 60, SQ = xQ * 24, CQ = SQ * 7, wQ = SQ * 30, TQ = SQ * 365, EQ = _Q((e) => {e.setTime(e - e.getMilliseconds());}, (e, t) => {- e.setTime(+e + t * bQ);-}, (e, t) => (t - e) / bQ, (e) => e.getUTCSeconds());-DQ.range;+ e.setTime(+e + t * yQ);+}, (e, t) => (t - e) / yQ, (e) => e.getUTCSeconds());+EQ.range;//#endregion//#region node_modules/d3-time/src/minute.js-var OQ = vQ((e) => {- e.setTime(e - e.getMilliseconds() - e.getSeconds() * bQ);+var DQ = _Q((e) => {+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * yQ);}, (e, t) => {- e.setTime(+e + t * xQ);-}, (e, t) => (t - e) / xQ, (e) => e.getMinutes());-OQ.range;-var kQ = vQ((e) => {+ e.setTime(+e + t * bQ);+}, (e, t) => (t - e) / bQ, (e) => e.getMinutes());+DQ.range;+var OQ = _Q((e) => {e.setUTCSeconds(0, 0);}, (e, t) => {- e.setTime(+e + t * xQ);-}, (e, t) => (t - e) / xQ, (e) => e.getUTCMinutes());-kQ.range;+ e.setTime(+e + t * bQ);+}, (e, t) => (t - e) / bQ, (e) => e.getUTCMinutes());+OQ.range;//#endregion//#region node_modules/d3-time/src/hour.js-var AQ = vQ((e) => {- e.setTime(e - e.getMilliseconds() - e.getSeconds() * bQ - e.getMinutes() * xQ);+var kQ = _Q((e) => {+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * yQ - e.getMinutes() * bQ);}, (e, t) => {- e.setTime(+e + t * SQ);-}, (e, t) => (t - e) / SQ, (e) => e.getHours());-AQ.range;-var jQ = vQ((e) => {+ e.setTime(+e + t * xQ);+}, (e, t) => (t - e) / xQ, (e) => e.getHours());+kQ.range;+var AQ = _Q((e) => {e.setUTCMinutes(0, 0, 0);}, (e, t) => {- e.setTime(+e + t * SQ);-}, (e, t) => (t - e) / SQ, (e) => e.getUTCHours());-jQ.range;+ e.setTime(+e + t * xQ);+}, (e, t) => (t - e) / xQ, (e) => e.getUTCHours());+AQ.range;//#endregion//#region node_modules/d3-time/src/day.js-var MQ = vQ((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * xQ) / CQ, (e) => e.getDate() - 1);-MQ.range;-var NQ = vQ((e) => {+var jQ = _Q((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * bQ) / SQ, (e) => e.getDate() - 1);+jQ.range;+var MQ = _Q((e) => {e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t);-}, (e, t) => (t - e) / CQ, (e) => e.getUTCDate() - 1);-NQ.range;-var PQ = vQ((e) => {+}, (e, t) => (t - e) / SQ, (e) => e.getUTCDate() - 1);+MQ.range;+var NQ = _Q((e) => {e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t);-}, (e, t) => (t - e) / CQ, (e) => Math.floor(e / CQ));-PQ.range;+}, (e, t) => (t - e) / SQ, (e) => Math.floor(e / SQ));+NQ.range;//#endregion//#region node_modules/d3-time/src/week.js-function FQ(e) {- return vQ((t) => {+function PQ(e) {+ return _Q((t) => {t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);}, (e, t) => {e.setDate(e.getDate() + t * 7);- }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * xQ) / wQ);+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * bQ) / CQ);}-var IQ = FQ(0), LQ = FQ(1), JRe = FQ(2), YRe = FQ(3), RQ = FQ(4), XRe = FQ(5), ZRe = FQ(6);-IQ.range, LQ.range, JRe.range, YRe.range, RQ.range, XRe.range, ZRe.range;-function zQ(e) {- return vQ((t) => {+var FQ = PQ(0), IQ = PQ(1), XRe = PQ(2), ZRe = PQ(3), LQ = PQ(4), QRe = PQ(5), $Re = PQ(6);+FQ.range, IQ.range, XRe.range, ZRe.range, LQ.range, QRe.range, $Re.range;+function RQ(e) {+ return _Q((t) => {t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t * 7);- }, (e, t) => (t - e) / wQ);+ }, (e, t) => (t - e) / CQ);}-var BQ = zQ(0), VQ = zQ(1), QRe = zQ(2), $Re = zQ(3), HQ = zQ(4), eze = zQ(5), tze = zQ(6);-BQ.range, VQ.range, QRe.range, $Re.range, HQ.range, eze.range, tze.range;+var zQ = RQ(0), BQ = RQ(1), eze = RQ(2), tze = RQ(3), VQ = RQ(4), nze = RQ(5), rze = RQ(6);+zQ.range, BQ.range, eze.range, tze.range, VQ.range, nze.range, rze.range;//#endregion//#region node_modules/d3-time/src/month.js-var UQ = vQ((e) => {+var HQ = _Q((e) => {e.setDate(1), e.setHours(0, 0, 0, 0);}, (e, t) => {e.setMonth(e.getMonth() + t);}, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());-UQ.range;-var WQ = vQ((e) => {+HQ.range;+var UQ = _Q((e) => {e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCMonth(e.getUTCMonth() + t);}, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());-WQ.range;+UQ.range;//#endregion//#region node_modules/d3-time/src/year.js-var GQ = vQ((e) => {+var WQ = _Q((e) => {e.setMonth(0, 1), e.setHours(0, 0, 0, 0);}, (e, t) => {e.setFullYear(e.getFullYear() + t);}, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());-GQ.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : vQ((t) => {+WQ.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : _Q((t) => {t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);}, (t, n) => {t.setFullYear(t.getFullYear() + n * e);-}), GQ.range;-var KQ = vQ((e) => {+}), WQ.range;+var GQ = _Q((e) => {e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCFullYear(e.getUTCFullYear() + t);}, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());-KQ.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : vQ((t) => {+GQ.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : _Q((t) => {t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);}, (t, n) => {t.setUTCFullYear(t.getUTCFullYear() + n * e);-}), KQ.range;+}), GQ.range;//#endregion//#region node_modules/d3-time/src/ticks.js-function qQ(e, t, n, r, i, a) {+function KQ(e, t, n, r, i, a) {let o = [[- DQ,+ EQ,1,- bQ+ yQ],[- DQ,+ EQ,5,- 5 * bQ+ 5 * yQ],[- DQ,+ EQ,15,- 15 * bQ+ 15 * yQ],[- DQ,+ EQ,30,- 30 * bQ+ 30 * yQ],[a,1,- xQ+ bQ],[a,5,- 5 * xQ+ 5 * bQ],[a,15,- 15 * xQ+ 15 * bQ],[a,30,- 30 * xQ+ 30 * bQ],[i,1,- SQ+ xQ],[i,3,- 3 * SQ+ 3 * xQ],[i,6,- 6 * SQ+ 6 * xQ],[i,12,- 12 * SQ+ 12 * xQ],[r,1,- CQ+ SQ],[r,2,- 2 * CQ+ 2 * SQ],[n,1,- wQ+ CQ],[t,1,- TQ+ wQ],[t,3,- 3 * TQ+ 3 * wQ],[e,1,- EQ+ TQ]];function s(e, t, n) {@@ -71460,32 +71480,32 @@ function qQ(e, t, n, r, i, a) {return r ? a.reverse() : a;}function c(t, n, r) {- let i = Math.abs(n - t) / r, a = wX(([, , e]) => e).right(o, i);- if (a === o.length) return e.every(FX(t / EQ, n / EQ, r));- if (a === 0) return yQ.every(Math.max(FX(t, n, r), 1));+ let i = Math.abs(n - t) / r, a = CX(([, , e]) => e).right(o, i);+ if (a === o.length) return e.every(PX(t / TQ, n / TQ, r));+ if (a === 0) return vQ.every(Math.max(PX(t, n, r), 1));let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];return s.every(c);}return [s, c];}-var [nze, rze] = qQ(KQ, WQ, BQ, PQ, jQ, kQ), [ize, aze] = qQ(GQ, UQ, IQ, MQ, AQ, OQ);+var [ize, aze] = KQ(GQ, UQ, zQ, NQ, AQ, OQ), [oze, sze] = KQ(WQ, HQ, FQ, jQ, kQ, DQ);//#endregion//#region node_modules/d3-time-format/src/locale.js-function JQ(e) {+function qQ(e) {if (0 <= e.y && e.y < 100) {var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);return t.setFullYear(e.y), t;}return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L);}-function YQ(e) {+function JQ(e) {if (0 <= e.y && e.y < 100) {var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L));return t.setUTCFullYear(e.y), t;}return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));}-function XQ(e, t, n) {+function YQ(e, t, n) {return {y: e,m: t,@@ -71496,133 +71516,133 @@ function XQ(e, t, n) {L: 0};}-function oze(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 = e$(i), u = t$(i), d = e$(a), f = t$(a), p = e$(o), m = t$(o), h = e$(s), g = t$(s), _ = e$(c), v = t$(c), y = {+function cze(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 = $Q(i), u = e$(i), d = $Q(a), f = e$(a), p = $Q(o), m = e$(o), h = $Q(s), g = e$(s), _ = $Q(c), v = e$(c), y = {a: N,A: P,b: ee,B: F,c: null,- d: o$,- e: o$,- f: kze,- g: zze,- G: Vze,- H: Eze,- I: Dze,- j: Oze,- L: s$,- m: Aze,- M: jze,+ d: a$,+ e: a$,+ f: jze,+ g: Vze,+ G: Uze,+ H: Oze,+ I: kze,+ j: Aze,+ L: o$,+ m: Mze,+ M: Nze,p: te,q: ne,- Q: p$,- s: m$,- S: Mze,- u: Nze,- U: Pze,- V: Fze,- w: Ize,- W: Lze,+ Q: f$,+ s: p$,+ S: Pze,+ u: Fze,+ U: Ize,+ V: Lze,+ w: Rze,+ W: zze,x: null,X: null,- y: Rze,- Y: Bze,- Z: Hze,- "%": f$+ y: Bze,+ Y: Hze,+ Z: Wze,+ "%": d$}, b = {a: re,A: ie,b: ae,B: oe,c: null,- d: l$,- e: l$,- f: Kze,- g: nBe,- G: iBe,- H: Uze,- I: Wze,- j: Gze,- L: u$,- m: qze,- M: Jze,+ d: c$,+ e: c$,+ f: Jze,+ g: iBe,+ G: oBe,+ H: Gze,+ I: Kze,+ j: qze,+ L: l$,+ m: Yze,+ M: Xze,p: se,q: ce,- Q: p$,- s: m$,- S: Yze,- u: Xze,- U: Zze,- V: Qze,- w: $ze,- W: eBe,+ Q: f$,+ s: p$,+ S: Zze,+ u: Qze,+ U: $ze,+ V: eBe,+ w: tBe,+ W: nBe,x: null,X: null,- y: tBe,- Y: rBe,- Z: aBe,- "%": f$+ y: rBe,+ Y: aBe,+ Z: sBe,+ "%": d$}, x = {a: E,A: D,b: O,B: k,c: A,- d: i$,- e: i$,- f: Sze,- g: r$,- G: n$,- H: a$,- I: a$,- j: vze,- L: xze,- m: _ze,- M: yze,+ d: r$,+ e: r$,+ f: wze,+ g: n$,+ G: t$,+ H: i$,+ I: i$,+ j: bze,+ L: Cze,+ m: yze,+ M: xze,p: T,- q: gze,- Q: wze,- s: Tze,- S: bze,- u: dze,- U: fze,- V: pze,- w: uze,- W: mze,+ q: vze,+ Q: Eze,+ s: Dze,+ S: Sze,+ u: pze,+ U: mze,+ V: hze,+ w: fze,+ W: gze,x: j,X: M,- y: r$,- Y: n$,- Z: hze,- "%": Cze+ y: n$,+ Y: t$,+ Z: _ze,+ "%": Tze};y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);function S(e, t) {return function(n) {var r = [], i = -1, a = 0, o = e.length, s, c, l;- for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = ZQ[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = XQ[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);return r.push(e.slice(a, i)), r.join("");};}function C(e, t) {return function(n) {- var r = XQ(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;+ var r = YQ(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;if (i != n.length) return null;if ("Q" in r) return new Date(r.Q);if ("s" in r) return new Date(r.s * 1e3 + ("L" in r ? r.L : 0));if (t && !("Z" in r) && (r.Z = 0), "p" in r && (r.H = r.H % 12 + r.p * 12), r.m === void 0 && (r.m = "q" in r ? r.q : 0), "V" in r) {if (r.V < 1 || r.V > 53) return null;- "w" in r || (r.w = 1), "Z" in r ? (a = YQ(XQ(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? VQ.ceil(a) : VQ(a), a = NQ.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = JQ(XQ(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? LQ.ceil(a) : LQ(a), a = MQ.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);- } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? YQ(XQ(r.y, 0, 1)).getUTCDay() : JQ(XQ(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);- return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, YQ(r)) : JQ(r);+ "w" in r || (r.w = 1), "Z" in r ? (a = JQ(YQ(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? BQ.ceil(a) : BQ(a), a = MQ.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = qQ(YQ(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? IQ.ceil(a) : IQ(a), a = jQ.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);+ } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? JQ(YQ(r.y, 0, 1)).getUTCDay() : qQ(YQ(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);+ return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, JQ(r)) : qQ(r);};}function w(e, t, n, r) {for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {if (r >= o) return -1;if (s = t.charCodeAt(i++), s === 37) {- if (s = t.charAt(i++), c = x[s in ZQ ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;+ if (s = t.charAt(i++), c = x[s in XQ ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;} else if (s != n.charCodeAt(r++)) return -1;}return r;@@ -71719,244 +71739,244 @@ function oze(e) {}};}-var ZQ = {+var XQ = {"-": "",_: " ",0: "0"-}, QQ = /^\s*\d+/, sze = /^%/, cze = /[\\^$*+?|[\]().{}]/g;-function $Q(e, t, n) {+}, ZQ = /^\s*\d+/, lze = /^%/, uze = /[\\^$*+?|[\]().{}]/g;+function QQ(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 lze(e) {- return e.replace(cze, "\\$&");+function dze(e) {+ return e.replace(uze, "\\$&");}-function e$(e) {- return RegExp("^(?:" + e.map(lze).join("|") + ")", "i");+function $Q(e) {+ return RegExp("^(?:" + e.map(dze).join("|") + ")", "i");}-function t$(e) {+function e$(e) {return new Map(e.map((e, t) => [e.toLowerCase(), t]));}-function uze(e, t, n) {- var r = QQ.exec(t.slice(n, n + 1));+function fze(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 1));return r ? (e.w = +r[0], n + r[0].length) : -1;}-function dze(e, t, n) {- var r = QQ.exec(t.slice(n, n + 1));+function pze(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 1));return r ? (e.u = +r[0], n + r[0].length) : -1;}-function fze(e, t, n) {- var r = QQ.exec(t.slice(n, n + 2));+function mze(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 2));return r ? (e.U = +r[0], n + r[0].length) : -1;}-function pze(e, t, n) {- var r = QQ.exec(t.slice(n, n + 2));+function hze(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 2));return r ? (e.V = +r[0], n + r[0].length) : -1;}-function mze(e, t, n) {- var r = QQ.exec(t.slice(n, n + 2));+function gze(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 2));return r ? (e.W = +r[0], n + r[0].length) : -1;}-function n$(e, t, n) {- var r = QQ.exec(t.slice(n, n + 4));+function t$(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 4));return r ? (e.y = +r[0], n + r[0].length) : -1;}-function r$(e, t, n) {- var r = QQ.exec(t.slice(n, n + 2));+function n$(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 2));return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;}-function hze(e, t, n) {+function _ze(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 gze(e, t, n) {- var r = QQ.exec(t.slice(n, n + 1));+function vze(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 1));return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;}-function _ze(e, t, n) {- var r = QQ.exec(t.slice(n, n + 2));+function yze(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 2));return r ? (e.m = r[0] - 1, n + r[0].length) : -1;}-function i$(e, t, n) {- var r = QQ.exec(t.slice(n, n + 2));+function r$(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 2));return r ? (e.d = +r[0], n + r[0].length) : -1;}-function vze(e, t, n) {- var r = QQ.exec(t.slice(n, n + 3));+function bze(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 3));return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;}-function a$(e, t, n) {- var r = QQ.exec(t.slice(n, n + 2));+function i$(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 2));return r ? (e.H = +r[0], n + r[0].length) : -1;}-function yze(e, t, n) {- var r = QQ.exec(t.slice(n, n + 2));+function xze(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 2));return r ? (e.M = +r[0], n + r[0].length) : -1;}-function bze(e, t, n) {- var r = QQ.exec(t.slice(n, n + 2));+function Sze(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 2));return r ? (e.S = +r[0], n + r[0].length) : -1;}-function xze(e, t, n) {- var r = QQ.exec(t.slice(n, n + 3));+function Cze(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 3));return r ? (e.L = +r[0], n + r[0].length) : -1;}-function Sze(e, t, n) {- var r = QQ.exec(t.slice(n, n + 6));+function wze(e, t, n) {+ var r = ZQ.exec(t.slice(n, n + 6));return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;}-function Cze(e, t, n) {- var r = sze.exec(t.slice(n, n + 1));+function Tze(e, t, n) {+ var r = lze.exec(t.slice(n, n + 1));return r ? n + r[0].length : -1;}-function wze(e, t, n) {- var r = QQ.exec(t.slice(n));+function Eze(e, t, n) {+ var r = ZQ.exec(t.slice(n));return r ? (e.Q = +r[0], n + r[0].length) : -1;}-function Tze(e, t, n) {- var r = QQ.exec(t.slice(n));+function Dze(e, t, n) {+ var r = ZQ.exec(t.slice(n));return r ? (e.s = +r[0], n + r[0].length) : -1;}-function o$(e, t) {- return $Q(e.getDate(), t, 2);-}-function Eze(e, t) {- return $Q(e.getHours(), t, 2);-}-function Dze(e, t) {- return $Q(e.getHours() % 12 || 12, t, 2);+function a$(e, t) {+ return QQ(e.getDate(), t, 2);}function Oze(e, t) {- return $Q(1 + MQ.count(GQ(e), e), t, 3);-}-function s$(e, t) {- return $Q(e.getMilliseconds(), t, 3);+ return QQ(e.getHours(), t, 2);}function kze(e, t) {- return s$(e, t) + "000";+ return QQ(e.getHours() % 12 || 12, t, 2);}function Aze(e, t) {- return $Q(e.getMonth() + 1, t, 2);+ return QQ(1 + jQ.count(WQ(e), e), t, 3);+}+function o$(e, t) {+ return QQ(e.getMilliseconds(), t, 3);}function jze(e, t) {- return $Q(e.getMinutes(), t, 2);+ return o$(e, t) + "000";}function Mze(e, t) {- return $Q(e.getSeconds(), t, 2);+ return QQ(e.getMonth() + 1, t, 2);}-function Nze(e) {- var t = e.getDay();- return t === 0 ? 7 : t;+function Nze(e, t) {+ return QQ(e.getMinutes(), t, 2);}function Pze(e, t) {- return $Q(IQ.count(GQ(e) - 1, e), t, 2);+ return QQ(e.getSeconds(), t, 2);}-function c$(e) {+function Fze(e) {var t = e.getDay();- return t >= 4 || t === 0 ? RQ(e) : RQ.ceil(e);+ return t === 0 ? 7 : t;}-function Fze(e, t) {- return e = c$(e), $Q(RQ.count(GQ(e), e) + (GQ(e).getDay() === 4), t, 2);+function Ize(e, t) {+ return QQ(FQ.count(WQ(e) - 1, e), t, 2);}-function Ize(e) {- return e.getDay();+function s$(e) {+ var t = e.getDay();+ return t >= 4 || t === 0 ? LQ(e) : LQ.ceil(e);}function Lze(e, t) {- return $Q(LQ.count(GQ(e) - 1, e), t, 2);+ return e = s$(e), QQ(LQ.count(WQ(e), e) + (WQ(e).getDay() === 4), t, 2);}-function Rze(e, t) {- return $Q(e.getFullYear() % 100, t, 2);+function Rze(e) {+ return e.getDay();}function zze(e, t) {- return e = c$(e), $Q(e.getFullYear() % 100, t, 2);+ return QQ(IQ.count(WQ(e) - 1, e), t, 2);}function Bze(e, t) {- return $Q(e.getFullYear() % 1e4, t, 4);+ return QQ(e.getFullYear() % 100, t, 2);}function Vze(e, t) {- var n = e.getDay();- return e = n >= 4 || n === 0 ? RQ(e) : RQ.ceil(e), $Q(e.getFullYear() % 1e4, t, 4);+ return e = s$(e), QQ(e.getFullYear() % 100, t, 2);}-function Hze(e) {- var t = e.getTimezoneOffset();- return (t > 0 ? "-" : (t *= -1, "+")) + $Q(t / 60 | 0, "0", 2) + $Q(t % 60, "0", 2);-}-function l$(e, t) {- return $Q(e.getUTCDate(), t, 2);+function Hze(e, t) {+ return QQ(e.getFullYear() % 1e4, t, 4);}function Uze(e, t) {- return $Q(e.getUTCHours(), t, 2);+ var n = e.getDay();+ return e = n >= 4 || n === 0 ? LQ(e) : LQ.ceil(e), QQ(e.getFullYear() % 1e4, t, 4);}-function Wze(e, t) {- return $Q(e.getUTCHours() % 12 || 12, t, 2);+function Wze(e) {+ var t = e.getTimezoneOffset();+ return (t > 0 ? "-" : (t *= -1, "+")) + QQ(t / 60 | 0, "0", 2) + QQ(t % 60, "0", 2);}-function Gze(e, t) {- return $Q(1 + NQ.count(KQ(e), e), t, 3);+function c$(e, t) {+ return QQ(e.getUTCDate(), t, 2);}-function u$(e, t) {- return $Q(e.getUTCMilliseconds(), t, 3);+function Gze(e, t) {+ return QQ(e.getUTCHours(), t, 2);}function Kze(e, t) {- return u$(e, t) + "000";+ return QQ(e.getUTCHours() % 12 || 12, t, 2);}function qze(e, t) {- return $Q(e.getUTCMonth() + 1, t, 2);+ return QQ(1 + MQ.count(GQ(e), e), t, 3);+}+function l$(e, t) {+ return QQ(e.getUTCMilliseconds(), t, 3);}function Jze(e, t) {- return $Q(e.getUTCMinutes(), t, 2);+ return l$(e, t) + "000";}function Yze(e, t) {- return $Q(e.getUTCSeconds(), t, 2);+ return QQ(e.getUTCMonth() + 1, t, 2);}-function Xze(e) {- var t = e.getUTCDay();- return t === 0 ? 7 : t;+function Xze(e, t) {+ return QQ(e.getUTCMinutes(), t, 2);}function Zze(e, t) {- return $Q(BQ.count(KQ(e) - 1, e), t, 2);+ return QQ(e.getUTCSeconds(), t, 2);}-function d$(e) {+function Qze(e) {var t = e.getUTCDay();- return t >= 4 || t === 0 ? HQ(e) : HQ.ceil(e);+ return t === 0 ? 7 : t;}-function Qze(e, t) {- return e = d$(e), $Q(HQ.count(KQ(e), e) + (KQ(e).getUTCDay() === 4), t, 2);+function $ze(e, t) {+ return QQ(zQ.count(GQ(e) - 1, e), t, 2);}-function $ze(e) {- return e.getUTCDay();+function u$(e) {+ var t = e.getUTCDay();+ return t >= 4 || t === 0 ? VQ(e) : VQ.ceil(e);}function eBe(e, t) {- return $Q(VQ.count(KQ(e) - 1, e), t, 2);+ return e = u$(e), QQ(VQ.count(GQ(e), e) + (GQ(e).getUTCDay() === 4), t, 2);}-function tBe(e, t) {- return $Q(e.getUTCFullYear() % 100, t, 2);+function tBe(e) {+ return e.getUTCDay();}function nBe(e, t) {- return e = d$(e), $Q(e.getUTCFullYear() % 100, t, 2);+ return QQ(BQ.count(GQ(e) - 1, e), t, 2);}function rBe(e, t) {- return $Q(e.getUTCFullYear() % 1e4, t, 4);+ return QQ(e.getUTCFullYear() % 100, t, 2);}function iBe(e, t) {+ return e = u$(e), QQ(e.getUTCFullYear() % 100, t, 2);+}+function aBe(e, t) {+ return QQ(e.getUTCFullYear() % 1e4, t, 4);+}+function oBe(e, t) {var n = e.getUTCDay();- return e = n >= 4 || n === 0 ? HQ(e) : HQ.ceil(e), $Q(e.getUTCFullYear() % 1e4, t, 4);+ return e = n >= 4 || n === 0 ? VQ(e) : VQ.ceil(e), QQ(e.getUTCFullYear() % 1e4, t, 4);}-function aBe() {+function sBe() {return "+0000";}-function f$() {+function d$() {return "%";}-function p$(e) {+function f$(e) {return +e;}-function m$(e) {+function p$(e) {return Math.floor(e / 1e3);}//#endregion//#region node_modules/d3-time-format/src/defaultLocale.js-var h$, g$, _$;-oBe({+var m$, h$, g$;+cBe({dateTime: "%x, %X",date: "%-m/%-d/%Y",time: "%-I:%M:%S %p",@@ -72008,26 +72028,26 @@ oBe({"Dec"]});-function oBe(e) {- return h$ = oze(e), g$ = h$.format, h$.parse, _$ = h$.utcFormat, h$.utcParse, h$;+function cBe(e) {+ return m$ = cze(e), h$ = m$.format, m$.parse, g$ = m$.utcFormat, m$.utcParse, m$;}//#endregion//#region node_modules/d3-scale/src/time.js-function sBe(e) {+function lBe(e) {return new Date(e);}-function cBe(e) {+function uBe(e) {return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);}-function v$(e, t, n, r, i, a, o, s, c, l) {- var u = PZ(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");+function _$(e, t, n, r, i, a, o, s, c, l) {+ var u = NZ(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");function x(e) {return (c(e) < e ? p : s(e) < e ? m : o(e) < e ? h : a(e) < e ? g : r(e) < e ? i(e) < e ? _ : v : n(e) < e ? y : b)(e);}return u.invert = function(e) {return new Date(d(e));}, u.domain = function(e) {- return arguments.length ? f(Array.from(e, cBe)) : f().map(sBe);+ return arguments.length ? f(Array.from(e, uBe)) : f().map(lBe);}, u.ticks = function(t) {var n = f();return e(n[0], n[n.length - 1], t ?? 10);@@ -72035,23 +72055,23 @@ function v$(e, t, n, r, i, a, o, s, c, l) {return t == null ? x : l(t);}, u.nice = function(e) {var n = f();- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(QZ(n, e)) : u;+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(ZZ(n, e)) : u;}, u.copy = function() {- return MZ(u, v$(e, t, n, r, i, a, o, s, c, l));+ return jZ(u, _$(e, t, n, r, i, a, o, s, c, l));}, u;}-function lBe() {- return VX.apply(v$(ize, aze, GQ, UQ, IQ, MQ, AQ, OQ, DQ, g$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);+function dBe() {+ return BX.apply(_$(oze, sze, WQ, HQ, FQ, jQ, kQ, DQ, EQ, h$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);}//#endregion//#region node_modules/d3-scale/src/utcTime.js-function uBe() {- return VX.apply(v$(nze, rze, KQ, WQ, BQ, NQ, jQ, kQ, DQ, _$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);+function fBe() {+ return BX.apply(_$(ize, aze, GQ, UQ, zQ, MQ, AQ, OQ, EQ, g$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);}//#endregion//#region node_modules/d3-scale/src/sequential.js-function y$() {- var e = 0, t = 1, n, r, i, a, o = AZ, s = !1, c;+function v$() {+ var e = 0, t = 1, n, r, i, a, o = kZ, s = !1, c;function l(e) {return e == null || isNaN(e = +e) ? c : o(i === 0 ? .5 : (e = (a(e) - n) * i, s ? Math.max(0, Math.min(1, e)) : e));}@@ -72068,68 +72088,68 @@ function y$() {return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];};}- return l.range = u(EZ), l.rangeRound = u(DZ), l.unknown = function(e) {+ return l.range = u(TZ), l.rangeRound = u(EZ), l.unknown = function(e) {return arguments.length ? (c = e, l) : c;}, function(o) {return a = o, n = o(e), r = o(t), i = n === r ? 0 : 1 / (r - n), l;};}-function b$(e, t) {+function y$(e, t) {return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());}+function b$() {+ var e = JZ(v$()(kZ));+ return e.copy = function() {+ return y$(e, b$());+ }, VX.apply(e, arguments);+}function x$() {- var e = YZ(y$()(AZ));+ var e = tQ(v$()).domain([1, 10]);return e.copy = function() {- return b$(e, x$());- }, HX.apply(e, arguments);+ return y$(e, x$()).base(e.base());+ }, VX.apply(e, arguments);}function S$() {- var e = nQ(y$()).domain([1, 10]);+ var e = aQ(v$());return e.copy = function() {- return b$(e, S$()).base(e.base());- }, HX.apply(e, arguments);+ return y$(e, S$()).constant(e.constant());+ }, VX.apply(e, arguments);}function C$() {- var e = oQ(y$());- return e.copy = function() {- return b$(e, C$()).constant(e.constant());- }, HX.apply(e, arguments);-}-function w$() {- var e = lQ(y$());+ var e = cQ(v$());return e.copy = function() {- return b$(e, w$()).exponent(e.exponent());- }, HX.apply(e, arguments);+ return y$(e, C$()).exponent(e.exponent());+ }, VX.apply(e, arguments);}-function dBe() {- return w$.apply(null, arguments).exponent(.5);+function pBe() {+ return C$.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/d3-scale/src/sequentialQuantile.js-function T$() {- var e = [], t = AZ;+function w$() {+ var e = [], t = kZ;function n(n) {- if (n != null && !isNaN(n = +n)) return t((DX(e, n, 1) - 1) / (e.length - 1));+ if (n != null && !isNaN(n = +n)) return t((EX(e, n, 1) - 1) / (e.length - 1));}return n.domain = function(t) {if (!arguments.length) return e.slice();e = [];for (let n of t) n != null && !isNaN(n = +n) && e.push(n);- return e.sort(CX), n;+ return e.sort(SX), n;}, n.interpolator = function(e) {return arguments.length ? (t = e, n) : t;}, n.range = function() {return e.map((n, r) => t(r / (e.length - 1)));}, n.quantiles = function(t) {- return Array.from({ length: t + 1 }, (n, r) => XLe(e, r / t));+ return Array.from({ length: t + 1 }, (n, r) => QLe(e, r / t));}, n.copy = function() {- return T$(t).domain(e);- }, HX.apply(n, arguments);+ return w$(t).domain(e);+ }, VX.apply(n, arguments);}//#endregion//#region node_modules/d3-scale/src/diverging.js-function E$() {- var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = AZ, u, d = !1, f;+function T$() {+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = kZ, u, d = !1, f;function p(e) {return isNaN(e = +e) ? f : (e = .5 + ((e = +u(e)) - a) * (r * e < r * a ? s : c), l(d ? Math.max(0, Math.min(1, e)) : e));}@@ -72147,7 +72167,7 @@ function E$() {function m(e) {return function(t) {var n, r, i;- return arguments.length ? ([n, r, i] = t, l = CRe(e, [+ return arguments.length ? ([n, r, i] = t, l = TRe(e, [n,r,i@@ -72158,122 +72178,122 @@ function E$() {];};}- return p.range = m(EZ), p.rangeRound = m(DZ), p.unknown = function(e) {+ return p.range = m(TZ), p.rangeRound = m(EZ), p.unknown = function(e) {return arguments.length ? (f = e, p) : f;}, function(l) {return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;};}-function D$() {- var e = YZ(E$()(AZ));+function E$() {+ var e = JZ(T$()(kZ));return e.copy = function() {- return b$(e, D$());- }, HX.apply(e, arguments);+ return y$(e, E$());+ }, VX.apply(e, arguments);}-function O$() {- var e = nQ(E$()).domain([+function D$() {+ var e = tQ(T$()).domain([.1,1,10]);return e.copy = function() {- return b$(e, O$()).base(e.base());- }, HX.apply(e, arguments);+ return y$(e, D$()).base(e.base());+ }, VX.apply(e, arguments);}-function k$() {- var e = oQ(E$());+function O$() {+ var e = aQ(T$());return e.copy = function() {- return b$(e, k$()).constant(e.constant());- }, HX.apply(e, arguments);+ return y$(e, O$()).constant(e.constant());+ }, VX.apply(e, arguments);}-function A$() {- var e = lQ(E$());+function k$() {+ var e = cQ(T$());return e.copy = function() {- return b$(e, A$()).exponent(e.exponent());- }, HX.apply(e, arguments);+ return y$(e, k$()).exponent(e.exponent());+ }, VX.apply(e, arguments);}-function fBe() {- return A$.apply(null, arguments).exponent(.5);+function mBe() {+ return k$.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/victory-vendor/es/d3-scale.js-var j$ = /* @__PURE__ */ s({- scaleBand: () => GX,- scaleDiverging: () => D$,- scaleDivergingLog: () => O$,- scaleDivergingPow: () => A$,- scaleDivergingSqrt: () => fBe,- scaleDivergingSymlog: () => k$,- scaleIdentity: () => ZZ,- scaleImplicit: () => UX,- scaleLinear: () => XZ,- scaleLog: () => rQ,- scaleOrdinal: () => WX,- scalePoint: () => $Le,- scalePow: () => uQ,- scaleQuantile: () => pQ,- scaleQuantize: () => mQ,- scaleRadial: () => fQ,- scaleSequential: () => x$,- scaleSequentialLog: () => S$,- scaleSequentialPow: () => w$,- scaleSequentialQuantile: () => T$,- scaleSequentialSqrt: () => dBe,- scaleSequentialSymlog: () => C$,- scaleSqrt: () => KRe,- scaleSymlog: () => sQ,- scaleThreshold: () => hQ,- scaleTime: () => lBe,- scaleUtc: () => uBe,- tickFormat: () => JZ+var A$ = /* @__PURE__ */ s({+ scaleBand: () => WX,+ scaleDiverging: () => E$,+ scaleDivergingLog: () => D$,+ scaleDivergingPow: () => k$,+ scaleDivergingSqrt: () => mBe,+ scaleDivergingSymlog: () => O$,+ scaleIdentity: () => XZ,+ scaleImplicit: () => HX,+ scaleLinear: () => YZ,+ scaleLog: () => nQ,+ scaleOrdinal: () => UX,+ scalePoint: () => tRe,+ scalePow: () => lQ,+ scaleQuantile: () => fQ,+ scaleQuantize: () => pQ,+ scaleRadial: () => dQ,+ scaleSequential: () => b$,+ scaleSequentialLog: () => x$,+ scaleSequentialPow: () => C$,+ scaleSequentialQuantile: () => w$,+ scaleSequentialSqrt: () => pBe,+ scaleSequentialSymlog: () => S$,+ scaleSqrt: () => JRe,+ scaleSymlog: () => oQ,+ scaleThreshold: () => mQ,+ scaleTime: () => dBe,+ scaleUtc: () => fBe,+ tickFormat: () => qZ});//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js-function pBe(e) {- var t = j$;+function hBe(e) {+ var t = A$;if (e in t && typeof t[e] == "function") return t[e]();- var n = `scale${AH(e)}`;+ var n = `scale${kH(e)}`;if (n in t && typeof t[n] == "function") return t[n]();}-function M$(e, t, n) {+function j$(e, t, n) {if (typeof e == "function") return e.copy().domain(t).range(n);if (e != null) {- var r = pBe(e);+ var r = hBe(e);if (r != null) return r.domain(t).range(n), r;}}-function N$(e, t, n, r) {- if (n != null && r != null) return typeof e.scale == "function" ? M$(e.scale, n, r) : M$(t, n, r);+function M$(e, t, n, r) {+ if (n != null && r != null) return typeof e.scale == "function" ? j$(e.scale, n, r) : j$(t, n, r);}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js-function mBe(e) {- return `scale${AH(e)}`;+function gBe(e) {+ return `scale${kH(e)}`;}-function hBe(e) {- return mBe(e) in j$;+function _Be(e) {+ return gBe(e) in A$;}-var P$ = (e, t, n) => {+var N$ = (e, t, n) => {if (e != null) {var r = e.scale, i = e.type;if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";- if (typeof r == "string") return hBe(r) ? r : "point";+ if (typeof r == "string") return _Be(r) ? r : "point";}};//#endregion//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js-function gBe(e, t) {+function vBe(e, t) {for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {var a = Math.floor((n + r) / 2);(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;}return n;}-function F$(e, t) {+function P$(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 = gBe(r, e);+ var t = vBe(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;@@ -72283,12 +72303,12 @@ function F$(e, t) {}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js-function _Be(e) {- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : F$(e, void 0);+function yBe(e) {+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : P$(e, void 0);}//#endregion//#region node_modules/recharts/es6/state/selectors/axisSelectors.js-function I$(e, t) {+function F$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -72298,30 +72318,30 @@ function I$(e, t) {}return n;}-function L$(e) {+function I$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? I$(Object(n), !0).forEach(function(t) {- vBe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I$(Object(n)).forEach(function(t) {+ t % 2 ? F$(Object(n), !0).forEach(function(t) {+ bBe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function vBe(e, t, n) {- return (t = yBe(t)) in e ? Object.defineProperty(e, t, {+function bBe(e, t, n) {+ return (t = xBe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function yBe(e) {- var t = bBe(e, "string");+function xBe(e) {+ var t = SBe(e, "string");return typeof t == "symbol" ? t : t + "";}-function bBe(e, t) {+function SBe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -72331,25 +72351,25 @@ function bBe(e, t) {}return (t === "string" ? String : Number)(e);}-function R$(e, t) {- return wBe(e) || CBe(e, t) || SBe(e, t) || xBe();+function L$(e, t) {+ return EBe(e) || TBe(e, t) || wBe(e, t) || CBe();}-function xBe() {+function CBe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function SBe(e, t) {+function wBe(e, t) {if (e) {- if (typeof e == "string") return z$(e, t);+ if (typeof e == "string") return R$(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? z$(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? R$(e, t) : void 0;}}-function z$(e, t) {+function R$(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function CBe(e, t) {+function TBe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -72370,10 +72390,10 @@ function CBe(e, t) {return s;}}-function wBe(e) {+function EBe(e) {if (Array.isArray(e)) return e;}-var B$ = [0, "auto"], V$ = {+var z$ = [0, "auto"], B$ = {allowDataOverflow: !1,allowDecimals: !0,allowDuplicatedCategory: !0,@@ -72402,13 +72422,13 @@ var B$ = [0, "auto"], V$ = {type: "category",unit: void 0,niceTicks: "auto"-}, H$ = (e, t) => e.cartesianAxis.xAxis[t], U$ = (e, t) => H$(e, t) ?? V$, W$ = {+}, V$ = (e, t) => e.cartesianAxis.xAxis[t], H$ = (e, t) => V$(e, t) ?? B$, U$ = {allowDataOverflow: !1,allowDecimals: !0,allowDuplicatedCategory: !0,angle: 0,dataKey: void 0,- domain: B$,+ domain: z$,hide: !0,id: 0,includeHidden: !1,@@ -72431,7 +72451,7 @@ var B$ = [0, "auto"], V$ = {unit: void 0,niceTicks: "auto",width: 60-}, G$ = (e, t) => e.cartesianAxis.yAxis[t], K$ = (e, t) => G$(e, t) ?? W$, TBe = {+}, W$ = (e, t) => e.cartesianAxis.yAxis[t], G$ = (e, t) => W$(e, t) ?? U$, DBe = {domain: [0, "auto"],includeHidden: !1,reversed: !1,@@ -72444,31 +72464,31 @@ var B$ = [0, "auto"], V$ = {scale: "auto",type: "number",unit: ""-}, q$ = (e, t) => e.cartesianAxis.zAxis[t] ?? TBe, J$ = (e, t, n) => {+}, K$ = (e, t) => e.cartesianAxis.zAxis[t] ?? DBe, q$ = (e, t, n) => {switch (t) {- case "xAxis": return U$(e, n);- case "yAxis": return K$(e, n);- case "zAxis": return q$(e, n);- case "angleAxis": return rX(e, n);- case "radiusAxis": return iX(e, n);+ case "xAxis": return H$(e, n);+ case "yAxis": return G$(e, n);+ case "zAxis": return K$(e, n);+ case "angleAxis": return nX(e, n);+ case "radiusAxis": return rX(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, EBe = (e, t, n) => {+}, OBe = (e, t, n) => {switch (t) {- case "xAxis": return U$(e, n);- case "yAxis": return K$(e, n);+ case "xAxis": return H$(e, n);+ case "yAxis": return G$(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, Y$ = (e, t, n) => {+}, J$ = (e, t, n) => {switch (t) {- case "xAxis": return U$(e, n);- case "yAxis": return K$(e, n);- case "angleAxis": return rX(e, n);- case "radiusAxis": return iX(e, n);+ case "xAxis": return H$(e, n);+ case "yAxis": return G$(e, n);+ case "angleAxis": return nX(e, n);+ case "radiusAxis": return rX(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, X$ = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");-function Z$(e, t) {+}, Y$ = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");+function X$(e, t) {return (n) => {switch (e) {case "xAxis": return "xAxisId" in n && n.xAxisId === t;@@ -72480,254 +72500,254 @@ function Z$(e, t) {}};}-var Q$ = (e) => e.graphicalItems.cartesianItems, DBe = Y([fX, pX], Z$), $$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), e1 = Y([- Q$,- J$,- DBe-], $$, { memoizeOptions: { resultEqualityCheck: vX } }), t1 = Y([e1], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(gX)), n1 = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), OBe = Y([e1], n1), r1 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), kBe = Y([e1], (e) => e.some((e) => !e.data)), i1 = Y([e1], r1, { memoizeOptions: { resultEqualityCheck: vX } }), a1 = (e, t) => {+var Z$ = (e) => e.graphicalItems.cartesianItems, kBe = Y([dX, fX], X$), Q$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), $$ = Y([+ Z$,+ q$,+ kBe+], Q$, { memoizeOptions: { resultEqualityCheck: _X } }), e1 = Y([$$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(hX)), t1 = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), ABe = Y([$$], t1), n1 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), jBe = Y([$$], (e) => e.some((e) => !e.data)), r1 = Y([$$], n1, { memoizeOptions: { resultEqualityCheck: _X } }), i1 = (e, t) => {var n = t.chartData, r = n === void 0 ? [] : n, i = t.dataStartIndex, a = t.dataEndIndex;return e.length > 0 ? e : r.slice(i, a + 1);-}, o1 = Y([i1, bY], a1), s1 = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: nq(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: nq(e, t.dataKey) })), c1 = (e, t, n, r, i, a) => {- var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = s1(e, t, n);- return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: nq(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;-}, l1 = Y([- o1,- J$,- e1,- bY,- kBe,- i1-], c1);-function u1(e) {- if (CH(e) || e instanceof Date) {+}, a1 = Y([r1, yY], i1), o1 = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: tq(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: tq(e, t.dataKey) })), s1 = (e, t, n, r, i, a) => {+ var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = o1(e, t, n);+ return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: tq(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;+}, c1 = Y([+ a1,+ q$,+ $$,+ yY,+ jBe,+ r1+], s1);+function l1(e) {+ if (SH(e) || e instanceof Date) {var t = Number(e);- if (QK(t)) return t;+ if (ZK(t)) return t;}}-function d1(e) {+function u1(e) {if (Array.isArray(e)) {- var t = [u1(e[0]), u1(e[1])];- return wY(t) ? t : void 0;+ var t = [l1(e[0]), l1(e[1])];+ return CY(t) ? t : void 0;}- var n = u1(e);+ var n = l1(e);if (n != null) return [n, n];}-function f1(e) {- return e.map(u1).filter(jH);+function d1(e) {+ return e.map(l1).filter(AH);}-function ABe(e, t) {- var n = u1(e), r = u1(t);+function MBe(e, t) {+ var n = l1(e), r = l1(t);return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;}-var jBe = Y([l1], (e) => e?.map((e) => e.value).sort(ABe));-function p1(e, t) {+var NBe = Y([c1], (e) => e?.map((e) => e.value).sort(MBe));+function f1(e, t) {switch (e) {case "xAxis": return t.direction === "x";case "yAxis": return t.direction === "y";default: return !1;}}-function MBe(e, t, n) {+function PBe(e, t, n) {if (!n || !n.length) return [];var r;- if (typeof t == "number" && !xH(t)) r = t;+ if (typeof t == "number" && !bH(t)) r = t;else if (Array.isArray(t)) {- var i = f1(t);+ var i = d1(t);i.length > 0 && (r = Math.max(...i));}- return r == null ? [] : f1(n.flatMap((t) => {- var n = nq(e, t.dataKey), i, a;+ return r == null ? [] : d1(n.flatMap((t) => {+ var n = tq(e, t.dataKey), i, a;if (Array.isArray(n)) {- var o = R$(n, 2);+ var o = L$(n, 2);i = o[0], a = o[1];} else i = a = n;- if (QK(i) && QK(a)) return [r - i, r + a];+ if (ZK(i) && ZK(a)) return [r - i, r + a];}));}-var m1 = (e) => Y$(e, yX(e), bX(e)), h1 = Y([m1], (e) => e?.dataKey), NBe = Y([- t1,- bY,- m1-], hX), g1 = (e, t, n, r) => {+var p1 = (e) => J$(e, vX(e), yX(e)), m1 = Y([p1], (e) => e?.dataKey), FBe = Y([+ e1,+ yY,+ p1+], mX), h1 = (e, t, n, r) => {var i = t.reduce((e, t) => {if (t.stackId == null) return e;var n = e[t.stackId];return n ??= [], n.push(t), e[t.stackId] = n, e;}, {});return Object.fromEntries(Object.entries(i).map((t) => {- var i = R$(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;+ var i = L$(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;return [a, {- stackedData: KNe(e, s.map(mX), n),+ stackedData: JNe(e, s.map(pX), n),graphicalItems: s}];}));-}, _1 = Y([- NBe,- t1,- HY,- UY-], g1), v1 = (e, t, n, r) => {+}, g1 = Y([+ FBe,+ e1,+ VY,+ HY+], h1), _1 = (e, t, n, r) => {var i = t.dataStartIndex, a = t.dataEndIndex;- if (r == null && n !== "zAxis") return YNe(e, i, a);-}, PBe = Y([J$], (e) => e.allowDataOverflow), y1 = (e) => {- if (e == null || !("domain" in e)) return B$;+ if (r == null && n !== "zAxis") return ZNe(e, i, a);+}, IBe = Y([q$], (e) => e.allowDataOverflow), v1 = (e) => {+ if (e == null || !("domain" in e)) return z$;if (e.domain != null) return e.domain;if ("ticks" in e && e.ticks != null) {if (e.type === "number") {- var t = f1(e.ticks);+ var t = d1(e.ticks);return [Math.min(...t), Math.max(...t)];}if (e.type === "category") return e.ticks.map(String);}- return e?.domain ?? B$;-}, b1 = Y([J$], y1), x1 = Y([b1, PBe], EY), FBe = Y([- _1,- vY,- fX,- x1-], v1, { memoizeOptions: { resultEqualityCheck: _X } }), S1 = (e) => e.errorBars, IBe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => p1(n, e)), C1 = function() {+ return e?.domain ?? z$;+}, y1 = Y([q$], v1), b1 = Y([y1, IBe], TY), LBe = Y([+ g1,+ _Y,+ dX,+ b1+], _1, { memoizeOptions: { resultEqualityCheck: gX } }), x1 = (e) => e.errorBars, RBe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => f1(n, e)), S1 = function() {var e = [...arguments].filter(Boolean);if (e.length !== 0) {var t = e.flat();return [Math.min(...t), Math.max(...t)];}-}, w1 = function(e, t, n, r, i) {+}, C1 = function(e, t, n, r, i) {var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : [], o, s;if (n.length > 0 && n.forEach((e) => {- var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => p1(i, e));+ var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => f1(i, e));n.forEach((n) => {- var r = nq(n, t.dataKey ?? e.dataKey), i = MBe(n, r, c);+ var r = tq(n, t.dataKey ?? e.dataKey), i = PBe(n, r, c);if (i.length >= 2) {var a = Math.min(...i), l = Math.max(...i);(o == null || a < o) && (o = a), (s == null || l > s) && (s = l);}- var u = d1(r);+ var u = u1(r);u != null && (o = o == null ? u[0] : Math.min(o, u[0]), s = s == null ? u[1] : Math.max(s, u[1]));});}), t?.dataKey != null && n.length === 0 && e.forEach((e) => {- var n = d1(nq(e, t.dataKey));+ var n = u1(tq(e, t.dataKey));n != null && (o = o == null ? n[0] : Math.min(o, n[0]), s = s == null ? n[1] : Math.max(s, n[1]));- }), QK(o) && QK(s)) return [o, s];-}, LBe = Y([- o1,- J$,- OBe,- S1,- fX,- TLe-], w1, { memoizeOptions: { resultEqualityCheck: _X } });-function RBe(e) {+ }), ZK(o) && ZK(s)) return [o, s];+}, zBe = Y([+ a1,+ q$,+ ABe,+ x1,+ dX,+ DLe+], C1, { memoizeOptions: { resultEqualityCheck: gX } });+function BBe(e) {var t = e.value;- if (CH(t) || t instanceof Date) return t;-}-var zBe = (e, t, n) => {- var r = e.map(RBe).filter((e) => e != null);- return n && (t.dataKey == null || t.allowDuplicatedCategory && EH(r)) ? _Y(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));-}, T1 = (e) => e.referenceElements.dots, E1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), BBe = Y([- T1,- fX,- pX-], E1), D1 = (e) => e.referenceElements.areas, VBe = Y([+ if (SH(t) || t instanceof Date) return t;+}+var VBe = (e, t, n) => {+ var r = e.map(BBe).filter((e) => e != null);+ return n && (t.dataKey == null || t.allowDuplicatedCategory && TH(r)) ? gY(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));+}, w1 = (e) => e.referenceElements.dots, T1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), HBe = Y([+ w1,+ dX,+ fX+], T1), E1 = (e) => e.referenceElements.areas, UBe = Y([+ E1,+ dX,+ fX+], T1), D1 = (e) => e.referenceElements.lines, WBe = Y([D1,- fX,- pX-], E1), O1 = (e) => e.referenceElements.lines, HBe = Y([- O1,- fX,- pX-], E1), k1 = (e, t) => {+ dX,+ fX+], T1), O1 = (e, t) => {if (e != null) {- var n = f1(e.map((e) => t === "xAxis" ? e.x : e.y));+ var n = d1(e.map((e) => t === "xAxis" ? e.x : e.y));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, UBe = Y(BBe, fX, k1), A1 = (e, t) => {+}, GBe = Y(HBe, dX, O1), k1 = (e, t) => {if (e != null) {- var n = f1(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));+ var n = d1(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)];}-}, WBe = Y([VBe, fX], A1);-function GBe(e) {- if (e.x != null) return f1([e.x]);+}, KBe = Y([UBe, dX], k1);+function qBe(e) {+ if (e.x != null) return d1([e.x]);var t = e.segment?.map((e) => e.x);- return t == null || t.length === 0 ? [] : f1(t);+ return t == null || t.length === 0 ? [] : d1(t);}-function KBe(e) {- if (e.y != null) return f1([e.y]);+function JBe(e) {+ if (e.y != null) return d1([e.y]);var t = e.segment?.map((e) => e.y);- return t == null || t.length === 0 ? [] : f1(t);+ return t == null || t.length === 0 ? [] : d1(t);}-var j1 = (e, t) => {+var A1 = (e, t) => {if (e != null) {- var n = e.flatMap((e) => t === "xAxis" ? GBe(e) : KBe(e));+ var n = e.flatMap((e) => t === "xAxis" ? qBe(e) : JBe(e));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, qBe = Y(UBe, Y([HBe, fX], j1), WBe, (e, t, n) => C1(e, n, t)), M1 = (e, t, n, r, i, a, o, s, c) => {+}, YBe = Y(GBe, Y([WBe, dX], A1), KBe, (e, t, n) => S1(e, n, t)), j1 = (e, t, n, r, i, a, o, s, c) => {if (n != null) return n;- var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? C1(r, a, i) : C1(a, i), u = MLe(t, l, e.allowDataOverflow);+ var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? S1(r, a, i) : S1(a, i), u = PLe(t, l, e.allowDataOverflow);return u == null && e.allowDataOverflow && l == null && c != null ? c : u;-}, JBe = Y([- J$,+}, XBe = Y([+ q$,+ y1,b1,- x1,- FBe,LBe,- qBe,- Wq,- fX,- Y([J$], (e) => {+ zBe,+ YBe,+ Uq,+ dX,+ Y([q$], (e) => {if (e != null && e.type === "number" && "ticks" in e && e.ticks != null) {- var t = f1(e.ticks);+ var t = d1(e.ticks);if (t.length !== 0) return [Math.min(...t), Math.max(...t)];}- }, { memoizeOptions: { resultEqualityCheck: _X } })-], M1, { memoizeOptions: { resultEqualityCheck: _X } }), YBe = [0, 1], N1 = (e, t, n, r, i, a, o) => {+ }, { memoizeOptions: { resultEqualityCheck: gX } })+], j1, { memoizeOptions: { resultEqualityCheck: gX } }), ZBe = [0, 1], M1 = (e, t, n, r, i, a, o) => {if (e != null && n != null && n.length !== 0 || o !== void 0) {- var s = e.dataKey, c = e.type, l = rq(t, a);- return l && s == null ? _Y(0, n?.length ?? 0) : c === "category" ? zBe(r, e, l) : i === "expand" && !l ? YBe : o;- }-}, P1 = Y([- J$,- Wq,- o1,- l1,- HY,- fX,- JBe-], N1), F1 = Y([- J$,- X$,- WY-], P$), I1 = (e, t, n) => {+ var s = e.dataKey, c = e.type, l = nq(t, a);+ return l && s == null ? gY(0, n?.length ?? 0) : c === "category" ? VBe(r, e, l) : i === "expand" && !l ? ZBe : o;+ }+}, N1 = Y([+ q$,+ Uq,+ a1,+ c1,+ VY,+ dX,+ XBe+], M1), P1 = Y([+ q$,+ Y$,+ UY+], N$), F1 = (e, t, n) => {var r = t.niceTicks;if (r !== "none") {- var i = y1(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && wY(e)) {- if (a) return IY(e, t.tickCount, t.allowDecimals, r);- if (t.type === "number") return LY(e, t.tickCount, t.allowDecimals, r);+ var i = v1(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && CY(e)) {+ if (a) return FY(e, t.tickCount, t.allowDecimals, r);+ if (t.type === "number") return IY(e, t.tickCount, t.allowDecimals, r);}if (r === "auto" && n === "linear" && t != null && t.tickCount) {- if (a && wY(e)) return IY(e, t.tickCount, t.allowDecimals, "adaptive");- if (t.type === "number" && wY(e)) return LY(e, t.tickCount, t.allowDecimals, "adaptive");+ if (a && CY(e)) return FY(e, t.tickCount, t.allowDecimals, "adaptive");+ if (t.type === "number" && CY(e)) return IY(e, t.tickCount, t.allowDecimals, "adaptive");}}-}, L1 = Y([- P1,- Y$,- F1-], I1), R1 = (e, t, n, r) => {- if (r !== "angleAxis" && e?.type === "number" && wY(t) && Array.isArray(n) && n.length > 0) {+}, I1 = Y([+ N1,+ J$,+ P1+], F1), L1 = (e, t, n, r) => {+ if (r !== "angleAxis" && e?.type === "number" && CY(t) && Array.isArray(n) && n.length > 0) {var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;return [Math.min(i, a), Math.max(o, s)];}return t;-}, XBe = Y([- J$,- P1,- L1,- fX-], R1), z1 = Y(Y(l1, J$, (e, t) => {+}, QBe = Y([+ q$,+ N1,+ I1,+ dX+], L1), R1 = Y(Y(c1, q$, (e, t) => {if (t && t.type === "number") {- var n = Infinity, r = Array.from(f1(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];+ var n = Infinity, r = Array.from(d1(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];if (i == null || a == null) return Infinity;var o = a - i;if (o === 0) return Infinity;@@ -72740,22 +72760,22 @@ var j1 = (e, t) => {}return n / o;}-}), Wq, BY, Cq, (e, t, n, r, i) => i, (e, t, n, r, i) => {- if (!QK(e)) return 0;+}), Uq, zY, Sq, (e, t, n, r, i) => i, (e, t, n, r, i) => {+ if (!ZK(e)) return 0;var a = t === "vertical" ? r.height : r.width;if (i === "gap") return e * a / 2;if (i === "no-gap") {- var o = TH(n, e * a), s = e * a / 2;+ var o = wH(n, e * a), s = e * a / 2;return s - o - (s - o) / a * o;}return 0;-}), ZBe = (e, t, n) => {- var r = U$(e, t);- return r == null || typeof r.padding != "string" ? 0 : z1(e, "xAxis", t, n, r.padding);-}, QBe = (e, t, n) => {- var r = K$(e, t);- return r == null || typeof r.padding != "string" ? 0 : z1(e, "yAxis", t, n, r.padding);-}, $Be = Y(U$, ZBe, (e, t) => {+}), $Be = (e, t, n) => {+ var r = H$(e, t);+ return r == null || typeof r.padding != "string" ? 0 : R1(e, "xAxis", t, n, r.padding);+}, eVe = (e, t, n) => {+ var r = G$(e, t);+ return r == null || typeof r.padding != "string" ? 0 : R1(e, "yAxis", t, n, r.padding);+}, tVe = Y(H$, $Be, (e, t) => {if (e == null) return {left: 0,right: 0@@ -72768,7 +72788,7 @@ var j1 = (e, t) => {left: (n.left ?? 0) + t,right: (n.right ?? 0) + t};-}), eVe = Y(K$, QBe, (e, t) => {+}), nVe = Y(G$, eVe, (e, t) => {if (e == null) return {top: 0,bottom: 0@@ -72781,101 +72801,101 @@ var j1 = (e, t) => {top: (n.top ?? 0) + t,bottom: (n.bottom ?? 0) + t};-}), B1 = Y([- Cq,- $Be,- Oq,+}), z1 = Y([+ Sq,+ tVe,Dq,+ Eq,(e, t, n) => n], (e, t, n, r, i) => {var a = r.padding;return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];-}), V1 = Y([- Cq,- Wq,- eVe,- Oq,+}), B1 = Y([+ Sq,+ Uq,+ nVe,Dq,+ Eq,(e, t, n) => n], (e, t, n, r, i, a) => {var o = i.padding;return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];-}), H1 = (e, t, n, r) => {+}), V1 = (e, t, n, r) => {switch (t) {- case "xAxis": return B1(e, n, r);- case "yAxis": return V1(e, n, r);- case "zAxis": return q$(e, n)?.range;- case "angleAxis": return lX(e);- case "radiusAxis": return uX(e, n);+ case "xAxis": return z1(e, n, r);+ case "yAxis": return B1(e, n, r);+ case "zAxis": return K$(e, n)?.range;+ case "angleAxis": return cX(e);+ case "radiusAxis": return lX(e, n);default: return;}-}, U1 = Y([J$, H1], ZY), W1 = Y([- J$,- F1,- Y([F1, XBe], SX),- U1-], N$), G1 = (e, t, n, r) => {+}, H1 = Y([q$, V1], XY), U1 = Y([+ q$,+ P1,+ Y([P1, QBe], xX),+ H1+], M$), W1 = (e, t, n, r) => {if (n != null && n.dataKey != null) {var i = n.type, a = n.scale;- if (rq(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);+ if (nq(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);}-}, K1 = Y([- Wq,- l1,- Y$,- fX-], G1), q1 = Y([W1], xX);-Y([W1], _Be), Y([W1, jBe], F$), Y([- e1,- S1,- fX-], IBe);-function J1(e, t) {+}, G1 = Y([+ Uq,+ c1,+ J$,+ dX+], W1), K1 = Y([U1], bX);+Y([U1], yBe), Y([U1, NBe], P$), Y([+ $$,+ x1,+ dX+], RBe);+function q1(e, t) {return e.id < t.id ? -1 : +(e.id > t.id);}-var Y1 = (e, t) => t, X1 = (e, t, n) => n, tVe = Y(yq, Y1, X1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(J1)), nVe = Y(bq, Y1, X1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(J1)), Z1 = (e, t) => {+var J1 = (e, t) => t, Y1 = (e, t, n) => n, rVe = Y(vq, J1, Y1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(q1)), iVe = Y(yq, J1, Y1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(q1)), X1 = (e, t) => {var n = typeof t.height == "number" ? t.height : 30;return {width: e.width,height: n};-}, rVe = (e, t) => ({+}, aVe = (e, t) => ({width: typeof t.width == "number" ? t.width : 60,height: e.height-}), Q1 = Y(Cq, U$, Z1), iVe = (e, t, n) => {+}), Z1 = Y(Sq, H$, X1), oVe = (e, t, n) => {switch (t) {case "top": return e.top;case "bottom": return n - e.bottom;default: return 0;}-}, aVe = (e, t, n) => {+}, sVe = (e, t, n) => {switch (t) {case "left": return e.left;case "right": return n - e.right;default: return 0;}-}, oVe = Y(_q, Cq, tVe, Y1, X1, (e, t, n, r, i) => {+}, cVe = Y(gq, Sq, rVe, J1, Y1, (e, t, n, r, i) => {var a = {}, o;return n.forEach((n) => {- var s = Z1(t, n);- o ??= iVe(t, r, e);+ var s = X1(t, n);+ o ??= oVe(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;-}), sVe = Y(gq, Cq, nVe, Y1, X1, (e, t, n, r, i) => {+}), lVe = Y(hq, Sq, iVe, J1, Y1, (e, t, n, r, i) => {var a = {}, o;return n.forEach((n) => {- var s = rVe(t, n);- o ??= aVe(t, r, e);+ var s = aVe(t, n);+ o ??= sVe(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;-}), cVe = Y([- Cq,- U$,+}), uVe = Y([+ Sq,+ H$,(e, t) => {- var n = U$(e, t);- if (n != null) return oVe(e, n.orientation, n.mirror);+ var n = H$(e, t);+ if (n != null) return cVe(e, n.orientation, n.mirror);},(e, t) => t], (e, t, n, r) => {@@ -72889,12 +72909,12 @@ var Y1 = (e, t) => t, X1 = (e, t, n) => n, tVe = Y(yq, Y1, X1, (e, t, n) => e.fiy: i};}-}), lVe = Y([- Cq,- K$,+}), dVe = Y([+ Sq,+ G$,(e, t) => {- var n = K$(e, t);- if (n != null) return sVe(e, n.orientation, n.mirror);+ var n = G$(e, t);+ if (n != null) return lVe(e, n.orientation, n.mirror);},(e, t) => t], (e, t, n, r) => {@@ -72908,38 +72928,38 @@ var Y1 = (e, t) => t, X1 = (e, t, n) => n, tVe = Y(yq, Y1, X1, (e, t, n) => e.fiy: e.top};}-}), $1 = Y(Cq, K$, (e, t) => ({+}), Q1 = Y(Sq, G$, (e, t) => ({width: typeof t.width == "number" ? t.width : 60,height: e.height-})), e0 = (e, t, n) => {+})), $1 = (e, t, n) => {switch (t) {- case "xAxis": return Q1(e, n).width;- case "yAxis": return $1(e, n).height;+ case "xAxis": return Z1(e, n).width;+ case "yAxis": return Q1(e, n).height;default: return;}-}, t0 = (e, t, n, r) => {+}, e0 = (e, t, n, r) => {if (n != null) {- var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = rq(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);- if (o && s && a === "category" && i && EH(l)) return c;+ var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = nq(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);+ if (o && s && a === "category" && i && TH(l)) return c;}-}, n0 = Y([- Wq,- l1,- J$,- fX-], t0), r0 = Y([- Wq,- EBe,- F1,- q1,- n0,+}, t0 = Y([+ Uq,+ c1,+ q$,+ dX+], e0), n0 = Y([+ Uq,+ OBe,+ P1,K1,- H1,- L1,- fX+ t0,+ G1,+ V1,+ I1,+ dX], (e, t, n, r, i, a, o, s, c) => {if (t != null) {- var l = rq(e, c);+ var l = nq(e, c);return {angle: t.angle,interval: t.interval,@@ -72961,107 +72981,107 @@ var Y1 = (e, t) => t, X1 = (e, t, n) => n, tVe = Y(yq, Y1, X1, (e, t, n) => e.fiscale: r};}-}), i0 = (e, t, n, r, i, a, o, s, c) => {+}), r0 = (e, t, n, r, i, a, o, s, c) => {if (t != null && r != null) {- var l = rq(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;- m = c === "angleAxis" && a != null && a.length >= 2 ? bH(a[0] - a[1]) * 2 * m : m;+ var l = nq(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;+ m = c === "angleAxis" && a != null && a.length >= 2 ? yH(a[0] - a[1]) * 2 * m : m;var h = d || i;return h ? h.map((e, t) => {var n = o ? o.indexOf(e) : e, i = r.map(n);- return QK(i) ? {+ return ZK(i) ? {index: t,coordinate: i + m,value: e,offset: m} : null;- }).filter(jH) : l && s ? s.map((e, t) => {+ }).filter(AH) : l && s ? s.map((e, t) => {var n = r.map(e);- return QK(n) ? {+ return ZK(n) ? {coordinate: n + m,value: e,index: t,offset: m} : null;- }).filter(jH) : r.ticks ? r.ticks(f).map((e, t) => {+ }).filter(AH) : r.ticks ? r.ticks(f).map((e, t) => {var n = r.map(e);- return QK(n) ? {+ return ZK(n) ? {coordinate: n + m,value: e,index: t,offset: m} : null;- }).filter(jH) : r.domain().map((e, t) => {+ }).filter(AH) : r.domain().map((e, t) => {var n = r.map(e);- return QK(n) ? {+ return ZK(n) ? {coordinate: n + m,value: o ? o[e] : e,index: t,offset: m} : null;- }).filter(jH);+ }).filter(AH);}-}, a0 = Y([- Wq,- Y$,- F1,- q1,- L1,- H1,- n0,+}, i0 = Y([+ Uq,+ J$,+ P1,K1,- fX-], i0), o0 = (e, t, n, r, i, a, o) => {+ I1,+ V1,+ t0,+ G1,+ dX+], r0), a0 = (e, t, n, r, i, a, o) => {if (t != null && n != null && r != null && r[0] !== r[1]) {- var s = rq(e, o), c = t.tickCount, l = 0;- return l = o === "angleAxis" && r?.length >= 2 ? bH(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {+ var s = nq(e, o), c = t.tickCount, l = 0;+ return l = o === "angleAxis" && r?.length >= 2 ? yH(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {var r = n.map(e);- return QK(r) ? {+ return ZK(r) ? {coordinate: r + l,value: e,index: t,offset: l} : null;- }).filter(jH) : n.ticks ? n.ticks(c).map((e, t) => {+ }).filter(AH) : n.ticks ? n.ticks(c).map((e, t) => {var r = n.map(e);- return QK(r) ? {+ return ZK(r) ? {coordinate: r + l,value: e,index: t,offset: l} : null;- }).filter(jH) : n.domain().map((e, t) => {+ }).filter(AH) : n.domain().map((e, t) => {var r = n.map(e);- return QK(r) ? {+ return ZK(r) ? {coordinate: r + l,value: i ? i[e] : e,index: t,offset: l} : null;- }).filter(jH);+ }).filter(AH);}-}, s0 = Y([- Wq,- Y$,- q1,- H1,- n0,+}, o0 = Y([+ Uq,+ J$,K1,- fX-], o0), c0 = Y(J$, q1, (e, t) => {- if (e != null && t != null) return L$(L$({}, e), {}, { scale: t });+ V1,+ t0,+ G1,+ dX+], a0), s0 = Y(q$, K1, (e, t) => {+ if (e != null && t != null) return I$(I$({}, e), {}, { scale: t });});-Y((e, t, n) => q$(e, n), Y([Y([- J$,- F1,+Y((e, t, n) => K$(e, n), Y([Y([+ q$,P1,- U1-], N$)], xX), (e, t) => {- if (e != null && t != null) return L$(L$({}, e), {}, { scale: t });+ N1,+ H1+], M$)], bX), (e, t) => {+ if (e != null && t != null) return I$(I$({}, e), {}, { scale: t });});-var uVe = Y([- Wq,- yq,- bq+var fVe = Y([+ Uq,+ vq,+ yq], (e, t, n) => {switch (e) {case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";@@ -73083,41 +73103,41 @@ Y([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {});//#endregion//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js-var l0 = (e) => e.options.defaultTooltipEventType, u0 = (e) => e.options.validateTooltipEventTypes;-function d0(e, t, n) {+var c0 = (e) => e.options.defaultTooltipEventType, l0 = (e) => e.options.validateTooltipEventTypes;+function u0(e, t, n) {if (e == null) return t;var r = e ? "axis" : "item";return n == null ? t : n.includes(r) ? r : t;}-function f0(e, t) {- return d0(t, l0(e), u0(e));+function d0(e, t) {+ return u0(t, c0(e), l0(e));}-function dVe(e) {- return J((t) => f0(t, e));+function pVe(e) {+ return J((t) => d0(t, e));}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js-var p0 = (e, t) => {+var f0 = (e, t) => {var n, r = Number(t);- if (!(xH(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;-}, fVe = (e) => e.tooltip.settings, m0 = {+ if (!(bH(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;+}, mVe = (e) => e.tooltip.settings, p0 = {active: !1,index: null,dataKey: void 0,graphicalItemId: void 0,coordinate: void 0-}, h0 = SK({+}, m0 = xK({name: "tooltip",initialState: {itemInteraction: {- click: m0,- hover: m0+ click: p0,+ hover: p0},axisInteraction: {- click: m0,- hover: m0+ click: p0,+ hover: p0},- keyboardInteraction: m0,+ keyboardInteraction: p0,syncInteraction: {active: !1,index: null,@@ -73139,23 +73159,23 @@ var p0 = (e, t) => {reducers: {addTooltipEntrySettings: {reducer(e, t) {- e.tooltipItemPayloads.push(dK(t.payload));+ e.tooltipItemPayloads.push(uK(t.payload));},- prepare: vK()+ prepare: _K()},replaceTooltipEntrySettings: {reducer(e, t) {- var n = t.payload, r = n.prev, i = n.next, a = cK(e).tooltipItemPayloads.indexOf(dK(r));- a > -1 && (e.tooltipItemPayloads[a] = dK(i));+ var n = t.payload, r = n.prev, i = n.next, a = sK(e).tooltipItemPayloads.indexOf(uK(r));+ a > -1 && (e.tooltipItemPayloads[a] = uK(i));},- prepare: vK()+ prepare: _K()},removeTooltipEntrySettings: {reducer(e, t) {- var n = cK(e).tooltipItemPayloads.indexOf(dK(t.payload));+ var n = sK(e).tooltipItemPayloads.indexOf(uK(t.payload));n > -1 && e.tooltipItemPayloads.splice(n, 1);},- prepare: vK()+ prepare: _K()},setTooltipSettingsState(e, t) {e.settings = t.payload;@@ -73185,10 +73205,10 @@ var p0 = (e, t) => {e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;}}-}), g0 = h0.actions, pVe = g0.addTooltipEntrySettings, mVe = g0.replaceTooltipEntrySettings, hVe = g0.removeTooltipEntrySettings, gVe = g0.setTooltipSettingsState, _0 = g0.setActiveMouseOverItemIndex, _Ve = g0.mouseLeaveItem, v0 = g0.mouseLeaveChart, vVe = g0.setActiveClickItemIndex, y0 = g0.setMouseOverAxisIndex, yVe = g0.setMouseClickAxisIndex, b0 = g0.setSyncInteraction, x0 = g0.setKeyboardInteraction, bVe = h0.reducer;+}), h0 = m0.actions, hVe = h0.addTooltipEntrySettings, gVe = h0.replaceTooltipEntrySettings, _Ve = h0.removeTooltipEntrySettings, vVe = h0.setTooltipSettingsState, g0 = h0.setActiveMouseOverItemIndex, yVe = h0.mouseLeaveItem, _0 = h0.mouseLeaveChart, bVe = h0.setActiveClickItemIndex, v0 = h0.setMouseOverAxisIndex, xVe = h0.setMouseClickAxisIndex, y0 = h0.setSyncInteraction, b0 = h0.setKeyboardInteraction, SVe = m0.reducer;//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js-function S0(e, t) {+function x0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -73198,30 +73218,30 @@ function S0(e, t) {}return n;}-function C0(e) {+function S0(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) {- xVe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S0(Object(n)).forEach(function(t) {+ t % 2 ? x0(Object(n), !0).forEach(function(t) {+ CVe(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 xVe(e, t, n) {- return (t = SVe(t)) in e ? Object.defineProperty(e, t, {+function CVe(e, t, n) {+ return (t = wVe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function SVe(e) {- var t = CVe(e, "string");+function wVe(e) {+ var t = TVe(e, "string");return typeof t == "symbol" ? t : t + "";}-function CVe(e, t) {+function TVe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -73231,22 +73251,22 @@ function CVe(e, t) {}return (t === "string" ? String : Number)(e);}-function wVe(e, t, n) {+function EVe(e, t, n) {return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;}-function TVe(e) {+function DVe(e) {return e.index != null;}-var w0 = (e, t, n, r) => {- if (t == null) return m0;- var i = wVe(e, t, n);- if (i == null) return m0;+var C0 = (e, t, n, r) => {+ if (t == null) return p0;+ var i = EVe(e, t, n);+ if (i == null) return p0;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 (TVe(i)) {- if (a) return C0(C0({}, i), {}, { active: !0 });+ if (DVe(i)) {+ if (a) return S0(S0({}, i), {}, { active: !0 });} else if (r != null) return {active: !0,coordinate: void 0,@@ -73254,11 +73274,11 @@ var w0 = (e, t, n, r) => {index: r,graphicalItemId: void 0};- return C0(C0({}, m0), {}, { coordinate: i.coordinate });+ return S0(S0({}, p0), {}, { coordinate: i.coordinate });};//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js-function EVe(e) {+function OVe(e) {if (typeof e == "number") return Number.isFinite(e) ? e : void 0;if (e instanceof Date) {var t = e.valueOf();@@ -73267,25 +73287,25 @@ function EVe(e) {var n = Number(e);return Number.isFinite(n) ? n : void 0;}-function DVe(e, t) {- var n = EVe(e), r = t[0], i = t[1];+function kVe(e, t) {+ var n = OVe(e), r = t[0], i = t[1];return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);}-function OVe(e, t, n) {+function AVe(e, t, n) {if (n == null || t == null) return !0;- var r = nq(e, t);- return r == null || !wY(n) || DVe(r, n);+ var r = tq(e, t);+ return r == null || !CY(n) || kVe(r, n);}-var T0 = (e, t, n, r) => {+var w0 = (e, t, n, r) => {var i = e?.index;if (i == null) return null;var a = Number(i);- if (!QK(a)) return i;+ if (!ZK(a)) return i;var o = 0, s = Infinity;t.length > 0 && (s = t.length - 1);var c = Math.max(o, Math.min(a, s)), l = t[c];- return l == null || OVe(l, n, r) ? String(c) : null;-}, E0 = (e, t, n, r, i, a, o) => {+ return l == null || AVe(l, n, r) ? String(c) : null;+}, T0 = (e, t, n, r, i, a, o) => {if (a != null) {var s = o[0]?.getPosition(a);if (s != null) return s;@@ -73301,7 +73321,7 @@ var T0 = (e, t, n, r) => {};}}-}, D0 = (e, t, n, r) => {+}, E0 = (e, t, n, r) => {if (t === "axis") return e.tooltipItemPayloads;if (e.tooltipItemPayloads.length === 0) return [];var i = n === "hover" ? e.itemInteraction.hover.graphicalItemId : e.itemInteraction.click.graphicalItemId;@@ -73311,10 +73331,10 @@ var T0 = (e, t, n, r) => {return a == null ? [] : [a];}return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);-}, O0 = (e) => e.options.tooltipPayloadSearcher, k0 = (e) => e.tooltip;+}, D0 = (e) => e.options.tooltipPayloadSearcher, O0 = (e) => e.tooltip;//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js-function A0(e, t) {+function k0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -73324,30 +73344,30 @@ function A0(e, t) {}return n;}-function j0(e) {+function A0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? A0(Object(n), !0).forEach(function(t) {- kVe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A0(Object(n)).forEach(function(t) {+ t % 2 ? k0(Object(n), !0).forEach(function(t) {+ jVe(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 kVe(e, t, n) {- return (t = AVe(t)) in e ? Object.defineProperty(e, t, {+function jVe(e, t, n) {+ return (t = MVe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function AVe(e) {- var t = jVe(e, "string");+function MVe(e) {+ var t = NVe(e, "string");return typeof t == "symbol" ? t : t + "";}-function jVe(e, t) {+function NVe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -73357,226 +73377,226 @@ function jVe(e, t) {}return (t === "string" ? String : Number)(e);}-function MVe(e) {+function PVe(e) {if (typeof e == "string" || typeof e == "number") return e;}-function NVe(e) {+function FVe(e) {if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;}-function PVe(e) {+function IVe(e) {if (typeof e == "string" || typeof e == "number") return e;if (typeof e == "function") return (t) => e(t);}-function M0(e) {+function j0(e) {if (typeof e == "string") return e;}-function FVe(e) {+function LVe(e) {if (typeof e == "object" && e) return {- name: "name" in e ? MVe(e.name) : void 0,- unit: "unit" in e ? NVe(e.unit) : void 0,- dataKey: "dataKey" in e ? PVe(e.dataKey) : void 0,+ name: "name" in e ? PVe(e.name) : void 0,+ unit: "unit" in e ? FVe(e.unit) : void 0,+ dataKey: "dataKey" in e ? IVe(e.dataKey) : void 0,payload: "payload" in e ? e.payload : void 0,- color: "color" in e ? M0(e.color) : void 0,- fill: "fill" in e ? M0(e.fill) : void 0+ color: "color" in e ? j0(e.color) : void 0,+ fill: "fill" in e ? j0(e.fill) : void 0};}-function IVe(e, t) {+function RVe(e, t) {return e ?? t;}-var N0 = (e, t, n, r, i, a, o) => {+var M0 = (e, t, n, r, i, a, o) => {if (t != null && a != null) {var s = n.chartData, c = n.computedData, l = n.dataStartIndex, u = n.dataEndIndex;return e.reduce((e, n) => {- var d = n.dataDefinedOnItem, f = n.settings, p = IVe(d, s), m = Array.isArray(p) ? ZK(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;- return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = OH(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {- var n = FVe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = j0(j0({}, f), {}, {+ var d = n.dataDefinedOnItem, f = n.settings, p = RVe(d, s), m = Array.isArray(p) ? XK(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;+ return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = DH(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {+ var n = LVe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = A0(A0({}, f), {}, {name: r,unit: n?.unit,color: n?.color ?? f?.color,fill: n?.fill ?? f?.fill});- e.push(mq({+ e.push(pq({tooltipEntrySettings: o,dataKey: i,payload: a,- value: nq(a, i),+ value: tq(a, i),name: r == null ? void 0 : String(r)}));- }) : e.push(mq({+ }) : e.push(pq({tooltipEntrySettings: f,dataKey: h,payload: _,- value: nq(_, h),- name: nq(_, g) ?? f?.name+ value: tq(_, h),+ name: tq(_, g) ?? f?.name})), e;}, []);}-}, P0 = Y([- m1,- X$,- WY-], P$), F0 = Y([+}, N0 = Y([+ p1,+ Y$,+ UY+], N$), P0 = Y([Y([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),- m1,- Y([yX, bX], Z$)-], $$, { memoizeOptions: { resultEqualityCheck: vX } }), LVe = Y([F0], (e) => e.filter(gX)), I0 = Y([F0], r1, { memoizeOptions: { resultEqualityCheck: vX } }), RVe = Y([F0], (e) => e.some((e) => !e.data)), L0 = Y([I0, vY], a1), zVe = Y([- LVe,- vY,- m1-], hX), R0 = Y([- L0,- m1,- F0,- vY,- RVe,- I0-], c1), z0 = Y([m1], y1), B0 = Y([z0, Y([m1], (e) => e.allowDataOverflow)], EY), BVe = Y([+ p1,+ Y([vX, yX], X$)+], Q$, { memoizeOptions: { resultEqualityCheck: _X } }), zVe = Y([P0], (e) => e.filter(hX)), F0 = Y([P0], n1, { memoizeOptions: { resultEqualityCheck: _X } }), BVe = Y([P0], (e) => e.some((e) => !e.data)), I0 = Y([F0, _Y], i1), VVe = Y([+ zVe,+ _Y,+ p1+], mX), L0 = Y([+ I0,+ p1,+ P0,+ _Y,+ BVe,+ F0+], s1), R0 = Y([p1], v1), z0 = Y([R0, Y([p1], (e) => e.allowDataOverflow)], TY), HVe = Y([Y([- zVe,- Y([F0], (e) => e.filter(gX)),- HY,- UY- ], g1),- vY,- yX,- B0-], v1), VVe = Y([- L0,- m1,- Y([F0], n1),- S1,- yX,- DLe-], w1, { memoizeOptions: { resultEqualityCheck: _X } }), HVe = Y([Y([- T1,- yX,- bX-], E1), yX], k1), UVe = Y([Y([- D1,- yX,- bX-], E1), yX], A1), V0 = Y([- m1,- Wq,+ VVe,+ Y([P0], (e) => e.filter(hX)),+ VY,+ HY+ ], h1),+ _Y,+ vX,+ z0+], _1), UVe = Y([+ I0,+ p1,+ Y([P0], t1),+ x1,+ vX,+ kLe+], C1, { memoizeOptions: { resultEqualityCheck: gX } }), WVe = Y([Y([+ w1,+ vX,+ yX+], T1), vX], O1), GVe = Y([Y([+ E1,+ vX,+ yX+], T1), vX], k1), B0 = Y([+ p1,+ Uq,+ I0,L0,- R0,- HY,- yX,+ VY,+ vX,Y([- m1,+ p1,+ R0,z0,- B0,- BVe,- VVe,+ HVe,+ UVe,Y([- HVe,+ WVe,Y([Y([- O1,- yX,- bX- ], E1), yX], j1),- UVe- ], C1),- Wq,- yX- ], M1)-], N1), WVe = Y([- m1,- V0,+ D1,+ vX,+ yX+ ], T1), vX], A1),+ GVe+ ], S1),+ Uq,+ vX+ ], j1)+], M1), KVe = Y([+ p1,+ B0,Y([- V0,- m1,- P0- ], I1),- yX-], R1), H0 = (e) => H1(e, yX(e), bX(e), !1), U0 = Y([m1, H0], ZY), W0 = Y([Y([- m1,- P0,- WVe,- U0-], N$)], xX), G0 = Y([- Wq,- m1,- P0,- W0,- H0,+ B0,+ p1,+ N0+ ], F1),+ vX+], L1), V0 = (e) => V1(e, vX(e), yX(e), !1), H0 = Y([p1, V0], XY), U0 = Y([Y([+ p1,+ N0,+ KVe,+ H0+], M$)], bX), W0 = Y([+ Uq,+ p1,+ N0,+ U0,+ V0,Y([- Wq,- R0,- m1,- yX- ], t0),+ Uq,+ L0,+ p1,+ vX+ ], e0),Y([- Wq,- R0,- m1,- yX- ], G1),- yX+ Uq,+ L0,+ p1,+ vX+ ], W1),+ vX], (e, t, n, r, i, a, o, s) => {if (t) {- var c = t.type, l = rq(e, s);+ var c = t.type, l = nq(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 ? bH(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? yH(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {var n = r.map(e);- return QK(n) ? {+ return ZK(n) ? {coordinate: n + d,value: e,index: t,offset: d} : null;- }).filter(jH) : r.domain().map((e, t) => {+ }).filter(AH) : r.domain().map((e, t) => {var n = r.map(e);- return QK(n) ? {+ return ZK(n) ? {coordinate: n + d,value: a ? a[e] : e,index: t,offset: d} : null;- }).filter(jH);+ }).filter(AH);}}-}), K0 = Y([+}), G0 = Y([+ c0,l0,- u0,- fVe-], (e, t, n) => d0(n.shared, e, t)), GVe = (e) => e.tooltip.settings.trigger, q0 = (e) => e.tooltip.settings.defaultIndex, J0 = Y([- k0,- K0,- GVe,- q0-], w0), Y0 = Y([- J0,- L0,- h1,- V0-], T0), KVe = Y([G0, Y0], p0), qVe = Y([J0], (e) => {- if (e) return e.dataKey;-}), JVe = Y([J0], (e) => {- if (e) return e.graphicalItemId;-}), YVe = Y([- k0,- K0,- GVe,- q0-], D0), XVe = Y([J0, Y([- gq,- _q,- Wq,- Cq,+ mVe+], (e, t, n) => u0(n.shared, e, t)), qVe = (e) => e.tooltip.settings.trigger, K0 = (e) => e.tooltip.settings.defaultIndex, q0 = Y([+ O0,G0,+ qVe,+ K0+], C0), J0 = Y([q0,- YVe-], E0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), ZVe = Y([J0], (e) => e?.active ?? !1), QVe = Y([Y([- YVe,- Y0,- vY,- h1,- KVe,+ I0,+ m1,+ B0+], w0), JVe = Y([W0, J0], f0), YVe = Y([q0], (e) => {+ if (e) return e.dataKey;+}), XVe = Y([q0], (e) => {+ if (e) return e.graphicalItemId;+}), ZVe = Y([O0,+ G0,+ qVe,K0-], N0)], (e) => {+], E0), QVe = Y([q0, Y([+ hq,+ gq,+ Uq,+ Sq,+ W0,+ K0,+ ZVe+], T0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), $Ve = Y([q0], (e) => e?.active ?? !1), eHe = Y([Y([+ ZVe,+ J0,+ _Y,+ m1,+ JVe,+ D0,+ G0+], M0)], (e) => {if (e != null) {var t = e.map((e) => e.payload).filter((e) => e != null);return Array.from(new Set(t));@@ -73584,7 +73604,7 @@ var N0 = (e, t, n, r, i, a, o) => {});//#endregion//#region node_modules/recharts/es6/context/useTooltipAxis.js-function $Ve(e, t) {+function tHe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -73594,30 +73614,30 @@ function $Ve(e, t) {}return n;}-function eHe(e) {+function nHe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? $Ve(Object(n), !0).forEach(function(t) {- tHe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $Ve(Object(n)).forEach(function(t) {+ t % 2 ? tHe(Object(n), !0).forEach(function(t) {+ rHe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tHe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function tHe(e, t, n) {- return (t = nHe(t)) in e ? Object.defineProperty(e, t, {+function rHe(e, t, n) {+ return (t = iHe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function nHe(e) {- var t = rHe(e, "string");+function iHe(e) {+ var t = aHe(e, "string");return typeof t == "symbol" ? t : t + "";}-function rHe(e, t) {+function aHe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -73627,13 +73647,13 @@ function rHe(e, t) {}return (t === "string" ? String : Number)(e);}-var iHe = () => J(m1), aHe = () => {- var e = iHe(), t = J(G0), n = J(W0);- return pq(!e || !n ? void 0 : eHe(eHe({}, e), {}, { scale: n }), t);+var oHe = () => J(p1), sHe = () => {+ var e = oHe(), t = J(W0), n = J(U0);+ return fq(!e || !n ? void 0 : nHe(nHe({}, e), {}, { scale: n }), t);};//#endregion//#region node_modules/recharts/es6/util/getActiveCoordinate.js-function oHe(e, t) {+function cHe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -73643,30 +73663,30 @@ function oHe(e, t) {}return n;}-function X0(e) {+function Y0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? oHe(Object(n), !0).forEach(function(t) {- sHe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oHe(Object(n)).forEach(function(t) {+ t % 2 ? cHe(Object(n), !0).forEach(function(t) {+ lHe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cHe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function sHe(e, t, n) {- return (t = cHe(t)) in e ? Object.defineProperty(e, t, {+function lHe(e, t, n) {+ return (t = uHe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function cHe(e) {- var t = lHe(e, "string");+function uHe(e) {+ var t = dHe(e, "string");return typeof t == "symbol" ? t : t + "";}-function lHe(e, t) {+function dHe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -73676,7 +73696,7 @@ function lHe(e, t) {}return (t === "string" ? String : Number)(e);}-var uHe = (e, t, n, r) => {+var fHe = (e, t, n, r) => {var i = t.find((e) => e && e.index === n);if (i) {if (e === "horizontal") return {@@ -73692,18 +73712,18 @@ var uHe = (e, t, n, r) => {x: 0,y: 0};-}, dHe = (e, t, n, r) => {+}, pHe = (e, t, n, r) => {var i = t.find((e) => e && e.index === n);if (i) {if (e === "centric") {var a = i.coordinate, o = r.radius;- return X0(X0(X0({}, r), lY(r.cx, r.cy, o, a)), {}, {+ return Y0(Y0(Y0({}, r), cY(r.cx, r.cy, o, a)), {}, {angle: a,radius: o});}var s = i.coordinate, c = r.angle;- return X0(X0(X0({}, r), lY(r.cx, r.cy, s, c)), {}, {+ return Y0(Y0(Y0({}, r), cY(r.cx, r.cy, s, c)), {}, {angle: c,radius: s});@@ -73722,11 +73742,11 @@ var uHe = (e, t, n, r) => {y: 0};};-function fHe(e, t) {+function mHe(e, t) {var n = e.relativeX, r = e.relativeY;return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;}-var pHe = (e, t, n, r, i) => {+var hHe = (e, t, n, r, i) => {var a = t?.length ?? 0;if (a <= 1 || e == null) return 0;if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = i[1] - i[0], s = (t, n, r) => [@@ -73736,9 +73756,9 @@ var pHe = (e, t, n, r, i) => {].some((e) => (r ? e >= t : e > t) && e <= n), c = 0; c < a; c++) {var l = c > 0 ? n[c - 1]?.coordinate : n[a - 1]?.coordinate, u = n[c]?.coordinate, d = c >= a - 1 ? n[0]?.coordinate : n[c + 1]?.coordinate, f = void 0;if (l != null && u != null && d != null) {- if (bH(u - l) !== bH(d - u)) {+ if (yH(u - l) !== yH(d - u)) {var p = [];- if (bH(d - u) === bH(i[1] - i[0])) {+ if (yH(d - u) === yH(i[1] - i[0])) {f = d;var m = u + i[1] - i[0];p[0] = Math.min(m, (m + l) / 2), p[1] = Math.max(m, (m + l) / 2);@@ -73763,78 +73783,78 @@ var pHe = (e, t, n, r, i) => {}}return -1;-}, mHe = () => J(WY), Z0 = (e, t) => t, hHe = (e, t, n) => n, Q0 = (e, t, n, r) => r, gHe = Y(G0, (e) => VW(e, (e) => e.coordinate)), $0 = Y([- k0,- Z0,- hHe,- Q0-], w0), e2 = Y([- $0,- L0,- h1,- V0-], T0), _He = (e, t, n) => {+}, gHe = () => J(UY), X0 = (e, t) => t, _He = (e, t, n) => n, Z0 = (e, t, n, r) => r, vHe = Y(W0, (e) => BW(e, (e) => e.coordinate)), Q0 = Y([+ O0,+ X0,+ _He,+ Z0+], C0), $0 = Y([+ Q0,+ I0,+ m1,+ B0+], w0), yHe = (e, t, n) => {if (t != null) {- var r = k0(e);+ var r = O0(e);return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;}-}, vHe = Y([- k0,- Z0,- hHe,- Q0-], D0), t2 = Y([- gq,- _q,- Wq,- Cq,- G0,- Q0,- vHe-], E0), yHe = Y([$0, t2], (e, t) => e.coordinate ?? t), bHe = Y([G0, e2], p0), xHe = Y([- vHe,- e2,- vY,- h1,- bHe,+}, bHe = Y([O0,+ X0,+ _He,Z0-], N0), SHe = Y([$0, e2], (e, t) => ({+], E0), e2 = Y([+ hq,+ gq,+ Uq,+ Sq,+ W0,+ Z0,+ bHe+], T0), xHe = Y([Q0, e2], (e, t) => e.coordinate ?? t), SHe = Y([W0, $0], f0), CHe = Y([+ bHe,+ $0,+ _Y,+ m1,+ SHe,+ D0,+ X0+], M0), wHe = Y([Q0, $0], (e, t) => ({isActive: e.active && t != null,activeIndex: t-})), CHe = (e, t, n, r, i, a, o) => {- if (e && n && r && i && fHe(e, o)) {- var s = pHe(XNe(e, t), a, i, n, r), c = uHe(t, i, s, e);+})), THe = (e, t, n, r, i, a, o) => {+ if (e && n && r && i && mHe(e, o)) {+ var s = hHe(QNe(e, t), a, i, n, r), c = fHe(t, i, s, e);return {activeIndex: String(s),activeCoordinate: c};}-}, wHe = (e, t, n, r, i, a, o) => {+}, EHe = (e, t, n, r, i, a, o) => {if (e && r && i && a && n) {- var s = fLe(e, n);+ var s = mLe(e, n);if (s) {- var c = pHe(ZNe(s, t), o, a, r, i), l = dHe(t, a, c, s);+ var c = hHe($Ne(s, t), o, a, r, i), l = pHe(t, a, c, s);return {activeIndex: String(c),activeCoordinate: l};}}-}, THe = (e, t, n, r, i, a, o, s) => {- if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? CHe(e, t, r, i, a, o, s) : wHe(e, t, n, r, i, a, o);-}, EHe = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {+}, DHe = (e, t, n, r, i, a, o, s) => {+ if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? THe(e, t, r, i, a, o, s) : EHe(e, t, n, r, i, a, o);+}, OHe = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {if (t != null) {var r = e[t];if (r != null) return n ? r.panoramaElement : r.element;}-}), DHe = Y((e) => e.zIndex.zIndexMap, (e) => {- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(JY));+}), kHe = Y((e) => e.zIndex.zIndexMap, (e) => {+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(qY));return Array.from(new Set(t)).sort((e, t) => e - t);-}, { memoizeOptions: { resultEqualityCheck: WLe } });+}, { memoizeOptions: { resultEqualityCheck: KLe } });//#endregion//#region node_modules/recharts/es6/state/zIndexSlice.js-function OHe(e, t) {+function AHe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -73844,30 +73864,30 @@ function OHe(e, t) {}return n;}-function kHe(e) {+function jHe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? OHe(Object(n), !0).forEach(function(t) {- AHe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OHe(Object(n)).forEach(function(t) {+ t % 2 ? AHe(Object(n), !0).forEach(function(t) {+ MHe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AHe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function AHe(e, t, n) {- return (t = jHe(t)) in e ? Object.defineProperty(e, t, {+function MHe(e, t, n) {+ return (t = NHe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function jHe(e) {- var t = MHe(e, "string");+function NHe(e) {+ var t = PHe(e, "string");return typeof t == "symbol" ? t : t + "";}-function MHe(e, t) {+function PHe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -73877,17 +73897,17 @@ function MHe(e, t) {}return (t === "string" ? String : Number)(e);}-var NHe = { zIndexMap: Object.values(JY).reduce((e, t) => kHe(kHe({}, e), {}, { [t]: {+var FHe = { zIndexMap: Object.values(qY).reduce((e, t) => jHe(jHe({}, e), {}, { [t]: {element: void 0,panoramaElement: void 0,consumers: 0-} }), {}) }, PHe = new Set(Object.values(JY));-function FHe(e) {- return PHe.has(e);+} }), {}) }, IHe = new Set(Object.values(qY));+function LHe(e) {+ return IHe.has(e);}-var IHe = SK({+var RHe = xK({name: "zIndex",- initialState: NHe,+ initialState: FHe,reducers: {registerZIndexPortal: {reducer: (e, t) => {@@ -73898,50 +73918,50 @@ var IHe = SK({panoramaElement: void 0};},- prepare: vK()+ prepare: _K()},unregisterZIndexPortal: {reducer: (e, t) => {var n = t.payload.zIndex;- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !FHe(n) && delete e.zIndexMap[n]);+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !LHe(n) && delete e.zIndexMap[n]);},- prepare: vK()+ prepare: _K()},registerZIndexPortalElement: {reducer: (e, t) => {var n = t.payload, r = n.zIndex, i = n.element, a = n.isPanorama;- e.zIndexMap[r] ? a ? e.zIndexMap[r].panoramaElement = dK(i) : e.zIndexMap[r].element = dK(i) : e.zIndexMap[r] = {+ e.zIndexMap[r] ? a ? e.zIndexMap[r].panoramaElement = uK(i) : e.zIndexMap[r].element = uK(i) : e.zIndexMap[r] = {consumers: 0,- element: a ? void 0 : dK(i),- panoramaElement: a ? dK(i) : void 0+ element: a ? void 0 : uK(i),+ panoramaElement: a ? uK(i) : void 0};},- prepare: vK()+ prepare: _K()},unregisterZIndexPortalElement: {reducer: (e, t) => {var n = t.payload.zIndex;e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);},- prepare: vK()+ prepare: _K()}}-}), n2 = IHe.actions, LHe = n2.registerZIndexPortal, r2 = n2.unregisterZIndexPortal, RHe = n2.registerZIndexPortalElement, zHe = n2.unregisterZIndexPortalElement, BHe = IHe.reducer;+}), t2 = RHe.actions, zHe = t2.registerZIndexPortal, n2 = t2.unregisterZIndexPortal, BHe = t2.registerZIndexPortalElement, VHe = t2.unregisterZIndexPortalElement, HHe = RHe.reducer;//#endregion//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js-function i2(e) {- var t = e.zIndex, n = e.children, r = NPe() && t !== void 0 && t !== 0, i = Eq(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = MW(), c = J((e) => EHe(e, t, i));+function r2(e) {+ var t = e.zIndex, n = e.children, r = FPe() && t !== void 0 && t !== 0, i = Tq(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = jW(), c = J((e) => OHe(e, t, i));if ((0, b.useLayoutEffect)(() => {if (!r) {var e = o.current;e.forEach((e) => {- s(r2({ zIndex: e }));+ s(n2({ zIndex: e }));}), e.clear(), a.current = void 0;- } else if (o.current.has(t) || (s(LHe({ zIndex: t })), o.current.add(t)), c) {+ } else if (o.current.has(t) || (s(zHe({ zIndex: t })), o.current.add(t)), c) {a.current = c;var n = o.current;n.forEach((e) => {- e !== t && (s(r2({ zIndex: e })), n.delete(e));+ e !== t && (s(n2({ zIndex: e })), n.delete(e));});}}, [@@ -73953,7 +73973,7 @@ function i2(e) {var e = o.current;return () => {e.forEach((e) => {- s(r2({ zIndex: e }));+ s(n2({ zIndex: e }));}), e.clear();};}, [s]), !r) return n;@@ -73962,16 +73982,16 @@ function i2(e) {}//#endregion//#region node_modules/recharts/es6/component/Cursor.js-function a2() {- return a2 = Object.assign ? Object.assign.bind() : function(e) {+function i2() {+ return i2 = 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;- }, a2.apply(null, arguments);+ }, i2.apply(null, arguments);}-function VHe(e, t) {+function UHe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -73981,30 +74001,30 @@ function VHe(e, t) {}return n;}-function o2(e) {+function a2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? VHe(Object(n), !0).forEach(function(t) {- HHe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : VHe(Object(n)).forEach(function(t) {+ t % 2 ? UHe(Object(n), !0).forEach(function(t) {+ WHe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UHe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function HHe(e, t, n) {- return (t = UHe(t)) in e ? Object.defineProperty(e, t, {+function WHe(e, t, n) {+ return (t = GHe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function UHe(e) {- var t = WHe(e, "string");+function GHe(e) {+ var t = KHe(e, "string");return typeof t == "symbol" ? t : t + "";}-function WHe(e, t) {+function KHe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -74014,18 +74034,18 @@ function WHe(e, t) {}return (t === "string" ? String : Number)(e);}-function GHe(e) {+function qHe(e) {var t = e.cursor, n = e.cursorComp, r = e.cursorProps;return /*#__PURE__*/ (0, b.isValidElement)(t) ? /*#__PURE__*/ (0, b.cloneElement)(t, r) : /*#__PURE__*/ (0, b.createElement)(n, r);}-function KHe(e) {+function JHe(e) {var t = e.coordinate, n = e.payload, r = e.index, i = e.offset, a = e.tooltipAxisBandSize, o = e.layout, s = e.cursor, c = e.tooltipEventType, l = e.chartName, u = t, d = n, f = r;if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;var p, m, h;- if (l === "ScatterChart") p = u, m = fIe, h = JY.cursorLine;- else if (l === "BarChart") p = pIe(o, u, i, a), m = iY, h = JY.cursorRectangle;- else if (o === "radial" && FU(u)) {- var g = uY(u), _ = g.cx, v = g.cy, y = g.radius;+ if (l === "ScatterChart") p = u, m = mIe, h = qY.cursorLine;+ else if (l === "BarChart") p = hIe(o, u, i, a), m = rY, h = qY.cursorRectangle;+ else if (o === "radial" && PU(u)) {+ var g = lY(u), _ = g.cx, v = g.cy, y = g.radius;p = {cx: _,cy: v,@@ -74033,25 +74053,25 @@ function KHe(e) {endAngle: g.endAngle,innerRadius: y,outerRadius: y- }, m = hY, h = JY.cursorLine;- } else p = { points: CLe(o, u, i) }, m = NJ, h = JY.cursorLine;- var x = typeof s == "object" && "className" in s ? s.className : void 0, S = o2(o2(o2(o2({+ }, m = mY, h = qY.cursorLine;+ } else p = { points: TLe(o, u, i) }, m = MJ, h = qY.cursorLine;+ var x = typeof s == "object" && "className" in s ? s.className : void 0, S = a2(a2(a2(a2({stroke: "#ccc",pointerEvents: "none"- }, i), p), aH(s)), {}, {+ }, i), p), iH(s)), {}, {payload: d,payloadIndex: f,className: dv("recharts-tooltip-cursor", x)});- return /*#__PURE__*/ b.createElement(i2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ b.createElement(GHe, {+ return /*#__PURE__*/ b.createElement(r2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ b.createElement(qHe, {cursor: s,cursorComp: m,cursorProps: S}));}-function qHe(e) {- var t = aHe(), n = Vq(), r = Gq(), i = mHe();- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ b.createElement(KHe, a2({}, e, {+function YHe(e) {+ var t = sHe(), n = Bq(), r = Wq(), i = gHe();+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ b.createElement(JHe, i2({}, e, {offset: n,layout: r,tooltipAxisBandSize: t,@@ -74060,7 +74080,7 @@ function qHe(e) {}//#endregion//#region node_modules/recharts/es6/context/tooltipPortalContext.js-var JHe = /*#__PURE__*/ (0, b.createContext)(null), YHe = () => (0, b.useContext)(JHe), XHe = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {+var XHe = /*#__PURE__*/ (0, b.createContext)(null), ZHe = () => (0, b.useContext)(XHe), QHe = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {var n = Object.prototype.hasOwnProperty, r = "~";function i() {}Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));@@ -74147,12 +74167,12 @@ var JHe = /*#__PURE__*/ (0, b.createContext)(null), YHe = () => (0, b.useContextvar 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, s2 = new XHe(), c2 = "recharts.syncEvent.tooltip", ZHe = "recharts.syncEvent.brush", l2 = (e, t) => {+})))(), 1)).default, o2 = new QHe(), s2 = "recharts.syncEvent.tooltip", $He = "recharts.syncEvent.brush", c2 = (e, t) => {if (t && Array.isArray(e)) {var n = Number.parseInt(t, 10);- if (!xH(n)) return e[n];+ if (!bH(n)) return e[n];}-}, QHe = SK({+}, eUe = xK({name: "options",initialState: {chartName: "",@@ -74163,13 +74183,13 @@ var JHe = /*#__PURE__*/ (0, b.createContext)(null), YHe = () => (0, b.useContextreducers: { createEventEmitter: (e) => {e.eventEmitter ??= Symbol("rechartsEventEmitter");} }-}), $He = QHe.reducer, eUe = QHe.actions.createEventEmitter;+}), tUe = eUe.reducer, nUe = eUe.actions.createEventEmitter;//#endregion//#region node_modules/recharts/es6/synchronisation/syncSelectors.js-function tUe(e) {+function rUe(e) {return e.tooltip.syncInteraction;}-var nUe = SK({+var iUe = xK({name: "chartData",initialState: {chartData: void 0,@@ -74179,7 +74199,7 @@ var nUe = SK({},reducers: {setChartData(e, t) {- e.chartData = dK(t.payload), t.payload == null ? (e.dataStartIndex = 0, e.dataEndIndex = 0) : t.payload.length > 0 && e.dataEndIndex !== t.payload.length - 1 && (e.dataEndIndex = t.payload.length - 1);+ e.chartData = uK(t.payload), t.payload == null ? (e.dataStartIndex = 0, e.dataEndIndex = 0) : t.payload.length > 0 && e.dataEndIndex !== t.payload.length - 1 && (e.dataEndIndex = t.payload.length - 1);},setComputedData(e, t) {e.computedData = t.payload;@@ -74189,10 +74209,10 @@ var nUe = SK({r != null && (e.dataStartIndex = r), i != null && (e.dataEndIndex = i);}}-}), u2 = nUe.actions, rUe = u2.setChartData, iUe = u2.setDataStartEndIndexes;-u2.setComputedData;-var aUe = nUe.reducer, oUe = ["x", "y"];-function sUe(e, t) {+}), l2 = iUe.actions, aUe = l2.setChartData, oUe = l2.setDataStartEndIndexes;+l2.setComputedData;+var sUe = iUe.reducer, cUe = ["x", "y"];+function lUe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -74202,30 +74222,30 @@ function sUe(e, t) {}return n;}-function d2(e) {+function u2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? sUe(Object(n), !0).forEach(function(t) {- cUe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sUe(Object(n)).forEach(function(t) {+ t % 2 ? lUe(Object(n), !0).forEach(function(t) {+ uUe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lUe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function cUe(e, t, n) {- return (t = lUe(t)) in e ? Object.defineProperty(e, t, {+function uUe(e, t, n) {+ return (t = dUe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function lUe(e) {- var t = uUe(e, "string");+function dUe(e) {+ var t = fUe(e, "string");return typeof t == "symbol" ? t : t + "";}-function uUe(e, t) {+function fUe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -74235,16 +74255,16 @@ function uUe(e, t) {}return (t === "string" ? String : Number)(e);}-function dUe(e, t) {+function pUe(e, t) {if (e == null) return {};- var n, r, i = fUe(e, t);+ var n, r, i = mUe(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 fUe(e, t) {+function mUe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -74253,13 +74273,13 @@ function fUe(e, t) {}return n;}-function pUe() {- var e = J(GY), t = J(qY), n = MW(), r = J(KY), i = J(G0), a = Gq(), o = Bq(), s = J((e) => e.rootProps.className);+function hUe() {+ var e = J(WY), t = J(KY), n = jW(), r = J(GY), i = J(W0), a = Wq(), o = zq(), s = J((e) => e.rootProps.className);(0, b.useEffect)(() => {- if (e == null) return MH;+ if (e == null) return jH;var s = (s, c, l) => {if (t !== l && e === s) {- if (c.payload.active === !1) n(b0({+ if (c.payload.active === !1) n(y0({active: !1,coordinate: void 0,dataKey: void 0,@@ -74271,11 +74291,11 @@ function pUe() {else if (r === "index") {var u;if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {- var d = c.payload.coordinate, f = d.x, p = d.y, m = dUe(d, oUe), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = d2(d2({}, m), {}, {+ var d = c.payload.coordinate, f = d.x, p = d.y, m = pUe(d, cUe), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = u2(u2({}, m), {}, {x: o.x + (v ? (f - g) / v : 0) * o.width,y: o.y + (y ? (p - _) / y : 0) * o.height});- n(d2(d2({}, c), {}, { payload: d2(d2({}, c.payload), {}, { coordinate: b }) }));+ n(u2(u2({}, c), {}, { payload: u2(u2({}, c.payload), {}, { coordinate: b }) }));} else n(c);} else if (i != null) {var x;@@ -74288,7 +74308,7 @@ function pUe() {activeCoordinate: c.payload.coordinate})] : r === "value" && (x = i.find((e) => String(e.value) === c.payload.label));var S = c.payload.coordinate;- if (S == null || o == null) n(b0({+ if (S == null || o == null) n(y0({active: !1,coordinate: void 0,dataKey: void 0,@@ -74297,7 +74317,7 @@ function pUe() {sourceViewBox: void 0,graphicalItemId: void 0}));- else if (x == null) n(b0({+ else if (x == null) n(y0({active: !1,coordinate: void 0,dataKey: void 0,@@ -74311,7 +74331,7 @@ function pUe() {x: a === "horizontal" ? x.coordinate : T,y: a === "horizontal" ? E : x.coordinate};- n(b0({+ n(y0({active: c.payload.active,coordinate: D,dataKey: c.payload.dataKey,@@ -74324,8 +74344,8 @@ function pUe() {}}};- return s2.on(c2, s), () => {- s2.off(c2, s);+ return o2.on(s2, s), () => {+ o2.off(s2, s);};}, [s,@@ -74338,15 +74358,15 @@ function pUe() {o]);}-function mUe() {- var e = J(GY), t = J(qY), n = MW();+function gUe() {+ var e = J(WY), t = J(KY), n = jW();(0, b.useEffect)(() => {- if (e == null) return MH;+ if (e == null) return jH;var r = (r, i, a) => {- t !== a && e === r && n(iUe(i));+ t !== a && e === r && n(oUe(i));};- return s2.on(ZHe, r), () => {- s2.off(ZHe, r);+ return o2.on($He, r), () => {+ o2.off($He, r);};}, [n,@@ -74354,17 +74374,17 @@ function mUe() {e]);}-function hUe() {- var e = MW();+function _Ue() {+ var e = jW();(0, b.useEffect)(() => {- e(eUe());- }, [e]), pUe(), mUe();+ e(nUe());+ }, [e]), hUe(), gUe();}-function gUe(e, t, n, r, i, a) {- var o = J((n) => _He(n, e, t)), s = J(JVe), c = J(qY), l = J(GY), u = J(KY), d = J(tUe)?.sourceViewBox != null, f = Bq();+function vUe(e, t, n, r, i, a) {+ var o = J((n) => yHe(n, e, t)), s = J(XVe), c = J(KY), l = J(WY), u = J(GY), d = J(rUe)?.sourceViewBox != null, f = zq();(0, b.useEffect)(() => {if (!d && l != null && c != null) {- var e = b0({+ var e = y0({active: a,coordinate: n,dataKey: o,@@ -74373,7 +74393,7 @@ function gUe(e, t, n, r, i, a) {sourceViewBox: f,graphicalItemId: s});- s2.emit(c2, l, e, c);+ o2.emit(s2, l, e, c);}}, [d,@@ -74391,7 +74411,7 @@ function gUe(e, t, n, r, i, a) {}//#endregion//#region node_modules/recharts/es6/component/Tooltip.js-function _Ue(e, t) {+function yUe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -74401,30 +74421,30 @@ function _Ue(e, t) {}return n;}-function vUe(e) {+function bUe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? _Ue(Object(n), !0).forEach(function(t) {- yUe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _Ue(Object(n)).forEach(function(t) {+ t % 2 ? yUe(Object(n), !0).forEach(function(t) {+ xUe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yUe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function yUe(e, t, n) {- return (t = bUe(t)) in e ? Object.defineProperty(e, t, {+function xUe(e, t, n) {+ return (t = SUe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function bUe(e) {- var t = xUe(e, "string");+function SUe(e) {+ var t = CUe(e, "string");return typeof t == "symbol" ? t : t + "";}-function xUe(e, t) {+function CUe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -74434,25 +74454,25 @@ function xUe(e, t) {}return (t === "string" ? String : Number)(e);}-function SUe(e, t) {- return DUe(e) || EUe(e, t) || wUe(e, t) || CUe();+function wUe(e, t) {+ return kUe(e) || OUe(e, t) || EUe(e, t) || TUe();}-function CUe() {+function TUe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function wUe(e, t) {+function EUe(e, t) {if (e) {- if (typeof e == "string") return TUe(e, t);+ if (typeof e == "string") return DUe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? TUe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? DUe(e, t) : void 0;}}-function TUe(e, t) {+function DUe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function EUe(e, t) {+function OUe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -74473,16 +74493,16 @@ function EUe(e, t) {return s;}}-function DUe(e) {+function kUe(e) {if (Array.isArray(e)) return e;}-function OUe(e) {+function AUe(e) {return e.dataKey;}-function kUe(e, t) {- return /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ b.createElement(e, t) : /*#__PURE__*/ b.createElement(MFe, t);+function jUe(e, t) {+ return /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ b.createElement(e, t) : /*#__PURE__*/ b.createElement(PFe, t);}-var AUe = [], jUe = {+var MUe = [], NUe = {allowEscapeViewBox: {x: !1,y: !1@@ -74508,10 +74528,10 @@ var AUe = [], jUe = {useTranslate3d: !1,wrapperStyle: {}};-function MUe(e) {- var t = zU(e, jUe), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, x = t.axisId, S = MW(), C = typeof v == "number" ? String(v) : v;+function PUe(e) {+ var t = RU(e, NUe), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, x = t.axisId, S = jW(), C = typeof v == "number" ? String(v) : v;(0, b.useEffect)(() => {- S(gVe({+ S(vVe({shared: g,trigger: _,axisId: x,@@ -74526,20 +74546,20 @@ function MUe(e) {n,C]);- var w = Bq(), T = CJ(), E = dVe(g), D = J((e) => SHe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => xHe(e, E, _, C)), j = J((e) => bHe(e, E, _, C)), M = J((e) => yHe(e, E, _, C)), N = A, P = YHe(), ee = n ?? k ?? !1, F = SUe(qW([N, ee]), 2), te = F[0], ne = F[1], re = E === "axis" ? j : void 0;- gUe(E, _, M, re, O, ee);+ var w = zq(), T = SJ(), E = pVe(g), D = J((e) => wHe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => CHe(e, E, _, C)), j = J((e) => SHe(e, E, _, C)), M = J((e) => xHe(e, E, _, C)), N = A, P = ZHe(), ee = n ?? k ?? !1, F = wUe(KW([N, ee]), 2), te = F[0], ne = F[1], re = E === "axis" ? j : void 0;+ vUe(E, _, M, re, O, ee);var ie = y ?? P;if (ie == null || w == null || E == null) return null;- var ae = N ?? AUe;- ee || (ae = AUe), s && ae.length && (ae = AW(ae.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, OUe));- var oe = ae.length > 0, se = vUe(vUe({}, t), {}, {+ var ae = N ?? MUe;+ ee || (ae = MUe), s && ae.length && (ae = kW(ae.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, AUe));+ var oe = ae.length > 0, se = bUe(bUe({}, t), {}, {payload: ae,label: re,active: ee,activeIndex: O,coordinate: M,accessibilityLayer: T- }), ce = /*#__PURE__*/ b.createElement(QFe, {+ }), ce = /*#__PURE__*/ b.createElement(eIe, {allowEscapeViewBox: r,animationDuration: i,animationEasing: a,@@ -74556,8 +74576,8 @@ function MUe(e) {lastBoundingBox: te,innerRef: ne,hasPortalFromProps: !!y- }, kUe(o, se));- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ (0, mt.createPortal)(ce, ie), ee && /*#__PURE__*/ b.createElement(qHe, {+ }, jUe(o, se));+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ (0, mt.createPortal)(ce, ie), ee && /*#__PURE__*/ b.createElement(YHe, {cursor: h,tooltipEventType: E,coordinate: M,@@ -74567,23 +74587,23 @@ function MUe(e) {}//#endregion//#region node_modules/recharts/es6/component/Cell.js-var f2 = (e) => null;-f2.displayName = "Cell";+var d2 = (e) => null;+d2.displayName = "Cell";//#endregion//#region node_modules/recharts/es6/util/LRUCache.js-function NUe(e, t, n) {- return (t = PUe(t)) in e ? Object.defineProperty(e, t, {+function FUe(e, t, n) {+ return (t = IUe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function PUe(e) {- var t = FUe(e, "string");+function IUe(e) {+ var t = LUe(e, "string");return typeof t == "symbol" ? t : t + "";}-function FUe(e, t) {+function LUe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -74593,9 +74613,9 @@ function FUe(e, t) {}return (t === "string" ? String : Number)(e);}-var IUe = class {+var RUe = class {constructor(e) {- NUe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;+ FUe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;}get(e) {var t = this.cache.get(e);@@ -74618,7 +74638,7 @@ var IUe = class {};//#endregion//#region node_modules/recharts/es6/util/DOMUtils.js-function LUe(e, t) {+function zUe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -74628,30 +74648,30 @@ function LUe(e, t) {}return n;}-function RUe(e) {+function BUe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? LUe(Object(n), !0).forEach(function(t) {- zUe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LUe(Object(n)).forEach(function(t) {+ t % 2 ? zUe(Object(n), !0).forEach(function(t) {+ VUe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zUe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function zUe(e, t, n) {- return (t = BUe(t)) in e ? Object.defineProperty(e, t, {+function VUe(e, t, n) {+ return (t = HUe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function BUe(e) {- var t = VUe(e, "string");+function HUe(e) {+ var t = UUe(e, "string");return typeof t == "symbol" ? t : t + "";}-function VUe(e, t) {+function UUe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -74661,10 +74681,10 @@ function VUe(e, t) {}return (t === "string" ? String : Number)(e);}-var HUe = RUe({}, {+var WUe = BUe({}, {cacheSize: 2e3,enableCache: !0-}), UUe = new IUe(HUe.cacheSize), WUe = {+}), GUe = new RUe(WUe.cacheSize), KUe = {position: "absolute",top: "-20000px",left: 0,@@ -74672,14 +74692,14 @@ var HUe = RUe({}, {margin: 0,border: "none",whiteSpace: "pre"-}, GUe = "recharts_measurement_span";-function KUe(e, t) {+}, qUe = "recharts_measurement_span";+function JUe(e, t) {return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;}-var qUe = (e, t) => {+var YUe = (e, t) => {try {- var n = document.getElementById(GUe);- n || (n = document.createElement("span"), n.setAttribute("id", GUe), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, WUe, t), n.textContent = `${e}`;+ var n = document.getElementById(qUe);+ n || (n = document.createElement("span"), n.setAttribute("id", qUe), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, KUe, t), n.textContent = `${e}`;var r = n.getBoundingClientRect();return {width: r.width,@@ -74691,37 +74711,37 @@ var qUe = (e, t) => {height: 0};}-}, p2 = function(e) {+}, f2 = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};- if (e == null || _J.isSsr) return {+ if (e == null || gJ.isSsr) return {width: 0,height: 0};- if (!HUe.enableCache) return qUe(e, t);- var n = KUe(e, t), r = UUe.get(n);+ if (!WUe.enableCache) return YUe(e, t);+ var n = JUe(e, t), r = GUe.get(n);if (r) return r;- var i = qUe(e, t);- return UUe.set(n, i), i;-}, JUe;-function m2(e, t) {- return $Ue(e) || QUe(e, t) || XUe(e, t) || YUe();+ var i = YUe(e, t);+ return GUe.set(n, i), i;+}, XUe;+function p2(e, t) {+ return tWe(e) || eWe(e, t) || QUe(e, t) || ZUe();}-function YUe() {+function ZUe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function XUe(e, t) {+function QUe(e, t) {if (e) {- if (typeof e == "string") return ZUe(e, t);+ if (typeof e == "string") return $Ue(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ZUe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? $Ue(e, t) : void 0;}}-function ZUe(e, t) {+function $Ue(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function QUe(e, t) {+function eWe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -74742,22 +74762,22 @@ function QUe(e, t) {return s;}}-function $Ue(e) {+function tWe(e) {if (Array.isArray(e)) return e;}-function eWe(e, t, n) {- return (t = tWe(t)) in e ? Object.defineProperty(e, t, {+function nWe(e, t, n) {+ return (t = rWe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function tWe(e) {- var t = nWe(e, "string");+function rWe(e) {+ var t = iWe(e, "string");return typeof t == "symbol" ? t : t + "";}-function nWe(e, t) {+function iWe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -74767,7 +74787,7 @@ function nWe(e, t) {}return (t === "string" ? String : Number)(e);}-var rWe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, iWe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, aWe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, oWe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, sWe = {+var aWe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, oWe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, sWe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, cWe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, lWe = {cm: 96 / 2.54,mm: 96 / 25.4,pt: 96 / 72,@@ -74775,7 +74795,7 @@ var rWe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, iWe =in: 96,Q: 96 / 101.6,px: 1-}, cWe = [+}, uWe = ["cm","mm","pt",@@ -74784,20 +74804,20 @@ var rWe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, iWe ="Q","px"];-function lWe(e) {- return cWe.includes(e);+function dWe(e) {+ return uWe.includes(e);}-var h2 = "NaN";-function uWe(e, t) {- return e * sWe[t];+var m2 = "NaN";+function fWe(e, t) {+ return e * lWe[t];}-var g2 = class e {+var h2 = class e {static parse(t) {- var n = m2(oWe.exec(t) ?? [], 3), r = n[1], i = n[2];+ var n = p2(cWe.exec(t) ?? [], 3), r = n[1], i = n[2];return r == null ? e.NaN : new e(parseFloat(r), i ?? "");}constructor(e, t) {- this.num = e, this.unit = t, this.num = e, this.unit = t, xH(e) && (this.unit = ""), t !== "" && !aWe.test(t) && (this.num = NaN, this.unit = ""), lWe(t) && (this.num = uWe(e, t), this.unit = "px");+ this.num = e, this.unit = t, this.num = e, this.unit = t, bH(e) && (this.unit = ""), t !== "" && !sWe.test(t) && (this.num = NaN, this.unit = ""), dWe(t) && (this.num = fWe(e, t), this.unit = "px");}add(t) {return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");@@ -74815,50 +74835,50 @@ var g2 = class e {return `${this.num}${this.unit}`;}isNaN() {- return xH(this.num);+ return bH(this.num);}};-JUe = g2, eWe(g2, "NaN", new JUe(NaN, ""));-function dWe(e) {- if (e == null || e.includes(h2)) return h2;+XUe = h2, nWe(h2, "NaN", new XUe(NaN, ""));+function pWe(e) {+ if (e == null || e.includes(m2)) return m2;for (var t = e; t.includes("*") || t.includes("/");) {- var n = m2(rWe.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = g2.parse(r ?? ""), s = g2.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);- if (c.isNaN()) return h2;- t = t.replace(rWe, c.toString());+ var n = p2(aWe.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = h2.parse(r ?? ""), s = h2.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);+ if (c.isNaN()) return m2;+ t = t.replace(aWe, c.toString());}for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {- var l = m2(iWe.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = g2.parse(u ?? ""), m = g2.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);- if (h.isNaN()) return h2;- t = t.replace(iWe, h.toString());+ var l = p2(oWe.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = h2.parse(u ?? ""), m = h2.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);+ if (h.isNaN()) return m2;+ t = t.replace(oWe, h.toString());}return t;}-var fWe = /\(([^()]*)\)/;-function pWe(e) {- for (var t = e, n; (n = fWe.exec(t)) != null;) {- var r = m2(n, 2)[1];- t = t.replace(fWe, dWe(r));+var mWe = /\(([^()]*)\)/;+function hWe(e) {+ for (var t = e, n; (n = mWe.exec(t)) != null;) {+ var r = p2(n, 2)[1];+ t = t.replace(mWe, pWe(r));}return t;}-function mWe(e) {+function gWe(e) {var t = e.replace(/\s+/g, "");- return t = pWe(t), t = dWe(t), t;+ return t = hWe(t), t = pWe(t), t;}-function hWe(e) {+function _We(e) {try {- return mWe(e);+ return gWe(e);} catch {- return h2;+ return m2;}}-function _2(e) {- var t = hWe(e.slice(5, -1));- return t === h2 ? "" : t;+function g2(e) {+ var t = _We(e.slice(5, -1));+ return t === m2 ? "" : t;}//#endregion//#region node_modules/recharts/es6/component/Text.js-var gWe = [+var vWe = ["x","y","lineHeight",@@ -74867,32 +74887,32 @@ var gWe = ["scaleToFit","textAnchor","verticalAnchor"-], _We = [+], yWe = ["dx","dy","angle","className","breakAll"];-function v2() {- return v2 = Object.assign ? Object.assign.bind() : function(e) {+function _2() {+ return _2 = 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;- }, v2.apply(null, arguments);+ }, _2.apply(null, arguments);}-function vWe(e, t) {+function bWe(e, t) {if (e == null) return {};- var n, r, i = yWe(e, t);+ var n, r, i = xWe(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 yWe(e, t) {+function xWe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -74901,25 +74921,25 @@ function yWe(e, t) {}return n;}-function bWe(e, t) {- return TWe(e) || wWe(e, t) || SWe(e, t) || xWe();+function SWe(e, t) {+ return DWe(e) || EWe(e, t) || wWe(e, t) || CWe();}-function xWe() {+function CWe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function SWe(e, t) {+function wWe(e, t) {if (e) {- if (typeof e == "string") return CWe(e, t);+ if (typeof e == "string") return TWe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? CWe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? TWe(e, t) : void 0;}}-function CWe(e, t) {+function TWe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function wWe(e, t) {+function EWe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -74940,31 +74960,31 @@ function wWe(e, t) {return s;}}-function TWe(e) {+function DWe(e) {if (Array.isArray(e)) return e;}-var EWe = /[ \f\n\r\t\v\u2028\u2029]+/, DWe = (e) => {+var OWe = /[ \f\n\r\t\v\u2028\u2029]+/, kWe = (e) => {var t = e.children, n = e.breakAll, r = e.style;try {var i = [];- return kH(t) || (i = n ? t.toString().split("") : t.toString().split(EWe)), {+ return OH(t) || (i = n ? t.toString().split("") : t.toString().split(OWe)), {wordsWithComputedWidth: i.map((e) => ({word: e,- width: p2(e, r).width+ width: f2(e, r).width})),- spaceWidth: n ? 0 : p2("\xA0", r).width+ spaceWidth: n ? 0 : f2("\xA0", r).width};} catch {return null;}};-function OWe(e) {+function AWe(e) {return e === "start" || e === "middle" || e === "end" || e === "inherit";}-function kWe(e) {- return kH(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";+function jWe(e) {+ return OH(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";}-var AWe = (e, t, n, r) => e.reduce((e, i) => {+var MWe = (e, t, n, r) => e.reduce((e, i) => {var a = i.word, o = i.width, s = e[e.length - 1];if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;else {@@ -74975,20 +74995,20 @@ var AWe = (e, t, n, r) => e.reduce((e, i) => {e.push(c);}return e;-}, []), jWe = (e) => e.reduce((e, t) => e.width > t.width ? e : t), MWe = "…", NWe = (e, t, n, r, i, a, o, s) => {- var c = DWe({+}, []), NWe = (e) => e.reduce((e, t) => e.width > t.width ? e : t), PWe = "…", FWe = (e, t, n, r, i, a, o, s) => {+ var c = kWe({breakAll: n,style: r,- children: e.slice(0, t) + MWe+ children: e.slice(0, t) + PWe});if (!c) return [!1, []];- var l = AWe(c.wordsWithComputedWidth, a, o, s);- return [l.length > i || jWe(l).width > Number(a), l];-}, PWe = (e, t, n, r, i) => {- var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = q(a), u = String(o), d = AWe(t, r, n, i);- if (!l || i || !(d.length > a || jWe(d).width > Number(r))) return d;+ var l = MWe(c.wordsWithComputedWidth, a, o, s);+ return [l.length > i || NWe(l).width > Number(a), l];+}, IWe = (e, t, n, r, i) => {+ var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = q(a), u = String(o), d = MWe(t, r, n, i);+ if (!l || i || !(d.length > a || NWe(d).width > Number(r))) return d;for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {- var g = Math.floor((f + p) / 2), _ = bWe(NWe(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = bWe(NWe(u, g, c, s, a, r, n, i), 1)[0];+ var g = Math.floor((f + p) / 2), _ = SWe(FWe(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = SWe(FWe(u, g, c, s, a, r, n, i), 1)[0];if (!v && !b && (f = g + 1), v && b && (p = g - 1), !v && b) {h = y;break;@@ -74996,13 +75016,13 @@ var AWe = (e, t, n, r) => e.reduce((e, i) => {m++;}return h || d;-}, FWe = (e) => [{- words: kH(e) ? [] : e.toString().split(EWe),+}, LWe = (e) => [{+ words: OH(e) ? [] : e.toString().split(OWe),width: void 0-}], IWe = (e) => {+}], RWe = (e) => {var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, o = e.maxLines;- if ((t || n) && !_J.isSsr) {- var s, c, l = DWe({+ if ((t || n) && !gJ.isSsr) {+ var s, c, l = kWe({breakAll: a,children: r,style: i@@ -75010,28 +75030,28 @@ var AWe = (e, t, n, r) => e.reduce((e, i) => {if (l) {var u = l.wordsWithComputedWidth, d = l.spaceWidth;s = u, c = d;- } else return FWe(r);- return PWe({+ } else return LWe(r);+ return IWe({breakAll: a,children: r,maxLines: o,style: i}, s, c, t, !!n);}- return FWe(r);-}, LWe = "#808080", RWe = {+ return LWe(r);+}, zWe = "#808080", BWe = {angle: 0,breakAll: !1,capHeight: "0.71em",- fill: LWe,+ fill: zWe,lineHeight: "1em",scaleToFit: !1,textAnchor: "start",verticalAnchor: "end",x: 0,y: 0-}, y2 = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = zU(e, RWe), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = vWe(n, gWe), f = (0, b.useMemo)(() => IWe({+}, v2 = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = RU(e, BWe), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = bWe(n, vWe), f = (0, b.useMemo)(() => RWe({breakAll: d.breakAll,children: d.children,maxLines: d.maxLines,@@ -75045,32 +75065,32 @@ var AWe = (e, t, n, r) => e.reduce((e, i) => {c,d.style,d.width- ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = vWe(d, _We);- if (!CH(r) || !CH(i) || f.length === 0) return null;+ ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = bWe(d, yWe);+ if (!SH(r) || !SH(i) || f.length === 0) return null;var y = Number(r) + (q(p) ? p : 0), x = Number(i) + (q(m) ? m : 0);- if (!QK(y) || !QK(x)) return null;+ if (!ZK(y) || !ZK(x)) return null;var S;switch (u) {case "start":- S = _2(`calc(${o})`);+ S = g2(`calc(${o})`);break;case "middle":- S = _2(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);+ S = g2(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);break;- default: S = _2(`calc(${f.length - 1} * -${a})`);+ default: S = g2(`calc(${f.length - 1} * -${a})`);}var C = [], w = f[0];if (c && w != null) {var T = w.width, E = d.width;C.push(`scale(${q(E) && q(T) ? E / T : 1})`);}- return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", v2({}, oH(v), {+ return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", _2({}, aH(v), {ref: t,x: y,y: x,className: dv("recharts-text", g),textAnchor: l,- fill: s.includes("url") ? LWe : s+ fill: s.includes("url") ? zWe : s}), f.map((e, t) => {var n = e.words.join(_ ? "" : " ");return /*#__PURE__*/ b.createElement("tspan", {@@ -75080,20 +75100,20 @@ var AWe = (e, t, n, r) => e.reduce((e, i) => {}, n);}));});-y2.displayName = "Text";+v2.displayName = "Text";//#endregion//#region node_modules/recharts/es6/component/Label.js-var zWe = ["labelRef"], BWe = ["content"];-function VWe(e, t) {+var VWe = ["labelRef"], HWe = ["content"];+function UWe(e, t) {if (e == null) return {};- var n, r, i = HWe(e, t);+ var n, r, i = WWe(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 HWe(e, t) {+function WWe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -75102,7 +75122,7 @@ function HWe(e, t) {}return n;}-function UWe(e, t) {+function GWe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -75112,30 +75132,30 @@ function UWe(e, t) {}return n;}-function b2(e) {+function y2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? UWe(Object(n), !0).forEach(function(t) {- WWe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UWe(Object(n)).forEach(function(t) {+ t % 2 ? GWe(Object(n), !0).forEach(function(t) {+ KWe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GWe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function WWe(e, t, n) {- return (t = GWe(t)) in e ? Object.defineProperty(e, t, {+function KWe(e, t, n) {+ return (t = qWe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function GWe(e) {- var t = KWe(e, "string");+function qWe(e) {+ var t = JWe(e, "string");return typeof t == "symbol" ? t : t + "";}-function KWe(e, t) {+function JWe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -75145,16 +75165,16 @@ function KWe(e, t) {}return (t === "string" ? String : Number)(e);}-function x2() {- return x2 = Object.assign ? Object.assign.bind() : function(e) {+function b2() {+ return b2 = 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;- }, x2.apply(null, arguments);+ }, b2.apply(null, arguments);}-var qWe = /*#__PURE__*/ (0, b.createContext)(null), JWe = (e) => {+var YWe = /*#__PURE__*/ (0, b.createContext)(null), XWe = (e) => {var t = e.x, n = e.y, r = e.upperWidth, i = e.lowerWidth, a = e.width, o = e.height, s = e.children, c = (0, b.useMemo)(() => ({x: t,y: n,@@ -75170,11 +75190,11 @@ var qWe = /*#__PURE__*/ (0, b.createContext)(null), JWe = (e) => {a,o]);- return /*#__PURE__*/ b.createElement(qWe.Provider, { value: c }, s);-}, YWe = () => {- var e = (0, b.useContext)(qWe), t = Bq();- return e || (t ? NH(t) : void 0);-}, XWe = /*#__PURE__*/ (0, b.createContext)(null), ZWe = (e) => {+ return /*#__PURE__*/ b.createElement(YWe.Provider, { value: c }, s);+}, ZWe = () => {+ var e = (0, b.useContext)(YWe), t = zq();+ return e || (t ? MH(t) : void 0);+}, QWe = /*#__PURE__*/ (0, b.createContext)(null), $We = (e) => {var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = e.clockWise, c = e.children, l = (0, b.useMemo)(() => ({cx: t,cy: n,@@ -75192,15 +75212,15 @@ var qWe = /*#__PURE__*/ (0, b.createContext)(null), JWe = (e) => {o,s]);- return /*#__PURE__*/ b.createElement(XWe.Provider, { value: l }, c);-}, QWe = () => {- var e = (0, b.useContext)(XWe), t = J(dX);+ return /*#__PURE__*/ b.createElement(QWe.Provider, { value: l }, c);+}, eGe = () => {+ var e = (0, b.useContext)(QWe), t = J(uX);return e || t;-}, $We = (e) => {- var t = e.value, n = e.formatter, r = kH(e.children) ? t : e.children;+}, tGe = (e) => {+ var t = e.value, n = e.formatter, r = OH(e.children) ? t : e.children;return typeof n == "function" ? n(r) : r;-}, S2 = (e) => e != null && typeof e == "function", eGe = (e, t) => bH(t - e) * Math.min(Math.abs(t - e), 360), tGe = (e, t, n, r, i) => {- var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = eGe(d, f), g = h >= 0 ? 1 : -1, _, v;+}, x2 = (e) => e != null && typeof e == "function", nGe = (e, t) => yH(t - e) * Math.min(Math.abs(t - e), 360), rGe = (e, t, n, r, i) => {+ var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = nGe(d, f), g = h >= 0 ? 1 : -1, _, v;switch (t) {case "insideStart":_ = d + g * a, v = p;@@ -75214,20 +75234,20 @@ var qWe = /*#__PURE__*/ (0, b.createContext)(null), JWe = (e) => {default: throw Error(`Unsupported position ${t}`);}v = h <= 0 ? v : !v;- var y = lY(s, c, m, _), x = lY(s, c, m, _ + (v ? 1 : -1) * 359), S = `M${y.x},${y.y}+ var y = cY(s, c, m, _), x = cY(s, c, m, _ + (v ? 1 : -1) * 359), S = `M${y.x},${y.y}A${m},${m},0,1,${+!v},- ${x.x},${x.y}`, C = kH(e.id) ? wH("recharts-radial-line-") : e.id;- return /*#__PURE__*/ b.createElement("text", x2({}, r, {+ ${x.x},${x.y}`, C = OH(e.id) ? CH("recharts-radial-line-") : e.id;+ return /*#__PURE__*/ b.createElement("text", b2({}, r, {dominantBaseline: "central",className: dv("recharts-radial-bar-label", o)}), /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("path", {id: C,d: S})), /*#__PURE__*/ b.createElement("textPath", { xlinkHref: `#${C}` }, n));-}, nGe = (e, t, n) => {+}, iGe = (e, t, n) => {var r = e.cx, i = e.cy, a = e.innerRadius, o = e.outerRadius, s = (e.startAngle + e.endAngle) / 2;if (n === "outside") {- var c = lY(r, i, o + t, s), l = c.x;+ var c = cY(r, i, o + t, s), l = c.x;return {x: l,y: c.y,@@ -75253,22 +75273,22 @@ var qWe = /*#__PURE__*/ (0, b.createContext)(null), JWe = (e) => {textAnchor: "middle",verticalAnchor: "end"};- var u = lY(r, i, (a + o) / 2, s);+ var u = cY(r, i, (a + o) / 2, s);return {x: u.x,y: u.y,textAnchor: "middle",verticalAnchor: "middle"};-}, C2 = (e) => e != null && "cx" in e && q(e.cx), rGe = {+}, S2 = (e) => e != null && "cx" in e && q(e.cx), aGe = {angle: 0,offset: 5,- zIndex: JY.label,+ zIndex: qY.label,position: "middle",textBreakAll: !1};-function iGe(e) {- if (!C2(e)) return e;+function oGe(e) {+ if (!S2(e)) return e;var t = e.cx, n = e.cy, r = e.outerRadius, i = r * 2;return {x: t - r,@@ -75279,100 +75299,100 @@ function iGe(e) {height: i};}-function w2(e) {- var t = zU(e, rGe), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = QWe(), p = YWe(), m = n == null ? i === "center" ? p : f ?? p : C2(n) ? n : NH(n), h, g, _ = iGe(m);- if (!m || kH(a) && kH(o) && !/*#__PURE__*/ (0, b.isValidElement)(s) && typeof s != "function") return null;- var v = C2(m) && (i === "insideStart" || i === "insideEnd" || i === "end");- if (C2(m)) v || (g = nGe(m, t.offset, t.position));+function C2(e) {+ var t = RU(e, aGe), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = eGe(), p = ZWe(), m = n == null ? i === "center" ? p : f ?? p : S2(n) ? n : MH(n), h, g, _ = oGe(m);+ if (!m || OH(a) && OH(o) && !/*#__PURE__*/ (0, b.isValidElement)(s) && typeof s != "function") return null;+ var v = S2(m) && (i === "insideStart" || i === "insideEnd" || i === "end");+ if (S2(m)) v || (g = iGe(m, t.offset, t.position));else if (_) {- var y = IH({+ var y = FH({viewBox: _,position: i,offset: t.offset,- parentViewBox: C2(r) ? void 0 : r,+ parentViewBox: S2(r) ? void 0 : r,clamp: !0});- g = b2(b2({+ g = y2(y2({x: y.x,y: y.y,textAnchor: y.horizontalAnchor,verticalAnchor: y.verticalAnchor}, y.width === void 0 ? {} : { width: y.width }), y.height === void 0 ? {} : { height: y.height });}- var x = b2(b2(b2(b2({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });+ var x = y2(y2(y2(y2({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });if (/*#__PURE__*/ (0, b.isValidElement)(s)) {x.labelRef;- var S = VWe(x, zWe);+ var S = UWe(x, VWe);return /*#__PURE__*/ (0, b.cloneElement)(s, S);}if (typeof s == "function") {x.content;- var C = VWe(x, BWe);+ var C = UWe(x, HWe);if (h = /*#__PURE__*/ (0, b.createElement)(s, C), /*#__PURE__*/ (0, b.isValidElement)(h)) return h;- } else h = $We(t);- var w = oH(t);- return v && C2(m) ? tGe(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ b.createElement(i2, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(y2, x2({+ } else h = tGe(t);+ var w = aH(t);+ return v && S2(m) ? rGe(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ b.createElement(r2, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(v2, b2({ref: d,className: dv("recharts-label", l)}, w, g, {- textAnchor: OWe(w.textAnchor) ? w.textAnchor : g.textAnchor,+ textAnchor: AWe(w.textAnchor) ? w.textAnchor : g.textAnchor,breakAll: u}), h));}-w2.displayName = "Label";-var aGe = (e, t, n) => {+C2.displayName = "Label";+var sGe = (e, t, n) => {if (!e) return null;var r = {viewBox: t,labelRef: n};- return e === !0 ? /*#__PURE__*/ b.createElement(w2, x2({ key: "label-implicit" }, r)) : CH(e) ? /*#__PURE__*/ b.createElement(w2, x2({+ return e === !0 ? /*#__PURE__*/ b.createElement(C2, b2({ key: "label-implicit" }, r)) : SH(e) ? /*#__PURE__*/ b.createElement(C2, b2({key: "label-implicit",value: e- }, r)) : /*#__PURE__*/ (0, b.isValidElement)(e) ? e.type === w2 ? /*#__PURE__*/ (0, b.cloneElement)(e, b2({ key: "label-implicit" }, r)) : /*#__PURE__*/ b.createElement(w2, x2({+ }, r)) : /*#__PURE__*/ (0, b.isValidElement)(e) ? e.type === C2 ? /*#__PURE__*/ (0, b.cloneElement)(e, y2({ key: "label-implicit" }, r)) : /*#__PURE__*/ b.createElement(C2, b2({key: "label-implicit",content: e- }, r)) : S2(e) ? /*#__PURE__*/ b.createElement(w2, x2({+ }, r)) : x2(e) ? /*#__PURE__*/ b.createElement(C2, b2({key: "label-implicit",content: e- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ b.createElement(w2, x2({}, e, { key: "label-implicit" }, r)) : null;+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ b.createElement(C2, b2({}, e, { key: "label-implicit" }, r)) : null;};-function oGe(e) {+function cGe(e) {var t = e.label, n = e.labelRef;- return aGe(t, YWe(), n) || null;+ return sGe(t, ZWe(), n) || null;}-function sGe(e) {+function lGe(e) {var t = e.label;- return aGe(t, QWe()) || null;+ return sGe(t, eGe()) || null;}//#endregion//#region node_modules/recharts/es6/component/LabelList.js-var cGe = ["valueAccessor"], lGe = [+var uGe = ["valueAccessor"], dGe = ["dataKey","clockWise","id","textBreakAll","zIndex"];-function T2() {- return T2 = Object.assign ? Object.assign.bind() : function(e) {+function w2() {+ return w2 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, T2.apply(null, arguments);+ }, w2.apply(null, arguments);}-function uGe(e, t) {+function fGe(e, t) {if (e == null) return {};- var n, r, i = dGe(e, t);+ var n, r, i = pGe(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 dGe(e, t) {+function pGe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -75381,23 +75401,23 @@ function dGe(e, t) {}return n;}-var fGe = (e) => {+var mGe = (e) => {var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;- if (kWe(t)) return t;-}, pGe = /*#__PURE__*/ (0, b.createContext)(void 0), E2 = pGe.Provider, mGe = /*#__PURE__*/ (0, b.createContext)(void 0), hGe = mGe.Provider;-function gGe() {- return (0, b.useContext)(pGe);+ if (jWe(t)) return t;+}, hGe = /*#__PURE__*/ (0, b.createContext)(void 0), T2 = hGe.Provider, gGe = /*#__PURE__*/ (0, b.createContext)(void 0), _Ge = gGe.Provider;+function vGe() {+ return (0, b.useContext)(hGe);}-function _Ge() {- return (0, b.useContext)(mGe);+function yGe() {+ return (0, b.useContext)(gGe);}-function D2(e) {- var t = e.valueAccessor, n = t === void 0 ? fGe : t, r = uGe(e, cGe), i = r.dataKey;+function E2(e) {+ var t = e.valueAccessor, n = t === void 0 ? mGe : t, r = fGe(e, uGe), i = r.dataKey;r.clockWise;- var a = r.id, o = r.textBreakAll, s = r.zIndex, c = uGe(r, lGe), l = gGe(), u = _Ge(), d = l || u;- return !d || !d.length ? null : /*#__PURE__*/ b.createElement(i2, { zIndex: s ?? JY.label }, /*#__PURE__*/ b.createElement(uH, { className: "recharts-label-list" }, d.map((e, t) => {- var s = kH(i) ? n(e, t) : nq(e.payload, i), l = kH(a) ? {} : { id: `${a}-${t}` };- return /*#__PURE__*/ b.createElement(w2, T2({ key: `label-${t}` }, oH(e), c, l, {+ var a = r.id, o = r.textBreakAll, s = r.zIndex, c = fGe(r, dGe), l = vGe(), u = yGe(), d = l || u;+ return !d || !d.length ? null : /*#__PURE__*/ b.createElement(r2, { zIndex: s ?? qY.label }, /*#__PURE__*/ b.createElement(lH, { className: "recharts-label-list" }, d.map((e, t) => {+ var s = OH(i) ? n(e, t) : tq(e.payload, i), l = OH(a) ? {} : { id: `${a}-${t}` };+ return /*#__PURE__*/ b.createElement(C2, w2({ key: `label-${t}` }, aH(e), c, l, {fill: r.fill ?? e.fill,parentViewBox: e.parentViewBox,value: s,@@ -75408,41 +75428,41 @@ function D2(e) {}));})));}-D2.displayName = "LabelList";-function O2(e) {+E2.displayName = "LabelList";+function D2(e) {var t = e.label;- return t ? t === !0 ? /*#__PURE__*/ b.createElement(D2, { key: "labelList-implicit" }) : /*#__PURE__*/ b.isValidElement(t) || S2(t) ? /*#__PURE__*/ b.createElement(D2, {+ return t ? t === !0 ? /*#__PURE__*/ b.createElement(E2, { key: "labelList-implicit" }) : /*#__PURE__*/ b.isValidElement(t) || x2(t) ? /*#__PURE__*/ b.createElement(E2, {key: "labelList-implicit",content: t- }) : typeof t == "object" ? /*#__PURE__*/ b.createElement(D2, T2({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;+ }) : typeof t == "object" ? /*#__PURE__*/ b.createElement(E2, w2({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;}//#endregion//#region node_modules/recharts/es6/shape/Polygon.js-var vGe = [+var bGe = ["points","className","baseLinePoints","connectNulls"-], yGe;-function k2() {- return k2 = Object.assign ? Object.assign.bind() : function(e) {+], xGe;+function O2() {+ return O2 = 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;- }, k2.apply(null, arguments);+ }, O2.apply(null, arguments);}-function bGe(e, t) {+function SGe(e, t) {if (e == null) return {};- var n, r, i = xGe(e, t);+ var n, r, i = CGe(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 xGe(e, t) {+function CGe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -75451,23 +75471,23 @@ function xGe(e, t) {}return n;}-function SGe(e, t) {+function wGe(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var CGe = (e) => e != null && e.x === +e.x && e.y === +e.y, wGe = function() {+var TGe = (e) => e != null && e.x === +e.x && e.y === +e.y, EGe = function() {var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];e.forEach((e) => {var n = t[t.length - 1];- CGe(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);+ TGe(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);});var n = e[0], r = t[t.length - 1];- CGe(n) && r && r.push(n);+ TGe(n) && r && r.push(n);var i = t[t.length - 1];return i && i.length <= 0 && (t = t.slice(0, -1)), t;-}, A2 = (e, t) => {- var n = wGe(e);+}, k2 = (e, t) => {+ var n = EGe(e);t && (n = [n.reduce((e, t) => [...e, ...t], [])]);- var r = n.map((e) => e.reduce((e, t, n) => yH(yGe ||= SGe([+ var r = n.map((e) => e.reduce((e, t, n) => vH(xGe ||= wGe(["","","",@@ -75475,29 +75495,29 @@ var CGe = (e) => e != null && e.x === +e.x && e.y === +e.y, wGe = function() {""]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");return n.length === 1 ? `${r}Z` : r;-}, TGe = (e, t, n) => {- var r = A2(e, n);- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${A2(Array.from(t).reverse(), n).slice(1)}`;-}, EGe = (e) => {- var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = bGe(e, vGe);+}, DGe = (e, t, n) => {+ var r = k2(e, n);+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${k2(Array.from(t).reverse(), n).slice(1)}`;+}, OGe = (e) => {+ var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = SGe(e, bGe);if (!t || !t.length) return null;var o = dv("recharts-polygon", n);if (r && r.length) {- var s = a.stroke && a.stroke !== "none", c = TGe(t, r, i);- return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", k2({}, oH(a), {+ var s = a.stroke && a.stroke !== "none", c = DGe(t, r, i);+ return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", O2({}, aH(a), {fill: c.slice(-1) === "Z" ? a.fill : "none",stroke: "none",d: c- })), s ? /*#__PURE__*/ b.createElement("path", k2({}, oH(a), {+ })), s ? /*#__PURE__*/ b.createElement("path", O2({}, aH(a), {fill: "none",- d: A2(t, i)- })) : null, s ? /*#__PURE__*/ b.createElement("path", k2({}, oH(a), {+ d: k2(t, i)+ })) : null, s ? /*#__PURE__*/ b.createElement("path", O2({}, aH(a), {fill: "none",- d: A2(r, i)+ d: k2(r, i)})) : null);}- var l = A2(t, i);- return /*#__PURE__*/ b.createElement("path", k2({}, oH(a), {+ var l = k2(t, i);+ return /*#__PURE__*/ b.createElement("path", O2({}, aH(a), {fill: l.slice(-1) === "Z" ? a.fill : "none",className: o,d: l@@ -75505,112 +75525,112 @@ var CGe = (e) => e != null && e.x === +e.x && e.y === +e.y, wGe = function() {};//#endregion//#region node_modules/recharts/es6/shape/Dot.js-function j2() {- return j2 = Object.assign ? Object.assign.bind() : function(e) {+function A2() {+ return A2 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, j2.apply(null, arguments);+ }, A2.apply(null, arguments);}-var M2 = (e) => {+var j2 = (e) => {var t = e.cx, n = e.cy, r = e.r, i = e.className, a = dv("recharts-dot", i);- return q(t) && q(n) && q(r) ? /*#__PURE__*/ b.createElement("circle", j2({}, iH(e), IU(e), {+ return q(t) && q(n) && q(r) ? /*#__PURE__*/ b.createElement("circle", A2({}, rH(e), FU(e), {className: a,cx: t,cy: n,r})) : null;-}, N2 = (e) => e.graphicalItems.polarItems, P2 = Y([- N2,- J$,- Y([fX, pX], Z$)-], $$), F2 = Y([Y([P2], r1), yY], a1), DGe = Y([- F2,- J$,- P2-], s1);+}, M2 = (e) => e.graphicalItems.polarItems, N2 = Y([+ M2,+ q$,+ Y([dX, fX], X$)+], Q$), P2 = Y([Y([N2], n1), vY], i1), kGe = Y([+ P2,+ q$,+ N2+], o1);Y([- F2,- J$,- P2+ P2,+ q$,+ N2], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({- value: nq(e, t.dataKey ?? n.dataKey),+ value: tq(e, t.dataKey ?? n.dataKey),errorDomain: []}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({value: e,errorDomain: []})) : e.map((e) => ({- value: nq(e, t.dataKey),+ value: tq(e, t.dataKey),errorDomain: []})));-var OGe = () => void 0, kGe = Y([- J$,- Wq,- F2,- DGe,- HY,- fX,+var AGe = () => void 0, jGe = Y([+ q$,+ Uq,+ P2,+ kGe,+ VY,+ dX,Y([- J$,+ q$,+ y1,b1,- x1,- OGe,+ AGe,Y([- F2,- J$,P2,- S1,- fX,- ELe- ], w1),- OGe,- Wq,- fX- ], M1)-], N1), AGe = Y([- kGe,- Y$,- F1-], I1), jGe = Y([F1, Y([+ q$,+ N2,+ x1,+ dX,+ OLe+ ], C1),+ AGe,+ Uq,+ dX+ ], j1)+], M1), MGe = Y([+ jGe,J$,- kGe,- AGe,- fX-], R1)], SX), I2 = (e, t, n) => {+ P1+], F1), NGe = Y([P1, Y([+ q$,+ jGe,+ MGe,+ dX+], L1)], xX), F2 = (e, t, n) => {switch (t) {- case "angleAxis": return rX(e, n);- case "radiusAxis": return iX(e, n);+ case "angleAxis": return nX(e, n);+ case "radiusAxis": return rX(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, L2 = (e, t, n) => {+}, I2 = (e, t, n) => {switch (t) {- case "angleAxis": return HLe(e, n);- case "radiusAxis": return ULe(e, n);+ case "angleAxis": return WLe(e, n);+ case "radiusAxis": return GLe(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, R2 = Y([Y([- I2,- F1,- jGe,- L2-], N$)], xX), MGe = Y([- Wq,- DGe,- Y$,- fX-], G1), z2 = Y([- Wq,- I2,- F1,- R2,- AGe,+}, L2 = Y([Y([+ F2,+ P1,+ NGe,+ I2+], M$)], bX), PGe = Y([+ Uq,+ kGe,+ J$,+ dX+], W1), R2 = Y([+ Uq,+ F2,+ P1,L2,- n0,MGe,- fX-], i0), NGe = Y([z2], (e) => {+ I2,+ t0,+ PGe,+ dX+], r0), FGe = Y([R2], (e) => {if (e) {var t = /* @__PURE__ */ new Map();return e.forEach((e) => {@@ -75618,19 +75638,19 @@ var OGe = () => void 0, kGe = Y([t.has(n) || t.set(n, e);}), Array.from(t.values());}-}), PGe = Y([- Wq,- I2,- R2,+}), IGe = Y([+ Uq,+ F2,L2,- n0,- MGe,- fX-], o0), FGe = Y([(e, t) => z2(e, "angleAxis", t, !1)], (e) => {+ I2,+ t0,+ PGe,+ dX+], a0), LGe = Y([(e, t) => R2(e, "angleAxis", t, !1)], (e) => {if (e) return e.map((e) => e.coordinate);-}), IGe = Y([(e, t) => z2(e, "radiusAxis", t, !1)], (e) => {+}), RGe = Y([(e, t) => R2(e, "radiusAxis", t, !1)], (e) => {if (e) return e.map((e) => e.coordinate);-}), LGe = [+}), zGe = ["gridType","radialLines","angleAxisId",@@ -75643,16 +75663,16 @@ var OGe = () => void 0, kGe = Y(["polarRadius","zIndex"];-function RGe(e, t) {+function BGe(e, t) {if (e == null) return {};- var n, r, i = zGe(e, t);+ var n, r, i = VGe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function zGe(e, t) {+function VGe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -75661,16 +75681,16 @@ function zGe(e, t) {}return n;}-function B2() {- return B2 = Object.assign ? Object.assign.bind() : function(e) {+function z2() {+ return z2 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, B2.apply(null, arguments);+ }, z2.apply(null, arguments);}-function BGe(e, t) {+function HGe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -75680,30 +75700,30 @@ function BGe(e, t) {}return n;}-function V2(e) {+function B2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? BGe(Object(n), !0).forEach(function(t) {- VGe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BGe(Object(n)).forEach(function(t) {+ t % 2 ? HGe(Object(n), !0).forEach(function(t) {+ UGe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HGe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function VGe(e, t, n) {- return (t = HGe(t)) in e ? Object.defineProperty(e, t, {+function UGe(e, t, n) {+ return (t = WGe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function HGe(e) {- var t = UGe(e, "string");+function WGe(e) {+ var t = GGe(e, "string");return typeof t == "symbol" ? t : t + "";}-function UGe(e, t) {+function GGe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -75713,66 +75733,66 @@ function UGe(e, t) {}return (t === "string" ? String : Number)(e);}-var WGe = (e, t, n, r) => {+var KGe = (e, t, n, r) => {var i = "";return r.forEach((r, a) => {- var o = lY(t, n, e, r);+ var o = cY(t, n, e, r);i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;}), i += "Z", i;-}, GGe = (e) => {+}, qGe = (e) => {var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.polarAngles, o = e.radialLines;if (!a || !a.length || !o) return null;- var s = V2({}, iH(e));+ var s = B2({}, rH(e));return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {- var a = lY(t, n, r, e), o = lY(t, n, i, e);- return /*#__PURE__*/ b.createElement("line", B2({ key: `line-${e}` }, s, {+ var a = cY(t, n, r, e), o = cY(t, n, i, e);+ return /*#__PURE__*/ b.createElement("line", z2({ key: `line-${e}` }, s, {x1: a.x,y1: a.y,x2: o.x,y2: o.y}));}));-}, KGe = (e) => {- var t = e.cx, n = e.cy, r = e.radius, i = V2({}, iH(e));- return /*#__PURE__*/ b.createElement("circle", B2({}, i, {+}, JGe = (e) => {+ var t = e.cx, n = e.cy, r = e.radius, i = B2({}, rH(e));+ return /*#__PURE__*/ b.createElement("circle", z2({}, i, {className: dv("recharts-polar-grid-concentric-circle", e.className),cx: t,cy: n,r}));-}, qGe = (e) => {- var t = e.radius, n = V2({}, iH(e));- return /*#__PURE__*/ b.createElement("path", B2({}, n, {+}, YGe = (e) => {+ var t = e.radius, n = B2({}, rH(e));+ return /*#__PURE__*/ b.createElement("path", z2({}, n, {className: dv("recharts-polar-grid-concentric-polygon", e.className),- d: WGe(t, e.cx, e.cy, e.polarAngles)+ d: KGe(t, e.cx, e.cy, e.polarAngles)}));-}, JGe = (e) => {+}, XGe = (e) => {var t = e.polarRadius, n = e.gridType;if (!t || !t.length) return null;var r = Math.max(...t), i = e.fill && e.fill !== "none";- return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ b.createElement(KGe, B2({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ b.createElement(qGe, B2({}, e, { radius: r })), t.map((t, r) => {+ return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ b.createElement(JGe, z2({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ b.createElement(YGe, z2({}, e, { radius: r })), t.map((t, r) => {var i = r;- return n === "circle" ? /*#__PURE__*/ b.createElement(KGe, B2({ key: i }, e, {+ return n === "circle" ? /*#__PURE__*/ b.createElement(JGe, z2({ key: i }, e, {fill: "none",radius: t- })) : /*#__PURE__*/ b.createElement(qGe, B2({ key: i }, e, {+ })) : /*#__PURE__*/ b.createElement(YGe, z2({ key: i }, e, {fill: "none",radius: t}));}));-}, YGe = {+}, ZGe = {angleAxisId: 0,radiusAxisId: 0,gridType: "polygon",radialLines: !0,- zIndex: JY.grid,+ zIndex: qY.grid,stroke: "#ccc",strokeWidth: 1,fill: "none"-}, XGe = (e) => {- var t = zU(e, YGe), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = RGe(t, LGe), m = J(dX), h = J((e) => FGe(e, i)), g = J((e) => IGe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;+}, QGe = (e) => {+ var t = RU(e, ZGe), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = BGe(t, zGe), m = J(uX), h = J((e) => LGe(e, i)), g = J((e) => RGe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;if (_ == null || v == null) return null;- var y = V2({+ var y = B2({cx: m?.cx ?? o ?? 0,cy: m?.cy ?? s ?? 0,innerRadius: m?.innerRadius ?? c ?? 0,@@ -75781,13 +75801,13 @@ var WGe = (e, t, n, r) => {polarRadius: v,zIndex: f}, p);- return y.outerRadius <= 0 ? null : /*#__PURE__*/ b.createElement(i2, { zIndex: y.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ b.createElement(JGe, B2({+ return y.outerRadius <= 0 ? null : /*#__PURE__*/ b.createElement(r2, { zIndex: y.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ b.createElement(XGe, z2({gridType: n,radialLines: r}, y, {polarAngles: _,polarRadius: v- })), /*#__PURE__*/ b.createElement(GGe, B2({+ })), /*#__PURE__*/ b.createElement(qGe, z2({gridType: n,radialLines: r}, y, {@@ -75795,19 +75815,19 @@ var WGe = (e, t, n, r) => {polarRadius: v}))));};-XGe.displayName = "PolarGrid";+QGe.displayName = "PolarGrid";//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs-function H2(e) {+function V2(e) {return Array.isArray(e) ? e : Array.from(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs-function ZGe(e, t = WU) {+function $Ge(e, t = UU) {if (e == null) return;- let n = H2(e);+ let n = V2(e);if (n.length === 0) return;- let r = OW(t), i, a;+ let r = DW(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);@@ -75816,11 +75836,11 @@ function ZGe(e, t = WU) {}//#endregion//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs-function QGe(e, t = WU) {+function eKe(e, t = UU) {if (e == null) return;- let n = H2(e);+ let n = V2(e);if (n.length === 0) return;- let r = OW(t), i, a;+ let r = DW(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);@@ -75829,7 +75849,7 @@ function QGe(e, t = WU) {}//#endregion//#region node_modules/recharts/es6/state/polarAxisSlice.js-var $Ge = SK({+var tKe = xK({name: "polarAxis",initialState: {radiusAxis: {},@@ -75837,47 +75857,47 @@ var $Ge = SK({},reducers: {addRadiusAxis(e, t) {- e.radiusAxis[t.payload.id] = dK(t.payload);+ e.radiusAxis[t.payload.id] = uK(t.payload);},removeRadiusAxis(e, t) {delete e.radiusAxis[t.payload.id];},addAngleAxis(e, t) {- e.angleAxis[t.payload.id] = dK(t.payload);+ e.angleAxis[t.payload.id] = uK(t.payload);},removeAngleAxis(e, t) {delete e.angleAxis[t.payload.id];}}-}), U2 = $Ge.actions, eKe = U2.addRadiusAxis, tKe = U2.removeRadiusAxis, nKe = U2.addAngleAxis, rKe = U2.removeAngleAxis, iKe = $Ge.reducer;+}), H2 = tKe.actions, nKe = H2.addRadiusAxis, rKe = H2.removeRadiusAxis, iKe = H2.addAngleAxis, aKe = H2.removeAngleAxis, oKe = tKe.reducer;//#endregion//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js-function W2(e) {+function U2(e) {return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";}//#endregion//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js-var aKe = ["type"], oKe = [+var sKe = ["type"], cKe = ["cx","cy","angle","axisLine"-], sKe = [+], lKe = ["angle","tickFormatter","stroke","tick"];-function G2() {- return G2 = Object.assign ? Object.assign.bind() : function(e) {+function W2() {+ return W2 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, G2.apply(null, arguments);+ }, W2.apply(null, arguments);}-function cKe(e, t) {+function uKe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -75887,30 +75907,30 @@ function cKe(e, t) {}return n;}-function K2(e) {+function G2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? cKe(Object(n), !0).forEach(function(t) {- lKe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cKe(Object(n)).forEach(function(t) {+ t % 2 ? uKe(Object(n), !0).forEach(function(t) {+ dKe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uKe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function lKe(e, t, n) {- return (t = uKe(t)) in e ? Object.defineProperty(e, t, {+function dKe(e, t, n) {+ return (t = fKe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function uKe(e) {- var t = dKe(e, "string");+function fKe(e) {+ var t = pKe(e, "string");return typeof t == "symbol" ? t : t + "";}-function dKe(e, t) {+function pKe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -75920,16 +75940,16 @@ function dKe(e, t) {}return (t === "string" ? String : Number)(e);}-function q2(e, t) {+function K2(e, t) {if (e == null) return {};- var n, r, i = fKe(e, t);+ var n, r, i = mKe(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 fKe(e, t) {+function mKe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -75938,20 +75958,20 @@ function fKe(e, t) {}return n;}-var pKe = "radiusAxis";-function mKe(e) {- var t = MW(), n = Jq(), r = (0, b.useMemo)(() => {- var t = e.type, r = q2(e, aKe), i = QY(n, "radiusAxis", t);- if (i != null) return K2(K2({}, r), {}, { type: i });+var hKe = "radiusAxis";+function gKe(e) {+ var t = jW(), n = qq(), r = (0, b.useMemo)(() => {+ var t = e.type, r = K2(e, sKe), i = ZY(n, "radiusAxis", t);+ if (i != null) return G2(G2({}, r), {}, { type: i });}, [e, n]);- return (0, b.useEffect)(() => r == null ? MH : (t(eKe(r)), () => {- t(tKe(r));+ return (0, b.useEffect)(() => r == null ? jH : (t(nKe(r)), () => {+ t(rKe(r));}), [t, r]), null;}-var hKe = (e, t, n, r) => {+var _Ke = (e, t, n, r) => {var i = e.coordinate;- return lY(n, r, i, t);-}, gKe = (e) => {+ return cY(n, r, i, t);+}, vKe = (e) => {var t;switch (e) {case "left":@@ -75963,49 +75983,49 @@ var hKe = (e, t, n, r) => {default: t = "middle";}return t;-}, _Ke = (e, t, n, r) => {- var i = ZGe(r, (e) => e.coordinate || 0);+}, yKe = (e, t, n, r) => {+ var i = $Ge(r, (e) => e.coordinate || 0);return {cx: t,cy: n,startAngle: e,endAngle: e,- innerRadius: QGe(r, (e) => e.coordinate || 0)?.coordinate || 0,+ innerRadius: eKe(r, (e) => e.coordinate || 0)?.coordinate || 0,outerRadius: i?.coordinate || 0,clockWise: !1};-}, vKe = (e, t) => {- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = q2(e, oKe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = lY(n, r, s[0], i), l = lY(n, r, s[1], i), u = K2(K2(K2({}, iH(o)), {}, { fill: "none" }, iH(a)), {}, {+}, bKe = (e, t) => {+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = K2(e, cKe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = cY(n, r, s[0], i), l = cY(n, r, s[1], i), u = G2(G2(G2({}, rH(o)), {}, { fill: "none" }, rH(a)), {}, {x1: c.x,y1: c.y,x2: l.x,y2: l.y});- return /*#__PURE__*/ b.createElement("line", G2({ className: "recharts-polar-radius-axis-line" }, u));-}, yKe = (e, t, n) => /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ b.createElement(y2, G2({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), bKe = (e, t) => {- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = q2(e, sKe), s = gKe(e.orientation), c = iH(o), l = aH(a), u = t.map((t, o) => {- var u = hKe(t, e.angle, e.cx, e.cy), d = K2(K2(K2(K2({+ return /*#__PURE__*/ b.createElement("line", W2({ className: "recharts-polar-radius-axis-line" }, u));+}, xKe = (e, t, n) => /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ b.createElement(v2, W2({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), SKe = (e, t) => {+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = K2(e, lKe), s = vKe(e.orientation), c = rH(o), l = iH(a), u = t.map((t, o) => {+ var u = _Ke(t, e.angle, e.cx, e.cy), d = G2(G2(G2(G2({textAnchor: s,transform: `rotate(${90 - n}, ${u.x}, ${u.y})`}, c), {}, {stroke: "none",fill: i}, l), {}, { index: o }, u), {}, { payload: t });- return /*#__PURE__*/ b.createElement(uH, G2({- className: dv("recharts-polar-radius-axis-tick", W2(a)),+ return /*#__PURE__*/ b.createElement(lH, W2({+ className: dv("recharts-polar-radius-axis-tick", U2(a)),key: `tick-${t.coordinate}`- }, LU(e, t, o)), yKe(a, d, r ? r(t.value, o) : t.value));+ }, IU(e, t, o)), xKe(a, d, r ? r(t.value, o) : t.value));});- return /*#__PURE__*/ b.createElement(uH, { className: "recharts-polar-radius-axis-ticks" }, u);-}, xKe = (e) => {- var t = e.radiusAxisId, n = J(dX), r = J((e) => R2(e, "radiusAxis", t)), i = J((e) => z2(e, "radiusAxis", t, !1));+ return /*#__PURE__*/ b.createElement(lH, { className: "recharts-polar-radius-axis-ticks" }, u);+}, CKe = (e) => {+ var t = e.radiusAxisId, n = J(uX), r = J((e) => L2(e, "radiusAxis", t)), i = J((e) => R2(e, "radiusAxis", t, !1));if (n == null || !i || !i.length || r == null) return null;- var a = K2(K2({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;- return /*#__PURE__*/ b.createElement(i2, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(uH, { className: dv("recharts-polar-radius-axis", pKe, a.className) }, s && vKe(a, i), o && bKe(a, i), /*#__PURE__*/ b.createElement(ZWe, _Ke(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(sGe, { label: a.label }), a.children)));+ var a = G2(G2({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;+ return /*#__PURE__*/ b.createElement(r2, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(lH, { className: dv("recharts-polar-radius-axis", hKe, a.className) }, s && bKe(a, i), o && SKe(a, i), /*#__PURE__*/ b.createElement($We, yKe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(lGe, { label: a.label }), a.children)));};-function SKe(e) {- var t = zU(e, XY);- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(mKe, {+function wKe(e) {+ var t = RU(e, YY);+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(gKe, {domain: t.domain,id: t.radiusAxisId,scale: t.scale,@@ -76022,22 +76042,22 @@ function SKe(e) {ticks: t.ticks,tickCount: t.tickCount,tick: t.tick- }), /*#__PURE__*/ b.createElement(xKe, t));+ }), /*#__PURE__*/ b.createElement(CKe, t));}-SKe.displayName = "PolarRadiusAxis";+wKe.displayName = "PolarRadiusAxis";//#endregion//#region node_modules/recharts/es6/polar/PolarAngleAxis.js-var CKe = ["children", "type"], wKe = ["ref"];-function J2() {- return J2 = Object.assign ? Object.assign.bind() : function(e) {+var TKe = ["children", "type"], EKe = ["ref"];+function q2() {+ return q2 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, J2.apply(null, arguments);+ }, q2.apply(null, arguments);}-function TKe(e, t) {+function DKe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -76047,30 +76067,30 @@ function TKe(e, t) {}return n;}-function Y2(e) {+function J2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? TKe(Object(n), !0).forEach(function(t) {- EKe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TKe(Object(n)).forEach(function(t) {+ t % 2 ? DKe(Object(n), !0).forEach(function(t) {+ OKe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DKe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function EKe(e, t, n) {- return (t = DKe(t)) in e ? Object.defineProperty(e, t, {+function OKe(e, t, n) {+ return (t = kKe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function DKe(e) {- var t = OKe(e, "string");+function kKe(e) {+ var t = AKe(e, "string");return typeof t == "symbol" ? t : t + "";}-function OKe(e, t) {+function AKe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -76080,16 +76100,16 @@ function OKe(e, t) {}return (t === "string" ? String : Number)(e);}-function kKe(e, t) {+function jKe(e, t) {if (e == null) return {};- var n, r, i = AKe(e, t);+ var n, r, i = MKe(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 AKe(e, t) {+function MKe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -76098,50 +76118,50 @@ function AKe(e, t) {}return n;}-var jKe = 1e-5, MKe = Math.cos(cY(45)), NKe = "angleAxis";-function PKe(e) {- var t = MW(), n = Jq(), r = (0, b.useMemo)(() => {+var NKe = 1e-5, PKe = Math.cos(sY(45)), FKe = "angleAxis";+function IKe(e) {+ var t = jW(), n = qq(), r = (0, b.useMemo)(() => {e.children;- var t = e.type, r = kKe(e, CKe), i = QY(n, "angleAxis", t);- if (i != null) return Y2(Y2({}, r), {}, { type: i });- }, [e, n]), i = r === J((e) => rX(e, r?.id));- return (0, b.useEffect)(() => r == null ? MH : (t(nKe(r)), () => {- t(rKe(r));+ var t = e.type, r = jKe(e, TKe), i = ZY(n, "angleAxis", t);+ if (i != null) return J2(J2({}, r), {}, { type: i });+ }, [e, n]), i = r === J((e) => nX(e, r?.id));+ return (0, b.useEffect)(() => r == null ? jH : (t(iKe(r)), () => {+ t(aKe(r));}), [t, r]), i ? e.children : null;}-var FKe = (e, t) => {- var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = lY(n, r, i, e.coordinate), c = lY(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);+var LKe = (e, t) => {+ var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = cY(n, r, i, e.coordinate), c = cY(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);return {x1: s.x,y1: s.y,x2: c.x,y2: c.y};-}, IKe = (e, t) => {- var n = Math.cos(cY(-e.coordinate));- return n > jKe ? t === "outer" ? "start" : "end" : n < -jKe ? t === "outer" ? "end" : "start" : "middle";-}, LKe = (e) => {- var t = Math.cos(cY(-e.coordinate)), n = Math.sin(cY(-e.coordinate));- return Math.abs(t) <= MKe ? n > 0 ? "start" : "end" : "middle";-}, RKe = (e) => {+}, RKe = (e, t) => {+ var n = Math.cos(sY(-e.coordinate));+ return n > NKe ? t === "outer" ? "start" : "end" : n < -NKe ? t === "outer" ? "end" : "start" : "middle";+}, zKe = (e) => {+ var t = Math.cos(sY(-e.coordinate)), n = Math.sin(sY(-e.coordinate));+ return Math.abs(t) <= PKe ? n > 0 ? "start" : "end" : "middle";+}, BKe = (e) => {var t = e.cx, n = e.cy, r = e.radius, i = e.axisLineType, a = e.axisLine, o = e.ticks;if (!a) return null;- var s = Y2(Y2({}, iH(e)), {}, { fill: "none" }, iH(a));- if (i === "circle") return /*#__PURE__*/ b.createElement(M2, J2({ className: "recharts-polar-angle-axis-line" }, s, {+ var s = J2(J2({}, rH(e)), {}, { fill: "none" }, rH(a));+ if (i === "circle") return /*#__PURE__*/ b.createElement(j2, q2({ className: "recharts-polar-angle-axis-line" }, s, {cx: t,cy: n,r}));- var c = o.map((e) => lY(t, n, r, e.coordinate));- return /*#__PURE__*/ b.createElement(EGe, J2({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));-}, zKe = (e) => {+ var c = o.map((e) => cY(t, n, r, e.coordinate));+ return /*#__PURE__*/ b.createElement(OGe, q2({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));+}, VKe = (e) => {var t = e.tick, n = e.tickProps, r = e.value;- return t ? /*#__PURE__*/ b.isValidElement(t) ? /*#__PURE__*/ b.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ b.createElement(y2, J2({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;-}, BKe = (e) => {- var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = iH(e);+ return t ? /*#__PURE__*/ b.isValidElement(t) ? /*#__PURE__*/ b.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ b.createElement(v2, q2({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;+}, HKe = (e) => {+ var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = rH(e);o.ref;- var s = kKe(o, wKe), c = aH(t), l = Y2(Y2({}, s), {}, { fill: "none" }, iH(n)), u = a.map((a, o) => {- var u = FKe(a, e), d = IKe(a, e.orientation), f = LKe(a), p = Y2(Y2(Y2({}, s), {}, {+ var s = jKe(o, EKe), c = iH(t), l = J2(J2({}, s), {}, { fill: "none" }, rH(n)), u = a.map((a, o) => {+ var u = LKe(a, e), d = RKe(a, e.orientation), f = zKe(a), p = J2(J2(J2({}, s), {}, {textAnchor: d,verticalAnchor: f,stroke: "none",@@ -76152,28 +76172,28 @@ var FKe = (e, t) => {x: u.x2,y: u.y2});- return /*#__PURE__*/ b.createElement(uH, J2({- className: dv("recharts-polar-angle-axis-tick", W2(t)),+ return /*#__PURE__*/ b.createElement(lH, q2({+ className: dv("recharts-polar-angle-axis-tick", U2(t)),key: `tick-${a.coordinate}`- }, LU(e, a, o)), n && /*#__PURE__*/ b.createElement("line", J2({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(zKe, {+ }, IU(e, a, o)), n && /*#__PURE__*/ b.createElement("line", q2({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(VKe, {tick: t,tickProps: p,value: r ? r(a.value, o) : a.value}));});- return /*#__PURE__*/ b.createElement(uH, { className: "recharts-polar-angle-axis-ticks" }, u);-}, VKe = (e) => {- var t = e.angleAxisId, n = J(dX), r = J((e) => R2(e, "angleAxis", t)), i = Eq(), a = J((e) => NGe(e, "angleAxis", t, i));+ return /*#__PURE__*/ b.createElement(lH, { className: "recharts-polar-angle-axis-ticks" }, u);+}, UKe = (e) => {+ var t = e.angleAxisId, n = J(uX), r = J((e) => L2(e, "angleAxis", t)), i = Tq(), a = J((e) => FGe(e, "angleAxis", t, i));if (n == null || !a || !a.length || r == null) return null;- var o = Y2(Y2(Y2({}, e), {}, { scale: r }, n), {}, {+ var o = J2(J2(J2({}, e), {}, { scale: r }, n), {}, {radius: n.outerRadius,ticks: a});- return /*#__PURE__*/ b.createElement(i2, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(uH, { className: dv("recharts-polar-angle-axis", NKe, o.className) }, /*#__PURE__*/ b.createElement(RKe, o), /*#__PURE__*/ b.createElement(BKe, o)));+ return /*#__PURE__*/ b.createElement(r2, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(lH, { className: dv("recharts-polar-angle-axis", FKe, o.className) }, /*#__PURE__*/ b.createElement(BKe, o), /*#__PURE__*/ b.createElement(HKe, o)));};-function X2(e) {- var t = zU(e, YY);- return /*#__PURE__*/ b.createElement(PKe, {+function Y2(e) {+ var t = RU(e, JY);+ return /*#__PURE__*/ b.createElement(IKe, {id: t.angleAxisId,scale: t.scale,type: t.type,@@ -76190,12 +76210,12 @@ function X2(e) {ticks: t.ticks,tick: t.tick,domain: t.domain- }, /*#__PURE__*/ b.createElement(VKe, t));+ }, /*#__PURE__*/ b.createElement(UKe, t));}-X2.displayName = "PolarAngleAxis";+Y2.displayName = "PolarAngleAxis";//#endregion//#region node_modules/react-is/cjs/react-is.production.js-var HKe = /* @__PURE__ */ o(((e) => {+var WKe = /* @__PURE__ */ o(((e) => {var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");function m(e) {if (typeof e == "object" && e) {@@ -76224,26 +76244,26 @@ var HKe = /* @__PURE__ */ o(((e) => {e.isFragment = function(e) {return m(e) === r;};-})), UKe = (/* @__PURE__ */ o(((e, t) => {- t.exports = HKe();-})))(), WKe = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", GKe = null, Z2 = null, KKe = (e) => {- if (e === GKe && Array.isArray(Z2)) return Z2;+})), GKe = (/* @__PURE__ */ o(((e, t) => {+ t.exports = WKe();+})))(), KKe = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", qKe = null, X2 = null, JKe = (e) => {+ if (e === qKe && Array.isArray(X2)) return X2;var t = [];return b.Children.forEach(e, (e) => {- kH(e) || ((0, UKe.isFragment)(e) ? t = t.concat(KKe(e.props.children)) : t.push(e));- }), Z2 = t, GKe = e, t;+ OH(e) || ((0, GKe.isFragment)(e) ? t = t.concat(JKe(e.props.children)) : t.push(e));+ }), X2 = t, qKe = e, t;};-function qKe(e, t) {+function YKe(e, t) {var n = [], r = [];- return r = Array.isArray(t) ? t.map((e) => WKe(e)) : [WKe(t)], KKe(e).forEach((e) => {- var t = _H(e, "type.displayName") || _H(e, "type.name");+ return r = Array.isArray(t) ? t.map((e) => KKe(e)) : [KKe(t)], JKe(e).forEach((e) => {+ var t = gH(e, "type.displayName") || gH(e, "type.name");t && r.indexOf(t) !== -1 && n.push(e);}), n;}-var Q2 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;+var Z2 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;//#endregion//#region node_modules/recharts/es6/util/ActiveShapeUtils.js-function JKe(e, t) {+function XKe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -76253,30 +76273,30 @@ function JKe(e, t) {}return n;}-function YKe(e) {+function ZKe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? JKe(Object(n), !0).forEach(function(t) {- XKe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : JKe(Object(n)).forEach(function(t) {+ t % 2 ? XKe(Object(n), !0).forEach(function(t) {+ QKe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XKe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function XKe(e, t, n) {- return (t = ZKe(t)) in e ? Object.defineProperty(e, t, {+function QKe(e, t, n) {+ return (t = $Ke(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function ZKe(e) {- var t = QKe(e, "string");+function $Ke(e) {+ var t = eqe(e, "string");return typeof t == "symbol" ? t : t + "";}-function QKe(e, t) {+function eqe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -76286,49 +76306,49 @@ function QKe(e, t) {}return (t === "string" ? String : Number)(e);}-function $Ke(e, t) {- return YKe(YKe({}, t), e);+function tqe(e, t) {+ return ZKe(ZKe({}, t), e);}-function eqe(e) {+function nqe(e) {return /*#__PURE__*/ (0, b.isValidElement)(e) ? e.props : e;}-function tqe(e, t) {- return /*#__PURE__*/ (0, b.cloneElement)(e, $Ke(eqe(e), t));+function rqe(e, t) {+ return /*#__PURE__*/ (0, b.cloneElement)(e, tqe(nqe(e), t));}-function nqe(e) {+function iqe(e) {if ("index" in e) {var t = e.index;return typeof t == "number" || typeof t == "string" ? t : void 0;}}-function rqe(e) {+function aqe(e) {return "isActive" in e && e.isActive === !0;}-function $2(e) {- var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = nqe(r), l = /*#__PURE__*/ (0, b.isValidElement)(t) ? tqe(t, r) : t === n ? /*#__PURE__*/ b.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ b.createElement(n, $Ke(t, r)) : /*#__PURE__*/ b.createElement(n, r);- return rqe(r) ? /*#__PURE__*/ b.createElement(uH, { className: a }, l) : /*#__PURE__*/ b.createElement(uH, { className: s }, l);+function Q2(e) {+ var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = iqe(r), l = /*#__PURE__*/ (0, b.isValidElement)(t) ? rqe(t, r) : t === n ? /*#__PURE__*/ b.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ b.createElement(n, tqe(t, r)) : /*#__PURE__*/ b.createElement(n, r);+ return aqe(r) ? /*#__PURE__*/ b.createElement(lH, { className: a }, l) : /*#__PURE__*/ b.createElement(lH, { className: s }, l);}//#endregion//#region node_modules/recharts/es6/context/tooltipContext.js-var e4 = (e, t, n) => {- var r = MW();+var $2 = (e, t, n) => {+ var r = jW();return (i, a) => (o) => {- e?.(i, a, o), r(_0({+ e?.(i, a, o), r(g0({activeIndex: String(a),activeDataKey: t,activeCoordinate: i.tooltipPosition,activeGraphicalItemId: n}));};-}, t4 = (e) => {- var t = MW();+}, e4 = (e) => {+ var t = jW();return (n, r) => (i) => {- e?.(n, r, i), t(_Ve());+ e?.(n, r, i), t(yVe());};-}, n4 = (e, t, n) => {- var r = MW();+}, t4 = (e, t, n) => {+ var r = jW();return (i, a) => (o) => {- e?.(i, a, o), r(vVe({+ e?.(i, a, o), r(bVe({activeIndex: String(a),activeDataKey: t,activeCoordinate: i.tooltipPosition,@@ -76338,10 +76358,10 @@ var e4 = (e, t, n) => {};//#endregion//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js-function r4(e) {- var t = e.tooltipEntrySettings, n = MW(), r = Eq(), i = (0, b.useRef)(null);+function n4(e) {+ var t = e.tooltipEntrySettings, n = jW(), r = Tq(), i = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {- r || (i.current === null ? n(pVe(t)) : i.current !== t && n(mVe({+ r || (i.current === null ? n(hVe(t)) : i.current !== t && n(gVe({prev: i.current,next: t})), i.current = t);@@ -76350,15 +76370,15 @@ function r4(e) {n,r]), (0, b.useLayoutEffect)(() => () => {- i.current &&= (n(hVe(i.current)), null);+ i.current &&= (n(_Ve(i.current)), null);}, [n]), null;}//#endregion//#region node_modules/recharts/es6/state/SetLegendPayload.js-function i4(e) {- var t = e.legendPayload, n = MW(), r = Eq(), i = (0, b.useRef)(null);+function r4(e) {+ var t = e.legendPayload, n = jW(), r = Tq(), i = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {- r || (i.current === null ? n($q(t)) : i.current !== t && n(eJ({+ r || (i.current === null ? n(Qq(t)) : i.current !== t && n($q({prev: i.current,next: t})), i.current = t);@@ -76367,13 +76387,13 @@ function i4(e) {r,t]), (0, b.useLayoutEffect)(() => () => {- i.current &&= (n(tJ(i.current)), null);+ i.current &&= (n(eJ(i.current)), null);}, [n]), null;}-function iqe(e) {- var t = e.legendPayload, n = MW(), r = J(Wq), i = (0, b.useRef)(null);+function oqe(e) {+ var t = e.legendPayload, n = jW(), r = J(Uq), i = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {- (r === "centric" || r === "radial") && (i.current === null ? n($q(t)) : i.current !== t && n(eJ({+ (r === "centric" || r === "radial") && (i.current === null ? n(Qq(t)) : i.current !== t && n($q({prev: i.current,next: t})), i.current = t);@@ -76382,30 +76402,30 @@ function iqe(e) {r,t]), (0, b.useLayoutEffect)(() => () => {- i.current &&= (n(tJ(i.current)), null);+ i.current &&= (n(eJ(i.current)), null);}, [n]), null;}//#endregion//#region node_modules/recharts/es6/animation/matchBy.js-function aqe(e, t) {- return uqe(e) || lqe(e, t) || sqe(e, t) || oqe();+function sqe(e, t) {+ return fqe(e) || dqe(e, t) || lqe(e, t) || cqe();}-function oqe() {+function cqe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function sqe(e, t) {+function lqe(e, t) {if (e) {- if (typeof e == "string") return cqe(e, t);+ if (typeof e == "string") return uqe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? cqe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? uqe(e, t) : void 0;}}-function cqe(e, t) {+function uqe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function lqe(e, t) {+function dqe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -76426,11 +76446,11 @@ function lqe(e, t) {return s;}}-function uqe(e) {+function fqe(e) {if (Array.isArray(e)) return e;}-var a4 = "index", dqe = "append";-function o4(e, t) {+var i4 = "index", pqe = "append";+function a4(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], r = [];for (var i of n) r.push({status: "removed",@@ -76449,14 +76469,14 @@ function o4(e, t) {}return r;}-function fqe(e, t) {+function mqe(e, t) {var n = e.length / t.length;- return o4(t.map((t, r) => e[Math.floor(r * n)]), t);+ return a4(t.map((t, r) => e[Math.floor(r * n)]), t);}-function pqe(e, t) {- return o4(t.map((t, n) => e[n]), t);+function hqe(e, t) {+ return a4(t.map((t, n) => e[n]), t);}-function mqe(e, t) {+function gqe(e, t) {for (var n = /* @__PURE__ */ new Map(), r = 0; r < e.length; r++) {var i = e[r];if (i != null) {@@ -76466,8 +76486,8 @@ function mqe(e, t) {}return n;}-function hqe(e, t, n) {- var r = mqe(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {+function _qe(e, t, n) {+ var r = gqe(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {var a = n(e, t);if (a != null) {var o = r.get(a);@@ -76475,20 +76495,20 @@ function hqe(e, t, n) {}}), o = [];for (var s of r) {- var c = aqe(s, 2), l = c[0], u = c[1];+ var c = sqe(s, 2), l = c[0], u = c[1];i.has(l) || o.push(u);}- return o4(a, t, o);+ return a4(a, t, o);}-function s4(e, t, n) {+function o4(e, t, n) {return t == null ? null : e == null ? t.map((e) => ({status: "added",next: e- })) : n === "index" ? fqe(e, t) : n === "append" ? pqe(e, t) : hqe(e, t, n);+ })) : n === "index" ? mqe(e, t) : n === "append" ? hqe(e, t) : _qe(e, t, n);}//#endregion//#region node_modules/recharts/es6/animation/useAnimationStartSnapshot.js-function c4(e, t) {+function s4(e, t) {var n = (0, b.useRef)(e), r = (0, b.useRef)(t.current), i = (0, b.useRef)(!0);n.current !== e && (n.current = e, r.current = t.current, i.current = !1);var a = (0, b.useCallback)(function(e, n) {@@ -76502,25 +76522,25 @@ function c4(e, t) {}//#endregion//#region node_modules/recharts/es6/animation/AnimatedItems.js-function gqe(e, t) {- return xqe(e) || bqe(e, t) || vqe(e, t) || _qe();+function vqe(e, t) {+ return Cqe(e) || Sqe(e, t) || bqe(e, t) || yqe();}-function _qe() {+function yqe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function vqe(e, t) {+function bqe(e, t) {if (e) {- if (typeof e == "string") return yqe(e, t);+ if (typeof e == "string") return xqe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? yqe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? xqe(e, t) : void 0;}}-function yqe(e, t) {+function xqe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function bqe(e, t) {+function Sqe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -76541,11 +76561,11 @@ function bqe(e, t) {return s;}}-function xqe(e) {+function Cqe(e) {if (Array.isArray(e)) return e;}-function l4(e, t) {- var n = gqe((0, b.useState)(!1), 2), r = n[0], i = n[1];+function c4(e, t) {+ var n = vqe((0, b.useState)(!1), 2), r = n[0], i = n[1];return {isAnimating: r,handleAnimationStart: (0, b.useCallback)(() => {@@ -76556,9 +76576,9 @@ function l4(e, t) {}, [t])};}-function u4(e) {- var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = YJ(t, n), _ = c4(g, i), v = _.startValue ?? null, y = s4(v, r, f ?? a4);- return /*#__PURE__*/ b.createElement(JJ, {+function l4(e) {+ var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = JJ(t, n), _ = s4(g, i), v = _.startValue ?? null, y = o4(v, r, f ?? i4);+ return /*#__PURE__*/ b.createElement(qJ, {animationId: g,begin: o,duration: s,@@ -76572,25 +76592,25 @@ function u4(e) {return _.syncStepValue(n, e, i), n == null ? null : m(n, e, t);});}-function Sqe(e, t) {- return Dqe(e) || Eqe(e, t) || wqe(e, t) || Cqe();+function wqe(e, t) {+ return kqe(e) || Oqe(e, t) || Eqe(e, t) || Tqe();}-function Cqe() {+function Tqe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function wqe(e, t) {+function Eqe(e, t) {if (e) {- if (typeof e == "string") return Tqe(e, t);+ if (typeof e == "string") return Dqe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Tqe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Dqe(e, t) : void 0;}}-function Tqe(e, t) {+function Dqe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function Eqe(e, t) {+function Oqe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -76611,22 +76631,22 @@ function Eqe(e, t) {return s;}}-function Dqe(e) {+function kqe(e) {if (Array.isArray(e)) return e;}-var Oqe = b.useId ?? (() => Sqe(b.useState(() => wH("uid-")), 1)[0]);+var Aqe = b.useId ?? (() => wqe(b.useState(() => CH("uid-")), 1)[0]);//#endregion//#region node_modules/recharts/es6/util/useUniqueId.js-function kqe(e, t) {- var n = Oqe();+function jqe(e, t) {+ var n = Aqe();return t || (e ? `${e}-${n}` : n);}//#endregion//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js-var Aqe = /*#__PURE__*/ (0, b.createContext)(void 0), d4 = (e) => {- var t = e.id, n = e.type, r = e.children, i = kqe(`recharts-${n}`, t);- return /*#__PURE__*/ b.createElement(Aqe.Provider, { value: i }, r(i));-}, jqe = SK({+var Mqe = /*#__PURE__*/ (0, b.createContext)(void 0), u4 = (e) => {+ var t = e.id, n = e.type, r = e.children, i = jqe(`recharts-${n}`, t);+ return /*#__PURE__*/ b.createElement(Mqe.Provider, { value: i }, r(i));+}, Nqe = xK({name: "graphicalItems",initialState: {cartesianItems: [],@@ -76635,80 +76655,80 @@ var Aqe = /*#__PURE__*/ (0, b.createContext)(void 0), d4 = (e) => {reducers: {addCartesianGraphicalItem: {reducer(e, t) {- e.cartesianItems.push(dK(t.payload));+ e.cartesianItems.push(uK(t.payload));},- prepare: vK()+ prepare: _K()},replaceCartesianGraphicalItem: {reducer(e, t) {- var n = t.payload, r = n.prev, i = n.next, a = cK(e).cartesianItems.indexOf(dK(r));- a > -1 && (e.cartesianItems[a] = dK(i));+ var n = t.payload, r = n.prev, i = n.next, a = sK(e).cartesianItems.indexOf(uK(r));+ a > -1 && (e.cartesianItems[a] = uK(i));},- prepare: vK()+ prepare: _K()},removeCartesianGraphicalItem: {reducer(e, t) {- var n = cK(e).cartesianItems.indexOf(dK(t.payload));+ var n = sK(e).cartesianItems.indexOf(uK(t.payload));n > -1 && e.cartesianItems.splice(n, 1);},- prepare: vK()+ prepare: _K()},addPolarGraphicalItem: {reducer(e, t) {- e.polarItems.push(dK(t.payload));+ e.polarItems.push(uK(t.payload));},- prepare: vK()+ prepare: _K()},removePolarGraphicalItem: {reducer(e, t) {- var n = cK(e).polarItems.indexOf(dK(t.payload));+ var n = sK(e).polarItems.indexOf(uK(t.payload));n > -1 && e.polarItems.splice(n, 1);},- prepare: vK()+ prepare: _K()},replacePolarGraphicalItem: {reducer(e, t) {- var n = t.payload, r = n.prev, i = n.next, a = cK(e).polarItems.indexOf(dK(r));- a > -1 && (e.polarItems[a] = dK(i));+ var n = t.payload, r = n.prev, i = n.next, a = sK(e).polarItems.indexOf(uK(r));+ a > -1 && (e.polarItems[a] = uK(i));},- prepare: vK()+ prepare: _K()}}-}), f4 = jqe.actions, Mqe = f4.addCartesianGraphicalItem, Nqe = f4.replaceCartesianGraphicalItem, Pqe = f4.removeCartesianGraphicalItem, Fqe = f4.addPolarGraphicalItem, Iqe = f4.removePolarGraphicalItem, Lqe = f4.replacePolarGraphicalItem, Rqe = jqe.reducer, p4 = /*#__PURE__*/ (0, b.memo)((e) => {- var t = MW(), n = (0, b.useRef)(null);+}), d4 = Nqe.actions, Pqe = d4.addCartesianGraphicalItem, Fqe = d4.replaceCartesianGraphicalItem, Iqe = d4.removeCartesianGraphicalItem, Lqe = d4.addPolarGraphicalItem, Rqe = d4.removePolarGraphicalItem, zqe = d4.replacePolarGraphicalItem, Bqe = Nqe.reducer, f4 = /*#__PURE__*/ (0, b.memo)((e) => {+ var t = jW(), n = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {- n.current === null ? t(Mqe(e)) : n.current !== e && t(Nqe({+ n.current === null ? t(Pqe(e)) : n.current !== e && t(Fqe({prev: n.current,next: e})), n.current = e;}, [t, e]), (0, b.useLayoutEffect)(() => () => {- n.current &&= (t(Pqe(n.current)), null);+ n.current &&= (t(Iqe(n.current)), null);}, [t]), null;-}), zqe = /*#__PURE__*/ (0, b.memo)((e) => {- var t = MW(), n = (0, b.useRef)(null);+}), Vqe = /*#__PURE__*/ (0, b.memo)((e) => {+ var t = jW(), n = (0, b.useRef)(null);return (0, b.useLayoutEffect)(() => {- n.current === null ? t(Fqe(e)) : n.current !== e && t(Lqe({+ n.current === null ? t(Lqe(e)) : n.current !== e && t(zqe({prev: n.current,next: e})), n.current = e;}, [t, e]), (0, b.useLayoutEffect)(() => () => {- n.current &&= (t(Iqe(n.current)), null);+ n.current &&= (t(Rqe(n.current)), null);}, [t]), null;});//#endregion//#region node_modules/es-toolkit/dist/array/last.mjs-function Bqe(e) {+function Hqe(e) {return e[e.length - 1];}//#endregion//#region node_modules/es-toolkit/dist/compat/array/last.mjs-function Vqe(e) {- if (GU(e) && e.length !== 0) return Bqe(H2(e));+function Uqe(e) {+ if (WU(e) && e.length !== 0) return Hqe(V2(e));}//#endregion//#region node_modules/recharts/es6/component/Dots.js-var Hqe = ["points"];-function Uqe(e, t) {+var Wqe = ["points"];+function Gqe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -76718,30 +76738,30 @@ function Uqe(e, t) {}return n;}-function m4(e) {+function p4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Uqe(Object(n), !0).forEach(function(t) {- Wqe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Uqe(Object(n)).forEach(function(t) {+ t % 2 ? Gqe(Object(n), !0).forEach(function(t) {+ Kqe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Gqe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Wqe(e, t, n) {- return (t = Gqe(t)) in e ? Object.defineProperty(e, t, {+function Kqe(e, t, n) {+ return (t = qqe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Gqe(e) {- var t = Kqe(e, "string");+function qqe(e) {+ var t = Jqe(e, "string");return typeof t == "symbol" ? t : t + "";}-function Kqe(e, t) {+function Jqe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -76751,25 +76771,25 @@ function Kqe(e, t) {}return (t === "string" ? String : Number)(e);}-function h4() {- return h4 = Object.assign ? Object.assign.bind() : function(e) {+function m4() {+ return m4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, h4.apply(null, arguments);+ }, m4.apply(null, arguments);}-function qqe(e, t) {+function Yqe(e, t) {if (e == null) return {};- var n, r, i = Jqe(e, t);+ var n, r, i = Xqe(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 Jqe(e, t) {+function Xqe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -76778,23 +76798,23 @@ function Jqe(e, t) {}return n;}-function Yqe(e) {+function Zqe(e) {var t = e.option, n = e.dotProps, r = e.className;if (/*#__PURE__*/ (0, b.isValidElement)(t)) return /*#__PURE__*/ (0, b.cloneElement)(t, n);if (typeof t == "function") return t(n);var i = dv(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};a.points;- var o = qqe(a, Hqe);- return /*#__PURE__*/ b.createElement(M2, h4({}, o, { className: i }));+ var o = Yqe(a, Wqe);+ return /*#__PURE__*/ b.createElement(j2, m4({}, o, { className: i }));}-function Xqe(e, t) {+function Qqe(e, t) {return e == null ? !1 : t ? !0 : e.length === 1;}-function g4(e) {- var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? JY.scatter : l;- if (!Xqe(t, n)) return null;- var d = Q2(n), f = OAe(n), p = t.map((e, r) => {- var s = m4(m4(m4({ r: 3 }, o), f), {}, {+function h4(e) {+ var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? qY.scatter : l;+ if (!Qqe(t, n)) return null;+ var d = Z2(n), f = AAe(n), p = t.map((e, r) => {+ var s = p4(p4(p4({ r: 3 }, o), f), {}, {index: r,cx: e.x ?? void 0,cy: e.y ?? void 0,@@ -76803,18 +76823,18 @@ function g4(e) {payload: e.payload,points: t});- return /*#__PURE__*/ b.createElement(Yqe, {+ return /*#__PURE__*/ b.createElement(Zqe, {key: `dot-${r}`,option: n,dotProps: s,className: i});}), m = {};- return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(i2, { zIndex: u }, /*#__PURE__*/ b.createElement(uH, h4({ className: r }, m), p));+ return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(r2, { zIndex: u }, /*#__PURE__*/ b.createElement(lH, m4({ className: r }, m), p));}//#endregion//#region node_modules/recharts/es6/state/cartesianAxisSlice.js-function Zqe(e, t) {+function $qe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -76824,30 +76844,30 @@ function Zqe(e, t) {}return n;}-function _4(e) {+function g4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Zqe(Object(n), !0).forEach(function(t) {- Qqe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Zqe(Object(n)).forEach(function(t) {+ t % 2 ? $qe(Object(n), !0).forEach(function(t) {+ eJe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $qe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Qqe(e, t, n) {- return (t = $qe(t)) in e ? Object.defineProperty(e, t, {+function eJe(e, t, n) {+ return (t = tJe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function $qe(e) {- var t = eJe(e, "string");+function tJe(e) {+ var t = nJe(e, "string");return typeof t == "symbol" ? t : t + "";}-function eJe(e, t) {+function nJe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -76857,7 +76877,7 @@ function eJe(e, t) {}return (t === "string" ? String : Number)(e);}-var tJe = SK({+var rJe = xK({name: "cartesianAxis",initialState: {xAxis: {},@@ -76867,60 +76887,60 @@ var tJe = SK({reducers: {addXAxis: {reducer(e, t) {- e.xAxis[t.payload.id] = dK(t.payload);+ e.xAxis[t.payload.id] = uK(t.payload);},- prepare: vK()+ prepare: _K()},replaceXAxis: {reducer(e, t) {var n = t.payload, r = n.prev, i = n.next;- e.xAxis[r.id] !== void 0 && (r.id !== i.id && delete e.xAxis[r.id], e.xAxis[i.id] = dK(i));+ e.xAxis[r.id] !== void 0 && (r.id !== i.id && delete e.xAxis[r.id], e.xAxis[i.id] = uK(i));},- prepare: vK()+ prepare: _K()},removeXAxis: {reducer(e, t) {delete e.xAxis[t.payload.id];},- prepare: vK()+ prepare: _K()},addYAxis: {reducer(e, t) {- e.yAxis[t.payload.id] = dK(t.payload);+ e.yAxis[t.payload.id] = uK(t.payload);},- prepare: vK()+ prepare: _K()},replaceYAxis: {reducer(e, t) {var n = t.payload, r = n.prev, i = n.next;- e.yAxis[r.id] !== void 0 && (r.id !== i.id && delete e.yAxis[r.id], e.yAxis[i.id] = dK(i));+ e.yAxis[r.id] !== void 0 && (r.id !== i.id && delete e.yAxis[r.id], e.yAxis[i.id] = uK(i));},- prepare: vK()+ prepare: _K()},removeYAxis: {reducer(e, t) {delete e.yAxis[t.payload.id];},- prepare: vK()+ prepare: _K()},addZAxis: {reducer(e, t) {- e.zAxis[t.payload.id] = dK(t.payload);+ e.zAxis[t.payload.id] = uK(t.payload);},- prepare: vK()+ prepare: _K()},replaceZAxis: {reducer(e, t) {var n = t.payload, r = n.prev, i = n.next;- e.zAxis[r.id] !== void 0 && (r.id !== i.id && delete e.zAxis[r.id], e.zAxis[i.id] = dK(i));+ e.zAxis[r.id] !== void 0 && (r.id !== i.id && delete e.zAxis[r.id], e.zAxis[i.id] = uK(i));},- prepare: vK()+ prepare: _K()},removeZAxis: {reducer(e, t) {delete e.zAxis[t.payload.id];},- prepare: vK()+ prepare: _K()},updateYAxisWidth(e, t) {var n = t.payload, r = n.id, i = n.width, a = e.yAxis[r];@@ -76928,7 +76948,7 @@ var tJe = SK({var o = a.widthHistory || [];if (o.length === 3 && o[0] === o[2] && i === o[1] && i !== a.width && Math.abs(i - (o[0] ?? 0)) <= 1) return;var s = [...o, i].slice(-3);- e.yAxis[r] = _4(_4({}, a), {}, {+ e.yAxis[r] = g4(g4({}, a), {}, {width: i,widthHistory: s});@@ -76940,24 +76960,24 @@ var tJe = SK({var o = a.heightHistory || [];if (o.length === 3 && o[0] === o[2] && i === o[1] && i !== a.height && Math.abs(i - (o[0] ?? 0)) <= 1) return;var s = [...o, i].slice(-3);- e.xAxis[r] = _4(_4({}, a), {}, {+ e.xAxis[r] = g4(g4({}, a), {}, {height: i,heightHistory: s});}}}-}), v4 = tJe.actions, nJe = v4.addXAxis, rJe = v4.replaceXAxis, iJe = v4.removeXAxis, aJe = v4.addYAxis, oJe = v4.replaceYAxis, sJe = v4.removeYAxis;-v4.addZAxis, v4.replaceZAxis, v4.removeZAxis;-var cJe = v4.updateYAxisWidth, lJe = v4.updateXAxisHeight, uJe = tJe.reducer, dJe = Y([- Y([Cq], (e) => ({+}), _4 = rJe.actions, iJe = _4.addXAxis, aJe = _4.replaceXAxis, oJe = _4.removeXAxis, sJe = _4.addYAxis, cJe = _4.replaceYAxis, lJe = _4.removeYAxis;+_4.addZAxis, _4.replaceZAxis, _4.removeZAxis;+var uJe = _4.updateYAxisWidth, dJe = _4.updateXAxisHeight, fJe = rJe.reducer, pJe = Y([+ Y([Sq], (e) => ({top: e.top,bottom: e.bottom,left: e.left,right: e.right})),- gq,- _q+ hq,+ gq], (e, t, n) => {if (e && t != null && n != null) return {x: e.left,@@ -76965,10 +76985,10 @@ var cJe = v4.updateYAxisWidth, lJe = v4.updateXAxisHeight, uJe = tJe.reducer, dJwidth: Math.max(0, t - e.left - e.right),height: Math.max(0, n - e.top - e.bottom)};-}), y4 = () => J(dJe), fJe = () => J(QVe);+}), v4 = () => J(pJe), mJe = () => J(eHe);//#endregion//#region node_modules/recharts/es6/component/ActivePoints.js-function pJe(e, t) {+function hJe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -76978,30 +76998,30 @@ function pJe(e, t) {}return n;}-function b4(e) {+function y4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? pJe(Object(n), !0).forEach(function(t) {- mJe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pJe(Object(n)).forEach(function(t) {+ t % 2 ? hJe(Object(n), !0).forEach(function(t) {+ gJe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hJe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function mJe(e, t, n) {- return (t = hJe(t)) in e ? Object.defineProperty(e, t, {+function gJe(e, t, n) {+ return (t = _Je(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function hJe(e) {- var t = gJe(e, "string");+function _Je(e) {+ var t = vJe(e, "string");return typeof t == "symbol" ? t : t + "";}-function gJe(e, t) {+function vJe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -77011,10 +77031,10 @@ function gJe(e, t) {}return (t === "string" ? String : Number)(e);}-var _Je = (e) => {+var yJe = (e) => {var t = e.point, n = e.childIndex, r = e.mainColor, i = e.activeDot, a = e.dataKey, o = e.clipPath;if (i === !1 || t.x == null || t.y == null) return null;- var s = b4(b4(b4({}, {+ var s = y4(y4(y4({}, {index: n,dataKey: a,cx: t.x,@@ -77025,17 +77045,17 @@ var _Je = (e) => {stroke: "#fff",payload: t.payload,value: t.value- }), aH(i)), IU(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(M2, s);- return /*#__PURE__*/ b.createElement(uH, {+ }), iH(i)), FU(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(j2, s);+ return /*#__PURE__*/ b.createElement(lH, {className: "recharts-active-dot",clipPath: o}, c);};-function x4(e) {- var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? JY.activeDot : o, c = J(Y0), l = fJe();+function b4(e) {+ var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? qY.activeDot : o, c = J(J0), l = mJe();if (t == null || l == null) return null;var u = t.find((e) => l.includes(e.payload));- return kH(u) ? null : /*#__PURE__*/ b.createElement(i2, { zIndex: s }, /*#__PURE__*/ b.createElement(_Je, {+ return OH(u) ? null : /*#__PURE__*/ b.createElement(r2, { zIndex: s }, /*#__PURE__*/ b.createElement(yJe, {point: u,childIndex: Number(c),mainColor: n,@@ -77046,7 +77066,7 @@ function x4(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/radarSelectors.js-function vJe(e, t) {+function bJe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -77056,30 +77076,30 @@ function vJe(e, t) {}return n;}-function S4(e) {+function x4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? vJe(Object(n), !0).forEach(function(t) {- yJe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vJe(Object(n)).forEach(function(t) {+ t % 2 ? bJe(Object(n), !0).forEach(function(t) {+ xJe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bJe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function yJe(e, t, n) {- return (t = bJe(t)) in e ? Object.defineProperty(e, t, {+function xJe(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 bJe(e) {- var t = xJe(e, "string");+function SJe(e) {+ var t = CJe(e, "string");return typeof t == "symbol" ? t : t + "";}-function xJe(e, t) {+function CJe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -77089,16 +77109,16 @@ function xJe(e, t) {}return (t === "string" ? String : Number)(e);}-var SJe = (e, t) => R2(e, "radiusAxis", t), CJe = Y([SJe], (e) => {+var wJe = (e, t) => L2(e, "radiusAxis", t), TJe = Y([wJe], (e) => {if (e != null) return { scale: e };-}), wJe = Y([iX, SJe], (e, t) => {- if (e != null && t != null) return S4(S4({}, e), {}, { scale: t });-}), TJe = (e, t, n, r) => z2(e, "radiusAxis", t, r), EJe = (e, t, n) => rX(e, n), DJe = (e, t, n) => R2(e, "angleAxis", n), OJe = Y([EJe, DJe], (e, t) => {- if (e != null && t != null) return S4(S4({}, e), {}, { scale: t });-}), kJe = (e, t, n, r) => z2(e, "angleAxis", n, r), AJe = Y([- EJe,- DJe,- dX+}), EJe = Y([rX, wJe], (e, t) => {+ if (e != null && t != null) return x4(x4({}, e), {}, { scale: t });+}), DJe = (e, t, n, r) => R2(e, "radiusAxis", t, r), OJe = (e, t, n) => nX(e, n), kJe = (e, t, n) => L2(e, "angleAxis", n), AJe = Y([OJe, kJe], (e, t) => {+ if (e != null && t != null) return x4(x4({}, e), {}, { scale: t });+}), jJe = (e, t, n, r) => R2(e, "angleAxis", n, r), MJe = Y([+ OJe,+ kJe,+ uX], (e, t, n) => {if (n != null && t != null) return {scale: t,@@ -77107,40 +77127,40 @@ var SJe = (e, t) => R2(e, "radiusAxis", t), CJe = Y([SJe], (e) => {cx: n.cx,cy: n.cy};-}), jJe = (e, t, n, r, i) => i, MJe = Y([- Wq,- wJe,- TJe,- OJe,- kJe-], (e, t, n, r, i) => rq(e, "radiusAxis") ? pq(t, n, !1) : pq(r, i, !1)), NJe = Y([- CJe,+}), NJe = (e, t, n, r, i) => i, PJe = Y([+ Uq,+ EJe,+ DJe,AJe,- yY,- Y([N2, jJe], (e, t) => {+ jJe+], (e, t, n, r, i) => nq(e, "radiusAxis") ? fq(t, n, !1) : fq(r, i, !1)), FJe = Y([+ TJe,+ MJe,+ vY,+ Y([M2, NJe], (e, t) => {if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;}),- MJe+ PJe], (e, t, n, r, i) => {var a = n.chartData, o = n.dataStartIndex, s = n.dataEndIndex;- if (e != null && t != null && a != null && i != null && r != null) return WJe({+ if (e != null && t != null && a != null && i != null && r != null) return KJe({radiusAxis: e,angleAxis: t,displayedData: a.slice(o, s + 1),dataKey: r,bandSize: i});-}), PJe = ["id"];-function C4() {- return C4 = Object.assign ? Object.assign.bind() : function(e) {+}), IJe = ["id"];+function S4() {+ return S4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, C4.apply(null, arguments);+ }, S4.apply(null, arguments);}-function FJe(e, t) {+function LJe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -77150,30 +77170,30 @@ function FJe(e, t) {}return n;}-function w4(e) {+function C4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? FJe(Object(n), !0).forEach(function(t) {- IJe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FJe(Object(n)).forEach(function(t) {+ t % 2 ? LJe(Object(n), !0).forEach(function(t) {+ RJe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LJe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function IJe(e, t, n) {- return (t = LJe(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 LJe(e) {- var t = RJe(e, "string");+function zJe(e) {+ var t = BJe(e, "string");return typeof t == "symbol" ? t : t + "";}-function RJe(e, t) {+function BJe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -77183,16 +77203,16 @@ function RJe(e, t) {}return (t === "string" ? String : Number)(e);}-function zJe(e, t) {+function VJe(e, t) {if (e == null) return {};- var n, r, i = BJe(e, t);+ var n, r, i = HJe(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 BJe(e, t) {+function HJe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -77201,44 +77221,44 @@ function BJe(e, t) {}return n;}-function T4(e, t) {+function w4(e, t) {return e && e !== "none" ? e : t;}-var VJe = (e) => {+var UJe = (e) => {var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;return [{inactive: e.hide,dataKey: t,type: a,- color: T4(r, i),- value: hq(n, t),+ color: w4(r, i),+ value: mq(n, t),payload: e}];-}, HJe = /*#__PURE__*/ b.memo((e) => {+}, WJe = /*#__PURE__*/ b.memo((e) => {var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.tooltipType, c = e.id, l = {dataDefinedOnItem: void 0,- getPosition: MH,+ getPosition: jH,settings: {stroke: n,strokeWidth: r,fill: i,nameKey: void 0,dataKey: t,- name: hq(a, t),+ name: mq(a, t),hide: o,type: s,- color: T4(n, i),+ color: w4(n, i),unit: "",graphicalItemId: c}};- return /*#__PURE__*/ b.createElement(r4, { tooltipEntrySettings: l });+ return /*#__PURE__*/ b.createElement(n4, { tooltipEntrySettings: l });});-function UJe(e) {+function GJe(e) {var t = e.points, n = e.props, r = n.dot, i = n.dataKey;n.id;- var a = iH(zJe(n, PJe));- return /*#__PURE__*/ b.createElement(g4, {+ var a = rH(VJe(n, IJe));+ return /*#__PURE__*/ b.createElement(h4, {points: t,dot: r,className: "recharts-radar-dots",@@ -77247,11 +77267,11 @@ function UJe(e) {baseProps: a});}-function WJe(e) {+function KJe(e) {var t = e.radiusAxis, n = e.angleAxis, r = e.displayedData, i = e.dataKey, a = e.bandSize, o = n.cx, s = n.cy, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;r.forEach((e, r) => {- var a = nq(e, n.dataKey, r), d = nq(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? Vqe(d) : d, m = kH(p) ? 0 : t.scale.map(p) ?? 0;- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(w4(w4({}, lY(o, s, m, f)), {}, {+ var a = tq(e, n.dataKey, r), d = tq(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? Uqe(d) : d, m = OH(p) ? 0 : t.scale.map(p) ?? 0;+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(C4(C4({}, cY(o, s, m, f)), {}, {name: a,value: d,cx: o,@@ -77264,8 +77284,8 @@ function WJe(e) {var d = [];return c && l.forEach((e) => {if (Array.isArray(e.value)) {- var n = e.value[0], r = kH(n) ? 0 : t.scale.map(n) ?? 0;- d.push(w4(w4({}, e), {}, { radius: r }, lY(o, s, r, e.angle)));+ var n = e.value[0], r = OH(n) ? 0 : t.scale.map(n) ?? 0;+ d.push(C4(C4({}, e), {}, { radius: r }, cY(o, s, r, e.angle)));} else d.push(e);}), {points: l,@@ -77273,7 +77293,7 @@ function WJe(e) {baseLinePoints: d};}-function GJe(e) {+function qJe(e) {var t = e.showLabels, n = e.points, r = e.children, i = n.map((e) => {var t = {x: e.x,@@ -77283,7 +77303,7 @@ function GJe(e) {upperWidth: 0,height: 0};- return w4(w4({}, t), {}, {+ return C4(C4({}, t), {}, {value: e.value ?? "",payload: e.payload,parentViewBox: void 0,@@ -77291,12 +77311,12 @@ function GJe(e) {fill: void 0});});- return /*#__PURE__*/ b.createElement(E2, { value: t ? i : void 0 }, r);+ return /*#__PURE__*/ b.createElement(T2, { value: t ? i : void 0 }, r);}-function KJe(e) {+function JJe(e) {var t = e.points, n = e.baseLinePoints, r = e.props;if (t == null) return null;- var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ b.isValidElement(i) ? /*#__PURE__*/ b.cloneElement(i, w4(w4({}, r), {}, { points: t })) : typeof i == "function" ? i(w4(w4({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(EGe, C4({}, oH(r), {+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ b.isValidElement(i) ? /*#__PURE__*/ b.cloneElement(i, C4(C4({}, r), {}, { points: t })) : typeof i == "function" ? i(C4(C4({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(OGe, S4({}, aH(r), {onMouseEnter: (e) => {var t = r.onMouseEnter;t && t(r, e);@@ -77309,24 +77329,24 @@ function KJe(e) {baseLinePoints: a ? n : void 0,connectNulls: o}));- return /*#__PURE__*/ b.createElement(uH, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(UJe, {+ return /*#__PURE__*/ b.createElement(lH, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(GJe, {props: r,points: t}));}-var qJe = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [w4(w4({}, e.next), {}, {- x: DH(e.prev.x, e.next.x, t),- y: DH(e.prev.y, e.next.y, t)-})] : [w4(w4({}, e.next), {}, {- x: DH(e.next.cx, e.next.x, t),- y: DH(e.next.cy, e.next.y, t)+var YJe = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [C4(C4({}, e.next), {}, {+ x: EH(e.prev.x, e.next.x, t),+ y: EH(e.prev.y, e.next.y, t)+})] : [C4(C4({}, e.next), {}, {+ x: EH(e.next.cx, e.next.x, t),+ y: EH(e.next.cy, e.next.y, t)})]);-function JJe(e) {- var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = c4(t, r), h = m.startValue, g = s4(h ?? null, a, u), _ = l4(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = Jq();- return S == null ? null : /*#__PURE__*/ b.createElement(GJe, {+function XJe(e) {+ var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = s4(t, r), h = m.startValue, g = o4(h ?? null, a, u), _ = c4(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = qq();+ return S == null ? null : /*#__PURE__*/ b.createElement(qJe, {showLabels: !v,points: i- }, /*#__PURE__*/ b.createElement(u4, {+ }, /*#__PURE__*/ b.createElement(l4, {animationInput: t,animationIdPrefix: "recharts-radar-",items: i,@@ -77342,62 +77362,62 @@ function JJe(e) {layout: S}, (e, n) => {var r = n === 1 ? a : d(g, n, S);- return m.syncStepValue(r, n), /*#__PURE__*/ b.createElement(KJe, {+ return m.syncStepValue(r, n), /*#__PURE__*/ b.createElement(JJe, {points: e,baseLinePoints: r,props: t});- }), /*#__PURE__*/ b.createElement(O2, { label: t.label }), t.children);+ }), /*#__PURE__*/ b.createElement(D2, { label: t.label }), t.children);}-function YJe(e) {+function ZJe(e) {var t = (0, b.useRef)(void 0), n = (0, b.useRef)(void 0);- return /*#__PURE__*/ b.createElement(JJe, {+ return /*#__PURE__*/ b.createElement(XJe, {props: e,previousPointsRef: t,previousBaseLinePointsRef: n});}-var XJe = {+var QJe = {activeDot: !0,angleAxisId: 0,animationBegin: 0,animationDuration: 1500,animationEasing: "ease",- animationMatchBy: a4,- animationInterpolateFn: qJe,+ animationMatchBy: i4,+ animationInterpolateFn: YJe,dot: !1,hide: !1,isAnimationActive: "auto",label: !1,legendType: "rect",radiusAxisId: 0,- zIndex: JY.area+ zIndex: qY.area};-function ZJe(e) {+function $Je(e) {var t = e.hide, n = e.className, r = e.points;if (t) return null;var i = dv("recharts-radar", n);- return /*#__PURE__*/ b.createElement(i2, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(uH, { className: i }, /*#__PURE__*/ b.createElement(YJe, e)), /*#__PURE__*/ b.createElement(x4, {+ return /*#__PURE__*/ b.createElement(r2, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(lH, { className: i }, /*#__PURE__*/ b.createElement(ZJe, e)), /*#__PURE__*/ b.createElement(b4, {points: r,- mainColor: T4(e.stroke, e.fill),+ mainColor: w4(e.stroke, e.fill),itemDataKey: e.dataKey,activeDot: e.activeDot}));}-function QJe(e) {- var t = Eq(), n = J((n) => NJe(n, e.radiusAxisId, e.angleAxisId, t, e.id));- return n?.points == null ? null : /*#__PURE__*/ b.createElement(ZJe, C4({}, e, {+function eYe(e) {+ var t = Tq(), n = J((n) => FJe(n, e.radiusAxisId, e.angleAxisId, t, e.id));+ return n?.points == null ? null : /*#__PURE__*/ b.createElement($Je, S4({}, e, {points: n?.points,baseLinePoints: n?.baseLinePoints,isRange: n?.isRange}));}-function E4(e) {- var t = zU(e, XJe);- return /*#__PURE__*/ b.createElement(d4, {+function T4(e) {+ var t = RU(e, QJe);+ return /*#__PURE__*/ b.createElement(u4, {id: t.id,type: "radar"- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(zqe, {+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Vqe, {type: "radar",id: e,data: void 0,@@ -77405,7 +77425,7 @@ function E4(e) {hide: t.hide,angleAxisId: t.angleAxisId,radiusAxisId: t.radiusAxisId- }), /*#__PURE__*/ b.createElement(iqe, { legendPayload: VJe(t) }), /*#__PURE__*/ b.createElement(HJe, {+ }), /*#__PURE__*/ b.createElement(oqe, { legendPayload: UJe(t) }), /*#__PURE__*/ b.createElement(WJe, {dataKey: t.dataKey,stroke: t.stroke,strokeWidth: t.strokeWidth,@@ -77414,22 +77434,22 @@ function E4(e) {hide: t.hide,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ b.createElement(QJe, C4({}, t, { id: e }))));+ }), /*#__PURE__*/ b.createElement(eYe, S4({}, t, { id: e }))));}-E4.displayName = "Radar";+T4.displayName = "Radar";//#endregion//#region node_modules/recharts/es6/util/RadialBarUtils.js-var $Je = ["option"];-function eYe(e, t) {+var tYe = ["option"];+function nYe(e, t) {if (e == null) return {};- var n, r, i = tYe(e, t);+ var n, r, i = rYe(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 tYe(e, t) {+function rYe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -77438,39 +77458,39 @@ function tYe(e, t) {}return n;}-var nYe = hY;-function rYe(e) {+var iYe = mY;+function aYe(e) {return typeof e == "string" ? parseInt(e, 10) : e;}-function D4(e) {- var t = e.option, n = eYe(e, $Je);- return /*#__PURE__*/ b.createElement($2, {+function E4(e) {+ var t = e.option, n = nYe(e, tYe);+ return /*#__PURE__*/ b.createElement(Q2, {option: t,- DefaultShape: nYe,+ DefaultShape: iYe,shapeProps: n});}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js-function iYe(e, t) {- return lYe(e) || cYe(e, t) || oYe(e, t) || aYe();+function oYe(e, t) {+ return dYe(e) || uYe(e, t) || cYe(e, t) || sYe();}-function aYe() {+function sYe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function oYe(e, t) {+function cYe(e, t) {if (e) {- if (typeof e == "string") return sYe(e, t);+ if (typeof e == "string") return lYe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? sYe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? lYe(e, t) : void 0;}}-function sYe(e, t) {+function lYe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function cYe(e, t) {+function uYe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -77491,33 +77511,33 @@ function cYe(e, t) {return s;}}-function lYe(e) {+function dYe(e) {if (Array.isArray(e)) return e;}-var uYe = (e, t, n) => {+var fYe = (e, t, n) => {var r = n ?? e;- if (!kH(r)) return TH(r, t, 0);-}, dYe = (e, t, n) => {- var r = {}, i = e.filter(gX), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {+ if (!OH(r)) return wH(r, t, 0);+}, pYe = (e, t, n) => {+ var r = {}, i = e.filter(hX), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {var n = e[t.stackId];return n ??= [], n.push(t), e[t.stackId] = n, e;}, r), s = Object.entries(o).map((e) => {- var r = iYe(e, 2), i = r[0], a = r[1];+ var r = oYe(e, 2), i = r[0], a = r[1];return {stackId: i,dataKeys: a.map((e) => e.dataKey),- barSize: uYe(t, n, a[0]?.barSize)+ barSize: fYe(t, n, a[0]?.barSize)};}), c = a.map((e) => ({stackId: void 0,dataKeys: [e.dataKey].filter((e) => e != null),- barSize: uYe(t, n, e.barSize)+ barSize: fYe(t, n, e.barSize)}));return [...s, ...c];};//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js-function fYe(e, t) {+function mYe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -77527,30 +77547,30 @@ function fYe(e, t) {}return n;}-function O4(e) {+function D4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? fYe(Object(n), !0).forEach(function(t) {- pYe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fYe(Object(n)).forEach(function(t) {+ t % 2 ? mYe(Object(n), !0).forEach(function(t) {+ hYe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mYe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function pYe(e, t, n) {- return (t = mYe(t)) in e ? Object.defineProperty(e, t, {+function hYe(e, t, n) {+ return (t = gYe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function mYe(e) {- var t = hYe(e, "string");+function gYe(e) {+ var t = _Ye(e, "string");return typeof t == "symbol" ? t : t + "";}-function hYe(e, t) {+function _Ye(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -77560,11 +77580,11 @@ function hYe(e, t) {}return (t === "string" ? String : Number)(e);}-function gYe(e, t, n, r, i) {+function vYe(e, t, n, r, i) {var a = r.length;if (!(a < 1)) {- var o = TH(e, n, 0, !0), s, c = [];- if (QK(r[0]?.barSize)) {+ var o = wH(e, n, 0, !0), s, c = [];+ if (ZK(r[0]?.barSize)) {var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);var f = {@@ -77583,11 +77603,11 @@ function gYe(e, t, n, r, i) {return f = n.position, r;}, c);} else {- var p = TH(t, n, 0, !0);+ var p = wH(t, n, 0, !0);n - 2 * p - (a - 1) * o <= 0 && (o = 0);var m = (n - 2 * p - (a - 1) * o) / a;m > 1 && (m = Math.round(m));- var h = QK(i) ? Math.min(m, i) : m;+ var h = ZK(i) ? Math.min(m, i) : m;s = r.reduce((e, t, n) => [...e, {stackId: t.stackId,dataKeys: t.dataKeys,@@ -77600,11 +77620,11 @@ function gYe(e, t, n, r, i) {return s;}}-var _Ye = (e, t, n, r, i, a, o) => {- var s = kH(o) ? t : o, c = gYe(n, r, i === a ? a : i, e, s);- return i !== a && c != null && (c = c.map((e) => O4(O4({}, e), {}, { position: O4(O4({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;-}, vYe = (e, t) => {- var n = mX(t);+var yYe = (e, t, n, r, i, a, o) => {+ var s = OH(o) ? t : o, c = vYe(n, r, i === a ? a : i, e, s);+ return i !== a && c != null && (c = c.map((e) => D4(D4({}, e), {}, { position: D4(D4({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;+}, bYe = (e, t) => {+ var n = pX(t);if (e && n != null && t != null) {var r = t.stackId;if (r != null) {@@ -77615,7 +77635,7 @@ var _Ye = (e, t, n, r, i, a, o) => {}}}-}, yYe = (e, t) => {+}, xYe = (e, t) => {if (e != null && t != null) {var n = e.find((e) => e.stackId === t.stackId && t.dataKey != null && e.dataKeys.includes(t.dataKey));if (n != null) return n.position;@@ -77623,7 +77643,7 @@ var _Ye = (e, t, n, r, i, a, o) => {};//#endregion//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js-function bYe(e, t) {+function SYe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -77633,30 +77653,30 @@ function bYe(e, t) {}return n;}-function k4(e) {+function O4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? bYe(Object(n), !0).forEach(function(t) {- xYe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bYe(Object(n)).forEach(function(t) {+ t % 2 ? SYe(Object(n), !0).forEach(function(t) {+ CYe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SYe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function xYe(e, t, n) {- return (t = SYe(t)) in e ? Object.defineProperty(e, t, {+function CYe(e, t, n) {+ return (t = wYe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function SYe(e) {- var t = CYe(e, "string");+function wYe(e) {+ var t = TYe(e, "string");return typeof t == "symbol" ? t : t + "";}-function CYe(e, t) {+function TYe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -77666,81 +77686,81 @@ function CYe(e, t) {}return (t === "string" ? String : Number)(e);}-var A4 = Y([(e, t) => iX(e, t), (e, t) => R2(e, "radiusAxis", t)], (e, t) => {- if (e != null && t != null) return k4(k4({}, e), {}, { scale: t });-}), j4 = (e, t) => PGe(e, "radiusAxis", t, !1), M4 = Y([(e, t, n) => rX(e, n), (e, t, n) => R2(e, "angleAxis", n)], (e, t) => {- if (e != null && t != null) return k4(k4({}, e), {}, { scale: t });-}), N4 = (e, t, n) => z2(e, "angleAxis", n, !1), P4 = Y([N2, (e, t, n, r) => r], (e, t) => {+var k4 = Y([(e, t) => rX(e, t), (e, t) => L2(e, "radiusAxis", t)], (e, t) => {+ if (e != null && t != null) return O4(O4({}, e), {}, { scale: t });+}), A4 = (e, t) => IGe(e, "radiusAxis", t, !1), j4 = Y([(e, t, n) => nX(e, n), (e, t, n) => L2(e, "angleAxis", n)], (e, t) => {+ if (e != null && t != null) return O4(O4({}, e), {}, { scale: t });+}), M4 = (e, t, n) => R2(e, "angleAxis", n, !1), N4 = Y([M2, (e, t, n, r) => r], (e, t) => {if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;-}), wYe = Y([- Wq,+}), EYe = Y([+ Uq,+ k4,A4,j4,- M4,- N4-], (e, t, n, r, i) => rq(e, "radiusAxis") ? pq(t, n, !1) : pq(r, i, !1)), TYe = Y([- M4,- A4,- Wq+ M4+], (e, t, n, r, i) => nq(e, "radiusAxis") ? fq(t, n, !1) : fq(r, i, !1)), DYe = Y([+ j4,+ k4,+ Uq], (e, t, n) => {var r = n === "radial" ? e : t;- if (r != null && r.scale != null) return uq({ numericAxis: r });-}), EYe = (e, t, n, r, i) => i, DYe = (e, t, n, r, i) => n, OYe = (e, t, n, r, i) => t, kYe = (e, t, n, r, i) => r.maxBarSize, AYe = (e) => e.type === "radialBar", jYe = Y([Y([+ if (r != null && r.scale != null) return lq({ numericAxis: r });+}), OYe = (e, t, n, r, i) => i, kYe = (e, t, n, r, i) => n, AYe = (e, t, n, r, i) => t, jYe = (e, t, n, r, i) => r.maxBarSize, MYe = (e) => e.type === "radialBar", NYe = Y([Y([Y([Y([- Wq,- N2,- DYe,- OYe- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(AYe)),- VY,+ Uq,+ M2,+ kYe,+ AYe+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(MYe)),+ BY,() => void 0- ], dYe),+ ], pYe),+ LY,RY,zY,- BY,Y([- Wq,- RY,+ Uq,+ LY,+ j4,M4,- N4,+ k4,A4,- j4,- kYe+ jYe], (e, t, n, r, i, a, o) => {- var s = kH(o) ? t : o;- return e === "centric" ? pq(n, r, !0) ?? s ?? 0 : pq(i, a, !0) ?? s ?? 0;+ var s = OH(o) ? t : o;+ return e === "centric" ? fq(n, r, !0) ?? s ?? 0 : fq(i, a, !0) ?? s ?? 0;}),- wYe,- kYe-], _Ye), P4], yYe), MYe = Y([P2], (e) => e.filter(AYe).filter(gX)), NYe = Y([+ EYe,+ jYe+], yYe), N4], xYe), PYe = Y([N2], (e) => e.filter(MYe).filter(hX)), FYe = Y([Y([- MYe,- yY,- m1- ], hX),- MYe,- HY,- UY-], g1), PYe = Y([+ PYe,+ vY,+ p1+ ], mX),+ PYe,+ VY,+ HY+], h1), IYe = Y([+ j4,M4,- N4,+ k4,A4,- j4,- vY,- P4,- wYe,- Wq,- TYe,- dX,+ _Y,+ N4,EYe,- jYe,- Y([(e, t, n) => Wq(e) === "centric" ? NYe(e, "radiusAxis", t) : NYe(e, "angleAxis", n), P4], vYe)+ Uq,+ DYe,+ uX,+ OYe,+ NYe,+ Y([(e, t, n) => Uq(e) === "centric" ? FYe(e, "radiusAxis", t) : FYe(e, "angleAxis", n), N4], bYe)], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {var p = i.chartData, m = i.dataStartIndex, h = i.dataEndIndex;if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];var g = a.dataKey, _ = a.minPointSize, v = l.cx, y = l.cy, b = l.startAngle, x = l.endAngle;- return tXe({+ return rXe({angleAxis: e,angleAxisTicks: t,bandSize: o,@@ -77761,7 +77781,7 @@ var A4 = Y([(e, t) => iX(e, t), (e, t) => R2(e, "radiusAxis", t)], (e, t) => {stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,startAngle: b});-}), FYe = Y([yY, (e, t) => t], (e, t) => {+}), LYe = Y([vY, (e, t) => t], (e, t) => {var n = e.chartData, r = e.dataStartIndex, i = e.dataEndIndex;if (n == null) return [];var a = n.slice(r, i + 1);@@ -77774,31 +77794,31 @@ var A4 = Y([(e, t) => iX(e, t), (e, t) => R2(e, "radiusAxis", t)], (e, t) => {});//#endregion//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js-function IYe(e, t) {- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && QK(e.zIndex) ? e.zIndex : t;+function RYe(e, t) {+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && ZK(e.zIndex) ? e.zIndex : t;}//#endregion//#region node_modules/recharts/es6/polar/RadialBar.js-var LYe = [+var zYe = ["shape","activeShape","cornerRadius","id"-], RYe = [+], BYe = ["onMouseEnter","onClick","onMouseLeave"-], zYe = ["value", "background"];-function F4() {- return F4 = Object.assign ? Object.assign.bind() : function(e) {+], VYe = ["value", "background"];+function P4() {+ return P4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, F4.apply(null, arguments);+ }, P4.apply(null, arguments);}-function BYe(e, t) {+function HYe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -77808,30 +77828,30 @@ function BYe(e, t) {}return n;}-function I4(e) {+function F4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? BYe(Object(n), !0).forEach(function(t) {- VYe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BYe(Object(n)).forEach(function(t) {+ t % 2 ? HYe(Object(n), !0).forEach(function(t) {+ UYe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HYe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function VYe(e, t, n) {- return (t = HYe(t)) in e ? Object.defineProperty(e, t, {+function UYe(e, t, n) {+ return (t = WYe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function HYe(e) {- var t = UYe(e, "string");+function WYe(e) {+ var t = GYe(e, "string");return typeof t == "symbol" ? t : t + "";}-function UYe(e, t) {+function GYe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -77841,16 +77861,16 @@ function UYe(e, t) {}return (t === "string" ? String : Number)(e);}-function L4(e, t) {+function I4(e, t) {if (e == null) return {};- var n, r, i = WYe(e, t);+ var n, r, i = KYe(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 WYe(e, t) {+function KYe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -77859,8 +77879,8 @@ function WYe(e, t) {}return n;}-var GYe = [];-function KYe(e) {+var qYe = [];+function JYe(e) {var t = e.showLabels, n = e.sectors, r = e.children, i = n.map((e) => ({value: e.value,payload: e.payload,@@ -77877,15 +77897,15 @@ function KYe(e) {},fill: e.fill}));- return /*#__PURE__*/ b.createElement(hGe, { value: t ? i : void 0 }, r);+ return /*#__PURE__*/ b.createElement(_Ge, { value: t ? i : void 0 }, r);}-function qYe(e) {- var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = L4(n, LYe), f = iH(d), p = J(Y0), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = L4(n, RYe), v = e4(m, n.dataKey, u), y = t4(g), x = n4(h, n.dataKey, u);- return t == null ? null : /*#__PURE__*/ b.createElement(KYe, {+function YYe(e) {+ var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = I4(n, zYe), f = rH(d), p = J(J0), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = I4(n, BYe), v = $2(m, n.dataKey, u), y = e4(g), x = t4(h, n.dataKey, u);+ return t == null ? null : /*#__PURE__*/ b.createElement(JYe, {showLabels: r,sectors: t}, t.map((e, t) => {- var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = x(e, t), h = I4(I4(I4(I4({}, f), {}, { cornerRadius: rYe(l) }, e), LU(_, e, t)), {}, {+ var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = x(e, t), h = F4(F4(F4(F4({}, f), {}, { cornerRadius: aYe(l) }, e), IU(_, e, t)), {}, {onMouseEnter: r,onMouseLeave: u,onClick: m,@@ -77899,19 +77919,19 @@ function qYe(e) {option: n && c != null ? c : s,index: t});- return n ? /*#__PURE__*/ b.createElement(i2, {- zIndex: JY.activeBar,+ return n ? /*#__PURE__*/ b.createElement(r2, {+ zIndex: qY.activeBar,key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`- }, /*#__PURE__*/ b.createElement(D4, h)) : /*#__PURE__*/ b.createElement(D4, F4({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));- }), /*#__PURE__*/ b.createElement(O2, { label: n.label }), n.children);+ }, /*#__PURE__*/ b.createElement(E4, h)) : /*#__PURE__*/ b.createElement(E4, P4({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));+ }), /*#__PURE__*/ b.createElement(D2, { label: n.label }), n.children);}-var JYe = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [I4(I4({}, e.next), {}, {- startAngle: DH(e.prev.startAngle, e.next.startAngle, t),- endAngle: DH(e.prev.endAngle, e.next.endAngle, t)-})] : [I4(I4({}, e.next), {}, { endAngle: DH(e.next.startAngle, e.next.endAngle, t) })]);-function YYe(e) {- var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = l4(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = Jq();- return m == null ? null : /*#__PURE__*/ b.createElement(u4, {+var XYe = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [F4(F4({}, e.next), {}, {+ startAngle: EH(e.prev.startAngle, e.next.startAngle, t),+ endAngle: EH(e.prev.endAngle, e.next.endAngle, t)+})] : [F4(F4({}, e.next), {}, { endAngle: EH(e.next.startAngle, e.next.endAngle, t) })]);+function ZYe(e) {+ var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = c4(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = qq();+ return m == null ? null : /*#__PURE__*/ b.createElement(l4, {animationInput: t,animationIdPrefix: "recharts-radialbar-",items: r,@@ -77925,7 +77945,7 @@ function YYe(e) {animationInterpolateFn: t.animationInterpolateFn,animationMatchBy: t.animationMatchBy,layout: m- }, (e, n, r) => /*#__PURE__*/ b.createElement(qYe, {+ }, (e, n, r) => /*#__PURE__*/ b.createElement(YYe, {sectors: e,allOtherRadialBarProps: t,showLabels: !d,@@ -77934,21 +77954,21 @@ function YYe(e) {isEntrance: r}));}-function XYe(e) {+function QYe(e) {var t = (0, b.useRef)(null);- return /*#__PURE__*/ b.createElement(YYe, {+ return /*#__PURE__*/ b.createElement(ZYe, {props: e,previousSectorsRef: t});}-function ZYe(e) {- var t = J((t) => FYe(t, e.legendType));- return /*#__PURE__*/ b.createElement(iqe, { legendPayload: t ?? [] });+function $Ye(e) {+ var t = J((t) => LYe(t, e.legendType));+ return /*#__PURE__*/ b.createElement(oqe, { legendPayload: t ?? [] });}-var QYe = /*#__PURE__*/ b.memo((e) => {+var eXe = /*#__PURE__*/ b.memo((e) => {var t = e.dataKey, n = e.sectors, r = e.stroke, i = e.strokeWidth, a = e.name, o = e.hide, s = e.fill, c = e.tooltipType, l = e.formatter, u = {dataDefinedOnItem: n,- getPosition: MH,+ getPosition: jH,settings: {graphicalItemId: e.id,stroke: r,@@ -77956,7 +77976,7 @@ var QYe = /*#__PURE__*/ b.memo((e) => {fill: s,nameKey: void 0,dataKey: t,- name: hq(a, t),+ name: mq(a, t),hide: o,type: c,color: s,@@ -77964,39 +77984,39 @@ var QYe = /*#__PURE__*/ b.memo((e) => {formatter: l}};- return /*#__PURE__*/ b.createElement(r4, { tooltipEntrySettings: u });-}), $Ye = class extends b.PureComponent {+ return /*#__PURE__*/ b.createElement(n4, { tooltipEntrySettings: u });+}), tXe = class extends b.PureComponent {renderBackground(e) {if (e == null) return null;- var t = this.props.cornerRadius, n = aH(this.props.background);- return /*#__PURE__*/ b.createElement(i2, { zIndex: IYe(this.props.background, JY.barBackground) }, e.map((e, r) => {+ var t = this.props.cornerRadius, n = iH(this.props.background);+ return /*#__PURE__*/ b.createElement(r2, { zIndex: RYe(this.props.background, qY.barBackground) }, e.map((e, r) => {e.value;- var i = e.background, a = L4(e, zYe);+ var i = e.background, a = I4(e, VYe);if (!i) return null;- var o = I4(I4(I4(I4(I4({ cornerRadius: rYe(t) }, a), {}, { fill: "#eee" }, i), n), LU(this.props, e, r)), {}, {+ var o = F4(F4(F4(F4(F4({ cornerRadius: aYe(t) }, a), {}, { fill: "#eee" }, i), n), IU(this.props, e, r)), {}, {index: r,className: dv("recharts-radial-bar-background-sector", String(n?.className)),option: i,isActive: !1});- return /*#__PURE__*/ b.createElement(D4, F4({ key: `background-${a.cx}-${a.cy}-${a.innerRadius}-${a.outerRadius}-${a.startAngle}-${a.endAngle}-${r}` }, o));+ return /*#__PURE__*/ b.createElement(E4, P4({ key: `background-${a.cx}-${a.cy}-${a.innerRadius}-${a.outerRadius}-${a.startAngle}-${a.endAngle}-${r}` }, o));}));}render() {var e = this.props, t = e.hide, n = e.sectors, r = e.className, i = e.background;if (t) return null;var a = dv("recharts-area", r);- return /*#__PURE__*/ b.createElement(i2, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(uH, { className: a }, i && /*#__PURE__*/ b.createElement(uH, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(uH, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement(XYe, this.props))));+ return /*#__PURE__*/ b.createElement(r2, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(lH, { className: a }, i && /*#__PURE__*/ b.createElement(lH, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(lH, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement(QYe, this.props))));}};-function eXe(e) {- var t = b.useMemo(() => qKe(e.children, f2), [e.children]), n = b.useMemo(() => ({+function nXe(e) {+ var t = b.useMemo(() => YKe(e.children, d2), [e.children]), n = b.useMemo(() => ({data: void 0,hide: !1,id: e.id,dataKey: e.dataKey,minPointSize: e.minPointSize,- stackId: sq(e.stackId),+ stackId: oq(e.stackId),maxBarSize: e.maxBarSize,barSize: e.barSize,type: "radialBar",@@ -78011,8 +78031,8 @@ function eXe(e) {e.barSize,e.angleAxisId,e.radiusAxisId- ]), r = J((r) => PYe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? GYe;- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(QYe, {+ ]), r = J((r) => IYe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? qYe;+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(eXe, {dataKey: e.dataKey,sectors: r,stroke: e.stroke,@@ -78023,15 +78043,15 @@ function eXe(e) {tooltipType: e.tooltipType,formatter: e.formatter,id: e.id- }), /*#__PURE__*/ b.createElement($Ye, F4({}, e, { sectors: r })));+ }), /*#__PURE__*/ b.createElement(tXe, P4({}, e, { sectors: r })));}-var R4 = {+var L4 = {angleAxisId: 0,animationBegin: 0,animationDuration: 1500,animationEasing: "ease",- animationMatchBy: dqe,- animationInterpolateFn: JYe,+ animationMatchBy: pqe,+ animationInterpolateFn: XYe,background: !1,cornerIsExternal: !1,cornerRadius: 0,@@ -78042,15 +78062,15 @@ var R4 = {legendType: "rect",minPointSize: 0,radiusAxisId: 0,- shape: nYe,- zIndex: JY.bar+ shape: iYe,+ zIndex: qY.bar};-function tXe(e) {+function rXe(e) {var t = e.displayedData, n = e.stackedData, r = e.dataStartIndex, i = e.stackedDomain, a = e.dataKey, o = e.baseValue, s = e.layout, c = e.radiusAxis, l = e.radiusAxisTicks, u = e.bandSize, d = e.pos, f = e.angleAxis, p = e.minPointSize, m = e.cx, h = e.cy, g = e.angleAxisTicks, _ = e.cells, v = e.startAngle, y = e.endAngle;- return g == null || l == null ? GYe : (t ?? []).map((e, t) => {+ return g == null || l == null ? qYe : (t ?? []).map((e, t) => {var b, x, S, C, w, T;- if (n ? b = oq(n[r + t], i) : (b = nq(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {- if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = lq({+ if (n ? b = aq(n[r + t], i) : (b = tq(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {+ if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = cq({axis: c,ticks: l,bandSize: u,@@ -78061,7 +78081,7 @@ function tXe(e) {S = x + d.size;var E = w - C;if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {- var D = bH(E || p) * (Math.abs(p) - Math.abs(E));+ var D = yH(E || p) * (Math.abs(p) - Math.abs(E));w += D;}T = { background: {@@ -78073,7 +78093,7 @@ function tXe(e) {endAngle: y} };}- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = lq({+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = cq({axis: f,ticks: g,bandSize: u,@@ -78084,11 +78104,11 @@ function tXe(e) {w = C + d.size;var O = S - x;if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {- var k = bH(O || p) * (Math.abs(p) - Math.abs(O));+ var k = yH(O || p) * (Math.abs(p) - Math.abs(O));S += k;}}- return I4(I4(I4({}, e), T), {}, {+ return F4(F4(F4({}, e), T), {}, {payload: e,value: n ? b : b[1],cx: m,@@ -78100,38 +78120,38 @@ function tXe(e) {}, _ && _[t] && _[t].props);});}-function z4(e) {- var t = zU(e, R4);- return /*#__PURE__*/ b.createElement(d4, {+function R4(e) {+ var t = RU(e, L4);+ return /*#__PURE__*/ b.createElement(u4, {id: t.id,type: "radialBar"- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(zqe, {+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Vqe, {type: "radialBar",id: e,data: void 0,dataKey: t.dataKey,- hide: t.hide ?? R4.hide,- angleAxisId: t.angleAxisId ?? R4.angleAxisId,- radiusAxisId: t.radiusAxisId ?? R4.radiusAxisId,- stackId: sq(t.stackId),+ hide: t.hide ?? L4.hide,+ angleAxisId: t.angleAxisId ?? L4.angleAxisId,+ radiusAxisId: t.radiusAxisId ?? L4.radiusAxisId,+ stackId: oq(t.stackId),barSize: t.barSize,minPointSize: t.minPointSize,maxBarSize: t.maxBarSize- }), /*#__PURE__*/ b.createElement(ZYe, t), /*#__PURE__*/ b.createElement(eXe, F4({}, t, { id: e }))));+ }), /*#__PURE__*/ b.createElement($Ye, t), /*#__PURE__*/ b.createElement(nXe, P4({}, t, { id: e }))));}-z4.displayName = "RadialBar";+R4.displayName = "RadialBar";//#endregion//#region node_modules/recharts/es6/context/chartDataContext.js-var nXe = (e) => {- var t = e.chartData, n = MW(), r = Eq();- return (0, b.useEffect)(() => r ? () => {} : (n(rUe(t)), () => {- n(rUe(void 0));+var iXe = (e) => {+ var t = e.chartData, n = jW(), r = Tq();+ return (0, b.useEffect)(() => r ? () => {} : (n(aUe(t)), () => {+ n(aUe(void 0));}), [t,n,r]), null;-}, rXe = {+}, aXe = {x: 0,y: 0,width: 0,@@ -78142,15 +78162,15 @@ var nXe = (e) => {bottom: 0,left: 0}-}, iXe = SK({+}, oXe = xK({name: "brush",- initialState: rXe,+ initialState: aXe,reducers: { setBrushSettings(e, t) {- return t.payload == null ? rXe : t.payload;+ return t.payload == null ? aXe : t.payload;} }});-iXe.actions.setBrushSettings;-var aXe = iXe.reducer, oXe = (e, t) => {+oXe.actions.setBrushSettings;+var sXe = oXe.reducer, cXe = (e, t) => {var n = e.x, r = e.y, i = t.x, a = t.y;return {x: Math.min(n, i),@@ -78158,9 +78178,9 @@ var aXe = iXe.reducer, oXe = (e, t) => {width: Math.abs(i - n),height: Math.abs(a - r)};-}, sXe = (e) => {+}, lXe = (e) => {var t = e.x1, n = e.y1, r = e.x2, i = e.y2;- return oXe({+ return cXe({x: t,y: n}, {@@ -78168,13 +78188,13 @@ var aXe = iXe.reducer, oXe = (e, t) => {y: i});};-function cXe(e) {+function uXe(e) {return (e % 180 + 180) % 180;}-var lXe = function(e) {- var t = e.width, n = e.height, r = cXe(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 dXe = function(e) {+ var t = e.width, n = e.height, r = uXe(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);-}, uXe = SK({+}, fXe = xK({name: "referenceElements",initialState: {dots: [],@@ -78186,48 +78206,48 @@ var lXe = function(e) {e.dots.push(t.payload);},removeDot: (e, t) => {- var n = cK(e).dots.findIndex((e) => e === t.payload);+ var n = sK(e).dots.findIndex((e) => e === t.payload);n !== -1 && e.dots.splice(n, 1);},addArea: (e, t) => {e.areas.push(t.payload);},removeArea: (e, t) => {- var n = cK(e).areas.findIndex((e) => e === t.payload);+ var n = sK(e).areas.findIndex((e) => e === t.payload);n !== -1 && e.areas.splice(n, 1);},addLine: (e, t) => {- e.lines.push(dK(t.payload));+ e.lines.push(uK(t.payload));},removeLine: (e, t) => {- var n = cK(e).lines.findIndex((e) => e === t.payload);+ var n = sK(e).lines.findIndex((e) => e === t.payload);n !== -1 && e.lines.splice(n, 1);}}-}), B4 = uXe.actions;-B4.addDot, B4.removeDot, B4.addArea, B4.removeArea;-var dXe = B4.addLine, fXe = B4.removeLine, pXe = uXe.reducer;+}), z4 = fXe.actions;+z4.addDot, z4.removeDot, z4.addArea, z4.removeArea;+var pXe = z4.addLine, mXe = z4.removeLine, hXe = fXe.reducer;//#endregion//#region node_modules/recharts/es6/container/ClipPathProvider.js-function mXe(e, t) {- return yXe(e) || vXe(e, t) || gXe(e, t) || hXe();+function gXe(e, t) {+ return xXe(e) || bXe(e, t) || vXe(e, t) || _Xe();}-function hXe() {+function _Xe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function gXe(e, t) {+function vXe(e, t) {if (e) {- if (typeof e == "string") return _Xe(e, t);+ if (typeof e == "string") return yXe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _Xe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? yXe(e, t) : void 0;}}-function _Xe(e, t) {+function yXe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function vXe(e, t) {+function bXe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -78248,20 +78268,20 @@ function vXe(e, t) {return s;}}-function yXe(e) {+function xXe(e) {if (Array.isArray(e)) return e;}-var bXe = /*#__PURE__*/ (0, b.createContext)(void 0), xXe = (e) => {- var t = e.children, n = mXe((0, b.useState)(`${wH("recharts")}-clip`), 1)[0], r = y4();+var SXe = /*#__PURE__*/ (0, b.createContext)(void 0), CXe = (e) => {+ var t = e.children, n = gXe((0, b.useState)(`${CH("recharts")}-clip`), 1)[0], r = v4();if (r == null) return null;var i = r.x, a = r.y, o = r.width, s = r.height;- return /*#__PURE__*/ b.createElement(bXe.Provider, { value: n }, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: n }, /*#__PURE__*/ b.createElement("rect", {+ return /*#__PURE__*/ b.createElement(SXe.Provider, { value: n }, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: n }, /*#__PURE__*/ b.createElement("rect", {x: i,y: a,height: s,width: o}))), t);-}, SXe = () => (0, b.useContext)(bXe), CXe = class {+}, wXe = () => (0, b.useContext)(SXe), TXe = class {constructor(e) {var t = e.x, n = e.y;this.xAxisScale = t, this.yAxisScale = n;@@ -78287,7 +78307,7 @@ var bXe = /*#__PURE__*/ (0, b.createContext)(void 0), xXe = (e) => {};//#endregion//#region node_modules/recharts/es6/cartesian/ReferenceLine.js-function wXe(e, t) {+function EXe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -78297,30 +78317,30 @@ function wXe(e, t) {}return n;}-function TXe(e) {+function DXe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? wXe(Object(n), !0).forEach(function(t) {- EXe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wXe(Object(n)).forEach(function(t) {+ t % 2 ? EXe(Object(n), !0).forEach(function(t) {+ OXe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EXe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function EXe(e, t, n) {- return (t = DXe(t)) in e ? Object.defineProperty(e, t, {+function OXe(e, t, n) {+ return (t = kXe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function DXe(e) {- var t = OXe(e, "string");+function kXe(e) {+ var t = AXe(e, "string");return typeof t == "symbol" ? t : t + "";}-function OXe(e, t) {+function AXe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -78330,27 +78350,27 @@ function OXe(e, t) {}return (t === "string" ? String : Number)(e);}-function V4() {- return V4 = Object.assign ? Object.assign.bind() : function(e) {+function B4() {+ return B4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, V4.apply(null, arguments);+ }, B4.apply(null, arguments);}-var kXe = (e, t) => {+var jXe = (e, t) => {var n;if (/*#__PURE__*/ b.isValidElement(e)) n = /*#__PURE__*/ b.cloneElement(e, t);else if (typeof e == "function") n = e(t);else {- if (!QK(t.x1) || !QK(t.y1) || !QK(t.x2) || !QK(t.y2)) return null;- n = /*#__PURE__*/ b.createElement("line", V4({}, t, { className: "recharts-reference-line-line" }));+ if (!ZK(t.x1) || !ZK(t.y1) || !ZK(t.x2) || !ZK(t.y2)) return null;+ n = /*#__PURE__*/ b.createElement("line", B4({}, t, { className: "recharts-reference-line-line" }));}return n;-}, AXe = (e, t, n, r, i, a) => {+}, MXe = (e, t, n, r, i, a) => {var o = a.x, s = a.width, c = i.map(e, { position: n });- if (!QK(c) || t === "discard" && !i.isInRange(c)) return null;+ if (!ZK(c) || t === "discard" && !i.isInRange(c)) return null;var l = [{x: o + s,y: c@@ -78359,9 +78379,9 @@ var kXe = (e, t) => {y: c}];return r === "left" ? l.reverse() : l;-}, jXe = (e, t, n, r, i, a) => {+}, NXe = (e, t, n, r, i, a) => {var o = a.y, s = a.height, c = i.map(e, { position: n });- if (!QK(c) || t === "discard" && !i.isInRange(c)) return null;+ if (!ZK(c) || t === "discard" && !i.isInRange(c)) return null;var l = [{x: c,y: o + s@@ -78370,7 +78390,7 @@ var kXe = (e, t) => {y: o}];return r === "top" ? l.reverse() : l;-}, MXe = (e, t, n, r) => {+}, PXe = (e, t, n, r) => {var i = [r.mapWithFallback(e[0], {position: n,fallback: "rangeMin"@@ -78379,43 +78399,43 @@ var kXe = (e, t) => {fallback: "rangeMax"})];return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;-}, NXe = (e, t, n, r, i, a, o) => {- var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = CH(s);- return CH(c) ? AXe(c, u, r, a, t, n) : d ? jXe(s, u, r, i, e, n) : l != null && l.length === 2 ? MXe(l, u, r, new CXe({+}, FXe = (e, t, n, r, i, a, o) => {+ var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = SH(s);+ return SH(c) ? MXe(c, u, r, a, t, n) : d ? NXe(s, u, r, i, e, n) : l != null && l.length === 2 ? PXe(l, u, r, new TXe({x: e,y: t})) : null;};-function PXe(e) {- var t = MW();- return (0, b.useEffect)(() => (t(dXe(e)), () => {- t(fXe(e));+function IXe(e) {+ var t = jW();+ return (0, b.useEffect)(() => (t(pXe(e)), () => {+ t(mXe(e));})), null;}-function FXe(e) {- var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = Eq(), s = SXe(), c = J((e) => U$(e, t)), l = J((e) => K$(e, n)), u = J((e) => q1(e, "xAxis", t, o)), d = J((e) => q1(e, "yAxis", n, o)), f = Bq();+function LXe(e) {+ var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = Tq(), s = wXe(), c = J((e) => H$(e, t)), l = J((e) => G$(e, n)), u = J((e) => K1(e, "xAxis", t, o)), d = J((e) => K1(e, "yAxis", n, o)), f = zq();if (!s || !f || c == null || l == null || u == null || d == null) return null;- var p = NXe(u, d, f, e.position, c.orientation, l.orientation, e);+ var p = FXe(u, d, f, e.position, c.orientation, l.orientation, e);if (!p) return null;var m = p[0], h = p[1];if (m == null || h == null) return null;- var g = m.x, _ = m.y, v = h.x, y = h.y, x = TXe(TXe({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, oH(e)), {}, {+ var g = m.x, _ = m.y, v = h.x, y = h.y, x = DXe(DXe({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, aH(e)), {}, {x1: g,y1: _,x2: v,y2: y- }), S = sXe({+ }), S = lXe({x1: g,y1: _,x2: v,y2: y});- return /*#__PURE__*/ b.createElement(i2, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(uH, { className: dv("recharts-reference-line", i) }, kXe(r, x), /*#__PURE__*/ b.createElement(JWe, V4({}, S, {+ return /*#__PURE__*/ b.createElement(r2, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(lH, { className: dv("recharts-reference-line", i) }, jXe(r, x), /*#__PURE__*/ b.createElement(XWe, B4({}, S, {lowerWidth: S.width,upperWidth: S.width- }), /*#__PURE__*/ b.createElement(oGe, { label: e.label }), e.children)));+ }), /*#__PURE__*/ b.createElement(cGe, { label: e.label }), e.children)));}-var IXe = {+var RXe = {ifOverflow: "discard",xAxisId: 0,yAxisId: 0,@@ -78425,36 +78445,36 @@ var IXe = {fillOpacity: 1,strokeWidth: 1,position: "middle",- zIndex: JY.line+ zIndex: qY.line};-function LXe(e) {- var t = zU(e, IXe);- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(PXe, {+function zXe(e) {+ var t = RU(e, RXe);+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(IXe, {yAxisId: t.yAxisId,xAxisId: t.xAxisId,ifOverflow: t.ifOverflow,x: t.x,y: t.y,segment: t.segment- }), /*#__PURE__*/ b.createElement(FXe, t));+ }), /*#__PURE__*/ b.createElement(LXe, t));}-LXe.displayName = "ReferenceLine";+zXe.displayName = "ReferenceLine";//#endregion//#region node_modules/es-toolkit/dist/function/noop.mjs-function RXe() {}+function BXe() {}//#endregion//#region node_modules/es-toolkit/dist/predicate/isPlainObject.mjs-function zXe(e) {+function VXe(e) {if (!e || typeof e != "object") return !1;let t = Object.getPrototypeOf(e);return t !== null && t !== Object.prototype && Object.getPrototypeOf(t) !== null ? !1 : Object.prototype.toString.call(e) === "[object Object]";}//#endregion//#region node_modules/es-toolkit/dist/predicate/isEqualWith.mjs-function BXe(e, t, n) {- return H4(e, t, void 0, void 0, void 0, void 0, n);+function HXe(e, t, n) {+ return V4(e, t, void 0, void 0, void 0, void 0, n);}-function H4(e, t, n, r, i, a, o) {+function V4(e, t, n, r, i, a, o) {let s = o(e, t, n, r, i, a);if (s !== void 0) return s;if (typeof e == typeof t) switch (typeof e) {@@ -78465,22 +78485,22 @@ function H4(e, t, n, r, i, a, o) {case "undefined": return e === t;case "number": return e === t || Object.is(e, t);case "function": return e === t;- case "object": return U4(e, t, a, o);+ case "object": return H4(e, t, a, o);}- return U4(e, t, a, o);+ return H4(e, t, a, o);}-function U4(e, t, n, r) {+function H4(e, t, n, r) {if (Object.is(e, t)) return !0;- let i = JU(e), a = JU(t);- if (i === "[object Arguments]" && (i = oW), a === "[object Arguments]" && (a = oW), i !== a) return !1;+ let i = qU(e), a = qU(t);+ if (i === "[object Arguments]" && (i = aW), a === "[object Arguments]" && (a = aW), i !== a) return !1;switch (i) {- case XU: return e.toString() === t.toString();- case ZU: return xW(e.valueOf(), t.valueOf());- case QU:- case tW:- case eW: return Object.is(e.valueOf(), t.valueOf());- case YU: return e.source === t.source && e.flags === t.flags;- case Zje: return e === t;+ case YU: return e.toString() === t.toString();+ case XU: return bW(e.valueOf(), t.valueOf());+ case ZU:+ case eW:+ case $U: return Object.is(e.valueOf(), t.valueOf());+ case JU: return e.source === t.source && e.flags === t.flags;+ case $je: return e === t;}n ??= /* @__PURE__ */ new Map();let o = n.get(e), s = n.get(t);@@ -78488,47 +78508,47 @@ function U4(e, t, n, r) {n.set(e, t), n.set(t, e);try {switch (i) {- case nW:+ case tW:if (e.size !== t.size) return !1;- for (let [i, a] of e.entries()) if (!t.has(i) || !H4(a, t.get(i), i, e, t, n, r)) return !1;+ for (let [i, a] of e.entries()) if (!t.has(i) || !V4(a, t.get(i), i, e, t, n, r)) return !1;return !0;- case rW: {+ case nW: {if (e.size !== t.size) return !1;let i = Array.from(e.values()), a = Array.from(t.values());for (let o = 0; o < i.length; o++) {- let s = i[o], c = a.findIndex((i) => H4(s, i, void 0, e, t, n, r));+ let s = i[o], c = a.findIndex((i) => V4(s, i, void 0, e, t, n, r));if (c === -1) return !1;a.splice(c, 1);}return !0;}- case iW:+ case rW:+ case sW:case cW:case lW:case uW:+ case tMe:case dW:- case $je:case fW:case pW:+ case nMe:case mW:- case eMe:case hW:- case gW:- if (vW(e) !== vW(t) || e.length !== t.length) return !1;- for (let i = 0; i < e.length; i++) if (!H4(e[i], t[i], i, e, t, n, r)) return !1;+ if (_W(e) !== _W(t) || e.length !== t.length) return !1;+ for (let i = 0; i < e.length; i++) if (!V4(e[i], t[i], i, e, t, n, r)) return !1;return !0;- case aW: return e.byteLength === t.byteLength && U4(new Uint8Array(e), new Uint8Array(t), n, r);- case sW: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : U4(new Uint8Array(e), new Uint8Array(t), n, r);- case Qje: return e.name === t.name && e.message === t.message;- case oW: {- if (!(U4(e.constructor, t.constructor, n, r) || zXe(e) && zXe(t))) return !1;- let i = [...Object.keys(e), ...qU(e)], a = [...Object.keys(t), ...qU(t)];+ case iW: return e.byteLength === t.byteLength && H4(new Uint8Array(e), new Uint8Array(t), n, r);+ case oW: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : H4(new Uint8Array(e), new Uint8Array(t), n, r);+ case eMe: return e.name === t.name && e.message === t.message;+ case aW: {+ if (!(H4(e.constructor, t.constructor, n, r) || VXe(e) && VXe(t))) return !1;+ let i = [...Object.keys(e), ...KU(e)], a = [...Object.keys(t), ...KU(t)];if (i.length !== a.length) return !1;for (let a = 0; a < i.length; a++) {let o = i[a], s = e[o];if (!Object.hasOwn(t, o)) return !1;let c = t[o];- if (!H4(s, c, o, e, t, n, r)) return !1;+ if (!V4(s, c, o, e, t, n, r)) return !1;}return !0;}@@ -78540,12 +78560,12 @@ function U4(e, t, n, r) {}//#endregion//#region node_modules/es-toolkit/dist/predicate/isEqual.mjs-function VXe(e, t) {- return BXe(e, t, RXe);+function UXe(e, t) {+ return HXe(e, t, BXe);}//#endregion//#region node_modules/recharts/es6/util/getEveryNth.js-function HXe(e, t) {+function WXe(e, t) {if (t < 1) return [];if (t === 1) return e;for (var n = [], r = 0; r < e.length; r += t) {@@ -78556,13 +78576,13 @@ function HXe(e, t) {}//#endregion//#region node_modules/recharts/es6/util/TickUtils.js-function UXe(e, t, n) {- return lXe({+function GXe(e, t, n) {+ return dXe({width: e.width + t.width,height: e.height + t.height}, n);}-function WXe(e, t, n) {+function KXe(e, t, n) {var r = n === "width", i = e.x, a = e.y, o = e.width, s = e.height;return t === 1 ? {start: r ? i : a,@@ -78572,33 +78592,33 @@ function WXe(e, t, n) {end: r ? i : a};}-function W4(e, t, n, r, i) {+function U4(e, t, n, r, i) {if (e * t < e * r || e * t > e * i) return !1;var a = n();return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;}-function GXe(e, t) {- return HXe(e, t + 1);+function qXe(e, t) {+ return WXe(e, t + 1);}//#endregion//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js-function KXe(e, t, n, r, i) {+function JXe(e, t, n, r, i) {for (var a = (r || []).slice(), o = t.start, s = t.end, c = 0, l = 1, u = o, d = function() {var t = r?.[c];- if (t === void 0) return { v: HXe(r, l) };- var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || W4(e, p, f, u, s);+ if (t === void 0) return { v: WXe(r, l) };+ var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || U4(e, p, f, u, s);m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);}, f; l <= a.length;) if (f = d(), f) return f.v;return [];}-function qXe(e, t, n, r, i) {+function YXe(e, t, n, r, i) {var a = (r || []).slice().length;if (a === 0) return [];for (var o = t.start, s = t.end, c = 1; c <= a; c++) {for (var l = (a - 1) % c, u = o, d = !0, f = function() {var t = r[m];if (t == null) return 0;- var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || W4(e, f, c, u, s);+ var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || U4(e, f, c, u, s);if (!p) return d = !1, 1;p && (u = f + e * (c() / 2 + i));}, p, m = l; m < a && (p = f(), p === 0 || p !== 1); m += c);@@ -78614,7 +78634,7 @@ function qXe(e, t, n, r, i) {}//#endregion//#region node_modules/recharts/es6/cartesian/getTicks.js-function JXe(e, t) {+function XXe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -78624,30 +78644,30 @@ function JXe(e, t) {}return n;}-function G4(e) {+function W4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? JXe(Object(n), !0).forEach(function(t) {- YXe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : JXe(Object(n)).forEach(function(t) {+ t % 2 ? XXe(Object(n), !0).forEach(function(t) {+ ZXe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XXe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function YXe(e, t, n) {- return (t = XXe(t)) in e ? Object.defineProperty(e, t, {+function ZXe(e, t, n) {+ return (t = QXe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function XXe(e) {- var t = ZXe(e, "string");+function QXe(e) {+ var t = $Xe(e, "string");return typeof t == "symbol" ? t : t + "";}-function ZXe(e, t) {+function $Xe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -78657,26 +78677,26 @@ function ZXe(e, t) {}return (t === "string" ? String : Number)(e);}-function QXe(e, t, n, r, i) {+function eZe(e, t, n, r, i) {for (var a = (r || []).slice(), o = a.length, s = t.start, c = t.end, l = function(t) {var r = a[t];if (r == null) return 1;var l = r, u, d = () => (u === void 0 && (u = n(r, t)), u);if (t === o - 1) {var f = e * (l.coordinate + e * d() / 2 - c);- a[t] = l = G4(G4({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });- } else a[t] = l = G4(G4({}, l), {}, { tickCoord: l.coordinate });- l.tickCoord != null && W4(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = G4(G4({}, l), {}, { isShow: !0 }));+ a[t] = l = W4(W4({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });+ } else a[t] = l = W4(W4({}, l), {}, { tickCoord: l.coordinate });+ l.tickCoord != null && U4(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = W4(W4({}, l), {}, { isShow: !0 }));}, u = o - 1; u >= 0; u--) if (l(u)) continue;return a;}-function $Xe(e, t, n, r, i, a) {+function tZe(e, t, n, r, i, a) {var o = (r || []).slice(), s = o.length, c = t.start, l = t.end;if (a) {var u = r[s - 1];if (u != null) {var d = n(u, s - 1), f = e * (u.coordinate + e * d / 2 - l);- o[s - 1] = u = G4(G4({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && W4(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = G4(G4({}, u), {}, { isShow: !0 }));+ o[s - 1] = u = W4(W4({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && U4(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = W4(W4({}, u), {}, { isShow: !0 }));}}for (var p = a ? s - 1 : s, m = function(t) {@@ -78685,17 +78705,17 @@ function $Xe(e, t, n, r, i, a) {var a = r, s, u = () => (s === void 0 && (s = n(r, t)), s);if (t === 0) {var d = e * (a.coordinate - e * u() / 2 - c);- o[t] = a = G4(G4({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });- } else o[t] = a = G4(G4({}, a), {}, { tickCoord: a.coordinate });- a.tickCoord != null && W4(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = G4(G4({}, a), {}, { isShow: !0 }));+ o[t] = a = W4(W4({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });+ } else o[t] = a = W4(W4({}, a), {}, { tickCoord: a.coordinate });+ a.tickCoord != null && U4(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = W4(W4({}, a), {}, { isShow: !0 }));}, h = 0; h < p; h++) if (m(h)) continue;return o;}-function K4(e, t, n) {+function G4(e, t, n) {var r = e.tick, i = e.ticks, a = e.viewBox, o = e.minTickGap, s = e.orientation, c = e.interval, l = e.tickFormatter, u = e.unit, d = e.angle;if (!i || !i.length || !r) return [];- if (q(c) || _J.isSsr) return GXe(i, q(c) ? c : 0) ?? [];- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? p2(u, {+ if (q(c) || gJ.isSsr) return qXe(i, q(c) ? c : 0) ?? [];+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? f2(u, {fontSize: t,letterSpacing: n}) : {@@ -78703,19 +78723,19 @@ function K4(e, t, n) {height: 0}, h = (e, r) => {var i = typeof l == "function" ? l(e.value, r) : e.value;- return p === "width" ? UXe(p2(i, {+ return p === "width" ? GXe(f2(i, {fontSize: t,letterSpacing: n- }), m, d) : p2(i, {+ }), m, d) : f2(i, {fontSize: t,letterSpacing: n})[p];- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? bH(_.coordinate - g.coordinate) : 1, y = WXe(a, v, p);- return c === "equidistantPreserveStart" ? KXe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? qXe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? $Xe(v, y, h, i, o, c === "preserveStartEnd") : QXe(v, y, h, i, o), f.filter((e) => e.isShow));+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? yH(_.coordinate - g.coordinate) : 1, y = KXe(a, v, p);+ return c === "equidistantPreserveStart" ? JXe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? YXe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? tZe(v, y, h, i, o, c === "preserveStartEnd") : eZe(v, y, h, i, o), f.filter((e) => e.isShow));}//#endregion//#region node_modules/recharts/es6/util/YAxisUtils.js-var eZe = (e) => {+var nZe = (e) => {var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;if (t) {Array.from(t).forEach((e) => {@@ -78728,7 +78748,7 @@ var eZe = (e) => {return Math.round(f);}return 0;-}, tZe = (e) => {+}, rZe = (e) => {var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;if (t) {Array.from(t).forEach((e) => {@@ -78741,7 +78761,7 @@ var eZe = (e) => {return Math.round(f);}return 0;-}, nZe = SK({+}, iZe = xK({name: "renderedTicks",initialState: {xAxis: {},@@ -78750,14 +78770,14 @@ var eZe = (e) => {reducers: {setRenderedTicks: (e, t) => {var n = t.payload, r = n.axisType, i = n.axisId, a = n.ticks;- e[r][i] = dK(a);+ e[r][i] = uK(a);},removeRenderedTicks: (e, t) => {var n = t.payload, r = n.axisType, i = n.axisId;delete e[r][i];}}-}), rZe = nZe.actions, iZe = rZe.setRenderedTicks, aZe = rZe.removeRenderedTicks, oZe = nZe.reducer, sZe = [+}), aZe = iZe.actions, oZe = aZe.setRenderedTicks, sZe = aZe.removeRenderedTicks, cZe = iZe.reducer, lZe = ["axisLine","width","height",@@ -78767,25 +78787,25 @@ var eZe = (e) => {"axisType","axisId"];-function cZe(e, t) {- return pZe(e) || fZe(e, t) || uZe(e, t) || lZe();+function uZe(e, t) {+ return hZe(e) || mZe(e, t) || fZe(e, t) || dZe();}-function lZe() {+function dZe() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function uZe(e, t) {+function fZe(e, t) {if (e) {- if (typeof e == "string") return dZe(e, t);+ if (typeof e == "string") return pZe(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? dZe(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? pZe(e, t) : void 0;}}-function dZe(e, t) {+function pZe(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function fZe(e, t) {+function mZe(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -78806,19 +78826,19 @@ function fZe(e, t) {return s;}}-function pZe(e) {+function hZe(e) {if (Array.isArray(e)) return e;}-function mZe(e, t) {+function gZe(e, t) {if (e == null) return {};- var n, r, i = hZe(e, t);+ var n, r, i = _Ze(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 hZe(e, t) {+function _Ze(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -78827,16 +78847,16 @@ function hZe(e, t) {}return n;}-function q4() {- return q4 = Object.assign ? Object.assign.bind() : function(e) {+function K4() {+ return K4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, q4.apply(null, arguments);+ }, K4.apply(null, arguments);}-function gZe(e, t) {+function vZe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -78846,30 +78866,30 @@ function gZe(e, t) {}return n;}-function J4(e) {+function q4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? gZe(Object(n), !0).forEach(function(t) {- _Ze(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gZe(Object(n)).forEach(function(t) {+ t % 2 ? vZe(Object(n), !0).forEach(function(t) {+ yZe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vZe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function _Ze(e, t, n) {- return (t = vZe(t)) in e ? Object.defineProperty(e, t, {+function yZe(e, t, n) {+ return (t = bZe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function vZe(e) {- var t = yZe(e, "string");+function bZe(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) {@@ -78879,7 +78899,7 @@ function yZe(e, t) {}return (t === "string" ? String : Number)(e);}-var Y4 = {+var J4 = {x: 0,y: 0,width: 0,@@ -78901,15 +78921,15 @@ var Y4 = {tickSize: 6,tickMargin: 2,interval: "preserveEnd",- zIndex: JY.axis+ zIndex: qY.axis};-function bZe(e) {+function SZe(e) {var t = e.x, n = e.y, r = e.width, i = e.height, a = e.orientation, o = e.mirror, s = e.axisLine, c = e.otherSvgProps;if (!s) return null;- var l = J4(J4(J4({}, c), iH(s)), {}, { fill: "none" });+ var l = q4(q4(q4({}, c), rH(s)), {}, { fill: "none" });if (a === "top" || a === "bottom") {var u = +(a === "top" && !o || a === "bottom" && o);- l = J4(J4({}, l), {}, {+ l = q4(q4({}, l), {}, {x1: t,y1: n + u * i,x2: t + r,@@ -78917,16 +78937,16 @@ function bZe(e) {});} else {var d = +(a === "left" && !o || a === "right" && o);- l = J4(J4({}, l), {}, {+ l = q4(q4({}, l), {}, {x1: t + d * r,y1: n,x2: t + d * r,y2: n + i});}- return /*#__PURE__*/ b.createElement("line", q4({}, l, { className: dv("recharts-cartesian-axis-line", _H(s, "className")) }));+ return /*#__PURE__*/ b.createElement("line", K4({}, l, { className: dv("recharts-cartesian-axis-line", gH(s, "className")) }));}-function xZe(e, t, n, r, i, a, o, s, c) {+function CZe(e, t, n, r, i, a, o, s, c) {var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = q(e.tickCoord) ? e.tickCoord : e.coordinate;switch (a) {case "top":@@ -78953,14 +78973,14 @@ function xZe(e, t, n, r, i, a, o, s, c) {}};}-function SZe(e, t) {+function wZe(e, t) {switch (e) {case "left": return t ? "start" : "end";case "right": return t ? "end" : "start";default: return "middle";}}-function CZe(e, t) {+function TZe(e, t) {switch (e) {case "left":case "right": return "middle";@@ -78968,18 +78988,18 @@ function CZe(e, t) {default: return t ? "end" : "start";}}-function wZe(e) {+function EZe(e) {var t = e.option, n = e.tickProps, r = e.value, i, a = dv(n.className, "recharts-cartesian-axis-tick-value");- if (/*#__PURE__*/ b.isValidElement(t)) i = /*#__PURE__*/ b.cloneElement(t, J4(J4({}, n), {}, { className: a }));- else if (typeof t == "function") i = t(J4(J4({}, n), {}, { className: a }));+ if (/*#__PURE__*/ b.isValidElement(t)) i = /*#__PURE__*/ b.cloneElement(t, q4(q4({}, n), {}, { className: a }));+ else if (typeof t == "function") i = t(q4(q4({}, n), {}, { className: a }));else {var o = "recharts-cartesian-axis-tick-value";- typeof t != "boolean" && (o = dv(o, W2(t))), i = /*#__PURE__*/ b.createElement(y2, q4({}, n, { className: o }), r);+ typeof t != "boolean" && (o = dv(o, U2(t))), i = /*#__PURE__*/ b.createElement(v2, K4({}, n, { className: o }), r);}return i;}-function TZe(e) {- var t = e.ticks, n = e.axisType, r = e.axisId, i = MW(), a = (0, b.useRef)(null);+function DZe(e) {+ var t = e.ticks, n = e.axisType, r = e.axisId, i = jW(), a = (0, b.useRef)(null);return (0, b.useEffect)(() => {if (r != null && n != null) {var e = t.map((e) => ({@@ -78988,11 +79008,11 @@ function TZe(e) {offset: e.offset,index: e.index})), o = a.current;- o != null && o.axisId === r && o.axisType === n && VXe(o.ticks, e) || (a.current = {+ o != null && o.axisId === r && o.axisType === n && UXe(o.ticks, e) || (a.current = {ticks: e,axisId: r,axisType: n- }, i(iZe({+ }, i(oZe({ticks: e,axisId: r,axisType: n@@ -79003,8 +79023,8 @@ function TZe(e) {t,r,n- ]), (0, b.useEffect)(() => r == null || n == null ? MH : () => {- i(aZe({+ ]), (0, b.useEffect)(() => r == null || n == null ? jH : () => {+ i(sZe({axisId: r,axisType: n}));@@ -79014,17 +79034,17 @@ function TZe(e) {n]), null;}-var EZe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, x = e.letterSpacing, S = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = K4(J4(J4({}, S), {}, { ticks: r }), y, x), D = iH(S), O = aH(i), k = OWe(D.textAnchor) ? D.textAnchor : SZe(d, f), A = CZe(d, f), j = {};+var OZe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, x = e.letterSpacing, S = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = G4(q4(q4({}, S), {}, { ticks: r }), y, x), D = rH(S), O = iH(i), k = AWe(D.textAnchor) ? D.textAnchor : wZe(d, f), A = TZe(d, f), j = {};typeof a == "object" && (j = a);- var M = J4(J4({}, D), {}, { fill: "none" }, j), N = E.map((e) => J4({ entry: e }, xZe(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {+ var M = q4(q4({}, D), {}, { fill: "none" }, j), N = E.map((e) => q4({ entry: e }, CZe(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {var t = e.entry, n = e.line;- return /*#__PURE__*/ b.createElement(uH, {+ return /*#__PURE__*/ b.createElement(lH, {className: "recharts-cartesian-axis-tick",key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`- }, a && /*#__PURE__*/ b.createElement("line", q4({}, M, n, { className: dv("recharts-cartesian-axis-tick-line", _H(a, "className")) })));+ }, a && /*#__PURE__*/ b.createElement("line", K4({}, M, n, { className: dv("recharts-cartesian-axis-tick-line", gH(a, "className")) })));}), ee = N.map((e, t) => {- var n = e.entry, r = e.tick, a = J4(J4({}, J4(J4(J4(J4({ verticalAnchor: A }, D), {}, {+ var n = e.entry, r = e.tick, a = q4(q4({}, q4(q4(q4(q4({ verticalAnchor: A }, D), {}, {textAnchor: k,stroke: "none",fill: o@@ -79035,34 +79055,34 @@ var EZe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {tickFormatter: s,padding: l}, u), {}, { angle: u?.angle ?? D.angle ?? 0 })), O);- return /*#__PURE__*/ b.createElement(uH, q4({+ return /*#__PURE__*/ b.createElement(lH, K4({className: "recharts-cartesian-axis-tick-label",key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`- }, LU(C, n, t)), i && /*#__PURE__*/ b.createElement(wZe, {+ }, IU(C, n, t)), i && /*#__PURE__*/ b.createElement(EZe, {option: i,tickProps: a,value: `${typeof s == "function" ? s(n.value, t) : n.value}${c || ""}`}));});- return /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ b.createElement(TZe, {+ return /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ b.createElement(DZe, {ticks: E,axisId: T,axisType: w- }), ee.length > 0 && /*#__PURE__*/ b.createElement(i2, { zIndex: JY.label }, /*#__PURE__*/ b.createElement("g", {+ }), ee.length > 0 && /*#__PURE__*/ b.createElement(r2, { zIndex: qY.label }, /*#__PURE__*/ b.createElement("g", {className: `recharts-cartesian-axis-tick-labels recharts-${w}-tick-labels`,ref: t}, ee)), P.length > 0 && /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${w}-tick-lines` }, P));-}), DZe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = mZe(e, sZe), d = cZe((0, b.useState)(""), 2), f = d[0], p = d[1], m = cZe((0, b.useState)(""), 2), h = m[0], g = m[1], _ = (0, b.useRef)(null);+}), kZe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = gZe(e, lZe), d = uZe((0, b.useState)(""), 2), f = d[0], p = d[1], m = uZe((0, b.useState)(""), 2), h = m[0], g = m[1], _ = (0, b.useRef)(null);(0, b.useImperativeHandle)(t, () => ({- getCalculatedWidth: () => eZe({+ getCalculatedWidth: () => nZe({ticks: _.current,label: e.labelRef?.current,labelGapWithTick: 5,tickSize: e.tickSize,tickMargin: e.tickMargin}),- getCalculatedHeight: () => tZe({+ getCalculatedHeight: () => rZe({ticks: _.current,label: e.labelRef?.current,labelGapWithTick: 5,@@ -79081,7 +79101,7 @@ var EZe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {}}}, [f, h]);- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(i2, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(uH, { className: dv("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(bZe, {+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(r2, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(lH, { className: dv("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(SZe, {x: e.x,y: e.y,width: r,@@ -79089,8 +79109,8 @@ var EZe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {orientation: e.orientation,mirror: e.mirror,axisLine: n,- otherSvgProps: iH(e)- }), /*#__PURE__*/ b.createElement(EZe, {+ otherSvgProps: rH(e)+ }), /*#__PURE__*/ b.createElement(OZe, {ref: v,axisType: c,events: u,@@ -79114,37 +79134,37 @@ var EZe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {x: e.x,y: e.y,axisId: l- }), /*#__PURE__*/ b.createElement(JWe, {+ }), /*#__PURE__*/ b.createElement(XWe, {x: e.x,y: e.y,width: e.width,height: e.height,lowerWidth: e.width,upperWidth: e.width- }, /*#__PURE__*/ b.createElement(oGe, {+ }, /*#__PURE__*/ b.createElement(cGe, {label: e.label,labelRef: e.labelRef}), e.children)));-}), X4 = /*#__PURE__*/ b.forwardRef((e, t) => {- var n = zU(e, Y4);- return /*#__PURE__*/ b.createElement(DZe, q4({}, n, { ref: t }));+}), Y4 = /*#__PURE__*/ b.forwardRef((e, t) => {+ var n = RU(e, J4);+ return /*#__PURE__*/ b.createElement(kZe, K4({}, n, { ref: t }));});-X4.displayName = "CartesianAxis";+Y4.displayName = "CartesianAxis";//#endregion//#region node_modules/recharts/es6/theme/RechartsThemeContext.js-var OZe = /*#__PURE__*/ (0, b.createContext)({ grid: {+var AZe = /*#__PURE__*/ (0, b.createContext)({ grid: {stroke: "#ccc",fill: "none"} });-OZe.Provider;-var kZe = () => (0, b.useContext)(OZe), AZe = [+AZe.Provider;+var jZe = () => (0, b.useContext)(AZe), MZe = ["x1","y1","x2","y2","key"-], jZe = ["offset"], MZe = ["xAxisId", "yAxisId"], NZe = ["xAxisId", "yAxisId"];-function PZe(e, t) {+], NZe = ["offset"], PZe = ["xAxisId", "yAxisId"], FZe = ["xAxisId", "yAxisId"];+function IZe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -79154,30 +79174,30 @@ function PZe(e, t) {}return n;}-function Z4(e) {+function X4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? PZe(Object(n), !0).forEach(function(t) {- FZe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PZe(Object(n)).forEach(function(t) {+ t % 2 ? IZe(Object(n), !0).forEach(function(t) {+ LZe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IZe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function FZe(e, t, n) {- return (t = IZe(t)) in e ? Object.defineProperty(e, t, {+function LZe(e, t, n) {+ return (t = RZe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function IZe(e) {- var t = LZe(e, "string");+function RZe(e) {+ var t = zZe(e, "string");return typeof t == "symbol" ? t : t + "";}-function LZe(e, t) {+function zZe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -79187,25 +79207,25 @@ function LZe(e, t) {}return (t === "string" ? String : Number)(e);}-function Q4() {- return Q4 = Object.assign ? Object.assign.bind() : function(e) {+function Z4() {+ return Z4 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, Q4.apply(null, arguments);+ }, Z4.apply(null, arguments);}-function $4(e, t) {+function Q4(e, t) {if (e == null) return {};- var n, r, i = RZe(e, t);+ var n, r, i = BZe(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 RZe(e, t) {+function BZe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -79214,7 +79234,7 @@ function RZe(e, t) {}return n;}-var zZe = (e) => {+var VZe = (e) => {var t = e.fill;if (!t || t === "none") return null;var n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.ry;@@ -79230,15 +79250,15 @@ var zZe = (e) => {className: "recharts-cartesian-grid-bg"});};-function BZe(e) {+function HZe(e) {var t = e.option, n = e.lineItemProps, r;if (/*#__PURE__*/ b.isValidElement(t)) r = /*#__PURE__*/ b.cloneElement(t, n);else if (typeof t == "function") r = t(n);else {- var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = iH($4(n, AZe)) ?? {};+ var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = rH(Q4(n, MZe)) ?? {};l.offset;- var u = $4(l, jZe), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;- r = /*#__PURE__*/ b.createElement("line", Q4({}, u, {+ var u = Q4(l, NZe), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;+ r = /*#__PURE__*/ b.createElement("line", Z4({}, u, {strokeDasharray: d,x1: i,y1: a,@@ -79250,12 +79270,12 @@ function BZe(e) {}return r;}-function VZe(e) {+function UZe(e) {var t = e.x, n = e.width, r = e.horizontal, i = r === void 0 || r, a = e.horizontalPoints;if (!i || !a || !a.length) return null;e.xAxisId, e.yAxisId;- var o = $4(e, MZe), s = a.map((e, r) => {- var a = Z4(Z4({}, o), {}, {+ var o = Q4(e, PZe), s = a.map((e, r) => {+ var a = X4(X4({}, o), {}, {x1: t,y1: e,x2: t + n,@@ -79263,7 +79283,7 @@ function VZe(e) {key: `line-${r}`,index: r});- return /*#__PURE__*/ b.createElement(BZe, {+ return /*#__PURE__*/ b.createElement(HZe, {key: `line-${r}`,option: i,lineItemProps: a@@ -79271,12 +79291,12 @@ function VZe(e) {});return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, s);}-function HZe(e) {+function WZe(e) {var t = e.y, n = e.height, r = e.vertical, i = r === void 0 || r, a = e.verticalPoints;if (!i || !a || !a.length) return null;e.xAxisId, e.yAxisId;- var o = $4(e, NZe), s = a.map((e, r) => {- var a = Z4(Z4({}, o), {}, {+ var o = Q4(e, FZe), s = a.map((e, r) => {+ var a = X4(X4({}, o), {}, {x1: e,y1: t,x2: e,@@ -79284,7 +79304,7 @@ function HZe(e) {key: `line-${r}`,index: r});- return /*#__PURE__*/ b.createElement(BZe, {+ return /*#__PURE__*/ b.createElement(HZe, {option: i,lineItemProps: a,key: `line-${r}`@@ -79292,7 +79312,7 @@ function HZe(e) {});return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid-vertical" }, s);}-function UZe(e) {+function GZe(e) {var t = e.horizontalFill, n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.horizontalPoints, c = e.horizontal;if (!(c === void 0 || c) || !t || !t.length || s == null) return null;var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);@@ -79315,7 +79335,7 @@ function UZe(e) {});return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);}-function WZe(e) {+function KZe(e) {var t = e.vertical, n = t === void 0 || t, r = e.verticalFill, i = e.fillOpacity, a = e.x, o = e.y, s = e.width, c = e.height, l = e.verticalPoints;if (!n || !r || !r.length) return null;var u = l.map((e) => Math.round(e + a - a)).sort((e, t) => e - t);@@ -79338,10 +79358,10 @@ function WZe(e) {});return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, d);}-var GZe = (e, t) => {+var qZe = (e, t) => {var n = e.xAxis, r = e.width, i = e.height, a = e.offset;- return iq(K4(Z4(Z4(Z4({}, Y4), n), {}, {- ticks: aq(n, !0),+ return rq(G4(X4(X4(X4({}, J4), n), {}, {+ ticks: iq(n, !0),viewBox: {x: 0,y: 0,@@ -79349,10 +79369,10 @@ var GZe = (e, t) => {height: i}})), a.left, a.left + a.width, t);-}, KZe = (e, t) => {+}, JZe = (e, t) => {var n = e.yAxis, r = e.width, i = e.height, a = e.offset;- return iq(K4(Z4(Z4(Z4({}, Y4), n), {}, {- ticks: aq(n, !0),+ return rq(G4(X4(X4(X4({}, J4), n), {}, {+ ticks: iq(n, !0),viewBox: {x: 0,y: 0,@@ -79360,7 +79380,7 @@ var GZe = (e, t) => {height: i}})), a.top, a.top + a.height, t);-}, qZe = {+}, YZe = {horizontal: !0,vertical: !0,horizontalPoints: [],@@ -79370,41 +79390,41 @@ var GZe = (e, t) => {xAxisId: 0,yAxisId: 0,syncWithTicks: !1,- zIndex: JY.grid+ zIndex: qY.grid};-function JZe(e) {- var t = Hq(), n = Uq(), r = Vq(), i = Z4(Z4({}, zU(e, qZe)), {}, {+function XZe(e) {+ var t = Vq(), n = Hq(), r = Bq(), i = X4(X4({}, RU(e, YZe)), {}, {x: q(e.x) ? e.x : r.left,y: q(e.y) ? e.y : r.top,width: q(e.width) ? e.width : r.width,height: q(e.height) ? e.height : r.height- }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = Eq(), h = J((e) => r0(e, "xAxis", a, m)), g = J((e) => r0(e, "yAxis", o, m)), _ = kZe(), v = {+ }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = Tq(), h = J((e) => n0(e, "xAxis", a, m)), g = J((e) => n0(e, "yAxis", o, m)), _ = jZe(), v = {stroke: i.stroke ?? _.grid.stroke,strokeWidth: i.strokeWidth ?? _.grid.strokeWidth,strokeOpacity: i.strokeOpacity ?? _.grid.strokeOpacity,strokeDasharray: i.strokeDasharray ?? _.grid.strokeDasharray};- if (!$K(l) || !$K(u) || !q(s) || !q(c)) return null;- var y = i.verticalCoordinatesGenerator || GZe, x = i.horizontalCoordinatesGenerator || KZe, S = i.horizontalPoints, C = i.verticalPoints;+ if (!QK(l) || !QK(u) || !q(s) || !q(c)) return null;+ var y = i.verticalCoordinatesGenerator || qZe, x = i.horizontalCoordinatesGenerator || JZe, S = i.horizontalPoints, C = i.verticalPoints;if ((!S || !S.length) && typeof x == "function") {var w = f && f.length, T = x({- yAxis: g ? Z4(Z4({}, g), {}, { ticks: w ? f : g.ticks }) : void 0,+ yAxis: g ? X4(X4({}, g), {}, { ticks: w ? f : g.ticks }) : void 0,width: t ?? l,height: n ?? u,offset: r}, w ? !0 : d);- kq(Array.isArray(T), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof T}]`), Array.isArray(T) && (S = T);+ Oq(Array.isArray(T), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof T}]`), Array.isArray(T) && (S = T);}if ((!C || !C.length) && typeof y == "function") {var E = p && p.length, D = y({- xAxis: h ? Z4(Z4({}, h), {}, { ticks: E ? p : h.ticks }) : void 0,+ xAxis: h ? X4(X4({}, h), {}, { ticks: E ? p : h.ticks }) : void 0,width: t ?? l,height: n ?? u,offset: r}, E ? !0 : d);- kq(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);+ Oq(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);}- return /*#__PURE__*/ b.createElement(i2, { zIndex: i.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ b.createElement(zZe, {+ return /*#__PURE__*/ b.createElement(r2, { zIndex: i.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ b.createElement(VZe, {fill: i.fill ?? _.grid.fill,fillOpacity: i.fillOpacity ?? _.grid.fillOpacity,x: i.x,@@ -79412,22 +79432,22 @@ function JZe(e) {width: i.width,height: i.height,ry: i.ry- }), /*#__PURE__*/ b.createElement(UZe, Q4({}, i, { horizontalPoints: S })), /*#__PURE__*/ b.createElement(WZe, Q4({}, i, { verticalPoints: C })), /*#__PURE__*/ b.createElement(VZe, Q4({}, i, v, {+ }), /*#__PURE__*/ b.createElement(GZe, Z4({}, i, { horizontalPoints: S })), /*#__PURE__*/ b.createElement(KZe, Z4({}, i, { verticalPoints: C })), /*#__PURE__*/ b.createElement(UZe, Z4({}, i, v, {offset: r,horizontalPoints: S,xAxis: h,yAxis: g- })), /*#__PURE__*/ b.createElement(HZe, Q4({}, i, v, {+ })), /*#__PURE__*/ b.createElement(WZe, Z4({}, i, v, {offset: r,verticalPoints: C,xAxis: h,yAxis: g}))));}-JZe.displayName = "CartesianGrid";+XZe.displayName = "CartesianGrid";//#endregion//#region node_modules/recharts/es6/cartesian/LineDrawShape.js-var YZe = [+var ZZe = ["animationElapsedTime","isAnimating","isEntrance",@@ -79435,25 +79455,25 @@ var YZe = ["strokeDasharray","connectNulls"];-function e3() {- return e3 = Object.assign ? Object.assign.bind() : function(e) {+function $4() {+ return $4 = 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;- }, e3.apply(null, arguments);+ }, $4.apply(null, arguments);}-function XZe(e, t) {+function QZe(e, t) {if (e == null) return {};- var n, r, i = ZZe(e, t);+ var n, r, i = $Ze(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 ZZe(e, t) {+function $Ze(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -79462,26 +79482,26 @@ function ZZe(e, t) {}return n;}-function QZe(e) {+function eQe(e) {try {return e && e.getTotalLength && e.getTotalLength() || 0;} catch {return 0;}}-function $Ze(e, t) {+function tQe(e, t) {return `${t}px ${e}px`;}-function eQe(e) {+function nQe(e) {return e.length % 2 == 0 ? e : [...e, ...e];}-function tQe(e, t) {+function rQe(e, t) {for (var n = [], r = 0; r < t; ++r) n.push(...e);return n;}-function nQe(e, t, n) {- var r = eQe(n), i = r.reduce((e, t) => e + t, 0);- if (!i) return $Ze(t, e);+function iQe(e, t, n) {+ var r = nQe(n), i = r.reduce((e, t) => e + t, 0);+ if (!i) return tQe(t, e);for (var a = Math.floor(e / i), o = e % i, s = [], c = 0, l = 0; c < r.length; l += (u = r[c]) ?? 0, ++c) {var u, d = r[c];if (d != null && l + d > o) {@@ -79491,39 +79511,39 @@ function nQe(e, t, n) {}var f = s.length % 2 == 0 ? [0, t] : [t];return [- ...tQe(r, a),+ ...rQe(r, a),...s,...f].map((e) => `${e}px`).join(", ");}-function rQe(e, t, n) {- return e ? nQe(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : $Ze(t, n);+function aQe(e, t, n) {+ return e ? iQe(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : tQe(t, n);}-function iQe(e) {+function oQe(e) {e.animationElapsedTime, e.isAnimating, e.isEntrance;- var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = XZe(e, YZe), a = r ?? !1, o;+ var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = QZe(e, ZZe), a = r ?? !1, o;if (t != null) {var s = i.pathRef;- o = rQe(n, QZe(s?.current ?? null), t);+ o = aQe(n, eQe(s?.current ?? null), t);} else n != null && (o = String(n));- return /*#__PURE__*/ b.createElement(NJ, e3({}, i, {+ return /*#__PURE__*/ b.createElement(MJ, $4({}, i, {connectNulls: a,strokeDasharray: o}));}//#endregion//#region node_modules/recharts/es6/cartesian/useAnimatedLineLength.js-function aQe(e) {+function sQe(e) {var t = (0, b.useRef)(0), n = (0, b.useRef)(0), r = (0, b.useRef)(!1), i = (0, b.useRef)(e);return i.current !== e && (t.current = n.current, i.current = e), (0, b.useCallback)((e, i) => {if (r.current) return null;- var a = Math.min(vH(t.current + e * i), i);+ var a = Math.min(_H(t.current + e * i), i);return e > 0 && i > 0 && (n.current = Math.max(n.current, a), a >= i) ? (r.current = !0, null) : a;}, []);}//#endregion//#region node_modules/recharts/es6/state/errorBarSlice.js-var oQe = SK({+var cQe = xK({name: "errorBars",initialState: {},reducers: {@@ -79540,19 +79560,19 @@ var oQe = SK({e[r] && (e[r] = e[r].filter((e) => e.dataKey !== i.dataKey || e.direction !== i.direction));}}-}), t3 = oQe.actions;-t3.addErrorBar, t3.replaceErrorBar, t3.removeErrorBar;-var sQe = oQe.reducer, cQe = ["children"];-function lQe(e, t) {+}), e3 = cQe.actions;+e3.addErrorBar, e3.replaceErrorBar, e3.removeErrorBar;+var lQe = cQe.reducer, uQe = ["children"];+function dQe(e, t) {if (e == null) return {};- var n, r, i = uQe(e, t);+ var n, r, i = fQe(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 uQe(e, t) {+function fQe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -79561,7 +79581,7 @@ function uQe(e, t) {}return n;}-var dQe = /*#__PURE__*/ (0, b.createContext)({+var pQe = /*#__PURE__*/ (0, b.createContext)({data: [],xAxisId: "xAxis-0",yAxisId: "yAxis-0",@@ -79572,22 +79592,22 @@ var dQe = /*#__PURE__*/ (0, b.createContext)({}),errorBarOffset: 0});-function fQe(e) {- var t = e.children, n = lQe(e, cQe);- return /*#__PURE__*/ b.createElement(dQe.Provider, { value: n }, t);+function mQe(e) {+ var t = e.children, n = dQe(e, uQe);+ return /*#__PURE__*/ b.createElement(pQe.Provider, { value: n }, t);}//#endregion//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js-function n3(e, t) {- var n = J((t) => U$(t, e)), r = J((e) => K$(e, t)), i = n?.allowDataOverflow ?? V$.allowDataOverflow, a = r?.allowDataOverflow ?? W$.allowDataOverflow;+function t3(e, t) {+ var n = J((t) => H$(t, e)), r = J((e) => G$(e, t)), i = n?.allowDataOverflow ?? B$.allowDataOverflow, a = r?.allowDataOverflow ?? U$.allowDataOverflow;return {needClip: i || a,needClipX: i,needClipY: a};}-function r3(e) {- var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = y4(), a = n3(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = J((e) => B1(e, t, !1)), u = J((e) => V1(e, n, !1));+function n3(e) {+ var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = v4(), a = t3(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = J((e) => z1(e, t, !1)), u = J((e) => B1(e, n, !1));if (!c || !i) return null;var d = i.x, f = i.y, p = i.width, m = i.height, h = o && l ? Math.min(l[0], l[1]) : d - p / 2, g = s && u ? Math.min(u[0], u[1]) : f - m / 2, _ = o && l ? Math.abs(l[1] - l[0]) : p * 2, v = s && u ? Math.abs(u[1] - u[0]) : m * 2;return /*#__PURE__*/ b.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ b.createElement("rect", {@@ -79599,30 +79619,30 @@ function r3(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/lineSelectors.js-var pQe = (e, t, n, r) => c0(e, "xAxis", t, r), mQe = (e, t, n, r) => s0(e, "xAxis", t, r), hQe = (e, t, n, r) => c0(e, "yAxis", n, r), gQe = (e, t, n, r) => s0(e, "yAxis", n, r), _Qe = Y([- Wq,- pQe,+var hQe = (e, t, n, r) => s0(e, "xAxis", t, r), gQe = (e, t, n, r) => o0(e, "xAxis", t, r), _Qe = (e, t, n, r) => s0(e, "yAxis", n, r), vQe = (e, t, n, r) => o0(e, "yAxis", n, r), yQe = Y([+ Uq,hQe,- mQe,- gQe-], (e, t, n, r, i) => rq(e, "xAxis") ? pq(t, r, !1) : pq(n, i, !1)), vQe = (e, t, n, r, i) => i;-function yQe(e) {+ _Qe,+ gQe,+ vQe+], (e, t, n, r, i) => nq(e, "xAxis") ? fq(t, r, !1) : fq(n, i, !1)), bQe = (e, t, n, r, i) => i;+function xQe(e) {return e.type === "line";}-var bQe = Y([- Wq,- pQe,+var SQe = Y([+ Uq,hQe,- mQe,- gQe,- Y([Q$, vQe], (e, t) => e.filter(yQe).find((e) => e.id === t)),_Qe,- bY+ gQe,+ vQe,+ Y([Z$, bQe], (e, t) => e.filter(xQe).find((e) => e.id === t)),+ yQe,+ yY], (e, t, n, r, i, a, o, s) => {var c = s.chartData, l = s.dataStartIndex, u = s.dataEndIndex;if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {var d = a.dataKey, f = a.data, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);- if (p != null) return HQe({+ if (p != null) return WQe({layout: e,xAxis: t,yAxis: n,@@ -79636,8 +79656,8 @@ var bQe = Y([});//#endregion//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js-function xQe(e) {- var t = aH(e), n = 3, r = 2;+function CQe(e) {+ var t = iH(e), n = 3, r = 2;if (t != null) {var i = t.r, a = t.strokeWidth, o = Number(i), s = Number(a);return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {@@ -79652,14 +79672,14 @@ function xQe(e) {}//#endregion//#region node_modules/recharts/es6/cartesian/Line.js-var SQe = ["id"], CQe = [+var wQe = ["id"], TQe = ["type","layout","connectNulls","needClip","shape","strokeDasharray"-], wQe = [+], EQe = ["activeDot","animateNewValues","animationBegin",@@ -79675,25 +79695,25 @@ var SQe = ["id"], CQe = ["yAxisId","id"];-function i3() {- return i3 = Object.assign ? Object.assign.bind() : function(e) {+function r3() {+ return r3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, i3.apply(null, arguments);+ }, r3.apply(null, arguments);}-function a3(e, t) {+function i3(e, t) {if (e == null) return {};- var n, r, i = TQe(e, t);+ var n, r, i = DQe(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 TQe(e, t) {+function DQe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -79702,7 +79722,7 @@ function TQe(e, t) {}return n;}-function EQe(e, t) {+function OQe(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -79712,30 +79732,30 @@ function EQe(e, t) {}return n;}-function o3(e) {+function a3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? EQe(Object(n), !0).forEach(function(t) {- DQe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EQe(Object(n)).forEach(function(t) {+ t % 2 ? OQe(Object(n), !0).forEach(function(t) {+ kQe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OQe(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function DQe(e, t, n) {- return (t = OQe(t)) in e ? Object.defineProperty(e, t, {+function kQe(e, t, n) {+ return (t = AQe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function OQe(e) {- var t = kQe(e, "string");+function AQe(e) {+ var t = jQe(e, "string");return typeof t == "symbol" ? t : t + "";}-function kQe(e, t) {+function jQe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -79745,19 +79765,19 @@ function kQe(e, t) {}return (t === "string" ? String : Number)(e);}-function AQe(e) {+function MQe(e) {try {return e && e.getTotalLength && e.getTotalLength() || 0;} catch {return 0;}}-function jQe(e) {+function NQe(e) {var t = 0, n = 0;for (var r of e) r.status === "matched" && r.prev.x != null && r.next.x != null && (t += r.next.x - r.prev.x, n++);return n > 0 ? t / n : 0;}-var s3 = {+var o3 = {activeDot: !0,animateNewValues: !0,animationBegin: 0,@@ -79766,29 +79786,29 @@ var s3 = {animationInterpolateFn: (e, t) => {if (e == null) return [];if (t === 1) return e.flatMap((e) => e.status === "removed" ? [] : [e.next]);- var n = jQe(e), r = [];- for (var i of e) if (i.status === "matched") r.push(o3(o3({}, i.next), {}, {- x: DH(i.prev.x, i.next.x, t),- y: DH(i.prev.y, i.next.y, t)+ var n = NQe(e), r = [];+ for (var i of e) if (i.status === "matched") r.push(a3(a3({}, i.next), {}, {+ x: EH(i.prev.x, i.next.x, t),+ y: EH(i.prev.y, i.next.y, t)}));else if (i.status === "added") {if (i.next.x != null) {var a = i.next.x - n;- r.push(o3(o3({}, i.next), {}, {- x: DH(a, i.next.x, t),+ r.push(a3(a3({}, i.next), {}, {+ x: EH(a, i.next.x, t),y: i.next.y}));} else r.push(i.next);} else if (i.status === "removed" && i.prev.x != null) {var o = i.prev.x + n;- r.push(o3(o3({}, i.prev), {}, {- x: DH(i.prev.x, o, t),+ r.push(a3(a3({}, i.prev), {}, {+ x: EH(i.prev.x, o, t),y: i.prev.y}));}return r;},- animationMatchBy: a4,+ animationMatchBy: i4,connectNulls: !1,dot: !0,fill: "#fff",@@ -79796,34 +79816,34 @@ var s3 = {isAnimationActive: "auto",label: !1,legendType: "line",- shape: iQe,+ shape: oQe,stroke: "#3182bd",strokeWidth: 1,xAxisId: 0,yAxisId: 0,- zIndex: JY.line,+ zIndex: qY.line,type: "linear"-}, MQe = (e) => {+}, PQe = (e) => {var t = e.dataKey, n = e.name, r = e.stroke, i = e.legendType;return [{inactive: e.hide,dataKey: t,type: i,color: r,- value: hq(n, t),+ value: mq(n, t),payload: e}];-}, NQe = /*#__PURE__*/ b.memo((e) => {+}, FQe = /*#__PURE__*/ b.memo((e) => {var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {dataDefinedOnItem: n,- getPosition: MH,+ getPosition: jH,settings: {stroke: r,strokeWidth: i,fill: a,dataKey: t,nameKey: void 0,- name: hq(o, t),+ name: mq(o, t),hide: s,type: u,color: r,@@ -79832,13 +79852,13 @@ var s3 = {graphicalItemId: d}};- return /*#__PURE__*/ b.createElement(r4, { tooltipEntrySettings: f });+ return /*#__PURE__*/ b.createElement(n4, { tooltipEntrySettings: f });});-function PQe(e) {+function IQe(e) {var t = e.clipPathId, n = e.points, r = e.props, i = r.dot, a = r.dataKey, o = r.needClip;r.id;- var s = iH(a3(r, SQe));- return /*#__PURE__*/ b.createElement(g4, {+ var s = rH(i3(r, wQe));+ return /*#__PURE__*/ b.createElement(h4, {points: n,dot: i,className: "recharts-line-dots",@@ -79849,7 +79869,7 @@ function PQe(e) {clipPathId: t});}-function FQe(e) {+function LQe(e) {var t = e.showLabels, n = e.children, r = e.points, i = (0, b.useMemo)(() => r?.map((e) => {var t = {x: e.x ?? 0,@@ -79859,7 +79879,7 @@ function FQe(e) {upperWidth: 0,height: 0};- return o3(o3({}, t), {}, {+ return a3(a3({}, t), {}, {value: e.value,payload: e.payload,viewBox: t,@@ -79867,10 +79887,10 @@ function FQe(e) {fill: void 0});}), [r]);- return /*#__PURE__*/ b.createElement(E2, { value: t ? i : void 0 }, n);+ return /*#__PURE__*/ b.createElement(T2, { value: t ? i : void 0 }, n);}-function IQe(e) {- var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = o3(o3({}, oH(a3(i, CQe))), {}, {+function RQe(e) {+ var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = a3(a3({}, aH(i3(i, TQe))), {}, {fill: "none",className: "recharts-line-curve",clipPath: f ? `url(#clipPath-${t})` : void 0,@@ -79885,22 +79905,22 @@ function IQe(e) {isEntrance: i.animateNewValues ? s : !1,visibleLength: c});- return /*#__PURE__*/ b.createElement(b.Fragment, null, r?.length > 1 && /*#__PURE__*/ b.createElement($2, {+ return /*#__PURE__*/ b.createElement(b.Fragment, null, r?.length > 1 && /*#__PURE__*/ b.createElement(Q2, {option: p,- DefaultShape: s3.shape,+ DefaultShape: o3.shape,shapeProps: h- }), /*#__PURE__*/ b.createElement(PQe, {+ }), /*#__PURE__*/ b.createElement(IQe, {points: r,clipPathId: t,props: i}));}-function LQe(e) {- var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = AQe(r.current), m = l4(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = aQe(a), x = (0, b.useCallback)((e) => e > 0 && p > 0, [p]);- return /*#__PURE__*/ b.createElement(FQe, {+function zQe(e) {+ var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = MQe(r.current), m = c4(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = sQe(a), x = (0, b.useCallback)((e) => e > 0 && p > 0, [p]);+ return /*#__PURE__*/ b.createElement(LQe, {points: a,showLabels: v- }, n.children, /*#__PURE__*/ b.createElement(u4, {+ }, n.children, /*#__PURE__*/ b.createElement(l4, {animationInput: a,animationIdPrefix: "recharts-line-",items: a,@@ -79917,7 +79937,7 @@ function LQe(e) {layout: f}, (e, i, a) => {var o = h || i < 1, s = o ? y(i, p) : null;- return /*#__PURE__*/ b.createElement(IQe, {+ return /*#__PURE__*/ b.createElement(RQe, {props: n,points: e,clipPathId: t,@@ -79927,28 +79947,28 @@ function LQe(e) {isEntrance: a,visibleLength: s});- }), /*#__PURE__*/ b.createElement(O2, { label: n.label }));+ }), /*#__PURE__*/ b.createElement(D2, { label: n.label }));}-function RQe(e) {+function BQe(e) {var t = e.clipPathId, n = e.props, r = (0, b.useRef)(null), i = (0, b.useRef)(null);- return /*#__PURE__*/ b.createElement(LQe, {+ return /*#__PURE__*/ b.createElement(zQe, {props: n,clipPathId: t,previousPointsRef: r,pathRef: i});}-var zQe = (e, t) => ({+var VQe = (e, t) => ({x: e.x ?? void 0,y: e.y ?? void 0,value: e.value,- errorVal: nq(e.payload, t)-}), BQe = class extends b.Component {+ errorVal: tq(e.payload, t)+}), HQe = class extends b.Component {render() {var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.top, c = e.left, l = e.width, u = e.height, d = e.id, f = e.needClip, p = e.zIndex;if (t) return null;- var m = dv("recharts-line", i), h = d, g = xQe(n), _ = g.r, v = g.strokeWidth, y = Q2(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;- return /*#__PURE__*/ b.createElement(i2, { zIndex: p }, /*#__PURE__*/ b.createElement(uH, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(r3, {+ var m = dv("recharts-line", i), h = d, g = CQe(n), _ = g.r, v = g.strokeWidth, y = Z2(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;+ return /*#__PURE__*/ b.createElement(r2, { zIndex: p }, /*#__PURE__*/ b.createElement(lH, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(n3, {clipPathId: h,xAxisId: a,yAxisId: o@@ -79957,16 +79977,16 @@ var zQe = (e, t) => ({y: s - x / 2,width: l + x,height: u + x- }))), /*#__PURE__*/ b.createElement(fQe, {+ }))), /*#__PURE__*/ b.createElement(mQe, {xAxisId: a,yAxisId: o,data: r,- dataPointFormatter: zQe,+ dataPointFormatter: VQe,errorBarOffset: 0- }, /*#__PURE__*/ b.createElement(RQe, {+ }, /*#__PURE__*/ b.createElement(BQe, {props: this.props,clipPathId: h- }))), /*#__PURE__*/ b.createElement(x4, {+ }))), /*#__PURE__*/ b.createElement(b4, {activeDot: this.props.activeDot,points: r,mainColor: this.props.stroke,@@ -79975,11 +79995,11 @@ var zQe = (e, t) => ({}));}};-function VQe(e) {- var t = zU(e, s3), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = a3(t, wQe), _ = n3(p, m).needClip, v = y4(), y = Gq(), x = Eq(), S = J((e) => bQe(e, p, m, x, h));+function UQe(e) {+ var t = RU(e, o3), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = i3(t, EQe), _ = t3(p, m).needClip, v = v4(), y = Wq(), x = Tq(), S = J((e) => SQe(e, p, m, x, h));if (y !== "horizontal" && y !== "vertical" || S == null || v == null) return null;var C = v.height, w = v.width, T = v.x, E = v.y;- return /*#__PURE__*/ b.createElement(BQe, i3({}, g, {+ return /*#__PURE__*/ b.createElement(HQe, r3({}, g, {id: h,connectNulls: s,dot: c,@@ -80003,23 +80023,23 @@ function VQe(e) {needClip: _}));}-function HQe(e) {+function WQe(e) {var t = e.layout, n = e.xAxis, r = e.yAxis, i = e.xAxisTicks, a = e.yAxisTicks, o = e.dataKey, s = e.bandSize;return e.displayedData.map((e, c) => {- var l = nq(e, o);+ var l = tq(e, o);if (t === "horizontal") return {- x: cq({+ x: sq({axis: n,ticks: i,bandSize: s,entry: e,index: c}),- y: (kH(l) ? null : r.scale.map(l)) ?? null,+ y: (OH(l) ? null : r.scale.map(l)) ?? null,value: l,payload: e};- var u = kH(l) ? null : n.scale.map(l), d = cq({+ var u = OH(l) ? null : n.scale.map(l), d = sq({axis: r,ticks: a,bandSize: s,@@ -80034,12 +80054,12 @@ function HQe(e) {};}).filter(Boolean);}-function UQe(e) {- var t = zU(e, s3), n = Eq();- return /*#__PURE__*/ b.createElement(d4, {+function GQe(e) {+ var t = RU(e, o3), n = Tq();+ return /*#__PURE__*/ b.createElement(u4, {id: t.id,type: "line"- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(i4, { legendPayload: MQe(t) }), /*#__PURE__*/ b.createElement(NQe, {+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(r4, { legendPayload: PQe(t) }), /*#__PURE__*/ b.createElement(FQe, {dataKey: t.dataKey,data: t.data,stroke: t.stroke,@@ -80051,7 +80071,7 @@ function UQe(e) {formatter: t.formatter,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ b.createElement(p4, {+ }), /*#__PURE__*/ b.createElement(f4, {type: "line",id: e,data: t.data,@@ -80061,56 +80081,56 @@ function UQe(e) {dataKey: t.dataKey,hide: t.hide,isPanorama: n- }), /*#__PURE__*/ b.createElement(VQe, i3({}, t, { id: e }))));+ }), /*#__PURE__*/ b.createElement(UQe, r3({}, t, { id: e }))));}-var WQe = /*#__PURE__*/ b.memo(UQe, iJ);-WQe.displayName = "Line";+var KQe = /*#__PURE__*/ b.memo(GQe, rJ);+KQe.displayName = "Line";//#endregion//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js-function c3(e, t) {+function s3(e, t) {return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.xAxisId ?? 0;}-function l3(e, t) {+function c3(e, t) {return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.yAxisId ?? 0;}//#endregion//#region node_modules/recharts/es6/state/selectors/areaSelectors.js-var GQe = (e, t, n) => c0(e, "xAxis", c3(e, t), n), KQe = (e, t, n) => s0(e, "xAxis", c3(e, t), n), qQe = (e, t, n) => c0(e, "yAxis", l3(e, t), n), JQe = (e, t, n) => s0(e, "yAxis", l3(e, t), n), YQe = Y([- Wq,- GQe,+var qQe = (e, t, n) => s0(e, "xAxis", s3(e, t), n), JQe = (e, t, n) => o0(e, "xAxis", s3(e, t), n), YQe = (e, t, n) => s0(e, "yAxis", c3(e, t), n), XQe = (e, t, n) => o0(e, "yAxis", c3(e, t), n), ZQe = Y([+ Uq,qQe,- KQe,- JQe-], (e, t, n, r, i) => rq(e, "xAxis") ? pq(t, r, !1) : pq(n, i, !1)), u3 = Y([Q$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), XQe = (e) => rq(Wq(e), "xAxis") ? "yAxis" : "xAxis", ZQe = (e, t) => XQe(e) === "yAxis" ? l3(e, t) : c3(e, t), QQe = (e, t, n) => _1(e, XQe(e), ZQe(e, t), n), $Qe = Y([- Wq,- GQe,+ YQe,+ JQe,+ XQe+], (e, t, n, r, i) => nq(e, "xAxis") ? fq(t, r, !1) : fq(n, i, !1)), l3 = Y([Z$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), QQe = (e) => nq(Uq(e), "xAxis") ? "yAxis" : "xAxis", $Qe = (e, t) => QQe(e) === "yAxis" ? c3(e, t) : s3(e, t), e$e = (e, t, n) => g1(e, QQe(e), $Qe(e, t), n), t$e = Y([+ Uq,qQe,- KQe,+ YQe,JQe,- Y([u3, QQe], (e, t) => {+ XQe,+ Y([l3, e$e], (e, t) => {if (e != null && t != null) {- var n = e.stackId, r = mX(e);+ var n = e.stackId, r = pX(e);if (n != null && r != null) {var i = (t[n]?.stackedData)?.find((e) => e.key === r);if (i != null) return i.map((e) => [e[0], e[1]]);}}}),- xY,- YQe,- u3,- RLe,- Y([u3, QQe], (e, t) => {+ bY,+ ZQe,+ l3,+ BLe,+ Y([l3, e$e], (e, t) => {if (e != null && e.stackId != null && t != null) {var n = t[e.stackId];- if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(jH);+ if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(AH);}})], (e, t, n, r, i, a, o, s, c, l, u) => {var d = o.chartData, f = o.dataStartIndex, p = o.dataEndIndex;if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {var m = c.data, h = m && m.length > 0 ? m : d?.slice(f, p + 1);- if (h != null) return O$e({+ if (h != null) return A$e({layout: e,xAxis: t,yAxis: n,@@ -80125,7 +80145,7 @@ var GQe = (e, t, n) => c0(e, "xAxis", c3(e, t), n), KQe = (e, t, n) => s0(e, "xAstackDataKeys: u});}-}), e$e = [+}), n$e = ["animationElapsedTime","isAnimating","isEntrance",@@ -80133,26 +80153,26 @@ var GQe = (e, t, n) => c0(e, "xAxis", c3(e, t), n), KQe = (e, t, n) => s0(e, "xA"isRange","stroke","connectNulls"-], t$e = ["id", "baseLine"];-function d3() {- return d3 = Object.assign ? Object.assign.bind() : function(e) {+], r$e = ["id", "baseLine"];+function u3() {+ return u3 = 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;- }, d3.apply(null, arguments);+ }, u3.apply(null, arguments);}-function n$e(e, t) {+function i$e(e, t) {if (e == null) return {};- var n, r, i = r$e(e, t);+ var n, r, i = a$e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function r$e(e, t) {+function a$e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -80161,9 +80181,9 @@ function r$e(e, t) {}return n;}-function i$e(e) {+function o$e(e) {var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.x, o = r[r.length - 1]?.x;- if (!QK(a) || !QK(o)) return null;+ if (!ZK(a) || !ZK(o)) return null;var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));return q(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), q(c) ? /*#__PURE__*/ b.createElement("rect", {x: a < o ? a : a - s,@@ -80172,9 +80192,9 @@ function i$e(e) {height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))}) : null;}-function a$e(e) {+function s$e(e) {var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.y, o = r[r.length - 1]?.y;- if (!QK(a) || !QK(o)) return null;+ if (!ZK(a) || !ZK(o)) return null;var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));return q(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), q(c) ? /*#__PURE__*/ b.createElement("rect", {x: 0,@@ -80183,29 +80203,29 @@ function a$e(e) {height: Math.floor(s)}) : null;}-function o$e(e) {+function c$e(e) {var t = e.alpha, n = e.layout, r = e.points, i = e.baseLine, a = e.strokeWidth;- return n === "vertical" ? /*#__PURE__*/ b.createElement(a$e, {+ return n === "vertical" ? /*#__PURE__*/ b.createElement(s$e, {alpha: t,points: r,baseLine: i,strokeWidth: a- }) : /*#__PURE__*/ b.createElement(i$e, {+ }) : /*#__PURE__*/ b.createElement(o$e, {alpha: t,points: r,baseLine: i,strokeWidth: a});}-function s$e(e) {- var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = n$e(e, e$e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = Oqe(), h = d.id, g = d.baseLine, _ = iH(n$e(d, t$e)), v = /*#__PURE__*/ b.createElement(NJ, d3({}, d, {+function l$e(e) {+ var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = i$e(e, n$e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = Aqe(), h = d.id, g = d.baseLine, _ = rH(i$e(d, r$e)), v = /*#__PURE__*/ b.createElement(MJ, u3({}, d, {id: h,baseLine: g,connectNulls: p,stroke: "none",className: "recharts-area-area",layout: f- })), y = l !== "none" && /*#__PURE__*/ b.createElement(NJ, d3({}, _, {+ })), y = l !== "none" && /*#__PURE__*/ b.createElement(MJ, u3({}, _, {className: "recharts-area-curve",layout: f,type: d.type,@@ -80213,7 +80233,7 @@ function s$e(e) {fill: "none",stroke: l,points: d.points- })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(NJ, d3({}, _, {+ })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(MJ, u3({}, _, {className: "recharts-area-curve",layout: f,type: d.type,@@ -80222,17 +80242,17 @@ function s$e(e) {stroke: l,points: g}));- return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(uH, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(o$e, {+ return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(lH, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(c$e, {alpha: n,points: d.points ?? [],baseLine: g,layout: f,strokeWidth: d.strokeWidth- }))), /*#__PURE__*/ b.createElement(uH, { clipPath: `url(#${m})` }, v, y, x)) : /*#__PURE__*/ b.createElement(b.Fragment, null, v, y, x);+ }))), /*#__PURE__*/ b.createElement(lH, { clipPath: `url(#${m})` }, v, y, x)) : /*#__PURE__*/ b.createElement(b.Fragment, null, v, y, x);}//#endregion//#region node_modules/recharts/es6/cartesian/Area.js-var c$e = ["id"], l$e = [+var u$e = ["id"], d$e = ["activeDot","animationBegin","animationDuration",@@ -80248,25 +80268,25 @@ var c$e = ["id"], l$e = ["xAxisId","yAxisId"];-function f3() {- return f3 = Object.assign ? Object.assign.bind() : function(e) {+function d3() {+ return d3 = 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;- }, f3.apply(null, arguments);+ }, d3.apply(null, arguments);}-function u$e(e, t) {+function f$e(e, t) {if (e == null) return {};- var n, r, i = d$e(e, t);+ var n, r, i = p$e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function d$e(e, t) {+function p$e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -80275,7 +80295,7 @@ function d$e(e, t) {}return n;}-function f$e(e, t) {+function m$e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -80285,30 +80305,30 @@ function f$e(e, t) {}return n;}-function p3(e) {+function f3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? f$e(Object(n), !0).forEach(function(t) {- p$e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f$e(Object(n)).forEach(function(t) {+ t % 2 ? m$e(Object(n), !0).forEach(function(t) {+ h$e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m$e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function p$e(e, t, n) {- return (t = m$e(t)) in e ? Object.defineProperty(e, t, {+function h$e(e, t, n) {+ return (t = g$e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function m$e(e) {- var t = h$e(e, "string");+function g$e(e) {+ var t = _$e(e, "string");return typeof t == "symbol" ? t : t + "";}-function h$e(e, t) {+function _$e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -80318,15 +80338,15 @@ function h$e(e, t) {}return (t === "string" ? String : Number)(e);}-var g$e = {+var v$e = {activeDot: !0,animationBegin: 0,animationDuration: 1500,animationEasing: "ease",- animationMatchBy: a4,- animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [p3(p3({}, e.next), {}, {- x: DH(e.prev.x, e.next.x, t),- y: DH(e.prev.y, e.next.y, t)+ animationMatchBy: i4,+ animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [f3(f3({}, e.next), {}, {+ x: EH(e.prev.x, e.next.x, t),+ y: EH(e.prev.y, e.next.y, t)})] : e.status === "added" ? [e.next] : []),connectNulls: !1,dot: !1,@@ -80339,48 +80359,48 @@ var g$e = {strokeWidth: 1,type: "linear",label: !1,- shape: s$e,+ shape: l$e,xAxisId: 0,yAxisId: 0,- zIndex: JY.area+ zIndex: qY.area};-function m3(e, t) {+function p3(e, t) {return e && e !== "none" ? e : t;}-var _$e = (e) => {+var y$e = (e) => {var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;return [{inactive: e.hide,dataKey: t,type: a,- color: m3(r, i),- value: hq(n, t),+ color: p3(r, i),+ value: mq(n, t),payload: e}];-}, v$e = /*#__PURE__*/ b.memo((e) => {+}, b$e = /*#__PURE__*/ b.memo((e) => {var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {dataDefinedOnItem: n,- getPosition: MH,+ getPosition: jH,settings: {stroke: r,strokeWidth: i,fill: a,dataKey: t,nameKey: void 0,- name: hq(o, t),+ name: mq(o, t),hide: s,type: u,- color: m3(r, a),+ color: p3(r, a),unit: c,formatter: l,graphicalItemId: d}};- return /*#__PURE__*/ b.createElement(r4, { tooltipEntrySettings: f });+ return /*#__PURE__*/ b.createElement(n4, { tooltipEntrySettings: f });});-function y$e(e) {- var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = iH(r);- return /*#__PURE__*/ b.createElement(g4, {+function x$e(e) {+ var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = rH(r);+ return /*#__PURE__*/ b.createElement(h4, {points: n,dot: a,className: "recharts-area-dots",@@ -80391,7 +80411,7 @@ function y$e(e) {clipPathId: t});}-function b$e(e) {+function S$e(e) {var t = e.showLabels, n = e.children, r = e.points.map((e) => {var t = {x: e.x ?? 0,@@ -80401,7 +80421,7 @@ function b$e(e) {upperWidth: 0,height: 0};- return p3(p3({}, t), {}, {+ return f3(f3({}, t), {}, {value: e.value,payload: e.payload,parentViewBox: void 0,@@ -80409,10 +80429,10 @@ function b$e(e) {fill: void 0});});- return /*#__PURE__*/ b.createElement(E2, { value: t ? r : void 0 }, n);+ return /*#__PURE__*/ b.createElement(T2, { value: t ? r : void 0 }, n);}-function x$e(e) {- var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = u$e(a, c$e), _ = p3(p3({}, oH(g)), {}, {+function C$e(e) {+ var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = f$e(a, u$e), _ = f3(f3({}, aH(g)), {}, {id: h,points: t,connectNulls: f,@@ -80425,27 +80445,27 @@ function x$e(e) {isAnimating: s,isEntrance: c});- return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(uH, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement($2, {+ return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(lH, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement(Q2, {option: m,- DefaultShape: g$e.shape,+ DefaultShape: v$e.shape,shapeProps: _- })), /*#__PURE__*/ b.createElement(y$e, {+ })), /*#__PURE__*/ b.createElement(x$e, {points: t,props: g,clipPathId: i}));}-function S$e(e, t, n) {- return q(e) ? DH(q(t) ? t : void 0, e, n) : kH(e) || xH(e) ? DH(q(t) ? t : void 0, 0, n) : e;+function w$e(e, t, n) {+ return q(e) ? EH(q(t) ? t : void 0, e, n) : OH(e) || bH(e) ? EH(q(t) ? t : void 0, 0, n) : e;}-function C$e(e) {+function T$e(e) {var t = e.needClip, n = e.clipPathId, r = e.props, i = e.previousPointsRef, a = e.previousBaselineRef, o = r.points, s = r.baseLine, c = r.isAnimationActive, l = r.animationBegin, u = r.animationDuration, d = r.animationEasing, f = r.animationMatchBy, p = r.animationInterpolateFn, m = (0, b.useMemo)(() => ({points: o,baseLine: s- }), [o, s]), h = c4(m, a), g = Kq(), _ = l4(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = h.startValue;+ }), [o, s]), h = s4(m, a), g = Gq(), _ = c4(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = h.startValue;if (g == null) return null;- var C = Array.isArray(s) && Array.isArray(S) ? s4(S, s, f) : Array.isArray(s) ? s4(null, s, f) : null;- return /*#__PURE__*/ b.createElement(u4, {+ var C = Array.isArray(s) && Array.isArray(S) ? o4(S, s, f) : Array.isArray(s) ? o4(null, s, f) : null;+ return /*#__PURE__*/ b.createElement(l4, {animationInput: m,animationIdPrefix: "recharts-area-",items: o,@@ -80460,11 +80480,11 @@ function C$e(e) {animationMatchBy: f,layout: g}, (e, i, a) => {- var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : S$e(s, S, i);- return h.syncStepValue(c, i), /*#__PURE__*/ b.createElement(b$e, {+ var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : w$e(s, S, i);+ return h.syncStepValue(c, i), /*#__PURE__*/ b.createElement(S$e, {showLabels: !v,points: o- }, r.children, /*#__PURE__*/ b.createElement(x$e, {+ }, r.children, /*#__PURE__*/ b.createElement(C$e, {points: e,baseLine: c,needClip: t,@@ -80473,12 +80493,12 @@ function C$e(e) {animationElapsedTime: i,isAnimating: v || i < 1,isEntrance: a- }), /*#__PURE__*/ b.createElement(O2, { label: r.label }));+ }), /*#__PURE__*/ b.createElement(D2, { label: r.label }));});}-function w$e(e) {+function E$e(e) {var t = e.needClip, n = e.clipPathId, r = e.props, i = (0, b.useRef)(null), a = (0, b.useRef)();- return /*#__PURE__*/ b.createElement(C$e, {+ return /*#__PURE__*/ b.createElement(T$e, {needClip: t,clipPathId: n,props: r,@@ -80486,12 +80506,12 @@ function w$e(e) {previousBaselineRef: a});}-var T$e = class extends b.PureComponent {+var D$e = class extends b.PureComponent {render() {var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.top, o = e.left, s = e.needClip, c = e.xAxisId, l = e.yAxisId, u = e.width, d = e.height, f = e.id, p = e.baseLine, m = e.zIndex;if (t) return null;- var h = dv("recharts-area", i), g = f, _ = xQe(n), v = _.r, y = _.strokeWidth, x = Q2(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;- return /*#__PURE__*/ b.createElement(i2, { zIndex: m }, /*#__PURE__*/ b.createElement(uH, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(r3, {+ var h = dv("recharts-area", i), g = f, _ = CQe(n), v = _.r, y = _.strokeWidth, x = Z2(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;+ return /*#__PURE__*/ b.createElement(r2, { zIndex: m }, /*#__PURE__*/ b.createElement(lH, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(n3, {clipPathId: g,xAxisId: c,yAxisId: l@@ -80500,30 +80520,30 @@ var T$e = class extends b.PureComponent {y: a - S / 2,width: u + S,height: d + S- }))), /*#__PURE__*/ b.createElement(w$e, {+ }))), /*#__PURE__*/ b.createElement(E$e, {needClip: s,clipPathId: g,props: this.props- })), /*#__PURE__*/ b.createElement(x4, {+ })), /*#__PURE__*/ b.createElement(b4, {points: r,- mainColor: m3(this.props.stroke, this.props.fill),+ mainColor: p3(this.props.stroke, this.props.fill),itemDataKey: this.props.dataKey,activeDot: this.props.activeDot,clipPath: C- }), this.props.isRange && Array.isArray(p) && /*#__PURE__*/ b.createElement(x4, {+ }), this.props.isRange && Array.isArray(p) && /*#__PURE__*/ b.createElement(b4, {points: p,- mainColor: m3(this.props.stroke, this.props.fill),+ mainColor: p3(this.props.stroke, this.props.fill),itemDataKey: this.props.dataKey,activeDot: this.props.activeDot,clipPath: C}));}};-function E$e(e) {- var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = u$e(e, l$e), g = Gq(), _ = mHe(), v = n3(p, m).needClip, y = Eq(), x = J((t) => $Qe(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = y4();+function O$e(e) {+ var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = f$e(e, d$e), g = Wq(), _ = gHe(), v = t3(p, m).needClip, y = Tq(), x = J((t) => t$e(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = v4();if (g !== "horizontal" && g !== "vertical" || T == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;var E = T.height, D = T.width, O = T.x, k = T.y;- return !S || !S.length ? null : /*#__PURE__*/ b.createElement(T$e, f3({}, h, {+ return !S || !S.length ? null : /*#__PURE__*/ b.createElement(D$e, d3({}, h, {activeDot: t,animationBegin: n,animationDuration: r,@@ -80549,7 +80569,7 @@ function E$e(e) {yAxisId: m}));}-var D$e = (e, t, n, r, i) => {+var k$e = (e, t, n, r, i) => {var a = n ?? t;if (q(a)) return a;var o = e === "horizontal" ? i : r, s = o.scale.domain();@@ -80559,17 +80579,17 @@ var D$e = (e, t, n, r, i) => {}return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];};-function O$e(e) {- var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = D$e(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {+function A$e(e) {+ var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = k$e(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {var r;if (g) r = a[d + t];else {- var o = nq(e, i);+ var o = tq(e, i);Array.isArray(o) ? (r = o, y = !0) : r = [_, o];}- var s = r?.[1] ?? null, u = nq(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => nq(e, t) == null), x = s == null || g && !n && u == null || b;+ var s = r?.[1] ?? null, u = tq(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => tq(e, t) == null), x = s == null || g && !n && u == null || b;return v ? {- x: cq({+ x: sq({axis: c,ticks: f,bandSize: m,@@ -80581,7 +80601,7 @@ function O$e(e) {payload: e} : {x: x ? null : c.scale.map(s) ?? null,- y: cq({+ y: sq({axis: l,ticks: p,bandSize: m,@@ -80609,12 +80629,12 @@ function O$e(e) {isRange: y};}-function k$e(e) {- var t = zU(e, g$e), n = Eq();- return /*#__PURE__*/ b.createElement(d4, {+function j$e(e) {+ var t = RU(e, v$e), n = Tq();+ return /*#__PURE__*/ b.createElement(u4, {id: t.id,type: "area"- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(i4, { legendPayload: _$e(t) }), /*#__PURE__*/ b.createElement(v$e, {+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(r4, { legendPayload: y$e(t) }), /*#__PURE__*/ b.createElement(b$e, {dataKey: t.dataKey,data: t.data,stroke: t.stroke,@@ -80626,7 +80646,7 @@ function k$e(e) {formatter: t.formatter,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ b.createElement(p4, {+ }), /*#__PURE__*/ b.createElement(f4, {type: "area",id: e,data: t.data,@@ -80634,35 +80654,35 @@ function k$e(e) {xAxisId: t.xAxisId,yAxisId: t.yAxisId,zAxisId: 0,- stackId: sq(t.stackId),+ stackId: oq(t.stackId),hide: t.hide,barSize: void 0,baseValue: t.baseValue,isPanorama: n,connectNulls: t.connectNulls- }), /*#__PURE__*/ b.createElement(E$e, f3({}, t, { id: e }))));+ }), /*#__PURE__*/ b.createElement(O$e, d3({}, t, { id: e }))));}-var A$e = /*#__PURE__*/ b.memo(k$e, iJ);-A$e.displayName = "Area";+var M$e = /*#__PURE__*/ b.memo(j$e, rJ);+M$e.displayName = "Area";//#endregion//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js-var j$e = "Invariant failed";-function M$e(e, t) {- if (!e) throw Error(j$e);+var N$e = "Invariant failed";+function P$e(e, t) {+ if (!e) throw Error(N$e);}//#endregion//#region node_modules/recharts/es6/util/BarUtils.js-var N$e = ["option"];-function P$e(e, t) {+var F$e = ["option"];+function I$e(e, t) {if (e == null) return {};- var n, r, i = F$e(e, t);+ var n, r, i = L$e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function F$e(e, t) {+function L$e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -80671,92 +80691,92 @@ function F$e(e, t) {}return n;}-var h3 = iY;-function g3(e) {- var t = e.option, n = P$e(e, N$e);- return /*#__PURE__*/ b.createElement($2, {+var m3 = rY;+function h3(e) {+ var t = e.option, n = I$e(e, F$e);+ return /*#__PURE__*/ b.createElement(Q2, {option: t,- DefaultShape: h3,+ DefaultShape: m3,shapeProps: n,activeClassName: "recharts-active-bar",inActiveClassName: "recharts-inactive-bar"});}-var I$e = function(e) {+var R$e = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;return (n, r) => {if (q(e)) return e;- var i = q(n) || kH(n);- return i ? e(n, r) : (!i && M$e(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);+ var i = q(n) || OH(n);+ return i ? e(n, r) : (!i && P$e(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);};-}, L$e = (e, t, n) => n, _3 = Y([Q$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), R$e = Y([_3], (e) => e?.maxBarSize), z$e = (e, t, n, r) => r, B$e = Y([- Wq,- Q$,+}, z$e = (e, t, n) => n, g3 = Y([Z$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), B$e = Y([g3], (e) => e?.maxBarSize), V$e = (e, t, n, r) => r, H$e = Y([+ Uq,+ Z$,+ s3,c3,- l3,- L$e-], (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")), V$e = (e, t, n) => {- var r = Wq(e), i = c3(e, t), a = l3(e, t);- if (i != null && a != null) return r === "horizontal" ? _1(e, "yAxis", a, n) : _1(e, "xAxis", i, n);-}, H$e = Y([- B$e,- VY,+ z$e+], (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")), U$e = (e, t, n) => {+ var r = Uq(e), i = s3(e, t), a = c3(e, t);+ if (i != null && a != null) return r === "horizontal" ? g1(e, "yAxis", a, n) : g1(e, "xAxis", i, n);+}, W$e = Y([+ H$e,+ BY,(e, t) => {- var n = Wq(e), r = c3(e, t), i = l3(e, t);- if (r != null && i != null) return n === "horizontal" ? e0(e, "xAxis", r) : e0(e, "yAxis", i);+ var n = Uq(e), r = s3(e, t), i = c3(e, t);+ if (r != null && i != null) return n === "horizontal" ? $1(e, "xAxis", r) : $1(e, "yAxis", i);}-], dYe), U$e = (e, t, n) => {- var r = _3(e, t);+], pYe), G$e = (e, t, n) => {+ var r = g3(e, t);if (r == null) return 0;- var i = c3(e, t), a = l3(e, t);+ var i = s3(e, t), a = c3(e, t);if (i == null || a == null) return 0;- var o = Wq(e), s = RY(e), c = r.maxBarSize, l = kH(c) ? s : c, u, d;- return o === "horizontal" ? (u = c0(e, "xAxis", i, n), d = s0(e, "xAxis", i, n)) : (u = c0(e, "yAxis", a, n), d = s0(e, "yAxis", a, n)), pq(u, d, !0) ?? l ?? 0;-}, W$e = (e, t, n) => {- var r = Wq(e), i = c3(e, t), a = l3(e, t);+ var o = Uq(e), s = LY(e), c = r.maxBarSize, l = OH(c) ? s : c, u, d;+ return o === "horizontal" ? (u = s0(e, "xAxis", i, n), d = o0(e, "xAxis", i, n)) : (u = s0(e, "yAxis", a, n), d = o0(e, "yAxis", a, n)), fq(u, d, !0) ?? l ?? 0;+}, K$e = (e, t, n) => {+ var r = Uq(e), i = s3(e, t), a = c3(e, t);if (i != null && a != null) {var o, s;- return r === "horizontal" ? (o = c0(e, "xAxis", i, n), s = s0(e, "xAxis", i, n)) : (o = c0(e, "yAxis", a, n), s = s0(e, "yAxis", a, n)), pq(o, s);+ return r === "horizontal" ? (o = s0(e, "xAxis", i, n), s = o0(e, "xAxis", i, n)) : (o = s0(e, "yAxis", a, n), s = o0(e, "yAxis", a, n)), fq(o, s);}-}, G$e = Y([- Cq,- Tq,+}, q$e = Y([+ Sq,+ wq,(e, t, n) => {- var r = c3(e, t);- if (r != null) return c0(e, "xAxis", r, n);+ var r = s3(e, t);+ if (r != null) return s0(e, "xAxis", r, n);},(e, t, n) => {- var r = l3(e, t);- if (r != null) return c0(e, "yAxis", r, n);+ var r = c3(e, t);+ if (r != null) return s0(e, "yAxis", r, n);},(e, t, n) => {- var r = c3(e, t);- if (r != null) return s0(e, "xAxis", r, n);+ var r = s3(e, t);+ if (r != null) return o0(e, "xAxis", r, n);},(e, t, n) => {- var r = l3(e, t);- if (r != null) return s0(e, "yAxis", r, n);+ var r = c3(e, t);+ if (r != null) return o0(e, "yAxis", r, n);},Y([Y([- H$e,+ W$e,+ LY,RY,zY,- BY,- U$e,- W$e,- R$e- ], _Ye), _3], yYe),- Wq,- xY,- W$e,- Y([V$e, _3], vYe),- _3,- z$e+ G$e,+ K$e,+ B$e+ ], yYe), g3], xYe),+ Uq,+ bY,+ K$e,+ Y([U$e, g3], bYe),+ g3,+ V$e], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {var p = c.chartData, m = c.dataStartIndex, h = c.dataEndIndex;if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {var g = d.data, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);- if (_ != null) return A1e({+ if (_ != null) return M1e({layout: s,barSettings: d,pos: o,@@ -80773,26 +80793,26 @@ var I$e = function(e) {dataStartIndex: m});}-}), K$e = ["index"];-function v3() {- return v3 = Object.assign ? Object.assign.bind() : function(e) {+}), J$e = ["index"];+function _3() {+ return _3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, v3.apply(null, arguments);+ }, _3.apply(null, arguments);}-function q$e(e, t) {+function Y$e(e, t) {if (e == null) return {};- var n, r, i = J$e(e, t);+ var n, r, i = X$e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function J$e(e, t) {+function X$e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -80801,54 +80821,54 @@ function J$e(e, t) {}return n;}-var Y$e = /*#__PURE__*/ (0, b.createContext)(void 0), X$e = (e) => {- var t = (0, b.useContext)(Y$e);+var Z$e = /*#__PURE__*/ (0, b.createContext)(void 0), Q$e = (e) => {+ var t = (0, b.useContext)(Z$e);if (t != null) return t.stackId;- if (e != null) return sq(e);-}, Z$e = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, Q$e = (e) => {- var t = (0, b.useContext)(Y$e);+ if (e != null) return oq(e);+}, $$e = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, e1e = (e) => {+ var t = (0, b.useContext)(Z$e);if (t != null) {var n = t.stackId;- return `url(#${Z$e(n, e)})`;+ return `url(#${$$e(n, e)})`;}-}, $$e = (e) => {- var t = e.index, n = q$e(e, K$e), r = Q$e(t);- return /*#__PURE__*/ b.createElement(uH, v3({+}, t1e = (e) => {+ var t = e.index, n = Y$e(e, J$e), r = e1e(t);+ return /*#__PURE__*/ b.createElement(lH, _3({className: "recharts-bar-stack-layer",clipPath: r}, n));-}, e1e = [+}, n1e = ["onMouseEnter","onMouseLeave","onClick"-], t1e = [+], r1e = ["value","background","tooltipPosition"-], n1e = ["id"], r1e = [+], i1e = ["id"], a1e = ["onMouseEnter","onClick","onMouseLeave"];-function i1e(e, t) {- return l1e(e) || c1e(e, t) || o1e(e, t) || a1e();+function o1e(e, t) {+ return d1e(e) || u1e(e, t) || c1e(e, t) || s1e();}-function a1e() {+function s1e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function o1e(e, t) {+function c1e(e, t) {if (e) {- if (typeof e == "string") return s1e(e, t);+ if (typeof e == "string") return l1e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? s1e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? l1e(e, t) : void 0;}}-function s1e(e, t) {+function l1e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function c1e(e, t) {+function u1e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -80869,19 +80889,19 @@ function c1e(e, t) {return s;}}-function l1e(e) {+function d1e(e) {if (Array.isArray(e)) return e;}-function y3() {- return y3 = Object.assign ? Object.assign.bind() : function(e) {+function v3() {+ return v3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, y3.apply(null, arguments);+ }, v3.apply(null, arguments);}-function u1e(e, t) {+function f1e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -80891,30 +80911,30 @@ function u1e(e, t) {}return n;}-function b3(e) {+function y3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? u1e(Object(n), !0).forEach(function(t) {- d1e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u1e(Object(n)).forEach(function(t) {+ t % 2 ? f1e(Object(n), !0).forEach(function(t) {+ p1e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f1e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function d1e(e, t, n) {- return (t = f1e(t)) in e ? Object.defineProperty(e, t, {+function p1e(e, t, n) {+ return (t = m1e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function f1e(e) {- var t = p1e(e, "string");+function m1e(e) {+ var t = h1e(e, "string");return typeof t == "symbol" ? t : t + "";}-function p1e(e, t) {+function h1e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -80924,16 +80944,16 @@ function p1e(e, t) {}return (t === "string" ? String : Number)(e);}-function x3(e, t) {+function b3(e, t) {if (e == null) return {};- var n, r, i = m1e(e, t);+ var n, r, i = g1e(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 m1e(e, t) {+function g1e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -80942,27 +80962,27 @@ function m1e(e, t) {}return n;}-var h1e = (e) => {+var _1e = (e) => {var t = e.dataKey, n = e.name, r = e.fill, i = e.legendType;return [{inactive: e.hide,dataKey: t,type: i,color: r,- value: hq(n, t),+ value: mq(n, t),payload: e}];-}, g1e = /*#__PURE__*/ b.memo((e) => {+}, v1e = /*#__PURE__*/ b.memo((e) => {var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.unit, c = e.formatter, l = e.tooltipType, u = e.id, d = {dataDefinedOnItem: void 0,- getPosition: MH,+ getPosition: jH,settings: {stroke: n,strokeWidth: r,fill: i,dataKey: t,nameKey: void 0,- name: hq(a, t),+ name: mq(a, t),hide: o,type: l,color: i,@@ -80971,22 +80991,22 @@ var h1e = (e) => {graphicalItemId: u}};- return /*#__PURE__*/ b.createElement(r4, { tooltipEntrySettings: d });+ return /*#__PURE__*/ b.createElement(n4, { tooltipEntrySettings: d });});-function _1e(e) {- var t = J(Y0), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = x3(a, e1e), u = e4(o, r, a.id), d = t4(s), f = n4(c, r, a.id);+function y1e(e) {+ var t = J(J0), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = b3(a, n1e), u = $2(o, r, a.id), d = e4(s), f = t4(c, r, a.id);if (!i || n == null) return null;- var p = aH(i);- return /*#__PURE__*/ b.createElement(i2, { zIndex: IYe(i, JY.barBackground) }, n.map((e, n) => {+ var p = iH(i);+ return /*#__PURE__*/ b.createElement(r2, { zIndex: RYe(i, qY.barBackground) }, n.map((e, n) => {e.value;var a = e.background;e.tooltipPosition;- var o = x3(e, t1e);+ var o = b3(e, r1e);if (!a) return null;- var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = b3(b3(b3(b3(b3({+ var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = y3(y3(y3(y3(y3({option: i,isActive: String(e.originalDataIndex) === t- }, o), {}, { fill: "#eee" }, a), p), LU(l, e, n)), {}, {+ }, o), {}, { fill: "#eee" }, a), p), IU(l, e, n)), {}, {onMouseEnter: s,onMouseLeave: c,onClick: m,@@ -80994,10 +81014,10 @@ function _1e(e) {index: n,className: "recharts-bar-background-rectangle"});- return /*#__PURE__*/ b.createElement(g3, y3({ key: `background-bar-${n}` }, h));+ return /*#__PURE__*/ b.createElement(h3, v3({ key: `background-bar-${n}` }, h));}));}-function v1e(e) {+function b1e(e) {var t = e.showLabels, n = e.children, r = e.rects?.map((e) => {var t = {x: e.x,@@ -81007,7 +81027,7 @@ function v1e(e) {upperWidth: e.width,height: e.height};- return b3(b3({}, t), {}, {+ return y3(y3({}, t), {}, {value: e.value,payload: e.payload,parentViewBox: e.parentViewBox,@@ -81015,10 +81035,10 @@ function v1e(e) {fill: e.fill});});- return /*#__PURE__*/ b.createElement(E2, { value: t ? r : void 0 }, n);+ return /*#__PURE__*/ b.createElement(T2, { value: t ? r : void 0 }, n);}-function y1e(e) {- var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = J(Y0), c = J(qVe), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = i1e((0, b.useState)(!1), 2), f = d[0], p = d[1], m = i1e((0, b.useState)(!1), 2), h = m[0], g = m[1];+function x1e(e) {+ var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = J(J0), c = J(YVe), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = o1e((0, b.useState)(!1), 2), f = d[0], p = d[1], m = o1e((0, b.useState)(!1), 2), h = m[0], g = m[1];(0, b.useEffect)(() => {var e;return l ? (p(!0), e = requestAnimationFrame(() => {@@ -81029,7 +81049,7 @@ function y1e(e) {}, [l, u]);var _ = (0, b.useCallback)(() => {l || p(!1);- }, [l]), v = l && h, y = l || f, x = l ? n === !0 ? t : n : t, S = /*#__PURE__*/ b.createElement(g3, y3({}, r, { name: String(r.name) }, i, {+ }, [l]), v = l && h, y = l || f, x = l ? n === !0 ? t : n : t, S = /*#__PURE__*/ b.createElement(h3, v3({}, r, { name: String(r.name) }, i, {isActive: v,option: x,index: a,@@ -81039,11 +81059,11 @@ function y1e(e) {isEntrance: e.isEntrance,onTransitionEnd: _}));- return y ? /*#__PURE__*/ b.createElement(i2, { zIndex: JY.activeBar }, /*#__PURE__*/ b.createElement($$e, { index: i.originalDataIndex }, S)) : S;+ return y ? /*#__PURE__*/ b.createElement(r2, { zIndex: qY.activeBar }, /*#__PURE__*/ b.createElement(t1e, { index: i.originalDataIndex }, S)) : S;}-function b1e(e) {+function S1e(e) {var t = e.shape, n = e.baseProps, r = e.entry, i = e.index, a = e.dataKey;- return /*#__PURE__*/ b.createElement(g3, y3({}, n, { name: String(n.name) }, r, {+ return /*#__PURE__*/ b.createElement(h3, v3({}, n, { name: String(n.name) }, r, {isActive: !1,option: t,index: i,@@ -81053,17 +81073,17 @@ function b1e(e) {isEntrance: e.isEntrance}));}-function x1e(e) {- var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = iH(n) ?? {}, s = o.id, c = x3(o, n1e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = x3(n, r1e), g = e4(f, u, s), _ = t4(m), v = n4(p, u, s);- return t ? /*#__PURE__*/ b.createElement(b.Fragment, null, t.map((e, t) => /*#__PURE__*/ b.createElement($$e, y3({+function C1e(e) {+ var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = rH(n) ?? {}, s = o.id, c = b3(o, i1e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = b3(n, a1e), g = $2(f, u, s), _ = e4(m), v = t4(p, u, s);+ return t ? /*#__PURE__*/ b.createElement(b.Fragment, null, t.map((e, t) => /*#__PURE__*/ b.createElement(t1e, v3({index: e.originalDataIndex,key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,className: "recharts-bar-rectangle"- }, LU(h, e, t), {+ }, IU(h, e, t), {onMouseEnter: g(e, e.originalDataIndex),onMouseLeave: _(e, e.originalDataIndex),onClick: v(e, e.originalDataIndex)- }), d ? /*#__PURE__*/ b.createElement(y1e, {+ }), d ? /*#__PURE__*/ b.createElement(x1e, {shape: l,activeBar: d,baseProps: c,@@ -81073,7 +81093,7 @@ function x1e(e) {animationElapsedTime: r,isAnimating: i,isEntrance: a- }) : /*#__PURE__*/ b.createElement(b1e, {+ }) : /*#__PURE__*/ b.createElement(S1e, {shape: l,baseProps: c,entry: e,@@ -81084,32 +81104,32 @@ function x1e(e) {isEntrance: a})))) : null;}-var S1e = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {- if (e.status === "removed") return n === "horizontal" ? [b3(b3({}, e.prev), {}, {- height: DH(e.prev.height, 0, t),- y: DH(e.prev.y, e.prev.y + e.prev.height, t)- })] : [b3(b3({}, e.prev), {}, { width: DH(e.prev.width, 0, t) })];- if (e.status === "matched") return [b3(b3({}, e.next), {}, {- x: DH(e.prev.x, e.next.x, t),- y: DH(e.prev.y, e.next.y, t),- width: DH(e.prev.width, e.next.width, t),- height: DH(e.prev.height, e.next.height, t)+var w1e = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {+ if (e.status === "removed") return n === "horizontal" ? [y3(y3({}, e.prev), {}, {+ height: EH(e.prev.height, 0, t),+ y: EH(e.prev.y, e.prev.y + e.prev.height, t)+ })] : [y3(y3({}, e.prev), {}, { width: EH(e.prev.width, 0, t) })];+ if (e.status === "matched") return [y3(y3({}, e.next), {}, {+ x: EH(e.prev.x, e.next.x, t),+ y: EH(e.prev.y, e.next.y, t),+ width: EH(e.prev.width, e.next.width, t),+ height: EH(e.prev.height, e.next.height, t)})];var r = e.next;- return n === "horizontal" ? [b3(b3({}, r), {}, {- height: DH(0, r.height, t),- y: DH(r.stackedBarStart, r.y, t)- })] : [b3(b3({}, r), {}, {- width: DH(0, r.width, t),- x: DH(r.stackedBarStart, r.x, t)+ return n === "horizontal" ? [y3(y3({}, r), {}, {+ height: EH(0, r.height, t),+ y: EH(r.stackedBarStart, r.y, t)+ })] : [y3(y3({}, r), {}, {+ width: EH(0, r.width, t),+ x: EH(r.stackedBarStart, r.x, t)})];});-function C1e(e) {- var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = l4(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;- return /*#__PURE__*/ b.createElement(v1e, {+function T1e(e) {+ var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = c4(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;+ return /*#__PURE__*/ b.createElement(b1e, {showLabels: !d,rects: r- }, /*#__PURE__*/ b.createElement(u4, {+ }, /*#__PURE__*/ b.createElement(l4, {animationInput: r,animationIdPrefix: "recharts-bar-",items: r,@@ -81123,80 +81143,80 @@ function C1e(e) {animationInterpolateFn: c,animationMatchBy: t.animationMatchBy,layout: l- }, (e, n, r) => /*#__PURE__*/ b.createElement(uH, null, /*#__PURE__*/ b.createElement(x1e, {+ }, (e, n, r) => /*#__PURE__*/ b.createElement(lH, null, /*#__PURE__*/ b.createElement(C1e, {props: t,data: e,animationElapsedTime: n,isAnimating: d || n < 1,isEntrance: r- }))), /*#__PURE__*/ b.createElement(O2, { label: t.label }), t.children);+ }))), /*#__PURE__*/ b.createElement(D2, { label: t.label }), t.children);}-function w1e(e) {+function E1e(e) {var t = (0, b.useRef)(null);- return /*#__PURE__*/ b.createElement(C1e, {+ return /*#__PURE__*/ b.createElement(T1e, {previousRectanglesRef: t,props: e});}-var T1e = 0, E1e = (e, t) => {+var D1e = 0, O1e = (e, t) => {var n = Array.isArray(e.value) ? e.value[1] : e.value;return {x: e.x,y: e.y,value: n,- errorVal: nq(e, t)+ errorVal: tq(e, t)};-}, D1e = class extends b.PureComponent {+}, k1e = class extends b.PureComponent {render() {var e = this.props, t = e.hide, n = e.data, r = e.dataKey, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.needClip, c = e.background, l = e.id;if (t || n == null) return null;var u = dv("recharts-bar", i), d = l;- return /*#__PURE__*/ b.createElement(uH, {+ return /*#__PURE__*/ b.createElement(lH, {className: u,id: l- }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(r3, {+ }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(n3, {clipPathId: d,xAxisId: a,yAxisId: o- })), /*#__PURE__*/ b.createElement(uH, {+ })), /*#__PURE__*/ b.createElement(lH, {className: "recharts-bar-rectangles",clipPath: s ? `url(#clipPath-${d})` : void 0- }, /*#__PURE__*/ b.createElement(_1e, {+ }, /*#__PURE__*/ b.createElement(y1e, {data: n,dataKey: r,background: c,allOtherBarProps: this.props- }), /*#__PURE__*/ b.createElement(w1e, this.props)));+ }), /*#__PURE__*/ b.createElement(E1e, this.props)));}-}, O1e = {+}, A1e = {activeBar: !1,animationBegin: 0,animationDuration: 400,animationEasing: "ease",- animationInterpolateFn: S1e,- animationMatchBy: dqe,+ animationInterpolateFn: w1e,+ animationMatchBy: pqe,background: !1,hide: !1,isAnimationActive: "auto",label: !1,legendType: "rect",- minPointSize: T1e,- shape: h3,+ minPointSize: D1e,+ shape: m3,xAxisId: 0,yAxisId: 0,- zIndex: JY.bar+ zIndex: qY.bar};-function k1e(e) {- var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = n3(t, n).needClip, f = Gq(), p = Eq(), m = qKe(e.children, f2), h = J((t) => G$e(t, e.id, p, m));+function j1e(e) {+ var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = t3(t, n).needClip, f = Wq(), p = Tq(), m = YKe(e.children, d2), h = J((t) => q$e(t, e.id, p, m));if (f !== "vertical" && f !== "horizontal") return null;var g, _ = h?.[0];- return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ b.createElement(fQe, {+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ b.createElement(mQe, {xAxisId: t,yAxisId: n,data: h,- dataPointFormatter: E1e,+ dataPointFormatter: O1e,errorBarOffset: g- }, /*#__PURE__*/ b.createElement(D1e, y3({}, e, {+ }, /*#__PURE__*/ b.createElement(k1e, v3({}, e, {layout: f,needClip: d,data: h,@@ -81212,20 +81232,20 @@ function k1e(e) {isAnimationActive: u})));}-function A1e(e) {- var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = uq({ numericAxis: v }), x = v.scale.map(b);+function M1e(e) {+ var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = lq({ numericAxis: v }), x = v.scale.map(b);return p.map((e, n) => {var p, v, S, C, w, T;if (f) {var E = f[n + _];if (E == null) return null;- p = oq(E, y);- } else p = nq(e, r), Array.isArray(p) || (p = [b, p]);- var D = I$e(i, T1e)(p[1], n);+ p = aq(E, y);+ } else p = tq(e, r), Array.isArray(p) || (p = [b, p]);+ var D = R$e(i, D1e)(p[1], n);if (t === "horizontal") {var O = l.scale.map(p[0]), k = l.scale.map(p[1]);if (O == null || k == null) return null;- v = lq({+ v = cq({axis: c,ticks: u,bandSize: s,@@ -81234,19 +81254,19 @@ function A1e(e) {index: n}), S = k ?? O ?? void 0, C = o.size;var A = O - k;- if (w = xH(A) ? 0 : A, T = {+ if (w = bH(A) ? 0 : A, T = {x: v,y: m.top,width: C,height: m.height}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {- var j = bH(w || D) * (Math.abs(D) - Math.abs(w));+ var j = yH(w || D) * (Math.abs(D) - Math.abs(w));S -= j, w += j;}} else {var M = c.scale.map(p[0]), N = c.scale.map(p[1]);if (M == null || N == null) return null;- if (v = M, S = lq({+ if (v = M, S = cq({axis: l,ticks: d,bandSize: s,@@ -81259,11 +81279,11 @@ function A1e(e) {width: m.width,height: w}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {- var P = bH(C || D) * (Math.abs(D) - Math.abs(C));+ var P = yH(C || D) * (Math.abs(D) - Math.abs(C));C += P;}}- return v == null || S == null || C == null || w == null || !a && (C === 0 || w === 0) ? null : b3(b3({}, e), {}, {+ return v == null || S == null || C == null || w == null || !a && (C === 0 || w === 0) ? null : y3(y3({}, e), {}, {stackedBarStart: x,x: v,y: S,@@ -81281,12 +81301,12 @@ function A1e(e) {}, h && h[n] && h[n].props);}).filter(Boolean);}-function j1e(e) {- var t = zU(e, O1e), n = X$e(t.stackId), r = Eq();- return /*#__PURE__*/ b.createElement(d4, {+function N1e(e) {+ var t = RU(e, A1e), n = Q$e(t.stackId), r = Tq();+ return /*#__PURE__*/ b.createElement(u4, {id: t.id,type: "bar"- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(i4, { legendPayload: h1e(t) }), /*#__PURE__*/ b.createElement(g1e, {+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(r4, { legendPayload: _1e(t) }), /*#__PURE__*/ b.createElement(v1e, {dataKey: t.dataKey,stroke: t.stroke,strokeWidth: t.strokeWidth,@@ -81297,7 +81317,7 @@ function j1e(e) {formatter: t.formatter,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ b.createElement(p4, {+ }), /*#__PURE__*/ b.createElement(f4, {type: "bar",id: e,data: void 0,@@ -81311,24 +81331,24 @@ function j1e(e) {minPointSize: t.minPointSize,maxBarSize: t.maxBarSize,isPanorama: r,- hasCustomShape: t.shape != null && t.shape !== h3- }), /*#__PURE__*/ b.createElement(i2, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(k1e, y3({}, t, { id: e })))));+ hasCustomShape: t.shape != null && t.shape !== m3+ }), /*#__PURE__*/ b.createElement(r2, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(j1e, v3({}, t, { id: e })))));}-var S3 = /*#__PURE__*/ b.memo(j1e, iJ);-S3.displayName = "Bar";+var x3 = /*#__PURE__*/ b.memo(N1e, rJ);+x3.displayName = "Bar";//#endregion//#region node_modules/recharts/es6/util/axisPropsAreEqual.js-var M1e = ["domain", "range"], N1e = ["domain", "range"];-function P1e(e, t) {+var P1e = ["domain", "range"], F1e = ["domain", "range"];+function I1e(e, t) {if (e == null) return {};- var n, r, i = F1e(e, t);+ var n, r, i = L1e(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 F1e(e, t) {+function L1e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -81337,31 +81357,31 @@ function F1e(e, t) {}return n;}-function I1e(e, t) {+function R1e(e, t) {return e === t ? !0 : Array.isArray(e) && e.length === 2 && Array.isArray(t) && t.length === 2 ? e[0] === t[0] && e[1] === t[1] : !1;}-function L1e(e, t) {+function z1e(e, t) {if (e === t) return !0;- var n = e.domain, r = e.range, i = P1e(e, M1e), a = t.domain, o = t.range, s = P1e(t, N1e);- return !I1e(n, a) || !I1e(r, o) ? !1 : iJ(i, s);+ var n = e.domain, r = e.range, i = I1e(e, P1e), a = t.domain, o = t.range, s = I1e(t, F1e);+ return !R1e(n, a) || !R1e(r, o) ? !1 : rJ(i, s);}//#endregion//#region node_modules/recharts/es6/cartesian/XAxis.js-var R1e = ["type"], z1e = [+var B1e = ["type"], V1e = ["dangerouslySetInnerHTML","ticks","scale"-], B1e = ["id", "scale"];-function C3() {- return C3 = Object.assign ? Object.assign.bind() : function(e) {+], H1e = ["id", "scale"];+function S3() {+ return S3 = 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;- }, C3.apply(null, arguments);+ }, S3.apply(null, arguments);}-function V1e(e, t) {+function U1e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -81371,30 +81391,30 @@ function V1e(e, t) {}return n;}-function H1e(e) {+function W1e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? V1e(Object(n), !0).forEach(function(t) {- U1e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V1e(Object(n)).forEach(function(t) {+ t % 2 ? U1e(Object(n), !0).forEach(function(t) {+ G1e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U1e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function U1e(e, t, n) {- return (t = W1e(t)) in e ? Object.defineProperty(e, t, {+function G1e(e, t, n) {+ return (t = K1e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function W1e(e) {- var t = G1e(e, "string");+function K1e(e) {+ var t = q1e(e, "string");return typeof t == "symbol" ? t : t + "";}-function G1e(e, t) {+function q1e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -81404,16 +81424,16 @@ function G1e(e, t) {}return (t === "string" ? String : Number)(e);}-function w3(e, t) {+function C3(e, t) {if (e == null) return {};- var n, r, i = K1e(e, t);+ var n, r, i = J1e(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 K1e(e, t) {+function J1e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -81422,27 +81442,27 @@ function K1e(e, t) {}return n;}-function q1e(e) {- var t = MW(), n = (0, b.useRef)(null), r = Kq(), i = e.type, a = w3(e, R1e), o = QY(r, "xAxis", i), s = (0, b.useMemo)(() => {- if (o != null) return H1e(H1e({}, a), {}, { type: o });+function Y1e(e) {+ var t = jW(), n = (0, b.useRef)(null), r = Gq(), i = e.type, a = C3(e, B1e), o = ZY(r, "xAxis", i), s = (0, b.useMemo)(() => {+ if (o != null) return W1e(W1e({}, a), {}, { type: o });}, [a, o]);return (0, b.useLayoutEffect)(() => {- s != null && (n.current === null ? t(nJe(s)) : n.current !== s && t(rJe({+ s != null && (n.current === null ? t(iJe(s)) : n.current !== s && t(aJe({prev: n.current,next: s})), n.current = s);}, [s, t]), (0, b.useLayoutEffect)(() => () => {- n.current &&= (t(iJe(n.current)), null);+ n.current &&= (t(oJe(n.current)), null);}, [t]), null;}-var J1e = (e) => {- var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(Tq), c = Eq(), l = MW(), u = "xAxis", d = J((e) => a0(e, u, t, c)), f = J((e) => Q1(e, t)), p = J((e) => cVe(e, t)), m = J((e) => H$(e, t));+var X1e = (e) => {+ var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(wq), c = Tq(), l = jW(), u = "xAxis", d = J((e) => i0(e, u, t, c)), f = J((e) => Z1(e, t)), p = J((e) => uVe(e, t)), m = J((e) => V$(e, t));if ((0, b.useLayoutEffect)(() => {- if (!(r !== "auto" || !f || S2(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {+ if (!(r !== "auto" || !f || x2(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {var e = a.current;if (e) {var n = e.getCalculatedHeight();- Math.round(f.height) !== Math.round(n) && l(lJe({+ Math.round(f.height) !== Math.round(n) && l(dJe({id: t,height: n}));@@ -81458,10 +81478,10 @@ var J1e = (e) => {m]), f == null || p == null || m == null) return null;e.dangerouslySetInnerHTML, e.ticks, e.scale;- var h = w3(e, z1e);+ var h = C3(e, V1e);m.id, m.scale;- var g = w3(m, B1e);- return /*#__PURE__*/ b.createElement(X4, C3({}, h, g, {+ var g = C3(m, H1e);+ return /*#__PURE__*/ b.createElement(Y4, S3({}, h, g, {ref: a,labelRef: o,x: p.x,@@ -81474,33 +81494,33 @@ var J1e = (e) => {axisType: u,axisId: t}));-}, Y1e = {- allowDataOverflow: V$.allowDataOverflow,- allowDecimals: V$.allowDecimals,- allowDuplicatedCategory: V$.allowDuplicatedCategory,- angle: V$.angle,- axisLine: Y4.axisLine,- height: V$.height,+}, Z1e = {+ allowDataOverflow: B$.allowDataOverflow,+ allowDecimals: B$.allowDecimals,+ allowDuplicatedCategory: B$.allowDuplicatedCategory,+ angle: B$.angle,+ axisLine: J4.axisLine,+ height: B$.height,hide: !1,- includeHidden: V$.includeHidden,- interval: V$.interval,+ includeHidden: B$.includeHidden,+ interval: B$.interval,label: !1,- minTickGap: V$.minTickGap,- mirror: V$.mirror,- orientation: V$.orientation,- padding: V$.padding,- reversed: V$.reversed,- scale: V$.scale,- tick: V$.tick,- tickCount: V$.tickCount,- tickLine: Y4.tickLine,- tickSize: Y4.tickSize,- type: V$.type,- niceTicks: V$.niceTicks,+ minTickGap: B$.minTickGap,+ mirror: B$.mirror,+ orientation: B$.orientation,+ padding: B$.padding,+ reversed: B$.reversed,+ scale: B$.scale,+ tick: B$.tick,+ tickCount: B$.tickCount,+ tickLine: J4.tickLine,+ tickSize: J4.tickSize,+ type: B$.type,+ niceTicks: B$.niceTicks,xAxisId: 0-}, X1e = /*#__PURE__*/ b.memo((e) => {- var t = zU(e, Y1e);- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(q1e, {+}, Q1e = /*#__PURE__*/ b.memo((e) => {+ var t = RU(e, Z1e);+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Y1e, {allowDataOverflow: t.allowDataOverflow,allowDecimals: t.allowDecimals,allowDuplicatedCategory: t.allowDuplicatedCategory,@@ -81526,26 +81546,26 @@ var J1e = (e) => {type: t.type,unit: t.unit,niceTicks: t.niceTicks- }), /*#__PURE__*/ b.createElement(J1e, t));-}, L1e);-X1e.displayName = "XAxis";+ }), /*#__PURE__*/ b.createElement(X1e, t));+}, z1e);+Q1e.displayName = "XAxis";//#endregion//#region node_modules/recharts/es6/cartesian/YAxis.js-var Z1e = ["type"], Q1e = [+var $1e = ["type"], e0e = ["dangerouslySetInnerHTML","ticks","scale"-], $1e = ["id", "scale"];-function T3() {- return T3 = Object.assign ? Object.assign.bind() : function(e) {+], t0e = ["id", "scale"];+function w3() {+ return w3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, T3.apply(null, arguments);+ }, w3.apply(null, arguments);}-function e0e(e, t) {+function n0e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -81555,30 +81575,30 @@ function e0e(e, t) {}return n;}-function t0e(e) {+function r0e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? e0e(Object(n), !0).forEach(function(t) {- n0e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e0e(Object(n)).forEach(function(t) {+ t % 2 ? n0e(Object(n), !0).forEach(function(t) {+ i0e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n0e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function n0e(e, t, n) {- return (t = r0e(t)) in e ? Object.defineProperty(e, t, {+function i0e(e, t, n) {+ return (t = a0e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function r0e(e) {- var t = i0e(e, "string");+function a0e(e) {+ var t = o0e(e, "string");return typeof t == "symbol" ? t : t + "";}-function i0e(e, t) {+function o0e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -81588,16 +81608,16 @@ function i0e(e, t) {}return (t === "string" ? String : Number)(e);}-function E3(e, t) {+function T3(e, t) {if (e == null) return {};- var n, r, i = a0e(e, t);+ var n, r, i = s0e(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 a0e(e, t) {+function s0e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -81606,27 +81626,27 @@ function a0e(e, t) {}return n;}-function o0e(e) {- var t = MW(), n = (0, b.useRef)(null), r = Kq(), i = e.type, a = E3(e, Z1e), o = QY(r, "yAxis", i), s = (0, b.useMemo)(() => {- if (o != null) return t0e(t0e({}, a), {}, { type: o });+function c0e(e) {+ var t = jW(), n = (0, b.useRef)(null), r = Gq(), i = e.type, a = T3(e, $1e), o = ZY(r, "yAxis", i), s = (0, b.useMemo)(() => {+ if (o != null) return r0e(r0e({}, a), {}, { type: o });}, [o, a]);return (0, b.useLayoutEffect)(() => {- s != null && (n.current === null ? t(aJe(s)) : n.current !== s && t(oJe({+ s != null && (n.current === null ? t(sJe(s)) : n.current !== s && t(cJe({prev: n.current,next: s})), n.current = s);}, [s, t]), (0, b.useLayoutEffect)(() => () => {- n.current &&= (t(sJe(n.current)), null);+ n.current &&= (t(lJe(n.current)), null);}, [t]), null;}-function s0e(e) {- var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(Tq), c = Eq(), l = MW(), u = "yAxis", d = J((e) => $1(e, t)), f = J((e) => lVe(e, t)), p = J((e) => a0(e, u, t, c)), m = J((e) => G$(e, t));+function l0e(e) {+ var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(wq), c = Tq(), l = jW(), u = "yAxis", d = J((e) => Q1(e, t)), f = J((e) => dVe(e, t)), p = J((e) => i0(e, u, t, c)), m = J((e) => W$(e, t));if ((0, b.useLayoutEffect)(() => {- if (!(r !== "auto" || !d || S2(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {+ if (!(r !== "auto" || !d || x2(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {var e = a.current;if (e) {var n = e.getCalculatedWidth();- Math.round(d.width) !== Math.round(n) && l(cJe({+ Math.round(d.width) !== Math.round(n) && l(uJe({id: t,width: n}));@@ -81642,10 +81662,10 @@ function s0e(e) {m]), d == null || f == null || m == null) return null;e.dangerouslySetInnerHTML, e.ticks, e.scale;- var h = E3(e, Q1e);+ var h = T3(e, e0e);m.id, m.scale;- var g = E3(m, $1e);- return /*#__PURE__*/ b.createElement(X4, T3({}, h, g, {+ var g = T3(m, t0e);+ return /*#__PURE__*/ b.createElement(Y4, w3({}, h, g, {ref: a,labelRef: o,x: f.x,@@ -81660,33 +81680,33 @@ function s0e(e) {axisId: t}));}-var c0e = {- allowDataOverflow: W$.allowDataOverflow,- allowDecimals: W$.allowDecimals,- allowDuplicatedCategory: W$.allowDuplicatedCategory,- angle: W$.angle,- axisLine: Y4.axisLine,+var u0e = {+ allowDataOverflow: U$.allowDataOverflow,+ allowDecimals: U$.allowDecimals,+ allowDuplicatedCategory: U$.allowDuplicatedCategory,+ angle: U$.angle,+ axisLine: J4.axisLine,hide: !1,- includeHidden: W$.includeHidden,- interval: W$.interval,+ includeHidden: U$.includeHidden,+ interval: U$.interval,label: !1,- minTickGap: W$.minTickGap,- mirror: W$.mirror,- orientation: W$.orientation,- padding: W$.padding,- reversed: W$.reversed,- scale: W$.scale,- tick: W$.tick,- tickCount: W$.tickCount,- tickLine: Y4.tickLine,- tickSize: Y4.tickSize,- type: W$.type,- niceTicks: W$.niceTicks,- width: W$.width,+ minTickGap: U$.minTickGap,+ mirror: U$.mirror,+ orientation: U$.orientation,+ padding: U$.padding,+ reversed: U$.reversed,+ scale: U$.scale,+ tick: U$.tick,+ tickCount: U$.tickCount,+ tickLine: J4.tickLine,+ tickSize: J4.tickSize,+ type: U$.type,+ niceTicks: U$.niceTicks,+ width: U$.width,yAxisId: 0-}, l0e = /*#__PURE__*/ b.memo((e) => {- var t = zU(e, c0e);- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(o0e, {+}, d0e = /*#__PURE__*/ b.memo((e) => {+ var t = RU(e, u0e);+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(c0e, {interval: t.interval,id: t.yAxisId,scale: t.scale,@@ -81712,27 +81732,27 @@ var c0e = {tick: t.tick,tickFormatter: t.tickFormatter,niceTicks: t.niceTicks- }), /*#__PURE__*/ b.createElement(s0e, t));-}, L1e);-l0e.displayName = "YAxis";-var D3 = Y([+ }), /*#__PURE__*/ b.createElement(l0e, t));+}, z1e);+d0e.displayName = "YAxis";+var E3 = Y([(e, t) => t,- Wq,- dX,- yX,- U0,- G0,- gHe,- Cq-], THe);+ Uq,+ uX,+ vX,+ H0,+ W0,+ vHe,+ Sq+], DHe);//#endregion//#region node_modules/recharts/es6/util/getRelativeCoordinate.js-function u0e(e) {+function f0e(e) {return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";}-function O3(e) {+function D3(e) {var t = e.currentTarget.getBoundingClientRect(), n, r;- if (u0e(e)) {+ if (f0e(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 {@@ -81747,50 +81767,50 @@ function O3(e) {}//#endregion//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js-var d0e = pK("mouseClick"), f0e = qK();-f0e.startListening({- actionCreator: d0e,+var p0e = fK("mouseClick"), m0e = KK();+m0e.startListening({+ actionCreator: p0e,effect: (e, t) => {- var n = e.payload, r = D3(t.getState(), O3(n));- r?.activeIndex != null && t.dispatch(yVe({+ var n = e.payload, r = E3(t.getState(), D3(n));+ r?.activeIndex != null && t.dispatch(xVe({activeIndex: r.activeIndex,activeDataKey: void 0,activeCoordinate: r.activeCoordinate}));}});-var k3 = pK("mouseMove"), p0e = qK(), A3 = null, j3 = null, M3 = null;-p0e.startListening({- actionCreator: k3,+var O3 = fK("mouseMove"), h0e = KK(), k3 = null, A3 = null, j3 = null;+h0e.startListening({+ actionCreator: O3,effect: (e, t) => {var n = e.payload, r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a?.includes("mousemove");- A3 !== null && (cancelAnimationFrame(A3), A3 = null), j3 !== null && (typeof i != "number" || !o) && (clearTimeout(j3), j3 = null), M3 = O3(n);+ k3 !== null && (cancelAnimationFrame(k3), k3 = null), A3 !== null && (typeof i != "number" || !o) && (clearTimeout(A3), A3 = null), j3 = D3(n);var s = () => {- var e = t.getState(), n = f0(e, e.tooltip.settings.shared);- if (!M3) A3 = null, j3 = null;+ var e = t.getState(), n = d0(e, e.tooltip.settings.shared);+ if (!j3) k3 = null, A3 = null;else {if (n === "axis") {- var r = D3(e, M3);- r?.activeIndex == null ? t.dispatch(v0()) : t.dispatch(y0({+ var r = E3(e, j3);+ r?.activeIndex == null ? t.dispatch(_0()) : t.dispatch(v0({activeIndex: r.activeIndex,activeDataKey: void 0,activeCoordinate: r.activeCoordinate}));}- A3 = null, j3 = null;+ k3 = null, A3 = null;}};- o ? i === "raf" ? A3 = requestAnimationFrame(s) : typeof i == "number" && j3 === null && (j3 = setTimeout(s, i)) : s();+ o ? i === "raf" ? k3 = requestAnimationFrame(s) : typeof i == "number" && A3 === null && (A3 = setTimeout(s, i)) : s();}});//#endregion//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js-function m0e(e, t) {+function g0e(e, t) {return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;}//#endregion//#region node_modules/recharts/es6/state/rootPropsSlice.js-var h0e = {+var _0e = {accessibilityLayer: !0,barCategoryGap: "10%",barGap: 4,@@ -81802,43 +81822,43 @@ var h0e = {syncMethod: "index",baseValue: void 0,reverseStackOrder: !1-}, g0e = SK({+}, v0e = xK({name: "rootProps",- initialState: h0e,+ initialState: _0e,reducers: { updateOptions: (e, t) => {- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? h0e.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;+ e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? _0e.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;} }-}), _0e = g0e.reducer, v0e = g0e.actions.updateOptions, y0e = SK({+}), y0e = v0e.reducer, b0e = v0e.actions.updateOptions, x0e = xK({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) }-}), b0e = y0e.actions.updatePolarOptions, x0e = y0e.reducer, S0e = pK("keyDown"), C0e = pK("focus"), w0e = pK("blur"), N3 = qK(), P3 = null, F3 = null, I3 = null;-N3.startListening({- actionCreator: S0e,+}), S0e = x0e.actions.updatePolarOptions, C0e = x0e.reducer, w0e = fK("keyDown"), T0e = fK("focus"), E0e = fK("blur"), M3 = KK(), N3 = null, P3 = null, F3 = null;+M3.startListening({+ actionCreator: w0e,effect: (e, t) => {- I3 = e.payload, P3 !== null && (cancelAnimationFrame(P3), P3 = null);+ F3 = e.payload, N3 !== null && (cancelAnimationFrame(N3), N3 = null);var n = t.getState().eventSettings, r = n.throttleDelay, i = n.throttledEvents, a = i === "all" || i.includes("keydown");- F3 !== null && (typeof r != "number" || !a) && (clearTimeout(F3), F3 = null);+ P3 !== null && (typeof r != "number" || !a) && (clearTimeout(P3), P3 = null);var o = () => {try {var e = t.getState();if (e.rootProps.accessibilityLayer === !1) return;- var n = e.tooltip.keyboardInteraction, r = I3;+ var n = e.tooltip.keyboardInteraction, r = F3;if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;- var i = T0(n, L0(e), h1(e), V0(e)), a = i == null ? -1 : Number(i), o = !Number.isFinite(a) || a < 0, s = G0(e), c = L0(e), l = f0(e, e.tooltip.settings.shared);+ var i = w0(n, I0(e), m1(e), B0(e)), a = i == null ? -1 : Number(i), o = !Number.isFinite(a) || a < 0, s = W0(e), c = I0(e), l = d0(e, e.tooltip.settings.shared);if (r === "Enter") {if (o) return;- var u = t2(e, l, "hover", String(n.index));- t.dispatch(x0({+ var u = e2(e, l, "hover", String(n.index));+ t.dispatch(b0({active: !n.active,activeIndex: n.index,activeCoordinate: u}));return;}- var d = uVe(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;+ var d = fVe(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;if (o) {- var m = h1(e), h = V0(e), g = f * d, _ = (e) => ({+ var m = m1(e), h = B0(e), g = f * d, _ = (e) => ({active: !1,index: String(e),dataKey: void 0,@@ -81846,11 +81866,11 @@ N3.startListening({coordinate: void 0});if (p = -1, g > 0) {- for (var v = 0; v < c.length; v++) if (T0(_(v), c, m, h) != null) {+ for (var v = 0; v < c.length; v++) if (w0(_(v), c, m, h) != null) {p = v;break;}- } else for (var y = c.length - 1; y >= 0; y--) if (T0(_(y), c, m, h) != null) {+ } else for (var y = c.length - 1; y >= 0; y--) if (w0(_(y), c, m, h) != null) {p = y;break;}@@ -81860,29 +81880,29 @@ N3.startListening({var b = s?.length || c.length;if (b === 0 || p >= b || p < 0) return;}- var x = t2(e, l, "hover", String(p));- t.dispatch(x0({+ var x = e2(e, l, "hover", String(p));+ t.dispatch(b0({active: !0,activeIndex: p.toString(),activeCoordinate: x}));} finally {- P3 = null, F3 = null;+ N3 = null, P3 = null;}};- a ? r === "raf" ? P3 = requestAnimationFrame(o) : typeof r == "number" && F3 === null && (o(), I3 = null, F3 = setTimeout(() => {- I3 ? o() : (F3 = null, P3 = null);+ a ? r === "raf" ? N3 = requestAnimationFrame(o) : typeof r == "number" && P3 === null && (o(), F3 = null, P3 = setTimeout(() => {+ F3 ? o() : (P3 = null, N3 = null);}, r)) : o();}-}), N3.startListening({- actionCreator: C0e,+}), M3.startListening({+ actionCreator: T0e,effect: (e, t) => {var n = t.getState();if (n.rootProps.accessibilityLayer !== !1) {var r = n.tooltip.keyboardInteraction;if (!r.active && r.index == null) {- var i = "0", a = t2(n, f0(n, n.tooltip.settings.shared), "hover", String(i));- t.dispatch(x0({+ var i = "0", a = e2(n, d0(n, n.tooltip.settings.shared), "hover", String(i));+ t.dispatch(b0({active: !0,activeIndex: i,activeCoordinate: a@@ -81890,13 +81910,13 @@ N3.startListening({}}}-}), N3.startListening({- actionCreator: w0e,+}), M3.startListening({+ actionCreator: E0e,effect: (e, t) => {var n = t.getState();if (n.rootProps.accessibilityLayer !== !1) {var r = n.tooltip.keyboardInteraction;- r.active && t.dispatch(x0({+ r.active && t.dispatch(b0({active: !1,activeIndex: r.index,activeCoordinate: r.coordinate@@ -81906,7 +81926,7 @@ N3.startListening({});//#endregion//#region node_modules/recharts/es6/util/createEventProxy.js-function T0e(e) {+function D0e(e) {e.persist();var t = e.currentTarget;return new Proxy(e, { get: (e, n) => {@@ -81917,54 +81937,54 @@ function T0e(e) {}//#endregion//#region node_modules/recharts/es6/state/externalEventsMiddleware.js-var L3 = pK("externalEvent"), E0e = qK(), R3 = /* @__PURE__ */ new Map(), z3 = /* @__PURE__ */ new Map(), B3 = /* @__PURE__ */ new Map();-E0e.startListening({- actionCreator: L3,+var I3 = fK("externalEvent"), O0e = KK(), L3 = /* @__PURE__ */ new Map(), R3 = /* @__PURE__ */ new Map(), z3 = /* @__PURE__ */ new Map();+O0e.startListening({+ actionCreator: I3,effect: (e, t) => {var n = e.payload, r = n.handler, i = n.reactEvent;if (r != null) {- var a = i.type, o = T0e(i);- B3.set(a, {+ var a = i.type, o = D0e(i);+ z3.set(a, {handler: r,reactEvent: o});- var s = R3.get(a);- s !== void 0 && (cancelAnimationFrame(s), R3.delete(a));- var c = t.getState().eventSettings, l = c.throttleDelay, u = c.throttledEvents, d = u === "all" || u?.includes(a), f = z3.get(a);- f !== void 0 && (typeof l != "number" || !d) && (clearTimeout(f), z3.delete(a));+ var s = L3.get(a);+ s !== void 0 && (cancelAnimationFrame(s), L3.delete(a));+ var c = t.getState().eventSettings, l = c.throttleDelay, u = c.throttledEvents, d = u === "all" || u?.includes(a), f = R3.get(a);+ f !== void 0 && (typeof l != "number" || !d) && (clearTimeout(f), R3.delete(a));var p = () => {- var e = B3.get(a);+ var e = z3.get(a);try {if (!e) return;var n = e.handler, r = e.reactEvent, i = t.getState(), o = {- activeCoordinate: XVe(i),- activeDataKey: qVe(i),- activeIndex: Y0(i),- activeLabel: KVe(i),- activeTooltipIndex: Y0(i),- isTooltipActive: ZVe(i)+ activeCoordinate: QVe(i),+ activeDataKey: YVe(i),+ activeIndex: J0(i),+ activeLabel: JVe(i),+ activeTooltipIndex: J0(i),+ isTooltipActive: $Ve(i)};n && n(o, r);} finally {- R3.delete(a), z3.delete(a), B3.delete(a);+ L3.delete(a), R3.delete(a), z3.delete(a);}};if (!d) p();else if (l === "raf") {var m = requestAnimationFrame(p);- R3.set(a, m);+ L3.set(a, m);} else if (typeof l == "number") {- if (!z3.has(a)) {+ if (!R3.has(a)) {p();var h = setTimeout(p, l);- z3.set(a, h);+ R3.set(a, h);}} else p();}}});-var D0e = Y([- Y([k0], (e) => e.tooltipItemPayloads),+var k0e = Y([+ Y([O0], (e) => e.tooltipItemPayloads),(e, t) => t,(e, t, n) => n], (e, t, n) => {@@ -81975,61 +81995,61 @@ var D0e = Y([if (i != null) return i(t);}}-}), O0e = pK("touchMove"), k0e = qK(), V3 = null, H3 = null, A0e = null, U3 = null;-k0e.startListening({- actionCreator: O0e,+}), A0e = fK("touchMove"), j0e = KK(), B3 = null, V3 = null, M0e = null, H3 = null;+j0e.startListening({+ actionCreator: A0e,effect: (e, t) => {var n = e.payload;if (n.touches != null && n.touches.length !== 0) {- U3 = T0e(n);+ H3 = D0e(n);var r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a.includes("touchmove");- V3 !== null && (cancelAnimationFrame(V3), V3 = null), H3 !== null && (typeof i != "number" || !o) && (clearTimeout(H3), H3 = null), A0e = Array.from(n.touches).map((e) => O3({+ B3 !== null && (cancelAnimationFrame(B3), B3 = null), V3 !== null && (typeof i != "number" || !o) && (clearTimeout(V3), V3 = null), M0e = Array.from(n.touches).map((e) => D3({clientX: e.clientX,clientY: e.clientY,currentTarget: n.currentTarget}));var s = () => {- if (U3 != null) {- var e = t.getState(), n = f0(e, e.tooltip.settings.shared);+ if (H3 != null) {+ var e = t.getState(), n = d0(e, e.tooltip.settings.shared);if (n === "axis") {- var r = A0e?.[0];+ var r = M0e?.[0];if (r == null) {- V3 = null, H3 = null;+ B3 = null, V3 = null;return;}- var i = D3(e, r);- i?.activeIndex != null && t.dispatch(y0({+ var i = E3(e, r);+ i?.activeIndex != null && t.dispatch(v0({activeIndex: i.activeIndex,activeDataKey: void 0,activeCoordinate: i.activeCoordinate}));} else if (n === "item") {- var a = U3.touches[0];+ var a = H3.touches[0];if (document.elementFromPoint == null || a == null) return;var o = document.elementFromPoint(a.clientX, a.clientY);if (!o || !o.getAttribute) return;- var s = o.getAttribute($Ne), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = F0(e).find((e) => e.id === c);+ var s = o.getAttribute(tPe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = P0(e).find((e) => e.id === c);if (s == null || l == null || c == null) return;- var u = l.dataKey, d = D0e(e, s, c);- t.dispatch(_0({+ var u = l.dataKey, d = k0e(e, s, c);+ t.dispatch(g0({activeDataKey: u,activeIndex: s,activeCoordinate: d,activeGraphicalItemId: c}));}- V3 = null, H3 = null;+ B3 = null, V3 = null;}};- o ? i === "raf" ? V3 = requestAnimationFrame(s) : typeof i == "number" && H3 === null && (s(), U3 = null, H3 = setTimeout(() => {- U3 ? s() : (H3 = null, V3 = null);+ o ? i === "raf" ? B3 = requestAnimationFrame(s) : typeof i == "number" && V3 === null && (s(), H3 = null, V3 = setTimeout(() => {+ H3 ? s() : (V3 = null, B3 = null);}, i)) : s();}}});//#endregion//#region node_modules/recharts/es6/state/eventSettingsSlice.js-var W3 = {+var U3 = {throttleDelay: "raf",throttledEvents: ["mousemove",@@ -82038,33 +82058,33 @@ var W3 = {"scroll","wheel"]-}, j0e = SK({+}, N0e = xK({name: "eventSettings",- initialState: W3,+ initialState: U3,reducers: { setEventSettings: (e, t) => {- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = dK(t.payload.throttledEvents));+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = uK(t.payload.throttledEvents));} }-}), M0e = j0e.actions.setEventSettings, N0e = j0e.reducer, P0e = eG({- brush: aXe,- cartesianAxis: uJe,- chartData: aUe,- errorBars: sQe,- eventSettings: N0e,- graphicalItems: Rqe,- layout: BNe,- legend: FPe,- options: $He,- polarAxis: iKe,- polarOptions: x0e,- referenceElements: pXe,- renderedTicks: oZe,- rootProps: _0e,- tooltip: bVe,- zIndex: BHe-}), F0e = function(e) {+}), P0e = N0e.actions.setEventSettings, F0e = N0e.reducer, I0e = $W({+ brush: sXe,+ cartesianAxis: fJe,+ chartData: sUe,+ errorBars: lQe,+ eventSettings: F0e,+ graphicalItems: Bqe,+ layout: HNe,+ legend: LPe,+ options: tUe,+ polarAxis: oKe,+ polarOptions: C0e,+ referenceElements: hXe,+ renderedTicks: cZe,+ rootProps: y0e,+ tooltip: SVe,+ zIndex: HHe+}), L0e = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";- return fNe({- reducer: P0e,+ return mNe({+ reducer: I0e,preloadedState: e,middleware: (e) => e({serializableCheck: !1,@@ -82074,40 +82094,40 @@ var W3 = {"production"].includes("es6")}).concat([- f0e.middleware,- p0e.middleware,- N3.middleware,- E0e.middleware,- k0e.middleware+ m0e.middleware,+ h0e.middleware,+ M3.middleware,+ O0e.middleware,+ j0e.middleware]),enhancers: (e) => {var t = e;- return typeof e == "function" && (t = e()), t.concat(bK({ type: "raf" }));+ return typeof e == "function" && (t = e()), t.concat(yK({ type: "raf" }));},- devTools: _J.devToolsEnabled && {- serialize: { replacer: m0e },+ devTools: gJ.devToolsEnabled && {+ serialize: { replacer: g0e },name: `recharts-${t}`}});};//#endregion//#region node_modules/recharts/es6/state/RechartsStoreProvider.js-function I0e(e) {- var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = Eq(), a = (0, b.useRef)(null);+function R0e(e) {+ var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = Tq(), a = (0, b.useRef)(null);if (i) return n;- a.current ??= F0e(t, r);- var o = jW;- return /*#__PURE__*/ b.createElement(YPe, {+ a.current ??= L0e(t, r);+ var o = AW;+ return /*#__PURE__*/ b.createElement(ZPe, {context: o,store: a.current}, n);}//#endregion//#region node_modules/recharts/es6/state/ReportMainChartProps.js-function L0e(e) {- var t = e.layout, n = e.margin, r = MW(), i = Eq();+function z0e(e) {+ var t = e.layout, n = e.margin, r = jW(), i = Tq();return (0, b.useEffect)(() => {- i || (r(LNe(t)), r(INe(n)));+ i || (r(zNe(t)), r(RNe(n)));}, [r,i,@@ -82115,31 +82135,31 @@ function L0e(e) {n]), null;}-var R0e = /*#__PURE__*/ (0, b.memo)(L0e, iJ);+var B0e = /*#__PURE__*/ (0, b.memo)(z0e, rJ);//#endregion//#region node_modules/recharts/es6/state/ReportChartProps.js-function z0e(e) {- var t = MW();+function V0e(e) {+ var t = jW();return (0, b.useEffect)(() => {- t(v0e(e));+ t(b0e(e));}, [t, e]), null;}-var B0e = /*#__PURE__*/ (0, b.memo)((e) => {- var t = MW();+var H0e = /*#__PURE__*/ (0, b.memo)((e) => {+ var t = jW();return (0, b.useEffect)(() => {- t(M0e(e));+ t(P0e(e));}, [t, e]), null;-}, iJ);+}, rJ);//#endregion//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js-function V0e(e) {- var t = e.zIndex, n = e.isPanorama, r = (0, b.useRef)(null), i = MW();- return (0, b.useLayoutEffect)(() => (r.current && i(RHe({+function U0e(e) {+ var t = e.zIndex, n = e.isPanorama, r = (0, b.useRef)(null), i = jW();+ return (0, b.useLayoutEffect)(() => (r.current && i(BHe({zIndex: t,element: r.current,isPanorama: n})), () => {- i(zHe({+ i(VHe({zIndex: t,isPanorama: n}));@@ -82153,15 +82173,15 @@ function V0e(e) {className: `recharts-zIndex-layer_${t}`});}-function H0e(e) {- var t = e.children, n = e.isPanorama, r = J(DHe);+function W0e(e) {+ var t = e.children, n = e.isPanorama, r = J(kHe);if (!r || r.length === 0) return t;var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);- return /*#__PURE__*/ b.createElement(b.Fragment, null, i.map((e) => /*#__PURE__*/ b.createElement(V0e, {+ return /*#__PURE__*/ b.createElement(b.Fragment, null, i.map((e) => /*#__PURE__*/ b.createElement(U0e, {key: e,zIndex: e,isPanorama: n- })), t, a.map((e) => /*#__PURE__*/ b.createElement(V0e, {+ })), t, a.map((e) => /*#__PURE__*/ b.createElement(U0e, {key: e,zIndex: e,isPanorama: n@@ -82169,17 +82189,17 @@ function H0e(e) {}//#endregion//#region node_modules/recharts/es6/container/RootSurface.js-var U0e = ["children"];-function W0e(e, t) {+var G0e = ["children"];+function K0e(e, t) {if (e == null) return {};- var n, r, i = G0e(e, t);+ var n, r, i = q0e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function G0e(e, t) {+function q0e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -82188,68 +82208,68 @@ function G0e(e, t) {}return n;}-function G3() {- return G3 = Object.assign ? Object.assign.bind() : function(e) {+function W3() {+ return W3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, G3.apply(null, arguments);+ }, W3.apply(null, arguments);}-var K0e = {+var J0e = {width: "100%",height: "100%",display: "block"-}, q0e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = Hq(), r = Uq(), i = CJ();- if (!$K(n) || !$K(r)) return null;+}, Y0e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = Vq(), r = Hq(), i = SJ();+ if (!QK(n) || !QK(r)) return null;var a = e.children, o = e.otherAttributes, s = e.title, c = e.desc, l, u;- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ b.createElement(cH, G3({}, o, {+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ b.createElement(sH, W3({}, o, {title: s,desc: c,role: u,tabIndex: l,width: n,height: r,- style: K0e,+ style: J0e,ref: t}), a);-}), J0e = (e) => {- var t = e.children, n = J(Oq);+}), X0e = (e) => {+ var t = e.children, n = J(Dq);if (!n) return null;var r = n.width, i = n.height, a = n.y, o = n.x;- return /*#__PURE__*/ b.createElement(cH, {+ return /*#__PURE__*/ b.createElement(sH, {width: r,height: i,x: o,y: a}, t);-}, Y0e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.children, r = W0e(e, U0e);- return Eq() ? /*#__PURE__*/ b.createElement(J0e, null, /*#__PURE__*/ b.createElement(H0e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(q0e, G3({ ref: t }, r), /*#__PURE__*/ b.createElement(H0e, { isPanorama: !1 }, n));+}, Z0e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.children, r = K0e(e, G0e);+ return Tq() ? /*#__PURE__*/ b.createElement(X0e, null, /*#__PURE__*/ b.createElement(W0e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(Y0e, W3({ ref: t }, r), /*#__PURE__*/ b.createElement(W0e, { isPanorama: !1 }, n));});//#endregion//#region node_modules/recharts/es6/util/useReportScale.js-function X0e(e, t) {- return t2e(e) || e2e(e, t) || Q0e(e, t) || Z0e();+function Q0e(e, t) {+ return r2e(e) || n2e(e, t) || e2e(e, t) || $0e();}-function Z0e() {+function $0e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function Q0e(e, t) {+function e2e(e, t) {if (e) {- if (typeof e == "string") return $0e(e, t);+ if (typeof e == "string") return t2e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? $0e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? t2e(e, t) : void 0;}}-function $0e(e, t) {+function t2e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function e2e(e, t) {+function n2e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -82270,15 +82290,15 @@ function e2e(e, t) {return s;}}-function t2e(e) {+function r2e(e) {if (Array.isArray(e)) return e;}-function n2e() {- var e = MW(), t = X0e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J(QNe);+function i2e() {+ var e = jW(), t = Q0e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J(ePe);return (0, b.useEffect)(() => {if (n != null) {var t = n.getBoundingClientRect().width / n.offsetWidth;- QK(t) && t !== i && e(zNe(t));+ ZK(t) && t !== i && e(VNe(t));}}, [n,@@ -82288,7 +82308,7 @@ function n2e() {}//#endregion//#region node_modules/recharts/es6/chart/RechartsWrapper.js-function r2e(e, t) {+function a2e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -82298,30 +82318,30 @@ function r2e(e, t) {}return n;}-function i2e(e) {+function o2e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? r2e(Object(n), !0).forEach(function(t) {- a2e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r2e(Object(n)).forEach(function(t) {+ t % 2 ? a2e(Object(n), !0).forEach(function(t) {+ s2e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : a2e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function a2e(e, t, n) {- return (t = o2e(t)) in e ? Object.defineProperty(e, t, {+function s2e(e, t, n) {+ return (t = c2e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function o2e(e) {- var t = s2e(e, "string");+function c2e(e) {+ var t = l2e(e, "string");return typeof t == "symbol" ? t : t + "";}-function s2e(e, t) {+function l2e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -82331,34 +82351,34 @@ function s2e(e, t) {}return (t === "string" ? String : Number)(e);}-function K3() {- return K3 = Object.assign ? Object.assign.bind() : function(e) {+function G3() {+ return G3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, K3.apply(null, arguments);+ }, G3.apply(null, arguments);}-function q3(e, t) {- return f2e(e) || d2e(e, t) || l2e(e, t) || c2e();+function K3(e, t) {+ return m2e(e) || p2e(e, t) || d2e(e, t) || u2e();}-function c2e() {+function u2e() {throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}-function l2e(e, t) {+function d2e(e, t) {if (e) {- if (typeof e == "string") return u2e(e, t);+ if (typeof e == "string") return f2e(e, t);var n = {}.toString.call(e).slice(8, -1);- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? u2e(e, t) : void 0;+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? f2e(e, t) : void 0;}}-function u2e(e, t) {+function f2e(e, t) {(t == null || t > e.length) && (t = e.length);for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];return r;}-function d2e(e, t) {+function p2e(e, t) {var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];if (n != null) {var r, i, a, o, s = [], c = !0, l = !1;@@ -82379,11 +82399,11 @@ function d2e(e, t) {return s;}}-function f2e(e) {+function m2e(e) {if (Array.isArray(e)) return e;}-var p2e = () => (hUe(), null);-function J3(e) {+var h2e = () => (_Ue(), null);+function q3(e) {if (typeof e == "number") return e;if (typeof e == "string") {var t = parseFloat(e);@@ -82391,10 +82411,10 @@ function J3(e) {}return 0;}-var m2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = (0, b.useRef)(null), r = q3((0, b.useState)({- containerWidth: J3(e.style?.width),- containerHeight: J3(e.style?.height)+var g2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = (0, b.useRef)(null), r = K3((0, b.useState)({+ containerWidth: q3(e.style?.width),+ containerHeight: q3(e.style?.height)}), 2), i = r[0], a = r[1], o = (0, b.useCallback)((e, t) => {a((n) => {var r = Math.round(e), i = Math.round(t);@@ -82419,14 +82439,14 @@ var m2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {}, [t, o]);return (0, b.useEffect)(() => () => {n.current?.disconnect();- }, [o]), /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Yq, {+ }, [o]), /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Jq, {width: i.containerWidth,height: i.containerHeight- }), /*#__PURE__*/ b.createElement("div", K3({ ref: s }, e)));-}), h2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.width, r = e.height, i = q3((0, b.useState)({- containerWidth: J3(n),- containerHeight: J3(r)+ }), /*#__PURE__*/ b.createElement("div", G3({ ref: s }, e)));+}), _2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.width, r = e.height, i = K3((0, b.useState)({+ containerWidth: q3(n),+ containerHeight: q3(r)}), 2), a = i[0], o = i[1], s = (0, b.useCallback)((e, t) => {o((n) => {var r = Math.round(e), i = Math.round(t);@@ -82441,32 +82461,32 @@ var m2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {s(r, i);}}, [t, s]);- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Yq, {+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Jq, {width: a.containerWidth,height: a.containerHeight- }), /*#__PURE__*/ b.createElement("div", K3({ ref: c }, e)));-}), g2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ }), /*#__PURE__*/ b.createElement("div", G3({ ref: c }, e)));+}), v2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {var n = e.width, r = e.height;- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Yq, {+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Jq, {width: n,height: r- }), /*#__PURE__*/ b.createElement("div", K3({ ref: t }, e)));-}), _2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ }), /*#__PURE__*/ b.createElement("div", G3({ ref: t }, e)));+}), y2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {var n = e.width, r = e.height;- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ b.createElement(h2e, K3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ b.createElement(g2e, K3({}, e, {+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ b.createElement(_2e, G3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ b.createElement(v2e, G3({}, e, {width: n,height: r,ref: t- })) : /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Yq, {+ })) : /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Jq, {width: n,height: r- }), /*#__PURE__*/ b.createElement("div", K3({ ref: t }, e)));+ }), /*#__PURE__*/ b.createElement("div", G3({ ref: t }, e)));});-function v2e(e) {- return e ? m2e : _2e;+function b2e(e) {+ return e ? g2e : y2e;}-var y2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, x = y === void 0 || y, S = (0, b.useRef)(null), C = MW(), w = q3((0, b.useState)(null), 2), T = w[0], E = w[1], D = q3((0, b.useState)(null), 2), O = D[0], k = D[1], A = n2e(), j = Rq(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, b.useCallback)((e) => {+var x2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, x = y === void 0 || y, S = (0, b.useRef)(null), C = jW(), w = K3((0, b.useState)(null), 2), T = w[0], E = w[1], D = K3((0, b.useState)(null), 2), O = D[0], k = D[1], A = i2e(), j = Lq(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, b.useCallback)((e) => {A(e), typeof t == "function" && t(e), E(e), k(e), e != null && (S.current = e);}, [A,@@ -82474,58 +82494,58 @@ var y2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {E,k]), ee = (0, b.useCallback)((e) => {- C(d0e(e)), C(L3({+ C(p0e(e)), C(I3({handler: a,reactEvent: e}));}, [C, a]), F = (0, b.useCallback)((e) => {- C(k3(e)), C(L3({+ C(O3(e)), C(I3({handler: l,reactEvent: e}));}, [C, l]), te = (0, b.useCallback)((e) => {- C(v0()), C(L3({+ C(_0()), C(I3({handler: u,reactEvent: e}));}, [C, u]), ne = (0, b.useCallback)((e) => {- C(k3(e)), C(L3({+ C(O3(e)), C(I3({handler: d,reactEvent: e}));}, [C, d]), re = (0, b.useCallback)(() => {- C(C0e());+ C(T0e());}, [C]), ie = (0, b.useCallback)(() => {- C(w0e());+ C(E0e());}, [C]), ae = (0, b.useCallback)((e) => {- C(S0e(e.key));+ C(w0e(e.key));}, [C]), oe = (0, b.useCallback)((e) => {- C(L3({+ C(I3({handler: o,reactEvent: e}));}, [C, o]), se = (0, b.useCallback)((e) => {- C(L3({+ C(I3({handler: s,reactEvent: e}));}, [C, s]), ce = (0, b.useCallback)((e) => {- C(L3({+ C(I3({handler: c,reactEvent: e}));}, [C, c]), le = (0, b.useCallback)((e) => {- C(L3({+ C(I3({handler: f,reactEvent: e}));}, [C, f]), ue = (0, b.useCallback)((e) => {- C(L3({+ C(I3({handler: h,reactEvent: e}));}, [C, h]), de = (0, b.useCallback)((e) => {- x && C(O0e(e)), C(L3({+ x && C(A0e(e)), C(I3({handler: m,reactEvent: e}));@@ -82534,16 +82554,16 @@ var y2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {x,m]), fe = (0, b.useCallback)((e) => {- C(L3({+ C(I3({handler: p,reactEvent: e}));- }, [C, p]), pe = v2e(v);- return /*#__PURE__*/ b.createElement(JHe.Provider, { value: T }, /*#__PURE__*/ b.createElement(RH.Provider, { value: O }, /*#__PURE__*/ b.createElement(pe, {+ }, [C, p]), pe = b2e(v);+ return /*#__PURE__*/ b.createElement(XHe.Provider, { value: T }, /*#__PURE__*/ b.createElement(LH.Provider, { value: O }, /*#__PURE__*/ b.createElement(pe, {width: M ?? g?.width,height: N ?? g?.height,className: dv("recharts-wrapper", r),- style: i2e({+ style: o2e({position: "relative",cursor: "default",width: M,@@ -82564,8 +82584,8 @@ var y2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {onTouchMove: de,onTouchStart: ue,ref: P- }, /*#__PURE__*/ b.createElement(p2e, null), n)));-}), b2e = [+ }, /*#__PURE__*/ b.createElement(h2e, null), n)));+}), S2e = ["width","height","responsive",@@ -82576,16 +82596,16 @@ var y2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {"title","desc"];-function x2e(e, t) {+function C2e(e, t) {if (e == null) return {};- var n, r, i = S2e(e, t);+ var n, r, i = w2e(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function S2e(e, t) {+function w2e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -82594,16 +82614,16 @@ function S2e(e, t) {}return n;}-var C2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = iH(x2e(e, b2e));- return c ? /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Yq, {+var T2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = rH(C2e(e, S2e));+ return c ? /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Jq, {width: n,height: r- }), /*#__PURE__*/ b.createElement(Y0e, {+ }), /*#__PURE__*/ b.createElement(Z0e, {otherAttributes: d,title: l,desc: u- }, a)) : /*#__PURE__*/ b.createElement(y2e, {+ }, a)) : /*#__PURE__*/ b.createElement(x2e, {className: o,style: s,width: n,@@ -82620,25 +82640,25 @@ var C2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {onTouchStart: e.onTouchStart,onTouchMove: e.onTouchMove,onTouchEnd: e.onTouchEnd- }, /*#__PURE__*/ b.createElement(Y0e, {+ }, /*#__PURE__*/ b.createElement(Z0e, {otherAttributes: d,title: l,desc: u,ref: t- }, /*#__PURE__*/ b.createElement(xXe, null, a)));+ }, /*#__PURE__*/ b.createElement(CXe, null, a)));});//#endregion//#region node_modules/recharts/es6/chart/CartesianChart.js-function Y3() {- return Y3 = Object.assign ? Object.assign.bind() : function(e) {+function J3() {+ return J3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, Y3.apply(null, arguments);+ }, J3.apply(null, arguments);}-function w2e(e, t) {+function E2e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -82648,30 +82668,30 @@ function w2e(e, t) {}return n;}-function T2e(e) {+function D2e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? w2e(Object(n), !0).forEach(function(t) {- E2e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w2e(Object(n)).forEach(function(t) {+ t % 2 ? E2e(Object(n), !0).forEach(function(t) {+ O2e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E2e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function E2e(e, t, n) {- return (t = D2e(t)) in e ? Object.defineProperty(e, t, {+function O2e(e, t, n) {+ return (t = k2e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function D2e(e) {- var t = O2e(e, "string");+function k2e(e) {+ var t = A2e(e, "string");return typeof t == "symbol" ? t : t + "";}-function O2e(e, t) {+function A2e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -82681,7 +82701,7 @@ function O2e(e, t) {}return (t === "string" ? String : Number)(e);}-var k2e = T2e({+var j2e = D2e({accessibilityLayer: !0,barCategoryGap: "10%",barGap: 4,@@ -82696,24 +82716,24 @@ var k2e = T2e({reverseStackOrder: !1,stackOffset: "none",syncMethod: "index"-}, W3), X3 = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- var n = zU(e.categoricalChartProps, k2e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {+}, U3), Y3 = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ var n = RU(e.categoricalChartProps, j2e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {chartName: r,defaultTooltipEventType: i,validateTooltipEventTypes: a,tooltipPayloadSearcher: o,eventEmitter: void 0};- return /*#__PURE__*/ b.createElement(I0e, {+ return /*#__PURE__*/ b.createElement(R0e, {preloadedState: { options: c },reduxStoreName: s.id ?? r- }, /*#__PURE__*/ b.createElement(nXe, { chartData: s.data }), /*#__PURE__*/ b.createElement(R0e, {+ }, /*#__PURE__*/ b.createElement(iXe, { chartData: s.data }), /*#__PURE__*/ b.createElement(B0e, {layout: n.layout,margin: n.margin- }), /*#__PURE__*/ b.createElement(B0e, {+ }), /*#__PURE__*/ b.createElement(H0e, {throttleDelay: n.throttleDelay,throttledEvents: n.throttledEvents- }), /*#__PURE__*/ b.createElement(z0e, {+ }), /*#__PURE__*/ b.createElement(V0e, {baseValue: n.baseValue,accessibilityLayer: n.accessibilityLayer,barCategoryGap: n.barCategoryGap,@@ -82725,52 +82745,52 @@ var k2e = T2e({syncMethod: n.syncMethod,className: n.className,reverseStackOrder: n.reverseStackOrder- }), /*#__PURE__*/ b.createElement(C2e, Y3({}, n, { ref: t })));-}), A2e = ["axis"], j2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(X3, {+ }), /*#__PURE__*/ b.createElement(T2e, J3({}, n, { ref: t })));+}), M2e = ["axis"], N2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Y3, {chartName: "LineChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: A2e,- tooltipPayloadSearcher: l2,+ validateTooltipEventTypes: M2e,+ tooltipPayloadSearcher: c2,categoricalChartProps: e,ref: t-})), M2e = ["axis", "item"], N2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(X3, {+})), P2e = ["axis", "item"], F2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Y3, {chartName: "BarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: M2e,- tooltipPayloadSearcher: l2,+ validateTooltipEventTypes: P2e,+ tooltipPayloadSearcher: c2,categoricalChartProps: e,ref: t}));//#endregion//#region node_modules/recharts/es6/state/ReportPolarOptions.js-function P2e(e) {- var t = MW();+function I2e(e) {+ var t = jW();return (0, b.useEffect)(() => {- t(b0e(e));+ t(S0e(e));}, [t, e]), null;}//#endregion//#region node_modules/recharts/es6/chart/PolarChart.js-var F2e = ["layout"];-function Z3() {- return Z3 = Object.assign ? Object.assign.bind() : function(e) {+var L2e = ["layout"];+function X3() {+ return X3 = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, Z3.apply(null, arguments);+ }, X3.apply(null, arguments);}-function I2e(e, t) {+function R2e(e, t) {if (e == null) return {};- var n, r, i = L2e(e, t);+ var n, r, i = z2e(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 L2e(e, t) {+function z2e(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -82779,7 +82799,7 @@ function L2e(e, t) {}return n;}-function R2e(e, t) {+function B2e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -82789,30 +82809,30 @@ function R2e(e, t) {}return n;}-function z2e(e) {+function V2e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? R2e(Object(n), !0).forEach(function(t) {- B2e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R2e(Object(n)).forEach(function(t) {+ t % 2 ? B2e(Object(n), !0).forEach(function(t) {+ H2e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B2e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function B2e(e, t, n) {- return (t = V2e(t)) in e ? Object.defineProperty(e, t, {+function H2e(e, t, n) {+ return (t = U2e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function V2e(e) {- var t = H2e(e, "string");+function U2e(e) {+ var t = W2e(e, "string");return typeof t == "symbol" ? t : t + "";}-function H2e(e, t) {+function W2e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -82822,7 +82842,7 @@ function H2e(e, t) {}return (t === "string" ? String : Number)(e);}-var Q3 = z2e({+var Z3 = V2e({accessibilityLayer: !0,stackOffset: "none",barCategoryGap: "10%",@@ -82841,24 +82861,24 @@ var Q3 = z2e({cy: "50%",innerRadius: 0,outerRadius: "80%"-}, W3), U2e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {- var n = zU(e.categoricalChartProps, Q3), r = n.layout, i = I2e(n, F2e), a = e.chartName, o = {+}, U3), G2e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {+ var n = RU(e.categoricalChartProps, Z3), r = n.layout, i = R2e(n, L2e), a = e.chartName, o = {chartName: a,defaultTooltipEventType: e.defaultTooltipEventType,validateTooltipEventTypes: e.validateTooltipEventTypes,tooltipPayloadSearcher: e.tooltipPayloadSearcher,eventEmitter: void 0};- return /*#__PURE__*/ b.createElement(I0e, {+ return /*#__PURE__*/ b.createElement(R0e, {preloadedState: { options: o },reduxStoreName: n.id ?? a- }, /*#__PURE__*/ b.createElement(nXe, { chartData: n.data }), /*#__PURE__*/ b.createElement(R0e, {+ }, /*#__PURE__*/ b.createElement(iXe, { chartData: n.data }), /*#__PURE__*/ b.createElement(B0e, {layout: r,margin: n.margin- }), /*#__PURE__*/ b.createElement(B0e, {+ }), /*#__PURE__*/ b.createElement(H0e, {throttleDelay: n.throttleDelay,throttledEvents: n.throttledEvents- }), /*#__PURE__*/ b.createElement(z0e, {+ }), /*#__PURE__*/ b.createElement(V0e, {baseValue: void 0,accessibilityLayer: n.accessibilityLayer,barCategoryGap: n.barCategoryGap,@@ -82870,18 +82890,18 @@ var Q3 = z2e({syncMethod: n.syncMethod,className: n.className,reverseStackOrder: n.reverseStackOrder- }), /*#__PURE__*/ b.createElement(P2e, {+ }), /*#__PURE__*/ b.createElement(I2e, {cx: n.cx,cy: n.cy,startAngle: n.startAngle,endAngle: n.endAngle,innerRadius: n.innerRadius,outerRadius: n.outerRadius- }), /*#__PURE__*/ b.createElement(C2e, Z3({}, i, { ref: t })));+ }), /*#__PURE__*/ b.createElement(T2e, X3({}, i, { ref: t })));});//#endregion//#region node_modules/recharts/es6/chart/RadarChart.js-function W2e(e, t) {+function K2e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -82891,30 +82911,30 @@ function W2e(e, t) {}return n;}-function G2e(e) {+function q2e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? W2e(Object(n), !0).forEach(function(t) {- K2e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W2e(Object(n)).forEach(function(t) {+ t % 2 ? K2e(Object(n), !0).forEach(function(t) {+ J2e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K2e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function K2e(e, t, n) {- return (t = q2e(t)) in e ? Object.defineProperty(e, t, {+function J2e(e, t, n) {+ return (t = Y2e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function q2e(e) {- var t = J2e(e, "string");+function Y2e(e) {+ var t = X2e(e, "string");return typeof t == "symbol" ? t : t + "";}-function J2e(e, t) {+function X2e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -82924,31 +82944,31 @@ function J2e(e, t) {}return (t === "string" ? String : Number)(e);}-var Y2e = ["axis"], X2e = G2e(G2e({}, Q3), {}, {+var Z2e = ["axis"], Q2e = q2e(q2e({}, Z3), {}, {layout: "centric",startAngle: 90,endAngle: -270-}), Z2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = zU(e, X2e);- return /*#__PURE__*/ b.createElement(U2e, {+}), $2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = RU(e, Q2e);+ return /*#__PURE__*/ b.createElement(G2e, {chartName: "RadarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: Y2e,- tooltipPayloadSearcher: l2,+ validateTooltipEventTypes: Z2e,+ tooltipPayloadSearcher: c2,categoricalChartProps: n,ref: t});-}), Q2e = ["axis"], $2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(X3, {+}), e4e = ["axis"], t4e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Y3, {chartName: "AreaChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: Q2e,- tooltipPayloadSearcher: l2,+ validateTooltipEventTypes: e4e,+ tooltipPayloadSearcher: c2,categoricalChartProps: e,ref: t}));//#endregion//#region node_modules/recharts/es6/chart/RadialBarChart.js-function e4e(e, t) {+function n4e(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -82958,30 +82978,30 @@ function e4e(e, t) {}return n;}-function t4e(e) {+function r4e(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? e4e(Object(n), !0).forEach(function(t) {- n4e(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e4e(Object(n)).forEach(function(t) {+ t % 2 ? n4e(Object(n), !0).forEach(function(t) {+ i4e(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n4e(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function n4e(e, t, n) {- return (t = r4e(t)) in e ? Object.defineProperty(e, t, {+function i4e(e, t, n) {+ return (t = a4e(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function r4e(e) {- var t = i4e(e, "string");+function a4e(e) {+ var t = o4e(e, "string");return typeof t == "symbol" ? t : t + "";}-function i4e(e, t) {+function o4e(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -82991,59 +83011,59 @@ function i4e(e, t) {}return (t === "string" ? String : Number)(e);}-var a4e = ["axis", "item"], o4e = t4e(t4e({}, Q3), {}, {+var s4e = ["axis", "item"], c4e = r4e(r4e({}, Z3), {}, {layout: "radial",startAngle: 0,endAngle: 360-}), s4e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {- var n = zU(e, o4e);- return /*#__PURE__*/ b.createElement(U2e, {+}), l4e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {+ var n = RU(e, c4e);+ return /*#__PURE__*/ b.createElement(G2e, {chartName: "RadialBarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: a4e,- tooltipPayloadSearcher: l2,+ validateTooltipEventTypes: s4e,+ tooltipPayloadSearcher: c2,categoricalChartProps: n,ref: t});});//#endregion//#region src/react/charts/cn.ts-function $3(...e) {- return FO(dv(e));+function Q3(...e) {+ return PO(dv(e));}//#endregion//#region src/react/evilcharts/registry/ui/recharts-chart.tsx-var c4e = {+var u4e = {light: "",dark: ".dark"-}, e6 = Object.keys(c4e);-function l4e(e) {- for (let [t, n] of Object.entries(e)) if (n.colors && !e6.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${e6.join(", ")}). Received empty object or invalid keys.`);+}, $3 = Object.keys(u4e);+function d4e(e) {+ for (let [t, n] of Object.entries(e)) if (n.colors && !$3.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${$3.join(", ")}). Received empty object or invalid keys.`);}-var u4e = b.createContext(null);-function t6() {- let e = b.useContext(u4e);+var f4e = b.createContext(null);+function e6() {+ let e = b.useContext(f4e);if (!e) throw Error("useChart must be used within a <ChartContainer />");return e;}-function n6({ id: e, config: t, initialDimension: n = {+function t6({ id: e, config: t, initialDimension: n = {width: 320,height: 200}, className: r, children: i, footer: a, ...o }) {let s = b.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;- return l4e(t), /* @__PURE__ */ (0, x.jsx)(u4e.Provider, {+ return d4e(t), /* @__PURE__ */ (0, x.jsx)(f4e.Provider, {value: { config: t },children: /* @__PURE__ */ (0, x.jsxs)("div", {"data-slot": "chart","data-chart": c,- className: $3("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),+ className: Q3("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),...o,children: [- /* @__PURE__ */ (0, x.jsx)(f4e, {+ /* @__PURE__ */ (0, x.jsx)(m4e, {id: c,config: t}),- /* @__PURE__ */ (0, x.jsx)(zq, {+ /* @__PURE__ */ (0, x.jsx)(Rq, {className: "min-h-0 w-full flex-1",initialDimension: n,children: i@@ -83053,7 +83073,7 @@ function n6({ id: e, config: t, initialDimension: n = {})});}-function r6({ isLoading: e }) {+function n6({ isLoading: e }) {return e ? /* @__PURE__ */ (0, x.jsx)("div", {className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center",children: /* @__PURE__ */ (0, x.jsxs)("div", {@@ -83062,7 +83082,7 @@ function r6({ isLoading: e }) {})}) : null;}-function d4e(e, t) {+function p4e(e, t) {let n = e.length;if (n >= t) return e.slice(0, t);let r = [], i = Math.floor(t / n), a = t % n;@@ -83072,46 +83092,46 @@ function d4e(e, t) {}return r;}-var f4e = ({ id: e, config: t }) => {+var m4e = ({ id: e, config: t }) => {let n = Object.entries(t).filter(([, e]) => e.colors);if (!n.length) return null;let r = (e) => n.flatMap(([t, n]) => {let r = n.colors?.[e];- return !r || !Array.isArray(r) || r.length === 0 ? [] : d4e(r, a6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);- }).filter(Boolean).join("\n"), i = Object.entries(c4e).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");+ return !r || !Array.isArray(r) || r.length === 0 ? [] : p4e(r, i6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);+ }).filter(Boolean).join("\n"), i = Object.entries(u4e).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");return /* @__PURE__ */ (0, x.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });};-function i6(e, t, n) {+function r6(e, t, n) {if (typeof t != "object" || !t) return;let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];}-function a6(e) {+function i6(e) {if (!e.colors) return 1;- let t = e6.map((t) => e.colors?.[t]?.length ?? 0);+ let t = $3.map((t) => e.colors?.[t]?.length ?? 0);return Math.max(...t, 1);}-var p4e = (e = 10, t = 0, n = 70) => {+var h4e = (e = 10, t = 0, n = 70) => {let r = n - t;return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));-}, m4e = {+}, g4e = {sm: "rounded-sm",md: "rounded-md",lg: "rounded-lg",xl: "rounded-xl"-}, h4e = {+}, _4e = {default: "bg-background","frosted-glass": "bg-background/70 backdrop-blur-sm"};-function o6({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {- let { config: h } = t6(), g = b.useMemo(() => {+function a6({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {+ let { config: h } = e6(), g = b.useMemo(() => {if (i || !t?.length) return null;- let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = i6(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;+ let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = r6(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;return s ? /* @__PURE__ */ (0, x.jsx)("div", {- className: $3("font-medium", c),+ className: Q3("font-medium", c),children: s(a, t)}) : a ? /* @__PURE__ */ (0, x.jsx)("div", {- className: $3("font-medium", c),+ className: Q3("font-medium", c),children: a}) : null;}, [@@ -83126,23 +83146,23 @@ function o6({ active: e, payload: t, className: n, indicator: r = "dot", hideLabif (!e || !t?.length) return /* @__PURE__ */ (0, x.jsx)("span", { className: "p-4" });let _ = t.length === 1 && r !== "dot";return /* @__PURE__ */ (0, x.jsxs)("div", {- className: $3("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", m4e[p], h4e[m], n),+ className: Q3("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", g4e[p], _4e[m], n),children: [_ ? null : g, /* @__PURE__ */ (0, x.jsx)("div", {className: "grid gap-1.5",children: t.filter((e) => e.type !== "none").map((e, t) => {- let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = i6(h, e, n), o = i ? a6(i) : 1;+ let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = r6(h, e, n), o = i ? i6(i) : 1;return /* @__PURE__ */ (0, x.jsx)("div", {- className: $3("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),+ className: Q3("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),children: l && e?.value !== void 0 && e.name ? l(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, x.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, x.jsx)("div", {- className: $3("shrink-0 rounded-[2px]", {+ className: Q3("shrink-0 rounded-[2px]", {"h-2.5 w-2.5": r === "dot","w-1": r === "line","w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed","my-0.5": _ && r === "dashed"}),- style: g4e(n, o)+ style: v4e(n, o)}), /* @__PURE__ */ (0, x.jsxs)("div", {- className: $3("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),+ className: Q3("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "grid gap-1.5",children: [_ ? g : null, /* @__PURE__ */ (0, x.jsx)("span", {@@ -83159,27 +83179,27 @@ function o6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab})]});}-function g4e(e, t) {+function v4e(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 s6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, x.jsx)(MUe, {+var o6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, x.jsx)(PUe, {animationDuration: e,...t});//#endregion//#region src/react/evilcharts/registry/ui/recharts-legend.tsx-function c6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {- let { config: u } = t6();+function s6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {+ let { config: u } = e6();return r?.length ? /* @__PURE__ */ (0, x.jsx)("div", {- className: $3("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),+ className: Q3("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),children: r.filter((e) => e.type !== "none").map((e) => {- let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = i6(u, e, r), a = o === null || o === r, d = i ? a6(i) : 1;+ let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = r6(u, e, r), a = o === null || o === r, d = i ? i6(i) : 1;return /* @__PURE__ */ (0, x.jsxs)("div", {- className: $3("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),+ className: Q3("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),onClick: () => {c && s?.(o === r ? null : r);},- children: [i?.icon && !t ? /* @__PURE__ */ (0, x.jsx)(i.icon, {}) : /* @__PURE__ */ (0, x.jsx)(_4e, {+ children: [i?.icon && !t ? /* @__PURE__ */ (0, x.jsx)(i.icon, {}) : /* @__PURE__ */ (0, x.jsx)(y4e, {variant: l,dataKey: r,colorsCount: d@@ -83188,8 +83208,8 @@ function c6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl})}) : null;}-function _4e({ variant: e, dataKey: t, colorsCount: n }) {- let r = v4e(t, n), i = y4e(t, n);+function y4e({ variant: e, dataKey: t, colorsCount: n }) {+ let r = b4e(t, n), i = x4e(t, n);switch (e) {case "square": return /* @__PURE__ */ (0, x.jsx)("div", {className: "h-2 w-2 shrink-0",@@ -83221,10 +83241,10 @@ function _4e({ variant: e, dataKey: t, colorsCount: n }) {});}}-function v4e(e, t) {+function b4e(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 y4e(e, t) {+function x4e(e, t) {let n = {WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite: "xor",@@ -83239,12 +83259,12 @@ function y4e(e, t) {...n};}-var l6 = lJ, u6 = () => null, b4e = {+var c6 = cJ, l6 = () => null, S4e = {stiffness: 300,damping: 35,mass: .8};-function x4e({ range: e, totalPoints: t, containerRef: n, commit: r }) {+function C4e({ range: e, totalPoints: t, containerRef: n, commit: r }) {let i = b.useRef(null), [a, o] = b.useState(!1), s = (0, b.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, b.useCallback)((t, n) => {t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {type: n,@@ -83290,7 +83310,7 @@ function x4e({ range: e, totalPoints: t, containerRef: n, commit: r }) {])};}-function S4e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: S = !1 }) {+function w4e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: S = !1 }) {let C = b.useRef(null), w = b.useMemo(() => n ?? Object.keys(t), [n, t]), T = e.length, E = b.useId().replace(/:/g, ""), D = d !== void 0 && f !== void 0, [O, k] = b.useState(() => ({startIndex: Math.max(0, Math.min(p, T - 1)),endIndex: Math.max(0, Math.min(m ?? T - 1, T - 1))@@ -83324,7 +83344,7 @@ function S4e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "startIndex: n,endIndex: r};- }, [T, v]), { isDragging: M, bind: N } = x4e({+ }, [T, v]), { isDragging: M, bind: N } = C4e({range: O,totalPoints: T,containerRef: C,@@ -83351,7 +83371,7 @@ function S4e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "]);let ee = T > 1 ? P.startIndex / (T - 1) * 100 : 0, F = T > 1 ? P.endIndex / (T - 1) * 100 : 100, te = n_(ee), ne = n_(F);te.get() !== ee && te.set(ee), ne.get() !== F && ne.set(F);- let re = o_(te, b4e), ie = o_(ne, b4e), ae = i_(re, (e) => `${e}%`), oe = i_(ie, (e) => `${e}%`), se = i_(re, (e) => `${e}%`), ce = i_(ie, (e) => `${Math.max(0, 100 - e)}%`), le = n_(`${Math.max(0, F - ee)}%`), ue = (0, b.useCallback)(() => {+ let re = o_(te, S4e), ie = o_(ne, S4e), ae = i_(re, (e) => `${e}%`), oe = i_(ie, (e) => `${e}%`), se = i_(re, (e) => `${e}%`), ce = i_(ie, (e) => `${Math.max(0, 100 - e)}%`), le = n_(`${Math.max(0, F - ee)}%`), ue = (0, b.useCallback)(() => {le.set(`${Math.max(0, ie.get() - re.get())}%`);}, [re,@@ -83371,16 +83391,16 @@ function S4e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "return T === 0 ? null : /* @__PURE__ */ (0, x.jsxs)("div", {ref: C,"data-chart": S ? void 0 : E,- className: $3("group relative select-none", o),+ className: Q3("group relative select-none", o),style: { height: a },children: [- !S && /* @__PURE__ */ (0, x.jsx)(f4e, {+ !S && /* @__PURE__ */ (0, x.jsx)(m4e, {id: E,config: t}),/* @__PURE__ */ (0, x.jsx)("div", {className: "absolute inset-0 overflow-hidden rounded-md",- children: /* @__PURE__ */ (0, x.jsx)(w4e, {+ children: /* @__PURE__ */ (0, x.jsx)(E4e, {data: e,keys: w,chartConfig: t,@@ -83409,13 +83429,13 @@ function S4e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "},...N("middle")}),- /* @__PURE__ */ (0, x.jsx)(C4e, {+ /* @__PURE__ */ (0, x.jsx)(T4e, {side: "left",position: ae,label: y ? de(P.startIndex) : void 0,bind: N("left")}),- /* @__PURE__ */ (0, x.jsx)(C4e, {+ /* @__PURE__ */ (0, x.jsx)(T4e, {side: "right",position: oe,label: y ? de(P.endIndex) : void 0,@@ -83424,16 +83444,16 @@ function S4e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "]});}-function C4e({ side: e, position: t, label: n, bind: r }) {+function T4e({ side: e, position: t, label: n, bind: r }) {let i = e === "left";return /* @__PURE__ */ (0, x.jsxs)(s_.div, {className: "absolute inset-y-0 z-10",style: { left: t },children: [/* @__PURE__ */ (0, x.jsx)("div", {- className: $3("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),+ className: Q3("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),...r,children: /* @__PURE__ */ (0, x.jsx)("div", {- className: $3("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),+ className: Q3("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),children: /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-[2px]",children: [@@ -83444,15 +83464,15 @@ function C4e({ side: e, position: t, label: n, bind: r }) {})})}), n && /* @__PURE__ */ (0, x.jsx)("div", {- className: $3("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),+ className: Q3("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),children: n})]});}-function w4e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {+function E4e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {let u = b.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({dataKey: e,- colorsCount: a6(t)+ colorsCount: i6(t)})), [n, t]), d = s === "dashed" || s === "animated-dashed" ? "4 4" : void 0, f = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [r === "area" && /* @__PURE__ */ (0, x.jsxs)("linearGradient", {id: `${a}-zm-vertical-fade`,x1: "0",@@ -83506,10 +83526,10 @@ function w4e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart})})] })] }, e);})] });- if (r === "line") return /* @__PURE__ */ (0, x.jsx)(zq, {+ if (r === "line") return /* @__PURE__ */ (0, x.jsx)(Rq, {width: "100%",height: "100%",- children: /* @__PURE__ */ (0, x.jsxs)(j2e, {+ children: /* @__PURE__ */ (0, x.jsxs)(N2e, {data: e,margin: {top: 4,@@ -83517,7 +83537,7 @@ function w4e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartbottom: 0,left: 0},- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(WQe, {+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(KQe, {type: i,dataKey: e,stroke: `url(#${a}-zm-${e})`,@@ -83533,10 +83553,10 @@ function w4e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart});if (r === "bar") {let n = l ?? 3;- return /* @__PURE__ */ (0, x.jsx)(zq, {+ return /* @__PURE__ */ (0, x.jsx)(Rq, {width: "100%",height: "100%",- children: /* @__PURE__ */ (0, x.jsxs)(N2e, {+ children: /* @__PURE__ */ (0, x.jsxs)(F2e, {data: e,margin: {top: 2,@@ -83546,7 +83566,7 @@ function w4e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart},barGap: 2,barSize: 14,- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(S3, {+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(x3, {dataKey: e,fill: `url(#${a}-zm-${e})`,fillOpacity: .35,@@ -83562,10 +83582,10 @@ function w4e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart})});}- return /* @__PURE__ */ (0, x.jsx)(zq, {+ return /* @__PURE__ */ (0, x.jsx)(Rq, {width: "100%",height: "100%",- children: /* @__PURE__ */ (0, x.jsxs)($2e, {+ children: /* @__PURE__ */ (0, x.jsxs)(t4e, {data: e,margin: {top: 4,@@ -83573,7 +83593,7 @@ function w4e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartbottom: 0,left: 0},- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(A$e, {+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(M$e, {type: i,dataKey: e,stroke: `url(#${a}-zm-${e})`,@@ -83591,7 +83611,7 @@ function w4e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart})});}-function T4e({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {+function D4e({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {let [r, i] = b.useState({startIndex: t,endIndex: n ?? Math.max(0, e.length - 1)@@ -83615,7 +83635,7 @@ function T4e({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {}};}-var E4e = {+var O4e = {dots: ({ id: e }) => /* @__PURE__ */ (0, x.jsx)("pattern", {id: e,x: "0",@@ -83787,9 +83807,9 @@ var E4e = {})})};-function d6({ variant: e }) {- let t = (0, b.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = E4e[e];- return /* @__PURE__ */ (0, x.jsxs)(i2, {+function u6({ variant: e }) {+ let t = (0, b.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = O4e[e];+ return /* @__PURE__ */ (0, x.jsxs)(r2, {zIndex: -1,children: [/* @__PURE__ */ (0, x.jsxs)("defs", { children: [/* @__PURE__ */ (0, x.jsx)(a, { id: n }),@@ -83819,20 +83839,20 @@ function d6({ variant: e }) {}//#endregion//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx-var D4e = 2, O4e = "loading", k4e = 2e3, A4e = "evil-stacked", j4e = .5, M4e = .05, N4e = [+var k4e = 2, A4e = "loading", j4e = 2e3, M4e = "evil-stacked", N4e = .5, P4e = .05, F4e = [0,.7,.5,1-], P4e = (0, b.createContext)(null);-function f6() {- let e = (0, b.use)(P4e);+], I4e = (0, b.createContext)(null);+function d6() {+ let e = (0, b.use)(I4e);if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");return e;}-function p6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = D4e, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {- let _ = (0, b.useId)().replace(/:/g, ""), [v] = (0, b.useState)(() => Date.now()), [y, S] = (0, b.useState)(f), [C, w] = (0, b.useState)(!1), { loadingData: T, onShimmerExit: E } = e3e(m, h), { visibleData: D, brushProps: O } = T4e({ data: t }), k = (0, b.useMemo)(() => {- let e = b.Children.toArray(n), t = e.find((e) => (0, b.isValidElement)(e) && e.type === u6), r = (0, b.isValidElement)(t) ? t.props : {};+function f6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = k4e, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {+ let _ = (0, b.useId)().replace(/:/g, ""), [v] = (0, b.useState)(() => Date.now()), [y, S] = (0, b.useState)(f), [C, w] = (0, b.useState)(!1), { loadingData: T, onShimmerExit: E } = n3e(m, h), { visibleData: D, brushProps: O } = D4e({ data: t }), k = (0, b.useMemo)(() => {+ let e = b.Children.toArray(n), t = e.find((e) => (0, b.isValidElement)(e) && e.type === l6), r = (0, b.isValidElement)(t) ? t.props : {};return {slot: {present: (0, b.isValidElement)(t),@@ -83840,7 +83860,7 @@ function p6({ config: e, data: t, children: n, className: r, chartProps: i, stacformatLabel: r.formatLabel,onChange: r.onChange},- chartChildren: e.filter((e) => !((0, b.isValidElement)(e) && e.type === u6))+ chartChildren: e.filter((e) => !((0, b.isValidElement)(e) && e.type === l6))};}, [n]), A = k.slot.present, j = a === "stacked" || a === "percent", M = o === "horizontal", N = A && !m ? D : t, P = (0, b.useCallback)((e) => {S(e), p?.(e);@@ -83869,12 +83889,12 @@ function p6({ config: e, data: t, children: n, className: r, chartProps: i, stacP,C]);- return /* @__PURE__ */ (0, x.jsx)(P4e, {+ return /* @__PURE__ */ (0, x.jsx)(I4e, {value: ee,- children: /* @__PURE__ */ (0, x.jsxs)(n6, {+ children: /* @__PURE__ */ (0, x.jsxs)(t6, {className: r,config: e,- footer: A && !m && /* @__PURE__ */ (0, x.jsx)(S4e, {+ footer: A && !m && /* @__PURE__ */ (0, x.jsx)(w4e, {data: t,chartConfig: e,xDataKey: g,@@ -83890,7 +83910,7 @@ function p6({ config: e, data: t, children: n, className: r, chartProps: i, stacO.onChange(e), k.slot.onChange?.(e);}}),- children: [/* @__PURE__ */ (0, x.jsx)(r6, { isLoading: m }), /* @__PURE__ */ (0, x.jsxs)(N2e, {+ children: [/* @__PURE__ */ (0, x.jsx)(n6, { isLoading: m }), /* @__PURE__ */ (0, x.jsxs)(F2e, {id: _,accessibilityLayer: !0,layout: M ? "vertical" : "horizontal",@@ -83902,10 +83922,10 @@ function p6({ config: e, data: t, children: n, className: r, chartProps: i, staconMouseLeave: () => w(!1),...i,children: [- d && /* @__PURE__ */ (0, x.jsx)(d6, { variant: d }),- /* @__PURE__ */ (0, x.jsx)(LXe, { color: "white" }),+ d && /* @__PURE__ */ (0, x.jsx)(u6, { variant: d }),+ /* @__PURE__ */ (0, x.jsx)(zXe, { color: "white" }),k.chartChildren,- m && /* @__PURE__ */ (0, x.jsx)(t3e, {+ m && /* @__PURE__ */ (0, x.jsx)(r3e, {chartId: _,onShimmerExit: E})@@ -83914,8 +83934,8 @@ function p6({ config: e, data: t, children: n, className: r, chartProps: i, stac})});}-function F4e({ 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 } = f6(), S = (0, b.useId)().replace(/:/g, ""), C = lre();+function L4e({ 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 } = d6(), S = (0, b.useId)().replace(/:/g, ""), C = lre();if (f) return null;let w = n ?? p, T = _ === e, E = C ? "none" : r ?? m, D = {id: S,@@ -83935,65 +83955,65 @@ function F4e({ dataKey: e, variant: t = "default", radius: n, animationType: r,i && v(T ? null : e);}};- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(S3, {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(x3, {dataKey: e,- stackId: u ? A4e : void 0,+ stackId: u ? M4e : void 0,fill: `url(#${S}-colors-${e})`,radius: w,isAnimationActive: !1,style: i || a ? { cursor: "pointer" } : void 0,- shape: (e) => /* @__PURE__ */ (0, x.jsx)(V4e, {+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(U4e, {...e,...D,animationType: E}),- activeBar: (e) => /* @__PURE__ */ (0, x.jsx)(V4e, {+ activeBar: (e) => /* @__PURE__ */ (0, x.jsx)(U4e, {...e,...D,animationType: "none"}),...c}), /* @__PURE__ */ (0, x.jsxs)("defs", { children: [- /* @__PURE__ */ (0, x.jsx)(G4e, {+ /* @__PURE__ */ (0, x.jsx)(q4e, {id: S,dataKey: e,config: l}),- t === "hatched" && /* @__PURE__ */ (0, x.jsx)(K4e, {+ t === "hatched" && /* @__PURE__ */ (0, x.jsx)(J4e, {id: S,dataKey: e}),- t === "duotone" && /* @__PURE__ */ (0, x.jsx)(J4e, {+ t === "duotone" && /* @__PURE__ */ (0, x.jsx)(X4e, {id: S,dataKey: e,config: l}),- t === "duotone-reverse" && /* @__PURE__ */ (0, x.jsx)(Y4e, {+ t === "duotone-reverse" && /* @__PURE__ */ (0, x.jsx)(Z4e, {id: S,dataKey: e,config: l}),- t === "gradient" && /* @__PURE__ */ (0, x.jsx)(X4e, {+ t === "gradient" && /* @__PURE__ */ (0, x.jsx)(Q4e, {id: S,dataKey: e}),- t === "stripped" && /* @__PURE__ */ (0, x.jsx)(Z4e, {+ t === "stripped" && /* @__PURE__ */ (0, x.jsx)($4e, {id: S,dataKey: e}),- s && /* @__PURE__ */ (0, x.jsx)(q4e, {+ s && /* @__PURE__ */ (0, x.jsx)(Y4e, {id: S,dataKey: e}),- o && /* @__PURE__ */ (0, x.jsx)(Q4e, {+ o && /* @__PURE__ */ (0, x.jsx)(e3e, {id: S,dataKey: e})] })] });}-function I4e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {- let { isLoading: o, isHorizontal: s } = f6();- return o ? null : /* @__PURE__ */ (0, x.jsx)(X1e, {+function R4e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {+ let { isLoading: o, isHorizontal: s } = d6();+ return o ? null : /* @__PURE__ */ (0, x.jsx)(Q1e, {tickLine: e,axisLine: t,tickMargin: n,@@ -84002,9 +84022,9 @@ function I4e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap...a});}-function L4e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {- let { isLoading: s, isHorizontal: c } = f6();- return s ? null : /* @__PURE__ */ (0, x.jsx)(l0e, {+function z4e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {+ let { isLoading: s, isHorizontal: c } = d6();+ return s ? null : /* @__PURE__ */ (0, x.jsx)(d0e, {tickLine: e,axisLine: t,tickMargin: n,@@ -84014,33 +84034,33 @@ function L4e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap...o});}-function R4e({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {- let { isHorizontal: i } = f6();- return /* @__PURE__ */ (0, x.jsx)(JZe, {+function B4e({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {+ let { isHorizontal: i } = d6();+ return /* @__PURE__ */ (0, x.jsx)(XZe, {strokeDasharray: e,vertical: t ?? i,horizontal: n ?? !i,...r});}-function z4e({ variant: e, roundness: t, defaultIndex: n }) {- let { isLoading: r, selectedDataKey: i } = f6();- return r ? null : /* @__PURE__ */ (0, x.jsx)(s6, {+function V4e({ variant: e, roundness: t, defaultIndex: n }) {+ let { isLoading: r, selectedDataKey: i } = d6();+ return r ? null : /* @__PURE__ */ (0, x.jsx)(o6, {cursor: !1,defaultIndex: n,- content: /* @__PURE__ */ (0, x.jsx)(o6, {+ content: /* @__PURE__ */ (0, x.jsx)(a6, {selected: i,roundness: t,variant: e})});}-function B4e({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {- let { selectedDataKey: i, selectDataKey: a } = f6();- return /* @__PURE__ */ (0, x.jsx)(l6, {+function H4e({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {+ let { selectedDataKey: i, selectDataKey: a } = d6();+ return /* @__PURE__ */ (0, x.jsx)(c6, {verticalAlign: n,align: t,- content: /* @__PURE__ */ (0, x.jsx)(c6, {+ content: /* @__PURE__ */ (0, x.jsx)(s6, {selected: i,onSelectChange: a,isClickable: r,@@ -84048,8 +84068,8 @@ function B4e({ variant: e, align: t = "right", verticalAlign: n = "top", isClick})});}-var V4e = (e) => {- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, S = typeof e.index == "number" ? e.index : -1, C = u && y > 0 && S === y - 1, w = s === "stripped", T = H4e(h, S, y, m, g), E = C ? `url(#${a}-buffer-hatched-${o})` : U4e(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = W4e({+var U4e = (e) => {+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, S = typeof e.index == "number" ? e.index : -1, C = u && y > 0 && S === y - 1, w = s === "stripped", T = W4e(h, S, y, m, g), E = C ? `url(#${a}-buffer-hatched-${o})` : G4e(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = K4e({isClickable: d,selectedDataKey: _,dataKey: o,@@ -84061,7 +84081,7 @@ var V4e = (e) => {c,0,0- ] : c, j = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(iY, {+ ] : c, j = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(rY, {x: t,y: n,width: r,@@ -84072,7 +84092,7 @@ var V4e = (e) => {filter: D,stroke: C ? `url(#${a}-colors-${o})` : void 0,strokeWidth: C ? 1 : void 0- }), w && /* @__PURE__ */ (0, x.jsx)(iY, {+ }), w && /* @__PURE__ */ (0, x.jsx)(rY, {x: t,y: n - 4,width: r,@@ -84083,7 +84103,7 @@ var V4e = (e) => {return /* @__PURE__ */ (0, x.jsxs)("g", {style: k,onClick: b,- children: [/* @__PURE__ */ (0, x.jsx)(iY, {+ children: [/* @__PURE__ */ (0, x.jsx)(rY, {...e,fill: "transparent"}), T ? /* @__PURE__ */ (0, x.jsx)(s_.g, {@@ -84094,7 +84114,7 @@ var V4e = (e) => {children: j}) : j]});-}, H4e = (e, t, n, r, i) => {+}, W4e = (e, t, n, r, i) => {if (e === "none" || t < 0 || n <= 0) return null;let a = n - 1, o = a / 2, s;switch (e) {@@ -84109,11 +84129,11 @@ var V4e = (e) => {break;default: s = t;}- let c = s * M4e * 1e3, l = j4e * 1e3, u = c + l, d = Date.now() - i;+ let c = s * P4e * 1e3, l = N4e * 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: N4e,+ ease: F4e,delay: Math.max(0, c - d) / 1e3};return r ? {@@ -84127,7 +84147,7 @@ var V4e = (e) => {transition: p,style: { originY: 1 }};-}, U4e = (e, t, n) => {+}, G4e = (e, t, n) => {switch (e) {case "hatched": return `url(#${t}-hatched-${n})`;case "duotone": return `url(#${t}-duotone-${n})`;@@ -84136,11 +84156,11 @@ var V4e = (e) => {case "stripped": return `url(#${t}-stripped-${n})`;default: return `url(#${t}-colors-${n})`;}-}, W4e = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {+}, K4e = ({ 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;-}, G4e = ({ id: e, dataKey: t, config: n }) => {- let r = a6(n[t] ?? {});+}, q4e = ({ id: e, dataKey: t, config: n }) => {+ let r = i6(n[t] ?? {});return /* @__PURE__ */ (0, x.jsx)("linearGradient", {id: `${e}-colors-${t}`,x1: "0",@@ -84161,7 +84181,7 @@ var V4e = (e) => {}, i);})});-}, K4e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [+}, J4e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("pattern", {id: `${e}-hatched-mask-pattern`,x: "0",@@ -84202,7 +84222,7 @@ var V4e = (e) => {mask: `url(#${e}-hatched-mask-${t})`})})-] }), q4e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [+] }), Y4e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("pattern", {id: `${e}-buffer-hatched-mask-pattern`,x: "0",@@ -84243,8 +84263,8 @@ var V4e = (e) => {mask: `url(#${e}-buffer-hatched-mask-${t})`})})-] }), J4e = ({ id: e, dataKey: t, config: n }) => {- let r = a6(n[t] ?? {});+] }), X4e = ({ id: e, dataKey: t, config: n }) => {+ let r = i6(n[t] ?? {});return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("linearGradient", {id: `${e}-duotone-mask-gradient-${t}`,@@ -84311,8 +84331,8 @@ var V4e = (e) => {})})] });-}, Y4e = ({ id: e, dataKey: t, config: n }) => {- let r = a6(n[t] ?? {});+}, Z4e = ({ id: e, dataKey: t, config: n }) => {+ let r = i6(n[t] ?? {});return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("linearGradient", {id: `${e}-duotone-reverse-mask-gradient-${t}`,@@ -84379,7 +84399,7 @@ var V4e = (e) => {})})] });-}, X4e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [+}, Q4e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("linearGradient", {id: `${e}-gradient-mask-gradient`,x1: "0",@@ -84416,7 +84436,7 @@ var V4e = (e) => {mask: `url(#${e}-gradient-mask-${t})`})})-] }), Z4e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [+] }), $4e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("linearGradient", {id: `${e}-stripped-mask-gradient`,x1: "0",@@ -84453,7 +84473,7 @@ var V4e = (e) => {mask: `url(#${e}-stripped-mask-${t})`})})-] }), Q4e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {+] }), e3e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {id: `${e}-bar-glow-${t}`,x: "-100%",y: "-100%",@@ -84473,35 +84493,35 @@ var V4e = (e) => {}),/* @__PURE__ */ (0, x.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "SourceGraphic" })] })]-}), $4e = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {+}), t3e = (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 e3e(e, t = 12) {+function n3e(e, t = 12) {let [n, r] = (0, b.useState)(!1), i = (0, b.useCallback)(() => {e && r((e) => !e);}, [e]);return {- loadingData: (0, b.useMemo)(() => p4e(t, 20, 80), [t, n]),+ loadingData: (0, b.useMemo)(() => h4e(t, 20, 80), [t, n]),onShimmerExit: i};}-var t3e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(S3, {- dataKey: O4e,+var r3e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(x3, {+ dataKey: A4e,fill: "currentColor",fillOpacity: .15,- radius: D4e,+ radius: k4e,isAnimationActive: !1,legendType: "none",style: { mask: `url(#${e}-loading-mask)` }-}), /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(n3e, {+}), /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(i3e, {chartId: e,onShimmerExit: t-}) })] }), n3e = ({ chartId: e, onShimmerExit: t }) => {- let n = $4e(), r = (0, b.useRef)(-1);+}) })] }), i3e = ({ chartId: e, onShimmerExit: t }) => {+ let n = t3e(), r = (0, b.useRef)(-1);return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("linearGradient", {id: `${e}-loading-mask-gradient`,@@ -84532,7 +84552,7 @@ var t3e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Frinitial: { x: -1 },animate: { x: 2 },transition: {- duration: k4e / 1e3,+ duration: j4e / 1e3,ease: "linear",repeat: Infinity,repeatType: "loop"@@ -84554,13 +84574,13 @@ var t3e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fr})] });};-p6.Bar = F4e, p6.XAxis = I4e, p6.YAxis = L4e, p6.Grid = R4e, p6.Tooltip = z4e, p6.Legend = B4e, p6.Brush = u6;+f6.Bar = L4e, f6.XAxis = R4e, f6.YAxis = z4e, f6.Grid = B4e, f6.Tooltip = V4e, f6.Legend = H4e, f6.Brush = l6;//#endregion//#region src/react/charts/chart-card.tsx-var m6 = `${VO({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;-function h6({ title: e, children: t }) {+var p6 = `${BO({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;+function m6({ title: e, children: t }) {return /* @__PURE__ */ (0, x.jsxs)("section", {- className: m6,+ className: p6,"aria-label": e,children: [/* @__PURE__ */ (0, x.jsx)("h3", {className: "text-title-2-medium text-text-primary",@@ -84571,31 +84591,31 @@ function h6({ title: e, children: t }) {})]});}-var r3e = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, i3e = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), g6;-function a3e(e) {- if (g6 === void 0) try {- g6 = document.createElement("canvas").getContext("2d"), g6 && (g6.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);+var a3e = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, o3e = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), h6;+function s3e(e) {+ if (h6 === void 0) try {+ h6 = document.createElement("canvas").getContext("2d"), h6 && (h6.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);} catch {- g6 = null;+ h6 = null;}- return g6 ? g6.measureText(e).width : null;+ return h6 ? h6.measureText(e).width : null;}-var _6 = (e) => a3e(e) ?? i3e(e).reduce((e, t) => e + r3e(t), 0);-function o3e(e, t) {- if (_6(e) <= t) return e;- let n = i3e(e), r = 0;- for (; r < n.length && _6(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;+var g6 = (e) => s3e(e) ?? o3e(e).reduce((e, t) => e + a3e(t), 0);+function c3e(e, t) {+ if (g6(e) <= t) return e;+ let n = o3e(e), r = 0;+ for (; r < n.length && g6(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;return `${n.slice(0, r).join("")}…`;}-var s3e = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(_6)) + 12);-function v6(e) {+var l3e = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(g6)) + 12);+function _6(e) {let { along: t, payload: n, width: r = 0, visibleTicksCount: i = 1, ...a } = e, o = String(n?.value ?? ""), s = t === "x" ? r / Math.max(1, i) - 2 : r - 8;- return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(y2, {+ return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(v2, {...a,- children: o3e(o, s)+ children: c3e(o, s)})] });}-function y6({ title: e, figure: t, note: n }) {+function v6({ title: e, figure: t, note: n }) {return /* @__PURE__ */ (0, x.jsxs)("header", {className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",children: [/* @__PURE__ */ (0, x.jsxs)("span", {@@ -84613,24 +84633,24 @@ function y6({ title: e, figure: t, note: n }) {})]});}-var b6 = [+var y6 = ["var(--color-chart-1)","var(--color-chart-2)","var(--color-chart-3)","var(--color-chart-4)","var(--color-chart-5)","var(--color-chart-6)"-], x6 = (e) => ({ light: [e] }), S6 = (e) => `s${e}`;-function c3e(e) {- return Object.fromEntries(e.map((e, t) => [S6(t), {+], b6 = (e) => ({ light: [e] }), x6 = (e) => `s${e}`;+function u3e(e) {+ return Object.fromEntries(e.map((e, t) => [x6(t), {label: e,- colors: x6(b6[t % b6.length])+ colors: b6(y6[t % y6.length])}]));}//#endregion//#region src/react/charts/chart-tip.tsx-var l3e = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";-function u3e({ swatch: e, name: t, value: n }) {+var d3e = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";+function f3e({ swatch: e, name: t, value: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex w-full items-center gap-2",children: [e, /* @__PURE__ */ (0, x.jsxs)("div", {@@ -84645,33 +84665,33 @@ function u3e({ swatch: e, name: t, value: n }) {})]});}-var d3e = "size-2.5 shrink-0 rounded-xs";-function f3e({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {- let { config: o } = t6(), s = (t ?? []).filter((e) => e.type !== "none");+var p3e = "size-2.5 shrink-0 rounded-xs";+function m3e({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {+ let { config: o } = e6(), s = (t ?? []).filter((e) => e.type !== "none");if (!e || !s.length) return /* @__PURE__ */ (0, x.jsx)("span", { className: "p-4" });let c = a || typeof n != "string" ? null : o[n]?.label ?? n;return /* @__PURE__ */ (0, x.jsxs)("div", {- className: l3e,+ className: d3e,children: [c ? /* @__PURE__ */ (0, x.jsx)("div", {className: "font-medium text-foreground",children: c}) : null, s.map((e, t) => {- let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = i6(o, e, a), c = i ? n[i] : e.value;- return /* @__PURE__ */ (0, x.jsx)(u3e, {+ let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = r6(o, e, a), c = i ? n[i] : e.value;+ return /* @__PURE__ */ (0, x.jsx)(f3e, {name: s?.label ?? e.name,value: Number(c ?? 0),swatch: /* @__PURE__ */ (0, x.jsx)("i", {- className: d3e,+ className: p3e,style: { background: `var(--color-${a}-0)` }})}, a + t);})]});}-function C6({ nameKey: e, valueKey: t, hideLabel: n }) {- return /* @__PURE__ */ (0, x.jsx)(s6, {+function S6({ nameKey: e, valueKey: t, hideLabel: n }) {+ return /* @__PURE__ */ (0, x.jsx)(o6, {cursor: !1,- content: /* @__PURE__ */ (0, x.jsx)(f3e, {+ content: /* @__PURE__ */ (0, x.jsx)(m3e, {nameKey: e,valueKey: t,hideLabel: n@@ -84680,41 +84700,41 @@ function C6({ nameKey: e, valueKey: t, hideLabel: n }) {}//#endregion//#region src/react/charts/bar-card.tsx-var w6 = [0, (e) => e * 1.2];-function p3e(e) {+var C6 = [0, (e) => e * 1.2];+function h3e(e) {let t = Math.abs(e), n = (t, n) => {let r = e / t;return `${r.toLocaleString(void 0, { maximumFractionDigits: +(Math.abs(r) < 100) })}${n}`;};return t >= 1e8 ? n(1e8, "亿") : t >= 1e5 ? n(1e4, "万") : e.toLocaleString();}-var m3e = (e) => ({+var g3e = (e) => ({position: e,className: "fill-text-secondary",- formatter: (e) => p3e(Number(e))+ formatter: (e) => h3e(Number(e))});-function T6({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {+function w6({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {let s = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({name: e.name,value: e.value})), c = s.reduce((e, t) => e + t.value, 0);- if (!c) return /* @__PURE__ */ (0, x.jsx)(h6, {+ if (!c) return /* @__PURE__ */ (0, x.jsx)(m6, {title: e,children: a});let l = o === "horizontal";return /* @__PURE__ */ (0, x.jsxs)("section", {- className: m6,+ className: p6,"aria-label": e,- children: [/* @__PURE__ */ (0, x.jsx)(y6, {+ children: [/* @__PURE__ */ (0, x.jsx)(v6, {title: e,figure: c.toLocaleString(),note: t- }), /* @__PURE__ */ (0, x.jsxs)(p6, {+ }), /* @__PURE__ */ (0, x.jsxs)(f6, {data: s,config: { value: {label: n,- colors: x6(i)+ colors: b6(i)} },layout: o,barRadius: 4,@@ -84726,40 +84746,40 @@ function T6({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:} } : void 0,className: l ? "aspect-auto h-64 flex-none text-text-secondary" : "aspect-auto h-56 flex-none text-text-secondary",children: [- /* @__PURE__ */ (0, x.jsx)(p6.Grid, {}),- l ? /* @__PURE__ */ (0, x.jsx)(p6.YAxis, {+ /* @__PURE__ */ (0, x.jsx)(f6.Grid, {}),+ l ? /* @__PURE__ */ (0, x.jsx)(f6.YAxis, {dataKey: "name",interval: 0,- tick: /* @__PURE__ */ (0, x.jsx)(v6, { along: "y" }),- width: s3e(s.map((e) => e.name))- }) : /* @__PURE__ */ (0, x.jsx)(p6.XAxis, {+ tick: /* @__PURE__ */ (0, x.jsx)(_6, { along: "y" }),+ width: l3e(s.map((e) => e.name))+ }) : /* @__PURE__ */ (0, x.jsx)(f6.XAxis, {dataKey: "name",interval: 0,- tick: /* @__PURE__ */ (0, x.jsx)(v6, { along: "x" })+ tick: /* @__PURE__ */ (0, x.jsx)(_6, { along: "x" })}),- l ? /* @__PURE__ */ (0, x.jsx)(p6.XAxis, {+ l ? /* @__PURE__ */ (0, x.jsx)(f6.XAxis, {hide: !0,- domain: w6- }) : /* @__PURE__ */ (0, x.jsx)(p6.YAxis, {+ domain: C6+ }) : /* @__PURE__ */ (0, x.jsx)(f6.YAxis, {hide: !0,- domain: w6+ domain: C6}),- /* @__PURE__ */ (0, x.jsx)(p6.Bar, {+ /* @__PURE__ */ (0, x.jsx)(f6.Bar, {dataKey: "value",enableHoverHighlight: !0,barProps: {dataKey: "value",- label: m3e(l ? "right" : "top")+ label: g3e(l ? "right" : "top")}}),- /* @__PURE__ */ (0, x.jsx)(C6, {})+ /* @__PURE__ */ (0, x.jsx)(S6, {})]})]});}//#endregion//#region src/react/charts/heat.ts-var h3e = [+var _3e = ["周一","周二","周三",@@ -84767,8 +84787,8 @@ var h3e = ["周五","周六","周日"-], g3e = (e, t) => e ? Math.max(.12, e / t) : 0;-function _3e(e) {+], v3e = (e, t) => e ? Math.max(.12, e / t) : 0;+function y3e(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;@@ -84778,14 +84798,14 @@ function _3e(e) {return {cells: t.flatMap((e, t) => e.map((e, n) => ({key: `${t}-${n}`,- label: `${h3e[t]} ${n}:00`,+ label: `${_3e[t]} ${n}:00`,count: e,- share: g3e(e, r)+ share: v3e(e, r)}))),total: n.reduce((e, t) => e + t, 0)};}-function v3e(e) {+function b3e(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,@@ -84803,7 +84823,7 @@ function v3e(e) {key: r,label: r,count: s,- share: g3e(s, o)+ share: v3e(s, o)};});return {@@ -84815,7 +84835,7 @@ function v3e(e) {}//#endregion//#region src/react/charts/heat-card.tsx-var E6 = 14, D6 = 17, y3e = {+var T6 = 14, E6 = 17, x3e = {4: {fill: "fill-chart-4",dot: "bg-chart-4"@@ -84824,42 +84844,42 @@ var E6 = 14, D6 = 17, y3e = {fill: "fill-chart-5",dot: "bg-chart-5"}-}, b3e = {+}, S3e = {start: "translate-x-0",center: "-translate-x-1/2",end: "-translate-x-full"};-function x3e({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {+function C3e({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {return /* @__PURE__ */ (0, x.jsxs)("div", {"aria-hidden": !0,style: {left: `${r}%`,top: `${i}%`},- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${l3e} ${b3e[a]}`,+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${d3e} ${S3e[a]}`,children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "font-medium text-foreground",children: e.label- }), /* @__PURE__ */ (0, x.jsx)(u3e, {+ }), /* @__PURE__ */ (0, x.jsx)(f3e, {name: t,value: e.count,- swatch: /* @__PURE__ */ (0, x.jsx)("i", { className: `${d3e} ${y3e[n].dot}` })+ swatch: /* @__PURE__ */ (0, x.jsx)("i", { className: `${p3e} ${x3e[n].dot}` })})]});}-function S3e({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {- let [l, u] = (0, b.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * D6, m = f + a * D6, h = (e) => ({- x: d + e % i * D6,- y: f + Math.floor(e / i) * D6- }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + E6 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", S = _ ? {+function w3e({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {+ let [l, u] = (0, b.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * E6, m = f + a * E6, h = (e) => ({+ x: d + e % i * E6,+ y: f + Math.floor(e / i) * E6+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + T6 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", S = _ ? {start: _.x,- center: _.x + E6 / 2,- end: _.x + E6+ center: _.x + T6 / 2,+ end: _.x + T6}[y] : 0;return /* @__PURE__ */ (0, x.jsxs)("section", {- className: m6,+ className: p6,children: [- /* @__PURE__ */ (0, x.jsx)(y6, {+ /* @__PURE__ */ (0, x.jsx)(v6, {title: e,figure: (g ? g.count : r).toLocaleString(),note: g ? g.label : t.unit@@ -84882,19 +84902,19 @@ function S3e({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis"aria-label": `${e.label},${e.count} ${t.cellUnit}`,x: r,y: i,- width: E6,- height: E6,+ width: T6,+ height: T6,rx: 3,fillOpacity: e.share || 1,opacity: l >= 0 && l !== n ? .4 : 1,- className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${y3e[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",+ className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${x3e[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",onPointerEnter: () => u(n),onFocus: () => u(n),onBlur: () => u(-1)}, e.key);})]})- }), g && _ ? /* @__PURE__ */ (0, x.jsx)(x3e, {+ }), g && _ ? /* @__PURE__ */ (0, x.jsx)(C3e, {cell: g,series: t.series,tone: c,@@ -84910,24 +84930,24 @@ function S3e({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis]});}-var C3e = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [h3e.map((e, t) => /* @__PURE__ */ (0, x.jsx)("text", {+var T3e = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [_3e.map((e, t) => /* @__PURE__ */ (0, x.jsx)("text", {x: 0,- y: 18 + t * D6 + 7,+ y: 18 + t * E6 + 7,dominantBaseline: "middle",className: "fill-text-secondary text-caption-1-regular",children: e}, e)), Array.from({ length: 24 }, (e, t) => t % 2 ? null : /* @__PURE__ */ (0, x.jsx)("text", {- x: 30 + t * D6,+ x: 30 + t * E6,y: 8,dominantBaseline: "middle",className: "fill-text-secondary text-caption-1-regular",children: t}, t))] });-function w3e({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {- let o = _3e(e), s = v3e(e);+function E3e({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {+ let o = y3e(e), s = b3e(e);return s.cells.length ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",- children: [/* @__PURE__ */ (0, x.jsx)(S3e, {+ children: [/* @__PURE__ */ (0, x.jsx)(w3e, {title: t,words: r,tone: i,@@ -84935,9 +84955,9 @@ function w3e({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: atotal: o.total,columns: 24,rows: 7,- axis: C3e,+ axis: T3e,footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })- }), /* @__PURE__ */ (0, x.jsx)(S3e, {+ }), /* @__PURE__ */ (0, x.jsx)(w3e, {title: n,words: r,tone: i,@@ -84947,14 +84967,14 @@ function w3e({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: arows: 7,footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, x.jsx)("span", { children: s.end })] })})]- }) : /* @__PURE__ */ (0, x.jsx)(h6, {+ }) : /* @__PURE__ */ (0, x.jsx)(m6, {title: t,children: a});}//#endregion//#region src/react/components/expandable-ranking.tsx-function T3e({ children: e, className: t = "", previewCount: n = 10 }) {+function D3e({ children: e, className: t = "", previewCount: n = 10 }) {let r = (0, b.useId)(), i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(!1), l = b.Children.toArray(e), u = l.length > n;(0, b.useLayoutEffect)(() => {let e = i.current;@@ -84995,20 +85015,20 @@ function T3e({ children: e, className: t = "", previewCount: n = 10 }) {onClick: () => {c(!0), o((e) => !e);},- children: /* @__PURE__ */ (0, x.jsx)(tO, { "aria-hidden": !0 })+ children: /* @__PURE__ */ (0, x.jsx)(eO, { "aria-hidden": !0 })}) : null]});}//#endregion//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx-var E3e = "30%", D3e = "100%", O3e = 5, k3e = 14, A3e = 5, j3e = 1500, M3e = (0, b.createContext)(null);-function O6() {- let e = (0, b.use)(M3e);+var O3e = "30%", k3e = "100%", A3e = 5, j3e = 14, M3e = 5, N3e = 1500, P3e = (0, b.createContext)(null);+function D6() {+ let e = (0, b.use)(P3e);if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");return e;}-function k6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = E3e, outerRadius: l = D3e, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {- let m = (0, b.useId)().replace(/:/g, ""), [h, g] = (0, b.useState)(u), _ = z3e(f), v = I3e(o), y = (0, b.useCallback)((e, t) => {+function O6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = O3e, outerRadius: l = k3e, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {+ let m = (0, b.useId)().replace(/:/g, ""), [h, g] = (0, b.useState)(u), _ = V3e(f), v = R3e(o), y = (0, b.useCallback)((e, t) => {g(e), d?.(e === null ? null : {dataKey: e,value: t ?? 0@@ -85035,12 +85055,12 @@ function k6({ config: e, data: t, nameKey: n, children: r, className: i, chartPrh,y]);- return /* @__PURE__ */ (0, x.jsx)(M3e, {+ return /* @__PURE__ */ (0, x.jsx)(P3e, {value: C,- children: /* @__PURE__ */ (0, x.jsxs)(n6, {+ children: /* @__PURE__ */ (0, x.jsxs)(t6, {className: i,config: e,- children: [/* @__PURE__ */ (0, x.jsx)(r6, { isLoading: f }), /* @__PURE__ */ (0, x.jsxs)(s4e, {+ children: [/* @__PURE__ */ (0, x.jsx)(n6, { isLoading: f }), /* @__PURE__ */ (0, x.jsxs)(l4e, {id: m,data: f ? _ : S,innerRadius: c,@@ -85051,16 +85071,16 @@ function k6({ config: e, data: t, nameKey: n, children: r, className: i, chartPrcy: v.cy,...a,children: [- s != null && s > 0 && /* @__PURE__ */ (0, x.jsx)(X2, {+ s != null && s > 0 && /* @__PURE__ */ (0, x.jsx)(Y2, {type: "number",domain: [0, s],tick: !1,axisLine: !1}),- p && /* @__PURE__ */ (0, x.jsx)(d6, { variant: p }),+ p && /* @__PURE__ */ (0, x.jsx)(u6, { variant: p }),r,- f && /* @__PURE__ */ (0, x.jsx)(B3e, {}),- /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(L3e, {+ f && /* @__PURE__ */ (0, x.jsx)(H3e, {}),+ /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(z3e, {config: e,chartId: m}) })@@ -85069,9 +85089,9 @@ function k6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr})});}-function N3e({ dataKey: e, cornerRadius: t = O3e, barSize: n = k3e, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {- let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = O6();- return s ? null : /* @__PURE__ */ (0, x.jsx)(z4, {+function F3e({ dataKey: e, cornerRadius: t = A3e, barSize: n = j3e, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {+ let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = D6();+ return s ? null : /* @__PURE__ */ (0, x.jsx)(R4, {dataKey: e,cornerRadius: t,barSize: n,@@ -85085,7 +85105,7 @@ function N3e({ dataKey: e, cornerRadius: t = O3e, barSize: n = k3e, showBackgrou},shape: (e) => {let t = e[o], n = c === null || c === t;- return /* @__PURE__ */ (0, x.jsx)(hY, {+ return /* @__PURE__ */ (0, x.jsx)(mY, {...e,opacity: i && !n ? .15 : 1,className: "transition-opacity duration-200"@@ -85094,12 +85114,12 @@ function N3e({ dataKey: e, cornerRadius: t = O3e, barSize: n = k3e, showBackgrou...a});}-function P3e({ variant: e, roundness: t, defaultIndex: n }) {- let { nameKey: r, isLoading: i } = O6();- return i ? null : /* @__PURE__ */ (0, x.jsx)(s6, {+function I3e({ variant: e, roundness: t, defaultIndex: n }) {+ let { nameKey: r, isLoading: i } = D6();+ return i ? null : /* @__PURE__ */ (0, x.jsx)(o6, {defaultIndex: n,cursor: !1,- content: /* @__PURE__ */ (0, x.jsx)(o6, {+ content: /* @__PURE__ */ (0, x.jsx)(a6, {nameKey: r,hideLabel: !0,roundness: t,@@ -85107,12 +85127,12 @@ function P3e({ variant: e, roundness: t, defaultIndex: n }) {})});}-function F3e({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {- let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = O6();- return a ? null : /* @__PURE__ */ (0, x.jsx)(l6, {+function L3e({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {+ let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = D6();+ return a ? null : /* @__PURE__ */ (0, x.jsx)(c6, {verticalAlign: n,align: t,- content: /* @__PURE__ */ (0, x.jsx)(c6, {+ content: /* @__PURE__ */ (0, x.jsx)(s6, {selected: o,onSelectChange: s,isClickable: r,@@ -85121,7 +85141,7 @@ function F3e({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC})});}-function I3e(e) {+function R3e(e) {switch (e) {case "semi": return {startAngle: 180,@@ -85137,8 +85157,8 @@ function I3e(e) {};}}-var L3e = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: Object.entries(e).map(([e, n]) => {- let r = a6(n);+var z3e = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: Object.entries(e).map(([e, n]) => {+ let r = i6(n);return /* @__PURE__ */ (0, x.jsx)("linearGradient", {id: `${t}-radial-colors-${e}`,x1: "0",@@ -85160,47 +85180,47 @@ var L3e = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment,})}, `${t}-radial-colors-${e}`);}) });-function R3e() {- return Array.from({ length: A3e }, (e, t) => ({+function B3e() {+ return Array.from({ length: M3e }, (e, t) => ({name: `loading${t}`,value: 40 + Math.random() * 60}));}-function z3e(e) {+function V3e(e) {let [t, n] = (0, b.useState)(0);return (0, b.useEffect)(() => {if (!e) return;let t = setInterval(() => {n((e) => e + 1);- }, j3e);+ }, N3e);return () => clearInterval(t);- }, [e]), (0, b.useMemo)(() => R3e(), [t]);+ }, [e]), (0, b.useMemo)(() => B3e(), [t]);}-var B3e = () => /* @__PURE__ */ (0, x.jsx)(z4, {+var H3e = () => /* @__PURE__ */ (0, x.jsx)(R4, {dataKey: "value",- cornerRadius: O3e,- barSize: k3e,+ cornerRadius: A3e,+ barSize: j3e,background: !0,isAnimationActive: !0,- animationDuration: j3e,+ animationDuration: N3e,animationEasing: "ease-in-out",- shape: (e) => /* @__PURE__ */ (0, x.jsx)(hY, {+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(mY, {...e,fill: "currentColor",fillOpacity: .25})});-k6.RadialBar = N3e, k6.Tooltip = P3e, k6.Legend = F3e;+O6.RadialBar = F3e, O6.Tooltip = I3e, O6.Legend = L3e;//#endregion//#region src/react/stats/radial-card.tsx-var V3e = [+var U3e = ["bg-chart-1","bg-chart-2","bg-chart-3","bg-chart-4","bg-chart-5","bg-chart-6"-], H3e = [+], W3e = ["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",@@ -85208,19 +85228,19 @@ var V3e = ["aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5","aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"];-function U3e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {- let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = gAe(t);- if (!c.length) return /* @__PURE__ */ (0, x.jsx)(h6, {+function G3e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {+ let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = vAe(t);+ if (!c.length) return /* @__PURE__ */ (0, x.jsx)(m6, {title: e,children: n});- let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = _Ae(c.map((e) => e.value)), m = c.map((e, t) => ({- slice: S6(t),+ let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = yAe(c.map((e) => e.value)), m = c.map((e, t) => ({+ slice: x6(t),value: e.value,- arc: vAe(e.value, p)+ arc: bAe(e.value, p)}));return /* @__PURE__ */ (0, x.jsxs)("section", {- className: m6,+ className: p6,children: [/* @__PURE__ */ (0, x.jsxs)("header", {className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",@@ -85242,18 +85262,18 @@ function U3e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {role: "img","aria-label": e,onPointerLeave: () => s(-1),- children: /* @__PURE__ */ (0, x.jsxs)(k6, {+ children: /* @__PURE__ */ (0, x.jsxs)(O6, {data: m,nameKey: "slice",- config: c3e(c.map((e) => e.name)),+ config: u3e(c.map((e) => e.name)),max: p,innerRadius: "22%",className: "aspect-auto h-75 max-sm:h-65",- children: [/* @__PURE__ */ (0, x.jsx)(k6.RadialBar, {+ children: [/* @__PURE__ */ (0, x.jsx)(O6.RadialBar, {dataKey: "arc",- barSize: yAe(c.length),+ barSize: xAe(c.length),radialBarProps: {- shape: (e) => /* @__PURE__ */ (0, x.jsx)(hY, {+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(mY, {...e,opacity: l >= 0 && l !== e.index ? .3 : 1,className: "cursor-pointer transition-opacity duration-200"@@ -85261,7 +85281,7 @@ function U3e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {onClick: (e, t) => f(t),onMouseEnter: (e, t) => s(t)}- }), /* @__PURE__ */ (0, x.jsx)(C6, {+ }), /* @__PURE__ */ (0, x.jsx)(S6, {nameKey: "slice",valueKey: "value",hideLabel: !0@@ -85278,13 +85298,13 @@ function U3e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {onPointerLeave: () => s(-1),onFocus: () => s(t),onBlur: () => s(-1),- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${H3e[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 ${W3e[t % 6]}`,children: [/* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 max-w-full items-start gap-1.5 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, x.jsx)("i", {"aria-hidden": !0,- className: `mt-0.5 size-3 shrink-0 rounded-sm ${V3e[t % 6]}`+ className: `mt-0.5 size-3 shrink-0 rounded-sm ${U3e[t % 6]}`}), /* @__PURE__ */ (0, x.jsx)("span", {className: "min-w-0 wrap-anywhere",children: e.name@@ -85299,15 +85319,15 @@ function U3e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {children: Ut(e.bytes)})]- }, S6(t)))+ }, x6(t)))})]});}//#endregion//#region src/react/stats/stats-page.tsx-var W3e = 10, A6 = b6[5], G3e = b6[4], K3e = `${VO()} flex flex-col gap-4`, j6 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", q3e = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", J3e = "开始播放后,这里会显示最近的真实观看证据。", Y3e = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", X3e = "添加媒体文件夹后,这里会显示存储空间。", Z3e = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", Q3e = "探测时长后,这里会显示时长分布。", $3e = "探测画质后,这里会显示画质分布。", e6e = "开始播放后,这里会显示播放落在一周的哪些时段。", t6e = "开始播放后,这里会显示每个作品播了几次。", M6 = (e, t) => Math.min(Math.max(e, 0), t);-function N6({ term: e, value: t }) {+var K3e = 10, k6 = y6[5], q3e = y6[4], J3e = `${BO()} flex flex-col gap-4`, A6 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", Y3e = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", X3e = "开始播放后,这里会显示最近的真实观看证据。", Z3e = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", Q3e = "添加媒体文件夹后,这里会显示存储空间。", $3e = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", e6e = "探测时长后,这里会显示时长分布。", t6e = "探测画质后,这里会显示画质分布。", n6e = "开始播放后,这里会显示播放落在一周的哪些时段。", r6e = "开始播放后,这里会显示每个作品播了几次。", j6 = (e, t) => Math.min(Math.max(e, 0), t);+function M6({ term: e, value: t }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",children: [/* @__PURE__ */ (0, x.jsx)("span", {@@ -85315,11 +85335,11 @@ function N6({ term: e, value: t }) {children: e}), /* @__PURE__ */ (0, x.jsx)("b", {className: "text-title-3-medium tabular-nums text-text-primary",- children: YV(t)+ children: JV(t)})]});}-function P6({ term: e, value: t, total: n }) {+function N6({ term: e, value: t, total: n }) {let r = Math.max(n, 1);return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",@@ -85327,19 +85347,19 @@ function P6({ term: e, value: t, total: n }) {className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",children: [/* @__PURE__ */ (0, x.jsx)("span", { children: e }), /* @__PURE__ */ (0, x.jsxs)("b", {className: "tabular-nums",- children: [YV(t), JV(t) ? /* @__PURE__ */ (0, x.jsx)("span", {+ children: [JV(t), qV(t) ? /* @__PURE__ */ (0, x.jsx)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: XV(t, n)+ children: YV(t, n)}) : null]})]- }), /* @__PURE__ */ (0, x.jsx)(KO, {- label: `${e}:${YV(t)} / ${n.toLocaleString()}`,- value: JV(t) ? M6(t, r) : 0,+ }), /* @__PURE__ */ (0, x.jsx)(GO, {+ label: `${e}:${JV(t)} / ${n.toLocaleString()}`,+ value: qV(t) ? j6(t, r) : 0,max: r})]});}-function F6({ term: e, figure: t, unit: n }) {+function P6({ term: e, figure: t, unit: n }) {return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-64 md:pr-6 md:pb-0",children: [@@ -85358,31 +85378,31 @@ function F6({ term: e, figure: t, unit: n }) {]});}-function I6({ headline: e, children: t }) {+function F6({ headline: e, children: t }) {return /* @__PURE__ */ (0, x.jsxs)("div", {- className: `${K3e} md:flex-row md:gap-6`,+ className: `${J3e} md:flex-row md:gap-6`,children: [e, /* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-0 grow",children: t})]});}-function n6e({ data: e, configurable: t, openMediaSettings: n }) {+function i6e({ data: e, configurable: t, openMediaSettings: n }) {return e.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "inline-grid w-full gap-5 md:grid-cols-2",- children: [/* @__PURE__ */ (0, x.jsx)(U3e, {+ children: [/* @__PURE__ */ (0, x.jsx)(G3e, {title: "网盘与本地",- empty: j6,+ empty: A6,rows: e.by_loc.map((e) => ({name: Yt[e.k] ?? e.k,value: e.videos,bytes: e.bytes}))- }), /* @__PURE__ */ (0, x.jsx)(U3e, {+ }), /* @__PURE__ */ (0, x.jsx)(G3e, {title: "媒体库",- empty: Z3e,+ empty: $3e,rows: e.by_library.map((e) => ({name: e.name,value: e.videos,@@ -85392,52 +85412,52 @@ function n6e({ data: e, configurable: t, openMediaSettings: n }) {}), /* @__PURE__ */ (0, x.jsxs)("div", {className: "inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3",children: [- /* @__PURE__ */ (0, x.jsx)(T6, {+ /* @__PURE__ */ (0, x.jsx)(w6, {title: "时长",unit: "个视频",series: "视频",- color: A6,- rows: CAe(e.by_length),- empty: Q3e+ color: k6,+ rows: TAe(e.by_length),+ empty: e6e}),- /* @__PURE__ */ (0, x.jsx)(T6, {+ /* @__PURE__ */ (0, x.jsx)(w6, {title: "画质",unit: "个视频",series: "视频",- color: A6,- rows: eH(e.by_quality),- empty: $3e+ color: k6,+ rows: $V(e.by_quality),+ empty: t6e}),- /* @__PURE__ */ (0, x.jsx)(T6, {+ /* @__PURE__ */ (0, x.jsx)(w6, {title: "文件类型",unit: "个条目",series: "条目",- color: A6,+ color: k6,layout: "horizontal",- rows: xAe(e.by_medium),- empty: j6+ rows: CAe(e.by_medium),+ empty: A6})]})]- }) : /* @__PURE__ */ (0, x.jsx)(HO, {+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: yde,+ icon: bde,title: "还没有视频",actions: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [t ? /* @__PURE__ */ (0, x.jsx)(W, {size: "small",onClick: n,children: "添加媒体文件夹"- }) : null, /* @__PURE__ */ (0, x.jsx)(BO, {+ }) : null, /* @__PURE__ */ (0, x.jsx)(zO, {variant: "secondary",href: "/follow-manage?tab=add",size: "small",children: "添加关注"})] }),- children: j6+ children: A6});}-function r6e({ data: e }) {- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(w3e, {+function a6e({ data: e }) {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(E3e, {activity: e.play_activity,title: "播放时间",dailyTitle: "每日播放",@@ -85447,42 +85467,42 @@ function r6e({ data: e }) {cellUnit: "个作品"},tone: 5,- empty: e6e- }), /* @__PURE__ */ (0, x.jsx)(T6, {+ empty: n6e+ }), /* @__PURE__ */ (0, x.jsx)(w6, {title: "播放次数",unit: "个作品",series: "作品",- color: G3e,- rows: TAe(e.replays),- empty: t6e+ color: q3e,+ rows: DAe(e.replays),+ empty: r6e})] });}-function i6e({ attribution: e }) {+function o6e({ attribution: e }) {let t = e.videos;return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col",children: [- /* @__PURE__ */ (0, x.jsx)(P6, {+ /* @__PURE__ */ (0, x.jsx)(N6, {term: "有创作者",value: e.creator,total: t}),- /* @__PURE__ */ (0, x.jsx)(P6, {+ /* @__PURE__ */ (0, x.jsx)(N6, {term: "有番号",value: e.code,total: t}),- /* @__PURE__ */ (0, x.jsx)(P6, {+ /* @__PURE__ */ (0, x.jsx)(N6, {term: "有厂牌",value: e.studio,total: t}),- /* @__PURE__ */ (0, x.jsx)(P6, {+ /* @__PURE__ */ (0, x.jsx)(N6, {term: "已抽帧",value: e.thumb,total: t}),- /* @__PURE__ */ (0, x.jsx)(P6, {+ /* @__PURE__ */ (0, x.jsx)(N6, {term: "已探测时长",value: e.duration,total: t@@ -85490,7 +85510,7 @@ function i6e({ attribution: e }) {]});}-function a6e({ volume: e }) {+function s6e({ volume: e }) {let t = e.total, n = e.used ?? 0;return /* @__PURE__ */ (0, x.jsxs)("article", {className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",@@ -85507,13 +85527,13 @@ function a6e({ volume: e }) {className: "whitespace-nowrap tabular-nums",children: [Ut(n), /* @__PURE__ */ (0, x.jsx)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: XV(n, t)+ children: YV(n, t)})]})]}),- t == null ? null : /* @__PURE__ */ (0, x.jsx)(KO, {+ t == null ? null : /* @__PURE__ */ (0, x.jsx)(GO, {label: `${e.label}空间使用率`,- value: M6(n, Math.max(t, 1)),+ value: j6(n, Math.max(t, 1)),max: Math.max(t, 1)}),/* @__PURE__ */ (0, x.jsxs)("p", {@@ -85529,25 +85549,25 @@ function a6e({ volume: e }) {]});}-function o6e({ volumes: e, configurable: t, openMediaSettings: n }) {+function c6e({ volumes: e, configurable: t, openMediaSettings: n }) {return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "flex flex-col",- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(a6e, { volume: e }, `${e.kind}:${e.label}`))- }) : /* @__PURE__ */ (0, x.jsx)(HO, {+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(s6e, { volume: e }, `${e.kind}:${e.label}`))+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: cO,+ icon: sO,title: "还没有存储来源",actions: t ? /* @__PURE__ */ (0, x.jsx)(W, {size: "small",onClick: n,children: "添加媒体文件夹"}) : void 0,- children: X3e+ children: Q3e});}-function s6e({ tags: e, tagLabel: t, onTag: n }) {- return e.length ? /* @__PURE__ */ (0, x.jsx)(T3e, {- previewCount: W3e,+function l6e({ tags: e, tagLabel: t, onTag: n }) {+ return e.length ? /* @__PURE__ */ (0, x.jsx)(D3e, {+ previewCount: K3e,className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)("li", {className: "min-w-0",@@ -85571,24 +85591,24 @@ function s6e({ tags: e, tagLabel: t, onTag: n }) {]})}, `${e.k}:${r}`))- }) : /* @__PURE__ */ (0, x.jsx)(HO, {+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: uO,+ icon: lO,title: "还没有内容标签",- actions: /* @__PURE__ */ (0, x.jsx)(BO, {+ actions: /* @__PURE__ */ (0, x.jsx)(zO, {variant: "secondary",href: "/data-cleanup",size: "small",children: "补全资料"}),- children: q3e+ children: Y3e});}-function c6e({ rows: e }) {+function u6e({ rows: e }) {return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "flex flex-col gap-5",children: e.map((e) => {- let t = QV(e);+ let t = ZV(e);return /* @__PURE__ */ (0, x.jsxs)("article", {className: "flex flex-wrap items-center gap-x-6 gap-y-2",children: [/* @__PURE__ */ (0, x.jsxs)("div", {@@ -85596,7 +85616,7 @@ function c6e({ rows: e }) {children: [/* @__PURE__ */ (0, x.jsx)("h3", {className: "min-w-0 text-body-2-medium text-text-primary",children: /* @__PURE__ */ (0, x.jsx)("a", {- href: hAe(e),+ href: _Ae(e),"data-middle-truncate": !0,className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",children: e.name@@ -85606,34 +85626,34 @@ function c6e({ rows: e }) {children: [e.creator ? /* @__PURE__ */ (0, x.jsx)("span", {className: "min-w-0 wrap-anywhere",children: e.creator- }) : null, /* @__PURE__ */ (0, x.jsx)("span", { children: mAe(e) })]+ }) : null, /* @__PURE__ */ (0, x.jsx)("span", { children: gAe(e) })]})]}), /* @__PURE__ */ (0, x.jsxs)("div", {className: "min-w-0 basis-40",- children: [/* @__PURE__ */ (0, x.jsx)(KO, {+ children: [/* @__PURE__ */ (0, x.jsx)(GO, {label: `真实观看 ${t.toFixed(0)}%`,value: t}), /* @__PURE__ */ (0, x.jsx)("small", {className: "mt-1.5 block text-caption-1-regular text-text-secondary",- children: `真实 ${t.toFixed(0)}% · 到达 ${$V(e).toFixed(0)}%`+ children: `真实 ${t.toFixed(0)}% · 到达 ${QV(e).toFixed(0)}%`})]})]}, `${e.kind}:${e.id}`);})- }) : /* @__PURE__ */ (0, x.jsx)(HO, {+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: lO,+ icon: cO,title: "还没有观看记录",- actions: /* @__PURE__ */ (0, x.jsx)(BO, {+ actions: /* @__PURE__ */ (0, x.jsx)(zO, {variant: "secondary",href: "/",size: "small",children: "浏览馆藏"}),- children: J3e+ children: X3e});}-function l6e({ sources: e, videos: t }) {+function d6e({ sources: e, videos: t }) {return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("article", {@@ -85652,9 +85672,9 @@ function l6e({ sources: e, videos: t }) {})]})]}),- /* @__PURE__ */ (0, x.jsx)(KO, {+ /* @__PURE__ */ (0, x.jsx)(GO, {label: `${e.k} 覆盖视频`,- value: M6(e.assets, Math.max(t, 1)),+ value: j6(e.assets, Math.max(t, 1)),max: Math.max(t, 1)}),/* @__PURE__ */ (0, x.jsxs)("small", {@@ -85663,27 +85683,27 @@ function l6e({ sources: e, videos: t }) {})]}, e.k))- }) : /* @__PURE__ */ (0, x.jsx)(HO, {+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: uO,+ icon: lO,title: "还没有标签来源",- actions: /* @__PURE__ */ (0, x.jsx)(BO, {+ actions: /* @__PURE__ */ (0, x.jsx)(zO, {variant: "secondary",href: "/data-cleanup",size: "small",children: "补全资料"}),- children: Y3e+ children: Z3e});}-function L6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {- return /* @__PURE__ */ (0, x.jsx)(lj, {+function I6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {+ return /* @__PURE__ */ (0, x.jsx)(cj, {id: e,- className: FN({+ className: PN({interactive: !0,selectable: !0}),- children: /* @__PURE__ */ (0, x.jsx)(zN, {+ children: /* @__PURE__ */ (0, x.jsx)(RN, {label: t,icon: i,accent: a,@@ -85692,139 +85712,139 @@ function L6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {})});}-function u6e(e) {+function f6e(e) {let t = dt({- queryKey: KV,- queryFn: ({ signal: e }) => qV(e)+ queryKey: GV,+ queryFn: ({ signal: e }) => KV(e)}), n = t.data;- if (!n) return /* @__PURE__ */ (0, x.jsx)(WO, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ if (!n) return /* @__PURE__ */ (0, x.jsx)(UO, { children: /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",title: "馆藏统计读取失败",children: t.error ? z(t.error) : "未取得统计数据,请刷新页面重试。"}) });- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = JV(n.tag_cov) ? XV(n.tag_cov, n.attribution.videos) : "未取得", c = `${YV(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;- return /* @__PURE__ */ (0, x.jsxs)(WO, { 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 = qV(n.tag_cov) ? YV(n.tag_cov, n.attribution.videos) : "未取得", c = `${JV(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;+ return /* @__PURE__ */ (0, x.jsxs)(UO, { children: [/* @__PURE__ */ (0, x.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${Ut(o)}`}),- /* @__PURE__ */ (0, x.jsxs)(sj, {+ /* @__PURE__ */ (0, x.jsxs)(oj, {defaultSelectedKey: "inventory",className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, x.jsxs)(cj, {+ /* @__PURE__ */ (0, x.jsxs)(sj, {"aria-label": "统计视图",- className: IN,+ className: FN,children: [- /* @__PURE__ */ (0, x.jsx)(L6, {+ /* @__PURE__ */ (0, x.jsx)(I6, {id: "inventory",label: "馆藏视频",- icon: aO,+ icon: iO,accent: 0,figure: a.toLocaleString(),detail: Ut(o)}),- /* @__PURE__ */ (0, x.jsx)(L6, {+ /* @__PURE__ */ (0, x.jsx)(I6, {id: "viewing",label: "看过",- icon: Que,+ icon: $ue,accent: 1,- figure: YV(r.played),- detail: ZV(r.play_seconds)+ figure: JV(r.played),+ detail: XV(r.play_seconds)}),- /* @__PURE__ */ (0, x.jsx)(L6, {+ /* @__PURE__ */ (0, x.jsx)(I6, {id: "coverage",label: "内容标签",- icon: uO,+ icon: lO,accent: 2,figure: s,detail: c}),- /* @__PURE__ */ (0, x.jsx)(L6, {+ /* @__PURE__ */ (0, x.jsx)(I6, {id: "storage",label: "使用空间",- icon: cO,+ icon: sO,accent: 3,figure: `${i.online.toLocaleString()} 个卷`,detail: i.measured ? `已用 ${Ut(i.used)}` : "容量未取得"})]}),- /* @__PURE__ */ (0, x.jsx)(uj, {+ /* @__PURE__ */ (0, x.jsx)(lj, {id: "inventory",- children: /* @__PURE__ */ (0, x.jsx)(n6e, {+ children: /* @__PURE__ */ (0, x.jsx)(i6e, {data: n,...e})}),- /* @__PURE__ */ (0, x.jsxs)(uj, {+ /* @__PURE__ */ (0, x.jsxs)(lj, {id: "viewing",className: "flex flex-col gap-5",- children: [/* @__PURE__ */ (0, x.jsx)(I6, {- headline: /* @__PURE__ */ (0, x.jsx)(F6, {+ children: [/* @__PURE__ */ (0, x.jsx)(F6, {+ headline: /* @__PURE__ */ (0, x.jsx)(P6, {term: "观看",- figure: YV(r.played),+ figure: JV(r.played),unit: "个作品有播放记录"}),children: /* @__PURE__ */ (0, x.jsxs)("div", {className: "inline-grid w-full gap-3 sm:grid-cols-2",children: [- /* @__PURE__ */ (0, x.jsx)(N6, {+ /* @__PURE__ */ (0, x.jsx)(M6, {term: "馆藏观看",value: r.library_played}),- /* @__PURE__ */ (0, x.jsx)(N6, {+ /* @__PURE__ */ (0, x.jsx)(M6, {term: "在线直接观看",value: r.online_played}),- /* @__PURE__ */ (0, x.jsx)(N6, {+ /* @__PURE__ */ (0, x.jsx)(M6, {term: "高潮计数",value: r.o_total}),- /* @__PURE__ */ (0, x.jsx)(N6, {+ /* @__PURE__ */ (0, x.jsx)(M6, {term: "快进扫过",value: r.skimmed}),- /* @__PURE__ */ (0, x.jsx)(N6, {+ /* @__PURE__ */ (0, x.jsx)(M6, {term: "喜欢",value: r.liked}),- /* @__PURE__ */ (0, x.jsx)(N6, {+ /* @__PURE__ */ (0, x.jsx)(M6, {term: "明确不喜欢",value: r.dislike}),- /* @__PURE__ */ (0, x.jsx)(N6, {+ /* @__PURE__ */ (0, x.jsx)(M6, {term: "看过了",value: r.seen}),- /* @__PURE__ */ (0, x.jsx)(N6, {+ /* @__PURE__ */ (0, x.jsx)(M6, {term: "回收站",value: r.trash})]})- }), /* @__PURE__ */ (0, x.jsx)(r6e, { data: n })]+ }), /* @__PURE__ */ (0, x.jsx)(a6e, { data: n })]}),- /* @__PURE__ */ (0, x.jsx)(uj, {+ /* @__PURE__ */ (0, x.jsx)(lj, {id: "coverage",- children: /* @__PURE__ */ (0, x.jsx)(I6, {- headline: /* @__PURE__ */ (0, x.jsx)(F6, {+ children: /* @__PURE__ */ (0, x.jsx)(F6, {+ headline: /* @__PURE__ */ (0, x.jsx)(P6, {term: "内容标签覆盖",figure: s,unit: c}),- children: /* @__PURE__ */ (0, x.jsx)(i6e, { attribution: n.attribution })+ children: /* @__PURE__ */ (0, x.jsx)(o6e, { attribution: n.attribution })})}),- /* @__PURE__ */ (0, x.jsx)(uj, {+ /* @__PURE__ */ (0, x.jsx)(lj, {id: "storage",- children: /* @__PURE__ */ (0, x.jsx)(I6, {- headline: /* @__PURE__ */ (0, x.jsx)(F6, {+ children: /* @__PURE__ */ (0, x.jsx)(F6, {+ headline: /* @__PURE__ */ (0, x.jsx)(P6, {term: "使用空间",figure: i.measured.toLocaleString(),unit: "个卷已取得容量"}),- children: /* @__PURE__ */ (0, x.jsx)(o6e, {+ children: /* @__PURE__ */ (0, x.jsx)(c6e, {volumes: n.storage_volumes,...e})@@ -85832,51 +85852,51 @@ function u6e(e) {})]}),- /* @__PURE__ */ (0, x.jsxs)(sj, {+ /* @__PURE__ */ (0, x.jsxs)(oj, {defaultSelectedKey: "tags",- className: `${VO({ padding: "none" })} flex flex-col`,+ className: `${BO({ padding: "none" })} flex flex-col`,children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "px-4 pt-3",- children: /* @__PURE__ */ (0, x.jsxs)(fj, {+ children: /* @__PURE__ */ (0, x.jsxs)(dj, {"aria-label": "统计维度",- className: mj,+ className: pj,children: [- /* @__PURE__ */ (0, x.jsx)(lj, {+ /* @__PURE__ */ (0, x.jsx)(cj, {id: "tags",- className: hj,+ className: mj,children: "内容标签"}),- /* @__PURE__ */ (0, x.jsx)(lj, {+ /* @__PURE__ */ (0, x.jsx)(cj, {id: "recent",- className: hj,+ className: mj,children: "最近看过"}),- /* @__PURE__ */ (0, x.jsx)(lj, {+ /* @__PURE__ */ (0, x.jsx)(cj, {id: "sources",- className: hj,+ className: mj,children: "标签来源"})]})}),- /* @__PURE__ */ (0, x.jsx)(uj, {+ /* @__PURE__ */ (0, x.jsx)(lj, {id: "tags",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, x.jsx)(s6e, {+ children: /* @__PURE__ */ (0, x.jsx)(l6e, {tags: n.top_tags,...e})}),- /* @__PURE__ */ (0, x.jsx)(uj, {+ /* @__PURE__ */ (0, x.jsx)(lj, {id: "recent",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, x.jsx)(c6e, { rows: n.recent })+ children: /* @__PURE__ */ (0, x.jsx)(u6e, { rows: n.recent })}),- /* @__PURE__ */ (0, x.jsx)(uj, {+ /* @__PURE__ */ (0, x.jsx)(lj, {id: "sources",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, x.jsx)(l6e, {+ children: /* @__PURE__ */ (0, x.jsx)(d6e, {sources: n.tag_source,videos: n.attribution.videos})@@ -85887,66 +85907,66 @@ function u6e(e) {}//#endregion//#region node_modules/d3-sankey/src/align.js-function d6e(e, t) {+function p6e(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}//#endregion//#region node_modules/d3-sankey/src/constant.js-function R6(e) {+function L6(e) {return function() {return e;};}//#endregion//#region node_modules/d3-sankey/src/sankey.js-function f6e(e, t) {- return z6(e.source, t.source) || e.index - t.index;+function m6e(e, t) {+ return R6(e.source, t.source) || e.index - t.index;}-function p6e(e, t) {- return z6(e.target, t.target) || e.index - t.index;+function h6e(e, t) {+ return R6(e.target, t.target) || e.index - t.index;}-function z6(e, t) {+function R6(e, t) {return e.y0 - t.y0;}-function B6(e) {+function z6(e) {return e.value;}-function m6e(e) {+function g6e(e) {return e.index;}-function h6e(e) {+function _6e(e) {return e.nodes;}-function g6e(e) {+function v6e(e) {return e.links;}-function _6e(e, t) {+function y6e(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function v6e({ nodes: e }) {+function b6e({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function y6e() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = m6e, c = d6e, l, u, d = h6e, f = g6e, p = 6;+function x6e() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = g6e, c = p6e, l, u, d = _6e, f = v6e, p = 6;function m() {let e = {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), v6e(e), e;+ return h(e), g(e), _(e), v(e), x(e), b6e(e), e;}m.update = function(e) {- return v6e(e), e;+ return b6e(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : R6(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : L6(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : R6(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : L6(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -85954,9 +85974,9 @@ function y6e() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : R6(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : L6(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : R6(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : L6(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -85972,12 +85992,12 @@ function y6e() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = _6e(n, t)), typeof i != "object" && (i = r.target = _6e(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = y6e(n, t)), typeof i != "object" && (i = r.target = y6e(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);}if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);}function g({ nodes: e }) {- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(BX(t.sourceLinks, B6), BX(t.targetLinks, B6)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(zX(t.sourceLinks, z6), zX(t.targetLinks, z6)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -86002,7 +86022,7 @@ function y6e() {}}function y({ nodes: t }) {- let r = IX(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = FX(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);for (let n of t) {let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];@@ -86011,7 +86031,7 @@ function y6e() {return o;}function b(e) {- let n = LX(e, (e) => (r - t - (e.length - 1) * o) / BX(e, B6));+ let n = IX(e, (e) => (r - t - (e.length - 1) * o) / zX(e, z6));for (let i of e) {let e = t;for (let t of i) {@@ -86028,7 +86048,7 @@ function y6e() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (IX(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (FX(n, (e) => e.length) - 1)), b(n);for (let e = 0; e < p; ++e) {let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);C(n, t, r), S(n, t, r);@@ -86047,7 +86067,7 @@ function y6e() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(z6), w(i, n);+ l === void 0 && i.sort(R6), w(i, n);}}function C(e, t, n) {@@ -86063,7 +86083,7 @@ function y6e() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(z6), w(i, n);+ l === void 0 && i.sort(R6), w(i, n);}}function w(e, n) {@@ -86084,12 +86104,12 @@ function y6e() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(p6e);- for (let { target: { targetLinks: t } } of e) t.sort(f6e);+ for (let { source: { sourceLinks: e } } of t) e.sort(h6e);+ for (let { target: { targetLinks: t } } of e) t.sort(m6e);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(p6e), n.sort(f6e);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(h6e), n.sort(m6e);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -86119,15 +86139,15 @@ function y6e() {}//#endregion//#region node_modules/d3-path/src/path.js-var V6 = Math.PI, H6 = 2 * V6, U6 = 1e-6, b6e = H6 - U6;-function W6() {+var B6 = Math.PI, V6 = 2 * B6, H6 = 1e-6, S6e = V6 - H6;+function U6() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function x6e() {- return new W6();+function C6e() {+ return new U6();}-W6.prototype = x6e.prototype = {- constructor: W6,+U6.prototype = C6e.prototype = {+ constructor: U6,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -86148,11 +86168,11 @@ W6.prototype = x6e.prototype = {var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (i < 0) throw Error("negative radius: " + i);if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);- else if (d > U6) {- if (!(Math.abs(u * s - c * l) > U6) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > H6) {+ if (!(Math.abs(u * s - c * l) > H6) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);else {- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((V6 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > U6 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((B6 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > H6 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);}}},@@ -86160,7 +86180,7 @@ W6.prototype = x6e.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) > U6 || Math.abs(this._y1 - l) > U6) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % H6 + H6), d > b6e ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > U6 && (this._ += "A" + n + "," + n + ",0," + +(d >= V6) + "," + 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) > H6 || Math.abs(this._y1 - l) > H6) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % V6 + V6), d > S6e ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > H6 && (this._ += "A" + n + "," + n + ",0," + +(d >= B6) + "," + 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";@@ -86171,90 +86191,90 @@ W6.prototype = x6e.prototype = {};//#endregion//#region node_modules/d3-shape/src/constant.js-function S6e(e) {+function w6e(e) {return function() {return e;};}//#endregion//#region node_modules/d3-shape/src/point.js-function C6e(e) {+function T6e(e) {return e[0];}-function w6e(e) {+function E6e(e) {return e[1];}//#endregion//#region node_modules/d3-shape/src/array.js-var T6e = Array.prototype.slice;+var D6e = Array.prototype.slice;//#endregion//#region node_modules/d3-shape/src/link/index.js-function E6e(e) {+function O6e(e) {return e.source;}-function D6e(e) {+function k6e(e) {return e.target;}-function O6e(e) {- var t = E6e, n = D6e, r = C6e, i = w6e, a = null;+function A6e(e) {+ var t = O6e, n = k6e, r = T6e, i = E6e, a = null;function o() {- var o, s = T6e.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = x6e(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ var o, s = D6e.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = C6e(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;}return o.source = function(e) {return arguments.length ? (t = e, o) : t;}, o.target = function(e) {return arguments.length ? (n = e, o) : n;}, o.x = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : S6e(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : w6e(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : S6e(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : w6e(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function k6e(e, t, n, r, i) {+function j6e(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function A6e() {- return O6e(k6e);+function M6e() {+ return A6e(j6e);}//#endregion//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function j6e(e) {+function N6e(e) {return [e.source.x1, e.y0];}-function M6e(e) {+function P6e(e) {return [e.target.x0, e.y1];}-function N6e() {- return A6e().source(j6e).target(M6e);+function F6e() {+ return M6e().source(N6e).target(P6e);}//#endregion//#region src/react/taste/taste.ts-var P6e = "/api/taste", F6e = "/api/taste/refresh", I6e = "/api/taste/import", L6e = "/api/taste/source", G6 = (e) => ["taste", e], R6e = ["taste", "refresh"], z6e = [+var I6e = "/api/taste", L6e = "/api/taste/refresh", R6e = "/api/taste/import", z6e = "/api/taste/source", W6 = (e) => ["taste", e], B6e = ["taste", "refresh"], V6e = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], B6e = (e, t) => nn(`${P6e}?window=${e}`, t), V6e = (e) => nn(F6e, e);-async function H6e(e, t) {+], H6e = (e, t) => nn(`${I6e}?window=${e}`, t), U6e = (e) => nn(L6e, e);+async function W6e(e, t) {await V.fetchQuery({- queryKey: G6(e),- queryFn: () => B6e(e, t)+ queryKey: W6(e),+ queryFn: () => H6e(e, t)});}-var U6e = (e) => B(F6e, {+var G6e = (e) => B(L6e, {window: e,background: !0-}), W6e = (e, t) => B(L6e, {+}), K6e = (e, t) => B(z6e, {operation: "remove",source_key: e,window: t});-async function G6e(e) {- let t = await fetch(I6e, {+async function q6e(e) {+ let t = await fetch(R6e, {method: "POST",credentials: "same-origin",headers: {@@ -86272,47 +86292,47 @@ async function G6e(e) {}return n;}-var K6e = 1e4, K6 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function q6e(e) {+var J6e = 1e4, G6 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function Y6e(e) {let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;- return !e.range_start && !e.range_end ? t : `${t} · ${K6(e.range_start)}—${K6(e.range_end)}`;+ return !e.range_start && !e.range_end ? t : `${t} · ${G6(e.range_start)}—${G6(e.range_end)}`;}-var J6e = ZV, Y6e = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), X6e = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function Z6e(e) {+var X6e = XV, Z6e = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), Q6e = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function $6e(e) {if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();let t = [];return e.web_visits && t.push(`浏览 ${Number(e.web_visits).toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");}-function Q6e(e) {- let t = e.map(X6e), n = Math.max(1, ...t);+function e8e(e) {+ let t = e.map(Q6e), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var $6e = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var t8e = (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 e8e(e) {- let t = $6e(e, 6);+function n8e(e) {+ let t = t8e(e, 6);return t.length < 3 ? [] : t;}-var t8e = {+var r8e = {width: 720,height: 435-}, n8e = {+}, i8e = {source: 145,target: 545-}, r8e = 30, i8e = 240;-function a8e(e, t, n) {+}, a8e = 30, o8e = 240;+function s8e(e, t, n) {let r = /* @__PURE__ */ new Map();for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);if (r.size <= 12) return (e) => e;let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);return (e) => a.has(e) ? e : o;}-function o8e(e = []) {+function c8e(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = a8e(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = a8e(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = s8e(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = s8e(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();for (let e of t) {let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);s ? s.value += e.value : i.set(o, {@@ -86321,7 +86341,7 @@ function o8e(e = []) {value: e.value});}- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * r8e + i8e), u = y6e().nodeId((e) => e.id).nodeWidth(10).nodePadding(r8e).extent([[155, 16], [535, l]])({+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * a8e + o8e), u = x6e().nodeId((e) => e.id).nodeWidth(10).nodePadding(a8e).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -86336,7 +86356,7 @@ function o8e(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = N6e();+ }), d = a.reduce((e, t) => e + t.value, 0), f = F6e();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -86364,14 +86384,14 @@ function o8e(e = []) {};}),total: d,- height: l + t8e.height - 404+ height: l + r8e.height - 404};}-var s8e = (e) => Jt(e, 17), c8e = b.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {+var l8e = (e) => Jt(e, 17), u8e = b.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {let c = b.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;if (e === void 0 || t === void 0) return null;switch (o) {- case "border": return /* @__PURE__ */ (0, x.jsx)(u8e, {+ case "border": return /* @__PURE__ */ (0, x.jsx)(f8e, {cx: e,cy: t,dotId: c,@@ -86380,7 +86400,7 @@ var s8e = (e) => Jt(e, 17), c8e = b.memo(function({ cx: e, cy: t, dataKey: n, chclassName: i,maskId: s});- case "colored-border": return /* @__PURE__ */ (0, x.jsx)(d8e, {+ case "colored-border": return /* @__PURE__ */ (0, x.jsx)(p8e, {cx: e,cy: t,dotId: c,@@ -86389,7 +86409,7 @@ var s8e = (e) => Jt(e, 17), c8e = b.memo(function({ cx: e, cy: t, dataKey: n, chclassName: i,maskId: s});- default: return /* @__PURE__ */ (0, x.jsx)(l8e, {+ default: return /* @__PURE__ */ (0, x.jsx)(d8e, {cx: e,cy: t,dotId: c,@@ -86399,7 +86419,7 @@ var s8e = (e) => Jt(e, 17), c8e = b.memo(function({ cx: e, cy: t, dataKey: n, chmaskId: s});}-}), l8e = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {+}), d8e = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {className: a,mask: o ? `url(#${o})` : void 0,children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)("clipPath", {@@ -86419,9 +86439,9 @@ var s8e = (e) => Jt(e, 17), c8e = b.memo(function({ cx: e, cy: t, dataKey: n, chclipPath: `url(#dot-clip-${n})`})]}));-l8e.displayName = "DefaultDot";-var u8e = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {- className: $3(a, "text-background"),+d8e.displayName = "DefaultDot";+var f8e = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {+ className: Q3(a, "text-background"),mask: o ? `url(#${o})` : void 0,children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)("clipPath", {@@ -86457,9 +86477,9 @@ var u8e = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas}) })]}));-u8e.displayName = "PrimaryBorderDot";-var d8e = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {- className: $3(a, "text-background"),+f8e.displayName = "PrimaryBorderDot";+var p8e = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {+ className: Q3(a, "text-background"),mask: o ? `url(#${o})` : void 0,children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)("clipPath", {@@ -86487,17 +86507,17 @@ var d8e = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas})]}));-d8e.displayName = "ColoredBorderDot";+p8e.displayName = "ColoredBorderDot";//#endregion//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx-var f8e = 1, p8e = .3, m8e = 6, h8e = 1500, g8e = "value", _8e = (0, b.createContext)(null);-function q6() {- let e = (0, b.use)(_8e);+var m8e = 1, h8e = .3, g8e = 6, _8e = 1500, v8e = "value", y8e = (0, b.createContext)(null);+function K6() {+ let e = (0, b.use)(y8e);if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");return e;}-function J6({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {- let u = (0, b.useId)().replace(/:/g, ""), [d, f] = (0, b.useState)(o), p = M8e(c, l), m = (0, b.useCallback)((e) => {+function q6({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {+ let u = (0, b.useId)().replace(/:/g, ""), [d, f] = (0, b.useState)(o), p = P8e(c, l), m = (0, b.useCallback)((e) => {f(e), s?.(e);}, [s]), h = (0, b.useMemo)(() => ({config: e,@@ -86510,37 +86530,37 @@ function J6({ config: e, data: t, children: n, className: r, chartProps: i, backd,m]);- return /* @__PURE__ */ (0, x.jsx)(_8e, {+ return /* @__PURE__ */ (0, x.jsx)(y8e, {value: h,- children: /* @__PURE__ */ (0, x.jsxs)(n6, {+ children: /* @__PURE__ */ (0, x.jsxs)(t6, {className: r,config: e,- children: [/* @__PURE__ */ (0, x.jsx)(r6, { isLoading: c }), /* @__PURE__ */ (0, x.jsxs)(Z2e, {+ children: [/* @__PURE__ */ (0, x.jsx)(n6, { isLoading: c }), /* @__PURE__ */ (0, x.jsxs)($2e, {id: u,data: c ? p : t,...i,children: [- a && /* @__PURE__ */ (0, x.jsx)(d6, { variant: a }),+ a && /* @__PURE__ */ (0, x.jsx)(u6, { variant: a }),n,- c && /* @__PURE__ */ (0, x.jsx)(N8e, {})+ c && /* @__PURE__ */ (0, x.jsx)(F8e, {})]})]})});}-function v8e({ dataKey: e, variant: t = "filled", fillOpacity: n = p8e, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {- let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = q6(), d = (0, b.useId)().replace(/:/g, "");+function b8e({ dataKey: e, variant: t = "filled", fillOpacity: n = h8e, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {+ let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = K6(), d = (0, b.useId)().replace(/:/g, "");if (c) return null;let f = i && l !== null && l !== e, p = {stroke: f ? .2 : 1,fill: f ? .1 : 1,dot: f ? .2 : 1- }, m = t === "filled", { dot: h, activeDot: g } = E8e(a, d, e, p.dot);- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(E4, {+ }, m = t === "filled", { dot: h, activeDot: g } = O8e(a, d, e, p.dot);+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(T4, {dataKey: e,stroke: `url(#${d}-radar-stroke-${e})`,strokeOpacity: p.stroke,- strokeWidth: f8e,+ strokeWidth: m8e,fill: m ? `url(#${d}-radar-fill-${e})` : "none",fillOpacity: m ? n * p.fill : 0,dot: h,@@ -86553,30 +86573,30 @@ function v8e({ dataKey: e, variant: t = "filled", fillOpacity: n = p8e, isGlowin},...o}), /* @__PURE__ */ (0, x.jsxs)("defs", { children: [- /* @__PURE__ */ (0, x.jsx)(D8e, {+ /* @__PURE__ */ (0, x.jsx)(k8e, {id: d,dataKey: e,config: s}),- /* @__PURE__ */ (0, x.jsx)(O8e, {+ /* @__PURE__ */ (0, x.jsx)(A8e, {id: d,dataKey: e,config: s}),- m && /* @__PURE__ */ (0, x.jsx)(k8e, {+ m && /* @__PURE__ */ (0, x.jsx)(j8e, {id: d,dataKey: e,config: s}),- r && /* @__PURE__ */ (0, x.jsx)(A8e, {+ r && /* @__PURE__ */ (0, x.jsx)(M8e, {id: d,dataKey: e})] })] });}-var y8e = () => null, b8e = () => null;-function x8e({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {- return /* @__PURE__ */ (0, x.jsx)(XGe, {+var x8e = () => null, S8e = () => null;+function C8e({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {+ return /* @__PURE__ */ (0, x.jsx)(QGe, {gridType: e,stroke: t,strokeOpacity: n,@@ -86584,47 +86604,47 @@ function x8e({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit...i});}-function S8e({ tick: e = {+function w8e({ tick: e = {fill: "currentColor",fontSize: 12}, tickLine: t = !1, ...n }) {- let { isLoading: r } = q6();- return r ? null : /* @__PURE__ */ (0, x.jsx)(X2, {+ let { isLoading: r } = K6();+ return r ? null : /* @__PURE__ */ (0, x.jsx)(Y2, {tick: e,tickLine: t,...n});}-function C8e({ tick: e = {+function T8e({ tick: e = {fill: "currentColor",fontSize: 10}, tickLine: t = !1, axisLine: n = !1, ...r }) {- let { isLoading: i } = q6();- return i ? null : /* @__PURE__ */ (0, x.jsx)(SKe, {+ let { isLoading: i } = K6();+ return i ? null : /* @__PURE__ */ (0, x.jsx)(wKe, {tick: e,tickLine: t,axisLine: n,...r});}-function w8e({ variant: e, roundness: t, defaultIndex: n }) {- let { isLoading: r, selectedDataKey: i } = q6();- return r ? null : /* @__PURE__ */ (0, x.jsx)(s6, {+function E8e({ variant: e, roundness: t, defaultIndex: n }) {+ let { isLoading: r, selectedDataKey: i } = K6();+ return r ? null : /* @__PURE__ */ (0, x.jsx)(o6, {defaultIndex: n,cursor: !1,- content: /* @__PURE__ */ (0, x.jsx)(o6, {+ content: /* @__PURE__ */ (0, x.jsx)(a6, {selected: i,roundness: t,variant: e})});}-function T8e({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {- let { isLoading: i, selectedDataKey: a, selectDataKey: o } = q6();- return i ? null : /* @__PURE__ */ (0, x.jsx)(l6, {+function D8e({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {+ let { isLoading: i, selectedDataKey: a, selectDataKey: o } = K6();+ return i ? null : /* @__PURE__ */ (0, x.jsx)(c6, {verticalAlign: n,align: t,- content: /* @__PURE__ */ (0, x.jsx)(c6, {+ content: /* @__PURE__ */ (0, x.jsx)(s6, {selected: a,onSelectChange: o,isClickable: r,@@ -86632,22 +86652,22 @@ function T8e({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC})});}-var E8e = (e, t, n, r) => {+var O8e = (e, t, n, r) => {let i = !1, a = !1;return b.Children.forEach(e, (e) => {if ((0, b.isValidElement)(e)) {- if (e.type === y8e) {+ if (e.type === x8e) {let { variant: a } = e.props;- i = /* @__PURE__ */ (0, x.jsx)(c8e, {+ i = /* @__PURE__ */ (0, x.jsx)(u8e, {type: a,dataKey: n,chartId: t,fillOpacity: r});}- if (e.type === b8e) {+ if (e.type === S8e) {let { variant: i } = e.props;- a = /* @__PURE__ */ (0, x.jsx)(c8e, {+ a = /* @__PURE__ */ (0, x.jsx)(u8e, {type: i,dataKey: n,chartId: t,@@ -86659,7 +86679,7 @@ var E8e = (e, t, n, r) => {dot: i,activeDot: a};-}, Y6 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("stop", {+}, J6 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("stop", {offset: "0%",stopColor: `var(--color-${e}-0)`,stopOpacity: n?.[0]@@ -86674,46 +86694,46 @@ var E8e = (e, t, n, r) => {stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,stopOpacity: n?.[i]}, a);-}) }), D8e = ({ id: e, dataKey: t, config: n }) => {- let r = a6(n[t] ?? {});+}) }), k8e = ({ id: e, dataKey: t, config: n }) => {+ let r = i6(n[t] ?? {});return /* @__PURE__ */ (0, x.jsx)("linearGradient", {id: `${e}-colors-${t}`,x1: "0",y1: "0",x2: "1",y2: "0",- children: /* @__PURE__ */ (0, x.jsx)(Y6, {+ children: /* @__PURE__ */ (0, x.jsx)(J6, {dataKey: t,colorsCount: r})});-}, O8e = ({ id: e, dataKey: t, config: n }) => {- let r = a6(n[t] ?? {});+}, A8e = ({ id: e, dataKey: t, config: n }) => {+ let r = i6(n[t] ?? {});return /* @__PURE__ */ (0, x.jsx)("linearGradient", {id: `${e}-radar-stroke-${t}`,x1: "0",y1: "0",x2: "1",y2: "1",- children: /* @__PURE__ */ (0, x.jsx)(Y6, {+ children: /* @__PURE__ */ (0, x.jsx)(J6, {dataKey: t,colorsCount: r})});-}, k8e = ({ id: e, dataKey: t, config: n }) => {- let r = a6(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);+}, j8e = ({ 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, x.jsx)("radialGradient", {id: `${e}-radar-fill-${t}`,cx: "50%",cy: "50%",r: "50%",- children: /* @__PURE__ */ (0, x.jsx)(Y6, {+ children: /* @__PURE__ */ (0, x.jsx)(J6, {dataKey: t,colorsCount: r,opacities: i})});-}, A8e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {+}, M8e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {id: `${e}-radar-glow-${t}`,x: "-50%",y: "-50%",@@ -86733,7 +86753,7 @@ var E8e = (e, t, n, r) => {}),/* @__PURE__ */ (0, x.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "SourceGraphic" })] })]-}), j8e = (e) => [+}), N8e = (e) => ["A","B","C",@@ -86742,20 +86762,20 @@ var E8e = (e, t, n, r) => {"F"].slice(0, e).map((e) => ({skill: e,- [g8e]: 30 + Math.random() * 70+ [v8e]: 30 + Math.random() * 70}));-function M8e(e, t = m8e) {+function P8e(e, t = g8e) {let [n, r] = (0, b.useState)(0);return (0, b.useEffect)(() => {if (!e) return;let t = setInterval(() => {r((e) => e + 1);- }, h8e);+ }, _8e);return () => clearInterval(t);- }, [e]), (0, b.useMemo)(() => j8e(t), [t, n]);+ }, [e]), (0, b.useMemo)(() => N8e(t), [t, n]);}-var N8e = () => /* @__PURE__ */ (0, x.jsx)(E4, {- dataKey: g8e,+var F8e = () => /* @__PURE__ */ (0, x.jsx)(T4, {+ dataKey: v8e,stroke: "currentColor",strokeOpacity: .3,strokeWidth: 2,@@ -86763,41 +86783,41 @@ var N8e = () => /* @__PURE__ */ (0, x.jsx)(E4, {fillOpacity: .1,dot: !1,isAnimationActive: !0,- animationDuration: h8e,+ animationDuration: _8e,animationEasing: "ease-in-out"});-J6.Radar = v8e, J6.Dot = y8e, J6.ActiveDot = b8e, J6.PolarGrid = x8e, J6.PolarAngleAxis = S8e, J6.PolarRadiusAxis = C8e, J6.Tooltip = w8e, J6.Legend = T8e;+q6.Radar = b8e, q6.Dot = x8e, q6.ActiveDot = S8e, q6.PolarGrid = C8e, q6.PolarAngleAxis = w8e, q6.PolarRadiusAxis = T8e, q6.Tooltip = E8e, q6.Legend = D8e;//#endregion//#region src/react/taste/charts.tsx-function P8e(e) {+function I8e(e) {let { x: t = 0, cx: n, textAnchor: r, payload: i, ...a } = e, o = String(i?.value ?? ""), s = typeof n == "number" ? n * 2 : 0, c = s ? r === "start" ? s - t : r === "end" ? t : 2 * Math.min(t, s - t) : 56;- return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(y2, {+ return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(v2, {...a,x: t,textAnchor: r,fill: "currentColor",fontSize: 12,- children: o3e(o, c - 4)+ children: c3e(o, c - 4)})] });}-var F8e = [+var L8e = ["stroke-chart-1","stroke-chart-2","stroke-chart-3","stroke-chart-4","stroke-chart-5","stroke-chart-6"-], I8e = [+], R8e = ["fill-chart-1","fill-chart-2","fill-chart-3","fill-chart-4","fill-chart-5","fill-chart-6"-], L8e = { value: {+], z8e = { value: {label: "标签命中",- colors: x6(b6[3])-} }, R8e = [+ colors: b6(y6[3])+} }, B8e = ["min-h-24","min-h-24","min-h-24",@@ -86807,51 +86827,51 @@ var F8e = ["min-h-52","min-h-60","min-h-64"-], z8e = 26, B8e = { radius: L8e.value }, V8e = (e, t) => Math.sqrt(e / t);-function H8e({ rows: e, label: t }) {- let n = e8e(e);+], V8e = 26, H8e = { radius: z8e.value }, U8e = (e, t) => Math.sqrt(e / t);+function W8e({ rows: e, label: t }) {+ let n = n8e(e);if (!n.length) return null;let r = n[0].value, i = n.map((e) => ({...e,- radius: V8e(e.value, r)+ radius: U8e(e.value, r)}));return /* @__PURE__ */ (0, x.jsx)("div", {role: "img","aria-label": `${t}:${i.map((e) => e.name).join(",")}`,- children: /* @__PURE__ */ (0, x.jsxs)(J6, {+ children: /* @__PURE__ */ (0, x.jsxs)(q6, {data: i,- config: B8e,+ config: H8e,chartProps: { outerRadius: "58%" },className: "aspect-auto h-70 text-text-secondary",children: [- /* @__PURE__ */ (0, x.jsx)(J6.PolarGrid, {}),- /* @__PURE__ */ (0, x.jsx)(J6.PolarAngleAxis, {+ /* @__PURE__ */ (0, x.jsx)(q6.PolarGrid, {}),+ /* @__PURE__ */ (0, x.jsx)(q6.PolarAngleAxis, {dataKey: "name",- tick: /* @__PURE__ */ (0, x.jsx)(P8e, {})+ tick: /* @__PURE__ */ (0, x.jsx)(I8e, {})}),- /* @__PURE__ */ (0, x.jsx)(J6.PolarRadiusAxis, {+ /* @__PURE__ */ (0, x.jsx)(q6.PolarRadiusAxis, {domain: [0, 1],allowDecimals: !0,tick: !1}),- /* @__PURE__ */ (0, x.jsx)(J6.Radar, { dataKey: "radius" }),- /* @__PURE__ */ (0, x.jsx)(C6, { valueKey: "value" })+ /* @__PURE__ */ (0, x.jsx)(q6.Radar, { dataKey: "radius" }),+ /* @__PURE__ */ (0, x.jsx)(S6, { valueKey: "value" })]})});}-function U8e({ rows: e, label: t }) {- let n = $6e(e, 8);+function G8e({ rows: e, label: t }) {+ let n = t8e(e, 8);return n.length ? /* @__PURE__ */ (0, x.jsx)("section", {"aria-label": t,- className: `flex grow flex-col ${R8e[n.length]}`,- children: /* @__PURE__ */ (0, x.jsxs)(p6, {+ className: `flex grow flex-col ${B8e[n.length]}`,+ children: /* @__PURE__ */ (0, x.jsxs)(f6, {data: n,- config: L8e,+ config: z8e,layout: "horizontal",barRadius: 4,chartProps: {- maxBarSize: z8e,+ maxBarSize: V8e,margin: {top: 5,right: 56,@@ -86861,37 +86881,37 @@ function U8e({ rows: e, label: t }) {},className: "aspect-auto text-text-secondary",children: [- /* @__PURE__ */ (0, x.jsx)(p6.YAxis, {+ /* @__PURE__ */ (0, x.jsx)(f6.YAxis, {dataKey: "name",interval: 0,- tick: /* @__PURE__ */ (0, x.jsx)(v6, { along: "y" }),- width: s3e(n.map((e) => e.name))+ tick: /* @__PURE__ */ (0, x.jsx)(_6, { along: "y" }),+ width: l3e(n.map((e) => e.name))}),- /* @__PURE__ */ (0, x.jsx)(p6.XAxis, {+ /* @__PURE__ */ (0, x.jsx)(f6.XAxis, {hide: !0,- domain: w6+ domain: C6}),- /* @__PURE__ */ (0, x.jsx)(p6.Bar, {+ /* @__PURE__ */ (0, x.jsx)(f6.Bar, {dataKey: "value",enableHoverHighlight: !0,barProps: {dataKey: "value",- label: m3e("right")+ label: g3e("right")}}),- /* @__PURE__ */ (0, x.jsx)(C6, {})+ /* @__PURE__ */ (0, x.jsx)(S6, {})]})}) : null;}-function W8e({ flows: e }) {- let [t, n] = (0, b.useState)(null), r = o8e(e);+function K8e({ flows: e }) {+ let [t, n] = (0, b.useState)(null), r = c8e(e);if (!r) return null;let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;return /* @__PURE__ */ (0, x.jsxs)("section", {- className: m6,+ className: p6,children: [- /* @__PURE__ */ (0, x.jsx)(y6, {+ /* @__PURE__ */ (0, x.jsx)(v6, {title: "创作者线索来源",figure: (t ? t.value : r.total).toLocaleString(),note: t ? t.label : "条线索"@@ -86913,7 +86933,7 @@ function W8e({ flows: e }) {/* @__PURE__ */ (0, x.jsx)("div", {className: "min-w-0 max-sm:hidden",children: /* @__PURE__ */ (0, x.jsxs)("svg", {- viewBox: `0 0 ${t8e.width} ${r.height}`,+ viewBox: `0 0 ${r8e.width} ${r.height}`,fill: "none",role: "img","aria-label": "来源网站与创作者线索",@@ -86927,7 +86947,7 @@ function W8e({ flows: e }) {"aria-label": `${e.label}:${e.value} 条线索`,fillOpacity: 0,strokeOpacity: a(e, e.label) ? .55 : .08,- className: `outline-none transition-opacity ${F8e[e.color]}`,+ className: `outline-none transition-opacity ${L8e[e.color]}`,onPointerEnter: () => n({value: e.value,label: e.label,@@ -86961,15 +86981,15 @@ function W8e({ flows: e }) {width: 10,height: e.height,rx: 5,- className: e.side === "source" ? I8e[e.color] : "fill-text-secondary"+ className: e.side === "source" ? R8e[e.color] : "fill-text-secondary"}), /* @__PURE__ */ (0, x.jsxs)("text", {- x: n8e[e.side],+ x: i8e[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: [s8e(e.name), /* @__PURE__ */ (0, x.jsx)("tspan", {- x: n8e[e.side],+ children: [l8e(e.name), /* @__PURE__ */ (0, x.jsx)("tspan", {+ x: i8e[e.side],dy: 15,children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`})]@@ -86986,11 +87006,11 @@ function W8e({ flows: e }) {}//#endregion//#region src/react/taste/taste-page.tsx-var G8e = 10, K8e = FO(HN, UN, "text-body-2-medium"), X6 = `${VO()} flex flex-col gap-4`, Z6 = "rounded-xl bg-background-primary-default p-3", q8e = "读取运行 Peach 的这台电脑上的浏览记录", J8e = "导入或读取浏览记录后,这里会列出已采集设备。", Y8e = "馆藏里暂时没有对得上浏览信号的标签。", X8e = "采集浏览记录后,这里会显示聚合后的口味证据。", Z8e = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", Q8e = "采集浏览记录后,这里会列出浏览过的标签。", $8e = "采集浏览记录后,这里会列出浏览过的创作者。", e5e = "采集浏览记录后,这里会列出常访问的网站。", t5e = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", n5e = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", r5e = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", i5e = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", a5e = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", o5e = "需要刷新时再次读取或导入;数据源可在页面底部移除。", s5e = "这个数据源将不再用于口味分析。原始导出文件保留。", c5e = "peach-taste-guide-dismissed";-function Q6({ icon: e, term: t, figure: n, detail: r, accent: i }) {+var q8e = 10, J8e = PO(VN, HN, "text-body-2-medium"), Y6 = `${BO()} flex flex-col gap-4`, X6 = "rounded-xl bg-background-primary-default p-3", Y8e = "读取运行 Peach 的这台电脑上的浏览记录", X8e = "导入或读取浏览记录后,这里会列出已采集设备。", Z8e = "馆藏里暂时没有对得上浏览信号的标签。", Q8e = "采集浏览记录后,这里会显示聚合后的口味证据。", $8e = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", e5e = "采集浏览记录后,这里会列出浏览过的标签。", t5e = "采集浏览记录后,这里会列出浏览过的创作者。", n5e = "采集浏览记录后,这里会列出常访问的网站。", r5e = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", i5e = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", a5e = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", o5e = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", s5e = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", c5e = "需要刷新时再次读取或导入;数据源可在页面底部移除。", l5e = "这个数据源将不再用于口味分析。原始导出文件保留。", u5e = "peach-taste-guide-dismissed";+function Z6({ icon: e, term: t, figure: n, detail: r, accent: i }) {return /* @__PURE__ */ (0, x.jsx)("div", {- className: FN(),- children: /* @__PURE__ */ (0, x.jsx)(zN, {+ className: PN(),+ children: /* @__PURE__ */ (0, x.jsx)(RN, {label: t,icon: e,accent: i,@@ -86999,7 +87019,7 @@ function Q6({ icon: e, term: t, figure: n, detail: r, accent: i }) {})});}-function l5e({ name: e, domain: t }) {+function d5e({ name: e, domain: t }) {return /* @__PURE__ */ (0, x.jsxs)("span", {className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",children: [qt(e).toUpperCase(), /* @__PURE__ */ (0, x.jsx)("img", {@@ -87013,22 +87033,22 @@ function l5e({ name: e, domain: t }) {})]});}-function u5e({ html: e }) {+function f5e({ html: e }) {return /* @__PURE__ */ (0, x.jsx)("span", {- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${zL}`,+ 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 ${RL}`,dangerouslySetInnerHTML: { __html: e }});}-function d5e({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {- if (!e.length) return /* @__PURE__ */ (0, x.jsx)(HO, {+function p5e({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {+ if (!e.length) return /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: fO,+ icon: dO,title: "暂无足够证据",children: r});- let a = Q6e(e);- return /* @__PURE__ */ (0, x.jsx)(T3e, {- previewCount: G8e,+ let a = e8e(e);+ return /* @__PURE__ */ (0, x.jsx)(D3e, {+ previewCount: q8e,className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",children: e.map((e, r) => {let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [@@ -87047,15 +87067,15 @@ function d5e({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",children: r + 1}),- n === "domain" ? /* @__PURE__ */ (0, x.jsx)(l5e, {+ n === "domain" ? /* @__PURE__ */ (0, x.jsx)(d5e, {name: e.name,domain: e.name}) : null,- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, x.jsx)(l5e, {+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, x.jsx)(d5e, {name: e.name,domain: s}) : null,- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, x.jsx)(u5e, { html: $i(e.name, e.entity_id ? {+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, x.jsx)(f5e, { html: $i(e.name, e.entity_id ? {id: e.entity_id,has_image: !!e.has_image,image_version: e.image_version,@@ -87069,10 +87089,10 @@ function d5e({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {children: e.name}), /* @__PURE__ */ (0, x.jsx)("small", {className: "text-caption-1-regular text-text-secondary",- children: Z6e(e)+ children: $6e(e)})]}),- o ? /* @__PURE__ */ (0, x.jsx)(rO, {+ o ? /* @__PURE__ */ (0, x.jsx)(nO, {"aria-hidden": !0,className: "size-4 shrink-0 text-text-tertiary"}) : null@@ -87092,31 +87112,31 @@ function d5e({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {})});}-function f5e({ label: e, panels: t, onSignal: n }) {- return /* @__PURE__ */ (0, x.jsxs)(sj, {- className: `${VO({ padding: "none" })} flex flex-col`,+function m5e({ label: e, panels: t, onSignal: n }) {+ return /* @__PURE__ */ (0, x.jsxs)(oj, {+ className: `${BO({ padding: "none" })} flex flex-col`,children: [/* @__PURE__ */ (0, x.jsx)("div", {className: "px-4 pt-3",- children: /* @__PURE__ */ (0, x.jsx)(fj, {+ children: /* @__PURE__ */ (0, x.jsx)(dj, {"aria-label": e,- className: mj,- children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(lj, {+ className: pj,+ children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(cj, {id: e.id,- className: hj,+ className: mj,children: e.name}, e.id))})- }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(uj, {+ }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(lj, {id: e.id,className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, x.jsx)(d5e, {+ children: /* @__PURE__ */ (0, x.jsx)(p5e, {...e.props,onSignal: n})}, e.id))]});}-function p5e({ data: e, onSignal: t, navigate: n }) {+function h5e({ data: e, onSignal: t, navigate: n }) {let r = e.analysis;if (!r?.headline) return null;let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({@@ -87131,7 +87151,7 @@ function p5e({ data: e, onSignal: t, navigate: n }) {act: () => n(e.route)}))];return /* @__PURE__ */ (0, x.jsxs)("section", {- className: X6,+ className: Y6,"aria-label": "口味总结",children: [/* @__PURE__ */ (0, x.jsxs)("header", {@@ -87160,7 +87180,7 @@ function p5e({ data: e, onSignal: t, navigate: n }) {r.points?.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "inline-grid w-full gap-3 sm:grid-cols-2",children: r.points.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {- className: `flex min-w-0 flex-col gap-1 ${Z6}`,+ className: `flex min-w-0 flex-col gap-1 ${X6}`,children: [/* @__PURE__ */ (0, x.jsx)("span", {className: "text-caption-1-regular text-text-secondary",children: e.label@@ -87175,7 +87195,7 @@ function p5e({ data: e, onSignal: t, navigate: n }) {children: a.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",onClick: e.act,- className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${Z6} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,+ className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${X6} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [/* @__PURE__ */ (0, x.jsxs)("span", {className: "flex min-w-0 grow flex-col gap-1",children: [/* @__PURE__ */ (0, x.jsx)("b", {@@ -87185,44 +87205,44 @@ function p5e({ data: e, onSignal: t, navigate: n }) {className: "text-caption-1-regular wrap-anywhere text-text-secondary",children: e.detail})]- }), /* @__PURE__ */ (0, x.jsx)(rO, {+ }), /* @__PURE__ */ (0, x.jsx)(nO, {"aria-hidden": !0,className: "size-4 shrink-0 text-text-tertiary"})]}, e.key))- }) : /* @__PURE__ */ (0, x.jsx)(HO, {+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: fO,+ icon: dO,title: "还没有可探索的入口",- children: Y8e+ children: Z8e})]});}-function m5e({ onboarding: e, done: t }) {+function g5e({ onboarding: e, done: t }) {let [n, r] = (0, b.useState)(() => {try {- return localStorage.getItem(c5e) === "1";+ return localStorage.getItem(u5e) === "1";} catch {return !1;}});return t || n ? null : /* @__PURE__ */ (0, x.jsx)("div", {- className: VO({+ className: BO({padding: "none",className: "p-4"}),- children: /* @__PURE__ */ (0, x.jsxs)(sk, {+ children: /* @__PURE__ */ (0, x.jsxs)(ok, {summary: "浏览器历史记录导入指南",defaultOpen: e,children: [/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: i5e+ children: o5e}),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: a5e+ children: s5e}),/* @__PURE__ */ (0, x.jsxs)("ul", {className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",@@ -87252,7 +87272,7 @@ function m5e({ onboarding: e, done: t }) {}),/* @__PURE__ */ (0, x.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: o5e+ children: c5e}),/* @__PURE__ */ (0, x.jsx)("span", {className: "self-start",@@ -87261,7 +87281,7 @@ function m5e({ onboarding: e, done: t }) {size: "small",onClick: () => {try {- localStorage.setItem(c5e, "1");+ localStorage.setItem(u5e, "1");} catch {}r(!0);},@@ -87272,7 +87292,7 @@ function m5e({ onboarding: e, done: t }) {})});}-function h5e({ busy: e, onRefresh: t, onImport: n }) {+function _5e({ busy: e, onRefresh: t, onImport: n }) {let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), o = (e) => {a(!1), e();};@@ -87281,15 +87301,15 @@ function h5e({ busy: e, onRefresh: t, onImport: n }) {"data-split-button": !0,"data-variant": "primary",children: [/* @__PURE__ */ (0, x.jsx)(W, {- leadingIcon: Xue,- title: q8e,+ leadingIcon: Zue,+ title: Y8e,onClick: t,...K(e),children: "读取浏览器历史"}), /* @__PURE__ */ (0, x.jsx)(W, {ref: r,iconOnly: !0,- leadingIcon: tO,+ leadingIcon: eO,"aria-label": "更多取得浏览记录的方式","aria-haspopup": "dialog","aria-expanded": i,@@ -87298,29 +87318,29 @@ function h5e({ busy: e, onRefresh: t, onImport: n }) {e || a(!0);}})]- }), /* @__PURE__ */ (0, x.jsx)(mA, {+ }), /* @__PURE__ */ (0, x.jsx)(pA, {triggerRef: r,isOpen: i,onOpenChange: a,placement: "bottom end",offset: 4,- className: VN,- children: /* @__PURE__ */ (0, x.jsxs)(BN, {+ className: BN,+ children: /* @__PURE__ */ (0, x.jsxs)(zN, {"aria-label": "更多取得浏览记录的方式",className: "flex w-52 flex-col gap-1 outline-none",children: [/* @__PURE__ */ (0, x.jsxs)("button", {type: "button",- className: K8e,+ className: J8e,onClick: () => o(t),- children: [/* @__PURE__ */ (0, x.jsx)(Xue, {+ children: [/* @__PURE__ */ (0, x.jsx)(Zue, {"aria-hidden": !0,className: "size-4 shrink-0"}), "读取浏览器历史"]}), /* @__PURE__ */ (0, x.jsxs)("button", {type: "button",- className: K8e,+ className: J8e,onClick: () => o(n),- children: [/* @__PURE__ */ (0, x.jsx)(_de, {+ children: [/* @__PURE__ */ (0, x.jsx)(vde, {"aria-hidden": !0,className: "size-4 shrink-0"}), "导入历史文件"]@@ -87328,15 +87348,15 @@ function h5e({ busy: e, onRefresh: t, onImport: n }) {})})] });}-function g5e({ sources: e, window: t, toast: n }) {+function v5e({ sources: e, window: t, toast: n }) {let r = ft({- mutationFn: (e) => W6e(e, t),+ mutationFn: (e) => K6e(e, t),onSuccess: (e) => {- V.setQueryData(G6(t), e.dashboard), n("已移除口味数据源");+ V.setQueryData(W6(t), e.dashboard), n("已移除口味数据源");}});return /* @__PURE__ */ (0, x.jsxs)("section", {- className: X6,+ className: Y6,"aria-label": "数据源",children: [/* @__PURE__ */ (0, x.jsx)("h3", {@@ -87350,14 +87370,14 @@ function g5e({ sources: e, window: t, toast: n }) {e.length ? /* @__PURE__ */ (0, x.jsx)("div", {className: "inline-grid w-full gap-2 sm:grid-cols-2",children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {- className: `flex min-w-0 items-center gap-3 ${Z6}`,+ className: `flex min-w-0 items-center gap-3 ${X6}`,children: [/* @__PURE__ */ (0, x.jsx)("span", {className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, x.jsx)(_de, {+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, x.jsx)(vde, {"aria-hidden": !0,className: "size-4"- }) : /* @__PURE__ */ (0, x.jsx)(aO, {+ }) : /* @__PURE__ */ (0, x.jsx)(iO, {"aria-hidden": !0,className: "size-4"})@@ -87378,12 +87398,12 @@ function g5e({ sources: e, window: t, toast: n }) {"aria-label": `移除 ${e.profile}`,className: "shrink-0",iconOnly: !0,- leadingIcon: oO,+ leadingIcon: aO,...K(r.isPending),onClick: () => {r.isPending || rs({title: "移除口味数据源",- body: s5e,+ body: l5e,confirmLabel: "移除口味数据源",onConfirm: () => r.mutateAsync(e.source_key)});@@ -87391,32 +87411,32 @@ function g5e({ sources: e, window: t, toast: n }) {})]}, e.source_key))- }) : /* @__PURE__ */ (0, x.jsx)(HO, {+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: aO,+ icon: iO,title: "还没有数据源",- children: J8e+ children: X8e})]});}-function _5e(e) {+function y5e(e) {let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, b.useState)("all"), [s, c] = (0, b.useState)("browser"), l = (0, b.useRef)(null), u = dt({- queryKey: G6(a),- queryFn: ({ signal: e }) => B6e(a, e),+ queryKey: W6(a),+ queryFn: ({ signal: e }) => H6e(a, e),placeholderData: de- }), { job: d, running: f, outcome: p, start: m } = yP({- queryKey: R6e,- queryFn: ({ signal: e }) => V6e(e),- start: () => U6e(a),- idlePollMs: K6e,+ }), { job: d, running: f, outcome: p, start: m } = vP({+ queryKey: B6e,+ queryFn: ({ signal: e }) => U6e(e),+ start: () => G6e(a),+ idlePollMs: J6e,onFinish: (e) => {e.status !== "failed" && (V.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));}}), h = ft({- mutationFn: (e) => G6e(e),+ mutationFn: (e) => q6e(e),onSuccess: (e) => {- V.setQueryData(G6("all"), e.dashboard), o("all"), r("已导入口味数据");+ V.setQueryData(W6("all"), e.dashboard), o("all"), r("已导入口味数据");}}), g = (e) => {let t = e.currentTarget.files?.[0];@@ -87424,47 +87444,47 @@ function _5e(e) {}, _ = () => {f || m.isPending || (m.reset(), m.mutate());}, v = u.data;- if (!v) return /* @__PURE__ */ (0, x.jsx)(WO, { children: /* @__PURE__ */ (0, x.jsx)(G, {+ if (!v) return /* @__PURE__ */ (0, x.jsx)(UO, { children: /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",title: "口味分析读取失败",children: u.error ? z(u.error) : "读取口味分析失败"}) });- let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = Y6e(C.browser_categories || []), E = e8e(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? z(m.error) : h.error ? z(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";- return /* @__PURE__ */ (0, x.jsxs)(WO, { children: [- /* @__PURE__ */ (0, x.jsxs)(sj, {+ let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = Z6e(C.browser_categories || []), E = n8e(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? z(m.error) : h.error ? z(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";+ return /* @__PURE__ */ (0, x.jsxs)(UO, { children: [+ /* @__PURE__ */ (0, x.jsxs)(oj, {selectedKey: s,onSelectionChange: (e) => c(String(e)),className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-3",- children: [/* @__PURE__ */ (0, x.jsxs)(fj, {+ children: [/* @__PURE__ */ (0, x.jsxs)(dj, {"aria-label": "口味证据来源",- className: mj,- children: [/* @__PURE__ */ (0, x.jsx)(lj, {+ className: pj,+ children: [/* @__PURE__ */ (0, x.jsx)(cj, {id: "browser",- className: hj,+ className: mj,children: "浏览器记录"- }), /* @__PURE__ */ (0, x.jsx)(lj, {+ }), /* @__PURE__ */ (0, x.jsx)(cj, {id: "peach",- className: hj,+ className: mj,children: "Peach 内部"})]}), /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, x.jsx)(gP, {+ /* @__PURE__ */ (0, x.jsx)(hP, {"aria-label": "分析范围",selectedKey: a,onSelectionChange: (e) => {e !== null && o(String(e));},- children: z6e.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(_P, {+ children: V6e.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(gP, {id: e,children: t}, e))}),- /* @__PURE__ */ (0, x.jsx)(h5e, {+ /* @__PURE__ */ (0, x.jsx)(_5e, {busy: f || m.isPending || h.isPending,onRefresh: _,onImport: () => l.current?.click()@@ -87480,7 +87500,7 @@ function _5e(e) {]})]}),- /* @__PURE__ */ (0, x.jsx)(m5e, {+ /* @__PURE__ */ (0, x.jsx)(g5e, {onboarding: i,done: !!(y.history_sources || v.updated_at)}),@@ -87488,48 +87508,48 @@ function _5e(e) {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",children: [- f ? /* @__PURE__ */ (0, x.jsx)(fP, {+ f ? /* @__PURE__ */ (0, x.jsx)(dP, {label: d?.message || "正在读取浏览记录并更新口味分析",value: d?.checked,total: d?.total}) : null,- h.isPending ? /* @__PURE__ */ (0, x.jsx)(fP, { label: "正在导入历史文件" }) : null,+ h.isPending ? /* @__PURE__ */ (0, x.jsx)(dP, { label: "正在导入历史文件" }) : null,A ? /* @__PURE__ */ (0, x.jsx)(G, {tone: "error",children: A}) : null]}),- /* @__PURE__ */ (0, x.jsxs)(uj, {+ /* @__PURE__ */ (0, x.jsxs)(lj, {id: "browser",className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, x.jsxs)("div", {- className: IN,+ className: FN,children: [- /* @__PURE__ */ (0, x.jsx)(Q6, {+ /* @__PURE__ */ (0, x.jsx)(Z6, {accent: 0,- icon: lO,+ icon: cO,term: "浏览记录",figure: Number(y.history_visits || 0).toLocaleString(),- detail: q6e(y)+ detail: Y6e(y)}),- /* @__PURE__ */ (0, x.jsx)(Q6, {+ /* @__PURE__ */ (0, x.jsx)(Z6, {accent: 1,- icon: uO,+ icon: lO,term: "口味维度",figure: T.length.toLocaleString(),detail: T[0]?.name || "尚无主维度"}),- /* @__PURE__ */ (0, x.jsx)(Q6, {+ /* @__PURE__ */ (0, x.jsx)(Z6, {accent: 2,- icon: fO,+ icon: dO,term: "浏览候选",figure: D.length.toLocaleString()}),- /* @__PURE__ */ (0, x.jsx)(Q6, {+ /* @__PURE__ */ (0, x.jsx)(Z6, {accent: 3,- icon: aO,+ icon: iO,term: "私有导出",figure: Number(w.exports || 0).toLocaleString(),detail: Ut(w.bytes || 0)@@ -87537,7 +87557,7 @@ function _5e(e) {]}),/* @__PURE__ */ (0, x.jsxs)("section", {- className: E ? `${X6} md:flex-row md:gap-6` : X6,+ className: E ? `${Y6} md:flex-row md:gap-6` : Y6,"aria-label": "浏览器画像",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: E ? "flex shrink-0 flex-col gap-2 pb-5 md:w-80 md:pr-6 md:pb-0" : "flex flex-wrap items-baseline justify-between gap-x-4 gap-y-1",@@ -87546,29 +87566,29 @@ function _5e(e) {className: "text-caption-1-regular text-text-secondary",children: "浏览器画像"}),- E ? /* @__PURE__ */ (0, x.jsx)(H8e, {+ E ? /* @__PURE__ */ (0, x.jsx)(W8e, {rows: T,label: "主要口味维度"}) : null,/* @__PURE__ */ (0, x.jsx)("small", {className: "text-caption-1-regular text-text-secondary",- children: v.updated_at ? `更新于 ${K6(v.updated_at)}` : "尚未采集浏览记录"+ children: v.updated_at ? `更新于 ${G6(v.updated_at)}` : "尚未采集浏览记录"})]}), /* @__PURE__ */ (0, x.jsx)("div", {className: "flex min-w-0 grow flex-col",- children: T.length ? /* @__PURE__ */ (0, x.jsx)(U8e, {+ children: T.length ? /* @__PURE__ */ (0, x.jsx)(G8e, {rows: T,label: "口味维度排名"- }) : /* @__PURE__ */ (0, x.jsx)(HO, {+ }) : /* @__PURE__ */ (0, x.jsx)(VO, {shell: "plain",- icon: fO,+ icon: dO,title: "暂无口味维度",- children: X8e+ children: Q8e})})]}),- /* @__PURE__ */ (0, x.jsx)(w3e, {+ /* @__PURE__ */ (0, x.jsx)(E3e, {activity: v.activity,title: "浏览活跃时间",dailyTitle: "每日活跃",@@ -87580,8 +87600,8 @@ function _5e(e) {tone: 4,empty: "还没有可用于分析的口味网站访问记录。"}),- /* @__PURE__ */ (0, x.jsx)(W8e, { flows: v.creator_flows }),- /* @__PURE__ */ (0, x.jsx)(f5e, {+ /* @__PURE__ */ (0, x.jsx)(K8e, { flows: v.creator_flows }),+ /* @__PURE__ */ (0, x.jsx)(m5e, {label: "浏览器口味维度",onSignal: t,panels: [@@ -87592,7 +87612,7 @@ function _5e(e) {rows: C.browser_tags || [],kind: "tag",visual: "none",- empty: Q8e+ empty: e5e}},{@@ -87602,7 +87622,7 @@ function _5e(e) {rows: C.browser_creators || [],kind: "creator",visual: "creator",- empty: $8e+ empty: t5e}},{@@ -87612,7 +87632,7 @@ function _5e(e) {rows: C.domains || [],kind: "",visual: "domain",- empty: e5e+ empty: n5e}},{@@ -87622,49 +87642,49 @@ function _5e(e) {rows: D,kind: "",visual: "none",- empty: Z8e+ empty: $8e}}]})]}),- /* @__PURE__ */ (0, x.jsxs)(uj, {+ /* @__PURE__ */ (0, x.jsxs)(lj, {id: "peach",className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, x.jsxs)("div", {- className: IN,+ className: FN,children: [- /* @__PURE__ */ (0, x.jsx)(Q6, {+ /* @__PURE__ */ (0, x.jsx)(Z6, {accent: 0,- icon: Que,+ icon: $ue,term: "Peach 看过",figure: Number(y.peach_items || 0).toLocaleString(),- detail: J6e(y.peach_seconds || 0)+ detail: X6e(y.peach_seconds || 0)}),- /* @__PURE__ */ (0, x.jsx)(Q6, {+ /* @__PURE__ */ (0, x.jsx)(Z6, {accent: 1,- icon: gde,+ icon: _de,term: "喜欢",figure: Number(y.liked || 0).toLocaleString()}),- /* @__PURE__ */ (0, x.jsx)(Q6, {+ /* @__PURE__ */ (0, x.jsx)(Z6, {accent: 2,- icon: hde,+ icon: gde,term: "不合口味",figure: Number(y.disliked || 0).toLocaleString()}),- /* @__PURE__ */ (0, x.jsx)(Q6, {+ /* @__PURE__ */ (0, x.jsx)(Z6, {accent: 3,- icon: uO,+ icon: lO,term: "有标签",figure: O.toLocaleString()})]}),/* @__PURE__ */ (0, x.jsxs)("section", {- className: `${X6} md:flex-row md:gap-6`,+ className: `${Y6} md:flex-row md:gap-6`,"aria-label": "Peach 观看",children: [/* @__PURE__ */ (0, x.jsxs)("div", {className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",@@ -87684,18 +87704,18 @@ function _5e(e) {]}), /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex min-w-0 grow flex-col",- children: [/* @__PURE__ */ (0, x.jsx)(v5e, {+ children: [/* @__PURE__ */ (0, x.jsx)(b5e, {term: "有标签",value: O,rest: S.untagged || 0- }), /* @__PURE__ */ (0, x.jsx)(v5e, {+ }), /* @__PURE__ */ (0, x.jsx)(b5e, {term: "有身份",value: k,rest: S.unidentified || 0})]})]}),- /* @__PURE__ */ (0, x.jsx)(f5e, {+ /* @__PURE__ */ (0, x.jsx)(m5e, {label: "Peach 口味维度",onSignal: t,panels: [@@ -87706,7 +87726,7 @@ function _5e(e) {rows: C.peach_tags || [],kind: "tag",visual: "none",- empty: t5e+ empty: r5e}},{@@ -87716,7 +87736,7 @@ function _5e(e) {rows: C.peach_creators || [],kind: "creator",visual: "creator",- empty: n5e+ empty: i5e}},{@@ -87726,7 +87746,7 @@ function _5e(e) {rows: C.peach_performers || [],kind: "performer",visual: "entity",- empty: r5e+ empty: a5e}}]@@ -87735,19 +87755,19 @@ function _5e(e) {})]}),- /* @__PURE__ */ (0, x.jsx)(p5e, {+ /* @__PURE__ */ (0, x.jsx)(h5e, {data: v,onSignal: t,navigate: n}),- /* @__PURE__ */ (0, x.jsx)(g5e, {+ /* @__PURE__ */ (0, x.jsx)(v5e, {sources: v.sources || [],window: a,toast: r})] });}-function v5e({ term: e, value: t, rest: n }) {+function b5e({ term: e, value: t, rest: n }) {let r = Math.max(t + n, 1);return /* @__PURE__ */ (0, x.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",@@ -87760,7 +87780,7 @@ function v5e({ term: e, value: t, rest: n }) {children: `${n.toLocaleString()} 项待补`})]})]- }), /* @__PURE__ */ (0, x.jsx)(KO, {+ }), /* @__PURE__ */ (0, x.jsx)(GO, {label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,value: t,max: r@@ -87769,20 +87789,20 @@ function v5e({ term: e, value: t, rest: n }) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/url.js-var y5e = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, b5e = /^[\\/]{2}/;-function x5e(e, t) {+var x5e = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, S5e = /^[\\/]{2}/;+function C5e(e, t) {return t + e.replace(/\\/g, "/");}//#endregion//#region node_modules/react-router/dist/production/lib/router/history.js-var S5e = "popstate";-function C5e(e) {+var w5e = "popstate";+function T5e(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}-function w5e(e = {}) {+function E5e(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;- return t8("", {+ return e8("", {pathname: r,search: i,hash: a@@ -87793,14 +87813,14 @@ function w5e(e = {}) {} : void 0);}function n(e, t) {- return typeof t == "string" ? t : n8(t);+ return typeof t == "string" ? t : t8(t);}- return D5e(t, n, null, e);+ return k5e(t, n, null, e);}-function $6(e, t) {+function Q6(e, t) {if (e === !1 || e == null) throw Error(t);}-function e8(e, t) {+function $6(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -87808,10 +87828,10 @@ function e8(e, t) {} catch {}}}-function T5e() {+function D5e() {return Math.random().toString(36).substring(2, 10);}-function E5e(e, t) {+function O5e(e, t) {return {usr: e.state,key: e.key,@@ -87823,21 +87843,21 @@ function E5e(e, t) {} : void 0};}-function t8(e, t, n = null, r, i) {+function e8(e, t, n = null, r, i) {return {pathname: typeof e == "string" ? e : e.pathname,search: "",hash: "",- ...typeof t == "string" ? r8(t) : t,+ ...typeof t == "string" ? n8(t) : t,state: n,- key: t && t.key || r || T5e(),+ key: t && t.key || r || D5e(),mask: i};}-function n8({ pathname: e = "/", search: t = "", hash: n = "" }) {+function t8({ 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 r8(e) {+function n8(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -87847,7 +87867,7 @@ function r8(e) {}return t;}-function D5e(e, t, n, r = {}) {+function k5e(e, t, n, r = {}) {let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();l ?? (l = 0, o.replaceState({...o.state,@@ -87867,9 +87887,9 @@ function D5e(e, t, n, r = {}) {}function f(e, t) {s = "PUSH";- let r = C5e(e) ? e : t8(h.location, e, t);+ let r = T5e(e) ? e : e8(h.location, e, t);n && n(r, e), l = u() + 1;- let d = E5e(r, l), f = h.createHref(r.mask || r);+ let d = O5e(r, l), f = h.createHref(r.mask || r);try {o.pushState(d, "", f);} catch (e) {@@ -87884,9 +87904,9 @@ function D5e(e, t, n, r = {}) {}function p(e, t) {s = "REPLACE";- let r = C5e(e) ? e : t8(h.location, e, t);+ let r = T5e(e) ? e : e8(h.location, e, t);n && n(r, e), l = u();- let i = E5e(r, l), d = h.createHref(r.mask || r);+ let i = O5e(r, l), d = h.createHref(r.mask || r);o.replaceState(i, "", d), a && c && c({action: s,location: h.location,@@ -87894,7 +87914,7 @@ function D5e(e, t, n, r = {}) {});}function m(e) {- return O5e(i, e);+ return A5e(i, e);}let h = {get action() {@@ -87905,8 +87925,8 @@ function D5e(e, t, n, r = {}) {},listen(e) {if (c) throw Error("A history only accepts one active listener");- return i.addEventListener(S5e, d), c = e, () => {- i.removeEventListener(S5e, d), c = null;+ return i.addEventListener(w5e, d), c = e, () => {+ i.removeEventListener(w5e, d), c = null;};},createHref(e) {@@ -87929,29 +87949,29 @@ function D5e(e, t, n, r = {}) {};return h;}-function O5e(e, t, n = !1) {+function A5e(e, t, n = !1) {let r = "http://localhost";- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), $6(r, "No window.location.(origin|href) available to create URL");- let i = typeof t == "string" ? t : n8(t);- return i = i.replace(/ $/, "%20"), !n && b5e.test(i) && (i = r + i), new URL(i, r);+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), Q6(r, "No window.location.(origin|href) available to create URL");+ let i = typeof t == "string" ? t : t8(t);+ return i = i.replace(/ $/, "%20"), !n && S5e.test(i) && (i = r + i), new URL(i, r);}//#endregion//#region node_modules/react-router/dist/production/lib/router/utils.js-function k5e(e, t, n = "/") {- return A5e(e, t, n, !1);+function j5e(e, t, n = "/") {+ return M5e(e, t, n, !1);}-function A5e(e, t, n, r, i) {- let a = a8((typeof t == "string" ? r8(t) : t).pathname || "/", n);+function M5e(e, t, n, r, i) {+ let a = i8((typeof t == "string" ? n8(t) : t).pathname || "/", n);if (a == null) return null;- let o = i ?? j5e(e), s = null, c = Y5e(a);- for (let e = 0; s == null && e < o.length; ++e) s = K5e(o[e], c, r);+ let o = i ?? N5e(e), s = null, c = Z5e(a);+ for (let e = 0; s == null && e < o.length; ++e) s = J5e(o[e], c, r);return s;}-function j5e(e) {- let t = M5e(e);- return P5e(t), t;+function N5e(e) {+ let t = P5e(e);+ return I5e(t), t;}-function M5e(e, t = [], n = [], r = "", i = !1) {+function P5e(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {let c = {relativePath: s === void 0 ? e.path || "" : s,@@ -87961,14 +87981,14 @@ function M5e(e, t = [], n = [], r = "", i = !1) {};if (c.relativePath.startsWith("/")) {if (!c.relativePath.startsWith(r) && o) return;- $6(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);+ Q6(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);}- let l = s8([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && ($6(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), M5e(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({+ let l = o8([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (Q6(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), P5e(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({path: l,- score: W5e(l, e.index),+ score: K5e(l, e.index),routesMeta: u.map((e, t) => {- let [n, r] = J5e(e.relativePath, e.caseSensitive, t === u.length - 1);+ let [n, r] = X5e(e.relativePath, e.caseSensitive, t === u.length - 1);return {...e,matcher: n,@@ -87979,68 +87999,68 @@ function M5e(e, t = [], n = [], r = "", i = !1) {};return e.forEach((e, t) => {if (e.path === "" || !e.path?.includes("?")) a(e, t);- else for (let n of N5e(e.path)) a(e, t, !0, n);+ else for (let n of F5e(e.path)) a(e, t, !0, n);}), t;}-function N5e(e) {+function F5e(e) {let t = e.split("/");if (t.length === 0) return [];let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");if (r.length === 0) return i ? [a, ""] : [a];- let o = N5e(r.join("/")), s = [];+ let o = F5e(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 P5e(e) {- e.sort((e, t) => e.score === t.score ? G5e(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);+function I5e(e) {+ e.sort((e, t) => e.score === t.score ? q5e(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var F5e = /^:[\w-]+$/, I5e = /^:[\w-]+/, L5e = 3.5, R5e = 3, z5e = 2, B5e = 1, V5e = 10, H5e = -2, U5e = (e) => e === "*";-function W5e(e, t) {+var L5e = /^:[\w-]+$/, R5e = /^:[\w-]+/, z5e = 3.5, B5e = 3, V5e = 2, H5e = 1, U5e = 10, W5e = -2, G5e = (e) => e === "*";+function K5e(e, t) {let n = e.split("/"), r = n.length;- return n.some(U5e) && (r += H5e), t && (r += z5e), n.filter((e) => !U5e(e)).reduce((e, t) => e + (F5e.test(t) ? R5e : I5e.test(t) ? L5e : t === "" ? B5e : V5e), r);+ return n.some(G5e) && (r += W5e), t && (r += V5e), n.filter((e) => !G5e(e)).reduce((e, t) => e + (L5e.test(t) ? B5e : R5e.test(t) ? z5e : t === "" ? H5e : U5e), r);}-function G5e(e, t) {+function q5e(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 K5e(e, t, n = !1) {+function J5e(e, t, n = !1) {let { routesMeta: r } = e, i = {}, a = "/", o = [];for (let e = 0; e < r.length; ++e) {let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {path: s.relativePath,caseSensitive: s.caseSensitive,end: c- }, d = s.matcher && s.compiledParams ? q5e(u, l, s.matcher, s.compiledParams) : i8(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = i8({+ }, d = s.matcher && s.compiledParams ? Y5e(u, l, s.matcher, s.compiledParams) : r8(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = r8({path: s.relativePath,caseSensitive: s.caseSensitive,end: !1}, l)), !d) return null;Object.assign(i, d.params), o.push({params: i,- pathname: s8([a, d.pathname]),- pathnameBase: n7e(s8([a, d.pathnameBase])),+ pathname: o8([a, d.pathname]),+ pathnameBase: i7e(o8([a, d.pathnameBase])),route: f- }), d.pathnameBase !== "/" && (a = s8([a, d.pathnameBase]));+ }), d.pathnameBase !== "/" && (a = o8([a, d.pathnameBase]));}return o;}-function i8(e, t) {+function r8(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = J5e(e.path, e.caseSensitive, e.end);- return q5e(e, t, n, r);+ let [n, r] = X5e(e.path, e.caseSensitive, e.end);+ return Y5e(e, t, n, r);}-function q5e(e, t, n, r) {+function Y5e(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = c8(a, 1), s = i.slice(1);+ let a = i[0], o = s8(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = c8(a.slice(0, a.length - e.length), 1);+ o = s8(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -88050,8 +88070,8 @@ function q5e(e, t, n, r) {pattern: e};}-function J5e(e, t = !1, n = !0) {- e8(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);+function X5e(e, t = !1, n = !0) {+ $6(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {if (r.push({paramName: t,@@ -88064,46 +88084,46 @@ function J5e(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 Y5e(e) {+function Z5e(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {- return e8(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;+ return $6(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;}}-function a8(e, t) {+function i8(e, t) {if (t === "/") return e;if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);return r && r !== "/" ? null : e.slice(n) || "/";}-function X5e(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? r8(e) : e, a;- return n ? (n = t7e(n), a = n.startsWith("/") || n.startsWith("\\") ? Z5e(n.substring(1), "/") : Z5e(n, t)) : a = t, {+function Q5e(e, t = "/") {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? n8(e) : e, a;+ return n ? (n = r7e(n), a = n.startsWith("/") || n.startsWith("\\") ? $5e(n.substring(1), "/") : $5e(n, t)) : a = t, {pathname: a,- search: r7e(r),- hash: i7e(i)+ search: a7e(r),+ hash: o7e(i)};}-function Z5e(e, t) {- let n = c8(t).split("/");+function $5e(e, t) {+ let n = s8(t).split("/");return e.split("/").forEach((e) => {e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);}), n.length > 1 ? n.join("/") : "/";}-function o8(e, t, n, r) {+function a8(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 Q5e(e) {+function e7e(e) {return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);}-function $5e(e) {- let t = Q5e(e);+function t7e(e) {+ let t = e7e(e);return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);}-function e7e(e, t, n, r = !1) {+function n7e(e, t, n, r = !1) {let i;- typeof e == "string" ? i = r8(e) : (i = { ...e }, $6(!i.pathname || !i.pathname.includes("?"), o8("?", "pathname", "search", i)), $6(!i.pathname || !i.pathname.includes("#"), o8("#", "pathname", "hash", i)), $6(!i.search || !i.search.includes("#"), o8("#", "search", "hash", i)));+ typeof e == "string" ? i = n8(e) : (i = { ...e }, Q6(!i.pathname || !i.pathname.includes("?"), a8("?", "pathname", "search", i)), Q6(!i.pathname || !i.pathname.includes("#"), a8("#", "pathname", "hash", i)), Q6(!i.search || !i.search.includes("#"), a8("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;if (o == null) s = n;else {@@ -88115,16 +88135,16 @@ function e7e(e, t, n, r = !1) {}s = e >= 0 ? t[e] : "/";}- let c = X5e(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ let c = Q5e(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var t7e = (e) => e.replace(/[\\/]{2,}/g, "/"), s8 = (e) => t7e(e.join("/"));-function c8(e, t = 0) {+var r7e = (e) => e.replace(/[\\/]{2,}/g, "/"), o8 = (e) => r7e(e.join("/"));+function s8(e, t = 0) {let n = e.length;for (; n > t && e.charCodeAt(n - 1) === 47;) n--;return n === e.length ? e : e.slice(0, n);}-var n7e = (e) => c8(e).replace(/^\/*/, "/"), r7e = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, i7e = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, a7e = class {+var i7e = (e) => s8(e).replace(/^\/*/, "/"), a7e = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, o7e = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, s7e = class {status;statusText;data;@@ -88134,26 +88154,26 @@ var n7e = (e) => c8(e).replace(/^\/*/, "/"), r7e = (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 o7e(e) {+function c7e(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function s7e(e) {- return s8(e.map((e) => e.route.path).filter(Boolean)) || "/";+function l7e(e) {+ return o8(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var c7e = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function l7e(e, t) {+var u7e = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+function d7e(e, t) {let n = e;- if (typeof n != "string" || !y5e.test(n)) return {+ if (typeof n != "string" || !x5e.test(n)) return {absoluteURL: void 0,isExternal: !1,to: n};let r = n, i = !1;- if (c7e) try {- let e = new URL(window.location.href), r = b5e.test(n) ? new URL(x5e(n, e.protocol)) : new URL(n), a = a8(r.pathname, t);+ if (u7e) try {+ let e = new URL(window.location.href), r = S5e.test(n) ? new URL(C5e(n, e.protocol)) : new URL(n), a = i8(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {- e8(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ $6(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);}return {absoluteURL: r,@@ -88163,45 +88183,45 @@ function l7e(e, t) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/navigation.js-var u7e = new URL("http://localhost");-function d7e(e) {+var f7e = new URL("http://localhost");+function p7e(e) {if (e.createURL) return e.createURL("/");try {- return new URL(e.createHref("/"), u7e);+ return new URL(e.createHref("/"), f7e);} catch {- return u7e;+ return f7e;}}-function l8(e, t) {+function c8(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function f7e(e, t) {+function m7e(e, t) {if (e.startsWith("//")) return !0;let n = t.protocol.toLowerCase();return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;}-function p7e(e, t, n, r) {+function h7e(e, t, n, r) {let i = null;try {i = e == null ? null : new URL(e, n);} catch {}- let a = new URL(t, n), o = i != null && !l8(i, n), s = !l8(a, n);+ let a = new URL(t, n), o = i != null && !c8(i, n), s = !c8(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !f7e(e, i) || !l8(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !m7e(e, i) || !c8(i, a))) throw Error("External navigation is not allowed");}//#endregion//#region node_modules/react-router/dist/production/lib/router/router.js-var m7e = [+var g7e = ["POST","PUT","PATCH","DELETE"];-new Set(m7e);-var h7e = ["GET", ...m7e];-new Set(h7e);-var g7e = [+new Set(g7e);+var _7e = ["GET", ...g7e];+new Set(_7e);+var v7e = ["about:","blob:","chrome:",@@ -88213,85 +88233,85 @@ var g7e = ["filesystem:","javascript:"];-function _7e(e) {+function y7e(e) {try {- return g7e.includes(new URL(e).protocol);+ return v7e.includes(new URL(e).protocol);} catch {return !1;}}//#endregion//#region node_modules/react-router/dist/production/lib/context.js-var u8 = b.createContext(null);-u8.displayName = "DataRouter";-var v7e = b.createContext(null);-v7e.displayName = "DataRouterState";-var y7e = b.createContext(null);-y7e.displayName = "DataRouterData";+var l8 = b.createContext(null);+l8.displayName = "DataRouter";var b7e = b.createContext(null);-b7e.displayName = "DataRouterNavigation";-var x7e = b.createContext(!1), S7e = b.createContext({ isTransitioning: !1 });-S7e.displayName = "ViewTransition";-var C7e = b.createContext(null);-C7e.displayName = "Fetchers";-var w7e = b.createContext(null);-w7e.displayName = "Await";+b7e.displayName = "DataRouterState";+var x7e = b.createContext(null);+x7e.displayName = "DataRouterData";+var S7e = b.createContext(null);+S7e.displayName = "DataRouterNavigation";+var C7e = b.createContext(!1), w7e = b.createContext({ isTransitioning: !1 });+w7e.displayName = "ViewTransition";+var T7e = b.createContext(null);+T7e.displayName = "Fetchers";+var E7e = b.createContext(null);+E7e.displayName = "Await";+var u8 = b.createContext(null);+u8.displayName = "Navigation";var d8 = b.createContext(null);-d8.displayName = "Navigation";-var f8 = b.createContext(null);-f8.displayName = "Location";-var p8 = b.createContext({+d8.displayName = "Location";+var f8 = b.createContext({outlet: null,matches: [],isDataRoute: !1});-p8.displayName = "Route";-var m8 = b.createContext(!1);-m8.displayName = "IsDataRoute";-var h8 = b.createContext(void 0);-h8.displayName = "RouteId";-var g8 = b.createContext(null);-g8.displayName = "RouteError";+f8.displayName = "Route";+var p8 = b.createContext(!1);+p8.displayName = "IsDataRoute";+var m8 = b.createContext(void 0);+m8.displayName = "RouteId";+var h8 = b.createContext(null);+h8.displayName = "RouteError";//#endregion//#region node_modules/react-router/dist/production/lib/errors.js-var T7e = "REACT_ROUTER_ERROR", E7e = "REDIRECT", D7e = "ROUTE_ERROR_RESPONSE";-function O7e(e) {- if (e.startsWith(`${T7e}:${E7e}:{`)) try {+var D7e = "REACT_ROUTER_ERROR", O7e = "REDIRECT", k7e = "ROUTE_ERROR_RESPONSE";+function A7e(e) {+ if (e.startsWith(`${D7e}:${O7e}:{`)) 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 k7e(e) {- if (e.startsWith(`${T7e}:${D7e}:{`)) try {+function j7e(e) {+ if (e.startsWith(`${D7e}:${k7e}:{`)) try {let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new a7e(t.status, t.statusText, t.data);+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new s7e(t.status, t.statusText, t.data);} catch {}}//#endregion//#region node_modules/react-router/dist/production/lib/hooks.js-function _8() {- return b.useContext(f8) != null;+function g8() {+ return b.useContext(d8) != null;}-function v8() {- return $6(_8(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(f8).location;+function _8() {+ return Q6(g8(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(d8).location;}-var A7e = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";-function j7e() {- return b.useContext(m8) ? K7e() : M7e();+var M7e = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";+function N7e() {+ return b.useContext(p8) ? J7e() : P7e();}-function M7e() {- $6(_8(), "useNavigate() may be used only in the context of a <Router> component.");- let e = b.useContext(u8), { basename: t, navigator: n } = b.useContext(d8), { matches: r } = b.useContext(p8), { pathname: i } = v8(), a = JSON.stringify($5e(r)), o = b.useRef(!1);+function P7e() {+ Q6(g8(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = b.useContext(l8), { basename: t, navigator: n } = b.useContext(u8), { matches: r } = b.useContext(f8), { pathname: i } = _8(), a = JSON.stringify(t7e(r)), o = b.useRef(!1);return b.useLayoutEffect(() => {o.current = !0;}), b.useCallback((r, s = {}) => {- if (e8(o.current, A7e), !o.current) return;+ if ($6(o.current, M7e), !o.current) return;if (typeof r == "number") {n.go(r);return;}- let c = e7e(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : s8([t, c.pathname])), p7e(typeof r == "string" ? r : n8(r), n.createHref(c), d7e(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ let c = n7e(r, JSON.parse(a), i, s.relative === "path");+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : o8([t, c.pathname])), h7e(typeof r == "string" ? r : t8(r), n.createHref(c), p7e(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,n,@@ -88301,19 +88321,19 @@ function M7e() {]);}b.createContext(null);-function N7e(e, t) {- return P7e(e, t);+function F7e(e, t) {+ return I7e(e, t);}-function P7e(e, t, n) {- $6(_8(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = b.useContext(d8), { matches: i } = b.useContext(p8), a = i[i.length - 1], o = a ? a.params : {};+function I7e(e, t, n) {+ Q6(g8(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = b.useContext(u8), { matches: i } = b.useContext(f8), a = i[i.length - 1], o = a ? a.params : {};a && a.pathname;let s = a ? a.pathnameBase : "/";a && a.route;- let c = v8(), l;+ let c = _8(), l;if (t) {- let e = typeof t == "string" ? r8(t) : t;- $6(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;+ let e = typeof t == "string" ? n8(t) : t;+ Q6(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;} else l = c;let u = l.pathname || "/", d = u;if (s !== "/") {@@ -88321,13 +88341,13 @@ function P7e(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) : k5e(e, { pathname: d });- let p = B7e(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) : j5e(e, { pathname: d });+ let p = H7e(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),- pathname: s8([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : s8([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])+ pathname: o8([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : o8([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])})), i, n);- return t && p ? /* @__PURE__ */ b.createElement(f8.Provider, { value: {+ return t && p ? /* @__PURE__ */ b.createElement(d8.Provider, { value: {location: {pathname: "/",search: "",@@ -88340,14 +88360,14 @@ function P7e(e, t, n) {navigationType: "POP"} }, p) : p;}-function F7e() {- let e = G7e(), t = o7e(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;+function L7e() {+ let e = q7e(), t = c7e(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;return /* @__PURE__ */ b.createElement(b.Fragment, null, /* @__PURE__ */ b.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ b.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ b.createElement("pre", { style: {padding: "0.5rem",backgroundColor: "rgba(200,200,200, 0.5)"} }, n) : null, null);}-var I7e = /* @__PURE__ */ b.createElement(F7e, null), L7e = class extends b.Component {+var R7e = /* @__PURE__ */ b.createElement(L7e, null), z7e = class extends b.Component {constructor(e) {super(e), this.state = {location: e.location,@@ -88355,7 +88375,7 @@ var I7e = /* @__PURE__ */ b.createElement(F7e, null), L7e = class extends b.Comperror: e.error};}- static contextType = x7e;+ static contextType = C7e;static getDerivedStateFromError(e) {return { error: e };}@@ -88376,30 +88396,30 @@ var I7e = /* @__PURE__ */ b.createElement(F7e, null), L7e = class extends b.Comprender() {let e = this.state.error;if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = k7e(e.digest);+ let t = j7e(e.digest);t && (e = t);}- let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(p8.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(m8.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(h8.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(g8.Provider, {+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(f8.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(p8.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(m8.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(h8.Provider, {value: e,children: this.props.component}))));- return this.context ? /* @__PURE__ */ b.createElement(R7e, { error: e }, t) : t;+ return this.context ? /* @__PURE__ */ b.createElement(B7e, { error: e }, t) : t;}-}, y8 = /* @__PURE__ */ new WeakMap();-function R7e({ children: e, error: t }) {- let { basename: n, navigator: r } = b.useContext(d8);+}, v8 = /* @__PURE__ */ new WeakMap();+function B7e({ children: e, error: t }) {+ let { basename: n, navigator: r } = b.useContext(u8);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = O7e(t.digest);+ let e = A7e(t.digest);if (e) {- let i = y8.get(t);+ let i = v8.get(t);if (i) throw i;- let a = l7e(e.location, n), o = a.absoluteURL || a.to;- if (p7e(e.location, o, d7e(r), "allow-explicit"), _7e(o)) throw Error("Invalid redirect location");- if (c7e && !y8.get(t)) {+ let a = d7e(e.location, n), o = a.absoluteURL || a.to;+ if (h7e(e.location, o, p7e(r), "allow-explicit"), y7e(o)) throw Error("Invalid redirect location");+ if (u7e && !v8.get(t)) {if (a.isExternal || e.reloadDocument) window.location.href = o;else {let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));- throw y8.set(t, n), n;+ throw v8.set(t, n), n;}}return /* @__PURE__ */ b.createElement("meta", {@@ -88410,11 +88430,11 @@ function R7e({ children: e, error: t }) {}return e;}-function z7e({ routeContext: e, match: t, children: n }) {- let r = b.useContext(u8);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(p8.Provider, { value: e }, /* @__PURE__ */ b.createElement(m8.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(h8.Provider, { value: t.route.id }, n)));+function V7e({ routeContext: e, match: t, children: n }) {+ let r = b.useContext(l8);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(f8.Provider, { value: e }, /* @__PURE__ */ b.createElement(p8.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(m8.Provider, { value: t.route.id }, n)));}-function B7e(e, t = [], n) {+function H7e(e, t = [], n) {let r = n?.state;if (e == null) {if (!r) return null;@@ -88425,7 +88445,7 @@ function B7e(e, t = [], n) {let i = e, a = r?.errors;if (a != null) {let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);- $6(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));+ Q6(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));}let o = !1, s = -1;if (n && r) {@@ -88445,16 +88465,16 @@ function B7e(e, t = [], n) {c(e, {location: r.location,params: r.matches?.[0]?.params ?? {},- pattern: s7e(r.matches),+ pattern: l7e(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 || I7e, o && (s < 0 && c === 0 ? (J7e("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 || R7e, o && (s < 0 && c === 0 ? (X7e("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));let m = t.concat(i.slice(0, c + 1)), h = () => {let t;- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ b.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ b.createElement(z7e, {+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ b.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ b.createElement(V7e, {match: n,routeContext: {outlet: e,@@ -88464,7 +88484,7 @@ function B7e(e, t = [], n) {children: t});};- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(L7e, {+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(z7e, {location: r.location,revalidation: r.revalidation,component: f,@@ -88479,44 +88499,44 @@ function B7e(e, t = [], n) {}) : h();}, null);}-function V7e(e) {+function U7e(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}-function H7e(e) {- let t = b.useContext(u8);- return $6(t, V7e(e)), t;+function W7e(e) {+ let t = b.useContext(l8);+ return Q6(t, U7e(e)), t;}-function U7e(e) {- let t = b.useContext(y7e);- return $6(t, V7e(e)), t;+function G7e(e) {+ let t = b.useContext(x7e);+ return Q6(t, U7e(e)), t;}-function W7e(e) {- let t = b.useContext(h8);- return $6(t, `${e} can only be used on routes that contain a unique "id"`), t;+function K7e(e) {+ let t = b.useContext(m8);+ return Q6(t, `${e} can only be used on routes that contain a unique "id"`), t;}-function G7e() {- let e = b.useContext(g8), t = U7e("useRouteError"), n = W7e("useRouteError");+function q7e() {+ let e = b.useContext(h8), t = G7e("useRouteError"), n = K7e("useRouteError");return e === void 0 ? t.errors?.[n] : e;}-function K7e() {- let { router: e } = H7e("useNavigate"), t = W7e("useNavigate"), n = b.useRef(!1);+function J7e() {+ let { router: e } = W7e("useNavigate"), t = K7e("useNavigate"), n = b.useRef(!1);return b.useLayoutEffect(() => {n.current = !0;}), b.useCallback(async (r, i = {}) => {- e8(n.current, A7e), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ $6(n.current, M7e), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {fromRouteId: t,...i}));}, [e, t]);}-var q7e = {};-function J7e(e, t, n) {- !t && !q7e[e] && (q7e[e] = !0, e8(!1, n));+var Y7e = {};+function X7e(e, t, n) {+ !t && !Y7e[e] && (Y7e[e] = !0, $6(!1, n));}-b.memo(Y7e);-function Y7e({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = b.useContext(u8);- return $6(a, "You must render this element inside a <DataRouterContext.Provider> element"), P7e(e, void 0, {+b.memo(Z7e);+function Z7e({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+ let a = b.useContext(l8);+ return Q6(a, "You must render this element inside a <DataRouterContext.Provider> element"), I7e(e, void 0, {router: a.router,manifest: t,state: n,@@ -88524,11 +88544,11 @@ function Y7e({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {onError: i});}-function b8(e) {- $6(!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 y8(e) {+ Q6(!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 X7e({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- $6(!_8(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");+function Q7e({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+ Q6(!g8(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = b.useMemo(() => ({basename: s,navigator: i,@@ -88541,9 +88561,9 @@ function X7e({ basename: e = "/", children: t = null, location: n, navigationTypa,o]);- typeof n == "string" && (n = r8(n));+ typeof n == "string" && (n = n8(n));let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = b.useMemo(() => {- let e = a8(l, s);+ let e = i8(l, s);return e == null ? null : {location: {pathname: e,@@ -88565,27 +88585,27 @@ function X7e({ basename: e = "/", children: t = null, location: n, navigationTypr,m]);- return e8(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ b.createElement(d8.Provider, { value: c }, /* @__PURE__ */ b.createElement(f8.Provider, {+ return $6(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ b.createElement(u8.Provider, { value: c }, /* @__PURE__ */ b.createElement(d8.Provider, {children: t,value: h}));}-function Z7e({ children: e, location: t }) {- return N7e(x8(e), t);+function $7e({ children: e, location: t }) {+ return F7e(b8(e), t);}b.Component;-function x8(e, t = []) {+function b8(e, t = []) {let n = [];return b.Children.forEach(e, (e, r) => {if (!b.isValidElement(e)) return;let i = [...t, r];if (e.type === b.Fragment) {- n.push.apply(n, x8(e.props.children, i));+ n.push.apply(n, b8(e.props.children, i));return;}- $6(e.type === b8, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);+ Q6(e.type === y8, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let a = e.props;- $6(!a.index || !a.children, "An index route cannot have child routes.");+ Q6(!a.index || !a.children, "An index route cannot have child routes.");let o = {id: a.id || i.join("-"),caseSensitive: a.caseSensitive,@@ -88604,27 +88624,27 @@ function x8(e, t = []) {handle: a.handle,lazy: a.lazy};- a.children && (o.children = x8(a.children, i)), n.push(o);+ a.children && (o.children = b8(a.children, i)), n.push(o);}), n;}//#endregion//#region src/history/overlay.ts-var S8 = [+var x8 = ["/item/:id","/mix/:seed/:item","/parts/:seed/:item","/editions/:seed/:item","/playlists/:playlist/:item","/follow/item/:id"-], Q7e = {+], e9e = {"/mix/:seed/:item": "mix","/parts/:seed/:item": "parts","/editions/:seed/:item": "editions","/playlists/:playlist/:item": "playlist"};-function $7e(e) {- for (let t of S8) {- let n = i8(t, e);+function t9e(e) {+ for (let t of x8) {+ let n = r8(t, e);if (!n) continue;let r = Object.values(n.params);if (!r.every((e) => /^\d+$/.test(e ?? ""))) return null;@@ -88639,7 +88659,7 @@ function $7e(e) {path: t,target: {kind: "queue",- queue: Q7e[t],+ queue: e9e[t],key: i,item: a}@@ -88647,42 +88667,42 @@ function $7e(e) {}return null;}-var e9e = (e) => $7e(e)?.target ?? null, C8 = (e) => S8.some((t) => i8(t, e) !== null);-function t9e(e) {+var n9e = (e) => t9e(e)?.target ?? null, S8 = (e) => x8.some((t) => r8(t, e) !== null);+function r9e(e) {let t = e?.backgroundLocation;return typeof t?.pathname == "string" ? {pathname: t.pathname,search: typeof t.search == "string" ? t.search : ""} : null;}-var w8 = null, T8 = null;-function E8() {+var C8 = null, w8 = null;+function T8() {let { pathname: e, search: t } = window.location;- C8(e) || (w8 = {+ S8(e) || (C8 = {pathname: e,search: t});}-function D8() {- w8 = null, T8 = null;+function E8() {+ C8 = null, w8 = null;}-function n9e(e) {- let t = t9e(e);- t && (w8 = t, T8 = t.pathname + t.search);+function i9e(e) {+ let t = r9e(e);+ t && (C8 = t, w8 = t.pathname + t.search);}-function r9e() {- let e = T8;- return T8 = null, e;+function a9e() {+ let e = w8;+ return w8 = null, e;}-function O8(e) {- return w8 ? {- backgroundLocation: { ...w8 },+function D8(e) {+ return C8 ? {+ backgroundLocation: { ...C8 },overlay: e} : void 0;}//#endregion//#region src/history/route-meta.ts-var k8 = {+var O8 = {"/stats": {section: "stats",title: "统计"@@ -88807,179 +88827,179 @@ var k8 = {title: "沉浸模式"}};-function A8(e) {- if (Object.hasOwn(k8, e)) return k8[e];- let t = $7e(e);- if (t) return k8[t.path];+function k8(e) {+ if (Object.hasOwn(O8, e)) return O8[e];+ let t = t9e(e);+ if (t) return O8[t.path];let [n, ...r] = e.split("/").filter(Boolean);if (!n) return null;- if (!r.length) return Object.hasOwn(k8, `/${n}`) ? k8[`/${n}`] : null;+ if (!r.length) return Object.hasOwn(O8, `/${n}`) ? O8[`/${n}`] : null;let i = `/${n}/*`;- return Object.hasOwn(k8, i) ? {- ...k8[i],+ return Object.hasOwn(O8, i) ? {+ ...O8[i],title: r.join("/")} : null;}//#endregion//#region src/history/managed.ts-var i9e = () => {}, a9e = new Promise((e) => {- i9e = e;+var o9e = () => {}, s9e = new Promise((e) => {+ o9e = e;});-a9e.catch(() => {});-var o9e = null, j8 = /* @__PURE__ */ new Map(), M8 = /* @__PURE__ */ new Map(), s9e = 0, N8 = /* @__PURE__ */ new Set();-function c9e(e) {- i9e(e);+s9e.catch(() => {});+var c9e = null, A8 = /* @__PURE__ */ new Map(), j8 = /* @__PURE__ */ new Map(), l9e = 0, M8 = /* @__PURE__ */ new Set();+function u9e(e) {+ o9e(e);}-function P8(e) {- return j8.get(e) ?? null;+function N8(e) {+ return A8.get(e) ?? null;}-function F8(e) {- return !!e && (j8.has(e) || M8.has(e));+function P8(e) {+ return !!e && (A8.has(e) || j8.has(e));}-var I8 = () => [...j8.values()];-function l9e(e) {- return N8.add(e), () => {- N8.delete(e);+var F8 = () => [...A8.values()];+function d9e(e) {+ return M8.add(e), () => {+ M8.delete(e);};}-function L8(e) {- let t = I8();- for (let n of [...N8]) n(t, e);+function I8(e) {+ let t = F8();+ for (let n of [...M8]) n(t, e);}-async function R8(e, t, n) {+async function L8(e, t, n) {let { container: r } = n;- if (B8(r), !n.isCurrent()) return !1;- s9e += 1;+ if (z8(r), !n.isCurrent()) return !1;+ l9e += 1;let i = {- revision: s9e,+ revision: l9e,controller: new AbortController()};- M8.set(r, i);- let a = o9e;- o9e = null, a?.();- let o = await a9e;- if (M8.get(r) !== i) return !1;+ j8.set(r, i);+ let a = c9e;+ c9e = null, a?.();+ let o = await s9e;+ if (j8.get(r) !== i) return !1;try {await o(e, t, i.controller.signal);} catch {if (i.controller.signal.aborted) return !1;}- if (M8.get(r) !== i || (M8.delete(r), !n.isCurrent())) return !1;- let s = n.place ? n.place(r) : u9e(r);- return j8.set(r, {+ if (j8.get(r) !== i || (j8.delete(r), !n.isCurrent())) return !1;+ let s = n.place ? n.place(r) : f9e(r);+ return A8.set(r, {path: e,props: t,revision: i.revision,container: r,host: s,resident: !!n.resident- }), L8(!0), !0;+ }), I8(!0), !0;}-function u9e(e) {+function f9e(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.textContent = "", e.append(t), t;}-function z8(e, t) {- let n = e ? j8.get(e) : void 0;- n && (j8.set(n.container, {+function R8(e, t) {+ let n = e ? A8.get(e) : void 0;+ n && (A8.set(n.container, {...n,props: {...n.props,...t}- }), L8(!1));+ }), I8(!1));}-function B8(e, ...t) {+function z8(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {- let e = M8.get(r);- e && (e.controller.abort(), M8.delete(r));- let t = j8.get(r);- t && (j8.delete(r), n.push(t));+ let e = j8.get(r);+ e && (e.controller.abort(), j8.delete(r));+ let t = A8.get(r);+ t && (A8.delete(r), n.push(t));}if (n.length) {- L8(!0);+ I8(!0);for (let e of n) e.resident || e.host.remove();}}-function d9e() {- let [e, ...t] = /* @__PURE__ */ new Set([...j8.keys(), ...M8.keys()]);- e && B8(e, ...t);+function p9e() {+ let [e, ...t] = /* @__PURE__ */ new Set([...A8.keys(), ...j8.keys()]);+ e && z8(e, ...t);}-function f9e(e, t) {- let n = j8.get(e);- n?.revision === t && (j8.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- L8(!1);+function m9e(e, t) {+ let n = A8.get(e);+ n?.revision === t && (A8.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {+ I8(!1);}));}//#endregion//#region src/history/index.ts-var V8 = w5e({ v5Compat: !0 }), H8 = 0, U8 = 0, W8 = {- action: V8.action,- location: V8.location,- seq: H8,- openEpoch: U8,+var B8 = E5e({ v5Compat: !0 }), V8 = 0, H8 = 0, U8 = {+ action: B8.action,+ location: B8.location,+ seq: V8,+ openEpoch: H8,claimed: !0-}, G8 = /* @__PURE__ */ new Set(), K8 = !1, q8 = !0;-V8.listen(({ action: e, location: t }) => {- H8 += 1, K8 || (U8 += 1), e !== "REPLACE" && (q8 = !1), W8 = {+}, W8 = /* @__PURE__ */ new Set(), G8 = !1, K8 = !0;+B8.listen(({ action: e, location: t }) => {+ V8 += 1, G8 || (H8 += 1), e !== "REPLACE" && (K8 = !1), U8 = {action: e,location: t,- seq: H8,- openEpoch: U8,- claimed: K8+ seq: V8,+ openEpoch: H8,+ claimed: G8};- for (let e of [...G8]) e(W8);+ for (let e of [...W8]) e(U8);});-var J8 = {+var q8 = {get navigation() {- return W8;+ return U8;},listen(e) {- return G8.add(e), () => {- G8.delete(e);+ return W8.add(e), () => {+ W8.delete(e);};},- createHref: (e) => V8.createHref(e),- createURL: (e) => V8.createURL(e),- encodeLocation: (e) => V8.encodeLocation(e),- go: (e) => V8.go(e),- push: (e, t) => V8.push(e, t),- replace: (e, t) => V8.replace(e, t)+ createHref: (e) => B8.createHref(e),+ createURL: (e) => B8.createURL(e),+ encodeLocation: (e) => B8.encodeLocation(e),+ go: (e) => B8.go(e),+ push: (e, t) => B8.push(e, t),+ replace: (e, t) => B8.replace(e, t)};-function Y8(e, { replace: t = !1, state: n } = {}) {+function J8(e, { replace: t = !1, state: n } = {}) {let r = new URL(e, window.location.href), i = `${r.pathname}${r.search}${r.hash}`;- K8 = !0;+ G8 = !0;try {- t ? V8.replace(i, n) : V8.push(i, n);+ t ? B8.replace(i, n) : B8.push(i, n);} finally {- K8 = !1;+ G8 = !1;}}-var X8 = () => q8;-function Z8() {- return q8 ? null : t9e(W8.location.state);+var Y8 = () => K8;+function X8() {+ return K8 ? null : r9e(U8.location.state);}-function p9e(e) {- let t = O8(e);- t && C8(window.location.pathname) && Y8(window.location.href, {+function h9e(e) {+ let t = D8(e);+ t && S8(window.location.pathname) && J8(window.location.href, {replace: !0,state: t});}//#endregion//#region src/react/providers.tsx-var Q8 = null;-function m9e() {- return Q8?.isConnected || (Q8 = document.createElement("div"), Q8.className = "peach-react", Q8.dataset.reactOverlays = "", document.body.append(Q8)), Q8;+var Z8 = null;+function g9e() {+ return Z8?.isConnected || (Z8 = document.createElement("div"), Z8.className = "peach-react", Z8.dataset.reactOverlays = "", document.body.append(Z8)), Z8;}-function h9e({ children: e }) {+function _9e({ children: e }) {return /* @__PURE__ */ (0, x.jsx)(w, {client: V,children: /* @__PURE__ */ (0, x.jsx)(tne, {reducedMotion: "user",children: /* @__PURE__ */ (0, x.jsx)(Tx, {- getContainer: m9e,+ getContainer: g9e,children: e})})@@ -88987,9 +89007,9 @@ function h9e({ children: e }) {}//#endregion//#region src/react/router/pages/overlay.tsx-var g9e = () => bc, _9e = () => xc;-function v9e() {- let e = (0, b.useContext)(t5), t = (0, b.useSyncExternalStore)(jc, _9e), n = (0, b.useSyncExternalStore)(jc, g9e);+var v9e = () => bc, y9e = () => xc;+function b9e() {+ let e = (0, b.useContext)(e5), t = (0, b.useSyncExternalStore)(jc, y9e), n = (0, b.useSyncExternalStore)(jc, v9e);return (0, b.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -89004,11 +89024,11 @@ function v9e() {e]), null;}-function $8(e, t = !1) {- let n = (0, b.useSyncExternalStore)(jc, g9e), r = (0, b.useRef)(void 0);+function Q8(e, t = !1) {+ let n = (0, b.useSyncExternalStore)(jc, v9e), r = (0, b.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = J8.navigation;- r.current = bc === 0 || X8() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = q8.navigation;+ r.current = bc === 0 || Y8() ? "boot" : e && !t ? null : "history";}let i = (0, b.useRef)(e);(0, b.useEffect)(() => {@@ -89024,160 +89044,160 @@ function $8(e, t = !1) {}));}, [n]);}-function y9e() {- let e = (0, b.useContext)(t5), t = (0, b.useRef)(e);+function x9e() {+ let e = (0, b.useContext)(e5), t = (0, b.useRef)(e);return (0, b.useLayoutEffect)(() => {t.current = e;- }, [e]), $8((t) => {- let n = e9e(J8.navigation.location.pathname);- e && n && (D8(), t || n9e(J8.navigation.location.state), e.openOverlay(n));+ }, [e]), Q8((t) => {+ let n = n9e(q8.navigation.location.pathname);+ e && n && (E8(), t || i9e(q8.navigation.location.state), e.openOverlay(n));}, !0), (0, b.useEffect)(() => () => {queueMicrotask(() => {- C8(J8.navigation.location.pathname) || t.current?.closeStage();+ S8(q8.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function b9e({ path: e }) {- return e5(), /* @__PURE__ */ (0, x.jsx)(y9e, {}, `${e} ${J8.navigation.seq}`);+function S9e({ path: e }) {+ return $8(), /* @__PURE__ */ (0, x.jsx)(x9e, {}, `${e} ${q8.navigation.seq}`);}-function x9e() {- let e = (0, b.useContext)(t5);- return $8(() => {+function C9e() {+ let e = (0, b.useContext)(e5);+ return Q8(() => {e?.follow?.ground();}), null;}-function S9e() {- return /* @__PURE__ */ (0, x.jsx)(x9e, {}, e5());+function w9e() {+ return /* @__PURE__ */ (0, x.jsx)(C9e, {}, $8());}//#endregion//#region src/react/router/router.tsx-var C9e = (0, b.createContext)(0), e5 = () => (0, b.useContext)(C9e), t5 = (0, b.createContext)(null);-function w9e({ children: e }) {- let [t, n] = (0, b.useState)(() => J8.navigation);- return (0, b.useLayoutEffect)(() => (n(J8.navigation), J8.listen((e) => {+var T9e = (0, b.createContext)(0), $8 = () => (0, b.useContext)(T9e), e5 = (0, b.createContext)(null);+function E9e({ children: e }) {+ let [t, n] = (0, b.useState)(() => q8.navigation);+ return (0, b.useLayoutEffect)(() => (n(q8.navigation), q8.listen((e) => {(0, mt.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, x.jsx)(C9e.Provider, {+ })), []), /* @__PURE__ */ (0, x.jsx)(T9e.Provider, {value: t.openEpoch,- children: /* @__PURE__ */ (0, x.jsx)(X7e, {+ children: /* @__PURE__ */ (0, x.jsx)(Q7e, {location: t.location,navigationType: t.action,- navigator: J8,+ navigator: q8,children: e})});}-function T9e({ target: e }) {- let t = j7e();+function D9e({ target: e }) {+ let t = N7e();return (0, b.useLayoutEffect)(() => {e.current = t;}), null;}-function E9e(e, t, n) {+function O9e(e, t, n) {let r = new URL(e, window.location.href);y5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function D9e() {- let e = (0, b.useContext)(t5), [t, n] = (0, b.useState)(I8), r = (0, b.useRef)(null);- (0, b.useLayoutEffect)(() => (n(I8()), l9e((e, t) => {+function k9e() {+ let e = (0, b.useContext)(e5), [t, n] = (0, b.useState)(F8), r = (0, b.useRef)(null);+ (0, b.useLayoutEffect)(() => (n(F8()), d9e((e, t) => {t ? (0, mt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, b.useMemo)(() => (t) => {- e && r.current && E9e(t, e, r.current);+ e && r.current && O9e(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(T9e, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(O9e, {+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(D9e, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(A9e, {entry: t,- children: /* @__PURE__ */ (0, x.jsx)(k9e, {+ children: /* @__PURE__ */ (0, x.jsx)(j9e, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var O9e = class extends b.Component {+var A9e = class extends b.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };}componentDidCatch() {- f9e(this.props.entry.container, this.props.entry.revision);+ m9e(this.props.entry.container, this.props.entry.revision);}render() {return this.state.failed ? null : this.props.children;}-}, k9e = (0, b.memo)(function({ entry: e, actions: t, go: n }) {- return ett(e.path) ? (0, mt.createPortal)(rtt(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, j9e = (0, b.memo)(function({ entry: e, actions: t, go: n }) {+ return ttt(e.path) ? (0, mt.createPortal)(itt(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function A9e({ children: e }) {- let t = v8();- e5();- let n = Z8();- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(Z7e, {+function M9e({ children: e }) {+ let t = _8();+ $8();+ let n = X8();+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)($7e, {location: n ?? t,children: [- Object.entries(v5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(b8, {+ Object.entries(v5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(y8, {path: e,element: t.element}, e)),- Object.entries(Wet).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(b8, {+ Object.entries(Get).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(y8, {path: e,element: t.element}, e)),- Object.entries(b5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(b8, {+ Object.entries(b5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(y8, {path: e,element: t.element}, e)),- Object.entries(S5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(b8, {+ Object.entries(S5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(y8, {path: e,element: t.element}, e)),- Object.entries(w5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(b8, {+ Object.entries(w5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(y8, {path: e,element: t.element}, e)),- $et.map((e) => /* @__PURE__ */ (0, x.jsx)(b8, {+ ett.map((e) => /* @__PURE__ */ (0, x.jsx)(y8, {path: e,element: T5["/"].element}, e)),- Object.entries(Get).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(b8, {+ Object.entries(Ket).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(y8, {path: e,element: t.element}, e)),- S8.map((e) => /* @__PURE__ */ (0, x.jsx)(b8, {+ x8.map((e) => /* @__PURE__ */ (0, x.jsx)(y8, {path: e,- element: e === "/follow/item/:id" ? /* @__PURE__ */ (0, x.jsx)(S9e, {}) : T5["/"].element+ element: e === "/follow/item/:id" ? /* @__PURE__ */ (0, x.jsx)(w9e, {}) : T5["/"].element}, e)),- /* @__PURE__ */ (0, x.jsx)(b8, {+ /* @__PURE__ */ (0, x.jsx)(y8, {path: "*",element: e})]- }), /* @__PURE__ */ (0, x.jsxs)(Z7e, { children: [S8.map((e) => /* @__PURE__ */ (0, x.jsx)(b8, {+ }), /* @__PURE__ */ (0, x.jsxs)($7e, { children: [x8.map((e) => /* @__PURE__ */ (0, x.jsx)(y8, {path: e,- element: /* @__PURE__ */ (0, x.jsx)(b9e, { path: e })- }, e)), /* @__PURE__ */ (0, x.jsx)(b8, {+ element: /* @__PURE__ */ (0, x.jsx)(S9e, { path: e })+ }, e)), /* @__PURE__ */ (0, x.jsx)(y8, {path: "*",element: null})] })] });}-function j9e({ children: e, actions: t = null }) {- return /* @__PURE__ */ (0, x.jsx)(h9e, { children: /* @__PURE__ */ (0, x.jsx)(t5.Provider, {+function N9e({ children: e, actions: t = null }) {+ return /* @__PURE__ */ (0, x.jsx)(_9e, { children: /* @__PURE__ */ (0, x.jsx)(e5.Provider, {value: t,- children: /* @__PURE__ */ (0, x.jsxs)(w9e, { children: [- /* @__PURE__ */ (0, x.jsx)(D9e, {}),- /* @__PURE__ */ (0, x.jsx)(v9e, {}),- /* @__PURE__ */ (0, x.jsx)(A9e, { children: e })+ children: /* @__PURE__ */ (0, x.jsxs)(E9e, { children: [+ /* @__PURE__ */ (0, x.jsx)(k9e, {}),+ /* @__PURE__ */ (0, x.jsx)(b9e, {}),+ /* @__PURE__ */ (0, x.jsx)(M9e, { children: e })] })}) });}-var M9e = { onCaughtError: (e) => {+var P9e = { onCaughtError: (e) => {globalThis.reportError?.(e);-} }, n5 = {+} }, t5 = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, N9e = [[+}, F9e = [["big","大图 · 竖幅头像","maximize"@@ -89185,7 +89205,7 @@ var M9e = { onCaughtError: (e) => {"compact","紧凑 · 圆形头像","layout-grid"-]], P9e = [[+]], I9e = [["big","大图 · 完整标识","maximize"@@ -89193,7 +89213,7 @@ var M9e = { onCaughtError: (e) => {"compact","紧凑 · 圆形标识","layout-grid"-]], F9e = [[+]], L9e = [["studios","厂牌","clapperboard"@@ -89201,7 +89221,7 @@ var M9e = { onCaughtError: (e) => {"agencies","事务所","briefcase"-]], I9e = [[+]], R9e = [["local","本地","hard-drive"@@ -89209,7 +89229,7 @@ var M9e = { onCaughtError: (e) => {"online","在线","rss"-]], L9e = [+]], z9e = [["performers","艺人",@@ -89225,7 +89245,7 @@ var M9e = { onCaughtError: (e) => {"在线","rss"]-], R9e = [[+], B9e = [["cloud","标签云","tags"@@ -89233,8 +89253,8 @@ var M9e = { onCaughtError: (e) => {"alphabet","字母表","text-aa"-]], z9e = (e) => e === "compact" ? "compact" : "big";-function B9e(e, t) {+]], V9e = (e) => e === "compact" ? "compact" : "big";+function H9e(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -89244,7 +89264,7 @@ function B9e(e, t) {category: n.get("category") || "all"};}-var r5 = (e, t, n) => Za(e.map(([e, t, n]) => ({+var n5 = (e, t, n) => Za(e.map(([e, t, n]) => ({value: e,label: t,symbol: n@@ -89252,12 +89272,12 @@ var r5 = (e, t, n) => Za(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), V9e = (e) => `<div class="board-filter-frame" data-filter-frame>+}), U9e = (e) => `<div class="board-filter-frame" data-filter-frame><div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div><div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>- ${qo("tag-view", "标签视图", R9e, e)}</div></div>`;-function H9e({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = n5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? qo("people-layout", o + "索引版式", c ? P9e : N9e, a) : "";+ ${qo("tag-view", "标签视图", B9e, e)}</div></div>`;+function W9e({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = t5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? qo("people-layout", o + "索引版式", c ? I9e : F9e, a) : "";return `<div class="ihead"><h2 class="disp indexheading">${o}</h2>${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}@@ -89266,27 +89286,27 @@ function H9e({ kind: e, q: t, scope: n, view: r, category: i }, a) {value: t || ""})}</div>- ${e === "tags" ? r5(I9e, n, "词表") : e === "performers" || e === "creators" ? r5(L9e, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? r5(F9e, e, "公司类型") : ""}- ${e === "tags" ? V9e(r) : ""}- ${e === "performers" && n !== "online" ? Cbe(i) : ""}+ ${e === "tags" ? n5(R9e, n, "词表") : e === "performers" || e === "creators" ? n5(z9e, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? n5(L9e, e, "公司类型") : ""}+ ${e === "tags" ? U9e(r) : ""}+ ${e === "performers" && n !== "online" ? Tbe(i) : ""}${fo({kind: e,layout: a,mode: r})}`;}-var U9e = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function W9e(e, t, n) {- let r = H9e(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== U9e(r) && (e.innerHTML = r, yo(e));+var G9e = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+function K9e(e, t, n) {+ let r = W9e(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== G9e(r) && (e.innerHTML = r, yo(e));}//#endregion//#region src/react/router/pages/index-entity.tsx-var G9e = () => bc, K9e = () => ac, i5 = () => document.getElementById("index");-function a5(e, t, n = {}) {- let r = (0, b.useSyncExternalStore)(jc, G9e);- v8();- let i = C8(J8.navigation.location.pathname), a = (0, b.useRef)({+var q9e = () => bc, J9e = () => ac, r5 = () => document.getElementById("index");+function i5(e, t, n = {}) {+ let r = (0, b.useSyncExternalStore)(jc, q9e);+ _8();+ let i = S8(q8.navigation.location.pathname), a = (0, b.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -89311,7 +89331,7 @@ function a5(e, t, n = {}) {let t = a.current;if (!t.mounted) return;let n = t.epoch !== e || t.opens !== bc, r = t.opens !== bc;- if (t.epoch = e, t.opens = bc, C8(J8.navigation.location.pathname)) {+ if (t.epoch = e, t.opens = bc, S8(q8.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -89332,13 +89352,13 @@ function a5(e, t, n = {}) {i]);}-async function q9e(e, t, n, r) {- let i = i5();+async function Y9e(e, t, n, r) {+ let i = r5();if (!i) return;let a = `/${t}`;e.surfaceChanged("index", a);- let o = B9e(t, n), s = z9e(cT().value.peopleLayout);- W9e(i, o, s), await R8(a, {+ let o = H9e(t, n), s = V9e(cT().value.peopleLayout);+ K9e(i, o, s), await L8(a, {...o,layout: s,selectMode: ac,@@ -89348,23 +89368,23 @@ async function q9e(e, t, n, r) {isCurrent: r}) && r() && e.surfaceShown?.("index", a);}-function J9e(e) {- let t = i5(), n = t ? P8(t) : null;+function X9e(e) {+ let t = r5(), n = t ? N8(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function Y9e({ epoch: e }) {- let t = (0, b.useContext)(t5), n = v8(), r = n.pathname.split("/").filter(Boolean)[0];- return a5(e, (e, i) => {- t && q9e(t, r, n.search, i);- }, { shown: () => J9e(`/${r}`) }), null;+function Z9e({ epoch: e }) {+ let t = (0, b.useContext)(e5), n = _8(), r = n.pathname.split("/").filter(Boolean)[0];+ return i5(e, (e, i) => {+ t && Y9e(t, r, n.search, i);+ }, { shown: () => X9e(`/${r}`) }), null;}-function X9e() {- let e = e5(), t = (0, b.useSyncExternalStore)(jc, K9e), n = (0, b.useRef)(t);+function Q9e() {+ let e = $8(), t = (0, b.useSyncExternalStore)(jc, J9e), n = (0, b.useRef)(t);return (0, b.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && z8(i5(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, x.jsx)(Y9e, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && R8(r5(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, x.jsx)(Z9e, { epoch: e }, e);}-function Z9e(e) {+function $9e(e) {let t;try {t = decodeURIComponent(e);@@ -89378,9 +89398,9 @@ function Z9e(e) {name: a} : null;}-var Q9e = /* @__PURE__ */ new WeakMap();-function $9e(e) {- let t = Q9e.get(e);+var eet = /* @__PURE__ */ new WeakMap();+function tet(e) {+ let t = eet.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -89390,14 +89410,14 @@ function $9e(e) {...e.grid.actions,revealSource: e.revealSource}- }, Q9e.set(e, t)), t;+ }, eet.set(e, t)), t;}-function eet() {- let e = i5(), t = e ? P8(e) : null;+function net() {+ let e = r5(), t = e ? N8(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function tet(e, t, n, r, i, a) {- let o = i5();+async function ret(e, t, n, r, i, a) {+ let o = r5();if (!o) return;let { segment: s, kind: c, name: l } = n;if (e.surfaceChanged("entity", r), await t.loading(c, l, a), !a()) return;@@ -89411,7 +89431,7 @@ async function tet(e, t, n, r, i, a) {}, m = t.props(c, l, i), h = {...m,hosts: p,- card: $9e(e),+ card: tet(e),actions: {...m.actions,javContext: (e) => {@@ -89419,43 +89439,43 @@ async function tet(e, t, n, r, i, a) {}}};- await R8(`/${s}/*`, h, {+ await L8(`/${s}/*`, h, {container: o,isCurrent: a,place: (e) => (e.replaceChildren(...d), f.firstElementChild)- }) && a() && eet() && (e.surfaceShown?.("entity", r), window.scrollTo({+ }) && a() && net() && (e.surfaceShown?.("entity", r), window.scrollTo({top: 0,behavior: "smooth"}));}-function net({ target: e }) {- let t = (0, b.useContext)(t5), n = e5(), r = v8();- return a5(n, (n, i) => {+function iet({ target: e }) {+ let t = (0, b.useContext)(e5), n = $8(), r = _8();+ return i5(n, (n, i) => {let a = t?.entity;- t && a && (n || !a.refresh(e.kind, e.name, r.search)) && tet(t, a, e, r.pathname, r.search, i);- }, { shown: () => eet() && !i5()?.hidden }), null;+ t && a && (n || !a.refresh(e.kind, e.name, r.search)) && ret(t, a, e, r.pathname, r.search, i);+ }, { shown: () => net() && !r5()?.hidden }), null;}-function ret() {- let e = Z9e(v8().pathname);- return e ? /* @__PURE__ */ (0, x.jsx)(net, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function aet() {+ let e = $9e(_8().pathname);+ return e ? /* @__PURE__ */ (0, x.jsx)(iet, { target: e }, JSON.stringify([e.kind, e.name])) : null;}//#endregion//#region src/react/router/pages/catalog.tsx-var iet = () => bc, aet = J8.navigation.seq, oet = J8.navigation.openEpoch, o5 = J8.navigation.location.pathname, s5 = {- seq: aet,+var oet = () => bc, set = q8.navigation.seq, cet = q8.navigation.openEpoch, a5 = q8.navigation.location.pathname, o5 = {+ seq: set,claimed: !0,- from: o5+ from: a5};-J8.listen((e) => {- s5 = {+q8.listen((e) => {+ o5 = {seq: e.seq,- claimed: e.openEpoch === oet,- from: o5- }, oet = e.openEpoch, o5 = e.location.pathname;+ claimed: e.openEpoch === cet,+ from: a5+ }, cet = e.openEpoch, a5 = e.location.pathname;});-var c5 = !1;-function set(e) {- let { seq: t, openEpoch: n, location: r } = J8.navigation, i = C8(r.pathname), a = Z8() ?? r, o = H ?? {};+var s5 = !1;+function uet(e) {+ let { seq: t, openEpoch: n, location: r } = q8.navigation, i = S8(r.pathname), a = X8() ?? r, o = H ?? {};return {seq: t,epoch: n,@@ -89466,7 +89486,7 @@ function set(e) {opened: e};}-function cet(e, t, n, r) {+function det(e, t, n, r) {let i = { ...H };if (e === "/trash") return {...i,@@ -89497,13 +89517,13 @@ function cet(e, t, n, r) {jav: a.get("jav") || ""};}-function uet(e, t) {- let n = { ...e }, r = set(n.opened);+function fet(e, t) {+ let n = { ...e }, r = uet(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;if (r.covered) {- Z8() || i.fill();+ X8() || i.fill();return;}let a = !1;@@ -89513,41 +89533,41 @@ function uet(e, t) {i.load();return;}- r.epoch !== n.epoch && (a = J8.navigation.action === "POP" && s5.from !== "/");+ r.epoch !== n.epoch && (a = q8.navigation.action === "POP" && o5.from !== "/");}- let { pathname: o, search: s } = J8.navigation.location;+ let { pathname: o, search: s } = q8.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = gR(s);- c5 = !0, Y8(_R(e, t), { replace: !0 });+ let { kind: e, view: t } = hR(s);+ s5 = !0, J8(gR(e, t), { replace: !0 });return;}- let c = c5;- c5 = !1, a &&= o === "/", e.opened = !0, kc({ state: cet(o, s, a, i) }), i.open(o, {+ let c = s5;+ s5 = !1, a &&= o === "/", e.opened = !0, kc({ state: det(o, s, a, i) }), i.open(o, {entering: a,retitle: c});}-function det(e) {- return wt(e) || e === "/trash" || C8(e) || e === "/immerse" || !!Z9e(e);+function pet(e) {+ return wt(e) || e === "/trash" || S8(e) || e === "/immerse" || !!$9e(e);}-function fet() {- let e = (0, b.useContext)(t5), t = e5(), n = (0, b.useSyncExternalStore)(jc, iet), r = v8(), i = (0, b.useRef)(null), a = (0, b.useRef)({+function met() {+ let e = (0, b.useContext)(e5), t = $8(), n = (0, b.useSyncExternalStore)(jc, oet), r = _8(), i = (0, b.useRef)(null), a = (0, b.useRef)({mounted: !0,queued: !1});return (0, b.useEffect)(() => {let t = a.current;t.mounted = !0;- let n = set(!C8(J8.navigation.location.pathname));- return !n.covered && n.opens > 0 && (c5 || s5.seq === aet ? n.opens = -1 : s5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {+ let n = uet(!S8(q8.navigation.location.pathname));+ return !n.covered && n.opens > 0 && (s5 || o5.seq === set ? n.opens = -1 : o5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {t.mounted = !1, queueMicrotask(() => {- e?.catalog && !det(J8.navigation.location.pathname) && e.catalog.release();+ e?.catalog && !pet(q8.navigation.location.pathname) && e.catalog.release();});};}, []), (0, b.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && uet(i.current, e);+ t.queued = !1, t.mounted && i.current && fet(i.current, e);}));}, [t,@@ -89556,13 +89576,13 @@ function fet() {e]), null;}-function pet() {- let { pathname: e } = v8();- return C8(e) && !e9e(e) ? null : /* @__PURE__ */ (0, x.jsx)(fet, {}, e === "/junk-files" ? "/junk-files" : "/");+function het() {+ let { pathname: e } = _8();+ return S8(e) && !n9e(e) ? null : /* @__PURE__ */ (0, x.jsx)(met, {}, e === "/junk-files" ? "/junk-files" : "/");}//#endregion//#region src/management-placeholder.ts-var l5 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => uo(e, {+var c5 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => uo(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -89570,7 +89590,7 @@ var l5 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), met = [+}), get = ["元数据字段","创作者标签","厂牌 Logo",@@ -89580,54 +89600,54 @@ var l5 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], het = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${R(e)}">+], _et = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${R(e)}"><div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>- <div class="reviewtabs" data-section-items>${met.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${R(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>+ <div class="reviewtabs" data-section-items>${get.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${R(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div><div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, get = {- "/data-cleanup": () => nP(),- "/resource-sync": () => nP(),- "/review": () => het(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, vet = {+ "/data-cleanup": () => tP(),+ "/resource-sync": () => tP(),+ "/review": () => _et(),"/diagnostics": () => lo(),"/scraping": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${l5("正在读取采集来源", {+ ${c5("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function u5(e, { followLayout: t, followSort: n, followDir: r }) {- return ROe(e, {+function l5(e, { followLayout: t, followSort: n, followDir: r }) {+ return BOe(e, {followLayout: t,...e === "/follow-manage" ? {followSort: n,followDir: r} : {}- }) || (get[e] ?? (() => l5("正在读取页面")))();+ }) || (vet[e] ?? (() => c5("正在读取页面")))();}-var _et = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function d5(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = _et(t);+var yet = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function u5(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = yet(t);(!r || r !== n) && (e.innerHTML = t, yo(e));}//#endregion//#region src/react/router/pages/follow.tsx-var f5 = () => document.getElementById("stats"), vet = () => Ec;-function yet(e) {+var d5 = () => document.getElementById("stats"), bet = () => Ec;+function xet(e) {let t = document.createElement("div");return t.className = "peach-react", co(e, () => {e.textContent = "", e.append(t);}), t;}-async function bet(e, t) {- let n = f5(), r = e.follow;+async function Cet(e, t) {+ let n = d5(), r = e.follow;if (!n || !r || r.refresh()) return;let i = Tc;- e.surfaceChanged("follow", "/follow"), d5(n, r.skeleton()), await R8("/follow", r.props(), {+ e.surfaceChanged("follow", "/follow"), u5(n, r.skeleton()), await L8("/follow", r.props(), {container: n,isCurrent: t,- place: yet+ place: xet}), t() && window.scrollTo(i ? {top: i,behavior: "instant"@@ -89636,32 +89656,32 @@ async function bet(e, t) {behavior: "smooth"});}-function xet() {- let e = f5(), t = e ? P8(e) : null;+function wet() {+ let e = d5(), t = e ? N8(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function Cet() {- let e = (0, b.useContext)(t5);- return a5(e5(), (t, n) => {- e && bet(e, n);+function Tet() {+ let e = (0, b.useContext)(e5);+ return i5($8(), (t, n) => {+ e && Cet(e, n);}, {- shown: xet,+ shown: wet,onCovered: () => {- J8.navigation.location.pathname.startsWith("/follow/item/") && e?.follow?.ground();+ q8.navigation.location.pathname.startsWith("/follow/item/") && e?.follow?.ground();}}), null;}-function wet(e) {- let t = e ? P8(e) : null;+function Eet(e) {+ let t = e ? N8(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function Tet(e, t) {- let n = f5();- n && (e.surfaceChanged("playlists", "/playlists"), d5(n, u5("/playlists", {+async function Det(e, t) {+ let n = d5();+ n && (e.surfaceChanged("playlists", "/playlists"), u5(n, l5("/playlists", {followLayout: "",followSort: "",followDir: ""- })), await R8("/playlists", { revision: Ec }, {+ })), await L8("/playlists", { revision: Ec }, {container: n,isCurrent: t}), t() && window.scrollTo({@@ -89669,66 +89689,66 @@ async function Tet(e, t) {behavior: "smooth"}));}-function Eet() {- let e = (0, b.useContext)(t5), t = (0, b.useSyncExternalStore)(jc, vet), n = (0, b.useRef)(t);+function Oet() {+ let e = (0, b.useContext)(e5), t = (0, b.useSyncExternalStore)(jc, bet), n = (0, b.useRef)(t);return (0, b.useEffect)(() => {if (n.current === t) return;n.current = t;- let e = f5();- wet(e) && z8(e, { revision: t });- }, [t]), a5(e5(), (t, n) => {- e && Tet(e, n);+ let e = d5();+ Eet(e) && R8(e, { revision: t });+ }, [t]), i5($8(), (t, n) => {+ e && Det(e, n);}, { shown: () => {- let e = f5();- return wet(e) && !e.hidden;+ let e = d5();+ return Eet(e) && !e.hidden;} }), null;}//#endregion//#region src/react/router/pages/immerse.tsx-function Det() {- let e = new URLSearchParams(J8.navigation.location.search).get("id");+function ket() {+ let e = new URLSearchParams(q8.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function Oet() {- let e = (0, b.useContext)(t5);- return $8(() => {- e?.openImmerse(Det());+function Aet() {+ let e = (0, b.useContext)(e5);+ return Q8(() => {+ e?.openImmerse(ket());}, !0), null;}-function ket() {- return /* @__PURE__ */ (0, x.jsx)(Oet, {}, e5());+function jet() {+ return /* @__PURE__ */ (0, x.jsx)(Aet, {}, $8());}//#endregion//#region src/react/router/pages/managed.tsx-var Aet = [+var Met = ["list","add","feeds","wants","source"-], jet = () => bc > 0, Met = () => (0, b.useSyncExternalStore)(jc, jet), p5 = !1, Net = () => cT().value.followLayout === "table" ? "table" : "default", m5 = () => new URLSearchParams(window.location.search);-function Pet(e) {- let t = m5();- return u5(e, {- followLayout: Net(),+], Net = () => bc > 0, Pet = () => (0, b.useSyncExternalStore)(jc, Net), f5 = !1, Fet = () => cT().value.followLayout === "table" ? "table" : "default", p5 = () => new URLSearchParams(window.location.search);+function Iet(e) {+ let t = p5();+ return l5(e, {+ followLayout: Fet(),followSort: t.get("sort") || "",followDir: t.get("dir") || ""});}-function Fet(e) {+function Let(e) {return vt("/healthz", { signal: e.controller.signal }).catch((e) => {if (yt(e)) return null;throw e;});}-function Iet(e, t) {+function m5(e, t) {return {readOnly: !!e?.ledger_read_only,readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""};}-async function Let(e, t) {+async function Ret(e, t) {if (e === "/stats") return { configurable: !!vc };if (e === "/taste") {let e = yc;@@ -89740,26 +89760,26 @@ async function Let(e, t) {return e ? { section: e } : {};}if (e === "/review") {- let e = m5().get("category") || "", n = await Fet(t);+ let e = p5().get("category") || "", n = await Let(t);return t.live ? {- category: FM(e) ? e : "",- ...Iet(n, "/review")+ category: PM(e) ? e : "",+ ...m5(n, "/review")} : null;}if (e === "/follow-manage") {- let e = m5(), n = e.get("tab") || "", r = {- tab: Aet.includes(n) ? n : "list",+ let e = p5(), n = e.get("tab") || "", r = {+ tab: Met.includes(n) ? n : "list",page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),sort: e.get("sort") || "",dir: e.get("dir") || ""- }, i = await Fet(t);+ }, i = await Let(t);if (!t.live) return null;let a = cT().value;return {...r,pageSize: Number(a.followPageSize) || 20,- layout: Net(),- ...Iet(i, "/follow-manage")+ layout: Fet(),+ ...m5(i, "/follow-manage")};}return {};@@ -89771,13 +89791,13 @@ var h5 = () => {});}, g5 = (e) => {document.getElementById(e)?.scrollIntoView({ block: "start" });-}, Ret = /* @__PURE__ */ new Set(["/stats", "/taste"]), zet = /* @__PURE__ */ new Set([+}, zet = /* @__PURE__ */ new Set(["/stats", "/taste"]), Bet = /* @__PURE__ */ new Set(["/review","/quality-goals","/activity","/follow-manage"]);-async function Bet(e, t, n) {+async function Vet(e, t, n) {let r = document.getElementById("stats");if (!r) return;t.surfaceChanged("management", e), e === "/taste" && (kc({ state: {@@ -89795,18 +89815,18 @@ async function Bet(e, t, n) {q: "",jav: ""} }), t.clearSearch());- let i = e === "/data-cleanup" && p5;- i && (p5 = !1), d5(r, Pet(e));- let a = await Let(e, n);+ let i = e === "/data-cleanup" && f5;+ i && (f5 = !1), u5(r, Iet(e));+ let a = await Ret(e, n);if (!a) return;- let o = await R8(e, a, {+ let o = await L8(e, a, {container: r,isCurrent: () => n.live});- if (o && (n.revision = P8(r)?.revision ?? 0), e === "/configuration" && o && kc({ configurationRequestedSection: "" }), Ret.has(e) && h5(), n.live) {+ if (o && (n.revision = N8(r)?.revision ?? 0), e === "/configuration" && o && kc({ configurationRequestedSection: "" }), zet.has(e) && h5(), n.live) {let { hash: t } = window.location;- zet.has(e) && h5(), e === "/configuration" && (t === "#libraryProcessing" ? queueMicrotask(() => {- n.live && Y8("/data-cleanup#libraryProcessing", {+ Bet.has(e) && h5(), e === "/configuration" && (t === "#libraryProcessing" ? queueMicrotask(() => {+ n.live && J8("/data-cleanup#libraryProcessing", {replace: !0,state: null});@@ -89815,16 +89835,16 @@ async function Bet(e, t, n) {i && g5("resource-sync");}function _5({ path: e }) {- let t = e5();- v8();- let n = C8(J8.navigation.location.pathname), r = (0, b.useRef)(n ? null : t);- return n || (r.current = t), /* @__PURE__ */ (0, x.jsx)(Vet, {+ let t = $8();+ _8();+ let n = S8(q8.navigation.location.pathname), r = (0, b.useRef)(n ? null : t);+ return n || (r.current = t), /* @__PURE__ */ (0, x.jsx)(Het, {path: e,covered: r.current === null}, `${e} ${r.current ?? "covered"}`);}-function Vet({ path: e, covered: t }) {- let n = (0, b.useContext)(t5), r = Met(), i = (0, b.useRef)(null);+function Het({ path: e, covered: t }) {+ let n = (0, b.useContext)(e5), r = Pet(), i = (0, b.useRef)(null);return (0, b.useEffect)(() => {if (t || !n || !r || i.current) return;let a = {@@ -89833,7 +89853,7 @@ function Vet({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && Bet(e, n, a);+ a.live && Vet(e, n, a);});}, [r]), (0, b.useEffect)(() => () => {let e = i.current;@@ -89841,18 +89861,18 @@ function Vet({ path: e, covered: t }) {e.live = !1, e.controller.abort();let t = document.getElementById("stats");queueMicrotask(() => {- t && e.revision && !t.hidden && P8(t)?.revision === e.revision && B8(t);+ t && e.revision && !t.hidden && N8(t)?.revision === e.revision && z8(t);});}, []), null;}-function Het() {- let e = Met(), t = (0, b.useRef)(!1);+function Uet() {+ let e = Pet(), t = (0, b.useRef)(!1);return (0, b.useEffect)(() => {- if (!e || t.current || C8(J8.navigation.location.pathname)) return;+ if (!e || t.current || S8(q8.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {- n && (p5 = !0, Y8("/data-cleanup#resource-sync", { replace: !0 }));+ n && (f5 = !0, J8("/data-cleanup#resource-sync", { replace: !0 }));}), () => {n = !1;};@@ -89860,7 +89880,7 @@ function Het() {}//#endregion//#region src/react/router/managed-routes.tsx-function Uet(e, t, n) {+function Wet(e, t, n) {if (e === "duplicates") {n("/duplicates");return;@@ -89871,8 +89891,8 @@ function Uet(e, t, n) {var v5 = {"/stats": {element: /* @__PURE__ */ (0, x.jsx)(_5, { path: "/stats" }),- prefetch: (e, t) => fAe(t),- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(u6e, {+ prefetch: (e, t) => mAe(t),+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(f6e, {tagLabel: Ks,onTag: t.openTag,configurable: e.configurable,@@ -89883,8 +89903,8 @@ var v5 = {},"/taste": {element: /* @__PURE__ */ (0, x.jsx)(_5, { path: "/taste" }),- prefetch: (e, t) => H6e("all", t),- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(_5e, {+ prefetch: (e, t) => W6e("all", t),+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(y5e, {onSignal: t.openTasteSignal,navigate: n,toast: (e) => t.receipt(e),@@ -89893,8 +89913,8 @@ var v5 = {},"/review": {element: /* @__PURE__ */ (0, x.jsx)(_5, { path: "/review" }),- prefetch: (e, t) => eve(t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(YTe, {+ prefetch: (e, t) => nve(t),+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(ZTe, {...e,route: t.routeReview,openItem: t.openItem,@@ -89905,17 +89925,17 @@ var v5 = {},"/data-cleanup": {element: /* @__PURE__ */ (0, x.jsx)(_5, { path: "/data-cleanup" }),- prefetch: (e, t) => Vve(t),- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(pbe, {+ prefetch: (e, t) => Uve(t),+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(hbe, {failure: t.failure,- open: (e) => Uet(e, t, n),+ open: (e) => Wet(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)})},"/duplicates": {element: /* @__PURE__ */ (0, x.jsx)(_5, { path: "/duplicates" }),- prefetch: (e, t) => g_e(t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(VSe, {+ prefetch: (e, t) => v_e(t),+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(USe, {openItem: t.openItem,failure: t.failure,toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})@@ -89923,24 +89943,24 @@ var v5 = {},"/quality-goals": {element: /* @__PURE__ */ (0, x.jsx)(_5, { path: "/quality-goals" }),- prefetch: (e, t) => P_e(t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(NTe, {+ prefetch: (e, t) => I_e(t),+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(FTe, {openItem: t.openItem,- javTitleHtml: eO,- javDisplayName: $D,+ javTitleHtml: $D,+ javDisplayName: QD,toast: (e) => t.receipt(e),srcBadge: t.srcBadge})},"/scraping": {element: /* @__PURE__ */ (0, x.jsx)(_5, { path: "/scraping" }),- prefetch: (e, t) => nEe(t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(uEe, { toast: (e) => t.toast(e) })+ prefetch: (e, t) => iEe(t),+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(fEe, { toast: (e) => t.toast(e) })},"/configuration": {element: /* @__PURE__ */ (0, x.jsx)(_5, { path: "/configuration" }),- prefetch: (e, t) => cz(t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(SDe, {+ prefetch: (e, t) => sz(t),+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(wDe, {receipt: (e) => t.receipt(e),reopenTutorial: t.reopenTutorial,section: e.section ?? ""@@ -89948,8 +89968,8 @@ var v5 = {},"/diagnostics": {element: /* @__PURE__ */ (0, x.jsx)(_5, { path: "/diagnostics" }),- prefetch: (e, t) => HSe(t),- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(KSe, {+ prefetch: (e, t) => WSe(t),+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(JSe, {navigate: n,openItem: t.openItem,receipt: (e) => t.receipt(e),@@ -89960,13 +89980,13 @@ var v5 = {},"/activity": {element: /* @__PURE__ */ (0, x.jsx)(_5, { path: "/activity" }),- prefetch: (e, t) => tpe(t),- page: () => /* @__PURE__ */ (0, x.jsx)(wpe, {})+ prefetch: (e, t) => npe(t),+ page: () => /* @__PURE__ */ (0, x.jsx)(Epe, {})},"/follow-manage": {element: /* @__PURE__ */ (0, x.jsx)(_5, { path: "/follow-manage" }),prefetch: (e, t) => Er(t, e.tab),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Pwe, {+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Iwe, {...e,route: t.routeFollowManage,savePreference: t.saveFollowPreference,@@ -89974,11 +89994,11 @@ var v5 = {openFollow: t.openFollow})}-}, y5 = (e) => Object.hasOwn(v5, e), Wet = { "/resource-sync": { element: /* @__PURE__ */ (0, x.jsx)(Het, {}) } }, Get = { "/immerse": { element: /* @__PURE__ */ (0, x.jsx)(ket, {}) } }, b5 = {+}, y5 = (e) => Object.hasOwn(v5, e), Get = { "/resource-sync": { element: /* @__PURE__ */ (0, x.jsx)(Uet, {}) } }, Ket = { "/immerse": { element: /* @__PURE__ */ (0, x.jsx)(jet, {}) } }, b5 = {"/playlists": {- element: /* @__PURE__ */ (0, x.jsx)(Eet, {}),- prefetch: (e, t) => yTe(t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(jTe, {+ element: /* @__PURE__ */ (0, x.jsx)(Oet, {}),+ prefetch: (e, t) => xTe(t),+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(NTe, {revision: e.revision,openPlaylist: t.openPlaylist,openEntity: t.openEntity,@@ -89987,14 +90007,14 @@ var v5 = {})},"/follow": {- element: /* @__PURE__ */ (0, x.jsx)(Cet, {}),+ element: /* @__PURE__ */ (0, x.jsx)(Tet, {}),prefetch: (e, t) => qr(e, t),- page: (e) => /* @__PURE__ */ (0, x.jsx)(fxe, { ...e })+ page: (e) => /* @__PURE__ */ (0, x.jsx)(mxe, { ...e })}-}, Ket = (e) => Object.hasOwn(b5, e), x5 = {- element: /* @__PURE__ */ (0, x.jsx)(X9e, {}),- prefetch: (e, t) => Pbe(e, t),- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Xwe, {+}, qet = (e) => Object.hasOwn(b5, e), x5 = {+ element: /* @__PURE__ */ (0, x.jsx)(Q9e, {}),+ prefetch: (e, t) => Ibe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Qwe, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -90014,9 +90034,9 @@ var v5 = {"/agencies": x5,"/tags": x5}, C5 = {- element: /* @__PURE__ */ (0, x.jsx)(ret, {}),- prefetch: (e) => Sbe(e),- page: (e) => /* @__PURE__ */ (0, x.jsx)(jSe, { ...e })+ element: /* @__PURE__ */ (0, x.jsx)(aet, {}),+ prefetch: (e) => wbe(e),+ page: (e) => /* @__PURE__ */ (0, x.jsx)(NSe, { ...e })}, w5 = {"/performers/*": C5,"/studios/*": C5,@@ -90025,33 +90045,33 @@ var v5 = {"/agencies/*": C5}, T5 = {"/": {- element: /* @__PURE__ */ (0, x.jsx)(pet, {}),+ element: /* @__PURE__ */ (0, x.jsx)(het, {}),prefetch: (e, t) => Jce(e, t),- page: (e) => /* @__PURE__ */ (0, x.jsx)(oM, { ...e })+ page: (e) => /* @__PURE__ */ (0, x.jsx)(aM, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, x.jsx)(pet, {}),+ element: /* @__PURE__ */ (0, x.jsx)(het, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, x.jsx)(dTe, { ...e })+ page: (e) => /* @__PURE__ */ (0, x.jsx)(pTe, { ...e })}-}, qet = (e) => Object.hasOwn(T5, e), Jet = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(_Te, { ...e }) : /* @__PURE__ */ (0, x.jsx)(mP, { ...e }), Yet = {+}, Jet = (e) => Object.hasOwn(T5, e), Yet = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(yTe, { ...e }) : /* @__PURE__ */ (0, x.jsx)(pP, { ...e }), Xet = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, x.jsx)(Fge, { ...e })+ page: (e) => /* @__PURE__ */ (0, x.jsx)(Lge, { ...e })},"feed-new": {- prefetch: (e) => vbe(e),- page: (e) => /* @__PURE__ */ (0, x.jsx)(qSe, { ...e })+ prefetch: (e) => bbe(e),+ page: (e) => /* @__PURE__ */ (0, x.jsx)(YSe, { ...e })},"library-processing": {- prefetch: (e, t) => yM(t),- page: (e) => /* @__PURE__ */ (0, x.jsx)(Jet, { ...e })+ prefetch: (e, t) => vM(t),+ page: (e) => /* @__PURE__ */ (0, x.jsx)(Yet, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, x.jsx)(hEe, { ...e })+ page: (e) => /* @__PURE__ */ (0, x.jsx)(_Ee, { ...e })}-}, Xet = (e) => Object.hasOwn(Yet, e), Zet = {+}, Zet = (e) => Object.hasOwn(Xet, e), Qet = {"batch-dock": {prefetch: async () => {},page: () => /* @__PURE__ */ (0, x.jsx)(wse, {})@@ -90062,25 +90082,25 @@ var v5 = {},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, x.jsx)(Aue, {})+ page: () => /* @__PURE__ */ (0, x.jsx)(jue, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, x.jsx)(gue, {})+ page: () => /* @__PURE__ */ (0, x.jsx)(_ue, {})},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, x.jsx)(qDe, {})+ page: () => /* @__PURE__ */ (0, x.jsx)(YDe, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, x.jsx)(uOe, {})+ page: () => /* @__PURE__ */ (0, x.jsx)(fOe, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, x.jsx)(uAe, {})+ page: () => /* @__PURE__ */ (0, x.jsx)(fAe, {})}-}, Qet = (e) => Object.hasOwn(Zet, e), $et = [+}, $et = (e) => Object.hasOwn(Qet, e), ett = ["/","/unseen","/watch-later",@@ -90093,40 +90113,40 @@ var v5 = {...Object.keys(b5),...Object.keys(S5),...Object.keys(w5),- ...$et+ ...ett];-var ett = (e) => y5(e) || Ket(e) || Object.hasOwn(S5, e) || Object.hasOwn(w5, e) || qet(e) || Xet(e) || Qet(e);-function ttt(e) {- return y5(e) ? v5[e] : Ket(e) ? b5[e] : qet(e) ? T5[e] : Xet(e) ? Yet[e] : Qet(e) ? Zet[e] : Object.hasOwn(S5, e) ? S5[e] : w5[e];+var ttt = (e) => y5(e) || qet(e) || Object.hasOwn(S5, e) || Object.hasOwn(w5, e) || Jet(e) || Zet(e) || $et(e);+function ntt(e) {+ return y5(e) ? v5[e] : qet(e) ? b5[e] : Jet(e) ? T5[e] : Zet(e) ? Xet[e] : $et(e) ? Qet[e] : Object.hasOwn(S5, e) ? S5[e] : w5[e];}-function ntt(e, t, n) {- return ett(e) ? ttt(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function rtt(e, t, n) {+ return ttt(e) ? ntt(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function rtt(e, t, n, r) {- return ttt(e).page(t, n, r);+function itt(e, t, n, r) {+ return ntt(e).page(t, n, r);}//#endregion//#region node_modules/sonner/dist/index.mjs-function itt(e) {+function att(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 att = (e) => {+var ott = (e) => {switch (e) {- case "success": return ctt;- case "info": return utt;- case "warning": return ltt;- case "error": return dtt;+ case "success": return ltt;+ case "info": return dtt;+ case "warning": return utt;+ case "error": return ftt;default: return null;}-}, ott = Array(12).fill(0), stt = ({ visible: e, className: t }) => /*#__PURE__*/ b.createElement("div", {+}, stt = Array(12).fill(0), ctt = ({ visible: e, className: t }) => /*#__PURE__*/ b.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ b.createElement("div", { className: "sonner-spinner" }, ott.map((e, t) => /*#__PURE__*/ b.createElement("div", {+}, /*#__PURE__*/ b.createElement("div", { className: "sonner-spinner" }, stt.map((e, t) => /*#__PURE__*/ b.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), ctt = /*#__PURE__*/ b.createElement("svg", {+})))), ltt = /*#__PURE__*/ b.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -90137,7 +90157,7 @@ var att = (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"-})), ltt = /*#__PURE__*/ b.createElement("svg", {+})), utt = /*#__PURE__*/ b.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -90148,7 +90168,7 @@ var att = (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"-})), utt = /*#__PURE__*/ b.createElement("svg", {+})), dtt = /*#__PURE__*/ b.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -90159,7 +90179,7 @@ var att = (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"-})), dtt = /*#__PURE__*/ b.createElement("svg", {+})), ftt = /*#__PURE__*/ b.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -90170,7 +90190,7 @@ var att = (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"-})), ftt = /*#__PURE__*/ b.createElement("svg", {+})), ptt = /*#__PURE__*/ b.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -90191,7 +90211,7 @@ var att = (e) => {y1: "6",x2: "18",y2: "18"-})), ptt = () => {+})), mtt = () => {let [e, t] = b.useState(document.hidden);return b.useEffect(() => {let e = () => {@@ -90199,7 +90219,7 @@ var att = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, mtt = 1, htt = 100, gtt = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : mtt++, E5 = new class {+}, htt = 1, gtt = 100, _tt = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : htt++, E5 = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -90209,10 +90229,10 @@ var att = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - htt;+ let e = this.toasts.length - gtt;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 = gtt(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = _tt(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({@@ -90287,7 +90307,7 @@ var att = (e) => {type: "default",message: e});- else if (vtt(e) && !e.ok) {+ else if (ytt(e) && !e.ok) {i = !1;let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !b.isValidElement(r) ? r : { message: r };this.create({@@ -90331,7 +90351,7 @@ var att = (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 = gtt(t);+ let n = _tt(t);return this.create({...t,jsx: e(n),@@ -90340,7 +90360,7 @@ var att = (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();}-}(), _tt = (e, t) => E5.message(e, t), vtt = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", ytt = Object.assign(_tt, {+}(), vtt = (e, t) => E5.message(e, t), ytt = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", btt = Object.assign(vtt, {success: E5.success,info: E5.info,warning: E5.warning,@@ -90354,20 +90374,20 @@ var att = (e) => {getHistory: () => E5.toasts,getToasts: () => E5.getActiveToasts()});-itt("[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%)}");+att("[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 D5(e) {return e.label !== void 0;}-var btt = 3, xtt = "24px", Stt = "16px", O5 = 4e3, Ctt = 356, wtt = 14, Ttt = 45, Ett = 200;-function k5(...e) {+var xtt = 3, Stt = "24px", Ctt = "16px", wtt = 4e3, Ttt = 356, Ett = 14, Dtt = 45, Ott = 200;+function O5(...e) {return e.filter(Boolean).join(" ");}-function Dtt(e) {+function ktt(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var Ott = (e) => {- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = b.useState(null), [k, A] = b.useState(null), [j, M] = b.useState(!1), [N, P] = b.useState(!1), [ee, F] = b.useState(!1), [te, ne] = b.useState(!1), [re, ie] = b.useState(!1), [ae, oe] = b.useState(0), [se, ce] = b.useState(0), le = b.useRef(n.duration || y || O5), ue = b.useRef(null), de = b.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", ge = n.dismissible !== !1, _e = n.className || "", ve = n.descriptionClassName || "", ye = b.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), be = b.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), xe = b.useMemo(() => n.duration || y || O5, [n.duration, y]), Se = b.useRef(0), Ce = b.useRef(0), we = b.useRef(0), Te = b.useRef(null), [Ee, De] = x.split("-"), Oe = b.useMemo(() => s.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [s, ye]), ke = ptt(), Ae = b.useMemo(() => e.swipeDirections ?? Dtt(x), [e.swipeDirections, x]), je = n.invert || t, Me = me === "loading";+var Att = (e) => {+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = b.useState(null), [k, A] = b.useState(null), [j, M] = b.useState(!1), [N, P] = b.useState(!1), [ee, F] = b.useState(!1), [te, ne] = b.useState(!1), [re, ie] = b.useState(!1), [ae, oe] = b.useState(0), [se, ce] = b.useState(0), le = b.useRef(n.duration || y || wtt), ue = b.useRef(null), de = b.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", ge = n.dismissible !== !1, _e = n.className || "", ve = n.descriptionClassName || "", ye = b.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), be = b.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), xe = b.useMemo(() => n.duration || y || wtt, [n.duration, y]), Se = b.useRef(0), Ce = b.useRef(0), we = b.useRef(0), Te = b.useRef(null), [Ee, De] = x.split("-"), Oe = b.useMemo(() => s.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [s, ye]), ke = mtt(), Ae = b.useMemo(() => e.swipeDirections ?? ktt(x), [e.swipeDirections, x]), je = n.invert || t, Me = me === "loading";Ce.current = b.useMemo(() => ye * S + Oe, [ye, Oe]), b.useEffect(() => {le.current = xe;}, [xe]), b.useEffect(() => {@@ -90408,7 +90428,7 @@ var Ott = (e) => {let Ne = b.useCallback(() => {P(!0), oe(Ce.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, Ett);+ }, Ott);}, [n,d,@@ -90439,18 +90459,18 @@ var Ott = (e) => {}, [Ne, n.delete]);function Pe() {return T?.loading ? /*#__PURE__*/ b.createElement("div", {- className: k5(w?.loader, n?.classNames?.loader, "sonner-loader"),+ className: O5(w?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": me === "loading"- }, T.loading) : /*#__PURE__*/ b.createElement(stt, {- className: k5(w?.loader, n?.classNames?.loader),+ }, T.loading) : /*#__PURE__*/ b.createElement(ctt, {+ className: O5(w?.loader, n?.classNames?.loader),visible: me === "loading"});}- let Fe = n.icon || T?.[me] || att(me);+ let Fe = n.icon || T?.[me] || ott(me);return /*#__PURE__*/ b.createElement("li", {tabIndex: 0,ref: de,- className: k5(_, _e, w?.toast, n?.classNames?.toast, w?.[he], n?.classNames?.[he]),+ className: O5(_, _e, w?.toast, n?.classNames?.toast, w?.[he], n?.classNames?.[he]),"data-sonner-toast": "","data-rich-colors": n.richColors ?? f,"data-styled": !(n.jsx || n.unstyled || r),@@ -90493,7 +90513,7 @@ var Ott = (e) => {if (te || !ge) return;Te.current = null;let e = Number(de.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(de.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ue.current?.getTime(), i = D === "x" ? e : t, a = Math.abs(i) / r;- if ((D === "x" ? Ae.includes(e > 0 ? "right" : "left") : Ae.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Ttt || a > .11)) oe(Ce.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ne(), ne(!0);+ if ((D === "x" ? Ae.includes(e > 0 ? "right" : "left") : Ae.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Dtt || a > .11)) oe(Ce.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ne(), ne(!0);else {var o, s;(o = de.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = de.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), ie(!1), F(!1), O(null);@@ -90532,19 +90552,19 @@ var Ott = (e) => {onClick: Me || !ge ? () => {} : () => {Ne(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: k5(w?.closeButton, n?.classNames?.closeButton)- }, T?.close ?? ftt) : null, (me || n.icon || n.promise) && n.icon !== null && (T?.[me] !== null || n.icon) ? /*#__PURE__*/ b.createElement("div", {+ className: O5(w?.closeButton, n?.classNames?.closeButton)+ }, T?.close ?? ptt) : null, (me || n.icon || n.promise) && n.icon !== null && (T?.[me] !== null || n.icon) ? /*#__PURE__*/ b.createElement("div", {"data-icon": "",- className: k5(w?.icon, n?.classNames?.icon)+ className: O5(w?.icon, n?.classNames?.icon)}, me === "loading" ? n.icon || Pe() : n.promise ? Pe() : null, me === "loading" ? null : Fe) : null, /*#__PURE__*/ b.createElement("div", {"data-content": "",- className: k5(w?.content, n?.classNames?.content)+ className: O5(w?.content, n?.classNames?.content)}, /*#__PURE__*/ b.createElement("div", {"data-title": "",- className: k5(w?.title, n?.classNames?.title)+ className: O5(w?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ b.createElement("div", {"data-description": "",- className: k5(v, ve, w?.description, n?.classNames?.description)+ className: O5(v, ve, w?.description, n?.classNames?.description)}, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ b.isValidElement(n.cancel) ? n.cancel : n.cancel && D5(n.cancel) ? /*#__PURE__*/ b.createElement("button", {"data-button": !0,"data-cancel": !0,@@ -90552,7 +90572,7 @@ var Ott = (e) => {onClick: (e) => {D5(n.cancel) && ge && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Ne());},- className: k5(w?.cancelButton, n?.classNames?.cancelButton)+ className: O5(w?.cancelButton, n?.classNames?.cancelButton)}, n.cancel.label) : null, /*#__PURE__*/ b.isValidElement(n.action) ? n.action : n.action && D5(n.action) ? /*#__PURE__*/ b.createElement("button", {"data-button": !0,"data-action": !0,@@ -90560,18 +90580,18 @@ var Ott = (e) => {onClick: (e) => {D5(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Ne());},- className: k5(w?.actionButton, n?.classNames?.actionButton)+ className: O5(w?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function ktt() {+function jtt() {if (typeof window > "u" || typeof document > "u") return "ltr";let e = document.documentElement.getAttribute("dir");return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;}-function Att(e, t) {+function Mtt(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Stt : xtt;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Ctt : Stt;function o(e) {["top",@@ -90592,8 +90612,8 @@ function Att(e, t) {}) : o(a);}), n;}-var jtt = /*#__PURE__*/ b.forwardRef(function(e, t) {- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = btt, toastOptions: g, dir: _ = ktt(), gap: v = wtt, icons: y, customAriaLabel: x, containerAriaLabel: S = "Notifications" } = e, [C, w] = b.useState([]), T = b.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = b.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = b.useState([]), [k, A] = b.useState(!1), [j, M] = b.useState(!1), [N, P] = b.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = b.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = b.useRef(null), ne = b.useRef(!1), re = b.useCallback((e) => {+var Ntt = /*#__PURE__*/ b.forwardRef(function(e, t) {+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = xtt, toastOptions: g, dir: _ = jtt(), gap: v = Ett, icons: y, customAriaLabel: x, containerAriaLabel: S = "Notifications" } = e, [C, w] = b.useState([]), T = b.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = b.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = b.useState([]), [k, A] = b.useState(!1), [j, M] = b.useState(!1), [N, P] = b.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = b.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = b.useRef(null), ne = b.useRef(!1), re = b.useCallback((e) => {w((t) => (t.find((t) => t.id === e.id)?.delete || E5.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);return b.useEffect(() => E5.subscribe((e) => {@@ -90665,7 +90685,7 @@ var jtt = /*#__PURE__*/ b.forwardRef(function(e, t) {let [i, a] = t.split("-");return T.length ? /*#__PURE__*/ b.createElement("ol", {key: t,- dir: _ === "auto" ? ktt() : _,+ dir: _ === "auto" ? jtt() : _,tabIndex: -1,ref: ee,className: c,@@ -90675,10 +90695,10 @@ var jtt = /*#__PURE__*/ b.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${D[0]?.height || 0}px`,- "--width": `${Ctt}px`,+ "--width": `${Ttt}px`,"--gap": `${v}px`,...m,- ...Att(l, u)+ ...Mtt(l, u)},onBlur: (e) => {ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, te.current &&= (te.current.focus({ preventScroll: !0 }), null));@@ -90696,7 +90716,7 @@ var jtt = /*#__PURE__*/ b.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);},onPointerUp: () => M(!1)- }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ b.createElement(Ott, {+ }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ b.createElement(Att, {key: n.id,icons: y,index: i,@@ -90726,23 +90746,23 @@ var jtt = /*#__PURE__*/ b.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), Mtt = (e, t) => /* @__PURE__ */ (0, x.jsx)("span", {+}), Ptt = (e, t) => /* @__PURE__ */ (0, x.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), A5 = null;-function Ntt() {- let e = A5;- A5 = null, e?.root.unmount();-}-var Ptt = (e, t) => {- if (A5?.host === e) return;- Ntt();+}), k5 = null;+function Ftt() {+ let e = k5;+ k5 = null, e?.root.unmount();+}+var Itt = (e, t) => {+ if (k5?.host === e) return;+ Ftt();let n = (0, ht.createRoot)(e);- A5 = {+ k5 = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, x.jsx)(jtt, {+ }, n.render(/* @__PURE__ */ (0, x.jsx)(Ntt, {position: "bottom-right",closeButton: !0,gap: 8,@@ -90759,16 +90779,16 @@ var Ptt = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: Mtt(t.success, !0),- error: Mtt(t.error, !1)+ success: Ptt(t.success, !0),+ error: Ptt(t.error, !1)}}));-}, Ftt = 6e3, Itt = (e, t) => {+}, Ltt = 6e3, Rtt = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? ytt.error : ytt.success, r = t.action;+ let n = t.alert ? btt.error : btt.success, r = t.action;n(/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,- duration: t.timeout > 0 ? t.timeout : Ftt,+ duration: t.timeout > 0 ? t.timeout : Ltt,action: r ? {label: r.label,onClick: (e) => {@@ -90776,83 +90796,83 @@ var Ptt = (e, t) => {}} : void 0});-}, j5 = null, M5 = null, N5 = 0, P5 = /* @__PURE__ */ new Set();-function Ltt(e) {- return j5 = e, M5 && e(M5), () => {- j5 === e && (j5 = null);+}, A5 = null, j5 = null, M5 = 0, N5 = /* @__PURE__ */ new Set();+function ztt(e) {+ return A5 = e, j5 && e(j5), () => {+ A5 === e && (A5 = null);};}-function Rtt(e) {- return j5 && (M5 = e, j5(e), c9e(Promise.resolve(ntt))), Promise.resolve();+function Btt(e) {+ return A5 && (j5 = e, A5(e), u9e(Promise.resolve(rtt))), Promise.resolve();}-async function F5(e, t, n = (e) => e) {- let r = N5;- if (t.isConnected || P5.add(t), !await R8(e, {}, {+async function P5(e, t, n = (e) => e) {+ let r = M5;+ if (t.isConnected || N5.add(t), !await L8(e, {}, {container: t,resident: !0,- isCurrent: () => !!j5 && r === N5,+ isCurrent: () => !!A5 && r === M5,place: () => n(t)- }) || r !== N5 || !j5) throw new DOMException("应用已卸载", "AbortError");+ }) || r !== M5 || !A5) throw new DOMException("应用已卸载", "AbortError");}-function ztt() {- N5 += 1, j5 = null, M5 = null, I5 = null, L5 = null, z5 = null, B5 = null, H5 = null, U5 = null, W5 = null, G5 = null, q5 = null, J5 = null, Y5 = null, X5 = null, Z5 = null;- for (let e of P5) e.remove();- P5.clear(), Ntt();+function Vtt() {+ M5 += 1, A5 = null, j5 = null, F5 = null, I5 = null, R5 = null, z5 = null, V5 = null, H5 = null, U5 = null, W5 = null, K5 = null, q5 = null, J5 = null, Y5 = null, X5 = null;+ for (let e of N5) e.remove();+ N5.clear(), Ftt();}-var I5 = null, L5 = null;-function Btt(e) {- return I5 ??= (async () => {- let t = lAe(e), n = document.createElement("div");- return n.dataset.stageHost = "", await F5("stage", n, (e) => (document.body.append(e), e)), L5 = t, t;- })(), I5;-}-var R5 = () => L5, z5 = null, B5 = null;-function Vtt(e) {- return z5 ??= (async () => {- let t = hue(e), n = document.createElement("div");- return n.dataset.immerseHost = "", await F5("immerse", n, (e) => (document.body.append(e), e)), B5 = t, t;- })(), z5;-}-var V5 = () => B5, H5 = null, U5 = null;+var F5 = null, I5 = null;function Htt(e) {- return H5 ??= (async () => {- let t = KDe(e), n = document.createElement("div");- return n.dataset.settingsHost = "", await F5("settings-panel", n, (e) => (document.body.append(e), e)), U5 = t, t;- })(), H5;-}-var Utt = () => U5, W5 = null, G5 = null;+ return F5 ??= (async () => {+ let t = dAe(e), n = document.createElement("div");+ return n.dataset.stageHost = "", await P5("stage", n, (e) => (document.body.append(e), e)), I5 = t, t;+ })(), F5;+}+var L5 = () => I5, R5 = null, z5 = null;+function Utt(e) {+ return R5 ??= (async () => {+ let t = gue(e), n = document.createElement("div");+ return n.dataset.immerseHost = "", await P5("immerse", n, (e) => (document.body.append(e), e)), z5 = t, t;+ })(), R5;+}+var B5 = () => z5, V5 = null, H5 = null;function Wtt(e) {- return W5 ??= (async () => {- let t = lOe(e);- return await F5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), G5 = t, t;- })(), W5;-}-var K5 = () => G5, q5 = null, J5 = null;-function Gtt(e) {- return q5 ??= (async () => {- let t = kue(e);- return await F5("manage-header", e.root, (e) => (e.replaceChildren(), e)), J5 = t, t;- })(), q5;-}-var Ktt = () => J5, Y5 = null, X5 = null;+ return V5 ??= (async () => {+ let t = JDe(e), n = document.createElement("div");+ return n.dataset.settingsHost = "", await P5("settings-panel", n, (e) => (document.body.append(e), e)), H5 = t, t;+ })(), V5;+}+var Gtt = () => H5, U5 = null, W5 = null;+function Ktt(e) {+ return U5 ??= (async () => {+ let t = dOe(e);+ return await P5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), W5 = t, t;+ })(), U5;+}+var G5 = () => W5, K5 = null, q5 = null;function qtt(e) {- return Y5 ??= (async () => {- let t = Cse(e);- return await F5("batch-dock", e.root), X5 = t, t;- })(), Y5;+ return K5 ??= (async () => {+ let t = Aue(e);+ return await P5("manage-header", e.root, (e) => (e.replaceChildren(), e)), q5 = t, t;+ })(), K5;}-var Jtt = () => X5, Z5 = null;+var Jtt = () => q5, J5 = null, Y5 = null;function Ytt(e) {- return Z5 ??= (async () => {- cce(e), await F5("glow-picker", e.root);- })(), Z5;+ return J5 ??= (async () => {+ let t = Cse(e);+ return await P5("batch-dock", e.root), Y5 = t, t;+ })(), J5;}-function Xtt(e, t, n, r) {- Ptt(e, t), Itt(n, r);+var Xtt = () => Y5, X5 = null;+function Ztt(e) {+ return X5 ??= (async () => {+ cce(e), await P5("glow-picker", e.root);+ })(), X5;+}+function Qtt(e, t, n, r) {+ Itt(e, t), Rtt(n, r);}//#endregion//#region src/application/effects.ts-var Ztt = class {+var $tt = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -90933,13 +90953,13 @@ var Ztt = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, Q5 = new Ztt();-function Qtt() {- return Q5.dispose(), Q5 = new Ztt(), Q5;+}, Z5 = new $tt();+function ent() {+ return Z5.dispose(), Z5 = new $tt(), Z5;}//#endregion//#region src/application/receipts.js-var $5 = {+var Q5 = {toastBody: void 0,toastSeq: void 0,toast: void 0,@@ -90949,10 +90969,10 @@ var $5 = {rollSeed: void 0,seededSample: void 0};-function $tt() {- $5.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : R(e && typeof e == "object" ? e.text ?? "" : e ?? ""), $5.toastSeq = 0, $5.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {- let a = `toast-${++$5.toastSeq}`, o = (e, t, n, r) => {- Ta(i || (t ? "error" : "success")), Xtt(I("#toasts"), {+function tnt() {+ Q5.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : R(e && typeof e == "object" ? e.text ?? "" : e ?? ""), Q5.toastSeq = 0, Q5.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {+ let a = `toast-${++Q5.toastSeq}`, o = (e, t, n, r) => {+ Ta(i || (t ? "error" : "success")), Qtt(I("#toasts"), {success: L("check"),error: L("circle-alert")}, a, {@@ -90967,13 +90987,13 @@ function $tt() {} : null});};- return o($5.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o($5.toastBody(e), t, n, null) };- }, $5.liftToastsOverTutorial = () => {+ return o(Q5.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(Q5.toastBody(e), t, n, null) };+ }, Q5.liftToastsOverTutorial = () => {let e = I("#postSetupTutorial"), t = I("#toasts"), n = e.hidden ? innerHeight : e.getBoundingClientRect().top;e.hidden || !e.offsetHeight || n < 160 ? t.style.removeProperty("--toast-bottom") : t.style.setProperty("--toast-bottom", `${Math.round(innerHeight - n + 12)}px`);- }, Q5.resize($5.liftToastsOverTutorial).observe(I("#postSetupTutorial")), Q5.listen.bind(Q5, window)("resize", $5.liftToastsOverTutorial), $5.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {+ }, Z5.resize(Q5.liftToastsOverTutorial).observe(I("#postSetupTutorial")), Z5.listen.bind(Z5, window)("resize", Q5.liftToastsOverTutorial), Q5.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {let r = null;- return r = $5.toast({ text: e }, {+ return r = Q5.toast({ text: e }, {timeout: n,action: t ? {label: "撤销",@@ -90986,7 +91006,7 @@ function $tt() {}} : null}), r;- }, $5.actionFailure = (e, t) => $5.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), $5.rollSeed = () => Zt(), $5.seededSample = (e, t, n, r = (e) => e.k) => {+ }, Q5.actionFailure = (e, t) => Q5.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), Q5.rollSeed = () => Zt(), Q5.seededSample = (e, t, n, r = (e) => e.k) => {if (e.length <= t) return e;let i = new Set([...e].sort((e, t) => Xt(n, r(e)) - Xt(n, r(t))).slice(0, t).map(r));return e.filter((e) => i.has(r(e)));@@ -90994,7 +91014,7 @@ function $tt() {}//#endregion//#region src/react/catalog-grid/catalog-state.ts-var ent = [+var nnt = ["loc","creator","studio",@@ -91011,10 +91031,10 @@ var ent = ["q","jav"];-function tnt(e, t, n, r = n.defaultSort) {+function rnt(e, t, n, r = n.defaultSort) {return Hw(e, t, n.defaultSort, n.defaultSortDirection, r);}-function nnt(e, t, n) {+function int(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = wt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",@@ -91029,25 +91049,25 @@ function nnt(e, t, n) {orient: o("orient") || "",region: o("region") || "",state: St[r] || o("state") || "",- ...tnt(o("sort"), o("dir"), t),+ ...rnt(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",thumb: o("thumb") || "0"};}-function rnt(e, t) {+function ant(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function int(e) {+function ont(e) {let t = xt[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of ent) {+ for (let t of nnt) {let r = e[t];r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== zw(e.sort ?? "")) && n.set(t, r);}return !xt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function ant(e, t, n) {+function snt(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -91069,7 +91089,7 @@ function ant(e, t, n) {thumb: "0"};}-function ont(e) {+function cnt(e) {return {state: e,barsContext: {@@ -91081,7 +91101,7 @@ function ont(e) {}//#endregion//#region src/react/catalog-grid/catalog-controller.ts-var snt = class {+var lnt = class {currentRevision = 0;currentPage = "";painting = null;@@ -91126,44 +91146,44 @@ var snt = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, e7 = 3e4, t7 = 0, cnt = (e, t = t7) => [+}, $5 = 3e4, e7 = 0, unt = (e, t = e7) => ["facets",e,t-], lnt = (e, t, n = t7) => [+], dnt = (e, t, n = e7) => ["tops",e,t,n-], unt = (e, t = t7) => [+], fnt = (e, t = e7) => ["tops",e,t];-async function dnt(e) {+async function pnt(e) {let t = String(e), n = await vt(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await vt(`/api/tops?${r}`));}-function fnt(e, t) {+function mnt(e, t) {return Promise.all([V.fetchQuery({- queryKey: cnt(e),+ queryKey: unt(e),queryFn: () => vt(`/api/facets${e ? `?${e}` : ""}`),- staleTime: e7+ staleTime: $5}), V.fetchQuery({- queryKey: lnt(t, e),- queryFn: () => dnt(t),- staleTime: e7+ queryKey: dnt(t, e),+ queryFn: () => pnt(t),+ staleTime: $5})]);}-function pnt(e) {+function hnt(e) {return V.fetchQuery({- queryKey: unt(e),- queryFn: () => dnt(e),- staleTime: e7+ queryKey: fnt(e),+ queryFn: () => pnt(e),+ staleTime: $5});}-function n7() {- t7 += 1;+function t7() {+ e7 += 1;let e = (e) => e.state.fetchStatus === "idle";V.removeQueries({queryKey: ["facets"],@@ -91175,7 +91195,7 @@ function n7() {}//#endregion//#region src/application/navigation-items.ts-var mnt = [+var gnt = [["","首页",@@ -91226,7 +91246,7 @@ var mnt = ["管理","wrench"]-], r7 = [+], n7 = [["stats","统计",@@ -91272,18 +91292,18 @@ var mnt = ["配置","folder-cog"]-], hnt = [+], _nt = ["stats","taste","cleanup","follow","activity","configuration"-], gnt = (e) => r7.filter(([t]) => hnt.includes(t) && (t !== "configuration" || e)), _nt = r7.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], vnt = (e) => n7.filter(([t]) => _nt.includes(t) && (t !== "configuration" || e)), ynt = n7.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), vnt = [...mnt, ..._nt], ynt = {+]]), bnt = [...gnt, ...ynt], xnt = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -91291,7 +91311,7 @@ var mnt = ["follow-manage": "follow",quality: "quality",activity: "activity"-}, bnt = [+}, Snt = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],@@ -91299,11 +91319,11 @@ var mnt = [];//#endregion//#region src/react/index/index-controller.ts-function xnt({ kind: e, q: t, scope: n, view: r, category: i }) {+function Cnt({ kind: e, q: t, scope: n, view: r, category: i }) {let a = new URLSearchParams();return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");}-function Snt(e, t, n) {+function wnt(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {html: $i(e.k, r ? {@@ -91316,20 +91336,20 @@ function Snt(e, t, n) {face: ta(e.avatar_focus)};}-function Cnt(e) {+function Tnt(e) {let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${R(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Di({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${R(n)}</span>${r}`;}-function wnt(e) {+function Ent(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(hi(t));};return {route(t, { replace: n = !1 } = {}) {- e.route(xnt(t), n);+ e.route(Cnt(t), n);},- personAvatar: Snt,- authorAvatar: Cnt,+ personAvatar: wnt,+ authorAvatar: Tnt,openFollowAuthor(n) {t(gi(e.followView(), n));},@@ -91340,29 +91360,29 @@ function wnt(e) {}//#endregion//#region src/react/follow-manage/manage-route.ts-var Tnt = [+var Dnt = ["list","add","feeds","wants","source"];-function Ent(e) {+function Ont(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: Tnt.find((e) => e === n) || "list",+ tab: Dnt.find((e) => e === n) || "list",page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),sort: t.get("sort") || "",dir: t.get("dir") || ""};}-function Dnt(e) {+function knt(e) {let t = new URLSearchParams();return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/follow-manage" + (t.size ? `?${t}` : "");}-function Ont(e, t) {- return Dnt({- tab: t || Ent(e).tab,+function Ant(e, t) {+ return knt({+ tab: t || Ont(e).tab,page: 1,sort: "",dir: ""@@ -91370,7 +91390,7 @@ function Ont(e, t) {}//#endregion//#region src/application/source-action.ts-function knt(e) {+function jnt(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -91386,36 +91406,36 @@ function knt(e) {}//#endregion//#region src/react/entity-page/entity-route.ts-var i7 = () => Object.fromEntries(qP.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function Ant(e, t) {- let n = new URLSearchParams(e), r = i7();- for (let e of qP) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");+var r7 = () => Object.fromEntries(KP.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function Mnt(e, t) {+ let n = new URLSearchParams(e), r = r7();+ for (let e of KP) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,...Hw(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function jnt(e) {+function Nnt(e) {let t = new URLSearchParams();- for (let n of qP) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== zw(e.sort || "")) && t.set(n, e[n]);+ for (let n of KP) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== zw(e.sort || "")) && t.set(n, e[n]);return t.toString();}-function Mnt(e) {+function Pnt(e) {let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");return {media: r === "photos" || r === "online" ? r : "videos",set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0};}-function Nnt(e, t) {- let n = new URLSearchParams(jnt(e));+function Fnt(e, t) {+ let n = new URLSearchParams(Nnt(e));return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();}-function Pnt(e, t, n, r) {- let i = Nnt(n, r);+function Int(e, t, n, r) {+ let i = Fnt(n, r);return Dt(e, t) + (i ? `?${i}` : "");}-function Fnt() {+function Lnt() {let e = "";return {fresh(t, n) {@@ -91424,23 +91444,23 @@ function Fnt() {read(t, n, r, i) {let a = e === Dt(t, n) && !r;e = "";- let o = a ? i7() : { ...Ant(r, i) };+ let o = a ? r7() : { ...Mnt(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : Mnt(r)+ } : Pnt(r)};}};}//#endregion//#region src/react/entity-page/photo-surface.ts-function Int(e, t) {+function Rnt(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function Lnt(e) {+function znt(e) {let t = () => {let t = e.preferences();for (let n of e.walls()) n.dataset.size = t.size, n.dataset.layout = "fixed", n.dataset.imagesOnly = String(t.imagesOnly);@@ -91463,12 +91483,12 @@ function Lnt(e) {}//#endregion//#region src/react/entity-page/entity-controller.ts-function Rnt(e, t, n) {+function Bnt(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(Pnt(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(Int(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -91482,7 +91502,7 @@ function Rnt(e, t, n) {if (s) return s;let c = () => {let n = e.context();- return n?.kind === t && n.name === a ? n.filters : i7();+ return n?.kind === t && n.name === a ? n.filters : r7();}, l = {...n,route: (e, n) => {@@ -91547,7 +91567,7 @@ function Rnt(e, t, n) {}//#endregion//#region src/react/entity-page/entity-loading.ts-function znt(e) {+function Vnt(e) {return async (t, n, r) => {!e.shapesReady() && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {r() && e.syncParts(t, n);@@ -91556,7 +91576,7 @@ function znt(e) {}//#endregion//#region src/react/entity-page/entity-portrait.ts-function Bnt(e, t) {+function Hnt(e, t) {let n = e === "studio" || e === "agency", r = t.id ? Qi({kind: e,id: t.id,@@ -91578,11 +91598,11 @@ function Bnt(e, t) {}//#endregion//#region src/react/entity-page/entity-application.ts-function Vnt(e) {- let t = Fnt(), n = {+function Unt(e) {+ let t = Lnt(), n = {...e.helpers,- portraitImg: Bnt- }, r = Rnt(e.controller, n, e.actions);+ portraitImg: Hnt+ }, r = Bnt(e.controller, n, e.actions);return {...r,helpers: n,@@ -91591,13 +91611,13 @@ function Vnt(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: znt(e.loading),- photos: Lnt(e.photos)+ loading: Vnt(e.loading),+ photos: znt(e.photos)};}//#endregion//#region src/application/feed.js-var a7 = {+var i7 = {FEED_SKELETON_CARDS: void 0,feedNewSkeletonHtml: void 0,entityShapes: void 0,@@ -91611,11 +91631,11 @@ var a7 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function Hnt(e) {+function Wnt(e) {return e.has_cover ? ia(e, "big") : e.cover_url ? ia({ code: e.code }, "big").replace(/ src="[^"]*"/, ` src="${R(e.cover_url)}" referrerpolicy="no-referrer" data-panel-prior="1"`) : "<span class=\"nopic\">无封面</span>";}-function Unt(e) {- let t = [e.performers && `<span class="feednewperformers">${R(e.performers)}</span>`, e.release_date && `<span>${R(e.release_date)}</span>`].filter(Boolean).join("<span aria-hidden=\"true\">·</span>"), n = Hnt(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? eO({+function Gnt(e) {+ let t = [e.performers && `<span class="feednewperformers">${R(e.performers)}</span>`, e.release_date && `<span>${R(e.release_date)}</span>`].filter(Boolean).join("<span aria-hidden=\"true\">·</span>"), n = Wnt(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? $D({is_jav: !0,code: e.code,name: e.code,@@ -91630,14 +91650,14 @@ function Unt(e) {<div class="meta"><div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-async function o7() {- let e = Q5, t = await vt("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && (a7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${It(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), s7(location.pathname) && Wnt(I("#feedNew"))), a7.entityShapes;+async function a7() {+ let e = Z5, t = await vt("/api/entity/shapes", { signal: e.signal }).catch(() => null);+ return e.isActive && t && !t.error && (i7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${It(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), o7(location.pathname) && Knt(I("#feedNew"))), i7.entityShapes;}-function Wnt(e) {- !e || F8(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = a7.feedNewSkeletonHtml())));+function Knt(e) {+ !e || P8(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = i7.feedNewSkeletonHtml())));}-function Gnt(e, t) {+function qnt(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : qa(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -91645,57 +91665,57 @@ function Gnt(e, t) {actionHref: "/scraping"});}-function Knt(e) {+function Jnt(e) {let t = e && !e.error && e.items || [];- return Gnt(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(Unt).join("")}</div>`;+ return qnt(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(Gnt).join("")}</div>`;}-function qnt(e) {- e && (y9(e), Z.appSettings.feedAutoScroll && Lo(e));+function Ynt(e) {+ e && (v9(e), Z.appSettings.feedAutoScroll && Lo(e));}-function s7(e) {+function o7(e) {return wt(e) && e !== "/junk-files";}-function Jnt(e) {+function Xnt(e) {return wt(e) && e !== "/junk-files";}-function Ynt() {+function Znt() {let e = I("#feedNew");- F8(e) ? z8(e, { revision: ++a7.feedRevision }) : (Wnt(e), R8("feed-new", {+ P8(e) ? R8(e, { revision: ++i7.feedRevision }) : (Knt(e), L8("feed-new", {host: e,- revision: a7.feedRevision,- helpers: a7.feedNewHelpers,- actions: a7.feedNewActions+ revision: i7.feedRevision,+ helpers: i7.feedNewHelpers,+ actions: i7.feedNewActions}, {container: e,- isCurrent: () => s7(location.pathname)+ isCurrent: () => o7(location.pathname)}));}-function c7() {+function s7() {let e = I("#feedNew");- e.querySelectorAll(".feednewrow").forEach(Ro), B8(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");+ e.querySelectorAll(".feednewrow").forEach(Ro), z8(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");}-function Xnt() {- a7.feedRevision += 1, z8(I("#feedNew"), { revision: a7.feedRevision }), d7({ feedRevision: a7.feedRevision });+function Qnt() {+ i7.feedRevision += 1, R8(I("#feedNew"), { revision: i7.feedRevision }), u7({ feedRevision: i7.feedRevision });}-function Znt() {+function $nt() {document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Lo(e) : Ro(e));}-function Qnt([e]) {- I("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= a7.HERO_WIDE_PX);+function ert([e]) {+ I("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= i7.HERO_WIDE_PX);}-function $nt() {- a7.FEED_SKELETON_CARDS = 8, a7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${_T}"></div>+function trt() {+ i7.FEED_SKELETON_CARDS = 8, i7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${_T}"></div><div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>- <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(a7.FEED_SKELETON_CARDS)}</div>`, a7.entityShapes = null, a7.hasEntityPart = (e, t, n) => !!t && !!a7.entityShapes?.get(`${e}/${It(t)}`)?.includes(n), a7.feedNewSkeletonSection = () => `<section class="feednew">${a7.feedNewSkeletonHtml()}</section>`, a7.COSTAR_SKELETON_PEOPLE = 12, a7.costarSkeletonFoot = () => `<div class="entityfoot"><div class="relatedpeople">${"<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\">​</span></span>".repeat(a7.COSTAR_SKELETON_PEOPLE)}</div></div>`, a7.factsSkeleton = () => `<dl class="entityfacts">${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, a7.feedRevision = 0, a7.feedNewHelpers = {- feedRowHtml: Knt,- wireFeedRow: (e) => qnt(e)- }, a7.feedNewActions = { settled: (e) => {+ <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(i7.FEED_SKELETON_CARDS)}</div>`, i7.entityShapes = null, i7.hasEntityPart = (e, t, n) => !!t && !!i7.entityShapes?.get(`${e}/${It(t)}`)?.includes(n), i7.feedNewSkeletonSection = () => `<section class="feednew">${i7.feedNewSkeletonHtml()}</section>`, i7.COSTAR_SKELETON_PEOPLE = 12, i7.costarSkeletonFoot = () => `<div class="entityfoot"><div class="relatedpeople">${"<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\">​</span></span>".repeat(i7.COSTAR_SKELETON_PEOPLE)}</div></div>`, i7.factsSkeleton = () => `<dl class="entityfacts">${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, i7.feedRevision = 0, i7.feedNewHelpers = {+ feedRowHtml: Jnt,+ wireFeedRow: (e) => Ynt(e)+ }, i7.feedNewActions = { settled: (e) => {X.homeHasFeed = e;- } }, a7.HERO_WIDE_PX = 900, Q5.resize(Qnt).observe(I("#index"));+ } }, i7.HERO_WIDE_PX = 900, Z5.resize(ert).observe(I("#index"));}//#endregion//#region src/entity-skeleton.ts-function ert(e, t, n) {+function nrt(e, t, n) {return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料"><span class="sr-only">正在读取资料</span><div aria-hidden="true"><section class="entityhero"><div class="entityprofile"><div class="entityportrait ${e === "studio" || e === "agency" ? "square " : ""}skeleton"></div>@@ -91709,7 +91729,7 @@ function ert(e, t, n) {}//#endregion//#region src/application/entity.js-var l7 = {+var c7 = {ENTITY_FILTER_KEYS: void 0,emptyEntityFilters: void 0,parseEntityFilters: void 0,@@ -91734,16 +91754,16 @@ var l7 = {sourceToolButtons: void 0,application: void 0};-function u7() {- let e = P8(I("#index"));+function l7() {+ let e = N8(I("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}-function d7(e) {- l7.entityPageCurrent() && z8(I("#index"), e);+function u7(e) {+ c7.entityPageCurrent() && R8(I("#index"), e);}-function f7() {+function d7() {if (tc.type === "item") return tc;- let e = u7();+ let e = l7();if (e) {let { kind: t, name: n, filters: r } = e.props;return {@@ -91755,8 +91775,8 @@ function f7() {}return tc;}-function trt(e, t, n = U7()) {- return uit(n).map(([n, r]) => {+function rrt(e, t, n = H7()) {+ return fit(n).map(([n, r]) => {let i = e === n, a = Bw(n, e, t);return {key: n,@@ -91767,50 +91787,50 @@ function trt(e, t, n = U7()) {};});}-function p7(e, t, n, r = l7.EMPTY_ENTITY_MEDIA, i = {}) {- return l7.application.route(e, t, n, r, i);+function f7(e, t, n, r = c7.EMPTY_ENTITY_MEDIA, i = {}) {+ return c7.application.route(e, t, n, r, i);}-function m7() {- return Int({- entityWall: l7.entityPageWall,- entityCurrent: l7.entityPageCurrent(),+function p7() {+ return Rnt({+ entityWall: c7.entityPageWall,+ entityCurrent: c7.entityPageCurrent(),indexVisible: !I("#index").hidden,pathname: location.pathname,followMedia: $.followMediaView,statsVisible: !I("#stats").hidden}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));}-function h7() {- l7.photos.sync();+function m7() {+ c7.photos.sync();}-function nrt() {- m7() ? tce(CT()) : MT();+function irt() {+ p7() ? tce(CT()) : MT();}-function rrt(e) {- l7.photos.setSize(e);+function art(e) {+ c7.photos.setSize(e);}-var irt = knt({+var ort = jnt({request: (e) => vt("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })}),- success: () => $5.toast({ text: "已在资源管理器中显示" }),- failureText: (e) => l7.sourceHint(e instanceof Error ? e.message : String(e))+ success: () => Q5.toast({ text: "已在资源管理器中显示" }),+ failureText: (e) => c7.sourceHint(e instanceof Error ? e.message : String(e))});-async function art(e) {+async function srt(e) {let t = { textContent: "" };- return await irt(e, t), t.textContent;+ return await ort(e, t), t.textContent;}-async function ort(e) {+async function crt(e) {let t = { textContent: "" }, n = [];- return await srt(e, t, (e) => {+ return await lrt(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));}), {text: t.textContent,removed: n};}-async function srt(e, t, n) {+async function lrt(e, t, n) {t.textContent = "正在核对目录…";try {let r = await vt("/api/purge-missing", {@@ -91818,12 +91838,12 @@ async function srt(e, t, n) {body: JSON.stringify({ id: e })});if (r.ok === !1) {- t.textContent = l7.sourceHint(r.error);+ t.textContent = c7.sourceHint(r.error);return;}- if (t.textContent = r.removed ? `${l7.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {+ if (t.textContent = r.removed ? `${c7.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);- n && n(r), $5.actionReceipt(l7.syncedText(r), { undo: e.length ? async () => {+ n && n(r), Q5.actionReceipt(c7.syncedText(r), { undo: e.length ? async () => {await vt("/api/batch", {method: "POST",body: JSON.stringify({@@ -91835,22 +91855,22 @@ async function srt(e, t, n) {restored: e.length});} : null });- } else $5.actionReceipt("目录核对完成,无需改动");+ } else Q5.actionReceipt("目录核对完成,无需改动");} catch (e) {- t.textContent = l7.sourceHint(e.message), $5.actionFailure("核对目录", e);+ t.textContent = c7.sourceHint(e.message), Q5.actionFailure("核对目录", e);}}-function crt(e) {- return `<div class="srctools">${l7.sourceToolButtons(e)}+function urt(e) {+ return `<div class="srctools">${c7.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function lrt(e, t) {+function drt(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && Q5.handler(r, "onclick", () => irt(Number(r.dataset.reveal), n, { button: r })), i && Q5.handler(i, "onclick", () => srt(Number(i.dataset.sync), n, t));+ r && Z5.handler(r, "onclick", () => ort(Number(r.dataset.reveal), n, { button: r })), i && Z5.handler(i, "onclick", () => lrt(Number(i.dataset.sync), n, t));}-async function urt(e, t) {+async function frt(e, t) {let n = ts({title: "添加别名",description: "图库按名字存图,多记一个写法就多一批候选;这里添的名字也能提为统称。",@@ -91862,9 +91882,9 @@ async function urt(e, t) {confirmDisabled: !0,onConfirm: () => t({ alias: r.value.trim() })}), r = n.dialog.querySelector("[name=alias]");- Q5.handler(r, "oninput", () => {+ Z5.handler(r, "oninput", () => {n.confirmButton.disabled = !r.value.trim();- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => Q5.handler(e, "onclick", async () => {+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => Z5.handler(e, "onclick", async () => {let r = e.dataset.aliasDrop;n.close();try {@@ -91873,49 +91893,49 @@ async function urt(e, t) {remove: !0});} catch (e) {- $5.actionFailure("撤销别名", e);+ Q5.actionFailure("撤销别名", e);return;}- $5.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {+ Q5.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {await t({ alias: r });} });}));let { confirmed: i, result: a } = await n.done;- i && (a?.added ? $5.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {+ i && (a?.added ? Q5.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {await t({alias: a.alias,remove: !0});- } }) : $5.actionReceipt(`${a?.alias} 已经是这条实体的名字`));+ } }) : Q5.actionReceipt(`${a?.alias} 已经是这条实体的名字`));}-function drt(e, t) {- let n = ert(e, Ga({+function prt(e, t) {+ let n = nrt(e, Ga({readout: " ",loading: !0,filterRow: "bottom"}), e === "agency" ? fo({kind: "performers",- layout: T7.peopleIndexLayout()- }) : m9());- I("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? g7(e, t) : (I("#index").innerHTML = n, g7(e, t), yo(I("#index")));+ layout: w7.peopleIndexLayout()+ }) : p9());+ I("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? h7(e, t) : (I("#index").innerHTML = n, h7(e, t), yo(I("#index")));}-function g7(e, t) {+function h7(e, t) {let n = I("#index").firstElementChild;if (n?.dataset.skeleton !== `entity/${e}`) return;let r = (e, t, n) => {t && !e ? n() : !t && e && e.remove();};- r(n.querySelector(".entityfoot"), e !== "agency" && a7.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", a7.costarSkeletonFoot())), r(n.querySelector(".feednew"), a7.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", a7.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && a7.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", a7.factsSkeleton()));+ r(n.querySelector(".entityfoot"), e !== "agency" && i7.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", i7.costarSkeletonFoot())), r(n.querySelector(".feednew"), i7.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", i7.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && i7.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", i7.factsSkeleton()));}-function frt(e) {- let t = Tt[e] || e, n = n5[t] || "条目", r = n5[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";+function mrt(e) {+ let t = Tt[e] || e, n = t5[t] || "条目", r = t5[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";I("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}-function _7(e, t) {- j9(l7.application.fresh(e, t));+function g7(e, t) {+ A9(c7.application.fresh(e, t));}-function prt() {- l7.ENTITY_FILTER_KEYS = [+function hrt() {+ c7.ENTITY_FILTER_KEYS = ["loc","creator","tag",@@ -91925,71 +91945,71 @@ function prt() {"orient","sort","dir"- ], l7.emptyEntityFilters = i7, l7.parseEntityFilters = (e) => Ant(e, {+ ], c7.emptyEntityFilters = r7, c7.parseEntityFilters = (e) => Mnt(e, {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection- }), l7.entityFilterSearch = jnt, l7.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), c7.entityFilterSearch = Nnt, c7.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }- } : e, l7.activeFilterState = () => {- let e = f7();+ } : e, c7.activeFilterState = () => {+ let e = d7();return e.type === "home" ? H : e.filters;}, I("#q").value = H.q, X.rememberSearchValue();}-function mrt() {- l7.entityPageView = "", l7.entityPageWall = !1, l7.entityPageRevision = 0, l7.entityPageCurrent = () => !!u7(), l7.entityPageLive = (e, t) => {- let n = u7();+function grt() {+ c7.entityPageView = "", c7.entityPageWall = !1, c7.entityPageRevision = 0, c7.entityPageCurrent = () => !!l7(), c7.entityPageLive = (e, t) => {+ let n = l7();return !!n && !I("#index").hidden && n.props.kind === e && n.props.name === t;- }, l7.EMPTY_ENTITY_MEDIA = {+ }, c7.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, l7.parseMediaView = Mnt, l7.entityViewSearch = Nnt, l7.entityBodyCanLoadMore = () => !I("#index").hidden && I("#stats").hidden, l7.entityBodySkeleton = () => m9(), l7.entityPageHelpers = {+ }, c7.parseMediaView = Pnt, c7.entityViewSearch = Fnt, c7.entityBodyCanLoadMore = () => !I("#index").hidden && I("#stats").hidden, c7.entityBodySkeleton = () => p9(), c7.entityPageHelpers = {wireDrag: (e) => {- e && y9(e);+ e && v9(e);},wireScroller: (e) => {e && Ao(e);},- wireFeedRow: (e) => qnt(e),- feedRowHtml: Knt,- receipt: (e, t) => $5.actionReceipt(e, t),- failure: (e, t) => $5.actionFailure(e, t),- aliasForm: (e, t) => urt(e, t),- sourceToolsHtml: (e) => crt(e),- wireSourceTools: (e, t) => lrt(e, t),- comboItems: (e) => Kit(e),- sortKeys: (e, t, n) => trt(e, t, n)- }, l7.entityFollowActions = {+ wireFeedRow: (e) => Ynt(e),+ feedRowHtml: Jnt,+ receipt: (e, t) => Q5.actionReceipt(e, t),+ failure: (e, t) => Q5.actionFailure(e, t),+ aliasForm: (e, t) => frt(e, t),+ sourceToolsHtml: (e) => urt(e),+ wireSourceTools: (e, t) => drt(e, t),+ comboItems: (e) => Jit(e),+ sortKeys: (e, t, n) => rrt(e, t, n)+ }, c7.entityFollowActions = {...$.followFeedActions,route: () => {},shuffle: () => {},loaded: () => {},toggleSelection: () => {}- }, l7.SOURCE_HINTS = {+ }, c7.SOURCE_HINTS = {"source offline": "来源不在线,这一次不对账;接上这个来源后重试","source not mapped": "本机没有映射这个来源的盘符","file missing": "源文件已不在盘上;点右边的同步把账本对齐","unsupported platform": "当前服务端系统不支持直接定位文件","reveal failed": "打开文件管理器失败,请重试"- }, l7.sourceHint = (e) => l7.SOURCE_HINTS[e] || e, l7.syncedText = (e) => [+ }, c7.sourceHint = (e) => c7.SOURCE_HINTS[e] || e, c7.syncedText = (e) => [e.trashed ? `已把 ${e.trashed} 项移入回收站` : "",e.vanished ? `${e.vanished} 项带个人记录,已标为已消失` : "",e.reattached ? `${e.reattached} 项的记录已接到库里的另一个版本` : ""- ].filter(Boolean).join(","), l7.sourceToolButtons = (e) => `+ ].filter(Boolean).join(","), c7.sourceToolButtons = (e) => `<button type="button" data-reveal="${e}" title="在文件管理器里打开源文件所在目录"aria-label="定位源文件">${L("folder-open")}</button><button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${L("folder-sync")}</button>`;}-function hrt() {- l7.application = Vnt({+function _rt() {+ c7.application = Unt({controller: {context: () => {- let e = f7();+ let e = d7();return e.type === "entity" ? e : null;},- live: (e, t) => l7.entityPageLive(e, t),- current: () => l7.entityPageCurrent(),+ live: (e, t) => c7.entityPageLive(e, t),+ current: () => c7.entityPageCurrent(),route: (e, t = !1) => Q.route(e, t),search: () => location.search,restoreHomeContext: () => kc({ barsContext: {@@ -91997,14 +92017,14 @@ function hrt() {filters: H} }),releaseBodyPreviews: () => Hs(I("#index [data-entity-body]")),- push: d7,+ push: u7,state: () => ({seed: String(H.seed || ""),jav: H.jav === "1"}),preferences: () => ({- revision: l7.entityPageRevision,- feedRevision: a7.feedRevision,+ revision: c7.entityPageRevision,+ feedRevision: i7.feedRevision,photoSize: CT(),photoLayout: wT(),photoLayouts: gT,@@ -92012,49 +92032,49 @@ function hrt() {javLayout: yT(),javLayouts: mT,states: X.VIEW_PILLS,- peopleLayout: T7.peopleIndexLayout(),- layout: p9(),+ peopleLayout: w7.peopleIndexLayout(),+ layout: f9(),selectMode: ac,selected: new Set(rc),seekSeconds: Z.appSettings.seekSeconds,groupCollapse: Z.appSettings.groupCollapse,- wireDrag: y9,- skeletonHtml: l7.entityBodySkeleton,- canLoadMore: l7.entityBodyCanLoadMore,+ wireDrag: v9,+ skeletonHtml: c7.entityBodySkeleton,+ canLoadMore: c7.entityBodyCanLoadMore,follow: {helpers: $.followFeedHelpers,- actions: l7.entityFollowActions+ actions: c7.entityFollowActions}}),- changeFilter: n9,- rollSeed: () => $5.rollSeed(),+ changeFilter: t9,+ rollSeed: () => Q5.rollSeed(),writeSeed: (e) => {H.seed = e, Ac();},- setJavLayout: fit,+ setJavLayout: mit,javLayout: yT,setPhotoLayout: DT,- syncPhotoWalls: h7,- openEntity: _7,- photoViewActive: m7,+ syncPhotoWalls: m7,+ openEntity: g7,+ photoViewActive: p7,recordPainted: (e, t) => {- l7.entityPageView = e, l7.entityPageWall = t;+ c7.entityPageView = e, c7.entityPageWall = t;},- syncDensity: nrt,- scheduleSticky: X7,- releasePage: () => B8(I("#index")),- showMissing: frt,- dropBars: n7+ syncDensity: irt,+ scheduleSticky: Y7,+ releasePage: () => z8(I("#index")),+ showMissing: mrt,+ dropBars: t7},loading: {- shapesReady: () => !!a7.entityShapes,- waitShapes: Jrt,- paintSkeleton: drt,+ shapesReady: () => !!i7.entityShapes,+ waitShapes: Xrt,+ paintSkeleton: prt,resetView: () => {- kc({ detailReturnBarsContext: null }), l7.entityPageView = "", l7.entityPageWall = !1;+ kc({ detailReturnBarsContext: null }), c7.entityPageView = "", c7.entityPageWall = !1;},- loadShapes: o7,- syncParts: g7+ loadShapes: a7,+ syncParts: h7},photos: {preferences: () => ({@@ -92063,27 +92083,27 @@ function hrt() {imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),- pushEntity: d7,- pushFollow: I9,- syncDensity: nrt,+ pushEntity: u7,+ pushFollow: F9,+ syncDensity: irt,storeSize: Qse},- helpers: l7.entityPageHelpers,+ helpers: c7.entityPageHelpers,actions: {- toggleTag: o9,- openFollowAuthor: Wrt,+ toggleTag: a9,+ openFollowAuthor: Krt,javContext: (e) => kc({ entityJavLayout: !!e })},sortPreference: () => ({sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection})- }), l7.photos = l7.application.photos, l7.entityPageHelpers = l7.application.helpers;+ }), c7.photos = c7.application.photos, c7.entityPageHelpers = c7.application.helpers;}//#endregion//#region src/application/playlists.js-var v7 = { playlistWrite: void 0 };-function grt(e, t) {+var _7 = { playlistWrite: void 0 };+function vrt(e, t) {e === "tag" ? (kc({ state: {...H,tag: t,@@ -92093,17 +92113,17 @@ function grt(e, t) {q: "",state: "",orient: ""- } }), X.clearSearchField(), Q.route(Q7()), F7(), a9()) : _7(e, t);+ } }), X.clearSearchField(), Q.route(Z7()), P7(), i9()) : g7(e, t);}-function _rt(e = "") {+function yrt(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${R(e)}"></label>`;}-async function vrt({ title: e, count: t, save: n }) {+async function brt({ title: e, count: t, save: n }) {let r = ts({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,- body: _rt(e),+ body: yrt(e),confirmLabel: "保存为播放列表",onConfirm: () => {let e = r.dialog.querySelector("[name=\"name\"]").value.trim();@@ -92113,28 +92133,28 @@ async function vrt({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await xat(a.id, a.current_asset_id, !0), $5.actionReceipt("已保存为播放列表", { undo: async () => {- await v7.playlistWrite({+ i && (await Cat(a.id, a.current_asset_id, !0), Q5.actionReceipt("已保存为播放列表", { undo: async () => {+ await _7.playlistWrite({action: "delete",id: a.id- }), j9("/playlists");+ }), A9("/playlists");} }));}-async function yrt(e) {+async function xrt(e) {let t = ((await vt("/api/playlists")).items || []).map((e) => `<label class="pickrow">${$a(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${R(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = ts({title: "加入播放列表",description: "勾选要加入的列表,或者填个名称新建一份。",- body: _rt() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : qa("还没有播放列表,填个名称就能新建一份。", { size: "small" })),+ body: yrt() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : qa("还没有播放列表,填个名称就能新建一份。", { size: "small" })),confirmLabel: "保存",confirmDisabled: !0,onConfirm: async () => {- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await v7.playlistWrite({+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await _7.playlistWrite({action: "create",name: t,asset_ids: [e.id]})).playlist : null;- for (let t of r) await v7.playlistWrite({+ for (let t of r) await _7.playlistWrite({action: "add",id: t,asset_ids: [e.id]@@ -92148,45 +92168,45 @@ async function yrt(e) {let e = n.dialog.querySelector("[name=\"name\"]").value.trim();n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");};- Q5.listen(n.dialog, "input", r), Q5.listen(n.dialog, "change", r);+ Z5.listen(n.dialog, "input", r), Z5.listen(n.dialog, "change", r);let { confirmed: i, result: a } = await n.done;if (!i) return;let o = +!!a.created + a.added.length;- $5.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {- for (let t of a.added) await v7.playlistWrite({+ Q5.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {+ for (let t of a.added) await _7.playlistWrite({action: "remove",id: t,asset_id: e.id});- a.created && await v7.playlistWrite({+ a.created && await _7.playlistWrite({action: "delete",id: a.created.id});} });}-function brt() {- Hs(), x9(!1), P7();- let e = P8(I("#stats"));- e?.path !== "/playlists" || !e.host.isConnected ? kc({ pageOpens: bc + 1 }) : (N7({ manage: !1 }), kc({ playlistsRevision: Ec + 1 }));+function Srt() {+ Hs(), b9(!1), N7();+ let e = N8(I("#stats"));+ e?.path !== "/playlists" || !e.host.isConnected ? kc({ pageOpens: bc + 1 }) : (M7({ manage: !1 }), kc({ playlistsRevision: Ec + 1 }));}-function xrt(e) {+function Crt(e) {Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));}-function Srt(e) {+function wrt(e) {kc({ configurationRequestedSection: e }), Q.navigatePath("/configuration");}-function Crt() {- v7.playlistWrite = (e) => vt("/api/playlist", {+function Trt() {+ _7.playlistWrite = (e) => vt("/api/playlist", {method: "POST",body: JSON.stringify(e)});}//#endregion//#region src/react/catalog-grid/selection-controller.ts-function y7(e) {+function v7(e) {return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";}-function wrt(e, t, n, r, i = !1) {+function Ert(e, t, n, r, i = !1) {return i && (e.selected.clear(), e.followSelected.clear()), {selectMode: r,selectSurface: r ? t.selectMode ? t.selectSurface : n : "",@@ -92194,24 +92214,24 @@ function wrt(e, t, n, r, i = !1) {followLastSelectedId: i ? null : t.followLastSelectedId};}-function Trt(e, t, n, r, i, a = !1) {- let o = n === "follow", s = MM(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);+function Drt(e, t, n, r, i, a = !1) {+ let o = n === "follow", s = jM(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {- ...wrt(e, t, n, !0),+ ...Ert(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function Ert(e, t, n, r) {- let i = y7(t);+function Ort(e, t, n, r) {+ let i = v7(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: gR(n).view === "dismissed"+ junkDismissed: hR(n).view === "dismissed"};}//#endregion//#region src/application/selection.js-var b7 = {+var y7 = {batchDockProps: void 0,trashCount: void 0,currentSelectSurface: void 0,@@ -92219,43 +92239,43 @@ var b7 = {BATCH_RUNNERS: void 0,coverRecheck: void 0};-function x7() {- f9({+function b7() {+ d9({selected: new Set(rc),selectMode: ac- }), d7({+ }), u7({selected: new Set(rc),selectMode: ac- }), I9({+ }), F9({selected: new Set(ic),selectMode: ac- }), b7.batchDockProps = Irt(), Jtt() && (Jtt().render(b7.batchDockProps), Z.syncGlassOptics());+ }), y7.batchDockProps = Rrt(), Xtt() && (Xtt().render(y7.batchDockProps), Z.syncGlassOptics());}-function S7(e, t = !1) {- kc(wrt({+function x7(e, t = !1) {+ kc(Ert({selected: rc,followSelected: ic- }, w7(), y7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", ac), ac && Hs(), I("#selectMode").setAttribute("aria-pressed", String(ac)), x7();+ }, C7(), v7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", ac), ac && Hs(), I("#selectMode").setAttribute("aria-pressed", String(ac)), b7();}-function Drt() {- return [...O7.gridCards()].map((e) => +e.dataset.id);+function krt() {+ return [...D7.gridCards()].map((e) => +e.dataset.id);}-function C7(e, t = !1) {- kc(Trt({+function S7(e, t = !1) {+ kc(Drt({selected: rc,followSelected: ic- }, w7(), y7(location.pathname), Drt(), e, t)), S7(!0);+ }, C7(), v7(location.pathname), krt(), e, t)), x7(!0);}-function Ort() {+function Art() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function krt(e, t = !1) {- kc(Trt({+function jrt(e, t = !1) {+ kc(Drt({selected: rc,followSelected: ic- }, w7(), "follow", Ort(), e, t)), S7(!0);+ }, C7(), "follow", Art(), e, t)), x7(!0);}-async function Art(e, t) {+async function Mrt(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -92287,32 +92307,32 @@ async function Art(e, t) {})});if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- S7(!1, !0), await q7();+ x7(!1, !0), await K7();let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;- $5.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {+ Q5.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {await vt("/api/batch", {method: "POST",body: JSON.stringify({ids: i,operation: r})- }), await q7();+ }), await K7();} : null });} catch (e) {throw Wo(t, !1), e;} finally {- Wo(t, !1), x7();+ Wo(t, !1), b7();}}});}-async function jrt() {+async function Nrt() {let e = [...rc];if (!e.length) return;let t = ts({title: "判定产地",description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + b7.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + y7.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}"><span class="chip-label">${t}</span></button>`).join("") + "</div>",confirmLabel: "判定产地",confirmDisabled: !0,@@ -92332,13 +92352,13 @@ async function jrt() {};}});- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => Q5.handler(e, "onclick", () => {+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => Z5.handler(e, "onclick", () => {t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;}));let { confirmed: n, result: r } = await t.done;- n && (S7(!1, !0), await q7(), $5.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));+ n && (x7(!1, !0), await K7(), Q5.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function Mrt(e, t) {+async function Prt(e, t) {let n = [...ic];if (!n.length) return;let r = {@@ -92364,16 +92384,16 @@ async function Mrt(e, t) {items: n,to: e})- }), S7(!1, !0), location.pathname === "/follow" && kc({ pageOpens: bc + 1 }), $5.actionReceipt(`已${r[e]} ${n.length} 项`);+ }), x7(!1, !0), location.pathname === "/follow" && kc({ pageOpens: bc + 1 }), Q5.actionReceipt(`已${r[e]} ${n.length} 项`);} catch (e) {throw Wo(t, !1), e;} finally {- Wo(t, !1), x7();+ Wo(t, !1), b7();}}});}-async function Nrt(e, t) {+async function Frt(e, t) {let n = [...rc];if (!n.length) return;let r = {@@ -92399,68 +92419,68 @@ async function Nrt(e, t) {ids: n,operation: e})- }), S7(!1, !0), await c9();+ }), x7(!1, !0), await s9();let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;- $5.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {+ Q5.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {await vt("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: t})- }), await c9();+ }), await s9();} : null });} catch (e) {throw Wo(t, !1), e;} finally {- Wo(t, !1), x7();+ Wo(t, !1), b7();}}});}-function Prt() {- qtt({+function Irt() {+ Ytt({root: I("[data-batch-dock]"),run: (e, t, n) => {- b7.BATCH_RUNNERS[e]?.(t, n);+ y7.BATCH_RUNNERS[e]?.(t, n);}}).then((e) => {- e.render(b7.batchDockProps), Z.syncGlassOptics();+ e.render(y7.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function Frt() {- b7.batchDockProps = {+function Lrt() {+ y7.batchDockProps = {count: 0,context: "catalog",junkDismissed: !1- }, b7.trashCount = null, b7.currentSelectSurface = () => y7(location.pathname), Q5.handler(I("#selectMode"), "onclick", () => S7(!ac, !!ac)), b7.REGION_CHOICES = [+ }, y7.trashCount = null, y7.currentSelectSurface = () => v7(location.pathname), Z5.handler(I("#selectMode"), "onclick", () => x7(!ac, !!ac)), y7.REGION_CHOICES = [["jp", "日本"],["kr", "韩国"],["cn", "国产"],["west", "欧美"],["other", "其他"],["none", "撤回判定"]- ], b7.BATCH_RUNNERS = {- batch: Art,- region: jrt,- follow: Mrt,- junk: Nrt,- clear: () => S7(!1, !0)- }, Q5.handler(I("#density"), "onclick", () => {- m7() ? rrt(CT() === "big" ? "small" : "big") : ece();+ ], y7.BATCH_RUNNERS = {+ batch: Mrt,+ region: Nrt,+ follow: Prt,+ junk: Frt,+ clear: () => x7(!1, !0)+ }, Z5.handler(I("#density"), "onclick", () => {+ p7() ? art(CT() === "big" ? "small" : "big") : ece();}), MT(), Bs({selecting: () => ac,- censored: () => v9(),+ censored: () => _9(),delaySeconds: () => Z.appSettings.hoverDelaySeconds- }), Q5.listen(window, "pagehide", () => Hs()), Q5.listen(document, "visibilitychange", () => {+ }), Z5.listen(window, "pagehide", () => Hs()), Z5.listen(document, "visibilitychange", () => {document.hidden && Hs();- }), Ls(), b7.coverRecheck = 0, Q5.listen(window, "resize", () => {- Ps(I("#index")), clearTimeout(b7.coverRecheck), b7.coverRecheck = Q5.delay(() => I("#index").querySelectorAll("img.cover").forEach((e) => {+ }), Ls(), y7.coverRecheck = 0, Z5.listen(window, "resize", () => {+ Ps(I("#index")), clearTimeout(y7.coverRecheck), y7.coverRecheck = Z5.delay(() => I("#index").querySelectorAll("img.cover").forEach((e) => {e.complete && Ts(e);}), 200);}, { passive: !0 });}-function w7() {+function C7() {return {selectMode: ac,selectSurface: cc,@@ -92468,81 +92488,81 @@ function w7() {followLastSelectedId: sc};}-function Irt() {- return Ert({+function Rrt() {+ return Ort({selected: rc,followSelected: ic}, location.pathname, location.search, H.state);}//#endregion//#region src/application/index.js-var T7 = {+var w7 = {peopleIndexLayout: void 0,personAvatar: void 0};-function Lrt() {+function zrt() {return Z.appSettings.followLayout === "table" ? "table" : "default";}-function Rrt() {- return Ent(location.search);+function Brt() {+ return Ont(location.search);}-function zrt(e) {- return Dnt(e);+function Vrt(e) {+ return knt(e);}-function Brt(e) {- Q.route(zrt(e));+function Hrt(e) {+ Q.route(Vrt(e));}-function E7(e = "") {- return Ont(location.search, e);+function T7(e = "") {+ return Ant(location.search, e);}-function Vrt(e) {- return Cnt(e);+function Urt(e) {+ return Tnt(e);}-function Hrt(e) {- return xnt(e);+function Wrt(e) {+ return Cnt(e);}-function D7() {- I("#stats").hidden = !0, I("#index").hidden = !1, l9(), X.hideCatalogCombo(), I("#count").textContent = "", I("#loadSentinel").hidden = !0;+function E7() {+ I("#stats").hidden = !0, I("#index").hidden = !1, c9(), X.hideCatalogCombo(), I("#count").textContent = "", I("#loadSentinel").hidden = !0;}-function Urt(e, t) {+function Grt(e, t) {kc({ state: {...H,state: "",tag: e.join(","),tag_match: t- } }), S7(!1, !1), Q.route(Q7()), F7(), O9(), a9();+ } }), x7(!1, !1), Q.route(Z7()), P7(), D9(), i9();}-function Wrt(e) {- T7.controller.openFollowAuthor(e);+function Krt(e) {+ w7.controller.openFollowAuthor(e);}-function Grt(e) {- T7.controller.openFollowTag(e);+function qrt(e) {+ w7.controller.openFollowTag(e);}-function Krt() {+function Jrt() {$.FOLLOW_MANAGE_TABS = ["list","add","feeds","wants","source"- ], Q5.listen(document, "click", (e) => {- e.target.closest?.("[data-empty-settings]") ? Srt("媒体") : !e.target.closest?.("a[href=\"/follow-manage?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(E7("add")));- }), T7.peopleIndexLayout = () => z9e(Z.appSettings.peopleLayout), T7.personAvatar = Snt;+ ], Z5.listen(document, "click", (e) => {+ e.target.closest?.("[data-empty-settings]") ? wrt("媒体") : !e.target.closest?.("a[href=\"/follow-manage?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(T7("add")));+ }), w7.peopleIndexLayout = () => V9e(Z.appSettings.peopleLayout), w7.personAvatar = wnt;}-function qrt() {- T7.controller = wnt({+function Yrt() {+ w7.controller = Ent({route: Q.route,- followView: N9,- adoptFollowView: P9,+ followView: M9,+ adoptFollowView: N9,hideIndex: () => {I("#index").hidden = !0;},- openPage: j9+ openPage: A9});}//#endregion//#region src/application/loading.js-var O7 = {+var D7 = {setGridCards: void 0,gridCards: void 0,managementPlaceholder: void 0,@@ -92551,48 +92571,48 @@ var O7 = {ENTITY_SHAPES_WAIT: void 0,syncPageTitle: void 0};-function k7(e = "正在读取作品") {+function O7(e = "正在读取作品") {let t = I("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = sTe(gR(location.search)), yo(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", H && i9({+ if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = lTe(hR(location.search)), yo(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", H && r9({count: null,- ...zit()- })), I("#loadSentinel").hidden = !0, d9()) return;- let r = I("#grid"), i = m9(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== _et(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Zit()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : O7.setGridCards(i), yo(I("#grid")));+ ...Vit()+ })), I("#loadSentinel").hidden = !0, u9()) return;+ let r = I("#grid"), i = p9(e), a = r.querySelector(".catalog-skeleton");+ (a?.dataset.skeleton !== yet(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== $it()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : D7.setGridCards(i), yo(I("#grid")));}-function A7() {- I("#catalogFilter").style.display = "none", r9();+function k7() {+ I("#catalogFilter").style.display = "none", n9();}-function Jrt() {+function Xrt() {let e = new Promise((e) => {- let t = O7.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {+ let t = D7.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();- t -= Math.min(i - n, 50), n = i, t > 0 ? Q5.delay(r, Math.min(t, 50)) : e();+ t -= Math.min(i - n, 50), n = i, t > 0 ? Z5.delay(r, Math.min(t, 50)) : e();};- Q5.delay(r, 50);+ Z5.delay(r, 50);});- return Promise.race([O7.entityShapesReady ||= o7(), e]);+ return Promise.race([D7.entityShapesReady ||= a7(), e]);}-function Yrt() {+function Zrt() {let e = decodeURIComponent(location.pathname);- if (document.body.dataset.surface = location.pathname, /^\/(item\/\d+|(?:mix|parts|editions|playlists)\/\d+\/\d+)$/.test(e)) A7();- else if (e.startsWith("/follow/item/")) A7();- else if (e === "/junk-files") k7("正在读取垃圾文件");+ if (document.body.dataset.surface = location.pathname, /^\/(item\/\d+|(?:mix|parts|editions|playlists)\/\d+\/\d+)$/.test(e)) k7();+ else if (e.startsWith("/follow/item/")) k7();+ else if (e === "/junk-files") O7("正在读取垃圾文件");else if (Q.managedPagePath(e)) {- A7();+ k7();let t = I("#stats");- t.hidden = !1, l9(), t.innerHTML = e.startsWith("/follow") && e !== "/follow-manage" ? $.followSkeletonHtml("正在读取关注内容") : O7.managementPlaceholder(e), yo(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) A7(), D7(), W9e(I("#index"), B9e(e.slice(1), location.search), T7.peopleIndexLayout());+ t.hidden = !1, c9(), t.innerHTML = e.startsWith("/follow") && e !== "/follow-manage" ? $.followSkeletonHtml("正在读取关注内容") : D7.managementPlaceholder(e), yo(t);+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) k7(), E7(), K9e(I("#index"), H9e(e.slice(1), location.search), w7.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies)\//.test(e)) {- A7(), I("#index").hidden = !1, l9();+ k7(), I("#index").hidden = !1, c9();let t = Et[e.split("/")[1]], n = e.split("/").slice(2).join("/");- Jrt().then(() => {- I("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (drt(t, n), yo(I("#index")));+ Xrt().then(() => {+ I("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (prt(t, n), yo(I("#index")));});- } else Q.routeMeta(e) ? k7() : (l9(), I("#count").textContent = "", I("#loadSentinel").hidden = !0);+ } else Q.routeMeta(e) ? O7() : (c9(), I("#count").textContent = "", I("#loadSentinel").hidden = !0);}-function Xrt() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => l5(t, {+function Qrt() {+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => c5(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",@@ -92604,39 +92624,39 @@ function Xrt() {<div class="board-filter-frame" data-filter-frame><div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div><div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>- ${$.followContentSkeletonHtml(void 0, e)}</div>`, I("#loadSentinel").innerHTML = Xa("继续载入中…"), O7.setGridCards = (e) => co(I("#grid"), () => {+ ${$.followContentSkeletonHtml(void 0, e)}</div>`, I("#loadSentinel").innerHTML = Xa("继续载入中…"), D7.setGridCards = (e) => co(I("#grid"), () => {I("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), O7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), O7.managementPlaceholder = (e) => u5(e, {- followLayout: Lrt(),+ }), D7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), D7.managementPlaceholder = (e) => l5(e, {+ followLayout: zrt(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(Rrt())- }), O7.wantsDiscoveryBars = () => I("#catalogFilter").style.display !== "none", O7.entityShapesReady = null, O7.ENTITY_SHAPES_WAIT = 400, O7.syncPageTitle = (e) => {- let t = new URL(e, location.origin), n = A8(decodeURIComponent(t.pathname))?.title;- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, Oat();+ }))(Brt())+ }), D7.wantsDiscoveryBars = () => I("#catalogFilter").style.display !== "none", D7.entityShapesReady = null, D7.ENTITY_SHAPES_WAIT = 400, D7.syncPageTitle = (e) => {+ let t = new URL(e, location.origin), n = k8(decodeURIComponent(t.pathname))?.title;+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, Aat();};}//#endregion//#region src/sidebar-skeleton.ts-var j7 = (e) => e.replace(/[&<>"']/g, (e) => ({+var A7 = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"})[e]);-function Zrt(e, t, n) {+function $rt(e, t, n) {let r = new Map(t.map((e) => [e[0], e]));return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {- let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${j7(r)}"/></svg>`;- return `<button type="button" data-nav="${j7(e)}" aria-pressed="${n(e)}" aria-label="${j7(t)}">${i}<span>${j7(t)}</span></button>`;+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${A7(r)}"/></svg>`;+ return `<button type="button" data-nav="${A7(e)}" aria-pressed="${n(e)}" aria-label="${A7(t)}">${i}<span>${A7(t)}</span></button>`;}).join("")}</div>`;}//#endregion//#region src/application/filter-scroll.js-function Qrt(e, t, n, r = !1) {+function eit(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -92655,7 +92675,7 @@ function Qrt(e, t, n, r = !1) {}//#endregion//#region src/application/layout.js-var M7 = {+var j7 = {sidebarProps: void 0,sidebarSurface: void 0,sidebarCatalog: void 0,@@ -92677,20 +92697,20 @@ var M7 = {mobileFilterHost: void 0,mobileFilterPath: void 0};-function N7({ manage: e = !0, placeholder: t = "" } = {}) {- I("#stats").hidden = !1, I("#index").hidden = !0, l9(), I("#count").textContent = "", I("#loadSentinel").hidden = !0, e ? z7() : (B7(""), O9()), t && d5(I("#stats"), t);+function M7({ manage: e = !0, placeholder: t = "" } = {}) {+ I("#stats").hidden = !1, I("#index").hidden = !0, c9(), I("#count").textContent = "", I("#loadSentinel").hidden = !0, e ? R7() : (z7(""), D9()), t && u5(I("#stats"), t);}-function P7() {- X.hideCatalogCombo(), A7(), document.body.classList.remove("entity-open", "index-open");+function N7() {+ X.hideCatalogCombo(), k7(), document.body.classList.remove("entity-open", "index-open");}-function F7() {- document.body.classList.remove("entity-open", "index-open"), B8(I("#index")), I("#stats").hidden = !0, I("#index").hidden = !0, s7(location.pathname) || (I("#feedNew").hidden = !0), I("#catalogFilter").style.display = "", r9(), z7(), V7();+function P7() {+ document.body.classList.remove("entity-open", "index-open"), z8(I("#index")), I("#stats").hidden = !0, I("#index").hidden = !0, o7(location.pathname) || (I("#feedNew").hidden = !0), I("#catalogFilter").style.display = "", n9(), R7(), B7();}-function $rt() {- Q.route("/"), F7();+function tit() {+ Q.route("/"), P7();}-function eit({ tags: e = [], providers: t = [], duration: n = !1 }) {- D9({+function nit({ tags: e = [], providers: t = [], duration: n = !1 }) {+ E9({content: e.length || t.length || n ? {kind: "follow",tags: e.map(([e, t]) => ({@@ -92713,54 +92733,54 @@ function eit({ tags: e = [], providers: t = [], duration: n = !1 }) {filters: $.followSidebarFilters()});}-function tit(e) {- Bat({- ...N9(),+function rit(e) {+ Hat({+ ...M9(),...e- }), D9({ filters: $.followSidebarFilters() });+ }), E9({ filters: $.followSidebarFilters() });}-function I7() {+function F7() {return matchMedia("(max-width:760px)").matches;}-function L7(e) {+function I7(e) {let t = I("#drawer"), n = !e && t.contains(document.activeElement);- t.inert = !e && I7(), t.classList.toggle("open", e), I("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), I("#filterBtn").setAttribute("aria-expanded", String(!!e)), I("#filterBtn").setAttribute("aria-controls", "drawer"), I("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && I("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");+ t.inert = !e && F7(), t.classList.toggle("open", e), I("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), I("#filterBtn").setAttribute("aria-expanded", String(!!e)), I("#filterBtn").setAttribute("aria-controls", "drawer"), I("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && I("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");}-function nit() {- I7() && L7(!1);+function iit() {+ F7() && I7(!1);}-function rit() {+function ait() {vc === null && (kc({ runtimeConfigurable: !1 }), vt("/healthz").then((e) => {- kc({ runtimeConfigurable: !!e.configurable }), vc && R7() && z7();+ kc({ runtimeConfigurable: !!e.configurable }), vc && L7() && R7();}).catch(() => {}));}-function iit(e = "") {- return Htt(M7.settingsHost()).then((t) => (t.open(e), t));+function oit(e = "") {+ return Wtt(j7.settingsHost()).then((t) => (t.open(e), t));}-function ait() {+function sit() {return {scroll: I("#drawerScroll"),store: Z.settingsStore,- navCatalog: M7.NAV_CATALOG,- navOn: J7,- navTo: git,- toggleChip: (e, t, n) => n9((r) => {+ navCatalog: j7.NAV_CATALOG,+ navOn: q7,+ navTo: vit,+ toggleChip: (e, t, n) => t9((r) => {if (n) {let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);i >= 0 ? n.splice(i, 1) : n.push(t), r[e] = n.join(",");} else r[e] = r[e] === t ? "" : t;}),- setDuration: (e, t) => n9((n) => {+ setDuration: (e, t) => t9((n) => {n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";}),openFollowTag: (e) => {- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), L7(!1), j9(M9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), I7(!1), A9(j9());},selectFollowTag: (e) => {- $.followTags = /* @__PURE__ */ new Set([e]), L7(!1), j9(M9());+ $.followTags = /* @__PURE__ */ new Set([e]), I7(!1), A9(j9());},- selectFollowProvider: (e) => tit({ provider: $.followProviders.has(e) ? "" : e }),- setFollowDuration: (e, t) => tit({+ selectFollowProvider: (e) => rit({ provider: $.followProviders.has(e) ? "" : e }),+ setFollowDuration: (e, t) => rit({durMin: e ? e * 60 : 0,durMax: t < 180 ? t * 60 : 0}),@@ -92769,16 +92789,16 @@ function ait() {}};}-function oit() {+function cit() {let e = I("#drawerScroll");- e.innerHTML = Zrt(Z.appSettings.sidebarOrder, M7.NAV_CATALOG, J7), Q5.listen(e, "click", (e) => {- if (K5()) return;+ e.innerHTML = $rt(Z.appSettings.sidebarOrder, j7.NAV_CATALOG, q7), Z5.listen(e, "click", (e) => {+ if (G5()) return;let t = e.target.closest?.("[data-nav]");- t && git(t.dataset.nav);- }), Wtt(ait()).then((e) => e.render(M7.sidebarProps)).catch(() => {});+ t && vit(t.dataset.nav);+ }), Ktt(sit()).then((e) => e.render(j7.sidebarProps)).catch(() => {});}-async function sit() {- let e = Q5, t = null;+async function lit() {+ let e = Z5, t = null;try {t = await vt("/api/settings", { signal: e.signal });} catch {@@ -92786,148 +92806,148 @@ async function sit() {}e.isActive && lT(t, (e) => Z.settingsEffects[e]?.());}-function R7() {+function L7() {return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (H.state === "ads" ? "cleanup" : "");}-function z7() {- let e = R7();- rit(), e && A7(), I("#count").classList.toggle("no-tagbar", !!e), O9(), e !== "trash" && (b7.trashCount = null), B7(e);+function R7() {+ let e = L7();+ ait(), e && k7(), I("#count").classList.toggle("no-tagbar", !!e), D9(), e !== "trash" && (y7.trashCount = null), z7(e);}-function cit(e) {+function uit(e) {return {section: e,path: decodeURIComponent(location.pathname),- sections: M7.MANAGE_SECTIONS,- menu: e ? M7.manageMenuSections() : [],- trash: b7.trashCount+ sections: j7.MANAGE_SECTIONS,+ menu: e ? j7.manageMenuSections() : [],+ trash: y7.trashCount};}-function B7(e = R7()) {- let t = cit(e), n = Ktt();+function z7(e = L7()) {+ let t = uit(e), n = Jtt();if (n) n.render(t);else {- let e = Cue(t);- e !== M7.manageHeaderSkeleton && (M7.manageHeaderSkeleton = e, M7.manageHeaderRoot().innerHTML = e);+ let e = wue(t);+ e !== j7.manageHeaderSkeleton && (j7.manageHeaderSkeleton = e, j7.manageHeaderRoot().innerHTML = e);}- let r = KD(t)?.title || "";- r !== M7.lastManagePageLabel && (M7.lastManagePageLabel = r, r && so(M7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));+ let r = GD(t)?.title || "";+ r !== j7.lastManagePageLabel && (j7.lastManagePageLabel = r, r && so(j7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function lit() {- let e = M7.manageHeaderRoot();- Q5.listen(e, "click", (e) => {- if (Ktt()) return;+function dit() {+ let e = j7.manageHeaderRoot();+ Z5.listen(e, "click", (e) => {+ if (Jtt()) return;let t = e.target.closest?.("[data-manage]");- if (t) H7(t.dataset.manage);+ if (t) V7(t.dataset.manage);else if (e.target.closest?.("[data-manage-crumb] a[href]")) {if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;e.preventDefault(), Q.navigatePath("/data-cleanup");- } else e.target.closest?.("[data-empty-trash]") && Git();- }), Gtt({+ } else e.target.closest?.("[data-empty-trash]") && qit();+ }), qtt({root: e,- openManage: H7,+ openManage: V7,openDataCleanup: () => Q.navigatePath("/data-cleanup"),- emptyTrash: Git- }).then(() => B7()).catch(() => {});+ emptyTrash: qit+ }).then(() => z7()).catch(() => {});}-function V7() {+function B7() {let e = I("#listTitle");if (!e) return;- let t = decodeURIComponent(location.pathname), n = !R7() && wt(t) && Ct[H.state] || "";+ let t = decodeURIComponent(location.pathname), n = !L7() && wt(t) && Ct[H.state] || "";e.hidden = !n, n && (e.textContent = n);}-function H7(e = "stats") {+function V7(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (H.orient = "", H.state = "ads", Ac(), Q.route(_R()), F7(), O9(), a9());+ t ? Q.openRoutePath(t) : (H.orient = "", H.state = "ads", Ac(), Q.route(gR()), P7(), D9(), i9());}-function U7() {+function H7() {let e = decodeURIComponent(location.pathname);return e === "/" ? H.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? H.jav === "1" || Sc : !1;}-function uit(e = U7()) {+function fit(e = H7()) {let t = Nw.filter(([e]) => e !== "seed");return e ? [Pw, ...t] : t;}-function W7() {+function U7() {return decodeURIComponent(location.pathname) === "/" && H.jav !== "1";}-function G7() {- return bT(W7());+function W7() {+ return bT(U7());}-function dit(e) {- Yse(e), K7(), I("#grid").hidden || h9();+function pit(e) {+ Yse(e), G7(), I("#grid").hidden || m9();}-function fit(e) {- Xse(e), K7(), h9();+function mit(e) {+ Xse(e), G7(), m9();}-function K7() {+function G7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {- e.checked = e.value === G7();- }), X.catalogFilterProps && i9({ layout: Rit() });+ e.checked = e.value === W7();+ }), X.catalogFilterProps && r9({ layout: Bit() });}-function pit(e) {- Zse(e), K7(), h9();+function hit(e) {+ Zse(e), G7(), m9();}-function mit() {- H.jav = H.jav === "1" ? "" : "1", H.jav !== "1" && H.sort === "release" && (H.sort = "seed", H.dir = ""), H.state = "", H.orient = "", Ac(), Q.route(Q7()), F7(), O9(), a9();+function git() {+ H.jav = H.jav === "1" ? "" : "1", H.jav !== "1" && H.sort === "release" && (H.sort = "seed", H.dir = ""), H.state = "", H.orient = "", Ac(), Q.route(Z7()), P7(), D9(), i9();}-async function q7() {- n7(), X.mixRelatedCache.clear(), await Promise.all([hit(), a9()]);+async function K7() {+ t7(), X.mixRelatedCache.clear(), await Promise.all([_it(), i9()]);}-async function hit() {- if (l7.entityPageCurrent() && !I("#index").hidden) {- d7({ revision: ++l7.entityPageRevision });+async function _it() {+ if (c7.entityPageCurrent() && !I("#index").hidden) {+ u7({ revision: ++c7.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);- if (A8(e)?.reload === "reopen" || e === "/follow") {+ if (k8(e)?.reload === "reopen" || e === "/follow") {kc({ pageOpens: bc + 1 });return;}let t = Q.routeMeta(e);- t?.route.reload ? await t.route.reload() : await c9();+ t?.route.reload ? await t.route.reload() : await s9();}-function J7(e) {- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = M7.DIRECT_MANAGE_NAV[e];- if (r) return R7() === r;+function q7(e) {+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = j7.DIRECT_MANAGE_NAV[e];+ if (r) return L7() === r;if (e === "manage") {- let e = R7();- return !!e && !Z.appSettings.sidebarOrder.some((t) => M7.DIRECT_MANAGE_NAV[t] === e);+ let e = L7();+ return !!e && !Z.appSettings.sidebarOrder.some((t) => j7.DIRECT_MANAGE_NAV[t] === e);}- return e === "jav" ? U7() : e === "shorts" ? H.orient === "竖屏" : e === "" ? t === "/" && !R7() && !H.state && !U7() && H.orient !== "竖屏" : xt[e] ? n === e && H.orient !== "竖屏" : n ? n === e : t === "/" && H.state === e && H.orient !== "竖屏";+ return e === "jav" ? H7() : e === "shorts" ? H.orient === "竖屏" : e === "" ? t === "/" && !L7() && !H.state && !H7() && H.orient !== "竖屏" : xt[e] ? n === e && H.orient !== "竖屏" : n ? n === e : t === "/" && H.state === e && H.orient !== "竖屏";}-function git(e) {- if (nit(), M7.DIRECT_MANAGE_NAV[e]) {- H7(M7.DIRECT_MANAGE_NAV[e]);+function vit(e) {+ if (iit(), j7.DIRECT_MANAGE_NAV[e]) {+ V7(j7.DIRECT_MANAGE_NAV[e]);return;}if (e === "manage") {- H7();+ V7();return;}if (e === "jav") {- mit();+ git();return;}if (e === "") {- $7();+ Q7();return;}let t = xt[e] ? null : Q.routePathOf("nav", e);- t ? Q.openRoutePath(t) : (e === "shorts" ? (H.orient = "竖屏", H.state = "") : (H.orient = "", H.state = e), Ac(), Q.route(Q7()), F7(), O9(), a9());+ t ? Q.openRoutePath(t) : (e === "shorts" ? (H.orient = "竖屏", H.state = "") : (H.orient = "", H.state = e), Ac(), Q.route(Z7()), P7(), D9(), i9());}-function Y7() {+function J7() {let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);- ac && cc !== b7.currentSelectSurface() && S7(!1, !0);+ ac && cc !== y7.currentSelectSurface() && x7(!1, !0);let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Et, t[0]), r = wt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";- I("#selectMode").hidden = !i, I("#density").hidden = !a, h7(), !i && ac && S7(!1, !0);+ I("#selectMode").hidden = !i, I("#density").hidden = !a, m7(), !i && ac && x7(!1, !0);}-function _it() {+function yit() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);- (t !== M7.mobileFilterHost || location.pathname !== M7.mobileFilterPath) && (M7.mobileFilterScroll = null), M7.mobileFilterHost = t, M7.mobileFilterPath = location.pathname;+ (t !== j7.mobileFilterHost || location.pathname !== j7.mobileFilterPath) && (j7.mobileFilterScroll = null), j7.mobileFilterHost = t, j7.mobileFilterPath = location.pathname;let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");- M7.mobileFilterScroll = Qrt(M7.mobileFilterScroll, n, innerWidth <= 760, r);+ j7.mobileFilterScroll = eit(j7.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {- let e = n === t && M7.mobileFilterScroll.free;+ let e = n === t && j7.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;let r = n.getBoundingClientRect().top;n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);@@ -92939,63 +92959,63 @@ function _it() {});}}-function vit() {- _it(), [".board-filter-frame", "#count"].forEach((e) => {+function bit() {+ yit(), [".board-filter-frame", "#count"].forEach((e) => {let t = I(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);});}-function X7() {- M7.stickyFrame ||= Q5.frame(() => {- M7.stickyFrame = 0, vit();+function Y7() {+ j7.stickyFrame ||= Z5.frame(() => {+ j7.stickyFrame = 0, bit();});}-function yit() {+function xit() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), Q5.handler(I("#filterBtn"), "onclick", () => L7(!I("#drawer").classList.contains("open"))), M7.SIDEBAR_ITEMS = mnt, M7.MANAGE_SECTIONS = r7, M7.MANAGE_MENU_SECTIONS = hnt, M7.manageMenuSections = () => gnt(vc === !0), M7.OPTIONAL_SIDEBAR_ITEMS = _nt, M7.NAV_CATALOG = vnt, M7.DIRECT_MANAGE_NAV = ynt, M7.settingsHost = () => ({+ }), Z5.handler(I("#filterBtn"), "onclick", () => I7(!I("#drawer").classList.contains("open"))), j7.SIDEBAR_ITEMS = gnt, j7.MANAGE_SECTIONS = n7, j7.MANAGE_MENU_SECTIONS = _nt, j7.manageMenuSections = () => vnt(vc === !0), j7.OPTIONAL_SIDEBAR_ITEMS = ynt, j7.NAV_CATALOG = bnt, j7.DIRECT_MANAGE_NAV = xnt, j7.settingsHost = () => ({store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),sound: (e) => Ta(e),- navCatalog: M7.NAV_CATALOG,+ navCatalog: j7.NAV_CATALOG,themeOptions: Use,videoLayouts: mT,- followInitialRanges: bnt,- videoLayout: () => G7(),- setVideoLayout: pit,- censored: v9,- setCensored: lat,+ followInitialRanges: Snt,+ videoLayout: () => W7(),+ setVideoLayout: hit,+ censored: _9,+ setCensored: dat,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: uat,- receipt: (e) => $5.actionReceipt(e),- failure: $5.actionFailure,+ setHighContrast: fat,+ receipt: (e) => Q5.actionReceipt(e),+ failure: Q5.actionFailure,syncRemote: (e) => lT(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/configuration"),attached: () => Z.syncGlassOptics(),configurable: () => vt("/healthz").then((e) => (kc({ runtimeConfigurable: !!e.configurable }), vc)).catch(() => null)- }), Q5.handler(I("#settingsBtn"), "onclick", () => void iit()), M7.lastManagePageLabel = "", M7.manageHeaderSkeleton = "", M7.manageHeaderRoot = () => I("[data-manage-header]"), window.__scrolling = !1, M7.scrollT = null, M7.stickyFrame = 0, M7.mobileFilterScroll = null, M7.mobileFilterHost = null, M7.mobileFilterPath = "", Q5.listen(document, "focusin", X7), Q5.listen(document, "focusout", X7), Q5.listen(window, "scroll", () => {- X7(), location.pathname === "/follow" && F9() && kc({ followScrollY: scrollY }), window.__scrolling = !0, Hs(), clearTimeout(M7.scrollT), M7.scrollT = Q5.delay(() => {+ }), Z5.handler(I("#settingsBtn"), "onclick", () => void oit()), j7.lastManagePageLabel = "", j7.manageHeaderSkeleton = "", j7.manageHeaderRoot = () => I("[data-manage-header]"), window.__scrolling = !1, j7.scrollT = null, j7.stickyFrame = 0, j7.mobileFilterScroll = null, j7.mobileFilterHost = null, j7.mobileFilterPath = "", Z5.listen(document, "focusin", Y7), Z5.listen(document, "focusout", Y7), Z5.listen(window, "scroll", () => {+ Y7(), location.pathname === "/follow" && P9() && kc({ followScrollY: scrollY }), window.__scrolling = !0, Hs(), clearTimeout(j7.scrollT), j7.scrollT = Z5.delay(() => {window.__scrolling = !1;}, 180);- }, { passive: !0 }), Q5.listen(window, "resize", X7, { passive: !0 }), Q5.handler(I("#scrim"), "onclick", () => L7(!1));+ }, { passive: !0 }), Z5.listen(window, "resize", Y7, { passive: !0 }), Z5.handler(I("#scrim"), "onclick", () => I7(!1));}//#endregion//#region src/catalog-filter-skeleton.ts-var bit = 64, Z7 = (e) => e.replace(/[&<>"]/g, (e) => ({+var Sit = 64, X7 = (e) => e.replace(/[&<>"]/g, (e) => ({"&": "&","<": "<",">": ">","\"": """-})[e]), xit = (e) => e.repeat(bit);-function Sit(e, t) {- let n = e.map((e) => `<a href="${Z7(e.href)}" data-catalog-view="${Z7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${Z7(e.label)}</a>`).join("");- return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + xit("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + xit("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(bit) + "</span></div></div></div><div data-filter-row=\"bottom\" aria-busy=\"true\" class=\"flex min-w-0 items-center gap-3 px-3 py-2 min-h-12\"><span data-catalog-readout=\"\"><span data-skeleton=\"count\" aria-hidden=\"true\" class=\"relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen\"></span></span></div></div></div></div>";+})[e]), Cit = (e) => e.repeat(Sit);+function wit(e, t) {+ let n = e.map((e) => `<a href="${X7(e.href)}" data-catalog-view="${X7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${X7(e.label)}</a>`).join("");+ return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + Cit("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + Cit("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(Sit) + "</span></div></div></div><div data-filter-row=\"bottom\" aria-busy=\"true\" class=\"flex min-w-0 items-center gap-3 px-3 py-2 min-h-12\"><span data-catalog-readout=\"\"><span data-skeleton=\"count\" aria-hidden=\"true\" class=\"relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen\"></span></span></div></div></div></div>";}//#endregion//#region src/catalog-onboarding.ts-var Cit = [+var Tit = ["loc","creator","performer",@@ -93013,9 +93033,9 @@ var Cit = ["jav","thumb"];-async function wit(e, t) {+async function Eit(e, t) {let n = new URLSearchParams();- for (let t of Cit) e[t] && n.set(t, e[t]);+ for (let t of Tit) e[t] && n.set(t, e[t]);let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([...r.creators || [],...r.tagperformers || [],@@ -93026,7 +93046,7 @@ async function wit(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function Tit({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function Dit({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {let a = r ? "<button class=\"geist-button primary\" data-empty-settings>添加内容</button>" : "", o = "<a class=\"geist-button" + (!r || i ? " primary" : "") + "\" href=\"/follow-manage?tab=add\">添加关注</a>";if (t || n) return Qa("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });if (e !== "catalog") {@@ -93082,43 +93102,43 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function Eit() {- X.initialParams.has("loc") || (H.loc = Dit(H.loc), Ac());+function Oit() {+ X.initialParams.has("loc") || (H.loc = kit(H.loc), Ac());}-function Dit(e) {- return rnt(e, Z.sourceOnline);+function kit(e) {+ return ant(e, Z.sourceOnline);}-function Q7(e = H) {- return int(e);+function Z7(e = H) {+ return ont(e);}-function Oit() {- kc(ont(ant(H, Z.appSettings, $5.rollSeed))), n7();+function Ait() {+ kc(cnt(snt(H, Z.appSettings, Q5.rollSeed))), t7();}-function $7(e = null, t = !1) {- Oit(), e && (Object.assign(H, e), Ac()), Q.route(e ? Q7() : "/"), X.clearSearchField(), x9(!1), F7(), O9(), a9(), t && window.scrollTo({+function Q7(e = null, t = !1) {+ Ait(), e && (Object.assign(H, e), Ac()), Q.route(e ? Z7() : "/"), X.clearSearchField(), b9(!1), P7(), D9(), i9(), t && window.scrollTo({top: 0,behavior: "smooth"});}-function kit(e, t = null) {+function jit(e, t = null) {let n = e.id;- !e.medium || e.medium === "video" ? C9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : C7(n);+ !e.medium || e.medium === "video" ? S9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : S7(n);}-function Ait(e) {+function Mit(e) {return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, vt("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {throw X.mixRelatedCache.delete(e), t;})), X.mixRelatedCache.get(e);}-function jit(e, t) {- R5()?.miniplayerTakesCard(e) ? R5().miniplayerPlay(e.id) : e.edition_group ? yat(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? bat(e.part_group.seed_id, e.id, !0, t) : C9(e.id, !0, null, t);+function Nit(e, t) {+ L5()?.miniplayerTakesCard(e) ? L5().miniplayerPlay(e.id) : e.edition_group ? xat(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? Sat(e.part_group.seed_id, e.id, !0, t) : S9(e.id, !0, null, t);}-async function Mit(e, t) {+async function Pit(e, t) {try {let n = await vt("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});- e.watch_later = n.watch_later, t(!!n.watch_later), $5.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {+ e.watch_later = n.watch_later, t(!!n.watch_later), Q5.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {let n = await vt("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })@@ -93126,10 +93146,10 @@ async function Mit(e, t) {e.watch_later = n.watch_later, t(!!n.watch_later);} });} catch (e) {- $5.actionFailure("更新稍后看", e);+ Q5.actionFailure("更新稍后看", e);}}-async function Nit(e, t) {+async function Fit(e, t) {try {await vt("/api/batch", {method: "POST",@@ -93137,25 +93157,25 @@ async function Nit(e, t) {ids: [e.id],operation: t})- }), await c9();+ }), await s9();let n = t === "restore" ? "dispose" : "restore";- $5.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {+ Q5.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {await vt("/api/batch", {method: "POST",body: JSON.stringify({ids: [e.id],operation: n})- }), await c9();+ }), await s9();} });} catch (e) {- throw $5.actionFailure("操作", e), e;+ throw Q5.actionFailure("操作", e), e;}}-async function Pit(e) {+async function Iit(e) {let t = new URLSearchParams();- if (U7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && H.state && t.set("state", H.state), e.type !== "item") {- let e = l7.activeFilterState();+ if (H7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && H.state && t.set("state", H.state), e.type !== "item") {+ let e = c7.activeFilterState();["loc","creator",@@ -93173,46 +93193,46 @@ async function Pit(e) {e[n] && t.set(n, e[n]);});}- return fnt(t.toString(), X.topsQueryParams(e).toString());+ return mnt(t.toString(), X.topsQueryParams(e).toString());}-function Fit() {+function Lit() {if (scrollY <= 0) return;let e = document.documentElement;e.classList.add("refiltering");let t = () => {e.classList.remove("refiltering"), removeEventListener("scrollend", t);};- Q5.listen.bind(Q5, window)("scrollend", t), Q5.delay(t, 1200), scrollTo({+ Z5.listen.bind(Z5, window)("scrollend", t), Z5.delay(t, 1200), scrollTo({top: 0,behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth"});}-function e9(e) {- f7().type !== "entity" && i9({ tags: Bit(e) }), D9({ filters: { ...e } }), s9();+function $7(e) {+ d7().type !== "entity" && r9({ tags: Hit(e) }), E9({ filters: { ...e } }), o9();}-async function t9(e) {- let t = ++X.facetCountsSeq, [n] = await Pit(e);- t === X.facetCountsSeq && (e.type === "home" && (b9.facets = n), D9({ latest: oat(n, e) }));+async function e9(e) {+ let t = ++X.facetCountsSeq, [n] = await Iit(e);+ t === X.facetCountsSeq && (e.type === "home" && (y9.facets = n), E9({ latest: cat(n, e) }));}-function n9(e) {- Fit();- let t = f7();+function t9(e) {+ Lit();+ let t = d7();if (t.type === "entity") {let n = { ...t.filters };- e(n), p7(t.kind, t.name, n), e9(n), t9(f7());+ e(n), f7(t.kind, t.name, n), $7(n), e9(d7());} else if (t.type === "item") {- let t = l7.cloneBarsContext(nc);- if (x9(!1), kc({ detailReturnBarsContext: null }), t && t.type === "entity") {- e(t.filters), p7(t.kind, t.name, t.filters) ? a9() : kc({ pageOpens: bc + 1 });+ let t = c7.cloneBarsContext(nc);+ if (b9(!1), kc({ detailReturnBarsContext: null }), t && t.type === "entity") {+ e(t.filters), f7(t.kind, t.name, t.filters) ? i9() : kc({ pageOpens: bc + 1 });return;}e(H), kc({ barsContext: {type: "home",filters: H- } }), Q.route(Q7()), F7(), a9();- } else e(H), Ac(), Q.route(Q7()), e9(H), t9(tc);+ } }), Q.route(Z7()), P7(), i9();+ } else e(H), Ac(), Q.route(Z7()), $7(H), e9(tc);}-function Iit() {+function Rit() {return {tiers: null,empty: !1,@@ -93229,90 +93249,90 @@ function Iit() {combo: [],comboHidden: !0,comboHost: I("#combo"),- actions: Lit(),+ actions: zit(),helpers: {- wireDrag: y9,+ wireDrag: v9,wireScroller: (e) => {e && Ao(e);}}};}-function r9() {- X.catalogFilterProps && i9({});+function n9() {+ X.catalogFilterProps && r9({});}-function i9(e) {+function r9(e) {let t = I("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");e = {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || Iit(),+ ...X.catalogFilterProps || Rit(),...e- }, !X.catalogFilterMounting && (F8(t) ? z8(t, e) : (!t.firstChild && !n && (t.innerHTML = Sit(X.catalogViews(), X.catalogFilterProps.state), yo(t)), X.catalogFilterMounting = R8("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (P8(t) ? R8(t, e) : (!t.firstChild && !n && (t.innerHTML = wit(X.catalogViews(), X.catalogFilterProps.state), yo(t)), X.catalogFilterMounting = L8("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0- }).then(() => z8(t, X.catalogFilterProps)).finally(() => {+ }).then(() => R8(t, X.catalogFilterProps)).finally(() => {X.catalogFilterMounting = null;})));}-function Lit() {+function zit() {return {- openEntity: (e, t) => _7(e, t),+ openEntity: (e, t) => g7(e, t),setView: (e) => {- H.state = e, Ac(), i9({ state: e }), Q.route(Q7()), a9();+ H.state = e, Ac(), r9({ state: e }), Q.route(Z7()), i9();},- toggleTag: (e) => o9(e),- clearFilter: (e) => n9((t) => {+ toggleTag: (e) => a9(e),+ clearFilter: (e) => t9((t) => {t[e] = "";}),- clearAll: () => n9((e) => {+ clearAll: () => t9((e) => {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {let t = Bw(e, H.sort, H.dir);- t && (H.sort = t.sort, H.dir = t.dir, Ac(), _9());+ t && (H.sort = t.sort, H.dir = t.dir, Ac(), g9());},- reshuffle: () => sat(),+ reshuffle: () => lat(),setLayout: (e) => {- U7() ? fit(e) : dit(e);+ H7() ? mit(e) : pit(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await pnt(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];- return e === "performers" ? n.map(Vit) : n.map(Hit);+ let n = (await hnt(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ return e === "performers" ? n.map(Uit) : n.map(Wit);}};}-function Rit() {- return U7() ? {+function Bit() {+ return H7() ? {name: "jav-layout",label: "JAV 卡片版式",value: yT(),options: mT- } : W7() ? {+ } : U7() ? {name: "home-layout",label: "首页卡片版式",- value: G7(),+ value: W7(),options: mT} : null;}-function zit() {+function Vit() {return {- sorts: trt(H.sort, H.dir),- layout: Rit(),+ sorts: rrt(H.sort, H.dir),+ layout: Bit(),state: H.state || "",trash: H.state === "trash"};}-function Bit(e) {+function Hit(e) {return X.catalogTagRows.map((t) => ({...t,selected: X.tagPressed(e.tag, t.k)}));}-function Vit(e) {+function Uit(e) {return {name: e.k,ringHtml: `<span data-tier-initial>${R(qt(e.k))}</span>${Qi({@@ -93326,85 +93346,85 @@ function Vit(e) {})}`};}-function Hit(e) {+function Wit(e) {return {name: e.k,fallback: Kt(e.k, 2),logo: e.has_logo ? Yi(e.k, "icon", e.logo_version) : ""};}-function Uit(e) {- X.catalogFilterProps?.tiers || (X.barsRendered = "", i9({+function Git(e) {+ X.catalogFilterProps?.tiers || (X.barsRendered = "", r9({tiers: null,state: e.state || ""}));}-async function a9() {+async function i9() {let e = ++X.barsRequestSeq;- if (D9(), !Qs(location.pathname) || tc.type === "item") return;- let t = f7(), n = l7.activeFilterState(), r = JSON.stringify([+ if (E9(), !Qs(location.pathname) || tc.type === "item") return;+ let t = d7(), n = c7.activeFilterState(), r = JSON.stringify([t,n,H.state || "",H.seed || "",- U7()+ H7()]);- Uit(n);- let [i, a] = await Pit(t);+ Git(n);+ let [i, a] = await Iit(t);if (e !== X.barsRequestSeq) return;let o = r + "\n" + JSON.stringify([i, a]);if (o === X.barsRendered) {- M7.sidebarCatalog && D9({- content: M7.sidebarCatalog,+ j7.sidebarCatalog && E9({+ content: j7.sidebarCatalog,filters: { ...n }});return;}- X.barsRendered = o, t.type === "home" && (b9.facets = i);+ X.barsRendered = o, t.type === "home" && (y9.facets = i);let s = i.tags || [];Ii(a.performers), Ii(a.studios);- let c = t.type === "home" && !U7() && !H.state && !H.q && !i.locations.some((e) => e.n > 0);+ let c = t.type === "home" && !H7() && !H.state && !H.q && !i.locations.some((e) => e.n > 0);X.catalogTopsPages = {context: t,performers: 0,studios: 0};- let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = $5.seededSample(f, X.TAGS_FIRST, `tags:${H.seed || ""}`), m = new Set(p.map((e) => e.k));+ let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = Q5.seededSample(f, X.TAGS_FIRST, `tags:${H.seed || ""}`), m = new Set(p.map((e) => e.k));X.catalogTagRows = d.concat(p, f.filter((e) => !m.has(e.k))).map((e) => ({k: e.k,label: Ks(e.k),n: e.n ?? null- })), i9({+ })), r9({tiers: {key: String(X.barsRequestSeq),- performers: a.performers.map(Vit),- studios: a.studios.map(Hit)+ performers: a.performers.map(Uit),+ studios: a.studios.map(Wit)},empty: c,- tags: Bit(n),+ tags: Hit(n),tagFirst: d.length + p.length,views: X.catalogViews(),state: n.state || ""- }), s9(), M7.sidebarCatalog = {+ }), o9(), j7.sidebarCatalog = {kind: "catalog",- key: String(++M7.sidebarContentSeq),- facets: oat(i, t)- }, D9({- content: M7.sidebarCatalog,+ key: String(++j7.sidebarContentSeq),+ facets: cat(i, t)+ }, E9({+ content: j7.sidebarCatalog,filters: { ...n },latest: null});}-function Wit(e, t) {- b9.total = e, H.state === "trash" && (b7.trashCount = {- total: b9.total,+function Kit(e, t) {+ y9.total = e, H.state === "trash" && (y7.trashCount = {+ total: y9.total,shown: t- }), z7(), i9({ count: {- total: b9.total,+ }), R7(), r9({ count: {+ total: y9.total,shown: t} });}-function Git() {+function qit() {return rs({title: "清空回收站",body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",@@ -93414,19 +93434,19 @@ function Git() {try {let e = await vt("/api/trash/empty", { method: "POST" });if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- $5.actionReceipt(`已永久删除 ${e.purged} 项`);+ Q5.actionReceipt(`已永久删除 ${e.purged} 项`);} finally {- await c9();+ await s9();}}});}-function o9(e) {- n9((t) => {+function a9(e) {+ t9((t) => {t.tag = e ? X.withTagToggled(t.tag, e) : "";});}-function Kit(e) {+function Jit(e) {let t = [];return e.creator && t.push({kind: "clear",@@ -93446,16 +93466,16 @@ function Kit(e) {label: Ks(e)})), t;}-function s9() {- i9({- combo: Kit(H),+function o9() {+ r9({+ combo: Jit(H),comboHidden: !X.catalogOnScreen()});}-async function c9() {+async function s9() {let e = Q.claimSurface(Q.surfacePath());- if (Jnt(location.pathname) && !F8(I("#libraryProcessingNotice")) && R8("library-processing", {- toast: $5.toast,+ if (Xnt(location.pathname) && !P8(I("#libraryProcessingNotice")) && L8("library-processing", {+ toast: Q5.toast,mode: "notice"}, {container: I("#libraryProcessingNotice"),@@ -93466,113 +93486,113 @@ async function c9() {filters: H},detailReturnBarsContext: null- }), x9(!1), H.state === "ads") return $it(e);- if (X.controller.page === "/junk-files" && l9(), k7(), F7(), s7(location.pathname)) {- if (await O7.entityShapesReady, !Q.surfaceCurrent(e)) return;- Ynt();- } else c7();- return s9(), I("#count").classList.remove("manage-static", "junkcount"), Jit(e);-}-function qit(e) {+ }), b9(!1), H.state === "ads") return tat(e);+ if (X.controller.page === "/junk-files" && c9(), O7(), P7(), o7(location.pathname)) {+ if (await D7.entityShapesReady, !Q.surfaceCurrent(e)) return;+ Znt();+ } else s7();+ return o9(), I("#count").classList.remove("manage-static", "junkcount"), Xit(e);+}+function Yit(e) {X.controller.settle(e);}-function l9() {+function c9() {let e = I("#grid");- Hs(e), B8(e), X.controller.clear(), e.innerHTML = "";+ Hs(e), z8(e), X.controller.clear(), e.innerHTML = "";}-function Jit(e) {- return Xit("/", Qit, e, { place: Hat });+function Xit(e) {+ return Qit("/", eat, e, { place: Wat });}-function Yit(e) {- return Xit("/junk-files", tat, e);+function Zit(e) {+ return Qit("/junk-files", rat, e);}-function u9() {- return !!P8(I("#grid"));+function l9() {+ return !!N8(I("#grid"));}-function d9() {- return X.controller.taken(u9());+function u9() {+ return X.controller.taken(l9());}-function f9(e) {- z8(I("#grid"), e);+function d9(e) {+ R8(I("#grid"), e);}-function Xit(e, t, n, r = {}) {+function Qit(e, t, n, r = {}) {let i = I("#grid");- X.controller.page && X.controller.page !== e && l9();- let a = X.controller.begin(e, u9()), o = t();- if (!a.mount) return f9(o), a.settled;+ X.controller.page && X.controller.page !== e && c9();+ let a = X.controller.begin(e, l9()), o = t();+ if (!a.mount) return d9(o), a.settled;Hs(i);- let s = () => B8(i);- return a.signal.addEventListener("abort", s, { once: !0 }), R8(e, o, {+ let s = () => z8(i);+ return a.signal.addEventListener("abort", s, { once: !0 }), L8(e, o, {...r,container: i,isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()}).catch((e) => console.error(e)).finally(() => {- a.signal.removeEventListener("abort", s), a.finish(u9());+ a.signal.removeEventListener("abort", s), a.finish(l9());}), a.settled;}-function p9() {- let e = W7();+function f9() {+ let e = U7();return Jse({- active: U7() || e,+ active: H7() || e,home: e,portrait: H.orient === "竖屏"});}-function m9(e = "正在读取作品") {- return l5(e, {+function p9(e = "正在读取作品") {+ return c5(e, {cards: !0,className: "catalog-skeleton postercard-skeleton",- cardRatio: Zit()+ cardRatio: $it()});}-function Zit() {- return H ? ET(p9()) : 16 / 9;+function $it() {+ return H ? ET(f9()) : 16 / 9;}-function h9() {- d9() && (Hs(I("#grid")), f9({- layout: p9(),+function m9() {+ u9() && (Hs(I("#grid")), d9({+ layout: f9(),seekSeconds: Z.appSettings.seekSeconds- })), l7.entityPageCurrent() && (Hs(I("#index [data-entity-hero]")), d7({- layout: p9(),+ })), c7.entityPageCurrent() && (Hs(I("#index [data-entity-hero]")), u7({+ layout: f9(),seekSeconds: Z.appSettings.seekSeconds}));}-function Qit() {+function eat() {let e = wt(decodeURIComponent(location.pathname)), t = H.state === "trash";return {mode: "catalog",helpers: X.gridHelpers,actions: X.gridActions,- layout: p9(),+ layout: f9(),selectMode: ac,selected: new Set(rc),seekSeconds: Z.appSettings.seekSeconds,revision: X.controller.revision,- wireDrag: y9,- settled: qit,- skeletonHtml: () => m9(),+ wireDrag: v9,+ settled: Yit,+ skeletonHtml: () => p9(),filters: { ...H },batchSize: Z.appSettings.batchSize,groupCollapse: Z.appSettings.groupCollapse,excludeVertical: e && !H.q && !H.orient || H.jav === "1",mix: e && !t,- shorts: e && !U7() && H.orient !== "竖屏" && !t,+ shorts: e && !H7() && H.orient !== "竖屏" && !t,countRow: I("#count"),- onCount: Wit,- onCountFailed: () => i9({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : Tit({- jav: U7() && !t,+ onCount: Kit,+ onCountFailed: () => r9({ count: !1 }),+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : Dit({+ jav: H7() && !t,configurable: vc,filtered: !t}),canLoadMore: () => I("#stats").hidden && I("#index").hidden};}-function $it(e) {+function tat(e) {let t = I("#count");- return X.controller.page === "/junk-files" && u9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (l9(), k7("正在读取垃圾文件")), F7(), s9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Yit(e);+ return X.controller.page === "/junk-files" && l9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (c9(), O7("正在读取垃圾文件")), P7(), o9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Zit(e);}-async function eat(e, t) {+async function nat(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await vt("/api/batch", {@@ -93581,24 +93601,24 @@ async function eat(e, t) {ids: n,operation: t})- }), await c9();+ }), await s9();let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";- $5.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {+ Q5.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {await vt("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: e})- }), await c9();+ }), await s9();} });} catch (e) {- throw $5.actionFailure("操作", e), e;+ throw Q5.actionFailure("操作", e), e;}}-function tat() {+function rat() {return {- ...gR(location.search),+ ...hR(location.search),helpers: X.junkQueueHelpers,actions: X.junkQueueActions,batchSize: Z.appSettings.batchSize,@@ -93606,16 +93626,16 @@ function tat() {selectMode: ac,selected: new Set(rc),countRow: I("#count"),- settled: qit,- skeletonHtml: () => l5("正在读取垃圾文件", {+ settled: Yit,+ skeletonHtml: () => c5("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),canLoadMore: () => I("#stats").hidden && I("#index").hidden};}-function nat() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => tnt(e, t, Z.appSettings, n), kc(ont(nnt(location, Z.appSettings, $5.rollSeed))), X.searchValueSnapshot = {+function iat() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => rnt(e, t, Z.appSettings, n), kc(cnt(int(location, Z.appSettings, Q5.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = I("#q")) => {@@ -93636,42 +93656,42 @@ function nat() {};};}-function rat() {+function aat() {X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = H.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {let n = X.tagList(e), r = n.indexOf(t);return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");}, X.gridHelpers = {badgeHtml: (e, t) => Z.srcBadge(e, t),- titleHtml: (e, t) => eO(e, t),- displayName: (e, t) => $D(e, t),+ titleHtml: (e, t) => $D(e, t),+ displayName: (e, t) => QD(e, t),tagLabel: (e) => Ks(e)}, X.gridActions = {- open: (e, t) => jit(e, t),- openResource: (e, t) => R5()?.miniplayerTakesCard(e) ? R5().miniplayerPlay(e.id) : kit(e, t),- openShort: (e) => R5()?.miniplayerTakesCard(e) ? R5().miniplayerPlay(e.id) : w9(e.id),- openShorts: () => w9(),- openMix: (e, t) => vat(e, e, !0, t),- openEntity: (e, t) => _7(e, t),- openUnowned: () => $7({ owner: "none" }, !0),+ open: (e, t) => Nit(e, t),+ openResource: (e, t) => L5()?.miniplayerTakesCard(e) ? L5().miniplayerPlay(e.id) : jit(e, t),+ openShort: (e) => L5()?.miniplayerTakesCard(e) ? L5().miniplayerPlay(e.id) : C9(e.id),+ openShorts: () => C9(),+ openMix: (e, t) => bat(e, e, !0, t),+ openEntity: (e, t) => g7(e, t),+ openUnowned: () => Q7({ owner: "none" }, !0),toggleTag: (e) => {- n9((t) => {+ t9((t) => {t.tag = X.tagPressed(t.tag, e) ? "" : e;}), window.scrollTo({top: 0,behavior: "smooth"});},- toggleSelection: (e, t) => C7(e, t),- watchLater: (e, t) => Mit(e, t),- resourceOperation: (e, t) => Nit(e, t),- mixRelated: (e) => Ait(e),- canFlip: () => !ac && !v9() && !window.__scrolling && !X.reduceMotion()+ toggleSelection: (e, t) => S7(e, t),+ watchLater: (e, t) => Pit(e, t),+ resourceOperation: (e, t) => Fit(e, t),+ mixRelated: (e) => Mit(e),+ canFlip: () => !ac && !_9() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {let n = new URLSearchParams({n: "60",seed: H.seed || ""});- return t && n.set("page", String(t)), U7() && n.set("jav", "1"), e.type === "home" && H.state && n.set("state", H.state), n;+ return t && n.set("page", String(t)), H7() && n.set("jav", "1"), e.type === "home" && H.state && n.set("state", H.state), n;}, X.facetCountsSeq = 0, X.VIEW_PILLS = [{k: "",@@ -93692,38 +93712,38 @@ function rat() {], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({...e,href: e.k ? xt[e.k] : "/"- })), X.TAGS_FIRST = 26, Q5.listen(I("#catalogFilter"), "click", (e) => {+ })), X.TAGS_FIRST = 26, Z5.listen(I("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");- t && !e.defaultPrevented && (e.preventDefault(), Lit().setView(t.dataset.catalogView));+ t && !e.defaultPrevented && (e.preventDefault(), zit().setView(t.dataset.catalogView));}), X.catalogOnScreen = () => I("#index").hidden && I("#stats").hidden, X.COMBO_LABELS = {creator: "创作者",studio: "厂牌",owner: "归属"}, X.hideCatalogCombo = () => {- X.catalogFilterProps && i9({ comboHidden: !0 });+ X.catalogFilterProps && r9({ comboHidden: !0 });};}-function iat() {+function oat() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {- ac && S7(!1, !0), Q.route(e);+ ac && x7(!1, !0), Q.route(e);},- toggleSelection: (e, t) => C7(e, t),- open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : C9(e.id, !0, null, t),+ toggleSelection: (e, t) => S7(e, t),+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : S9(e.id, !0, null, t),reveal: async (e) => {try {return await vt("/api/reveal", {method: "POST",body: JSON.stringify({ id: e.id })- }), $5.toast({ text: "已在资源管理器中显示" }), "";+ }), Q5.toast({ text: "已在资源管理器中显示" }), "";} catch (e) {- return l7.sourceHint(e.message);+ return c7.sourceHint(e.message);}},- operate: (e, t) => eat(e, t)+ operate: (e, t) => nat(e, t)};}-X.controller = new snt();+X.controller = new lnt();//#endregion//#region src/application/preferences.jsvar Z = {@@ -93747,8 +93767,8 @@ var Z = {emptyState: void 0,CENSOR_KEY: void 0};-async function g9() {- let e = Q5;+async function h9() {+ let e = Z5;try {let t = await gn(e.signal);if (!e.isActive) return Z.sourceOnline;@@ -93757,18 +93777,18 @@ async function g9() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), Eit(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), Oit(), Z.sourceOnline;}-function _9() {+function g9() {let e = Q.surfacePath();- if (!wt(e) || e === "/junk-files") return c9();+ if (!wt(e) || e === "/junk-files") return s9();let t = Z.nextCatalogLoad();- return Y8(Q7(), {+ return J8(Z7(), {replace: !0,- state: J8.navigation.location.state+ state: q8.navigation.location.state}), t;}-function aat(e) {+function sat(e) {return e === "local" ? {kind: "glyph",name: "hard-drive"@@ -93783,7 +93803,7 @@ function aat(e) {cost: "free"};}-function oat(e, t) {+function cat(e, t) {let n = (e, t = (e) => e.label || Ks(e.k)) => (e || []).map((e) => ({value: String(e.k),label: t(e),@@ -93794,7 +93814,7 @@ function oat(e, t) {value: e.k,label: Yt[e.k] || e.k,n: e.n ?? null,- dot: aat(e.k),+ dot: sat(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -93806,24 +93826,24 @@ function oat(e, t) {duration: !!e.stats?.duration};}-async function sat(e = !1) {- if (e && (document.hidden || !wt(decodeURIComponent(location.pathname)) || b9.stageOpen() || b9.immerseOpen() || ac || rc.size || document.activeElement === I("#q"))) return !1;+async function lat(e = !1) {+ if (e && (document.hidden || !wt(decodeURIComponent(location.pathname)) || y9.stageOpen() || y9.immerseOpen() || ac || rc.size || document.activeElement === I("#q"))) return !1;if (!I("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;if (t === "skip") return;if (e === "/playlists") {- brt();+ Srt();return;}let n = t === "reopen" ? e : "/stats";- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, J8.navigation.location.state) : Q.navigatePath(n);+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, q8.navigation.location.state) : Q.navigatePath(n);} else if (I("#index").hidden) {- H.sort = "seed", H.dir = "", H.seed = $5.rollSeed(), Ac(), n7(), i9({ refreshing: !0 });+ H.sort = "seed", H.dir = "", H.seed = Q5.rollSeed(), Ac(), t7(), r9({ refreshing: !0 });try {- let e = _9();- await null, await Promise.all([e, a9()]);+ let e = g9();+ await null, await Promise.all([e, i9()]);} finally {- i9({ refreshing: !1 });+ r9({ refreshing: !1 });}return e || window.scrollTo({top: 0,@@ -93831,29 +93851,29 @@ async function sat(e = !1) {}), !0;}}-function v9() {+function _9() {return document.body.classList.contains("censor");}-function cat(e) {+function uat(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function lat(e) {- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), cat(e), e && Hs();+function dat(e) {+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), uat(e), e && Hs();}-function uat(e) {+function fat(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}-function y9(e) {+function v9(e) {return Ao(e, { drag: !0 });}-function dat() {- ["#nrow", "#count"].forEach((e) => y9(I(e))), document.querySelectorAll(".tier,.srow").forEach(y9);+function pat() {+ ["#nrow", "#count"].forEach((e) => v9(I(e))), document.querySelectorAll(".tier,.srow").forEach(v9);}-function fat() {+function mat() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function pat() {+function hat() {Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "脱盘模式:这个来源当前没有挂载", Z.OFFLINE_REASON = {local: "本地硬盘没有挂载,接上后点重新检测即可播放。",115: "115 网盘没有挂载,检查 CloudDrive 是否在运行。",@@ -93868,30 +93888,30 @@ function pat() {FT(), IT();},batchSize: () => {- location.pathname === "/" && c9();+ location.pathname === "/" && s9();},defaultSort: () => {- H.sort = Z.appSettings.defaultSort, H.dir = Vw(H.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ac(), location.pathname === "/" && _9();+ H.sort = Z.appSettings.defaultSort, H.dir = Vw(H.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ac(), location.pathname === "/" && g9();},sortDirection: () => {- H.dir = Vw(H.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ac(), location.pathname === "/" && _9();+ H.dir = Vw(H.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ac(), location.pathname === "/" && g9();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {Ws(e, "previewing", !1), Ws(e, "longhover", !1);}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);},- seekSeconds: () => h9(),- groupCollapse: () => hit(),- feedAutoScroll: () => Znt(),- feedCompilations: () => Xnt(),+ seekSeconds: () => m9(),+ groupCollapse: () => _it(),+ feedAutoScroll: () => $nt(),+ feedCompilations: () => Qnt(),miniplayer: () => {- Z.appSettings.miniplayer || R5()?.closeMiniplayer();+ Z.appSettings.miniplayer || L5()?.closeMiniplayer();},javImage: () => {- Wi(document, Z.appSettings.javImage), h9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Ss), _at();+ Wi(document, Z.appSettings.javImage), m9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Ss), yat();},- searchHistoryLimit: () => z8(I("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })+ searchHistoryLimit: () => R8(I("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {local: L("hard-drive"),115: `<img class="source-icon" src="${Ua[115]}" alt="">`,@@ -93902,12 +93922,12 @@ function pat() {return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${R(r)}" aria-label="${R(r)}">` + (Z.SRCICON[e] || "") + "</span>";}, Z.emptyState = Qa;}-function mat() {- Z.CENSOR_KEY = "peach-censor", cat(localStorage.getItem(Z.CENSOR_KEY) === "1");+function gat() {+ Z.CENSOR_KEY = "peach-censor", uat(localStorage.getItem(Z.CENSOR_KEY) === "1");}//#endregion//#region src/application/media.js-var b9 = {+var y9 = {total: void 0,facets: void 0,stageHost: void 0,@@ -93919,18 +93939,18 @@ var b9 = {immerseOpen: void 0,requestedImmerseId: void 0};-function hat() {+function _at() {let e = Number(new URLSearchParams(location.search).get("t"));return Number.isFinite(e) && e > 0 ? {time: e,autoplay: !1} : null;}-function gat() {- return R5()?.exit() || Promise.resolve();+function vat() {+ return L5()?.exit() || Promise.resolve();}-function x9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {- Q.queueOpenRequest !== r && k9(), R5()?.dispose({ miniplayer: n }), kc({+function b9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {+ Q.queueOpenRequest !== r && O9(), L5()?.dispose({ miniplayer: n }), kc({activeQueue: null,pendingQueueRoute: null,presentedItem: null@@ -93938,15 +93958,15 @@ function x9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailOriginAnchor: null,detailOriginAbove: !1,detailReturnNeedsRestore: !1- }), X7(), e && Q.route(lc || "/");+ }), Y7(), e && Q.route(lc || "/");}-function _at() {- R5()?.repaintPoster();+function yat() {+ L5()?.repaintPoster();}-function S9(e, t, n, r, i = null, a = {}) {+function x9(e, t, n, r, i = null, a = {}) {t = +t;let o = pc?.kind === e && (e === "playlist" ? pc.playlistId : pc.seedId) === t;- r && !o && kc({ detailReturnPath: location.pathname + location.search }), r && E8();+ r && !o && kc({ detailReturnPath: location.pathname + location.search }), r && T8();let s = e === "playlist" ? {kind: e,playlistId: t,@@ -93957,38 +93977,38 @@ function S9(e, t, n, r, i = null, a = {}) {fresh: !o};if (a.autoplay && (s.autoplay = !0), r) {- k9();+ O9();let e = Q.queueOpenRequest = {- seq: J8.navigation.seq,+ seq: q8.navigation.seq,cancelled: !1};- Q.requestedQueue = () => C9(n == null ? null : +n, !1, s, i, !0, e), kc({ queueOpens: xc + 1 });- } else return C9(n == null ? null : +n, !1, s, i, r);+ Q.requestedQueue = () => S9(n == null ? null : +n, !1, s, i, !0, e), kc({ queueOpens: xc + 1 });+ } else return S9(n == null ? null : +n, !1, s, i, r);}-function vat(e, t = e, n = !0, r = null) {- return S9("mix", e, t, n, r);+function bat(e, t = e, n = !0, r = null) {+ return x9("mix", e, t, n, r);}-function yat(e, t = e, n = !0, r = null) {- return S9("editions", e, t, n, r);+function xat(e, t = e, n = !0, r = null) {+ return x9("editions", e, t, n, r);}-function bat(e, t = e, n = !0, r = null) {- return S9("parts", e, t, n, r);+function Sat(e, t = e, n = !0, r = null) {+ return x9("parts", e, t, n, r);}-function xat(e, t = null, n = !0) {- return S9("playlist", e, t, n);+function Cat(e, t = null, n = !0) {+ return x9("playlist", e, t, n);}-function Sat() {+function wat() {return !!I("#grid").querySelector("[data-id],[data-mix-seed]") || !I("#index").hidden || !I("#stats").hidden;}-async function C9(e, t = !0, n = null, r = null, i = !1, a = null) {+async function S9(e, t = !0, n = null, r = null, i = !1, a = null) {if (a?.cancelled) return;- if (a || k9(), t && !n) {- kc({ detailReturnPath: location.pathname + location.search }), kat("/item/" + +e, "item", () => C9(e, !1, null, r));+ if (a || O9(), t && !n) {+ kc({ detailReturnPath: location.pathname + location.search }), jat("/item/" + +e, "item", () => S9(e, !1, null, r));return;}Hs(), e = e == null ? null : +e;- let o = r?.isConnected ? r : uc?.isConnected ? uc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : dc, c = Sat(), l = fc || !t && !c, u = tc.type === "item" ? nc : l7.cloneBarsContext(f7());- t ? kc({ detailReturnPath: location.pathname + location.search }) : i || kc({ detailReturnPath: r9e() || lc }), t && E8(), R5()?.showing() !== "item" && x9(!1, !0, {+ let o = r?.isConnected ? r : uc?.isConnected ? uc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : dc, c = wat(), l = fc || !t && !c, u = tc.type === "item" ? nc : c7.cloneBarsContext(d7());+ t ? kc({ detailReturnPath: location.pathname + location.search }) : i || kc({ detailReturnPath: a9e() || lc }), t && T8(), L5()?.showing() !== "item" && b9(!1, !0, {miniplayer: !1,preserveQueueRequest: a}), kc({@@ -93999,151 +94019,151 @@ async function C9(e, t = !0, n = null, r = null, i = !1, a = null) {kind: n.kind,seedId: n.seedId,playlistId: n.playlistId- } }), kc({ pendingQueueRoute: n && i ? `${b9.QUEUE_ROUTES[n.kind]}/${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/item/" + e, !1, O8("item"));- let d = await Btt(b9.stageHost);+ } }), kc({ pendingQueueRoute: n && i ? `${y9.QUEUE_ROUTES[n.kind]}/${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/item/" + e, !1, D8("item"));+ let d = await Htt(y9.stageHost);if (a?.cancelled) return;let f = a ? {- ...b9.itemDetailActions,+ ...y9.itemDetailActions,present: (e, t) => {- a.cancelled || b9.itemDetailActions.present(e, t);+ a.cancelled || y9.itemDetailActions.present(e, t);},redirect: (e) => {- a.cancelled || b9.itemDetailActions.redirect(e);+ a.cancelled || y9.itemDetailActions.redirect(e);}- } : b9.itemDetailActions;+ } : y9.itemDetailActions;await d.open({kind: "item",id: e,queue: n,relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,- helpers: b9.itemDetailHelpers,+ helpers: y9.itemDetailHelpers,actions: f,grid: {helpers: X.gridHelpers,actions: X.gridActions},- layout: p9(),+ layout: f9(),selectMode: ac,selected: new Set(rc),seekSeconds: Z.appSettings.seekSeconds,- resume: t || e == null ? null : hat()- }), X7();+ resume: t || e == null ? null : _at()+ }), Y7();}-async function Cat() {- let e = l7.cloneBarsContext(nc), t = lc || "/", n = fc;- await gat(), x9(!1, !1, { miniplayer: !1 }), kc({ detailReturnBarsContext: null }), D8(), kc({ barsContext: e || {+async function Tat() {+ let e = c7.cloneBarsContext(nc), t = lc || "/", n = fc;+ await vat(), b9(!1, !1, { miniplayer: !1 }), kc({ detailReturnBarsContext: null }), E8(), kc({ barsContext: e || {type: "home",filters: H- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? kc({ pageOpens: bc + 1 }) : (a9(), location.pathname === "/playlists" && kc({ pageOpens: bc + 1 })));+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? kc({ pageOpens: bc + 1 }) : (i9(), location.pathname === "/playlists" && kc({ pageOpens: bc + 1 })));}-async function w9(e = null, t = !0) {- t ? (b9.requestedImmerseId = e, Q.route("/immerse")) : (R5()?.closeMiniplayer(), await (await Vtt(b9.immerseHost)).open(e));+async function C9(e = null, t = !0) {+ t ? (y9.requestedImmerseId = e, Q.route("/immerse")) : (L5()?.closeMiniplayer(), await (await Utt(y9.immerseHost)).open(e));}-function wat() {- b9.total = 0, b9.facets = null, b9.stageHost = {+function Eat() {+ y9.total = 0, y9.facets = null, y9.stageHost = {player: {settings: () => Z.appSettings,saveSettings: () => Z.saveSettings(),- toast: (e, t) => $5.toast({ text: e }, t),- loadSourceStatus: () => g9(),+ toast: (e, t) => Q5.toast({ text: e }, t),+ loadSourceStatus: () => h9(),offlineReason: (e) => Z.offlineReason(e)},sourceOffline: (e) => Z.sourceOffline(e),expand: (e, t, n) => {- e === "follow" ? R9(t, !0, n) : C9(t, !0);+ e === "follow" ? L9(t, !0, n) : S9(t, !0);},- openItem: (e) => void C9(e)- }, b9.stageOpen = () => !!R5()?.isOpen();+ openItem: (e) => void S9(e)+ }, y9.stageOpen = () => !!L5()?.isOpen();}-function Tat() {- b9.QUEUE_ROUTES = {+function Dat() {+ y9.QUEUE_ROUTES = {mix: "/mix",parts: "/parts",editions: "/editions",playlist: "/playlists"- }, b9.itemDetailHelpers = {+ }, y9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => eO(e),- displayName: (e) => $D(e),+ titleHtml: (e) => $D(e),+ displayName: (e) => QD(e),javImage: () => Z.appSettings.javImage,tagLabel: (e) => Ks(e),isDurationTag: (e) => Qt.has(e),- tagCandidates: () => b9.facets && b9.facets.tags || [],+ tagCandidates: () => y9.facets && y9.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),- relatedSkeletonHtml: () => l5("正在读取推荐", {+ relatedSkeletonHtml: () => c5("正在读取推荐", {cards: !0,className: "related-skeleton"}),- mixRelated: (e) => Ait(e),- wireDrag: (e) => y9(e),+ mixRelated: (e) => Mit(e),+ wireDrag: (e) => v9(e),wireDragReorder: (e, t) => $o(e, t)- }, b9.itemDetailActions = {- close: () => Cat(),+ }, y9.itemDetailActions = {+ close: () => Tat(),present: (e) => {kc({ presentedItem: e });let t = nc;kc({ barsContext: {type: "item",id: e.id,- filters: t?.type === "entity" ? { ...t.filters } : l7.emptyEntityFilters()- } }), mc && (Q.queueOpenRequest = null, Q.route(`${mc}/${e.id}`, !1, O8("item")), kc({ pendingQueueRoute: null })), a9();+ filters: t?.type === "entity" ? { ...t.filters } : c7.emptyEntityFilters()+ } }), mc && (Q.queueOpenRequest = null, Q.route(`${mc}/${e.id}`, !1, D8("item")), kc({ pendingQueueRoute: null })), i9();},redirect: (e) => {let t = !!mc;- e.kind === "follow" && !t && p9e("follow"), e.kind === "follow" ? (kc({ followDetailReturnPath: lc || "/" }), R9(e.id, !1, null, !0)) : e.kind === "item" ? C9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : brt() : x9(!1);+ e.kind === "follow" && !t && h9e("follow"), e.kind === "follow" ? (kc({ followDetailReturnPath: lc || "/" }), L9(e.id, !1, null, !0)) : e.kind === "item" ? S9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? A9("/playlists") : Srt() : b9(!1);},- openQueueItem: (e, t, n = !0) => void S9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),+ openQueueItem: (e, t, n = !0) => void x9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {let e = hc;if (!e) return;let t = pc;- t ? S9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : C9(e.id, !1);+ t ? x9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : S9(e.id, !1);},- checkSource: async (e) => (await g9())[e] !== !1,+ checkSource: async (e) => (await h9())[e] !== !1,openSavedFollow: () => {- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", j9(M9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", A9(j9());},- openEntity: (e, t) => _7(e, t),- openUnowned: () => $7({ owner: "none" }, !0),- openRegion: (e) => $7({ region: e || "none" }, !0),+ openEntity: (e, t) => g7(e, t),+ openUnowned: () => Q7({ owner: "none" }, !0),+ openRegion: (e) => Q7({ region: e || "none" }, !0),openTag: (e) => {- n9((t) => {+ t9((t) => {t.tag = e;}), window.scrollTo({top: 0,behavior: "smooth"});},- addToPlaylist: (e) => yrt(e),- saveMix: (e) => vrt(e),- editPlaylist: () => j9("/playlists"),- openPlaylists: () => j9("/playlists"),- reveal: (e) => art(e),- sync: (e) => ort(e),+ addToPlaylist: (e) => xrt(e),+ saveMix: (e) => brt(e),+ editPlaylist: () => A9("/playlists"),+ openPlaylists: () => A9("/playlists"),+ reveal: (e) => srt(e),+ sync: (e) => crt(e),trashChanged: async (e, t) => {- H.state === "ads" && (t || e === "trash") && (t || (D8(), x9(!0, !1, { miniplayer: !1 })), await c9());+ H.state === "ads" && (t || e === "trash") && (t || (E8(), b9(!0, !1, { miniplayer: !1 })), await s9());},- toast: (e, { undo: t } = {}) => $5.actionReceipt(e, { undo: t }),- failure: (e, t) => $5.actionFailure(e, t)- }, b9.immerseHost = {+ toast: (e, { undo: t } = {}) => Q5.actionReceipt(e, { undo: t }),+ failure: (e, t) => Q5.actionFailure(e, t)+ }, y9.immerseHost = {filters: () => H,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => $D(e),+ displayName: (e) => QD(e),route: (e) => Q.route("/immerse?id=" + e, !0),- closed: () => $7(),- openItem: (e) => void C9(e),- openEntity: (e, t) => _7(e, t),- openUnowned: () => $7({ owner: "none" }, !0),- toast: (e, { undo: t } = {}) => $5.actionReceipt(e, { undo: t }),- warn: (e) => $5.toast({ text: e }, { sound: "warning" }),- failure: (e, t) => $5.actionFailure(e, t)- }, b9.immerseOpen = () => !!V5()?.isOpen(), Q5.handler(I("#immerseBtn"), "onclick", () => w9());+ closed: () => Q7(),+ openItem: (e) => void S9(e),+ openEntity: (e, t) => g7(e, t),+ openUnowned: () => Q7({ owner: "none" }, !0),+ toast: (e, { undo: t } = {}) => Q5.actionReceipt(e, { undo: t }),+ warn: (e) => Q5.toast({ text: e }, { sound: "warning" }),+ failure: (e, t) => Q5.actionFailure(e, t)+ }, y9.immerseOpen = () => !!B5()?.isOpen(), Z5.handler(I("#immerseBtn"), "onclick", () => C9());}//#endregion//#region src/application/tutorial.js-var T9 = {+var w9 = {postSetupTutorialDone: void 0,postSetupTutorialNeedsReopen: void 0,postSetupTutorialTasks: void 0,@@ -94152,29 +94172,29 @@ var T9 = {readPostSetupTutorialDone: void 0,openTutorialTarget: void 0};-async function Eat() {- ys(), await T9.writePostSetupTutorialDone(!1), await E9();+async function Oat() {+ ys(), await w9.writePostSetupTutorialDone(!1), await T9();}-async function E9() {+async function T9() {let e = I("#postSetupTutorial");if (!e) return;let t = () => {e.hidden = !0, e.innerHTML = "", delete e.dataset.tutorialSignature, e.removeAttribute("aria-busy");};- if (T9.postSetupTutorialNeedsReopen && (T9.postSetupTutorialNeedsReopen = !1, await T9.writePostSetupTutorialDone(!1).catch(() => {})), ls() !== "pending" || await T9.readPostSetupTutorialDone()) {+ if (w9.postSetupTutorialNeedsReopen && (w9.postSetupTutorialNeedsReopen = !1, await w9.writePostSetupTutorialDone(!1).catch(() => {})), ls() !== "pending" || await w9.readPostSetupTutorialDone()) {t();return;}let n = _s();e.hidden = !1, e.setAttribute("aria-busy", "true"), e.firstElementChild || (e.innerHTML = `<article class="post-setup-notification post-setup-loading">${L("compass")}<p>正在检查安装进度…</p></article>`);try {- let r = await T9.postSetupTutorialTasks();+ let r = await w9.postSetupTutorialTasks();if (!vs(n)) return;let i = new Set(r.map((e) => e.key)), a = new Set([...ps()].filter((e) => i.has(e)));ms(a);let o = r.filter((e) => !a.has(e.key)), s = o.filter((e) => !e.done);if (!s.length) {- us("complete"), t(), await T9.writePostSetupTutorialDone(!0).catch(() => {});+ us("complete"), t(), await w9.writePostSetupTutorialDone(!0).catch(() => {});return;}let c = hs(o);@@ -94182,50 +94202,50 @@ async function E9() {e.removeAttribute("aria-busy");return;}- e.innerHTML = T9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");+ e.innerHTML = w9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");let l = s[0], u = e.querySelector("[data-tutorial-collapse]");- Q5.handler(u, "onclick", () => {+ Z5.handler(u, "onclick", () => {let t = e.querySelector(".post-setup-notification"), n = t.dataset.collapsed !== "true";t.dataset.collapsed = String(n), fs(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), u.innerHTML = L(n ? "chevron-up" : "chevron-down");- }), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => Q5.handler(e, "onclick", () => {+ }), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => Z5.handler(e, "onclick", () => {let t = ps(), n = e.dataset.tutorialSkip;- t.add(n), ms(t), $5.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {+ t.add(n), ms(t), Q5.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {let e = ps();- e.delete(n), ms(e), us("pending"), await E9();- } }), E9();+ e.delete(n), ms(e), us("pending"), await T9();+ } }), T9();}));let d = new Map(o.map((e) => [e.key, e]));- e.querySelectorAll("[data-tutorial-task]").forEach((e) => Q5.handler(e, "onclick", (t) => {+ e.querySelectorAll("[data-tutorial-task]").forEach((e) => Z5.handler(e, "onclick", (t) => {let n = d.get(e.dataset.tutorialTask);- !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), T9.openTutorialTarget(n));- })), Q5.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => T9.openTutorialTarget(l));+ !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), w9.openTutorialTarget(n));+ })), Z5.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => w9.openTutorialTarget(l));} catch {if (!vs(n)) return;e.innerHTML = `<article class="post-setup-notification post-setup-error">${L("alert")}<div><h2>暂时无法检查安装进度</h2><p>切换页面或重新打开后会再检查一次。</p><div class="post-setup-error-actions"><button class="geist-button" type="button" data-tutorial-retry>重试</button>- <button class="geist-button" type="button" data-tutorial-dismiss>关闭</button></div></div></article>`, e.removeAttribute("aria-busy"), Q5.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {- delete e.dataset.tutorialSignature, e.innerHTML = "", E9();- }), Q5.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);+ <button class="geist-button" type="button" data-tutorial-dismiss>关闭</button></div></div></article>`, e.removeAttribute("aria-busy"), Z5.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {+ delete e.dataset.tutorialSignature, e.innerHTML = "", T9();+ }), Z5.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);}}-function Dat() {- if (kc({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), T9.postSetupTutorialDone = null, T9.postSetupTutorialNeedsReopen = !1, yc) {- us("pending"), T9.postSetupTutorialDone = !1, T9.postSetupTutorialNeedsReopen = !0;+function kat() {+ if (kc({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), w9.postSetupTutorialDone = null, w9.postSetupTutorialNeedsReopen = !1, yc) {+ us("pending"), w9.postSetupTutorialDone = !1, w9.postSetupTutorialNeedsReopen = !0;let e = new URL(location.href);- e.searchParams.delete("onboarding"), Y8(e, {+ e.searchParams.delete("onboarding"), J8(e, {replace: !0,- state: J8.navigation.location.state+ state: q8.navigation.location.state});}{let e = new URL(location.href), t = e.searchParams.get("agentation");- t === "on" && localStorage.setItem("peach.agentation", "on"), t === "off" && localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), Y8(e, {+ t === "on" && localStorage.setItem("peach.agentation", "on"), t === "off" && localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), J8(e, {replace: !0,- state: J8.navigation.location.state+ state: q8.navigation.location.state})), localStorage.getItem("peach.agentation") === "on" && import("/dev/agentation.js").catch(() => {});}- T9.postSetupTutorialTasks = async () => {+ w9.postSetupTutorialTasks = async () => {let { library: e, scraping: t, taste: n, follow: r, credentials: i, review: a } = await vt("/api/post-setup-tutorial"), o = (t.sources || []).filter((e) => e.accepts_cookie).filter((e) => e.cookie_saved), s = (r.sources || []).filter((e) => e.enabled !== !1), c = new Map((i.providers || []).map((e) => [e.provider, e])), l = [...new Set(s.map((e) => e.provider))].map((e) => c.get(e)).filter((e) => e?.requirement === "required"), u = Number(e.total || 0) > 0, d = s.length > 0, f = d && l.every((e) => e.present && !e.missing?.length), p = Object.values(a.counts || {}).reduce((e, t) => e + (Number(t) || 0), 0);return [{@@ -94278,7 +94298,7 @@ function Dat() {icon: "square-check-big"}];- }, T9.postSetupTutorialHtml = (e, t, n) => {+ }, w9.postSetupTutorialHtml = (e, t, n) => {let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = ds(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}"><a href="${e.href}" data-tutorial-task="${e.key}"><span class="post-setup-check" aria-hidden="true">${e.done ? L("check") : L(e.icon)}</span>@@ -94297,19 +94317,19 @@ function Dat() {<ol class="post-setup-task-list" id="postSetupTaskList">${s}</ol><footer><button class="geist-button" type="button" data-tutorial-action="next">继续:${i.label}</button></footer></article>`;- }, T9.writePostSetupTutorialDone = async (e) => {- T9.postSetupTutorialDone = e, await vt("/api/settings", {+ }, w9.writePostSetupTutorialDone = async (e) => {+ w9.postSetupTutorialDone = e, await vt("/api/settings", {method: "POST",body: JSON.stringify({ postSetupTutorialDone: e })});- }, T9.readPostSetupTutorialDone = async () => {- if (T9.postSetupTutorialDone === null) try {- T9.postSetupTutorialDone = (await vt("/api/settings")).postSetupTutorialDone === !0;+ }, w9.readPostSetupTutorialDone = async () => {+ if (w9.postSetupTutorialDone === null) try {+ w9.postSetupTutorialDone = (await vt("/api/settings")).postSetupTutorialDone === !0;} catch {- T9.postSetupTutorialDone = !1;+ w9.postSetupTutorialDone = !1;}- return T9.postSetupTutorialDone;- }, T9.openTutorialTarget = (e) => {+ return w9.postSetupTutorialDone;+ }, w9.openTutorialTarget = (e) => {e.setupEntry && kc({ cameFromSetup: !0 }), Q.navigatePath(e.href);};}@@ -94334,48 +94354,48 @@ var Q = {queueOpenRequest: void 0,initialOverlayOpened: void 0};-function Oat() {- let e = K5();- e ? e.navChanged() : I("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(J7(e.dataset.nav))));+function Aat() {+ let e = G5();+ e ? e.navChanged() : I("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(q7(e.dataset.nav))));}-function D9(e = {}) {+function E9(e = {}) {let t = Q.surfacePath();- t !== M7.sidebarSurface && (M7.sidebarSurface = t, M7.sidebarProps = {- ...M7.sidebarProps,+ t !== j7.sidebarSurface && (j7.sidebarSurface = t, j7.sidebarProps = {+ ...j7.sidebarProps,content: null,latest: null- }), M7.sidebarProps = {- ...M7.sidebarProps,+ }), j7.sidebarProps = {+ ...j7.sidebarProps,...e- }, K5()?.render(M7.sidebarProps);+ }, G5()?.render(j7.sidebarProps);}-function O9() {- D9(), Oat(), Y7();+function D9() {+ E9(), Aat(), J7();}-function k9() {+function O9() {Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, kc({ pendingQueueRoute: null });}-function kat(e, t, n) {- k9(), E8(), Q.requestedOverlay = {+function jat(e, t, n) {+ O9(), T8(), Q.requestedOverlay = {path: e,open: n- }, Q.route(e, !1, O8(t));+ }, Q.route(e, !1, D8(t));}-function A9() {- Q.surfaceEpoch++, X.barsRequestSeq++, O7.syncPageTitle(location.href), D9(), D8(), E9();+function k9() {+ Q.surfaceEpoch++, X.barsRequestSeq++, D7.syncPageTitle(location.href), E9(), E8(), T9();}-function j9(e) {+function A9(e) {Q.route(e), kc({ pageOpens: bc + 1 });}-function Aat() {+function Mat() {Q.routeMeta = (e) => {- let t = A8(e);+ let t = k8(e);return t ? { route: t } : null;- }, Q.routePathOf = (e, t) => Object.keys(k8).find((n) => k8[n][e] === t), Q.catalogPage = (e) => wt(e) || e === "/trash", Q.managedPagePath = (e) => {- let t = A8(e);- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !C8(e) && e !== "/immerse";+ }, Q.routePathOf = (e, t) => Object.keys(O8).find((n) => O8[n][e] === t), Q.catalogPage = (e) => wt(e) || e === "/trash", Q.managedPagePath = (e) => {+ let t = k8(e);+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !S8(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? w9(fat()) : e === "/follow" ? L9() : e === "/playlists" || Q.catalogPage(e) ? j9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/follow-manage" ? E7() : e) : (S7(!1, !0), j9(Hrt({+ e === "/immerse" ? C9(mat()) : e === "/follow" ? I9() : e === "/playlists" || Q.catalogPage(e) ? A9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/follow-manage" ? T7() : e) : (x7(!1, !0), A9(Wrt({kind: e.slice(1),q: "",scope: "local",@@ -94384,35 +94404,35 @@ function Aat() {})));};}-function jat() {+function Nat() {Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({epoch: Q.surfaceEpoch,path: e,signal: Q.surfaceRequests?.signal- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Jnt(e) || B8(I("#libraryProcessingNotice")), s7(e) || c7(), B8(I("#stats"), I("#index")), !wt(e) && e !== "/trash" && l9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {- Q.surfaceEpoch++, X.barsRequestSeq++, Y8(e, {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Xnt(e) || z8(I("#libraryProcessingNotice")), o7(e) || s7(), z8(I("#stats"), I("#index")), !wt(e) && e !== "/trash" && c9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ Q.surfaceEpoch++, X.barsRequestSeq++, J8(e, {replace: t,state: n- }), O7.syncPageTitle(e), queueMicrotask(() => {- Y7(), V7(), D9(), E9();+ }), D7.syncPageTitle(e), queueMicrotask(() => {+ J7(), B7(), E9(), T9();});}, Q.navigatePath = (e, t = !1, n) => {- t ? J8.replace(e, n) : J8.push(e, n), queueMicrotask(() => {- Y7(), V7();+ t ? q8.replace(e, n) : q8.push(e, n), queueMicrotask(() => {+ J7(), B7();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}//#endregion//#region src/jobs.ts-function Mat(e, t, n) {+function Pat(e, t, n) {if (!Number.isFinite(n) || n <= 0) return "";let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;return `<div class="ui-board-job-progress" role="progressbar" aria-label="${R(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${R(e)}<small>${Math.round(i)}%</small></span></div>`;}-function Nat(e, t = 0, n = 0) {- return n > 0 ? Mat(e, t, n) : Xa(e);+function Fat(e, t = 0, n = 0) {+ return n > 0 ? Pat(e, t, n) : Xa(e);}-async function Pat(e) {+async function Iat(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -94427,14 +94447,14 @@ async function Pat(e) {await t(2e3);}}-function Fat(e) {+function Lat(e) {let t = e.note || ((e) => qa(e, {label: "任务状态",variant: "error"- })), n = e.loading || Xa, r = e.progress || ((e, t, n) => Nat(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");+ })), n = e.loading || Xa, r = e.progress || ((e, t, n) => Fat(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;- Pat({+ Iat({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -94484,7 +94504,7 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function Iat(e) {+function Rat(e) {let t = e.results || [], n = t.reduce((e, t) => e + (t.added || 0), 0), r = t.reduce((e, t) => e + (t.updated || 0), 0), i = t.filter((e) => e.ok && !e.added && !e.updated).length, a = t.reduce((e, t) => e + (t.skipped || 0), 0), o = t.reduce((e, t) => e + (t.skipped_compilations || 0), 0), s = t.reduce((e, t) => e + (t.history_skipped || 0), 0), c = [];n && c.push(`新增 <b>${n}</b> 条`), r && c.push(`更新 <b>${r}</b> 条`), a - o && c.push(`跳过 <b>${a - o}</b> 条无资源`), o && c.push(`排除 <b>${o}</b> 个超大合集`), s && c.push(`跳过 <b>${s}</b> 条超出首次采集范围的历史内容`);let l = t.reduce((e, t) => e + (t.probed || 0), 0);@@ -94493,25 +94513,25 @@ function Iat(e) {bits: c};}-function Lat(e) {- let { rows: t, bits: n } = Iat(e), r = t.filter((e) => !e.ok).length, i = t.filter((e) => e.exhausted).length;- $5.toast({ html: `检查了 <b>${t.length}</b> 个来源:${n.join(" · ")}` + (i ? ` · <b>${i} 个没有更多内容</b>` : "") + (r ? ` · <b>${r} 个失败</b>` : "") }, {+function zat(e) {+ let { rows: t, bits: n } = Rat(e), r = t.filter((e) => !e.ok).length, i = t.filter((e) => e.exhausted).length;+ Q5.toast({ html: `检查了 <b>${t.length}</b> 个来源:${n.join(" · ")}` + (i ? ` · <b>${i} 个没有更多内容</b>` : "") + (r ? ` · <b>${r} 个失败</b>` : "") }, {warn: !!r,timeout: r ? 8e3 : 6e3,sound: r ? "warning" : "success",action: {label: "去看更新",- run: () => L9(!0)+ run: () => I9(!0)}});}-function M9() {- return hi(N9());+function j9() {+ return hi(M9());}-function Rat() {+function Bat() {return $.controller.read();}-function N9() {+function M9() {return {status: $.followFilter,media: $.followMediaView,@@ -94526,99 +94546,99 @@ function N9() {seed: $.followSeed};}-function P9(e) {+function N9(e) {$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;}-function zat() {- let e = P8(I("#stats"));+function Vat() {+ let e = N8(I("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}-function F9() {- return !!zat();+function P9() {+ return !!Vat();}-function I9(e) {- F9() && z8(I("#stats"), e);+function F9(e) {+ P9() && R8(I("#stats"), e);}-function Bat(e, t = {}) {+function Hat(e, t = {}) {return $.controller.route(e, t);}-function L9(e = !1) {+function I9(e = !1) {$.controller.enter(e);}-async function R9(e, t = !0, n = null, r = !1) {+async function L9(e, t = !0, n = null, r = !1) {if (t) {- !location.pathname.startsWith("/follow/item/") && !r && kc({ followDetailReturnPath: location.pathname + location.search }), kat(`/follow/item/${+e}`, "follow", () => R9(e, !1, n, r));+ !location.pathname.startsWith("/follow/item/") && !r && kc({ followDetailReturnPath: location.pathname + location.search }), jat(`/follow/item/${+e}`, "follow", () => L9(e, !1, n, r));return;}Hs(), e = +e;let i = !location.pathname.startsWith("/follow/item/");- t && i && !r && kc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && kc({ followDetailReturnPath: r9e() || "/follow" }), t && E8(), R5()?.showing() !== "follow" && x9(!1, !1, { miniplayer: !1 }), t && Q.route(`/follow/item/${e}`, !1, O8("follow")), await (await Btt(b9.stageHost)).open({+ t && i && !r && kc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && kc({ followDetailReturnPath: a9e() || "/follow" }), t && T8(), L5()?.showing() !== "follow" && b9(!1, !1, { miniplayer: !1 }), t && Q.route(`/follow/item/${e}`, !1, D8("follow")), await (await Htt(y9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,mediaView: $.followMediaView,helpers: $.followFeedHelpers,actions: $.followDetailActions,- resume: t ? null : hat()- }), X7();+ resume: t ? null : _at()+ }), Y7();}-async function Vat() {- await gat(), x9(!1, !1, { miniplayer: !1 }), D8(), Q.route(gc || "/follow"), !(l7.entityPageView && l7.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && F9() ? (Rat(), I9({ view: N9() })) : kc({ pageOpens: bc + 1 }));+async function Uat() {+ await vat(), b9(!1, !1, { miniplayer: !1 }), E8(), Q.route(gc || "/follow"), !(c7.entityPageView && c7.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && P9() ? (Bat(), F9({ view: M9() })) : kc({ pageOpens: bc + 1 }));}-function Hat(e) {+function Wat(e) {let t = document.createElement("div");return t.className = "peach-react", co(e, () => {e.textContent = "", e.append(t);}), t;}-function Uat() {+function Gat() {$.followFeedHelpers = Js({wireDrag: (e) => {- e && y9(e);+ e && v9(e);},wireScroller: (e) => {e && Ao(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: Fat+ jobProgress: Lat}), $.followFeedActions = {- loaded: (e) => eit(e),- openDetail: (e) => R9(e),+ loaded: (e) => nit(e),+ openDetail: (e) => L9(e),openAuthor: (e) => Q.navigatePath(`/creators/${encodeURIComponent(e)}`),- openManage: () => Q.navigatePath(E7()),- toggleSelection: (e, t) => krt(e, t),+ openManage: () => Q.navigatePath(T7()),+ toggleSelection: (e, t) => jrt(e, t),setImagesOnly: (e) => {- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), h7();+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), m7();},setPhotoLayout: (e) => {- DT(e), h7();+ DT(e), m7();},- canFlip: () => !ac && !v9() && !window.__scrolling && !X.reduceMotion(),- toast: (e, { undo: t } = {}) => $5.actionReceipt(e, { undo: t }),- failure: (e, t) => $5.actionFailure(e, t),- checkReport: (e) => Lat(e)+ canFlip: () => !ac && !_9() && !window.__scrolling && !X.reduceMotion(),+ toast: (e, { undo: t } = {}) => Q5.actionReceipt(e, { undo: t }),+ failure: (e, t) => Q5.actionFailure(e, t),+ checkReport: (e) => zat(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- R5()?.showing() !== "follow" && (Hs(), x9(!1), P7(), !F9() && (Q.claimSurface(Q.surfacePath()), N7({ manage: !1 }), I("#stats").querySelector(".peach-react") && B8(I("#stats")), I("#stats").replaceChildren()));+ L5()?.showing() !== "follow" && (Hs(), b9(!1), N7(), !P9() && (Q.claimSurface(Q.surfacePath()), M7({ manage: !1 }), I("#stats").querySelector(".peach-react") && z8(I("#stats")), I("#stats").replaceChildren()));}}, $.followDetailActions = ec({- view: N9,- adoptView: P9,+ view: M9,+ adoptView: N9,rememberReturn: (e) => kc({ followDetailReturnPath: e }),- close: () => void Vat(),- open: (e, t, n) => void R9(e, !0, t, n),- drawer: eit+ close: () => void Uat(),+ open: (e, t, n) => void L9(e, !0, t, n),+ drawer: nit}, {- toast: (e, { undo: t } = {}) => $5.actionReceipt(e, { undo: t }),- failure: $5.actionFailure+ toast: (e, { undo: t } = {}) => Q5.actionReceipt(e, { undo: t }),+ failure: Q5.actionFailure});}-function Wat() {+function Kat() {$.controller = vi({location: () => location,- view: N9,- adoptView: P9,+ view: M9,+ adoptView: N9,session: () => ({discoverySeed: Cc,revision: wc,@@ -94636,16 +94656,16 @@ function Wat() {photoLayout: wT(),imagesOnly: !!Z.appSettings.followImagesOnly}),- live: F9,- push: I9,+ live: P9,+ push: F9,route: Q.route,- openPage: j9,- rollSeed: () => Number($5.rollSeed()),+ openPage: A9,+ rollSeed: () => Number(Q5.rollSeed()),enterSeed: () => Math.floor(Math.random() * 4294967295),revealFeed: () => {- Hs(), P7(), N7({ manage: !1 });+ Hs(), N7(), M7({ manage: !1 });},- syncPhotoWalls: h7,+ syncPhotoWalls: m7,scrollTop: () => window.scrollTo({top: 0,behavior: "smooth"@@ -94654,20 +94674,20 @@ function Wat() {}//#endregion//#region src/application/lifecycle.js-var z9 = { overlayScan: void 0 };-function Gat() {- Hbe(), Ko(document), ma(document.documentElement, { variant: "page" }), ma(I("#drawerScroll")), z9.overlayScan = 0, Q5.mutation(() => {- z9.overlayScan ||= Q5.delay(() => {- z9.overlayScan = 0, Uo();+var R9 = { overlayScan: void 0 };+function qat() {+ Wbe(), Ko(document), ma(document.documentElement, { variant: "page" }), ma(I("#drawerScroll")), R9.overlayScan = 0, Z5.mutation(() => {+ R9.overlayScan ||= Z5.delay(() => {+ R9.overlayScan = 0, Uo();});}).observe(document.body, {childList: !0,subtree: !0- }), Uo(), Ai(document.body), X.homeHasFeed = null, X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, M7.sidebarProps = {+ }), Uo(), Ai(document.body), X.homeHasFeed = null, X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, j7.sidebarProps = {content: null,filters: {},latest: null- }, M7.sidebarSurface = "", M7.sidebarCatalog = null, M7.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [+ }, j7.sidebarSurface = "", j7.sidebarCatalog = null, j7.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [["new", "更新时间"],["hot", "热度"],["dur", "时长"]@@ -94675,7 +94695,7 @@ function Gat() {}//#endregion//#region src/application/search-morph.js-function Kat(e, t, n, r, i, a, o) {+function Jat(e, t, n, r, i, a, o) {let s = a.startsWith("linear(") ? a.slice(7, -1).split(",").map(Number) : [0, 1];return s.map((a, c) => {let l = c / (s.length - 1), u = (e, t) => e + (t - e) * a, d = Math.max(8, Math.min(o - 44, u(e.left, t.left))), f = Math.max(36, Math.min(o - 8 - d, u(e.width, t.width))), p = u(e.height, t.height) + Math.sin(Math.PI * l) * t.height * .12, m = u(e.top + e.height / 2, t.top + t.height / 2);@@ -94691,60 +94711,60 @@ function Kat(e, t, n, r, i, a, o) {}//#endregion//#region src/application/search.js-var B9 = {+var z9 = {searchControl: void 0,searchActions: void 0,searchHelpers: void 0,searchMorph: void 0,searchMorphViewport: void 0};-function V9() {- B9.searchControl?.close();+function B9() {+ z9.searchControl?.close();}-function qat(e) {+function Yat(e) {let t = e ? Vi({...e,is_jav: !!e.code}, Z.appSettings.javImage) : "";return t === "cover" ? ia(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";}-function H9() {- B9.searchMorph?.cancel(), B9.searchMorph = null, I(".search").classList.remove("search-morphing");+function V9() {+ z9.searchMorph?.cancel(), z9.searchMorph = null, I(".search").classList.remove("search-morphing");}-function U9(e) {+function H9(e) {let t = I(".search"), n = I("#searchBtn");if (t.classList.contains("open") === e) return;- let r = !!B9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);- H9(), t.classList.remove("open");+ let r = !!z9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);+ V9(), t.classList.remove("open");let o = n.getBoundingClientRect();if (t.classList.toggle("open", e), I("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = Bo();t.classList.add("search-morphing");- let h = t.animate(Kat(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(Jat(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"});- B9.searchMorph = h, Q5.handler(h, "onfinish", () => {- B9.searchMorph === h && H9();+ z9.searchMorph = h, Z5.handler(h, "onfinish", () => {+ z9.searchMorph === h && V9();});}-function Jat() {- return b9.immerseOpen() ? V5().activeVideo() : R5()?.activeVideo() || null;+function Xat() {+ return y9.immerseOpen() ? B5().activeVideo() : L5()?.activeVideo() || null;}-function Yat(e) {+function Zat(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function Xat() {- B9.searchControl = null, B9.searchActions = {+function Qat() {+ z9.searchControl = null, z9.searchActions = {search: (e) => {- X.rememberSearchValue(), x9(!1), H.q = e, Ac(), Q.route(H.q ? "/?q=" + encodeURIComponent(H.q) : "/", !0);+ X.rememberSearchValue(), b9(!1), H.q = e, Ac(), Q.route(H.q ? "/?q=" + encodeURIComponent(H.q) : "/", !0);},- openItem: (e) => C9(e),- openEntity: (e, t) => _7(e, t)- }, B9.searchHelpers = {- pool: () => wit(H, vt),- coverHtml: (e) => `<span class="pic">${qat(e)}</span>`,+ openItem: (e) => S9(e),+ openEntity: (e, t) => g7(e, t)+ }, z9.searchHelpers = {+ pool: () => Eit(H, vt),+ coverHtml: (e) => `<span class="pic">${Yat(e)}</span>`,present: (e) => Fa(e),dismiss: (e) => Ia(e),wireScroller: (e) => Ao(e),@@ -94759,68 +94779,68 @@ function Xat() {text: e.value,scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft})- }, R8("search", {+ }, L8("search", {input: I("#q"),historyLimit: Z.appSettings.searchHistoryLimit,- actions: B9.searchActions,- helpers: B9.searchHelpers,+ actions: z9.searchActions,+ helpers: z9.searchHelpers,expose: (e) => {- B9.searchControl = e;+ z9.searchControl = e;}}, {container: I("#searchMenu"),isCurrent: () => !0- }), Q5.listen(I("#q"), "beforeinput", (e) => {+ }), Z5.listen(I("#q"), "beforeinput", (e) => {e.isComposing || X.rememberSearchValue(e.currentTarget);- }), Q5.listen(I("#q"), "scroll", (e) => {+ }), Z5.listen(I("#q"), "scroll", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);- }), Q5.listen(I("#q"), "pointerdown", (e) => {+ }), Z5.listen(I("#q"), "pointerdown", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function Zat() {- B9.searchMorph = null, B9.searchMorphViewport = innerWidth, Q5.listen.bind(Q5, window)("resize", () => {- innerWidth !== B9.searchMorphViewport && (B9.searchMorphViewport = innerWidth, H9());- }, { passive: !0 }), Q5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", H9), Q5.handler(I("#searchBtn"), "onclick", () => {- U9(!0), I("#q").focus({ preventScroll: !0 });- }), Q5.handler(I("#searchBack"), "onclick", () => {- U9(!1), V9(), I("#q").blur(), I("#searchBtn").focus({ preventScroll: !0 });- }), Q5.listen(I("#q"), "blur", () => Q5.delay(() => {- document.activeElement !== I("#q") && (!I("#q").value && !I("#searchMenu").matches(":hover") && U9(!1), V9());- }, 140)), Q5.listen(document, "pointerdown", (e) => {- e.target.closest(".search") || V9();- }, !0), Q5.handler(I("#brandHome"), "onclick", (e) => {- e.preventDefault(), $7(null, !0);- }), Q5.listen(document, "keydown", (e) => {+function $at() {+ z9.searchMorph = null, z9.searchMorphViewport = innerWidth, Z5.listen.bind(Z5, window)("resize", () => {+ innerWidth !== z9.searchMorphViewport && (z9.searchMorphViewport = innerWidth, V9());+ }, { passive: !0 }), Z5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", V9), Z5.handler(I("#searchBtn"), "onclick", () => {+ H9(!0), I("#q").focus({ preventScroll: !0 });+ }), Z5.handler(I("#searchBack"), "onclick", () => {+ H9(!1), B9(), I("#q").blur(), I("#searchBtn").focus({ preventScroll: !0 });+ }), Z5.listen(I("#q"), "blur", () => Z5.delay(() => {+ document.activeElement !== I("#q") && (!I("#q").value && !I("#searchMenu").matches(":hover") && H9(!1), B9());+ }, 140)), Z5.listen(document, "pointerdown", (e) => {+ e.target.closest(".search") || B9();+ }, !0), Z5.handler(I("#brandHome"), "onclick", (e) => {+ e.preventDefault(), Q7(null, !0);+ }), Z5.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = Utt();+ let t = Gtt();if (t?.isOpen()) {t.close();return;}if (!I("#searchMenu").hidden) {- V9();+ B9();return;}- if (b9.immerseOpen()) {- V5().close();+ if (y9.immerseOpen()) {+ B5().close();return;}- if (b9.stageOpen()) {- e.defaultPrevented || (e.preventDefault(), R5().requestClose());+ if (y9.stageOpen()) {+ e.defaultPrevented || (e.preventDefault(), L5().requestClose());return;}if (I("#drawer").classList.contains("open")) {- L7(!1);+ I7(!1);return;}if (ac || rc.size || ic.size) {- S7(!1, !0);+ x7(!1, !0);return;}return;}- if (Yat(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (Zat(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;if (e.key === "ArrowLeft" || e.key === "ArrowRight") {let t = document.querySelector(`#stage[open] [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);if (t) {@@ -94828,10 +94848,10 @@ function Zat() {return;}}- let t = Jat();+ let t = Xat();if (t) {if (e.key === "t" || e.key === "T") {- e.preventDefault(), R5()?.toggleTheater();+ e.preventDefault(), L5()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {@@ -94851,7 +94871,7 @@ function Zat() {return;}if (e.key === "i" || e.key === "I") {- e.preventDefault(), R5()?.toggleMiniplayer();+ e.preventDefault(), L5()?.toggleMiniplayer();return;}}@@ -94859,59 +94879,59 @@ function Zat() {}//#endregion//#region src/application/composition.js-var W9 = {+var U9 = {shellActions: void 0,routing: void 0};-function Qat() {- let e = Q5;- O7.entityShapesReady = o7(), Yrt(), oit(), W9.shellActions = {- openItem: (e) => void C9(e),- openEntity: (e, t) => void _7(e, t),+function eot() {+ let e = Z5;+ D7.entityShapesReady = a7(), Zrt(), cit(), U9.shellActions = {+ openItem: (e) => void S9(e),+ openEntity: (e, t) => void g7(e, t),openTag: (e) => {- $rt(), o9(e);+ tit(), a9(e);},- openTasteSignal: grt,+ openTasteSignal: vrt,navigate: (e) => Q.navigatePath(e),- openManage: H7,+ openManage: V7,managePath: (e) => Q.routePathOf("section", e) || "",- openFollow: () => L9(),- receipt: (e, t) => $5.actionReceipt(e, t),- toast: (e, t) => $5.toast(e, t),- failure: $5.actionFailure,- revealSource: art,- reopenTutorial: Eat,+ openFollow: () => I9(),+ receipt: (e, t) => Q5.actionReceipt(e, t),+ toast: (e, t) => Q5.toast(e, t),+ failure: Q5.actionFailure,+ revealSource: srt,+ reopenTutorial: Oat,requestConfigurationSection: (e) => {kc({ configurationRequestedSection: e });},- routeReview: xrt,- routeFollowManage: Brt,+ routeReview: Crt,+ routeFollowManage: Hrt,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();},srcBadge: (e, t) => Z.srcBadge(e, t),- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(Hrt(e), t),+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(Wrt(e), t),savePeopleLayout: ({ layout: e }) => {Z.appSettings.peopleLayout = e, Z.saveSettings();},- exitSelectMode: () => S7(!1, !1),- personAvatar: (e, t, n) => T7.personAvatar(e, t, n),- authorAvatar: (e) => Vrt(e),- showIndexTags: Urt,- openFollowAuthor: Wrt,- openFollowTag: Grt,- openPlaylist: (e, t) => void xat(e, t, !0),- canFlip: () => !ac && !v9() && !window.__scrolling && !X.reduceMotion(),+ exitSelectMode: () => x7(!1, !1),+ personAvatar: (e, t, n) => w7.personAvatar(e, t, n),+ authorAvatar: (e) => Urt(e),+ showIndexTags: Grt,+ openFollowAuthor: Krt,+ openFollowTag: qrt,+ openPlaylist: (e, t) => void Cat(e, t, !0),+ canFlip: () => !ac && !_9() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {e === "entity" ? (Hs(), kc({ barsContext: {type: "home",filters: H- } }), F7(), document.body.classList.add("entity-open"), r9(), D7()) : e === "index" ? (Hs(), document.body.classList.remove("entity-open"), Q.claimSurface(t), F7(), document.body.classList.add("index-open"), r9(), D7()) : (Hs(), Q.claimSurface(t), e === "catalog" ? F7() : (P7(), N7({ manage: e === "management" })));+ } }), P7(), document.body.classList.add("entity-open"), n9(), E7()) : e === "index" ? (Hs(), document.body.classList.remove("entity-open"), Q.claimSurface(t), P7(), document.body.classList.add("index-open"), n9(), E7()) : (Hs(), Q.claimSurface(t), e === "catalog" ? P7() : (N7(), M7({ manage: e === "management" })));},clearSearch: () => X.clearSearchField(),openImmerse: (e) => {- let t = b9.requestedImmerseId === void 0 ? e : b9.requestedImmerseId;- b9.requestedImmerseId = void 0, w9(t, !1);+ let t = y9.requestedImmerseId === void 0 ? e : y9.requestedImmerseId;+ y9.requestedImmerseId = void 0, C9(t, !1);},openQueueRequest: () => {let e = Q.requestedQueue;@@ -94919,10 +94939,10 @@ function Qat() {},openOverlay: (e) => {let t = Q.requestedOverlay;- Q.requestedOverlay = null, J8.navigation.claimed && (!X8() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (X8() && (Q.initialOverlayOpened = !0), e.kind === "item" ? C9(e.id, !1) : e.kind === "follow" ? R9(e.id, !1) : S9(e.queue, e.key, e.item, !1));+ Q.requestedOverlay = null, q8.navigation.claimed && (!Y8() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (Y8() && (Q.initialOverlayOpened = !0), e.kind === "item" ? S9(e.id, !1) : e.kind === "follow" ? L9(e.id, !1) : x9(e.queue, e.key, e.item, !1));},closeStage: () => {- b9.stageOpen() && x9(!1);+ y9.stageOpen() && b9(!1);},grid: {helpers: X.gridHelpers,@@ -94930,59 +94950,59 @@ function Qat() {},configurable: () => !!vc,surfaceShown: (e) => {- e === "index" ? (O9(), X7()) : a9();+ e === "index" ? (D9(), Y7()) : i9();},entity: {- loading: (e, t, n) => l7.application.loading(e, t, n),- props: (e, t, n) => l7.application.addressProps(e, t, n),+ loading: (e, t, n) => c7.application.loading(e, t, n),+ props: (e, t, n) => c7.application.addressProps(e, t, n),refresh: (e, t, n) => {- let r = l7.parseEntityFilters(n);+ let r = c7.parseEntityFilters(n);e === "creator" && (r.creator = "");- let i = f7();- return i.type !== "entity" || i.kind !== e || i.name !== t || !p7(e, t, r, l7.parseMediaView(n), { push: !1 }) ? !1 : (e9(r), t9(f7()), !0);+ let i = d7();+ return i.type !== "entity" || i.kind !== e || i.name !== t || !f7(e, t, r, c7.parseMediaView(n), { push: !1 }) ? !1 : ($7(r), e9(d7()), !0);}},follow: $.followFeedShell,catalog: {- defaultLoc: () => Dit("local,115"),+ defaultLoc: () => kit("local,115"),open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {- n && (A9(), Y7(), V7()), t && n7(), e === "/trash" ? (X.clearSearchField(), F7()) : (I("#q").value = H.q, X.rememberSearchValue()), O9(), a9(), Z.handOff(c9());+ n && (k9(), J7(), B7()), t && t7(), e === "/trash" ? (X.clearSearchField(), P7()) : (I("#q").value = H.q, X.rememberSearchValue()), D9(), i9(), Z.handOff(s9());},load: () => {- Z.handOff(c9());+ Z.handOff(s9());},fill: () => {- if (d9() || !X8() && !I("#grid").querySelector(".catalog-skeleton")) return;+ if (u9() || !Y8() && !I("#grid").querySelector(".catalog-skeleton")) return;let e = I("#count");- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), Jit(Q.surfaceToken(Q.surfacePath()));+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), Xit(Q.surfaceToken(Q.surfacePath()));},release: () => {- l9(), c7(), B8(I("#libraryProcessingNotice"));+ c9(), s7(), z8(I("#libraryProcessingNotice"));}}- }, W9.routing = !1, Q5.own(J8.listen((e) => {- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !C8(e.location.pathname) && x9(!1), W9.routing && !e.claimed && A9();- })), Rtt(W9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), lit(), Prt(), z7(), Promise.all([- g9(),- sit(),- O7.entityShapesReady- ]).then(() => e.isActive && O7.wantsDiscoveryBars() ? a9() : null).then(() => {- e.isActive && (O9(), dat(), W9.routing = !0, kc({ pageOpens: 1 }), A9(), X7());+ }, U9.routing = !1, Z5.own(q8.listen((e) => {+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !S8(e.location.pathname) && b9(!1), U9.routing && !e.claimed && k9();+ })), Btt(U9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), dit(), Irt(), R7(), Promise.all([+ h9(),+ lit(),+ D7.entityShapesReady+ ]).then(() => e.isActive && D7.wantsDiscoveryBars() ? i9() : null).then(() => {+ e.isActive && (D9(), pat(), U9.routing = !0, kc({ pageOpens: 1 }), k9(), Y7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});}//#endregion//#region src/theme-transition.ts-var G9 = !1;-async function $at(e, t) {- if (G9) return;+var W9 = !1;+async function tot(e, t) {+ if (W9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();return;}let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = Math.hypot(Math.max(r, innerWidth - r), Math.max(i, innerHeight - i)) * 2.5, o = document.createElement("style");- o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, G9 = !0, document.head.append(o);+ o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, W9 = !0, document.head.append(o);let s = document.documentElement;s.dataset.themeSnapshot = "true";let c = !1, l = () => {@@ -94993,14 +95013,14 @@ async function $at(e, t) {} catch {l();} finally {- delete s.dataset.themeSnapshot, o.remove(), G9 = !1;+ delete s.dataset.themeSnapshot, o.remove(), W9 = !1;}}//#endregion//#region src/application/chrome.js-function eot() {+function not() {(() => {- let e = Q5, t = [+ let e = Z5, t = ["#brandHome","#filterBtn","#settingsBtn"@@ -95073,7 +95093,7 @@ function eot() {o.className = "mark", o.setAttribute("aria-hidden", "true"), o.innerHTML = a(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(o), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${R(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${a(n)}</span><span>${R(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {sessionStorage.setItem("peach.library", t.dataset.library), location.assign("/");})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {- d.setOpen(!1), L7(!1), Srt("媒体");+ d.setOpen(!1), I7(!1), wrt("媒体");});let s = l.querySelector(".board-library-rows");e.listen(s, "pointerover", (e) => {@@ -95090,18 +95110,18 @@ function eot() {h.before(g), e.own(() => g.remove());let _ = document.createElement("div");_.className = "board-sidebar-foot", e.own(() => _.remove()), _.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${L("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${L("moon")}</button></div>`, _.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), _.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(_), _.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {- t.getAttribute("aria-pressed") !== "true" && $at(t, () => {+ t.getAttribute("aria-pressed") !== "true" && tot(t, () => {Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), fT();});})), fT();let v = document.createElement("div");v.className = "popmenu board-glow-menu", v.id = "boardGlowMenu", v.hidden = !0, v.setAttribute("popover", "manual"), v.setAttribute("role", "dialog"), v.setAttribute("aria-label", "配色"), document.body.append(v), e.own(() => v.remove());let y = _.querySelector("#boardGlowBtn"), b = za(_, y, v);- e.own(b.dispose), e.own(sce(y)), Ytt({+ e.own(b.dispose), e.own(sce(y)), Ztt({root: v,store: Z.settingsStore,openDetails: () => {- e.isActive && (b.setOpen(!1), L7(!1), iit("界面").then((t) => {+ e.isActive && (b.setOpen(!1), I7(!1), oit("界面").then((t) => {e.isActive && t.reveal("#homeGlowControls");}));}@@ -95113,17 +95133,17 @@ function eot() {let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");if (!t) return;c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);- let r = n.classList.contains("open"), i = !I7();+ let r = n.classList.contains("open"), i = !F7();i || r ? h.parentElement !== t && t.append(h) : h.parentElement !== g.parentElement && g.after(h), n.inert = !i && !r;}- Z.placeSidebarHead = x, x(), e.listen(document, "board:sidebar", x), e.listen.bind(Q5, window)("resize", x);+ Z.placeSidebarHead = x, x(), e.listen(document, "board:sidebar", x), e.listen.bind(Z5, window)("resize", x);let S = !1;function C() {S = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);}- if (e.listen.bind(Q5, window)("scroll", () => {+ if (e.listen.bind(Z5, window)("scroll", () => {S || (S = !0, e.frame(C));- }, { passive: !0 }), e.listen.bind(Q5, window)("resize", C), C(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {+ }, { passive: !0 }), e.listen.bind(Z5, window)("resize", C), C(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {let t = "http://www.w3.org/2000/svg", n = document.createElementNS(t, "svg");n.setAttribute("width", "0"), n.setAttribute("height", "0"), n.setAttribute("aria-hidden", "true"), n.style.position = "fixed", n.style.pointerEvents = "none";let r = document.createElementNS(t, "defs");@@ -95198,35 +95218,35 @@ function eot() {subtree: !0}), f();}- })(), L7(!I7() && sessionStorage.getItem("board.sidebar") !== "closed");+ })(), I7(!F7() && sessionStorage.getItem("board.sidebar") !== "closed");}//#endregion//#region src/application/initialize.js-function tot() {- Gat(), Aat(), Xrt(), jat(), pat(), $tt(), nat(), Dat(), prt(), wat(), Frt(), rat(), $nt(), Crt(), Uat(), Krt(), mrt(), Wat(), qrt(), hrt(), yit(), iat(), Xat(), Tat(), Zat(), mat(), Qat(), eot(), Q5.own(l9), Q5.own(k9);+function rot() {+ qat(), Mat(), Qrt(), Nat(), hat(), tnt(), iat(), kat(), hrt(), Eat(), Lrt(), aat(), trt(), Trt(), Gat(), Jrt(), grt(), Kat(), Yrt(), _rt(), xit(), oat(), Qat(), Dat(), $at(), gat(), eot(), not(), Z5.own(c9), Z5.own(O9);}//#endregion//#region src/ui-kit/middle-truncate.ts-var not = "…", rot = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, K9 = /* @__PURE__ */ new WeakMap(), q9 = /* @__PURE__ */ new WeakSet(), J9 = null, Y9 = null, X9 = /* @__PURE__ */ new Set(), iot = (e) => rot ? [...rot.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));-function aot(e, t) {- let n = iot(e);+var iot = "…", aot = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, G9 = /* @__PURE__ */ new WeakMap(), K9 = /* @__PURE__ */ new WeakSet(), q9 = null, J9 = null, Y9 = /* @__PURE__ */ new Set(), oot = (e) => aot ? [...aot.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));+function sot(e, t) {+ let n = oot(e);if (!n.length || t(e)) return String(e ?? "");- let r = 0, i = Math.max(0, n.length - 1), a = not;+ let r = 0, i = Math.max(0, n.length - 1), a = iot;for (; r <= i;) {- let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + not + (s ? n.slice(-s).join("") : "");+ let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + iot + (s ? n.slice(-s).join("") : "");t(c) ? (a = c, r = e + 1) : i = e - 1;}return a;}-var oot = Object.assign((e, t) => {- let n = getComputedStyle(e), r = (oot.canvas ||= document.createElement("canvas")).getContext("2d");+var cot = Object.assign((e, t) => {+ let n = getComputedStyle(e), r = (cot.canvas ||= document.createElement("canvas")).getContext("2d");if (!r) return Infinity;r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;let i = r.measureText(t).width, a = parseFloat(n.letterSpacing);- Number.isFinite(a) && (i += Math.max(0, iot(t).length - 1) * a);+ Number.isFinite(a) && (i += Math.max(0, oot(t).length - 1) * a);let o = parseFloat(n.wordSpacing);return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;-}, { canvas: null }), sot = (e) => {+}, { canvas: null }), lot = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -95236,56 +95256,56 @@ var oot = Object.assign((e, t) => {n === e ? a++ : t > 0 && (i += t, a++);}return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);-}, cot = (e) => {- let t = K9.get(e);+}, uot = (e) => {+ let t = G9.get(e);if (!t || !e.isConnected) return;- let n = sot(e), r = n > 0 ? aot(t.full, (t) => oot(e, t) <= n) : t.full;+ let n = lot(e), r = n > 0 ? sot(t.full, (t) => cot(e, t) <= n) : t.full;t.rendered = r, e.textContent !== r && (e.textContent = r);let i = r !== t.full;e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), (!e.hasAttribute("title") || e.dataset.middleTitle === "true") && (e.title = t.full, e.dataset.middleTitle = "true");-}, Z9 = (e) => {- let t = K9.get(e);+}, X9 = (e) => {+ let t = G9.get(e);t && !t.raf && (t.raf = requestAnimationFrame(() => {- t.raf = 0, cot(e);+ t.raf = 0, uot(e);}));-}, lot = (e) => {- e instanceof HTMLElement && (K9.has(e) || K9.set(e, {+}, dot = (e) => {+ e instanceof HTMLElement && (G9.has(e) || G9.set(e, {full: e.textContent || "",rendered: e.textContent || "",raf: 0- }), q9.has(e) || (q9.add(e), X9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? J9?.observe(e.parentElement) : J9?.observe(e)), Z9(e));-}, uot = (e) => {+ }), K9.has(e) || (K9.add(e), Y9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? q9?.observe(e.parentElement) : q9?.observe(e)), X9(e));+}, fot = (e) => {if (e.nodeType !== Node.ELEMENT_NODE) return;let t = e;- t.matches("[data-middle-truncate]") && lot(t), t.querySelectorAll("[data-middle-truncate]").forEach(lot);+ t.matches("[data-middle-truncate]") && dot(t), t.querySelectorAll("[data-middle-truncate]").forEach(dot);};-function dot(e = document) {- Y9?.(), q9 = /* @__PURE__ */ new WeakSet(), X9 = /* @__PURE__ */ new Set();- let t = X9, n = !0;- J9 = new ResizeObserver((e) => e.forEach((e) => {- n && (Z9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(Z9));+function pot(e = document) {+ J9?.(), K9 = /* @__PURE__ */ new WeakSet(), Y9 = /* @__PURE__ */ new Set();+ let t = Y9, n = !0;+ q9 = new ResizeObserver((e) => e.forEach((e) => {+ n && (X9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(X9));}));- let r = J9;- uot(e.documentElement || e);+ let r = q9;+ fot(e.documentElement || e);let i = new MutationObserver((e) => e.forEach((e) => {if (!n) return;- e.addedNodes.forEach(uot);+ e.addedNodes.forEach(fot);let t = (e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target)?.closest?.("[data-middle-truncate]");if (!t) return;- let r = K9.get(t);- r && t.textContent !== r.rendered && (r.full = t.textContent || "", t.dataset.middleTitle === "true" && t.removeAttribute("title"), Z9(t));+ let r = G9.get(t);+ r && t.textContent !== r.rendered && (r.full = t.textContent || "", t.dataset.middleTitle === "true" && t.removeAttribute("title"), X9(t));}));i.observe(e.body || e, {childList: !0,characterData: !0,subtree: !0}), document.fonts?.ready?.then(() => {- n && e.querySelectorAll("[data-middle-truncate]").forEach(Z9);+ n && e.querySelectorAll("[data-middle-truncate]").forEach(X9);});let a = (e) => {let t = document.getSelection();if (!t || t.isCollapsed) return;- let n = (t.anchorNode?.nodeType === Node.ELEMENT_NODE ? t.anchorNode : t.anchorNode?.parentElement)?.closest?.("[data-middle-truncate]"), r = n && K9.get(n);+ let n = (t.anchorNode?.nodeType === Node.ELEMENT_NODE ? t.anchorNode : t.anchorNode?.parentElement)?.closest?.("[data-middle-truncate]"), r = n && G9.get(n);r && n.contains(t.focusNode) && e.clipboardData && (e.clipboardData?.setData("text/plain", r.full), e.preventDefault());};e.addEventListener("copy", a);@@ -95293,61 +95313,61 @@ function dot(e = document) {if (n) {n = !1, r.disconnect(), i.disconnect(), e.removeEventListener("copy", a);for (let e of t) {- let t = K9.get(e);+ let t = G9.get(e);t?.raf && (cancelAnimationFrame(t.raf), t.raf = 0);}- t.clear(), Y9 === o && (Y9 = null, J9 = null);+ t.clear(), J9 === o && (J9 = null, q9 = null);}};- return Y9 = o, o;+ return J9 = o, o;}//#endregion//#region src/react/application.tsx-var Q9 = null;-function fot(e) {- Q9 !== e || e.owners || (Q9 = null, e.effects.dispose());-}-function pot() {- if (!Q9) {- let e = Qtt();- Q9 = {+var Z9 = null;+function mot(e) {+ Z9 !== e || e.owners || (Z9 = null, e.effects.dispose());+}+function hot() {+ if (!Z9) {+ let e = ent();+ Z9 = {effects: e,owners: 0- }, e.own(dot(document)), e.own(() => {+ }, e.own(pot(document)), e.own(() => {Hs(), V.cancelQueries();- }), e.own(ztt), e.own(d9e), e.own(Na);+ }), e.own(Vtt), e.own(p9e), e.own(Na);}- return Q9.owners += 1, Q9.effects.resume(), Q9;+ return Z9.owners += 1, Z9.effects.resume(), Z9;}-function mot() {+function got() {let [e, t] = (0, b.useState)(null);return (0, b.useLayoutEffect)(() => {- let e = Q9 === null, n = pot(), r = Ltt(t);+ let e = Z9 === null, n = hot(), r = ztt(t);if (e) try {- tot();+ rot();} catch (e) {- throw r(), n.effects.dispose(), Q9 = null, e;+ throw r(), n.effects.dispose(), Z9 = null, e;}return () => {- r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => fot(n)));+ r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => mot(n)));};- }, []), /* @__PURE__ */ (0, x.jsx)(j9e, { actions: e });+ }, []), /* @__PURE__ */ (0, x.jsx)(N9e, { actions: e });}-var $9 = /* @__PURE__ */ new WeakMap();-function hot(e) {- let t = $9.get(e);+var Q9 = /* @__PURE__ */ new WeakMap();+function _ot(e) {+ let t = Q9.get(e);if (t) return t;- let n = (0, ht.createRoot)(e, M9e);- $9.set(e, n);+ let n = (0, ht.createRoot)(e, P9e);+ Q9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {- $9.get(e) === n && ($9.delete(e), r(), Q9 && fot(Q9));- }, (0, mt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(mot, {}))), n;+ Q9.get(e) === n && (Q9.delete(e), r(), Z9 && mot(Z9));+ }, (0, mt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(got, {}))), n;}//#endregion//#region src/react/bootstrap.tsx-var got = document.getElementById("appRoot");-if (!got) throw Error("主界面宿主缺失");-hot(got);+var $9 = document.getElementById("appRoot");+if (!$9) throw Error("主界面宿主缺失");+_ot($9);//#endregion-export { fT as applyTheme, J8 as peachHistory, ro as popCount, Xtt as showToast };+export { fT as applyTheme, q8 as peachHistory, ro as popCount, Qtt as showToast };