Skip to content

armgit / peach

Public Imported from GitHub
0

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

feat(web): 搜索推荐展示作品封面与作者头像

longmeidao78f06b693270
diff --git a/README.md b/README.md
index a5b247363..725859b8f 100644
--- a/README.md
+++ b/README.md
@@ -62,7 +62,7 @@ https://github.com/user-attachments/assets/a5610874-e611-41bb-be22-7d99f0d64b62
## 能做什么
-- **搜索**:输入几个字,女优、番号和影片一起出来。
+- **搜索**:聚焦搜索框可按封面浏览作品、JAV、关注作品与订阅新作,按头像进入艺人和关注作者;可直接进入关注与新作订阅。输入几个字,女优、番号和影片一起出来。
- **我的收藏**:资料页名字旁的星星收藏常用人物、片商、厂牌、系列和标签,黄色实心表示已收藏。馆藏筛选栏的读数旁可打开「我的收藏」,按类型和名称查找,显示资料图、厂牌标识或代表作头像;窗口也可管理保存的筛选,打开已标记作品与稍后看清单。馆藏页可给当前筛选起个名字,随时打开或删除。
- **来源检查**:逐站选择直连或 Peach 代理,查看连接失败原因、耗时与冷却状态;公开 JSON 接口可在来源页配置、试查和启停,见[自定义来源](docs/CUSTOM_SOURCES.md)。复核来源图片点击后才加载,失败可重试。
- **外部播放器与 VR**:作品详情可生成限时网络播放链接,下载 M3U,或在 VLC(iPhone / iPad)、IINA(Mac)打开;使用方式见[外部播放器](docs/EXTERNAL_PLAYERS.md)。
diff --git a/docs/REUSE.md b/docs/REUSE.md
index ce6b7c0dd..73a6b82f8 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -76,6 +76,8 @@ JAV 作品详情与馆藏视频共用 `IdentityCell` 的头像、标识和首字
## 发现推荐缓存
+搜索推荐复用 `/api/items`、馆藏范围的 `/api/jav/discoveries`、`/api/follow`、`/api/follow/authors` 与 `/api/feeds/discoveries`,图片复用 `coverImage`、`feedNewCoverHtml`、`avatarInner` 和 `authorAvatarHtml`。JAV 保留 IDF/MMR 口味排序,关注署名沿用 `followIdentity` 的发布者判据。搜索框不启动库外资料补齐;详情与订阅分别沿用现有作品、作者、关注管理路由。无新增依赖、迁移或 ledger 写入。
+
发现推荐的浏览证据复用 `taste_history` 私有历史库、规范身份和原子 JSON 写入;按日取证与同地址身份解析独立缓存。缓存只保存实体计数,历史、别名、关注、标签决定和解析规则参与失效;观看反馈不重复解析历史,任务心跳不影响偏好版本。页面预取复用 TanStack Query 的 `ensureQueryData`,无新增依赖。
## 播放器清晰度
diff --git a/frontend/e2e/search.test.ts b/frontend/e2e/search.test.ts
index 6022160a8..dab353b39 100644
--- a/frontend/e2e/search.test.ts
+++ b/frontend/e2e/search.test.ts
@@ -83,6 +83,53 @@ describe('顶栏搜索', () => {
before(async () => { browser = await launch(); });
after(async () => { await browser?.close(); });
+ for (const viewport of VIEWPORTS) {
+ it(`${viewport.name} 空搜索显示作品封面、作者头像和新作订阅入口`, { timeout: 60_000 }, async () => {
+ const opened = await openSearch(browser, { viewport, history: ['最近搜索'] });
+ try {
+ const { page } = opened;
+ await page.route(/\/api\/jav\/discoveries\?/, route => route.fulfill({ json: { items: [
+ { id: 11, asset_id: 11, code: 'ABW-101', title: 'JAV 作品', is_jav: true, has_cover: true,
+ performer_refs: [{ id: 90001, name: '七海ひな', has_image: true }] },
+ ] } }));
+ await page.route(/\/api\/follow\?/, route => route.fulfill({ json: {
+ sources: [{ id: 1, author_key: 'name:作者', label: '作者', ref: '作者', provider: 'pixiv', official_avatar_url: '/poster?id=11' }],
+ groups: [{ primary: { id: 901, source_id: 1, title: '关注作品', thumb_url: '/poster?id=11' } }],
+ } }));
+ await page.route(/\/api\/follow\/authors\?/, route => route.fulfill({ json: {
+ items: [{ k: '作者', key: 'name:作者', entity_id: 90002 }],
+ } }));
+ await page.route(/\/api\/feeds\/discoveries\?/, route => route.fulfill({ json: { items: [
+ { id: 91, code: 'ABW-102', title: '订阅新作', has_cover: true },
+ ] } }));
+ if (viewport.mobile) await page.locator('#searchBtn').click();
+ await page.locator('#q').click();
+ await page.locator(`${MENU} [data-search-recommendations]`).waitFor();
+ assert.equal(await page.locator(`${MENU} [data-kind="author"] [data-search-face] img`).count(), 1);
+ for (const kind of ['asset', 'jav', 'post', 'release']) {
+ const cover = page.locator(`${MENU} [data-kind="${kind}"] [data-search-pic] img`).first();
+ assert.ok(await cover.count(), `${kind} 没有图片`);
+ const box = await cover.boundingBox();
+ assert.ok(box && box.width >= 80, `${kind} 没有以封面展示`);
+ }
+ const overflow = await page.locator(MENU).evaluate(el => ({
+ width: el.clientWidth, scrollWidth: el.scrollWidth, right: el.getBoundingClientRect().right,
+ viewport: innerWidth,
+ }));
+ assert.ok(overflow.scrollWidth <= overflow.width + 1);
+ assert.ok(overflow.right <= overflow.viewport + 1);
+ await page.screenshot({ path: `../build/agent-verification/browser/search-recommendations-${viewport.name}.png` });
+ const subscription = page.locator(`${MENU} [data-kind="performer"] h3 a`);
+ await subscription.focus();
+ await page.waitForTimeout(180);
+ assert.equal(await page.locator(MENU).isVisible(), true, '菜单内键盘焦点关闭了推荐');
+ await subscription.press('Enter');
+ await page.waitForURL('**/subscriptions?tab=feeds');
+ assert.ok(!new URL(page.url()).searchParams.has('q'));
+ } finally { await opened.close(); }
+ });
+ }
+
for (const viewport of VIEWPORTS) {
it(`单类视频预览可滚动,完整结果入口可由键盘提交(${viewport.name})`, { timeout: 60_000 }, async () => {
const opened = await openSearch(browser, { viewport });
diff --git a/frontend/src/application/search.js b/frontend/src/application/search.js
index f5ec43d40..da63bc589 100644
--- a/frontend/src/application/search.js
+++ b/frontend/src/application/search.js
@@ -8,7 +8,9 @@ import { followSelected, notifyShell, selectMode, selected, state } from './../s
import { navigationState } from './navigation.js';
import { openEntity } from './entity.js';
import { catalogSuggestions } from './../catalog-onboarding';
-import { $, api } from '../core';
+import { searchRecommendations } from '../react/search/recommendations';
+import { feedNewCoverHtml } from './feed.js';
+import { $, api, esc } from '../core';
import { dismissMenu, glideEase, presentMenu, wireHorizontalScroller } from '../ui-kit';
import { openManagedRoute } from './../history/managed';
import { applicationEffects } from './effects';
@@ -77,11 +79,15 @@ searchState.searchActions = {
},
openItem:id=>openItem(id),
openEntity:(kind,name)=>openEntity(kind,name),
+ openPath:path=>navigationState.route(path,false),
};
searchState.searchHelpers = {
pool:()=>catalogSuggestions(state,api),
+ recommendations:()=>searchRecommendations(api),
/* `.pic` 是卡片封面那一格(比例、底色、圆角与模糊垫底都认它),和里面那张图一起由壳给。 */
- coverHtml:card=>`<span class="pic">${searchCoverImage(card)}</span>`,
+ coverHtml:card=>`<span class="pic">${card?.thumb_url
+ ?`<img src="${esc(card.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">`
+ :card?.sourceWork?feedNewCoverHtml(card):searchCoverImage(card)}</span>`,
present:menu=>presentMenu(menu),
dismiss:menu=>dismissMenu(menu),
wireScroller:row=>wireHorizontalScroller(row),
@@ -123,6 +129,7 @@ applicationEffects.handler($('#searchBack'), 'onclick', ()=>{
});
applicationEffects.listen($('#q'), 'blur', ()=>applicationEffects.delay(()=>{
if(document.activeElement===$('#q'))return;
+ if($('#searchMenu').contains(document.activeElement))return;
if(!$('#q').value&&!$('#searchMenu').matches(':hover'))setNarrowSearchOpen(false);
hideSearchMenu();
},140));
diff --git a/frontend/src/react/search/recommendations.ts b/frontend/src/react/search/recommendations.ts
new file mode 100644
index 000000000..81a858e28
--- /dev/null
+++ b/frontend/src/react/search/recommendations.ts
@@ -0,0 +1,62 @@
+import { authorAvatarHtml, followIdentity, followTitle } from '../follow-feed/follow-marks';
+import type { FollowPage } from '../follow-feed/follow-feed';
+import type { Discovery } from '../jav/jav';
+import type { SuggestCard, SuggestGroup, SuggestItem } from './search';
+
+type Request = (url: string) => Promise<any>;
+
+/** 搜索入口复用馆藏、口味推荐、关注和新作的本机读接口。 */
+export async function searchRecommendations(request: Request): Promise<SuggestGroup[]> {
+ const results = await Promise.allSettled([
+ request('/api/items?sort=rand&limit=5'),
+ request('/api/jav/discoveries?scope=library&limit=5'),
+ request('/api/follow?status=new&limit=5'),
+ request('/api/feeds/discoveries?limit=5'),
+ request('/api/follow/authors?limit=3'),
+ ]);
+ const data = results.map(result => result.status === 'fulfilled' ? result.value : null);
+ const library: SuggestCard[] = (data[0]?.items || []).slice(0, 5);
+ const jav: Discovery[] = (data[1]?.items || []).slice(0, 5);
+ const follow: FollowPage | null = data[2];
+ const releases: Discovery[] = data[3]?.items || [];
+ const work = (card: SuggestCard, href?: string): SuggestItem => ({
+ value: String(card.code || card.display_title || card.title || card.name || '未命名作品'),
+ id: card.id, code: card.code, title: String(card.display_title || card.title || ''),
+ who: String(card.performers || card.creator || ''), card, href,
+ });
+ const posts: SuggestItem[] = [];
+ const context = { sources: follow?.sources || [], aliases: follow?.author_aliases || [], credentials: new Set<string>() };
+ for (const group of follow?.groups || []) {
+ const item = group.primary;
+ const source = context.sources.find(source => source.id === item.source_id);
+ const sources = source?.author_key ? context.sources.filter(row => row.author_key === source.author_key) : source ? [source] : [];
+ const identity = followIdentity(item, sources, context);
+ posts.push({ value: followTitle(item), id: item.id, who: identity.author,
+ href: `/posts/${item.id}`, card: { id: item.id, thumb_url: item.thumb_url },
+ });
+ }
+ const authors: SuggestItem[] = (data[4]?.items || []).map((row: { k: string; key: string; entity_id?: number }) => ({
+ value: row.k, href: row.entity_id ? `/creators/${row.entity_id}` : `/follow?author=${encodeURIComponent(row.key)}`,
+ avatarHtml: authorAvatarHtml(context.sources.filter(source => source.author_key === row.key), row.k),
+ subtitle: '关注中的作者',
+ }));
+ const people = new Map<string, SuggestItem>();
+ for (const card of jav) {
+ for (const ref of card.performer_refs || []) {
+ if (!ref.id || people.has(ref.name)) continue;
+ people.set(ref.name, { value: ref.name, entity_id: ref.id, has_image: ref.has_image,
+ href: `/performers/${ref.id}`,
+ image_version: ref.image_version, avatar_focus: ref.avatar_focus, rep: ref.has_avatar ? ref.rep : null,
+ works: [card], subtitle: '查看作品与订阅新作',
+ });
+ }
+ }
+ return [
+ { kind: 'performer', label: '艺人与新作', items: [...people.values()].slice(0, 3), href: '/subscriptions?tab=feeds', action: '订阅新作' },
+ { kind: 'author', label: '关注作者', items: authors, href: '/subscriptions?tab=add', action: '添加关注' },
+ { kind: 'asset', label: '作品推荐', items: library.map(card => work(card)), href: '/', action: '全部作品' },
+ { kind: 'jav', label: 'JAV 推荐', items: jav.map(card => work(card, `/assets/${card.asset_id || card.id}`)), href: '/jav?tab=discover', action: '发现 JAV' },
+ { kind: 'post', label: '关注作品', items: posts, href: '/follow', action: '全部关注作品' },
+ { kind: 'release', label: '订阅新作', items: releases.filter(card => card.code).map(card => work({ ...card, sourceWork: true }, `/works/${encodeURIComponent(card.code)}`)), href: '/subscriptions?tab=feeds', action: '管理订阅' },
+ ];
+}
diff --git a/frontend/src/react/search/search-page.tsx b/frontend/src/react/search/search-page.tsx
index d68a36fbc..6608ba122 100644
--- a/frontend/src/react/search/search-page.tsx
+++ b/frontend/src/react/search/search-page.tsx
@@ -23,6 +23,8 @@ interface Store {
history: string[];
pool: string[];
poolRequest: number;
+ recommendations: SuggestGroup[];
+ recommendationRequest: number;
/** 画的那一刻输入框里的词与洗好的推荐。 */
query: string;
picks: string[];
@@ -42,13 +44,14 @@ interface Store {
}
const emptyStore = (): Store => ({
- history: [], pool: [], poolRequest: 0, query: '', picks: [], suggestFor: '', groups: [], tabs: [],
+ history: [], pool: [], poolRequest: 0, recommendations: [], recommendationRequest: 0, query: '', picks: [], suggestFor: '', groups: [], tabs: [],
suggestRequest: 0, asked: '', timer: 0, kind: '', active: -1, reveal: false, rewind: false,
});
const modelOf = (s: Store): MenuModel => menuModel({
query: s.query, history: s.history, picks: s.picks, suggestFor: s.suggestFor, groups: s.groups, tabs: s.tabs,
kind: s.kind,
+ recommendations: s.recommendations,
});
const hasContent = (m: MenuModel) => !!(m.tabs || m.recent || m.left.length || m.right.length || m.empty);
@@ -90,6 +93,7 @@ export function SearchPage(props: SearchProps) {
input.removeEventListener('keydown', onKey);
input.removeEventListener('focus', onFocus);
clearTimeout(s.timer);
+ s.recommendationRequest++;
latest.current.expose(null);
};
}, [op, s]);
@@ -110,7 +114,12 @@ export function SearchPage(props: SearchProps) {
);
const section = (group: MenuSection) => (
<section key={group.kind ?? group.label} data-search-group="" data-kind={group.kind}>
- <h3>{group.label}</h3>
+ <h3>{group.label}{group.href ? (
+ <a href={group.href} onMouseDown={keep} onClick={event => {
+ if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) return;
+ event.preventDefault(); op.openPath(group.href!);
+ }}>{group.action || '查看全部'}</a>
+ ) : null}</h3>
{group.kind ? <div data-search-items="">{group.options.map(option)}</div> : group.options.map(option)}
{group.more ? option(group.more) : null}
</section>
@@ -122,10 +131,11 @@ export function SearchPage(props: SearchProps) {
</div>
) : null);
return (
- <div ref={root} data-search-root="" data-history-limit={limit}>
+ <div ref={root} data-search-root="" data-search-recommendations={!s.query && s.recommendations.length ? '' : undefined} data-history-limit={limit}>
{model.tabs ? <Tabs tabs={model.tabs} kind={s.kind} onPick={op.pickKind} wire={props.helpers.wireScroller} /> : null}
- {model.recent ? section(model.recent) : null}
+ {s.query && model.recent ? section(model.recent) : null}
{columns(model.left, model.right)}
+ {!s.query && model.recent ? section(model.recent) : null}
{model.empty ? <p data-search-empty="" role="status">没有找到</p> : null}
</div>
);
@@ -170,6 +180,18 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |
// 推荐不可用时仍可直接输入搜索。
}
};
+ const loadRecommendations = async () => {
+ if (!props().helpers.recommendations) return;
+ const request = ++s.recommendationRequest;
+ try {
+ const groups = await props().helpers.recommendations!();
+ if (request !== s.recommendationRequest) return;
+ s.recommendations = groups;
+ if (focused() && !input().value.trim()) paint();
+ } catch {
+ // 推荐读取失败仍可搜索,保留手上的推荐。
+ }
+ };
/* 分组顺序和每组的名字都由 `/api/suggest` 给出,这里照抄。慢的旧响应不许盖掉新的:连敲两个字时
先发的那次完全可能后回来。 */
const loadSuggestions = async (query: string, kind = '') => {
@@ -192,6 +214,7 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |
const isOpen = () => { const el = menu(); return !!el && !el.hidden };
const close = () => {
+ s.recommendationRequest++;
const el = menu();
if (el) props().helpers.dismiss(el);
s.active = -1;
@@ -257,6 +280,7 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |
};
/** 选中一行,点它和回车落在同一处。作品开详情,有资料页的开资料页,其余按这个词搜。 */
const choose = (entry: SearchOption) => {
+ if (entry.type === 'suggest' && entry.item.href) { openPath(entry.item.href); return }
if (entry.type === 'more') { runSearch(false, true); input().blur(); return }
if (entry.type === 'suggest' && entry.kind === 'asset' && entry.item.id != null) {
input().blur();
@@ -267,6 +291,7 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |
input().value = entry.value;
runSearch(false, true);
};
+ const openPath = (path: string) => { close(); input().blur(); props().actions.openPath?.(path) };
const pick = (entry: SearchOption) => { close(); choose(entry) };
const peek = (card: SuggestCard) => { close(); input().blur(); props().actions.openItem(card.id) };
const remove = async (value: string) => {
@@ -313,6 +338,7 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |
refresh();
};
const focus = () => {
+ void loadRecommendations();
void Promise.all([loadHistory(), loadPool()]).then(() => {
if (!focused()) return;
// 带着 `?q=` 进来再点回输入框时,框里已经有词,补全该跟着这个词给。这两份数据回来之前
@@ -321,7 +347,7 @@ function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement |
if (input().value.trim() !== s.asked) refresh();
});
};
- return { input: onInput, key, focus, close, pick, peek, remove, pickKind };
+ return { input: onInput, key, focus, close, pick, peek, remove, pickKind, openPath };
}
function Tabs({ tabs, kind, onPick, wire }: {
@@ -384,29 +410,29 @@ function Row({ entry, active, helpers, onPick, onPeek, onRemove }: {
}
const { item, kind } = entry;
const opens = SUGGEST_PROFILE_KINDS.has(kind) ? kind : undefined;
- if (kind === 'asset') {
+ if (['asset', 'jav', 'post', 'release'].includes(kind)) {
/* 作品点开是详情,不是一个搜索词:整句标题填回搜索框,下一次搜索会因为其中任何一个字符对不上
而落空。 */
const byline = [item.who, item.code ? item.title : ''].filter(Boolean).join(' · ');
return (
- <div data-search-option="work" data-open-item={item.id} {...shared}>
+ <button type="button" data-search-option="work" data-open-item={kind === 'asset' ? item.id : undefined} {...shared} onMouseDown={keep}>
<Cover card={item.card} helpers={helpers} />
<span data-search-meta=""><span data-search-name=""><span>{item.value}</span></span><span data-search-sub="">{byline}</span></span>
- </div>
+ </button>
);
}
const matched = item.matched ? <span data-search-matched="">{item.matched}</span> : null;
- if (kind === 'performer' || kind === 'creator') {
+ if (kind === 'performer' || kind === 'creator' || kind === 'author') {
// 一行里摆得下几部近作就摆几部;窄下拉整排收起,数据照给。
const works = item.works ?? [];
- const sub = [`${(item.n ?? 0).toLocaleString()} 个视频`, item.agency].filter(Boolean).join(' · ');
+ const sub = item.subtitle || [`${(item.n ?? 0).toLocaleString()} 个视频`, item.agency].filter(Boolean).join(' · ');
return (
- <div data-search-option="person" data-open-entity={opens} {...shared}>
+ <div data-search-option="person" data-open-entity={opens} {...shared} onMouseDown={keep}>
<Face item={item} kind={kind} />
- <span data-search-meta="">
+ <button type="button" data-search-person="" data-search-meta="" aria-label={`查看 ${item.value}`}>
<span data-search-name=""><span>{item.value}</span>{matched}</span>
<span data-search-sub="">{sub}</span>
- </span>
+ </button>
{works.length ? (
<span data-search-peeks="">
{works.map((card) => (
@@ -438,6 +464,7 @@ function Cover({ card, helpers }: { card: SuggestCard | null | undefined; helper
/** 门面一律圆片,走索引页同一条兜底链:人是实体图 → 代表作头像,厂牌是标识,事务所是官网
* 站点圆标;都取不到就是首字母。一屏几十个,取派生件。 */
function Face({ item, kind }: { item: SuggestItem; kind: string }) {
+ if (item.avatarHtml) return <span data-search-face="" dangerouslySetInnerHTML={{ __html: item.avatarHtml }} />;
const ref = { id: item.entity_id as number | null | undefined, has_image: item.has_image as boolean | undefined,
image_version: item.image_version as string | undefined, avatar_focus: item.avatar_focus,
avatar_stand_in: item.avatar_stand_in as boolean | undefined };
diff --git a/frontend/src/react/search/search.css b/frontend/src/react/search/search.css
index 541cb34ca..a02790a7f 100644
--- a/frontend/src/react/search/search.css
+++ b/frontend/src/react/search/search.css
@@ -10,6 +10,7 @@
/* 两组之间一道细线,同一组的行紧挨着。 */
.peach-react [data-search-group] + [data-search-group],
.peach-react [data-search-group] + [data-search-results],
+.peach-react [data-search-results] + [data-search-group],
.peach-react [data-search-col] + [data-search-col] {
border-top: 1px solid var(--line-soft);
margin-top: 7px;
@@ -19,9 +20,16 @@
margin: 6px 10px;
color: var(--muted);
font-size: var(--fs-xs);
- font-weight: 700;
+ font-weight: 600;
letter-spacing: .14em;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 8px;
}
+.peach-react [data-search-group] > h3 > a { flex: none; font-weight: 400; letter-spacing: normal; }
+.peach-react [data-search-person] { padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
+.peach-react [data-search-person]:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 2px; }
/* 这个词一条补全都没有时的那一行,排在搜索记录下面,字色同组标题。 */
.peach-react [data-search-empty] { margin: 0; padding: 9px 10px; color: var(--muted); font-size: var(--fs-sm); }
@@ -146,6 +154,19 @@
.peach-react [data-search-pic] { --card-ratio: .75; display: block; flex: none; border-radius: var(--badge-radius); }
.peach-react [data-search-pic] > span > span { font-size: 10px; letter-spacing: 0; }
.peach-react [data-search-option="work"] > [data-search-pic] { width: 36px; }
+.peach-react [data-search-recommendations] [data-search-option="work"] {
+ flex-direction: column;
+ align-items: stretch;
+ gap: 6px;
+ padding: 6px;
+}
+.peach-react [data-search-recommendations] [data-search-option="work"] > [data-search-pic] { width: 100%; }
+.peach-react [data-search-recommendations] [data-search-col] > [data-search-group] [data-search-items]:has([data-search-option="work"]) {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(clamp(96px, calc(20% - 4px), 200px), 1fr));
+ gap: 4px;
+}
+.peach-react [data-search-option="work"]:focus-visible { outline: 2px solid var(--tungsten); outline-offset: -2px; }
/* 行里的 span 一律截断裁切,这一排要让出焦点环。 */
.peach-react [data-search-option] [data-search-peeks] {
display: none;
@@ -188,6 +209,10 @@
/* 右栏钉在顶上:左栏人名一长串往下翻时,视频那一格不跟着滚走。钉住要求右栏不拉伸,它自己只有内容
* 那么高,所以两栏的分隔线画在两栏之间的缝上,从顶到底,不论哪一栏更长。 */
@container searchmenu (min-width: 720px) {
+ .peach-react [data-search-recommendations] [data-search-results][data-split] {
+ grid-template-columns: minmax(0, .32fr) minmax(0, .68fr);
+ }
+ .peach-react [data-search-recommendations] [data-search-results][data-split]::before { left: calc(32% - 5px); }
.peach-react [data-search-results][data-split] {
position: relative;
display: grid;
diff --git a/frontend/src/react/search/search.ts b/frontend/src/react/search/search.ts
index 345585057..db0c80e23 100644
--- a/frontend/src/react/search/search.ts
+++ b/frontend/src/react/search/search.ts
@@ -29,6 +29,9 @@ export interface SuggestItem {
/** 人那一类:一行里摆得下几部近作就摆几部。 */
works?: SuggestCard[];
agency?: string | null;
+ href?: string;
+ avatarHtml?: string;
+ subtitle?: string;
[key: string]: unknown;
}
@@ -37,6 +40,8 @@ export interface SuggestGroup {
label: string;
total?: number;
items: SuggestItem[];
+ href?: string;
+ action?: string;
}
export interface SuggestTab {
@@ -56,12 +61,14 @@ export interface SearchActions {
search(query: string): void;
openItem(id: number): void;
openEntity(kind: string, name: string): void;
+ openPath?(path: string): void;
}
/** 仍由遗留层给的几样。 */
export interface SearchHelpers {
/** 空输入时的推荐词池:与当前目录同一组筛选,只留真搜得出东西的词(`catalogSuggestions`)。 */
pool(): Promise<string[]>;
+ recommendations?(): Promise<SuggestGroup[]>;
/** 小封面那一格(卡片的 `.pic`)连同里面那张图(`coverImage` 与 JAV 默认封面那套取景);两样都没有是「无预览」。 */
coverHtml(card: SuggestCard | null | undefined): string;
present(menu: HTMLElement): void;
@@ -100,7 +107,7 @@ export const SUGGEST_ONE_KIND = 20;
/** 有脸的那几类点开的是资料页;标签没有资料页,点它照旧是按这个词搜。 */
export const SUGGEST_PROFILE_KINDS = new Set(['performer', 'creator', 'studio', 'agency', 'series']);
/** 下拉栏按宽度分两栏:左栏是身份和词,右栏是作品封面格。 */
-export const SUGGEST_RIGHT_KINDS = new Set(['asset']);
+export const SUGGEST_RIGHT_KINDS = new Set(['asset', 'jav', 'post', 'release']);
/** 空输入时推荐几条。 */
export const PICKS = 5;
@@ -118,6 +125,8 @@ export interface MenuSection {
label: string;
options: SearchOption[];
more?: SearchOption;
+ href?: string;
+ action?: string;
}
export interface MenuModel {
@@ -143,11 +152,12 @@ export interface MenuInput {
groups: readonly SuggestGroup[];
tabs: readonly SuggestTab[];
kind: string;
+ recommendations?: readonly SuggestGroup[];
}
/** 从一刻的状态算出下拉栏里有什么,以及键盘上下时的次序。页签管整栏,所以排在最上面;选了一类
* 时搜索记录让位。 */
-export function menuModel({ query, history, picks, suggestFor, groups, tabs, kind }: MenuInput): MenuModel {
+export function menuModel({ query, history, picks, suggestFor, groups, tabs, kind, recommendations = [] }: MenuInput): MenuModel {
let index = 0;
const options: SearchOption[] = [];
const add = <T extends Omit<SearchOption, 'index'>>(option: T): SearchOption => {
@@ -158,6 +168,15 @@ export function menuModel({ query, history, picks, suggestFor, groups, tabs, kin
// 有输入时历史跟着筛:这一刻用户在找一个词,不是在回顾自己搜过什么。
const matching = history.filter((value) => !query || fold(value).includes(fold(query)));
if (!query) {
+ if (recommendations.length) {
+ const sections = recommendations.map(group => ({ ...group,
+ options: group.items.map(item => add({ type: 'suggest', value: item.value, kind: group.kind, item })),
+ }));
+ const recent = matching.length ? { label: '搜索记录', options: matching.map(value => add({ type: 'history', value })) } : null;
+ return { tabs: null, recent,
+ left: sections.filter(group => !SUGGEST_RIGHT_KINDS.has(group.kind)),
+ right: sections.filter(group => SUGGEST_RIGHT_KINDS.has(group.kind)), empty: false, options };
+ }
const recent = matching.length ? { label: '搜索记录', options: matching.map((value) => add({ type: 'history', value })) } : null;
const suggested = picks.length ? { label: '推荐', options: picks.map((value) => add({ type: 'pick', value })) } : null;
return { tabs: null, recent: null, left: recent ? [recent] : [], right: suggested ? [suggested] : [], empty: false, options };
diff --git a/frontend/test/react/search-recommendations.test.ts b/frontend/test/react/search-recommendations.test.ts
new file mode 100644
index 000000000..f53ccfc91
--- /dev/null
+++ b/frontend/test/react/search-recommendations.test.ts
@@ -0,0 +1,43 @@
+import { describe, expect, it, vi } from 'vitest';
+import { searchRecommendations } from '../../src/react/search/recommendations';
+
+describe('搜索图片推荐', () => {
+ it('不同作品来源保留各自详情地址,关注头像和署名取实际发布者', async () => {
+ const source = { id: 8, author_key: 'name:作者', label: '作者', ref: '作者', provider: 'pixiv',
+ entity_id: 20, entity_name: '作者', official_avatar_url: '/avatar-fixture' };
+ const request = vi.fn(async (url: string) => {
+ if (url.startsWith('/api/items')) return { items: [{ id: 11, name: '本地作品' }] };
+ if (url.startsWith('/api/jav/')) return { items: [{ id: 12, asset_id: 12, code: 'ABW-101',
+ performer_refs: [{ id: 15, name: '女优', has_image: true }] }] };
+ if (url.startsWith('/api/feeds/')) return { items: [{ id: 12, code: 'ABW-102', cover_url: '/release-cover' }] };
+ if (url.startsWith('/api/follow/authors')) return { items: [{ k: '作者', key: source.author_key, entity_id: 20 }] };
+ return { sources: [source], groups: [{ primary: { id: 12, source_id: 8, title: '关注作品', thumb_url: '/post-cover' } }] };
+ });
+ const groups = await searchRecommendations(request);
+ const entry = (kind: string) => groups.find(group => group.kind === kind)!.items[0]!;
+ expect(entry('asset').id).toBe(11);
+ expect(entry('jav').href).toBe('/assets/12');
+ expect(entry('release').href).toBe('/works/ABW-102');
+ expect(entry('release').card?.sourceWork).toBe(true);
+ expect(entry('post').href).toBe('/posts/12');
+ expect(entry('post').who).toBe('作者');
+ expect(entry('post').card?.thumb_url).toBe('/post-cover');
+ expect(entry('author').href).toBe('/creators/20');
+ expect(entry('author').avatarHtml).toContain('/avatar-fixture');
+ expect(entry('performer').entity_id).toBe(15);
+ expect(request.mock.calls.every(([url]) => !url.includes('scope=external'))).toBe(true);
+ });
+
+ it('一类读取失败不会丢失其他推荐,无实体的作者进入自己的关注筛选', async () => {
+ const groups = await searchRecommendations(async url => {
+ if (url.startsWith('/api/jav/')) throw new Error('离线');
+ if (url.startsWith('/api/follow/authors')) return { items: [{ k: '作者', key: 'name:作者' }] };
+ return { items: [{ id: 11, name: '本地作品' }] };
+ });
+ expect(groups.find(group => group.kind === 'asset')!.items).toHaveLength(1);
+ expect(groups.find(group => group.kind === 'jav')!.items).toEqual([]);
+ expect(groups.find(group => group.kind === 'author')!.items[0]!.href).toBe('/follow?author=name%3A%E4%BD%9C%E8%80%85');
+ expect(groups.find(group => group.kind === 'release')!.items).toEqual([]);
+ expect(groups.find(group => group.kind === 'performer')!.action).toBe('订阅新作');
+ });
+});
diff --git a/frontend/test/react/search.test.tsx b/frontend/test/react/search.test.tsx
index 62d193788..d7465602c 100644
--- a/frontend/test/react/search.test.tsx
+++ b/frontend/test/react/search.test.tsx
@@ -6,7 +6,7 @@ import { describe, expect, it, vi, type Mock } from 'vitest';
import { SearchPage } from '../../src/react/search/search-page';
import {
- PICKS, SUGGEST_DEBOUNCE, menuModel, shufflePicks, type SearchApi, type SearchProps, type SuggestResponse,
+ PICKS, SUGGEST_DEBOUNCE, menuModel, shufflePicks, type SearchApi, type SearchProps, type SuggestResponse, type SuggestGroup,
} from '../../src/react/search/search';
import { mount, pending, settle } from './render';
@@ -68,7 +68,7 @@ describe('下拉栏里摆什么', () => {
interface Stage {
input: HTMLInputElement;
menu: HTMLElement;
- actions: { [K in keyof SearchProps['actions']]: Mock<SearchProps['actions'][K]> };
+ actions: { [K in keyof SearchProps['actions']]: Mock<NonNullable<SearchProps['actions'][K]>> };
posts: unknown[];
api: SearchApi | null;
key(key: string): Promise<void>;
@@ -77,6 +77,7 @@ interface Stage {
/** 壳那一侧:一个静态输入框、一块带 `data-search-menu` 的面,岛挂在面里。 */
async function stage({ pool = ['剧情'], loadPool = async () => pool,
+ recommendations = undefined as (() => Promise<SuggestGroup[]>) | undefined,
suggest = async (q: string): Promise<SuggestResponse> => ({ q, groups: [] }) } = {}): Promise<Stage> {
const posts: unknown[] = [];
vi.stubGlobal('fetch', vi.fn(async (url: string, init?: RequestInit) => {
@@ -96,6 +97,7 @@ async function stage({ pool = ['剧情'], loadPool = async () => pool,
search: vi.fn<SearchProps['actions']['search']>(),
openItem: vi.fn<SearchProps['actions']['openItem']>(),
openEntity: vi.fn<SearchProps['actions']['openEntity']>(),
+ openPath: vi.fn<NonNullable<SearchProps['actions']['openPath']>>(),
};
const out: Stage = {
input, menu, actions, posts, api: null,
@@ -108,7 +110,7 @@ async function stage({ pool = ['剧情'], loadPool = async () => pool,
}),
};
const helpers: SearchProps['helpers'] = {
- pool: loadPool, coverHtml: () => '',
+ pool: loadPool, recommendations, coverHtml: card => `<span class="pic"><img src="/cover?code=${card?.code || ''}" alt=""></span>`,
present: (el) => { el.hidden = false }, dismiss: (el) => { el.hidden = true },
wireScroller: () => {}, typed: () => {}, composing: () => {}, clearField: (el) => { el.value = '' },
};
@@ -121,6 +123,33 @@ async function stage({ pool = ['剧情'], loadPool = async () => pool,
const debounce = () => act(async () => { vi.advanceTimersByTime(SUGGEST_DEBOUNCE) });
describe('输入框上的时序', () => {
+ it('空搜索推荐显示封面,键盘选择新作打开作品详情', async () => {
+ const s = await stage({ recommendations: async () => [{ kind: 'release', label: '订阅新作',
+ items: [{ value: 'ABW-101', href: '/works/ABW-101', card: { id: 88, code: 'ABW-101' } }],
+ href: '/subscriptions?tab=feeds', action: '管理订阅',
+ }] });
+ await act(async () => s.input.focus());
+ await settle();
+ expect(s.menu.querySelector('[data-search-option="work"] img')).not.toBeNull();
+ expect(s.menu.querySelector('h3 a')?.getAttribute('href')).toBe('/subscriptions?tab=feeds');
+ await s.key('ArrowDown');
+ await s.key('Enter');
+ expect(s.actions.openPath).toHaveBeenCalledWith('/works/ABW-101');
+ expect(s.actions.openItem).not.toHaveBeenCalled();
+ expect(s.actions.search).not.toHaveBeenCalled();
+ });
+
+ it('关闭菜单后到达的图片推荐不会再打开菜单', async () => {
+ const answer = pending<SuggestGroup[]>();
+ const s = await stage({ recommendations: () => answer.answer });
+ await act(async () => s.input.focus());
+ await settle();
+ await act(async () => s.api?.close());
+ await answer.release([{ kind: 'asset', label: '作品推荐', items: [{ value: '作品', id: 11 }] }]);
+ await settle();
+ expect(s.menu.hidden).toBe(true);
+ });
+
it('单类视频预览请求二十条,完整结果入口用当前搜索词', async () => {
vi.useFakeTimers();
const s = await stage({ suggest: async (q) => ({ q, groups: [{ ...asset, total: 53 }] }) });
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index a2f32905a..5bcd85122 100644
--- a/web/dist/peach-app.css
+++ b/web/dist/peach-app.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-24{height:calc(var(--spacing) * 24)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-blue-900{color:var(--color-blue-900)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:flex{display:flex}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:hidden{display:none}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-60{width:calc(var(--spacing) * 60)}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{background:var(--hover)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-text]>[data-media-tags]{margin-top:6px}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-8px;padding:8px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px + 8px));padding-left:calc(var(--railW) + 32px + 8px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]),.peach-react [data-catalog-tags]>[data-skeleton=tag]{height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-summary]{flex:none;align-items:center;gap:12px;display:flex}@media (width<=760px){.peach-react [data-catalog-frame]>[data-filter-row=bottom]{flex-wrap:wrap}.peach-react [data-catalog-frame] [data-entity-sorts]{width:100%;margin-left:0}.peach-react [data-catalog-summary]{max-width:100%}.peach-react [data-catalog-summary] [data-catalog-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-sources] [data-follow-seealso]{border-radius:var(--control-radius);background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:18px;height:18px}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;max-width:100%;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related]>h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{flex:none;width:18px;height:18px}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rate],.peach-react [data-review-rating] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}[data-settings-panel] [data-settings-service]{z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{background:var(--hover)}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-favorite]){border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react :is([data-namepick-toggle],[data-favorite]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-favorite]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-favorite]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-entry]{flex:none;display:inline-flex}.peach-react [data-shortcuts-trigger]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--surface);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-shortcuts-trigger]:hover{background:var(--hover)}.peach-react [data-shortcuts-trigger]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-shortcuts-trigger] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;box-shadow:inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-shadow);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]{border-radius:var(--control-radius)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-footer]{border-top:1px solid var(--border-10);flex-direction:column;gap:4px;padding-top:12px;display:flex}.peach-react [data-shortcuts-footer] a{border-radius:var(--control-radius);min-height:36px;color:var(--muted);align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-shortcuts-footer] a:hover{background:var(--hover)}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{fill:none;stroke:currentColor;width:20px;height:20px}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}@media (width<=640px){:is(.peach-react[data-index-head],.peach-react [data-index-head]) [data-shortcuts-trigger]{order:3}}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew),body[data-wall-open] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew){visibility:hidden;pointer-events:none}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button){z-index:12;width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-back]{left:24px;top:calc(24px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{z-index:30;left:80px;right:24px;top:calc(24px + env(safe-area-inset-top));position:absolute}.peach-react [data-wall-refresh]{left:76px;top:calc(24px + env(safe-area-inset-top));z-index:12;position:absolute}.peach-react [data-wall-tools-button]{right:24px;bottom:calc(24px + env(safe-area-inset-bottom))}.peach-react [data-wall-toolbar]{z-index:11;right:24px;bottom:calc(80px + env(safe-area-inset-bottom));border:1px solid var(--line-soft);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#101010e6;flex-direction:column;gap:16px;width:min(320px,100% - 48px);padding:20px;display:flex;position:absolute;box-shadow:0 12px 32px #00000073}.peach-react [data-wall-toolbar] input{border:1px solid var(--line-soft);width:100%;height:36px;color:var(--ink);font:inherit;background:0 0;border-radius:0;padding:0 10px 0 34px}.peach-react [data-wall-toolbar] form{position:relative}.peach-react [data-wall-toolbar] form svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:16px;height:16px;position:absolute;top:10px;left:10px}.peach-react [data-wall-toolbar] input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react [data-wall-tools]{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.peach-react [data-wall-hint]{color:var(--muted);font-size:11px}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-back]{left:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{left:72px;right:16px;top:calc(16px + env(safe-area-inset-top));padding-inline:12px}.peach-react [data-wall-refresh]{left:68px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-tools-button]{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-follow-image-dots]{z-index:4;justify-content:center;align-items:center;gap:var(--media-dot-gap);max-width:calc(100% - var(--media-dot-room));padding:8px var(--media-dot-padding);border-radius:var(--pill-radius);background:#00000080;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel] [data-follow-image-count]{z-index:4;border-radius:var(--pill-radius);color:#fff;font:500 var(--fs-xs) / 16px var(--board-font);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;background:#00000080;padding:4px 11px;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] :is([data-follow-image-dots],[data-follow-image-count]){width:fit-content;margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-follow-image-dots]{bottom:12px}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-24{height:calc(var(--spacing) * 24)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-blue-900{color:var(--color-blue-900)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:flex{display:flex}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:hidden{display:none}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-60{width:calc(var(--spacing) * 60)}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{background:var(--hover)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-text]>[data-media-tags]{margin-top:6px}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-8px;padding:8px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px + 8px));padding-left:calc(var(--railW) + 32px + 8px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]),.peach-react [data-catalog-tags]>[data-skeleton=tag]{height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-summary]{flex:none;align-items:center;gap:12px;display:flex}@media (width<=760px){.peach-react [data-catalog-frame]>[data-filter-row=bottom]{flex-wrap:wrap}.peach-react [data-catalog-frame] [data-entity-sorts]{width:100%;margin-left:0}.peach-react [data-catalog-summary]{max-width:100%}.peach-react [data-catalog-summary] [data-catalog-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-results]+[data-search-group],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% - 5px)}.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);grid-template-rows:auto auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:12px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-text]{flex-direction:column;gap:6px;height:auto;margin:0;padding:0;display:flex}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-follow-labels]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px)}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-sources] [data-follow-seealso]{border-radius:var(--control-radius);background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:18px;height:18px}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;max-width:100%;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related]>h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{flex:none;width:18px;height:18px}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rate],.peach-react [data-review-rating] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}[data-settings-panel] [data-settings-service]{z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{background:var(--hover)}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-favorite]){border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react :is([data-namepick-toggle],[data-favorite]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-favorite]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-favorite]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-entry]{flex:none;display:inline-flex}.peach-react [data-shortcuts-trigger]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--surface);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-shortcuts-trigger]:hover{background:var(--hover)}.peach-react [data-shortcuts-trigger]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-shortcuts-trigger] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;box-shadow:inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-shadow);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]{border-radius:var(--control-radius)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-footer]{border-top:1px solid var(--border-10);flex-direction:column;gap:4px;padding-top:12px;display:flex}.peach-react [data-shortcuts-footer] a{border-radius:var(--control-radius);min-height:36px;color:var(--muted);align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-shortcuts-footer] a:hover{background:var(--hover)}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{fill:none;stroke:currentColor;width:20px;height:20px}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}@media (width<=640px){:is(.peach-react[data-index-head],.peach-react [data-index-head]) [data-shortcuts-trigger]{order:3}}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew),body[data-wall-open] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#libraryProcessingNotice,#feedNew){visibility:hidden;pointer-events:none}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button){z-index:12;width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-tools-button],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-back]{left:24px;top:calc(24px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{z-index:30;left:80px;right:24px;top:calc(24px + env(safe-area-inset-top));position:absolute}.peach-react [data-wall-refresh]{left:76px;top:calc(24px + env(safe-area-inset-top));z-index:12;position:absolute}.peach-react [data-wall-tools-button]{right:24px;bottom:calc(24px + env(safe-area-inset-bottom))}.peach-react [data-wall-toolbar]{z-index:11;right:24px;bottom:calc(80px + env(safe-area-inset-bottom));border:1px solid var(--line-soft);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#101010e6;flex-direction:column;gap:16px;width:min(320px,100% - 48px);padding:20px;display:flex;position:absolute;box-shadow:0 12px 32px #00000073}.peach-react [data-wall-toolbar] input{border:1px solid var(--line-soft);width:100%;height:36px;color:var(--ink);font:inherit;background:0 0;border-radius:0;padding:0 10px 0 34px}.peach-react [data-wall-toolbar] form{position:relative}.peach-react [data-wall-toolbar] form svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:16px;height:16px;position:absolute;top:10px;left:10px}.peach-react [data-wall-toolbar] input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react [data-wall-tools]{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.peach-react [data-wall-hint]{color:var(--muted);font-size:11px}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-back]{left:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{left:72px;right:16px;top:calc(16px + env(safe-area-inset-top));padding-inline:12px}.peach-react [data-wall-refresh]{left:68px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-tools-button]{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-follow-image-dots]{z-index:4;justify-content:center;align-items:center;gap:var(--media-dot-gap);max-width:calc(100% - var(--media-dot-room));padding:8px var(--media-dot-padding);border-radius:var(--pill-radius);background:#00000080;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel] [data-follow-image-count]{z-index:4;border-radius:var(--pill-radius);color:#fff;font:500 var(--fs-xs) / 16px var(--board-font);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;background:#00000080;padding:4px 11px;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] :is([data-follow-image-dots],[data-follow-image-count]){width:fit-content;margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-follow-image-dots]{bottom:12px}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index 6918600aa..1f165fad8 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -18654,16 +18654,16 @@ function nre(e = s_) {
}
function c_(e, t, n) {
return {
- min: rre(e, t),
- max: rre(e, n)
+ min: l_(e, t),
+ max: l_(e, n)
};
}
-function rre(e, t) {
+function l_(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
-var ire = /* @__PURE__ */ new WeakMap(), are = class {
+var rre = /* @__PURE__ */ new WeakMap(), ire = class {
constructor(e) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
@@ -18696,7 +18696,7 @@ var ire = /* @__PURE__ */ new WeakMap(), are = class {
let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();
if (!n && !this.openDragLock) return;
let { offset: o } = t;
- r && this.currentDirection === null ? (this.currentDirection = cre(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && Xu.update(() => a(e, t), !1, !0));
+ r && this.currentDirection === null ? (this.currentDirection = sre(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && Xu.update(() => a(e, t), !1, !0));
}, s = (e, t) => {
this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;
}, c = () => {
@@ -18740,7 +18740,7 @@ var ire = /* @__PURE__ */ new WeakMap(), are = class {
}
updateAxis(e, t, n) {
let { drag: r } = this.getProps();
- if (!n || !l_(e, r, this.currentDirection)) return;
+ if (!n || !u_(e, r, this.currentDirection)) return;
let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];
this.constraints && this.constraints[e] && (a = Zne(a, this.constraints[e], this.elastic[e])), i.set(a);
}
@@ -18765,7 +18765,7 @@ var ire = /* @__PURE__ */ new WeakMap(), are = class {
}
startAnimation(e) {
let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = ng((o) => {
- if (!l_(o, t, this.currentDirection)) return;
+ if (!u_(o, t, this.currentDirection)) return;
let c = s && s[o] || {};
(a === !0 || a === o) && (c = {
min: 0,
@@ -18803,7 +18803,7 @@ var ire = /* @__PURE__ */ new WeakMap(), are = class {
y: t
}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();
ng((e) => {
- if (!l_(e, n, this.currentDirection)) return;
+ if (!u_(e, n, this.currentDirection)) return;
let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];
t.set((t.get() || 0) + i[e] - ku(r, o, .5));
});
@@ -18827,20 +18827,20 @@ var ire = /* @__PURE__ */ new WeakMap(), are = class {
let { transformTemplate: a } = this.visualElement.getProps();
this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), ng((t) => {
let n = this.getAxisMotionValue(t);
- if (!l_(t, e, null) || !n.get()) return;
+ if (!u_(t, e, null) || !n.get()) return;
let { min: r, max: a } = this.constraints[t];
n.set(ku(r, a, i[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- ire.set(this.visualElement, this);
+ rre.set(this.visualElement, this);
let e = this.visualElement.current, t = Xg(e, "pointerdown", (t) => {
let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && oh(i);
n && r && !a && this.start(t);
}), n, r = () => {
let { dragConstraints: t } = this.getProps();
- Kg(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= sre(e, t.current, () => this.scalePositionWithinConstraints()));
+ Kg(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= ore(e, t.current, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), Xu.read(r);
let o = lg(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
@@ -18866,30 +18866,30 @@ var ire = /* @__PURE__ */ new WeakMap(), are = class {
};
}
};
-function ore(e) {
+function are(e) {
let t = !0;
return () => {
t ? t = !1 : e();
};
}
-function sre(e, t, n) {
- let r = Ree(e, ore(n)), i = Ree(t, ore(n));
+function ore(e, t, n) {
+ let r = Ree(e, are(n)), i = Ree(t, are(n));
return () => {
r(), i();
};
}
-function l_(e, t, n) {
+function u_(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function cre(e, t = 10) {
+function sre(e, t = 10) {
let n = null;
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs
-var lre = class extends Fh {
+var cre = class extends Fh {
constructor(e) {
- super(e), this.removeGroupControls = Qc, this.removeListeners = Qc, this.controls = new are(e);
+ super(e), this.removeGroupControls = Qc, this.removeListeners = Qc, this.controls = new ire(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
@@ -18902,9 +18902,9 @@ var lre = class extends Fh {
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, u_ = (e) => (t, n) => {
+}, d_ = (e) => (t, n) => {
e && Xu.update(() => e(t, n), !1, !0);
-}, ure = class extends Fh {
+}, lre = class extends Fh {
constructor() {
super(...arguments), this.removePointerDownListener = Qc;
}
@@ -18917,9 +18917,9 @@ var lre = class extends Fh {
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: u_(e),
- onStart: u_(t),
- onMove: u_(n),
+ onSessionStart: d_(e),
+ onStart: d_(t),
+ onMove: d_(n),
onEnd: (e, t) => {
delete this.session, r && Xu.postRender(() => r(e, t));
}
@@ -18934,10 +18934,10 @@ var lre = class extends Fh {
unmount() {
this.removePointerDownListener(), this.session && this.session.end();
}
-}, d_ = !1, dre = class extends b.Component {
+}, f_ = !1, ure = class extends b.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), d_ && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), f_ && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
this.safeToRemove();
}), i.setOptions({
...i.options,
@@ -18950,7 +18950,7 @@ var lre = class extends Fh {
return a && (a.isPresent = i, e.layoutDependency !== t && a.setOptions({
...a.options,
layoutDependency: t
- }), d_ = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || Xu.postRender(() => {
+ }), f_ = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || Xu.postRender(() => {
let e = a.getStack();
(!e || !e.members.length) && this.safeToRemove();
}))), null;
@@ -18963,7 +18963,7 @@ var lre = class extends Fh {
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- d_ = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
+ f_ = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
}
safeToRemove() {
let { safeToRemove: e } = this.props;
@@ -18973,9 +18973,9 @@ var lre = class extends Fh {
return null;
}
};
-function fre(e) {
+function dre(e) {
let [t, n] = Ag(), r = (0, b.useContext)(Bc);
- return (0, x.jsx)(dre, {
+ return (0, x.jsx)(ure, {
...e,
layoutGroup: r,
switchLayoutGroup: (0, b.useContext)(Gg),
@@ -18985,29 +18985,29 @@ function fre(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var pre = {
- pan: { Feature: ure },
+var fre = {
+ pan: { Feature: lre },
drag: {
- Feature: lre,
+ Feature: cre,
ProjectionNode: Dg,
- MeasureLayout: fre
+ MeasureLayout: dre
}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/hover.mjs
-function mre(e, t, n) {
+function pre(e, t, n) {
let { props: r } = e;
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
let i = r["onHover" + n];
i && Xu.postRender(() => i(t, Yg(t)));
}
-var hre = class extends Fh {
+var mre = class extends Fh {
mount() {
let { current: e } = this.node;
- e && (this.unmount = eh(e, (e, t) => (mre(this.node, t, "Start"), (e) => mre(this.node, e, "End"))));
+ e && (this.unmount = eh(e, (e, t) => (pre(this.node, t, "Start"), (e) => pre(this.node, e, "End"))));
}
unmount() {}
-}, gre = class extends Fh {
+}, hre = class extends Fh {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -19030,51 +19030,51 @@ var hre = class extends Fh {
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/press.mjs
-function _re(e, t, n) {
+function gre(e, t, n) {
let { props: r } = e;
if (e.current instanceof HTMLButtonElement && e.current.disabled) return;
e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");
let i = r["onTap" + (n === "End" ? "" : n)];
i && Xu.postRender(() => i(t, Yg(t)));
}
-var vre = class extends Fh {
+var _re = class extends Fh {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = fh(e, (e, t) => (_re(this.node, t, "Start"), (e, { success: t }) => _re(this.node, e, t ? "End" : "Cancel")), {
+ this.unmount = fh(e, (e, t) => (gre(this.node, t, "Start"), (e, { success: t }) => gre(this.node, e, t ? "End" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, f_ = /* @__PURE__ */ new WeakMap(), p_ = /* @__PURE__ */ new WeakMap(), yre = (e) => {
- let t = f_.get(e.target);
+}, p_ = /* @__PURE__ */ new WeakMap(), m_ = /* @__PURE__ */ new WeakMap(), vre = (e) => {
+ let t = p_.get(e.target);
t && t(e);
-}, bre = (e) => {
- e.forEach(yre);
+}, yre = (e) => {
+ e.forEach(vre);
};
-function xre({ root: e, ...t }) {
+function bre({ root: e, ...t }) {
let n = e || document;
- p_.has(n) || p_.set(n, {});
- let r = p_.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(bre, {
+ m_.has(n) || m_.set(n, {});
+ let r = m_.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(yre, {
root: e,
...t
})), r[i];
}
-function Sre(e, t, n) {
- let r = xre(t);
- return f_.set(e, n), r.observe(e), () => {
- f_.delete(e), r.unobserve(e);
+function xre(e, t, n) {
+ let r = bre(t);
+ return p_.set(e, n), r.observe(e), () => {
+ p_.delete(e), r.unobserve(e);
};
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var Cre = {
+var Sre = {
some: 0,
all: 1
-}, wre = class extends Fh {
+}, Cre = class extends Fh {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -19083,7 +19083,7 @@ var Cre = {
let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {
root: t ? t.current : void 0,
rootMargin: n,
- threshold: typeof r == "number" ? r : Cre[r]
+ threshold: typeof r == "number" ? r : Sre[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -19091,7 +19091,7 @@ var Cre = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = Sre(this.node.current, a, o);
+ this.stopObserver = xre(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -19103,34 +19103,34 @@ var Cre = {
"amount",
"margin",
"root"
- ].some(Tre(e, t)) && this.startObserver();
+ ].some(wre(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function Tre({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function wre({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs
-var Ere = {
- inView: { Feature: wre },
- tap: { Feature: vre },
- focus: { Feature: gre },
- hover: { Feature: hre }
-}, Dre = { layout: {
+var Tre = {
+ inView: { Feature: Cre },
+ tap: { Feature: _re },
+ focus: { Feature: hre },
+ hover: { Feature: mre }
+}, Ere = { layout: {
ProjectionNode: Dg,
- MeasureLayout: fre
-} }, Ore = /*@__PURE__*/ Hne({
+ MeasureLayout: dre
+} }, Dre = /*@__PURE__*/ Hne({
...Kne,
- ...Ere,
- ...pre,
- ...Dre
+ ...Tre,
+ ...fre,
+ ...Ere
}, Une);
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs
-function kre(e, t, n) {
+function Ore(e, t, n) {
(0, b.useInsertionEffect)(() => e.on(t, n), [
e,
t,
@@ -19139,7 +19139,7 @@ function kre(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-motion-value.mjs
-function m_(e) {
+function h_(e) {
let t = Vc(() => op(e)), { isStatic: n } = (0, b.useContext)(Og);
if (n) {
let [, n] = (0, b.useState)(e);
@@ -19149,8 +19149,8 @@ function m_(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-combine-values.mjs
-function Are(e, t) {
- let n = m_(t()), r = () => n.set(t());
+function kre(e, t) {
+ let n = h_(t()), r = () => n.set(t());
return r(), Hc(() => {
let t = () => Xu.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
return () => {
@@ -19160,17 +19160,17 @@ function Are(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-computed.mjs
-function jre(e) {
+function Are(e) {
ip.current = [], e();
- let t = Are(ip.current, e);
+ let t = kre(ip.current, e);
return ip.current = void 0, t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-transform.mjs
-function h_(e, t, n, r) {
- if (typeof e == "function") return jre(e);
- if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return Nre(e, t, n, r);
- let i = typeof t == "function" ? t : Bee(t, n, r), a = Array.isArray(e) ? Mre(e, i) : Mre([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
+function g_(e, t, n, r) {
+ if (typeof e == "function") return Are(e);
+ if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return Mre(e, t, n, r);
+ let i = typeof t == "function" ? t : Bee(t, n, r), a = Array.isArray(e) ? jre(e, i) : jre([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
if (o && !o.isTransformed && typeof t != "function" && Array.isArray(n) && r?.clamp !== !1) {
let e = r?.ease;
a.accelerate = {
@@ -19191,70 +19191,70 @@ function h_(e, t, n, r) {
}
return a;
}
-function Mre(e, t) {
+function jre(e, t) {
let n = Vc(() => []);
- return Are(e, () => {
+ return kre(e, () => {
n.length = 0;
let r = e.length;
for (let t = 0; t < r; t++) n[t] = e[t].get();
return t(n);
});
}
-function Nre(e, t, n, r) {
+function Mre(e, t, n, r) {
let i = Vc(() => Object.keys(n)), a = Vc(() => ({}));
- for (let o of i) a[o] = h_(e, t, n[o], r);
+ for (let o of i) a[o] = g_(e, t, n[o], r);
return a;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-follow-value.mjs
-function Pre(e, t, n) {
+function Nre(e, t, n) {
let { isStatic: r } = (0, b.useContext)(Og), i = () => Dp(e) ? e.get() : e;
- if (r) return h_(i);
- let a = m_(i());
+ if (r) return g_(i);
+ let a = h_(i());
return (0, b.useInsertionEffect)(() => n(a, e, t), [a, JSON.stringify(t)]), a;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-spring.mjs
-function Fre(e, t = {}) {
- return Pre(e, t, Gee);
+function Pre(e, t = {}) {
+ return Nre(e, t, Gee);
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function g_() {
+function __() {
!Nh.current && $ee();
let [e] = (0, b.useState)(Mh.current);
return e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs
-function __(e) {
+function v_(e) {
return typeof e == "object" && !Array.isArray(e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs
-function Ire(e, t, n, r) {
- return e == null ? [] : typeof e == "string" && __(t) ? tm(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
+function Fre(e, t, n, r) {
+ return e == null ? [] : typeof e == "string" && v_(t) ? tm(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs
-function Lre(e, t, n) {
+function Ire(e, t, n) {
return e * (t + 1) + n * t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs
-function Rre(e, t, n, r) {
+function Lre(e, t, n, r) {
return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs
-function zre(e, t, n) {
+function Rre(e, t, n) {
for (let r = 0; r < e.length; r++) {
let i = e[r];
i.at > t && i.at < n && (Gc(e, i), r--);
}
}
-function Bre(e, t, n, r, i, a) {
- zre(e, i, a);
+function zre(e, t, n, r, i, a) {
+ Rre(e, i, a);
for (let o = 0; o < t.length; o++) e.push({
value: t[o],
at: ku(i, a, r[o]),
@@ -19263,19 +19263,19 @@ function Bre(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs
-function Vre(e, t, n = 0) {
+function Bre(e, t, n = 0) {
let r = t + 1 + t * n;
for (let t = 0; t < e.length; t++) e[t] = e[t] / r;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs
-function Hre(e, t) {
+function Vre(e, t) {
return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/sequence/create.mjs
-var Ure = "easeInOut", Wre = 20;
-function Gre(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
+var Hre = "easeInOut", Ure = 20;
+function Wre(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
let a = t.duration || .3, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = {}, l = /* @__PURE__ */ new Map(), u = 0, d = 0, f = 0;
for (let n = 0; n < e.length; n++) {
let o = e[n];
@@ -19284,16 +19284,16 @@ function Gre(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
continue;
}
if (!Array.isArray(o)) {
- l.set(o.name, Rre(d, o.at, u, l));
+ l.set(o.name, Lre(d, o.at, u, l));
continue;
}
let [p, m, h = {}] = o;
- h.at !== void 0 && (d = Rre(d, h.at, u, l));
+ h.at !== void 0 && (d = Lre(d, h.at, u, l));
let g = 0, _ = (e, n, r, o = 0, s = 0) => {
- let c = Jre(e), { delay: l = 0, times: u = bd(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = Ff(p) ? p : i?.[p || "keyframes"];
+ let c = qre(e), { delay: l = 0, times: u = bd(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = Ff(p) ? p : i?.[p || "keyframes"];
if (S <= 2 && C) {
let e = 100;
- if (S === 2 && Zre(c)) {
+ if (S === 2 && Xre(c)) {
let t = c[1] - c[0];
e = Math.abs(t);
}
@@ -19309,9 +19309,9 @@ function Gre(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
let w = d + x;
u.length === 1 && u[0] === 0 && (u[1] = 1);
let T = u.length - c.length;
- if (T > 0 && yd(u, T), c.length === 1 && c.unshift(null), m && `${m}${Wre}`, m && m < Wre) {
+ if (T > 0 && yd(u, T), c.length === 1 && c.unshift(null), m && `${m}${Ure}`, m && m < Ure) {
let e = b > 0 ? _ / b : 0;
- b = Lre(b, m, _);
+ b = Ire(b, m, _);
let t = [...c], n = [...u];
y = Array.isArray(y) ? [...y] : [y];
let r = [...y], i = h === "reverse" || h === "mirror", a = t, o = r;
@@ -19321,20 +19321,20 @@ function Gre(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
e > 0 && (c.push(c[c.length - 1]), u.push(p), y.push("linear")), c.push(...d);
for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ Cl(f, e - 1));
}
- Vre(u, m, e);
+ Bre(u, m, e);
}
let E = w + b;
- Bre(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);
+ zre(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);
};
if (Dp(p)) {
- let e = Kre(p, s);
- _(m, h, qre("default", e));
+ let e = Gre(p, s);
+ _(m, h, Kre("default", e));
} else {
- let e = Ire(p, m, r, c), t = e.length;
+ let e = Fre(p, m, r, c), t = e.length;
for (let n = 0; n < t; n++) {
m = m, h = h;
- let r = e[n], i = Kre(r, s);
- for (let e in m) _(m[e], Yre(h, e), qre(e, i), n, t);
+ let r = e[n], i = Gre(r, s);
+ for (let e in m) _(m[e], Jre(h, e), Kre(e, i), n, t);
}
}
u = d, d += g;
@@ -19342,13 +19342,13 @@ function Gre(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
return s.forEach((e, r) => {
for (let i in e) {
let a = e[i];
- a.sort(Hre);
+ a.sort(Vre);
let s = [], c = [], l = [];
for (let e = 0; e < a.length; e++) {
let { at: t, value: n, easing: r } = a[e];
s.push(n), c.push(/* @__PURE__ */ el(0, f, t)), l.push(r || "easeOut");
}
- c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Ure)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {
+ c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Hre)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {
keyframes: {},
transition: {}
});
@@ -19365,33 +19365,33 @@ function Gre(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
}
}), o;
}
-function Kre(e, t) {
+function Gre(e, t) {
return !t.has(e) && t.set(e, {}), t.get(e);
}
-function qre(e, t) {
+function Kre(e, t) {
return t[e] || (t[e] = []), t[e];
}
-function Jre(e) {
+function qre(e) {
return Array.isArray(e) ? e : [e];
}
-function Yre(e, t) {
+function Jre(e, t) {
return e && e[t] ? {
...e,
...e[t]
} : { ...e };
}
-var Xre = (e) => typeof e == "number", Zre = (e) => e.every(Xre);
+var Yre = (e) => typeof e == "number", Xre = (e) => e.every(Yre);
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animate/subject.mjs
-function Qre(e, t) {
- return Dp(e) || typeof e == "number" || typeof e == "string" && !__(t);
+function Zre(e, t) {
+ return Dp(e) || typeof e == "number" || typeof e == "string" && !v_(t);
}
-function $re(e, t, n, r) {
+function Qre(e, t, n, r) {
let i = [];
- if (Qre(e, t)) i.push(cg(e, __(t) && t.default || t, n && (n.default || n)));
+ if (Zre(e, t)) i.push(cg(e, v_(t) && t.default || t, n && (n.default || n)));
else {
if (e == null) return i;
- let a = Ire(e, t, r), o = a.length;
+ let a = Fre(e, t, r), o = a.length;
for (let e = 0; e < o; e++) {
let r = a[e], s = { ...n };
"delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...Km(r, t, s, Jee.get(r))) : i.push(...Xp(Jp(r) ?? qm, r, t, s));
@@ -19401,9 +19401,9 @@ function $re(e, t, n, r) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animate/sequence.mjs
-function eie(e, t, n) {
+function $re(e, t, n) {
let r = [];
- return Gre(e.map((e) => {
+ return Wre(e.map((e) => {
if (Array.isArray(e) && typeof e[0] == "function") {
let t = e[0], n = op(0);
return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [
@@ -19418,27 +19418,27 @@ function eie(e, t, n) {
}
return e;
}), t, n, { spring: hd }).forEach(({ keyframes: e, transition: t }, n) => {
- r.push(...$re(n, e, t));
+ r.push(...Qre(n, e, t));
}), r;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animate/index.mjs
-function tie(e) {
+function eie(e) {
return Array.isArray(e) && e.some(Array.isArray);
}
-function nie(e = {}) {
+function tie(e = {}) {
let { scope: t, reduceMotion: n, skipAnimations: r } = e;
function i(e, i, a) {
let o = [], s, c = {};
- if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), tie(e)) {
+ if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), eie(e)) {
let { onComplete: n, ...r } = i || {};
- typeof n == "function" && (s = n), o = eie(e, {
+ typeof n == "function" && (s = n), o = $re(e, {
...c,
...r
}, t);
} else {
let { onComplete: n, ...r } = a || {};
- typeof n == "function" && (s = n), o = $re(e, i, {
+ typeof n == "function" && (s = n), o = Qre(e, i, {
...c,
...r
}, t);
@@ -19450,13 +19450,13 @@ function nie(e = {}) {
}
return i;
}
-var rie = Object.assign(nie(), {
+var nie = Object.assign(tie(), {
addEffect: Kp,
removeEffect: qp
});
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function iie(e, t, n, r) {
+function rie(e, t, n, r) {
if (e == null) return [];
let i = tm(e, r), a = i.length, o = [];
for (let e = 0; e < a; e++) {
@@ -19492,12 +19492,12 @@ function iie(e, t, n, r) {
}
return s;
}
-var aie = /*@__PURE__*/ ((e) => {
+var iie = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new Zf(iie(t, n, r, e));
+ return new Zf(rie(t, n, r, e));
}
return t;
-})(), v_ = Ore, y_ = class {
+})(), y_ = Dre, b_ = class {
constructor(e) {
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;
}
@@ -19512,22 +19512,22 @@ var aie = /*@__PURE__*/ ((e) => {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, b_ = class extends y_ {
+}, x_ = class extends b_ {
filter(e, t, n) {
- let [r, i] = lie(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = cie(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends y_ {
+(class extends b_ {
static {
this.type = "header";
}
});
-var x_ = class extends y_ {
+var S_ = class extends b_ {
static {
this.type = "loader";
}
-}, oie = class extends b_ {
+}, aie = class extends x_ {
static {
this.type = "item";
}
@@ -19538,7 +19538,7 @@ var x_ = class extends y_ {
}
return null;
}
-}, sie = class extends b_ {
+}, oie = class extends x_ {
static {
this.type = "section";
}
@@ -19550,7 +19550,7 @@ var x_ = class extends y_ {
}
return null;
}
-}, cie = class {
+}, sie = class {
get size() {
return this.itemCount;
}
@@ -19625,14 +19625,14 @@ var x_ = class extends y_ {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = lie(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = cie(this, t, this.firstKey, e);
return t?.commit(n, r), t;
}
constructor() {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
}
};
-function lie(e, t, n, r) {
+function cie(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -19647,7 +19647,7 @@ function lie(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/collections/Document.mjs
-var uie = class {
+var lie = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -19728,7 +19728,7 @@ var uie = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, S_ = class e extends uie {
+}, C_ = class e extends lie {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -19779,7 +19779,7 @@ var uie = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, die = class extends uie {
+}, uie = class extends lie {
constructor(e) {
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.keyOwners = /* @__PURE__ */ new Map(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
}
@@ -19787,7 +19787,7 @@ var uie = class {
return !0;
}
createElement(e) {
- return new S_(e, this);
+ return new C_(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -19809,8 +19809,8 @@ var uie = class {
return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof S_ && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof S_ ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
+ for (let e of this.dirtyNodes) e instanceof C_ && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof C_ ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));
}
queueUpdate() {
@@ -19829,13 +19829,13 @@ var uie = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function C_(e) {
+function w_(e) {
let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, b.useMemo)(() => void 0, [t]), s = (0, b.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
return (0, b.useMemo)(() => {
if (n && typeof t == "function") {
let e = [];
for (let a of n) {
- let n = fie(a) ? a : null, o = n ? s.get(n) : null;
+ let n = die(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
@@ -19860,7 +19860,7 @@ function C_(e) {
i
]);
}
-function fie(e) {
+function die(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -19870,25 +19870,25 @@ function fie(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function w_(e) {
+function T_(e) {
e.focus({ preventScroll: !0 });
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var T_ = (e) => pie(e) ? e.document : mie(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), E_ = (e) => T_(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function D_(e) {
+var E_ = (e) => fie(e) ? e.document : pie(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), D_ = (e) => E_(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function O_(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
-function pie(e) {
+function fie(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
-function mie(e) {
- return D_(e) && e.nodeType === 9;
+function pie(e) {
+ return O_(e) && e.nodeType === 9;
}
-function O_(e) {
- return D_(e) && e.nodeType === 11 && "host" in e;
+function k_(e) {
+ return O_(e) && e.nodeType === 11 && "host" in e;
}
-function k_(e, t, n, r) {
+function A_(e, t, n, r) {
if (n == null || e == null) return () => {};
let i = Array.isArray(e) ? e : [e];
for (let e of i) e.addEventListener(t, n, r);
@@ -19896,7 +19896,7 @@ function k_(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function A_(e, t, n, r) {
+function j_(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -19911,73 +19911,73 @@ function A_(e, t, n, r) {
}
//#endregion
//#region node_modules/react-stately/dist/private/flags/flags.mjs
-var hie = !1;
-function j_() {
- return hie;
+var mie = !1;
+function M_() {
+ return mie;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function M_(e, t) {
- if (!j_()) return t && e ? e.contains(t) : !1;
+function N_(e, t) {
+ if (!M_()) return t && e ? e.contains(t) : !1;
if (!e || !t) return !1;
let n = t;
for (; n != null;) {
if (n === e) return !0;
- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : O_(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : k_(n) ? n.host : n.parentNode;
}
return !1;
}
-var N_ = (e = document) => {
- if (!j_()) return e.activeElement;
+var P_ = (e = document) => {
+ if (!M_()) return e.activeElement;
let t = e.activeElement;
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
return t;
};
-function P_(e) {
- if (j_() && e.target instanceof Element && e.target.shadowRoot) {
+function F_(e) {
+ if (M_() && e.target instanceof Element && e.target.shadowRoot) {
if ("composedPath" in e) return e.composedPath()[0] ?? null;
if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;
}
return e.target;
}
-function gie(e, t) {
+function hie(e, t) {
if (t === null) return [];
- t ??= E_(e);
+ t ??= D_(e);
let n = [t];
- if (!j_() || !e || e === t) return n;
+ if (!M_() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; O_(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; k_(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function F_(e) {
+function I_(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = E_(e);
+ let t = e.getRootNode(), n = D_(e);
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
let r = t.activeElement;
return r != null && e.contains(r);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs
-var _ie = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function vie(e) {
- let t = E_(e);
+var gie = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function _ie(e) {
+ let t = D_(e);
if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;
let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";
if (i) {
- let { getComputedStyle: t } = E_(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = D_(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function yie(e, t) {
+function vie(e, t) {
return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);
}
-function I_(e, t) {
- return _ie ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && vie(e) && yie(e, t) && (!e.parentElement || I_(e.parentElement, e));
+function L_(e, t) {
+ return gie ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && _ie(e) && vie(e, t) && (!e.parentElement || L_(e.parentElement, e));
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var L_ = [
+var R_ = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -19992,60 +19992,60 @@ var L_ = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], bie = L_.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-L_.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var xie = L_.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function R_(e, t) {
- return e.matches(bie) && !Sie(e) && (t?.skipVisibilityCheck || I_(e));
+], yie = R_.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+R_.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var bie = R_.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function z_(e, t) {
+ return e.matches(yie) && !xie(e) && (t?.skipVisibilityCheck || L_(e));
}
-function z_(e) {
- return e.matches(xie) && I_(e) && !Sie(e);
+function B_(e) {
+ return e.matches(bie) && L_(e) && !xie(e);
}
-function Sie(e) {
+function xie(e) {
let t = e;
for (; t != null;) {
- if (t instanceof E_(t).HTMLElement && t.inert) return !0;
+ if (t instanceof D_(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var B_ = typeof document < "u" ? b.useLayoutEffect : () => {};
+var V_ = typeof document < "u" ? b.useLayoutEffect : () => {};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/utils.mjs
-function V_(e) {
+function H_(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function Cie(e, t) {
+function Sie(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function wie(e) {
+function Cie(e) {
let t = (0, b.useRef)({
isFocused: !1,
observer: null
});
- return B_(() => {
+ return V_(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
};
}, []), (0, b.useCallback)((n) => {
- let r = P_(n);
+ let r = F_(n);
if (r instanceof HTMLButtonElement || r instanceof HTMLInputElement || r instanceof HTMLTextAreaElement || r instanceof HTMLSelectElement) {
t.current.isFocused = !0;
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = V_(r);
+ let t = H_(r);
e?.(t);
}
t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
}, { once: !0 }), t.current.observer = new MutationObserver(() => {
if (t.current.isFocused && n.disabled) {
t.current.observer?.disconnect();
- let e = n === N_() ? null : N_();
+ let e = n === P_() ? null : P_();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -20058,83 +20058,83 @@ function wie(e) {
}
}, [e]);
}
-var H_ = !1;
-function Tie(e) {
- for (; e && !R_(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = N_(E_(e).document);
+var U_ = !1;
+function wie(e) {
+ for (; e && !z_(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = P_(D_(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && O_(n) ? n : E_(e), i = (t) => t === e || D_(t) && M_(e, t), a = (e) => e === t || t != null && D_(e) && M_(t, e);
- H_ = !0;
+ let n = e?.getRootNode(), r = n != null && k_(n) ? n : D_(e), i = (t) => t === e || O_(t) && N_(e, t), a = (e) => e === t || t != null && O_(e) && N_(t, e);
+ U_ = !0;
let o = !1, s = (e) => {
- (a(P_(e)) || o) && e.stopImmediatePropagation();
+ (a(F_(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(P_(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, w_(t), d()));
+ (a(F_(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, T_(t), d()));
}, l = (e) => {
- (i(P_(e)) || o) && e.stopImmediatePropagation();
+ (i(F_(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(P_(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, w_(t), d()));
+ (i(F_(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, T_(t), d()));
};
r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);
let d = () => {
- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), H_ = !1, o = !1;
+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), U_ = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/platform.mjs
-function U_(e) {
+function W_(e) {
if (typeof window > "u" || window.navigator == null) return !1;
let t = window.navigator.userAgentData?.brands;
return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);
}
-function W_(e) {
+function G_(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function G_(e) {
+function K_(e) {
let t = null;
return () => (t ??= e(), t);
}
-var K_ = G_(function() {
- return W_(/^Mac/i);
-}), Eie = G_(function() {
- return W_(/^iPhone/i);
-}), Die = G_(function() {
- return W_(/^iPad/i) || K_() && navigator.maxTouchPoints > 1;
-}), q_ = G_(function() {
- return Eie() || Die();
-}), Oie = G_(function() {
- return K_() || q_();
-}), J_ = G_(function() {
- return U_(/AppleWebKit/i) && (q_() || !kie());
-}), kie = G_(function() {
- return U_(/Chrome|CriOS|CrMo/i);
-}), Y_ = G_(function() {
- return U_(/Android/i);
+var q_ = K_(function() {
+ return G_(/^Mac/i);
+}), Tie = K_(function() {
+ return G_(/^iPhone/i);
+}), Eie = K_(function() {
+ return G_(/^iPad/i) || q_() && navigator.maxTouchPoints > 1;
+}), J_ = K_(function() {
+ return Tie() || Eie();
+}), Die = K_(function() {
+ return q_() || J_();
+}), Y_ = K_(function() {
+ return W_(/AppleWebKit/i) && (J_() || !Oie());
+}), Oie = K_(function() {
+ return W_(/Chrome|CriOS|CrMo/i);
+}), X_ = K_(function() {
+ return W_(/Android/i);
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function Aie(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : Y_() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+function kie(e) {
+ return e.pointerType === "" && e.isTrusted ? !0 : X_() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
}
-function jie(e) {
- return !Y_() && e.width === 0 && e.height === 0 || Y_() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+function Aie(e) {
+ return !X_() && e.width === 0 && e.height === 0 || X_() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/openLink.mjs
-var Mie = /*#__PURE__*/ (0, b.createContext)({
+var jie = /*#__PURE__*/ (0, b.createContext)({
isNative: !0,
- open: Fie,
+ open: Pie,
useHref: (e) => e
});
-function X_() {
- return (0, b.useContext)(Mie);
+function Z_() {
+ return (0, b.useContext)(jie);
}
-function Nie(e, t) {
+function Mie(e, t) {
let n = e.getAttribute("target");
return (!n || n === "_self") && e.origin === location.origin && !e.hasAttribute("download") && !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey;
}
-function Z_(e, t, n = !0) {
- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = J_() && K_() && !Die() ? new KeyboardEvent("keydown", {
+function Q_(e, t, n = !0) {
+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = Y_() && q_() && !Eie() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -20149,21 +20149,21 @@ function Z_(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- Z_.isOpening = n, w_(e), e.dispatchEvent(s), Z_.isOpening = !1;
+ Q_.isOpening = n, T_(e), e.dispatchEvent(s), Q_.isOpening = !1;
}
-Z_.isOpening = !1;
-function Pie(e, t) {
+Q_.isOpening = !1;
+function Nie(e, t) {
if (e instanceof HTMLAnchorElement) t(e);
else if (e.hasAttribute("data-href")) {
let n = document.createElement("a");
n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);
}
}
-function Fie(e, t) {
- Pie(e, (e) => Z_(e, t));
+function Pie(e, t) {
+ Nie(e, (e) => Q_(e, t));
}
-function Iie(e) {
- let t = X_().useHref(e.href ?? "");
+function Fie(e) {
+ let t = Z_().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -20173,8 +20173,8 @@ function Iie(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function Q_(e) {
- let t = X_().useHref(e?.href ?? ""), n = {};
+function $_(e) {
+ let t = Z_().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -20185,140 +20185,140 @@ function Q_(e) {
]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);
return n;
}
-function Lie(e, t, n, r) {
- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Nie(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
+function Iie(e, t, n, r) {
+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Mie(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
}
//#endregion
//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var Rie = {
+var Lie = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, zie = /*#__PURE__*/ b.createContext(Rie), Bie = /*#__PURE__*/ b.createContext(!1);
+}, Rie = /*#__PURE__*/ b.createContext(Lie), zie = /*#__PURE__*/ b.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var $_ = /* @__PURE__ */ new WeakMap();
-function Vie(e = !1) {
- let t = (0, b.useContext)(zie), n = (0, b.useRef)(null);
+var ev = /* @__PURE__ */ new WeakMap();
+function Bie(e = !1) {
+ let t = (0, b.useContext)(Rie), n = (0, b.useRef)(null);
if (n.current === null && !e) {
let e = b.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
if (e) {
- let n = $_.get(e);
- n == null ? $_.set(e, {
+ let n = ev.get(e);
+ n == null ? ev.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, $_.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, ev.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function Hie(e) {
- let t = (0, b.useContext)(zie), n = Vie(!!e), r = `react-aria${t.prefix}`;
+function Vie(e) {
+ let t = (0, b.useContext)(Rie), n = Bie(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function Uie(e) {
- let t = b.useId(), [n] = (0, b.useState)(ev()), r = n ? "react-aria" : `react-aria${Rie.prefix}`;
+function Hie(e) {
+ let t = b.useId(), [n] = (0, b.useState)(tv()), r = n ? "react-aria" : `react-aria${Lie.prefix}`;
return e || `${r}-${t}`;
}
-var Wie = typeof b.useId == "function" ? Uie : Hie;
-function Gie() {
+var Uie = typeof b.useId == "function" ? Hie : Vie;
+function Wie() {
return !1;
}
-function Kie() {
+function Gie() {
return !0;
}
-function qie(e) {
+function Kie(e) {
return () => {};
}
-function ev() {
- return typeof b.useSyncExternalStore == "function" ? b.useSyncExternalStore(qie, Gie, Kie) : (0, b.useContext)(Bie);
+function tv() {
+ return typeof b.useSyncExternalStore == "function" ? b.useSyncExternalStore(Kie, Wie, Gie) : (0, b.useContext)(zie);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var tv = null, nv = /* @__PURE__ */ new Set(), rv = /* @__PURE__ */ new Map(), iv = !1, av = !1, Jie = {
+var nv = null, rv = /* @__PURE__ */ new Set(), iv = /* @__PURE__ */ new Map(), av = !1, ov = !1, qie = {
Tab: !0,
Escape: !0
};
-function ov(e, t) {
- for (let n of nv) n(e, t);
+function sv(e, t) {
+ for (let n of rv) n(e, t);
}
-function Yie(e) {
- return !(e.metaKey || !K_() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
-}
-function sv(e) {
- iv = !0, !Z_.isOpening && Yie(e) && (tv = "keyboard", ov("keyboard", e));
+function Jie(e) {
+ return !(e.metaKey || !q_() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
function cv(e) {
- tv = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (iv = !0, ov("pointer", e));
+ av = !0, !Q_.isOpening && Jie(e) && (nv = "keyboard", sv("keyboard", e));
}
-function Xie(e) {
- !Z_.isOpening && Aie(e) && (iv = !0, tv = "virtual");
+function lv(e) {
+ nv = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (av = !0, sv("pointer", e));
+}
+function Yie(e) {
+ !Q_.isOpening && kie(e) && (av = !0, nv = "virtual");
}
-function Zie(e) {
- if (H_) return;
- let t = P_(e), n = E_(t), r = T_(t);
- t === n ? av = !0 : t !== r && e.isTrusted && (!iv && !av && (tv = "virtual", ov("virtual", e)), iv = !1, av = !1);
+function Xie(e) {
+ if (U_) return;
+ let t = F_(e), n = D_(t), r = E_(t);
+ t === n ? ov = !0 : t !== r && e.isTrusted && (!av && !ov && (nv = "virtual", sv("virtual", e)), av = !1, ov = !1);
}
-function Qie() {
- H_ || (iv = !1, av = !0);
+function Zie() {
+ U_ || (av = !1, ov = !0);
}
-function $ie(e) {
- let t = N_(T_(P_(e)));
+function Qie(e) {
+ let t = P_(E_(F_(e)));
queueMicrotask(() => {
- N_(T_(P_(e))) !== t && fv("keyboard");
+ P_(E_(F_(e))) !== t && pv("keyboard");
});
}
-function lv(e) {
+function uv(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = E_(e), n = T_(e);
- if (rv.get(t)) return;
+ let t = D_(e), n = E_(e);
+ if (iv.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- iv = !0, r.apply(this, arguments);
+ av = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", sv, !0), n.addEventListener("keyup", sv, !0), n.addEventListener("click", Xie, !0), n.addEventListener("invalid", $ie, !0), t.addEventListener("focus", Zie, !0), t.addEventListener("blur", Qie, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", cv, !0), n.addEventListener("pointermove", cv, !0), n.addEventListener("pointerup", cv, !0)), t.addEventListener("beforeunload", () => {
- eae(e);
- }, { once: !0 }), rv.set(t, { focus: r });
+ }), n.addEventListener("keydown", cv, !0), n.addEventListener("keyup", cv, !0), n.addEventListener("click", Yie, !0), n.addEventListener("invalid", Qie, !0), t.addEventListener("focus", Xie, !0), t.addEventListener("blur", Zie, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", lv, !0), n.addEventListener("pointermove", lv, !0), n.addEventListener("pointerup", lv, !0)), t.addEventListener("beforeunload", () => {
+ $ie(e);
+ }, { once: !0 }), iv.set(t, { focus: r });
}
-var eae = (e, t) => {
- let n = E_(e), r = T_(e);
- t && r.removeEventListener("DOMContentLoaded", t), rv.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var $ie = (e, t) => {
+ let n = D_(e), r = E_(e);
+ t && r.removeEventListener("DOMContentLoaded", t), iv.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: rv.get(n).focus
- }), r.removeEventListener("keydown", sv, !0), r.removeEventListener("keyup", sv, !0), r.removeEventListener("click", Xie, !0), r.removeEventListener("invalid", $ie, !0), n.removeEventListener("focus", Zie, !0), n.removeEventListener("blur", Qie, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", cv, !0), r.removeEventListener("pointermove", cv, !0), r.removeEventListener("pointerup", cv, !0)), rv.delete(n));
+ value: iv.get(n).focus
+ }), r.removeEventListener("keydown", cv, !0), r.removeEventListener("keyup", cv, !0), r.removeEventListener("click", Yie, !0), r.removeEventListener("invalid", Qie, !0), n.removeEventListener("focus", Xie, !0), n.removeEventListener("blur", Zie, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", lv, !0), r.removeEventListener("pointermove", lv, !0), r.removeEventListener("pointerup", lv, !0)), iv.delete(n));
};
-function tae(e) {
- let t = T_(e), n;
+function eae(e) {
+ let t = E_(e), n;
return t.readyState === "loading" ? (n = () => {
- lv(e);
- }, t.addEventListener("DOMContentLoaded", n)) : lv(e), () => eae(e, n);
-}
-typeof document < "u" && tae();
-function uv() {
- return tv !== "pointer";
+ uv(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : uv(e), () => $ie(e, n);
}
+typeof document < "u" && eae();
function dv() {
- return tv;
+ return nv !== "pointer";
}
-function fv(e) {
- tv = e, ov(e, null);
+function fv() {
+ return nv;
}
-function nae() {
- lv();
- let [e, t] = (0, b.useState)(tv);
+function pv(e) {
+ nv = e, sv(e, null);
+}
+function tae() {
+ uv();
+ let [e, t] = (0, b.useState)(nv);
return (0, b.useEffect)(() => {
let e = () => {
- t(tv);
+ t(nv);
};
- return nv.add(e), () => {
- nv.delete(e);
+ return rv.add(e), () => {
+ rv.delete(e);
};
- }, []), ev() ? null : e;
+ }, []), tv() ? null : e;
}
-var rae = /* @__PURE__ */ new Set([
+var nae = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -20329,90 +20329,90 @@ var rae = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function iae(e, t, n) {
- let r = n ? P_(n) : void 0, i = T_(r), a = E_(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = N_(i);
- return e = e || u instanceof o && !rae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Jie[n.key]);
+function rae(e, t, n) {
+ let r = n ? F_(n) : void 0, i = E_(r), a = D_(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = P_(i);
+ return e = e || u instanceof o && !nae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !qie[n.key]);
}
-function aae(e = {}) {
- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, b.useState)(n || uv());
- return oae((e) => {
+function iae(e = {}) {
+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, b.useState)(n || dv());
+ return aae((e) => {
i(e);
}, [t], { isTextInput: t }), { isFocusVisible: r };
}
-function oae(e, t, n) {
- lv(), (0, b.useEffect)(() => {
+function aae(e, t, n) {
+ uv(), (0, b.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- iae(!!n?.isTextInput, t, r) && e(uv());
+ rae(!!n?.isTextInput, t, r) && e(dv());
};
- return nv.add(t), () => {
- nv.delete(t);
+ return rv.add(t), () => {
+ rv.delete(t);
};
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var pv = /* @__PURE__ */ new Map(), mv = /* @__PURE__ */ new Set();
-function sae(e) {
+var mv = /* @__PURE__ */ new Map(), hv = /* @__PURE__ */ new Set();
+function oae(e) {
return "propertyName" in e;
}
-function cae(e) {
- let t = P_(e);
- if (!sae(e) || !t) return;
- let n = pv.get(t);
- n || (n = /* @__PURE__ */ new Set(), pv.set(t, n), t.addEventListener("transitioncancel", hv, { once: !0 })), n.add(e.propertyName);
+function sae(e) {
+ let t = F_(e);
+ if (!oae(e) || !t) return;
+ let n = mv.get(t);
+ n || (n = /* @__PURE__ */ new Set(), mv.set(t, n), t.addEventListener("transitioncancel", gv, { once: !0 })), n.add(e.propertyName);
}
-function hv(e) {
- let t = P_(e);
- if (!sae(e) || !t) return;
- let n = pv.get(t);
- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", hv), pv.delete(t)), pv.size === 0)) for (let e of mv) e(!0), mv.delete(e);
+function gv(e) {
+ let t = F_(e);
+ if (!oae(e) || !t) return;
+ let n = mv.get(t);
+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", gv), mv.delete(t)), mv.size === 0)) for (let e of hv) e(!0), hv.delete(e);
}
-function lae() {
- k_(document, "transitionrun", cae), k_(document, "transitionend", hv);
+function cae() {
+ A_(document, "transitionrun", sae), A_(document, "transitionend", gv);
}
-function uae() {
- for (let [e] of pv) "isConnected" in e && !e.isConnected && pv.delete(e);
+function lae() {
+ for (let [e] of mv) "isConnected" in e && !e.isConnected && mv.delete(e);
}
-typeof document < "u" && (document.readyState === "loading" ? k_(document, "DOMContentLoaded", lae) : lae());
-function dae(e) {
+typeof document < "u" && (document.readyState === "loading" ? A_(document, "DOMContentLoaded", cae) : cae());
+function uae(e) {
let t = window.requestAnimationFrame(() => {
- if (uae(), pv.size === 0) return e(!1);
- mv.add(e);
+ if (lae(), mv.size === 0) return e(!1);
+ hv.add(e);
});
return () => {
- window.cancelAnimationFrame(t), mv.delete(e);
+ window.cancelAnimationFrame(t), hv.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function gv(e) {
+function _v(e) {
if (!e.isConnected) return;
- let t = T_(e);
- if (dv() === "virtual") {
- let n = N_(t);
- dae(() => {
- let r = N_(t);
- (r === n || r === t.body) && e.isConnected && w_(e);
+ let t = E_(e);
+ if (fv() === "virtual") {
+ let n = P_(t);
+ uae(() => {
+ let r = P_(t);
+ (r === n || r === t.body) && e.isConnected && T_(e);
});
- } else w_(e);
+ } else T_(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/chain.mjs
-function _v(...e) {
+function vv(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function fae(e) {
+function dae(e) {
let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(t), i = (0, b.useRef)(null), a = (0, b.useRef)(() => {
if (!i.current) return;
let e = i.current.next();
e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);
});
- return B_(() => {
+ return V_(() => {
r.current = t, i.current && a.current();
}), [t, (0, b.useCallback)((e) => {
i.current = e(r.current), a.current();
@@ -20420,21 +20420,21 @@ function fae(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useId.mjs
-var pae = !!(typeof window < "u" && window.document && window.document.createElement), vv = /* @__PURE__ */ new Map(), yv;
-typeof FinalizationRegistry < "u" && (yv = new FinalizationRegistry((e) => {
- vv.delete(e);
+var fae = !!(typeof window < "u" && window.document && window.document.createElement), yv = /* @__PURE__ */ new Map(), bv;
+typeof FinalizationRegistry < "u" && (bv = new FinalizationRegistry((e) => {
+ yv.delete(e);
}));
-var bv = /* @__PURE__ */ new WeakMap();
-function xv(e) {
- let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(null), i = Wie(t), a = (0, b.useRef)(null), o = bv.get(a);
- if (yv && o !== i && (o != null && yv.unregister(a), yv.register(a, i, a), bv.set(a, i)), pae) {
- let e = vv.get(i);
- e && !e.includes(r) ? e.push(r) : vv.set(i, [r]);
- }
- return B_(() => {
+var xv = /* @__PURE__ */ new WeakMap();
+function Sv(e) {
+ let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(null), i = Uie(t), a = (0, b.useRef)(null), o = xv.get(a);
+ if (bv && o !== i && (o != null && bv.unregister(a), bv.register(a, i, a), xv.set(a, i)), fae) {
+ let e = yv.get(i);
+ e && !e.includes(r) ? e.push(r) : yv.set(i, [r]);
+ }
+ return V_(() => {
let e = i;
return () => {
- yv && (yv.unregister(a), bv.delete(a)), vv.delete(e);
+ bv && (bv.unregister(a), xv.delete(a)), yv.delete(e);
};
}, [i]), (0, b.useEffect)(() => {
let e = r.current;
@@ -20443,20 +20443,20 @@ function xv(e) {
};
}), i;
}
-function mae(e, t) {
+function pae(e, t) {
if (e === t) return e;
- let n = vv.get(e);
+ let n = yv.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = vv.get(t);
+ let r = yv.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function Sv(e = []) {
- let t = xv(), [n, r] = fae(t), i = (0, b.useCallback)(() => {
+function Cv(e = []) {
+ let t = Sv(), [n, r] = dae(t), i = (0, b.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return B_(i, [
+ return V_(i, [
t,
i,
...e
@@ -20464,60 +20464,60 @@ function Sv(e = []) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function Cv(...e) {
+function wv(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = hae(e, t);
+ let r = mae(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : hae(e[n], null);
+ typeof t == "function" ? t() : mae(e[n], null);
});
};
};
}
-function hae(e, t) {
+function mae(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
//#endregion
//#region node_modules/clsx/dist/clsx.mjs
-function gae(e) {
+function hae(e) {
var t, n, r = "";
if (typeof e == "string" || typeof e == "number") r += e;
else if (typeof e == "object") {
if (Array.isArray(e)) {
var i = e.length;
- for (t = 0; t < i; t++) e[t] && (n = gae(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = hae(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function wv() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = gae(e)) && (r && (r += " "), r += t);
+function Tv() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = hae(e)) && (r && (r += " "), r += t);
return r;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeProps.mjs
-function Tv(...e) {
+function Ev(...e) {
let t = { ...e[0] };
for (let n = 1; n < e.length; n++) {
let r = e[n];
for (let e in r) {
let n = t[e], i = r[e];
- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = _v(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = wv(n, i) : e === "id" && n && i ? t.id = mae(n, i) : e === "ref" && n && i ? t.ref = Cv(n, i) : t[e] = i === void 0 ? n : i;
+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = vv(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Tv(n, i) : e === "id" && n && i ? t.id = pae(n, i) : e === "ref" && n && i ? t.ref = wv(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function Ev(e) {
+function Dv(e) {
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, b.useCallback)((e) => {
- if (P_(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = wie(a), s = (0, b.useCallback)((e) => {
- let t = P_(e), r = T_(t), a = r ? N_(r) : N_();
+ if (F_(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
+ }, [r, i]), o = Cie(a), s = (0, b.useCallback)((e) => {
+ let t = F_(e), r = E_(t), a = r ? P_(r) : P_();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -20531,7 +20531,7 @@ function Ev(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function Dv(e) {
+function Ov(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -20556,33 +20556,33 @@ function Dv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var _ae = /* @__PURE__ */ new Set([
+var gae = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), vae = [
+]), _ae = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function yae(e) {
+function vae(e) {
let t = /* @__PURE__ */ new Set();
- return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(K_() ? "Meta" : "Control"), t;
+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(q_() ? "Meta" : "Control"), t;
}
-function bae(e) {
+function yae(e) {
let t = /* @__PURE__ */ new Set();
return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;
}
-function xae(e) {
- return vae.filter((t) => e.has(t));
+function bae(e) {
+ return _ae.filter((t) => e.has(t));
}
-function Sae(e) {
+function xae(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return _ae.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
+ return gae.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
}, {
shift: !1,
alt: !1,
@@ -20594,10 +20594,10 @@ function Sae(e) {
if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);
return t;
}
-function Cae(e) {
+function Sae(e) {
return e.toLowerCase();
}
-var wae = {
+var Cae = {
space: " ",
esc: "escape",
del: "delete",
@@ -20609,26 +20609,26 @@ var wae = {
pageup: "pageup",
pagedown: "pagedown"
};
-function Tae(e) {
- let t = Cae(e);
- return wae[t] ?? t;
+function wae(e) {
+ let t = Sae(e);
+ return Cae[t] ?? t;
}
-function Eae(e) {
- let t = xae(yae(e)), n = Tae(e.key);
+function Tae(e) {
+ let t = bae(vae(e)), n = wae(e.key);
return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
-function Dae(e) {
- let t = xae(bae(e)), n = Cae(e.key);
+function Eae(e) {
+ let t = bae(yae(e)), n = Sae(e.key);
return (t.length > 0 ? `${t.join("+")}+` : "") + n;
}
-function Oae(e) {
+function Dae(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = Sae(n);
- t.set(Eae(e), r);
+ let e = xae(n);
+ t.set(Tae(e), r);
}
return (e) => {
- let n = Dae(e), r = t.get(n), i = r?.(e);
+ let n = Eae(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -20640,16 +20640,16 @@ function Oae(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function Ov(e) {
+function kv(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = Oae(t), s = Dv((e) => {
- M_(e.currentTarget, P_(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
- }), c = Dv((e) => {
- M_(e.currentTarget, P_(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
+ let o = Dae(t), s = Ov((e) => {
+ N_(e.currentTarget, F_(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
+ }), c = Ov((e) => {
+ N_(e.currentTarget, F_(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
});
- i = e.onKeyDown ? _v(e.onKeyDown, s) : s, a = e.onKeyUp ? _v(e.onKeyUp, c) : c;
- } else i = Dv(e.onKeyDown), a = Dv(e.onKeyUp);
+ i = e.onKeyDown ? vv(e.onKeyDown, s) : s, a = e.onKeyUp ? vv(e.onKeyUp, c) : c;
+ } else i = Ov(e.onKeyDown), a = Ov(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
@@ -20657,7 +20657,7 @@ function Ov(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function kv(e) {
+function Av(e) {
let t = (0, b.useRef)(null), n = (0, b.useRef)(void 0), r = (0, b.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
@@ -20680,8 +20680,8 @@ function kv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function Av(e, t) {
- B_(() => {
+function jv(e, t) {
+ V_(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
};
@@ -20689,20 +20689,20 @@ function Av(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var jv = /*#__PURE__*/ b.createContext(null);
-function kae(e) {
- let t = (0, b.useContext)(jv) || {};
- Av(t, e);
+var Mv = /*#__PURE__*/ b.createContext(null);
+function Oae(e) {
+ let t = (0, b.useContext)(Mv) || {};
+ jv(t, e);
let { ref: n, ...r } = t;
return r;
}
-function Mv(e, t) {
- let { focusProps: n } = Ev(e), { keyboardProps: r } = Ov(e), i = Tv(n, r), a = kae(t), o = e.isDisabled ? {} : a, s = (0, b.useRef)(e.autoFocus);
+function Nv(e, t) {
+ let { focusProps: n } = Dv(e), { keyboardProps: r } = kv(e), i = Ev(n, r), a = Oae(t), o = e.isDisabled ? {} : a, s = (0, b.useRef)(e.autoFocus);
(0, b.useEffect)(() => {
- s.current && t.current && gv(t.current), s.current = !1;
+ s.current && t.current && _v(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
- return e.isDisabled && (c = void 0), { focusableProps: Tv({
+ return e.isDisabled && (c = void 0), { focusableProps: Ev({
...i,
tabIndex: c
}, o) };
@@ -20734,22 +20734,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var Nv = /*#__PURE__*/ (0, b.createContext)(!1);
-function Aae(e) {
- if ((0, b.useContext)(Nv)) return /*#__PURE__*/ b.createElement(b.Fragment, null, e.children);
- let t = /*#__PURE__*/ b.createElement(Nv.Provider, { value: !0 }, e.children);
+var Pv = /*#__PURE__*/ (0, b.createContext)(!1);
+function kae(e) {
+ if ((0, b.useContext)(Pv)) return /*#__PURE__*/ b.createElement(b.Fragment, null, e.children);
+ let t = /*#__PURE__*/ b.createElement(Pv.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ b.createElement("template", null, t);
}
-function Pv(e) {
- let t = (t, n) => (0, b.useContext)(Nv) ? null : e(t, n);
+function Fv(e) {
+ let t = (t, n) => (0, b.useContext)(Pv) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, b.forwardRef)(t);
}
-function Fv() {
- return (0, b.useContext)(Nv);
+function Iv() {
+ return (0, b.useContext)(Pv);
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
-var jae = /* @__PURE__ */ o(((e) => {
+var Aae = /* @__PURE__ */ o(((e) => {
var t = d();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -20787,47 +20787,47 @@ var jae = /* @__PURE__ */ o(((e) => {
}
var f = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? f : t.useSyncExternalStore;
-})), Iv = /* @__PURE__ */ o(((e, t) => {
- t.exports = jae();
-})), Mae = Iv(), Lv = /*#__PURE__*/ (0, b.createContext)(!1), Rv = /*#__PURE__*/ (0, b.createContext)(null);
-function zv(e) {
- if ((0, b.useContext)(Rv)) return e.content;
- let { collection: t, document: n } = Iae(e.createCollection);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Aae, null, /*#__PURE__*/ b.createElement(Rv.Provider, { value: n }, e.content)), /*#__PURE__*/ b.createElement(Nae, {
+})), Lv = /* @__PURE__ */ o(((e, t) => {
+ t.exports = Aae();
+})), jae = Lv(), Rv = /*#__PURE__*/ (0, b.createContext)(!1), zv = /*#__PURE__*/ (0, b.createContext)(null);
+function Bv(e) {
+ if ((0, b.useContext)(zv)) return e.content;
+ let { collection: t, document: n } = Fae(e.createCollection);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(kae, null, /*#__PURE__*/ b.createElement(zv.Provider, { value: n }, e.content)), /*#__PURE__*/ b.createElement(Mae, {
render: e.children,
collection: t
}));
}
-function Nae({ collection: e, render: t }) {
+function Mae({ collection: e, render: t }) {
return t(e);
}
-function Pae(e, t, n) {
- let r = ev(), i = (0, b.useRef)(r);
+function Nae(e, t, n) {
+ let r = tv(), i = (0, b.useRef)(r);
i.current = r;
let a = (0, b.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, Mae.useSyncExternalStore)(e, a);
+ return (0, jae.useSyncExternalStore)(e, a);
}
-var Fae = typeof b.useSyncExternalStore == "function" ? b.useSyncExternalStore : Pae;
-function Iae(e) {
- let [t] = (0, b.useState)(() => new die(e?.() || new cie()));
+var Pae = typeof b.useSyncExternalStore == "function" ? b.useSyncExternalStore : Nae;
+function Fae(e) {
+ let [t] = (0, b.useState)(() => new uie(e?.() || new sie()));
return {
- collection: Fae((0, b.useCallback)((e) => t.subscribe(e), [t]), (0, b.useCallback)(() => {
+ collection: Pae((0, b.useCallback)((e) => t.subscribe(e), [t]), (0, b.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
}, [t]), (0, b.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var Bv = /*#__PURE__*/ (0, b.createContext)(null);
-function Lae(e) {
- return class extends y_ {
+var Vv = /*#__PURE__*/ (0, b.createContext)(null);
+function Iae(e) {
+ return class extends b_ {
static {
this.type = e;
}
};
}
-function Vv(e, t, n, r, i, a) {
- typeof e == "string" && (e = Lae(e));
+function Hv(e, t, n, r, i, a) {
+ typeof e == "string" && (e = Iae(e));
let o = (0, b.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -20836,86 +20836,86 @@ function Vv(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, b.useContext)(Bv);
+ ]), s = (0, b.useContext)(Vv);
if (s) {
let o = s.ownerDocument.nodesByProps.get(t);
- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ b.createElement(Bv.Provider, { value: o }, i) : null;
+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ b.createElement(Vv.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ b.createElement(e.type, { ref: o }, i);
}
-function Hv(e, t) {
+function Uv(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, b.forwardRef)((r, i) => {
- let a = (0, b.useContext)(jv);
- if (!(0, b.useContext)(Lv)) {
+ let a = (0, b.useContext)(Mv);
+ if (!(0, b.useContext)(Rv)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return Vv(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ b.createElement(jv.Provider, { value: a }, /*#__PURE__*/ b.createElement(n, { node: e })));
+ return Hv(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ b.createElement(Mv.Provider, { value: a }, /*#__PURE__*/ b.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function Uv(e, t, n = Wv) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, b.forwardRef)((t, i) => Vv(e, t, i, null, n(t), (e) => /*#__PURE__*/ b.createElement(r, { node: e })) ?? /*#__PURE__*/ b.createElement(b.Fragment, null));
+function Wv(e, t, n = Gv) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, b.forwardRef)((t, i) => Hv(e, t, i, null, n(t), (e) => /*#__PURE__*/ b.createElement(r, { node: e })) ?? /*#__PURE__*/ b.createElement(b.Fragment, null));
return i.displayName = t.name, i;
}
-function Wv(e) {
- return C_({
+function Gv(e) {
+ return w_({
...e,
addIdAndValue: !0
});
}
-var Gv = /*#__PURE__*/ (0, b.createContext)(null);
-function Kv(e) {
- let t = (0, b.useContext)(Gv), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Wv({
+var Kv = /*#__PURE__*/ (0, b.createContext)(null);
+function qv(e) {
+ let t = (0, b.useContext)(Kv), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Gv({
...e,
idScope: r,
dependencies: n
});
- return (0, b.useContext)(Rv) && (i = /*#__PURE__*/ b.createElement(Rae, null, i)), t = (0, b.useMemo)(() => ({
+ return (0, b.useContext)(zv) && (i = /*#__PURE__*/ b.createElement(Lae, null, i)), t = (0, b.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ b.createElement(Gv.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ b.createElement(Kv.Provider, { value: t }, i);
}
-function Rae({ children: e }) {
- let t = (0, b.useContext)(Rv), n = (0, b.useMemo)(() => /*#__PURE__*/ b.createElement(Rv.Provider, { value: null }, /*#__PURE__*/ b.createElement(Lv.Provider, { value: !0 }, e)), [e]);
- return ev() ? /*#__PURE__*/ b.createElement(Bv.Provider, { value: t }, n) : /*#__PURE__*/ (0, pt.createPortal)(n, t);
+function Lae({ children: e }) {
+ let t = (0, b.useContext)(zv), n = (0, b.useMemo)(() => /*#__PURE__*/ b.createElement(zv.Provider, { value: null }, /*#__PURE__*/ b.createElement(Rv.Provider, { value: !0 }, e)), [e]);
+ return tv() ? /*#__PURE__*/ b.createElement(Vv.Provider, { value: t }, n) : /*#__PURE__*/ (0, pt.createPortal)(n, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/constants.mjs
-var zae = "react-aria-clear-focus", Bae = "react-aria-focus";
+var Rae = "react-aria-clear-focus", zae = "react-aria-focus";
//#endregion
//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function qv(e) {
- let t = Hae(T_(e));
- t !== e && (t && Vae(t, e), e && Jv(e, t));
+function Jv(e) {
+ let t = Vae(E_(e));
+ t !== e && (t && Bae(t, e), e && Yv(e, t));
}
-function Vae(e, t) {
+function Bae(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function Jv(e, t) {
+function Yv(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function Hae(e) {
- let t = N_(e), n = t?.getAttribute("aria-activedescendant");
+function Vae(e) {
+ let t = P_(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function Yv(e, t) {
- let n = E_(t), r = T_(t);
+function Xv(e, t) {
+ let n = D_(t), r = E_(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/keyboard.mjs
-var Xv = 100, Zv = 600, Qv = {
+var Zv = 100, Qv = 600, $v = {
isOpen: !1,
screenWidth: 0,
screenHeight: 0,
@@ -20925,7 +20925,7 @@ var Xv = 100, Zv = 600, Qv = {
endTimeStamp: 0,
resizeTimeStamp: 0,
resizeTimeout: 0
-}, Uae = /* @__PURE__ */ new Set([
+}, Hae = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -20936,7 +20936,7 @@ var Xv = 100, Zv = 600, Qv = {
"submit",
"reset"
]);
-function $v() {
+function ey() {
let e = Number(window.visualViewport?.width ?? window.innerWidth), t = Number(window.visualViewport?.height ?? window.innerHeight), n = Number(window.visualViewport?.scale ?? 1);
return {
width: e * n,
@@ -20944,59 +20944,59 @@ function $v() {
angle: window.screen.orientation.angle
};
}
-function Wae(e) {
- Qv.resizeTimeStamp <= e.timeStamp + 50 && (Qv.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Qv.resizeTimeout), Qv.resizeTimeout = window.setTimeout(ey, 150));
-}
-function ey() {
- let e = Yv("viewport");
- if (Y_() && e?.includes("overlays-content")) return;
- let t = performance.now(), n = $v(), r = t - Qv.startTimeStamp, i = Qv.screenHeight - n.height, a = Qv.screenAngle - n.angle;
- Math.abs(a) % 180 && Qv.screenWidth - n.height < Xv && (Qv.screenWidth = n.width, Qv.screenHeight = n.height, Qv.screenAngle = n.angle, i = 0), r > Zv && (window.clearTimeout(Qv.screenTimeout), Qv.screenTimeout = window.setTimeout(() => {
- let e = ry(document.hasFocus() ? N_() : null), t = $v();
- Math.abs(Qv.screenAngle - t.angle) % 180 || Qv.isOpen && e || (Qv.screenWidth = t.width, Qv.screenHeight = t.height, Qv.screenAngle = t.angle, Qv.isOpen = !1);
- }, Zv)), r <= Zv && i >= Xv && (Qv.endTimeStamp = t), Qv.isOpen = i >= Xv;
-}
-function Gae() {
- let e = $v(), t = Qv.screenAngle - e.angle;
- if (Math.abs(t) % 180 && !Qv.isOpen) {
- let e = Qv.screenWidth;
- Qv.screenWidth = Qv.screenHeight, Qv.screenHeight = e;
- }
- Qv.isOpen || (Qv.screenAngle = e.angle);
-}
-function Kae(e) {
- let t = ry(P_(e)), n = performance.now(), r = $v(), i = Qv.screenHeight - r.height;
- i < Xv && t && (Qv.screenWidth = r.width, Qv.screenHeight = r.height, Qv.screenAngle = r.angle, Qv.startTimeStamp = n), t && window.clearTimeout(Qv.screenTimeout), i >= Xv && t && (Qv.endTimeStamp = n);
+function Uae(e) {
+ $v.resizeTimeStamp <= e.timeStamp + 50 && ($v.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout($v.resizeTimeout), $v.resizeTimeout = window.setTimeout(ty, 150));
}
function ty() {
- let e = $v();
- k_(window.visualViewport, "resize", J_() ? ey : Wae), k_(window.screen.orientation, "change", Gae), k_(window, "focus", Kae, {
+ let e = Xv("viewport");
+ if (X_() && e?.includes("overlays-content")) return;
+ let t = performance.now(), n = ey(), r = t - $v.startTimeStamp, i = $v.screenHeight - n.height, a = $v.screenAngle - n.angle;
+ Math.abs(a) % 180 && $v.screenWidth - n.height < Zv && ($v.screenWidth = n.width, $v.screenHeight = n.height, $v.screenAngle = n.angle, i = 0), r > Qv && (window.clearTimeout($v.screenTimeout), $v.screenTimeout = window.setTimeout(() => {
+ let e = iy(document.hasFocus() ? P_() : null), t = ey();
+ Math.abs($v.screenAngle - t.angle) % 180 || $v.isOpen && e || ($v.screenWidth = t.width, $v.screenHeight = t.height, $v.screenAngle = t.angle, $v.isOpen = !1);
+ }, Qv)), r <= Qv && i >= Zv && ($v.endTimeStamp = t), $v.isOpen = i >= Zv;
+}
+function Wae() {
+ let e = ey(), t = $v.screenAngle - e.angle;
+ if (Math.abs(t) % 180 && !$v.isOpen) {
+ let e = $v.screenWidth;
+ $v.screenWidth = $v.screenHeight, $v.screenHeight = e;
+ }
+ $v.isOpen || ($v.screenAngle = e.angle);
+}
+function Gae(e) {
+ let t = iy(F_(e)), n = performance.now(), r = ey(), i = $v.screenHeight - r.height;
+ i < Zv && t && ($v.screenWidth = r.width, $v.screenHeight = r.height, $v.screenAngle = r.angle, $v.startTimeStamp = n), t && window.clearTimeout($v.screenTimeout), i >= Zv && t && ($v.endTimeStamp = n);
+}
+function ny() {
+ let e = ey();
+ A_(window.visualViewport, "resize", Y_() ? ty : Uae), A_(window.screen.orientation, "change", Wae), A_(window, "focus", Gae, {
capture: !0,
passive: !0
- }), Qv.screenWidth = e.width, Qv.screenHeight = e.height, Qv.screenAngle = e.angle;
+ }), $v.screenWidth = e.width, $v.screenHeight = e.height, $v.screenAngle = e.angle;
}
-typeof document < "u" && (document.readyState === "loading" ? k_(document, "DOMContentLoaded", ty) : ty());
-function ny() {
- let e = Yv("viewport");
- return Y_() && e?.includes("overlays-content") ? !1 : Qv.isOpen ? !0 : Qv.startTimeStamp ? Qv.endTimeStamp >= Qv.startTimeStamp ? !0 : performance.now() - Qv.startTimeStamp <= Zv ? Qv.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
+typeof document < "u" && (document.readyState === "loading" ? A_(document, "DOMContentLoaded", ny) : ny());
+function ry() {
+ let e = Xv("viewport");
+ return X_() && e?.includes("overlays-content") ? !1 : $v.isOpen ? !0 : $v.startTimeStamp ? $v.endTimeStamp >= $v.startTimeStamp ? !0 : performance.now() - $v.startTimeStamp <= Qv ? $v.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
}
-function ry(e) {
- if (!(e instanceof Element) || !R_(e)) return !1;
- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Uae.has(e.type);
+function iy(e) {
+ if (!(e instanceof Element) || !z_(e)) return !1;
+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Hae.has(e.type);
return t || n || r;
}
-function iy(e) {
- return K_() ? e.metaKey : e.ctrlKey;
+function ay(e) {
+ return q_() ? e.metaKey : e.ctrlKey;
}
-function ay() {
- return Qv.isOpen;
+function oy() {
+ return $v.isOpen;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var qae = b.useInsertionEffect ?? B_;
-function oy(e) {
+var Kae = b.useInsertionEffect ?? V_;
+function sy(e) {
let t = (0, b.useRef)(null);
- return qae(() => {
+ return Kae(() => {
t.current = e;
}, [e]), (0, b.useCallback)((...e) => {
let n = t.current;
@@ -21005,10 +21005,10 @@ function oy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEvent.mjs
-function sy(e, t, n, r) {
- let i = oy(n), a = n == null;
+function cy(e, t, n, r) {
+ let i = sy(n), a = n == null;
(0, b.useEffect)(() => {
- if (!(a || e.current == null)) return k_(e.current, t, i, r);
+ if (!(a || e.current == null)) return A_(e.current, t, i, r);
}, [
e,
t,
@@ -21018,9 +21018,9 @@ function sy(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLabels.mjs
-function cy(e, t) {
+function ly(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = xv(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
+ return n = Sv(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
id: n,
"aria-label": r,
"aria-labelledby": i
@@ -21028,7 +21028,7 @@ function cy(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/utils.mjs
-var Jae = /* @__PURE__ */ new Set([
+var qae = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -21039,7 +21039,7 @@ var Jae = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), Yae = /* @__PURE__ */ new Set([
+]), Jae = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -21060,20 +21060,20 @@ var Jae = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function Xae(e) {
+function Yae(e) {
if (Intl.Locale) {
let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;
if (n) return n.direction === "rtl";
- if (t.script) return Jae.has(t.script);
+ if (t.script) return qae.has(t.script);
}
let t = e.split("-")[0];
- return Yae.has(t);
+ return Jae.has(t);
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var ly = Symbol.for("react-aria.i18n.locale");
-function uy() {
- let e = typeof window < "u" && window[ly] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var uy = Symbol.for("react-aria.i18n.locale");
+function dy() {
+ let e = typeof window < "u" && window[uy] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -21081,33 +21081,33 @@ function uy() {
}
return {
locale: e,
- direction: Xae(e) ? "rtl" : "ltr"
+ direction: Yae(e) ? "rtl" : "ltr"
};
}
-var dy = uy(), fy = /* @__PURE__ */ new Set();
-function py() {
- dy = uy();
- for (let e of fy) e(dy);
+var fy = dy(), py = /* @__PURE__ */ new Set();
+function my() {
+ fy = dy();
+ for (let e of py) e(fy);
}
-function Zae() {
- let e = ev(), [t, n] = (0, b.useState)(dy);
- return (0, b.useEffect)(() => (fy.size === 0 && window.addEventListener("languagechange", py), fy.add(n), () => {
- fy.delete(n), fy.size === 0 && window.removeEventListener("languagechange", py);
+function Xae() {
+ let e = tv(), [t, n] = (0, b.useState)(fy);
+ return (0, b.useEffect)(() => (py.size === 0 && window.addEventListener("languagechange", my), py.add(n), () => {
+ py.delete(n), py.size === 0 && window.removeEventListener("languagechange", my);
}), []), e ? {
- locale: typeof window < "u" && window[ly] || "en-US",
+ locale: typeof window < "u" && window[uy] || "en-US",
direction: "ltr"
} : t;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var Qae = /*#__PURE__*/ b.createContext(null);
-function my() {
- let e = Zae();
- return (0, b.useContext)(Qae) || e;
+var Zae = /*#__PURE__*/ b.createContext(null);
+function hy() {
+ let e = Xae();
+ return (0, b.useContext)(Zae) || e;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var $ae = Symbol.for("react-aria.i18n.locale"), eoe = Symbol.for("react-aria.i18n.strings"), hy = void 0, gy = class e {
+var Qae = Symbol.for("react-aria.i18n.locale"), $ae = Symbol.for("react-aria.i18n.strings"), gy = void 0, _y = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -21118,39 +21118,39 @@ var $ae = Symbol.for("react-aria.i18n.locale"), eoe = Symbol.for("react-aria.i18
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = toe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = eoe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[$ae];
- if (hy === void 0) {
- let t = window[eoe];
+ let n = window[Qae];
+ if (gy === void 0) {
+ let t = window[$ae];
if (!t) return null;
- hy = {};
- for (let r in t) hy[r] = new e({ [n]: t[r] }, n);
+ gy = {};
+ for (let r in t) gy[r] = new e({ [n]: t[r] }, n);
}
- let r = hy?.[t];
+ let r = gy?.[t];
if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
return r;
}
};
-function toe(e, t, n = "en-US") {
+function eoe(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = noe(e), i = roe(e);
+ let r = toe(e), i = noe(e);
if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];
if (t[r]) return t[r];
for (let e in t) if (e.startsWith(r + "-")) return t[e];
return t[n];
}
-function noe(e) {
+function toe(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function roe(e) {
+function noe(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var _y = /* @__PURE__ */ new Map(), vy = /* @__PURE__ */ new Map(), ioe = class {
+var vy = /* @__PURE__ */ new Map(), yy = /* @__PURE__ */ new Map(), roe = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -21161,37 +21161,37 @@ var _y = /* @__PURE__ */ new Map(), vy = /* @__PURE__ */ new Map(), ioe = class
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = _y.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), _y.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = vy.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), vy.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = vy.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), vy.set(this.locale, t)), t.format(e);
+ let t = yy.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), yy.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, yy = /* @__PURE__ */ new WeakMap();
-function aoe(e) {
- let t = yy.get(e);
- return t || (t = new gy(e), yy.set(e, t)), t;
+}, by = /* @__PURE__ */ new WeakMap();
+function ioe(e) {
+ let t = by.get(e);
+ return t || (t = new _y(e), by.set(e, t)), t;
}
-function ooe(e, t) {
- return t && gy.getGlobalDictionaryForPackage(t) || aoe(e);
+function aoe(e, t) {
+ return t && _y.getGlobalDictionaryForPackage(t) || ioe(e);
}
-function by(e, t) {
- let { locale: n } = my(), r = ooe(e, t);
- return (0, b.useMemo)(() => new ioe(n, r), [n, r]);
+function xy(e, t) {
+ let { locale: n } = hy(), r = aoe(e, t);
+ return (0, b.useMemo)(() => new roe(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var soe = /* @__PURE__ */ new Set(["id"]), coe = /* @__PURE__ */ new Set([
+var ooe = /* @__PURE__ */ new Set(["id"]), soe = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), loe = /* @__PURE__ */ new Set([
+]), coe = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -21199,64 +21199,64 @@ var soe = /* @__PURE__ */ new Set(["id"]), coe = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), uoe = /* @__PURE__ */ new Set([
+]), loe = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate",
"suppressHydrationWarning"
-]), xy = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), doe = /^(data-.*)$/;
-function Sy(e, t = {}) {
+]), Sy = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), uoe = /^(data-.*)$/;
+function Cy(e, t = {}) {
let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};
- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (soe.has(t) || n && coe.has(t) || r && loe.has(t) || i && uoe.has(t) || a && (xy.has(t) || t.endsWith("Capture") && xy.has(t.slice(0, -7))) || o?.has(t) || doe.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (ooe.has(t) || n && soe.has(t) || r && coe.has(t) || i && loe.has(t) || a && (Sy.has(t) || t.endsWith("Capture") && Sy.has(t.slice(0, -7))) || o?.has(t) || uoe.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var Cy = "default", wy = "", Ty = /* @__PURE__ */ new WeakMap();
-function foe(e) {
- if (q_() && J_()) {
- if (Cy === "default") {
- let t = T_(e);
- wy = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- Cy = "disabled";
+var wy = "default", Ty = "", Ey = /* @__PURE__ */ new WeakMap();
+function doe(e) {
+ if (J_() && Y_()) {
+ if (wy === "default") {
+ let t = E_(e);
+ Ty = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ wy = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- Ty.set(e, e.style[t]), e.style[t] = "none";
+ Ey.set(e, e.style[t]), e.style[t] = "none";
}
}
-function Ey(e) {
- if (q_() && J_()) {
- if (Cy !== "disabled") return;
- Cy = "restoring", setTimeout(() => {
- dae(() => {
- if (Cy === "restoring") {
- let t = T_(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = wy || ""), wy = "", Cy = "default";
+function Dy(e) {
+ if (J_() && Y_()) {
+ if (wy !== "disabled") return;
+ wy = "restoring", setTimeout(() => {
+ uae(() => {
+ if (wy === "restoring") {
+ let t = E_(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Ty || ""), Ty = "", wy = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Ty.has(e)) {
- let t = Ty.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Ty.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Ey.has(e)) {
+ let t = Ey.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Ey.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getNonce.mjs
-var Dy = /* @__PURE__ */ new WeakMap();
-function Oy(e) {
- let t = T_(e), n = Dy.get(t);
- return n ??= Yv("csp-nonce", t), n !== void 0 && Dy.set(t, n), n;
+var Oy = /* @__PURE__ */ new WeakMap();
+function ky(e) {
+ let t = E_(e), n = Oy.get(t);
+ return n ??= Xv("csp-nonce", t), n !== void 0 && Oy.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var ky = b.createContext({ register: () => {} });
-ky.displayName = "PressResponderContext";
+var Ay = b.createContext({ register: () => {} });
+Ay.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function Ay() {
+function jy() {
let e = (0, b.useRef)(/* @__PURE__ */ new Map()), t = (0, b.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -21283,15 +21283,15 @@ function Ay() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function poe(e) {
- let t = (0, b.useContext)(ky);
+function foe(e) {
+ let t = (0, b.useContext)(Ay);
if (t) {
let { register: n, ref: r, ...i } = t;
- e = Tv(i, e), n();
+ e = Ev(i, e), n();
}
- return Av(t, e.ref), e;
+ return jv(t, e.ref), e;
}
-var jy = class {
+var My = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -21304,9 +21304,9 @@ var jy = class {
get shouldStopPropagation() {
return this.#e;
}
-}, My = Symbol("linkClicked"), Ny = "react-aria-pressable-style", Py = "data-react-aria-pressable";
-function Fy(e) {
- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = poe(e), [m, h] = (0, b.useState)(!1), g = (0, b.useRef)({
+}, Ny = Symbol("linkClicked"), Py = "react-aria-pressable-style", Fy = "data-react-aria-pressable";
+function Iy(e) {
+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = foe(e), [m, h] = (0, b.useState)(!1), g = (0, b.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -21316,12 +21316,12 @@ function Fy(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = Ay(), y = (0, b.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = jy(), y = (0, b.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new jy("pressstart", t, e);
+ let n = new My("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -21335,11 +21335,11 @@ function Fy(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new jy("pressend", r, e);
+ let t = new My("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new jy("press", r, e);
+ let n = new My("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -21348,19 +21348,19 @@ function Fy(e) {
i,
n,
t
- ]), S = oy(x), C = oy((0, b.useCallback)((e, t) => {
+ ]), S = sy(x), C = sy((0, b.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new jy("pressup", t, e);
+ let r = new My("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), w = (0, b.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && x(Ry(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Ey(t.target);
+ t.didFirePressStart && t.pointerType != null && x(zy(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Dy(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -21368,7 +21368,7 @@ function Fy(e) {
d,
v,
x
- ]), T = oy(w);
+ ]), T = sy(w);
(0, b.useEffect)(() => {
s && g.current.isPressed && T({
currentTarget: g.current.target,
@@ -21385,39 +21385,39 @@ function Fy(e) {
}, [s, o]), O = (0, b.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- Cie(n, t), o(V_(n));
+ Sie(n, t), o(H_(n));
}
}, [s, o]), k = (0, b.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (Ly(t.nativeEvent, t.currentTarget) && M_(t.currentTarget, P_(t))) {
- zy(P_(t), t.key) && t.preventDefault();
+ if (Ry(t.nativeEvent, t.currentTarget) && N_(t.currentTarget, F_(t))) {
+ By(F_(t), t.key) && t.preventDefault();
let r = !0;
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));
let i = t.currentTarget;
- _(T_(t.currentTarget), "keyup", _v((t) => {
- Ly(t, i) && !t.repeat && M_(i, P_(t)) && e.target && C(Ry(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && K_() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(E_(t.currentTarget), "keyup", vv((t) => {
+ Ry(t, i) && !t.repeat && N_(i, F_(t)) && e.target && C(zy(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && q_() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if ((!t || M_(t.currentTarget, P_(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Z_.isOpening) {
+ if ((!t || N_(t.currentTarget, F_(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Q_.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Aie(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || kie(t.nativeEvent))) {
let e = y(t, "virtual"), r = C(t, "virtual"), i = S(t, "virtual");
D(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = C(Ry(t.currentTarget, t), r), a = S(Ry(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = C(zy(t.currentTarget, t), r), a = S(zy(t.currentTarget, t), r, !0);
n = i && a, e.isOverTarget = !1, D(t), T(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && Ly(t, e.target)) {
- zy(P_(t), t.key) && t.preventDefault();
- let n = P_(t), r = M_(e.target, n);
- S(Ry(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && Iy(e.target) && M_(e.target, n) && !t[My] && (t[My] = !0, Z_(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && Ry(t, e.target)) {
+ By(F_(t), t.key) && t.preventDefault();
+ let n = F_(t), r = N_(e.target, n);
+ S(zy(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && Ly(e.target) && N_(e.target, n) && !t[Ny] && (t[Ny] = !0, Q_(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
let t = e.metaKeyEvents;
e.metaKeyEvents = void 0;
@@ -21426,39 +21426,39 @@ function Fy(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !M_(t.currentTarget, P_(t))) return;
- if (jie(t.nativeEvent)) {
+ if (t.button !== 0 || !N_(t.currentTarget, F_(t))) return;
+ if (Aie(t.nativeEvent)) {
e.pointerType = "virtual";
return;
}
e.pointerType = t.pointerType;
let i = !0;
if (!e.isPressed) {
- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || foe(e.target), i = y(t, e.pointerType);
- let a = P_(t);
- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(T_(t.currentTarget), "pointerup", n, !1), _(T_(t.currentTarget), "pointercancel", r, !1);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || doe(e.target), i = y(t, e.pointerType);
+ let a = F_(t);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(E_(t.currentTarget), "pointerup", n, !1), _(E_(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (M_(t.currentTarget, P_(t)) && t.button === 0) {
+ if (N_(t.currentTarget, F_(t)) && t.button === 0) {
if (l) {
- let n = Tie(t.target);
+ let n = wie(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- M_(t.currentTarget, P_(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && C(t, e.pointerType || t.pointerType);
+ N_(t.currentTarget, F_(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && C(t, e.pointerType || t.pointerType);
}, t.onPointerEnter = (t) => {
- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(Ry(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(zy(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, S(Ry(e.target, t), e.pointerType, !1), E(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, S(zy(e.target, t), e.pointerType, !1), E(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (M_(e.target, P_(t)) && e.pointerType != null) {
+ if (N_(e.target, F_(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (w_(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (T_(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else T(t);
@@ -21468,7 +21468,7 @@ function Fy(e) {
T(e);
};
t.onDragStart = (e) => {
- M_(e.currentTarget, P_(e)) && T(e);
+ N_(e.currentTarget, F_(e)) && T(e);
};
}
return t;
@@ -21485,14 +21485,14 @@ function Fy(e) {
]);
return (0, b.useEffect)(() => {
if (!f) return;
- let e = T_(f.current);
- if (!e || !e.head || e.getElementById(Ny)) return;
+ let e = E_(f.current);
+ if (!e || !e.head || e.getElementById(Py)) return;
let t = e.createElement("style");
- t.id = Ny;
- let n = Oy(e);
+ t.id = Py;
+ let n = ky(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${Py}] {
+ [${Fy}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -21500,23 +21500,23 @@ function Fy(e) {
}, [f]), (0, b.useEffect)(() => {
let e = g.current;
return () => {
- d || Ey(e.target ?? void 0);
+ d || Dy(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: Tv(p, k, { [Py]: !0 })
+ pressProps: Ev(p, k, { [Fy]: !0 })
};
}
-function Iy(e) {
+function Ly(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function Ly(e, t) {
+function Ry(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof E_(i).HTMLInputElement && !By(i, n) || i instanceof E_(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Iy(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof D_(i).HTMLInputElement && !Vy(i, n) || i instanceof D_(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Ly(i)) && n !== "Enter");
}
-function Ry(e, t) {
+function zy(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -21529,13 +21529,13 @@ function Ry(e, t) {
key: t.key
};
}
-function moe(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Iy(e);
+function poe(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Ly(e);
}
-function zy(e, t) {
- return K_() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !By(e, t) : moe(e);
+function By(e, t) {
+ return q_() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Vy(e, t) : poe(e);
}
-var hoe = /* @__PURE__ */ new Set([
+var moe = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -21546,12 +21546,12 @@ var hoe = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function By(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : hoe.has(e.type);
+function Vy(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : moe.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function goe(e, t) {
+function hoe(e, t) {
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;
g = n === "button" ? {
type: h,
@@ -21573,7 +21573,7 @@ function goe(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = Fy({
+ let { pressProps: _, isPressed: v } = Iy({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -21583,12 +21583,12 @@ function goe(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = Mv(e, t);
+ }), { focusableProps: y } = Nv(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = Tv(y, _, Sy(e, { labelable: !0 }));
+ let b = Ev(y, _, Cy(e, { labelable: !0 }));
return {
isPressed: v,
- buttonProps: Tv(g, b, {
+ buttonProps: Ev(g, b, {
"aria-haspopup": e["aria-haspopup"],
"aria-expanded": e["aria-expanded"],
"aria-controls": e["aria-controls"],
@@ -21600,7 +21600,7 @@ function goe(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var _oe = class {
+var goe = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -21625,7 +21625,7 @@ var _oe = class {
return this._currentNode;
}
set currentNode(e) {
- if (!M_(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!N_(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
let t = [], n = e, r = e;
for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });
@@ -21639,7 +21639,7 @@ var _oe = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return M_(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return N_(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -21703,45 +21703,45 @@ var _oe = class {
return null;
}
};
-function Vy(e, t, n, r) {
- return j_() ? new _oe(e, t, n, r) : e.createTreeWalker(t, n, r);
+function Hy(e, t, n, r) {
+ return M_() ? new goe(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var Hy = /*#__PURE__*/ b.createContext(null), Uy = "react-aria-focus-scope-restore", Wy = null;
-function Gy(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)([]), { parentNode: c } = (0, b.useContext)(Hy) || {}, l = (0, b.useMemo)(() => new ib({ scopeRef: s }), [s]);
- B_(() => {
- let e = c || ab.root;
- if (ab.getTreeNode(e.scopeRef) && Wy && !Zy(Wy, e.scopeRef)) {
- let t = ab.getTreeNode(Wy);
+var Uy = /*#__PURE__*/ b.createContext(null), Wy = "react-aria-focus-scope-restore", Gy = null;
+function Ky(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)([]), { parentNode: c } = (0, b.useContext)(Uy) || {}, l = (0, b.useMemo)(() => new ab({ scopeRef: s }), [s]);
+ V_(() => {
+ let e = c || ob.root;
+ if (ob.getTreeNode(e.scopeRef) && Gy && !Qy(Gy, e.scopeRef)) {
+ let t = ob.getTreeNode(Gy);
t && (e = t);
}
- e.addChild(l), ab.addNode(l);
- }, [l, c]), B_(() => {
- let e = ab.getTreeNode(s);
+ e.addChild(l), ob.addNode(l);
+ }, [l, c]), V_(() => {
+ let e = ob.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), B_(() => {
+ }, [n]), V_(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(Uy, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(Wy, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(Uy, n);
+ for (let e of t) e.removeEventListener(Wy, n);
};
- }, [t]), woe(s, r, n), xoe(s, n), Toe(s, r, n), Coe(s, i), (0, b.useEffect)(() => {
- let e = N_(T_(s.current ? s.current[0] : void 0)), t = null;
- if (Yy(e, s.current)) {
- for (let n of ab.traverse()) n.scopeRef && Yy(e, n.scopeRef.current) && (t = n);
- t === ab.getTreeNode(s) && (Wy = t.scopeRef);
- }
- }, [s]), B_(() => () => {
- let e = ab.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === Wy || Zy(s, Wy)) && (!e || ab.getTreeNode(e)) && (Wy = e), ab.removeTreeNode(s);
+ }, [t]), Coe(s, r, n), boe(s, n), woe(s, r, n), Soe(s, i), (0, b.useEffect)(() => {
+ let e = P_(E_(s.current ? s.current[0] : void 0)), t = null;
+ if (Xy(e, s.current)) {
+ for (let n of ob.traverse()) n.scopeRef && Xy(e, n.scopeRef.current) && (t = n);
+ t === ob.getTreeNode(s) && (Gy = t.scopeRef);
+ }
+ }, [s]), V_(() => () => {
+ let e = ob.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === Gy || Qy(s, Gy)) && (!e || ob.getTreeNode(e)) && (Gy = e), ob.removeTreeNode(s);
}, [s]);
- let u = (0, b.useMemo)(() => voe(s), []), d = (0, b.useMemo)(() => ({
+ let u = (0, b.useMemo)(() => _oe(s), []), d = (0, b.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ b.createElement(Hy.Provider, { value: d }, /*#__PURE__*/ b.createElement("span", {
+ return /*#__PURE__*/ b.createElement(Uy.Provider, { value: d }, /*#__PURE__*/ b.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -21751,154 +21751,154 @@ function Gy(e) {
ref: o
}));
}
-function voe(e) {
+function _oe(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || N_(T_(n[0] ?? void 0)), c = n[0].previousElementSibling, l = rb(Ky(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || P_(E_(n[0] ?? void 0)), c = n[0].previousElementSibling, l = ib(qy(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Yy(s, n) ? s : c;
+ l.currentNode = Xy(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && Qy(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && $y(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || N_(T_(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = rb(Ky(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || P_(E_(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = ib(qy(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Yy(s, n) ? s : c;
+ l.currentNode = Xy(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && Qy(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && $y(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = rb(Ky(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = ib(qy(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && Qy(o, !0), o;
+ return o && $y(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = rb(Ky(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = ib(qy(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && Qy(o, !0), o;
+ return o && $y(o, !0), o;
}
};
}
-function Ky(e) {
+function qy(e) {
return e[0].parentElement;
}
-function qy(e) {
- let t = ab.getTreeNode(Wy);
+function Jy(e) {
+ let t = ob.getTreeNode(Gy);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function yoe(e) {
- if (!e.form) return Array.from(T_(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = E_(e);
+function voe(e) {
+ if (!e.form) return Array.from(E_(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = D_(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function boe(e) {
+function yoe(e) {
if (e.checked) return !0;
- let t = yoe(e);
+ let t = voe(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function xoe(e, t) {
+function boe(e, t) {
let n = (0, b.useRef)(void 0), r = (0, b.useRef)(void 0);
- B_(() => {
+ V_(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = T_(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !qy(e) || t.isComposing) return;
- let n = N_(a), r = e.current;
- if (!r || !Yy(n, r)) return;
- let i = rb(Ky(r), { tabbable: !0 }, r);
+ let a = E_(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Jy(e) || t.isComposing) return;
+ let n = P_(a), r = e.current;
+ if (!r || !Xy(n, r)) return;
+ let i = ib(qy(r), { tabbable: !0 }, r);
if (!n) return;
i.currentNode = n;
let o = t.shiftKey ? i.previousNode() : i.nextNode();
- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (Qy(o, !0), o instanceof E_(o).HTMLInputElement && o.select());
+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && ($y(o, !0), o instanceof D_(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!Wy || Zy(Wy, e)) && Yy(P_(t), e.current) ? (Wy = e, n.current = P_(t)) : qy(e) && !Xy(P_(t), e) ? n.current ? Qy(n.current) : Wy && Wy.current && eb(Wy.current) : qy(e) && (n.current = P_(t));
+ (!Gy || Qy(Gy, e)) && Xy(F_(t), e.current) ? (Gy = e, n.current = F_(t)) : Jy(e) && !Zy(F_(t), e) ? n.current ? $y(n.current) : Gy && Gy.current && tb(Gy.current) : Jy(e) && (n.current = F_(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = dv(), i = (r === "virtual" || r === null) && Y_() && kie(), o = N_(a);
- if (!i && o && qy(e) && !Xy(o, e)) {
- Wy = e;
- let r = P_(t);
- r && r.isConnected ? (n.current = r, Qy(n.current)) : Wy.current && eb(Wy.current);
+ let r = fv(), i = (r === "virtual" || r === null) && X_() && Oie(), o = P_(a);
+ if (!i && o && Jy(e) && !Zy(o, e)) {
+ Gy = e;
+ let r = F_(t);
+ r && r.isConnected ? (n.current = r, $y(n.current)) : Gy.current && tb(Gy.current);
}
});
};
return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {
a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));
};
- }, [e, t]), B_(() => () => {
+ }, [e, t]), V_(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function Jy(e) {
- return Xy(e);
+function Yy(e) {
+ return Zy(e);
}
-function Yy(e, t) {
- return !e || !t ? !1 : t.some((t) => M_(t, e));
+function Xy(e, t) {
+ return !e || !t ? !1 : t.some((t) => N_(t, e));
}
-function Xy(e, t = null) {
+function Zy(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of ab.traverse(ab.getTreeNode(t))) if (n && Yy(e, n.current)) return !0;
+ for (let { scopeRef: n } of ob.traverse(ob.getTreeNode(t))) if (n && Xy(e, n.current)) return !0;
return !1;
}
-function Soe(e) {
- return Xy(e, Wy);
+function xoe(e) {
+ return Zy(e, Gy);
}
-function Zy(e, t) {
- let n = ab.getTreeNode(t)?.parent;
+function Qy(e, t) {
+ let n = ob.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function Qy(e, t = !1) {
+function $y(e, t = !1) {
if (e != null && !t) try {
- gv(e);
+ _v(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function $y(e, t = !0) {
- let n = e[0].previousElementSibling, r = Ky(e), i = rb(r, { tabbable: t }, e);
+function eb(e, t = !0) {
+ let n = e[0].previousElementSibling, r = qy(e), i = ib(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = Ky(e), i = rb(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = qy(e), i = ib(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function eb(e, t = !0) {
- Qy($y(e, t));
+function tb(e, t = !0) {
+ $y(eb(e, t));
}
-function Coe(e, t) {
+function Soe(e, t) {
let n = b.useRef(t);
(0, b.useEffect)(() => {
- n.current && (Wy = e, !Yy(N_(T_(e.current ? e.current[0] : void 0)), Wy.current) && e.current && eb(e.current)), n.current = !1;
+ n.current && (Gy = e, !Xy(P_(E_(e.current ? e.current[0] : void 0)), Gy.current) && e.current && tb(e.current)), n.current = !1;
}, [e]);
}
-function woe(e, t, n) {
- B_(() => {
+function Coe(e, t, n) {
+ V_(() => {
if (t || n) return;
- let r = e.current, i = T_(r ? r[0] : void 0), a = (t) => {
- let n = P_(t);
- Yy(n, e.current) ? Wy = e : Jy(n) || (Wy = null);
+ let r = e.current, i = E_(r ? r[0] : void 0), a = (t) => {
+ let n = F_(t);
+ Xy(n, e.current) ? Gy = e : Yy(n) || (Gy = null);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -21909,43 +21909,43 @@ function woe(e, t, n) {
n
]);
}
-function tb(e) {
- let t = ab.getTreeNode(Wy);
+function nb(e) {
+ let t = ob.getTreeNode(Gy);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function Toe(e, t, n) {
- let r = (0, b.useRef)(typeof document < "u" ? N_(T_(e.current ? e.current[0] : void 0)) : null);
- B_(() => {
- let r = e.current, i = T_(r ? r[0] : void 0);
+function woe(e, t, n) {
+ let r = (0, b.useRef)(typeof document < "u" ? P_(E_(e.current ? e.current[0] : void 0)) : null);
+ V_(() => {
+ let r = e.current, i = E_(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!Wy || Zy(Wy, e)) && Yy(N_(i), e.current) && (Wy = e);
+ (!Gy || Qy(Gy, e)) && Xy(P_(i), e.current) && (Gy = e);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
};
- }, [e, n]), B_(() => {
- let r = T_(e.current ? e.current[0] : void 0);
+ }, [e, n]), V_(() => {
+ let r = E_(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !qy(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Jy(e) || t.isComposing) return;
let n = r.activeElement;
- if (!Xy(n, e) || !tb(e)) return;
- let i = ab.getTreeNode(e);
+ if (!Zy(n, e) || !nb(e)) return;
+ let i = ob.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = rb(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = ib(r.body, { tabbable: !0 });
o.currentNode = n;
let s = t.shiftKey ? o.previousNode() : o.nextNode();
- if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Xy(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Zy(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (Xy(s, e));
- t.preventDefault(), t.stopPropagation(), s ? Qy(s, !0) : Jy(a) ? Qy(a, !0) : n.blur();
+ while (Zy(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? $y(s, !0) : Yy(a) ? $y(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -21955,31 +21955,31 @@ function Toe(e, t, n) {
e,
t,
n
- ]), B_(() => {
- let n = T_(e.current ? e.current[0] : void 0);
+ ]), V_(() => {
+ let n = E_(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = ab.getTreeNode(e);
+ let i = ob.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = ab.getTreeNode(e);
+ let r = ob.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = N_(n);
- if (t && i && (a && Xy(a, e) || a === n.body && tb(e))) {
- let t = ab.clone();
+ let i = r.nodeToRestore, a = P_(n);
+ if (t && i && (a && Zy(a, e) || a === n.body && nb(e))) {
+ let t = ob.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- nb(n.nodeToRestore);
+ rb(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && ab.getTreeNode(n.scopeRef)) {
- let e = $y(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && ob.getTreeNode(n.scopeRef)) {
+ let e = eb(n.scopeRef.current, !0);
if (e) {
- nb(e);
+ rb(e);
return;
}
}
@@ -21991,21 +21991,21 @@ function Toe(e, t, n) {
};
}, [e, t]);
}
-function nb(e) {
- e.dispatchEvent(new CustomEvent(Uy, {
+function rb(e) {
+ e.dispatchEvent(new CustomEvent(Wy, {
bubbles: !0,
cancelable: !0
- })) && Qy(e);
+ })) && $y(e);
}
-function rb(e, t, n) {
- let r = t?.tabbable ? z_ : R_, i = T_(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Vy(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return M_(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!boe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Yy(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function ib(e, t, n) {
+ let r = t?.tabbable ? B_ : z_, i = E_(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Hy(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return N_(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!yoe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Xy(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var Eoe = class e {
+var Toe = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new ib({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new ab({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -22016,7 +22016,7 @@ var Eoe = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new ib({ scopeRef: e });
+ let i = new ab({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -22027,7 +22027,7 @@ var Eoe = class e {
let t = this.fastMap.get(e);
if (!t) return;
let n = t.parent;
- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && Yy(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && Xy(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
let r = t.children;
n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);
}
@@ -22039,7 +22039,7 @@ var Eoe = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, ib = class {
+}, ab = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -22049,13 +22049,13 @@ var Eoe = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, ab = new Eoe(), ob = 7e3, sb = null;
-function cb(e, t = "assertive", n = ob) {
- sb ? sb.announce(e, t, n) : (sb = new Doe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? sb.announce(e, t, n) : setTimeout(() => {
- sb?.isAttached() && sb?.announce(e, t, n);
+}, ob = new Toe(), sb = 7e3, cb = null;
+function lb(e, t = "assertive", n = sb) {
+ cb ? cb.announce(e, t, n) : (cb = new Eoe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? cb.announce(e, t, n) : setTimeout(() => {
+ cb?.isAttached() && cb?.announce(e, t, n);
}, 100));
}
-var Doe = class {
+var Eoe = class {
constructor() {
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
border: 0,
@@ -22080,7 +22080,7 @@ var Doe = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = ob) {
+ announce(e, t = "assertive", n = sb) {
if (!this.node) return;
let r = document.createElement("div");
typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {
@@ -22093,8 +22093,8 @@ var Doe = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function lb(e, t) {
- let n = (0, b.useRef)(!0), r = (0, b.useRef)(null), i = oy(e);
+function ub(e, t) {
+ let n = (0, b.useRef)(!0), r = (0, b.useRef)(null), i = sy(e);
(0, b.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, b.useEffect)(() => {
@@ -22104,33 +22104,33 @@ function lb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function ub(e, t) {
+function db(e, t) {
if (!e) return !1;
let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);
return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs
-function db(e, t) {
+function fb(e, t) {
let n = e;
- for (ub(n, t) && (n = n.parentElement); n && !ub(n, t);) n = n.parentElement;
+ for (db(n, t) && (n = n.parentElement); n && !db(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function fb(e, t) {
+function pb(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (ub(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (db(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function pb(e, t, n = {}) {
- e !== t && Ooe(e, t, t.getBoundingClientRect(), n);
+function mb(e, t, n = {}) {
+ e !== t && Doe(e, t, t.getBoundingClientRect(), n);
}
-function Ooe(e, t, n, r = {}) {
+function Doe(e, t, n, r = {}) {
let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, ee = e === d ? 0 : e.offsetWidth - e.clientWidth - N, F = e === d ? 0 : e.offsetHeight - e.clientHeight - P, te = p + (f ? 0 : T) + x, I = m - (f ? 0 : E) - S - F, ne = h + (f ? 0 : D) + C, re = g - (f ? 0 : O) - w;
- q_() && J_() || u.direction === "ltr" ? re -= ee : u.direction === "rtl" && (ne += ee);
+ J_() && Y_() || u.direction === "ltr" ? re -= ee : u.direction === "rtl" && (ne += ee);
let ie = k < te || A > I, ae = j < ne || M > re;
if (ie && i === "start") o += k - te;
else if (ie && i === "center") o += (k + A) / 2 - (te + I) / 2;
@@ -22151,7 +22151,7 @@ function Ooe(e, t, n, r = {}) {
top: o
});
}
-function mb(e, t = {}) {
+function hb(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -22164,47 +22164,47 @@ function mb(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = fb(e, !0);
- for (let t of i) pb(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = pb(e, !0);
+ for (let t of i) mb(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? fb(n, !0) : [];
- for (let e of i) pb(e, n, {
+ i = n ? pb(n, !0) : [];
+ for (let e of i) mb(e, n, {
block: "center",
inline: "center"
});
- for (let t of fb(e, !0)) pb(t, e);
+ for (let t of pb(e, !0)) mb(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var koe = 0, hb = /* @__PURE__ */ new Map();
-function gb(e) {
+var Ooe = 0, gb = /* @__PURE__ */ new Map();
+function _b(e) {
let [t, n] = (0, b.useState)();
- return B_(() => {
+ return V_(() => {
if (!e) return;
- let t = hb.get(e);
+ let t = gb.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${koe++}`;
+ let r = `react-aria-description-${Ooe++}`;
n(r);
let i = document.createElement("div");
i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {
refCount: 0,
element: i
- }, hb.set(e, t);
+ }, gb.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), hb.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), gb.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function _b(e, t, n) {
- let r = oy((e) => {
+function vb(e, t, n) {
+ let r = sy((e) => {
n && !e.defaultPrevented && n(t);
});
(0, b.useEffect)(() => {
@@ -22216,21 +22216,21 @@ function _b(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function vb(e, t, n) {
+function yb(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- B_(() => {
+ V_(() => {
if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {
let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(joe(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Aoe(n.current));
}
});
- let a = (0, b.useRef)(!1), o = oy(() => {
+ let a = (0, b.useRef)(!1), o = sy(() => {
a.current || t.resetValidation();
- }), s = oy((e) => {
+ }), s = sy((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && Moe(r) === n.current && (i ? i() : n.current?.focus(), fv("keyboard")), e.preventDefault();
- }), c = oy(() => {
+ !e.defaultPrevented && n && r && joe(r) === n.current && (i ? i() : n.current?.focus(), pv("keyboard")), e.preventDefault();
+ }), c = sy(() => {
t.commitValidation();
});
(0, b.useEffect)(() => {
@@ -22238,13 +22238,13 @@ function vb(e, t, n) {
if (!e) return;
let t = e.form, r = t?.reset;
return t && (t.reset = () => {
- a.current = !window.event || window.event.type === "message" && P_(window.event) instanceof MessagePort, r?.call(t), a.current = !1;
+ a.current = !window.event || window.event.type === "message" && F_(window.event) instanceof MessagePort, r?.call(t), a.current = !1;
}), e.addEventListener("invalid", s), e.addEventListener("change", c), t?.addEventListener("reset", o), () => {
e.removeEventListener("invalid", s), e.removeEventListener("change", c), t?.removeEventListener("reset", o), t && (t.reset = r);
};
}, [n, r]);
}
-function Aoe(e) {
+function koe(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -22260,14 +22260,14 @@ function Aoe(e) {
valid: t.valid
};
}
-function joe(e) {
+function Aoe(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: Aoe(e),
+ validationDetails: koe(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function Moe(e) {
+function joe(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -22276,16 +22276,16 @@ function Moe(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function Noe(e = !0) {
+function Moe(e = !0) {
let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(!1), i = (0, b.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return B_(() => {
+ return V_(() => {
r.current || n(!1);
}, []), [i, t];
}
-function yb(e = !0) {
- let t = xv(), [n, r] = Noe(e);
+function bb(e = !0) {
+ let t = Sv(), [n, r] = Moe(e);
return {
id: r ? t : void 0,
ref: n
@@ -22293,7 +22293,7 @@ function yb(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var bb = {
+var xb = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -22305,18 +22305,18 @@ var bb = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, xb = {
- ...bb,
+}, Sb = {
+ ...xb,
customError: !0,
valid: !1
-}, Sb = {
+}, Cb = {
isInvalid: !1,
- validationDetails: bb,
+ validationDetails: xb,
validationErrors: []
-}, Poe = (0, b.createContext)({}), Cb = "__reactAriaFormValidationState";
-function wb(e) {
+}, Noe = (0, b.createContext)({}), wb = "__reactAriaFormValidationState";
+function Tb(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[Cb];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[wb];
return {
realtimeValidation: t,
displayValidation: n,
@@ -22325,71 +22325,71 @@ function wb(e) {
commitValidation: a
};
}
- return Foe(e);
+ return Poe(e);
}
-function Foe(e) {
+function Poe(e) {
let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;
n && (t ||= n === "invalid");
let c = t === void 0 ? null : {
isInvalid: t,
validationErrors: [],
- validationDetails: xb
- }, l = (0, b.useMemo)(() => !o || i == null ? null : Eb(Ioe(o, i)), [o, i]);
+ validationDetails: Sb
+ }, l = (0, b.useMemo)(() => !o || i == null ? null : Db(Foe(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, b.useContext)(Poe), d = (0, b.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => Tb(u[e])) : Tb(u[r]) : [], [u, r]), [f, p] = (0, b.useState)(u), [m, h] = (0, b.useState)(!1);
+ let u = (0, b.useContext)(Noe), d = (0, b.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => Eb(u[e])) : Eb(u[r]) : [], [u, r]), [f, p] = (0, b.useState)(u), [m, h] = (0, b.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, b.useMemo)(() => Eb(m ? [] : d), [m, d]), _ = (0, b.useRef)(Sb), [v, y] = (0, b.useState)(Sb), x = (0, b.useRef)(Sb), S = () => {
+ let g = (0, b.useMemo)(() => Db(m ? [] : d), [m, d]), _ = (0, b.useRef)(Cb), [v, y] = (0, b.useState)(Cb), x = (0, b.useRef)(Cb), S = () => {
if (!C) return;
w(!1);
let e = l || a || _.current;
- Db(e, x.current) || (x.current = e, y(e));
+ Ob(e, x.current) || (x.current = e, y(e));
}, [C, w] = (0, b.useState)(!1);
return (0, b.useEffect)(S), {
- realtimeValidation: c || g || l || a || Sb,
+ realtimeValidation: c || g || l || a || Cb,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !Db(v, e) ? y(e) : _.current = e;
+ s === "aria" && !Ob(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = Sb;
- Db(e, x.current) || (x.current = e, y(e)), s === "native" && w(!1), h(!0);
+ let e = Cb;
+ Ob(e, x.current) || (x.current = e, y(e)), s === "native" && w(!1), h(!0);
},
commitValidation() {
s === "native" && w(!0), h(!0);
}
};
}
-function Tb(e) {
+function Eb(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function Ioe(e, t) {
+function Foe(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return Tb(n);
+ if (n && typeof n != "boolean") return Eb(n);
}
return [];
}
-function Eb(e) {
+function Db(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: xb
+ validationDetails: Sb
} : null;
}
-function Db(e, t) {
+function Ob(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
//#endregion
//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function Ob(e, t, n) {
- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, x = wb({
+function kb(e, t, n) {
+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, x = Tb({
...e,
value: t.isSelected
}), { isInvalid: S, validationErrors: C, validationDetails: w } = x.displayValidation;
- vb(e, x, n);
+ yb(e, x, n);
let T = (e) => {
- e.stopPropagation(), t.setSelected(P_(e).checked);
- }, { pressProps: E, isPressed: D } = Fy({
+ e.stopPropagation(), t.setSelected(F_(e).checked);
+ }, { pressProps: E, isPressed: D } = Iy({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -22397,7 +22397,7 @@ function Ob(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [O, k] = (0, b.useState)(!1), { pressProps: A } = Fy({
+ }), [O, k] = (0, b.useState)(!1), { pressProps: A } = Iy({
onPressStart(e) {
e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), k(!0));
},
@@ -22414,16 +22414,16 @@ function Ob(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [Cb]: i } = e, { commitValidation: a } = i || x;
+ let { [wb]: i } = e, { commitValidation: a } = i || x;
a();
},
isDisabled: r || i
- }), { focusableProps: j } = Mv(e, n), M = Tv(E, j), N = Sy(e, { labelable: !0 });
- _b(n, t.defaultSelected, t.setSelected);
- let P = yb(), ee = yb();
+ }), { focusableProps: j } = Nv(e, n), M = Ev(E, j), N = Cy(e, { labelable: !0 });
+ vb(n, t.defaultSelected, t.setSelected);
+ let P = bb(), ee = bb();
return {
- labelProps: Tv(A, { onClick: (e) => e.preventDefault() }),
- inputProps: Tv(N, {
+ labelProps: Ev(A, { onClick: (e) => e.preventDefault() }),
+ inputProps: Ev(N, {
checked: t.isSelected,
"aria-required": l && u === "aria" || void 0,
required: l && u === "native",
@@ -22457,12 +22457,12 @@ function Ob(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function kb(e, t, n) {
- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = Ob(e, t, n), { isIndeterminate: m } = e;
+function Ab(e, t, n) {
+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = kb(e, t, n), { isIndeterminate: m } = e;
return (0, b.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
- labelProps: Tv(r, (0, b.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),
+ labelProps: Ev(r, (0, b.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),
inputProps: i,
descriptionProps: a,
errorMessageProps: o,
@@ -22477,18 +22477,18 @@ function kb(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var Loe = /* @__PURE__ */ new WeakMap();
+var Ioe = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function Ab(e) {
+function jb(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = xv(t);
- let o = xv(), s = {};
+ t = Sv(t);
+ let o = Sv(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = cy({
+ let c = ly({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -22500,19 +22500,19 @@ function Ab(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function jb(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = Ab(e), s = Sv([
+function Mb(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = jb(e), s = Cv([
!!t,
!!n,
r,
i
- ]), c = Sv([
+ ]), c = Cv([
!!t,
!!n,
r,
i
]);
- return o = Tv(o, { "aria-describedby": [
+ return o = Ev(o, { "aria-describedby": [
s,
c,
e["aria-describedby"]
@@ -22525,26 +22525,26 @@ function jb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function Mb(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, b.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Ay(), c = (0, b.useCallback)((e) => {
- M_(e.currentTarget, P_(e)) && a.current.isFocusWithin && !M_(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function Nb(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, b.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = jy(), c = (0, b.useCallback)((e) => {
+ N_(e.currentTarget, F_(e)) && a.current.isFocusWithin && !N_(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = wie(c), u = (0, b.useCallback)((e) => {
- if (!M_(e.currentTarget, P_(e))) return;
- let t = P_(e), n = T_(t), s = N_(n);
+ ]), l = Cie(c), u = (0, b.useCallback)((e) => {
+ if (!N_(e.currentTarget, F_(e))) return;
+ let t = F_(e), n = E_(t), s = P_(n);
if (!a.current.isFocusWithin && s === t) {
r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);
let t = e.currentTarget;
o(n, "focus", (e) => {
- let r = P_(e);
- if (a.current.isFocusWithin && !M_(t, r)) {
+ let r = F_(e);
+ if (a.current.isFocusWithin && !N_(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- Cie(e, t);
- let i = V_(e);
+ Sie(e, t);
+ let i = H_(e);
c(i);
}
}, { capture: !0 });
@@ -22566,14 +22566,14 @@ function Mb(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var Roe = b.useInsertionEffect ?? b.useLayoutEffect;
-function Nb(e, t, n) {
+var Loe = b.useInsertionEffect ?? b.useLayoutEffect;
+function Pb(e, t, n) {
let [r, i] = (0, b.useState)(e || t), a = (0, b.useRef)(r), o = (0, b.useRef)(e !== void 0), s = e !== void 0;
(0, b.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- Roe(() => {
+ Loe(() => {
a.current = c;
});
let [, l] = (0, b.useReducer)(() => ({}), {});
@@ -22584,8 +22584,8 @@ function Nb(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function Pb(e = {}) {
- let { isReadOnly: t } = e, [n, r] = Nb(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, b.useState)(n);
+function Fb(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = Pb(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, b.useState)(n);
function a(e) {
t || r(e);
}
@@ -22601,26 +22601,26 @@ function Pb(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function zoe(e, t, n) {
- let r = Pb({
+function Roe(e, t, n) {
+ let r = Fb({
isReadOnly: e.isReadOnly || t.isReadOnly,
isSelected: t.isSelected(e.value),
defaultSelected: t.defaultValue.includes(e.value),
onChange(n) {
n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);
}
- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Loe.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Ioe.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = wb({
+ let { realtimeValidation: l } = Tb({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, b.useRef)(Sb), d = () => {
+ }), u = (0, b.useRef)(Cb), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, b.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = kb({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = Ab({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -22628,7 +22628,7 @@ function zoe(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [Cb]: {
+ [wb]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -22652,12 +22652,12 @@ function zoe(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function Fb(e, t = -Infinity, n = Infinity) {
+function Ib(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
//#endregion
//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var Ib = {
+var Lb = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -22669,40 +22669,40 @@ var Ib = {
width: "1px",
whiteSpace: "nowrap"
};
-function Lb(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, b.useState)(!1), { focusWithinProps: a } = Mb({
+function Rb(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, b.useState)(!1), { focusWithinProps: a } = Nb({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, b.useMemo)(() => r ? t : t ? {
- ...Ib,
+ ...Lb,
...t
- } : Ib, [r]);
+ } : Lb, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function Rb(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Lb(e);
- return /*#__PURE__*/ b.createElement(n, Tv(a, o), t);
+function zb(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Rb(e);
+ return /*#__PURE__*/ b.createElement(n, Ev(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function Boe(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Nb(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Mv(e, t), d = wb({
+function zoe(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Pb(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Nv(e, t), d = Tb({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = jb({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = Mb({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = Sy(e, { labelable: !0 }), x = {
+ }), y = Cy(e, { labelable: !0 }), x = {
type: o,
pattern: e.pattern
}, [S] = (0, b.useState)(c);
- return _b(t, e.defaultValue ?? S, l), vb(e, d, t), {
+ return vb(t, e.defaultValue ?? S, l), yb(e, d, t), {
labelProps: h,
- inputProps: Tv(y, n === "input" ? x : void 0, {
+ inputProps: Ev(y, n === "input" ? x : void 0, {
disabled: r,
readOnly: a,
required: i && s === "native",
@@ -22714,7 +22714,7 @@ function Boe(e, t) {
"aria-haspopup": e["aria-haspopup"],
"aria-controls": e["aria-controls"],
value: c,
- onChange: (e) => l(P_(e).value),
+ onChange: (e) => l(F_(e).value),
autoComplete: e.autoComplete,
autoCapitalize: e.autoCapitalize,
maxLength: e.maxLength,
@@ -22747,42 +22747,42 @@ function Boe(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var Voe = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function zb(e) {
+var Boe = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function Bb(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var Bb = /* @__PURE__ */ new WeakMap(), Vb = [];
-function Hb(e, t) {
- let n = E_(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Voe, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
+var Vb = /* @__PURE__ */ new WeakMap(), Hb = [];
+function Ub(e, t) {
+ let n = D_(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Boe, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));
}, u = /* @__PURE__ */ new Set();
- if (j_()) {
+ if (M_()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; O_(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; k_(e) && e !== t;) u.add(e), e = e.host.getRootNode();
}
}
let d = (e) => {
for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);
let t = (e) => {
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
- for (let t of o) if (M_(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (N_(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = Vy(T_(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = Hy(E_(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {
let e = n.nextNode();
for (; e != null;) f(e), e = n.nextNode();
}
}, f = (e) => {
- let t = Bb.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Bb.set(e, t + 1));
+ let t = Vb.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Vb.set(e, t + 1));
};
- Vb.length && Vb[Vb.length - 1].disconnect(), d(i);
+ Hb.length && Hb[Hb.length - 1].disconnect(), d(i);
let p = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => M_(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && zb(e) ? o.add(e) : e instanceof Element && d(e);
- if (j_()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => N_(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Bb(e) ? o.add(e) : e instanceof Element && d(e);
+ if (M_()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -22795,11 +22795,11 @@ function Hb(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (j_()) for (let e of u) {
+ if (M_()) for (let e of u) {
let t = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => M_(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && zb(e) ? o.add(e) : e instanceof Element && d(e);
- if (j_()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => N_(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Bb(e) ? o.add(e) : e instanceof Element && d(e);
+ if (M_()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -22825,59 +22825,59 @@ function Hb(e, t) {
p.disconnect();
}
};
- return Vb.push(h), () => {
- if (p.disconnect(), j_()) for (let e of m) e.disconnect();
+ return Hb.push(h), () => {
+ if (p.disconnect(), M_()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = Bb.get(e);
- t != null && (t === 1 ? (l(e, !1), Bb.delete(e)) : Bb.set(e, t - 1));
+ let t = Vb.get(e);
+ t != null && (t === 1 ? (l(e, !1), Vb.delete(e)) : Vb.set(e, t - 1));
}
- h === Vb[Vb.length - 1] ? (Vb.pop(), Vb.length && Vb[Vb.length - 1].observe()) : Vb.splice(Vb.indexOf(h), 1);
+ h === Hb[Hb.length - 1] ? (Hb.pop(), Hb.length && Hb[Hb.length - 1].observe()) : Hb.splice(Hb.indexOf(h), 1);
};
}
-function Ub(e) {
- let t = Vb[Vb.length - 1];
+function Wb(e) {
+ let t = Hb[Hb.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/utils.mjs
-var Wb = /* @__PURE__ */ new WeakMap();
-function Hoe(e) {
+var Gb = /* @__PURE__ */ new WeakMap();
+function Voe(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function Uoe(e, t) {
- let n = Wb.get(e);
+function Hoe(e, t) {
+ let n = Gb.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${Hoe(t)}`;
+ return `${n.id}-option-${Voe(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function Gb(e) {
- return Oie() ? e.altKey : e.ctrlKey;
+function Kb(e) {
+ return Die() ? e.altKey : e.ctrlKey;
}
-function Kb(e, t) {
+function qb(e, t) {
let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;
return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);
}
-var qb = /* @__PURE__ */ new WeakMap();
-function Woe(e) {
- let t = xv();
- return qb.set(e, t), t;
+var Jb = /* @__PURE__ */ new WeakMap();
+function Uoe(e) {
+ let t = Sv();
+ return Jb.set(e, t), t;
}
-function Goe(e) {
- return qb.get(e);
+function Woe(e) {
+ return Jb.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var Jb = class {
+var Yb = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : Kb(this.ref, e);
+ let n = e == null ? null : qb(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -22903,12 +22903,12 @@ var Jb = class {
height: e?.clientHeight ?? 0
};
}
-}, Yb = class {
+}, Xb = class {
constructor(...e) {
if (e.length === 1) {
let t = e[0];
- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new Jb(t.ref);
- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new Jb(this.ref);
+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new Yb(t.ref);
+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new Yb(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -22948,14 +22948,14 @@ var Jb = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = Kb(this.ref, e);
+ let t = this.getNextKey(e), n = qb(this.ref, e);
if (t != null) {
- let e = Kb(this.ref, t);
+ let e = qb(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = Kb(this.ref, r);
+ let e = qb(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -22989,7 +22989,7 @@ var Jb = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !ub(t)) return this.getFirstKey();
+ if (t && !db(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -23004,7 +23004,7 @@ var Jb = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !ub(t)) return this.getLastKey();
+ if (t && !db(t)) return this.getLastKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);
@@ -23027,184 +23027,184 @@ var Jb = class {
}
return null;
}
-}, Xb = {};
-Xb = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, Zb = {};
+Zb = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var Zb = {};
-Zb = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var Qb = {};
+Qb = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var Qb = {};
-Qb = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var $b = {};
+$b = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var $b = {};
-$b = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var ex = {};
+ex = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var ex = {};
-ex = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var tx = {};
+tx = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var tx = {};
-tx = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var nx = {};
+nx = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var nx = {};
-nx = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var rx = {};
+rx = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var rx = {};
-rx = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var ix = {};
+ix = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var ix = {};
-ix = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var ax = {};
+ax = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var ax = {};
-ax = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var ox = {};
+ox = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var ox = {};
-ox = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var sx = {};
+sx = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var sx = {};
-sx = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var cx = {};
+cx = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var cx = {};
-cx = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var lx = {};
+lx = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var lx = {};
-lx = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var ux = {};
+ux = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var ux = {};
-ux = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var dx = {};
+dx = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var dx = {};
-dx = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var fx = {};
+fx = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var fx = {};
-fx = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var px = {};
+px = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var px = {};
-px = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var mx = {};
+mx = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var mx = {};
-mx = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var hx = {};
+hx = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var hx = {};
-hx = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var gx = {};
+gx = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var gx = {};
-gx = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var _x = {};
+_x = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var _x = {};
-_x = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var vx = {};
+vx = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var vx = {};
-vx = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var yx = {};
+yx = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var yx = {};
-yx = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var bx = {};
+bx = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var bx = {};
-bx = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var xx = {};
+xx = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var xx = {};
-xx = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var Sx = {};
+Sx = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var Sx = {};
-Sx = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var Cx = {};
+Cx = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var Cx = {};
-Cx = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var wx = {};
+wx = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var wx = {};
-wx = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var Tx = {};
+Tx = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var Tx = {};
-Tx = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var Ex = {};
+Ex = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var Ex = {};
-Ex = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var Dx = {};
+Dx = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var Dx = {};
-Dx = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var Ox = {};
+Ox = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var Ox = {};
-Ox = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var kx = {};
+kx = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var kx = {};
-kx = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var Ax = {};
+Ax = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var Ax = {};
-Ax = {
- "ar-AE": Xb,
- "bg-BG": Zb,
- "cs-CZ": Qb,
- "da-DK": $b,
- "de-DE": ex,
- "el-GR": tx,
- "en-US": nx,
- "es-ES": rx,
- "et-EE": ix,
- "fi-FI": ax,
- "fr-FR": ox,
- "he-IL": sx,
- "hr-HR": cx,
- "hu-HU": lx,
- "it-IT": ux,
- "ja-JP": dx,
- "ko-KR": fx,
- "lt-LT": px,
- "lv-LV": mx,
- "nb-NO": hx,
- "nl-NL": gx,
- "pl-PL": _x,
- "pt-BR": vx,
- "pt-PT": yx,
- "ro-RO": bx,
- "ru-RU": xx,
- "sk-SK": Sx,
- "sl-SI": Cx,
- "sr-SP": wx,
- "sv-SE": Tx,
- "tr-TR": Ex,
- "uk-UA": Dx,
- "zh-CN": Ox,
- "zh-TW": kx
+var jx = {};
+jx = {
+ "ar-AE": Zb,
+ "bg-BG": Qb,
+ "cs-CZ": $b,
+ "da-DK": ex,
+ "de-DE": tx,
+ "el-GR": nx,
+ "en-US": rx,
+ "es-ES": ix,
+ "et-EE": ax,
+ "fi-FI": ox,
+ "fr-FR": sx,
+ "he-IL": cx,
+ "hr-HR": lx,
+ "hu-HU": ux,
+ "it-IT": dx,
+ "ja-JP": fx,
+ "ko-KR": px,
+ "lt-LT": mx,
+ "lv-LV": hx,
+ "nb-NO": gx,
+ "nl-NL": _x,
+ "pl-PL": vx,
+ "pt-BR": yx,
+ "pt-PT": bx,
+ "ro-RO": xx,
+ "ru-RU": Sx,
+ "sk-SK": Cx,
+ "sl-SI": wx,
+ "sr-SP": Tx,
+ "sv-SE": Ex,
+ "tr-TR": Dx,
+ "uk-UA": Ox,
+ "zh-CN": kx,
+ "zh-TW": Ax
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var Koe = 500;
-function jx(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Koe, accessibilityDescription: s } = e, c = (0, b.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Ay(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Fy({
+var Goe = 500;
+function Mx(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Goe, accessibilityDescription: s } = e, c = (0, b.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = jy(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Iy({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -23212,12 +23212,12 @@ function jx(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), T_(e.target).activeElement !== e.target && w_(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), E_(e.target).activeElement !== e.target && T_(e.target), a && a({
...e,
type: "longpress"
}), c.current = void 0;
}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });
- let t = E_(e.target);
+ let t = D_(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -23232,12 +23232,12 @@ function jx(e) {
});
}
});
- return { longPressProps: Tv(f, gb(a && !t ? s : void 0)) };
+ return { longPressProps: Ev(f, _b(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function qoe(e) {
- let { onContextMenu: t } = e, n = (0, b.useRef)(!1), { longPressProps: r } = jx({
+function Koe(e) {
+ let { onContextMenu: t } = e, n = (0, b.useRef)(!1), { longPressProps: r } = Mx({
onLongPressStart() {
n.current = !1;
},
@@ -23249,7 +23249,7 @@ function qoe(e) {
});
}
});
- return t ? { contextMenuProps: Tv(q_() ? r : {}, {
+ return t ? { contextMenuProps: Ev(J_() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -23260,7 +23260,7 @@ function qoe(e) {
});
},
onKeyDown(e) {
- if (K_() && e.ctrlKey && e.key === "Enter") {
+ if (q_() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -23280,13 +23280,13 @@ function qoe(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var Mx = /* @__PURE__ */ new WeakMap();
-function Joe(e) {
+var Nx = /* @__PURE__ */ new WeakMap();
+function qoe(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, b.useEffect)(() => !n || r === null ? void 0 : k_(gie(t.current), "scroll", (e) => {
- let n = P_(e);
- if (!t.current || n instanceof Node && !M_(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || Mx.get(t.current);
+ (0, b.useEffect)(() => !n || r === null ? void 0 : A_(hie(t.current), "scroll", (e) => {
+ let n = F_(e);
+ if (!t.current || n instanceof Node && !N_(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || Nx.get(t.current);
i && i();
}, !0), [
n,
@@ -23296,14 +23296,14 @@ function Joe(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function Yoe(e, t, n) {
+function Joe(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, b.useEffect)(() => {
- n && n.current && Mx.set(n.current, t.close);
+ n && n.current && Nx.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = xv();
+ let o = Sv();
return {
triggerProps: {
"aria-haspopup": a,
@@ -23316,14 +23316,14 @@ function Yoe(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function Xoe(e) {
+function Yoe(e) {
return e && e.__esModule ? e.default : e;
}
-function Nx(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = xv(), { triggerProps: s, overlayProps: c } = Yoe({ type: r }, t, n), l = (e, n, r = "first") => {
+function Px(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Sv(), { triggerProps: s, overlayProps: c } = Joe({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = Ov({
+ }, { keyboardProps: u } = kv({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -23335,7 +23335,7 @@ function Nx(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = by(Xoe(Ax), "@react-aria/menu"), { longPressProps: f } = jx({
+ }), d = xy(Yoe(jx), "@react-aria/menu"), { longPressProps: f } = Mx({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -23347,14 +23347,14 @@ function Nx(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (w_(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (T_(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (w_(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (T_(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = qoe({ onContextMenu(e) {
+ let { contextMenuProps: m } = Koe({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -23364,7 +23364,7 @@ function Nx(e, t, n) {
(0, b.useEffect)(() => {
if (t.isOpen && a === "contextMenu") {
let e = (e) => {
- (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && P_(e) === document.body && t.close();
+ (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && F_(e) === document.body && t.close();
};
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
}
@@ -23399,8 +23399,8 @@ function Nx(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var Px = 1e3;
-function Fx(e) {
+var Fx = 1e3;
+function Ix(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, b.useRef)({
search: "",
timeout: void 0
@@ -23419,12 +23419,12 @@ function Fx(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Px);
+ }, Fx);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = Zoe(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !M_(e.currentTarget, P_(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = Xoe(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !N_(e.currentTarget, F_(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();
@@ -23435,34 +23435,34 @@ function Fx(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Px);
+ }, Fx);
}
} : void 0
} };
}
-function Zoe(e) {
+function Xoe(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function Ix(e, t) {
+function Lx(e, t) {
let n = (0, b.useRef)(!0), r = (0, b.useRef)(null);
- B_(() => (n.current = !0, () => {
+ V_(() => (n.current = !0, () => {
n.current = !1;
- }), []), B_(() => {
+ }), []), V_(() => {
n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function Lx(e) {
- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = my(), _ = X_(), v = (e, n, i) => {
+function Rx(e) {
+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = hy(), _ = Z_(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !Gb(e)) {
+ if (t.isLink(n) && m === "selection" && l && !Kb(e)) {
(0, pt.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = Kb(r, n), o = t.getItemProps(n);
+ let a = qb(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -23474,7 +23474,7 @@ function Lx(e) {
t.extendSelection(n);
return;
}
- if (l && !Gb(e)) {
+ if (l && !Kb(e)) {
t.replaceSelection(n);
return;
}
@@ -23501,9 +23501,9 @@ function Lx(e) {
}, S = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, iy(e));
+ let r = n.getFirstKey(t.focusedKey, ay(e));
if (t.setFocusedKey(r), r != null) {
- if (iy(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (ay(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -23535,9 +23535,9 @@ function Lx(e) {
}, T = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, iy(e));
+ let r = n.getLastKey(t.focusedKey, ay(e));
if (t.setFocusedKey(r), r != null) {
- if (iy(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (ay(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -23568,12 +23568,12 @@ function Lx(e) {
else return !1;
}, A = () => {
if (!f && r.current) {
- let e = rb(r.current, { tabbable: !0 }), t, n;
+ let e = ib(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = N_();
- t && (!F_(t) || i && !z_(i)) && w_(t);
+ let i = P_();
+ t && (!I_(t) || i && !B_(i)) && T_(t);
}
return {
shouldContinuePropagation: !0,
@@ -23583,11 +23583,11 @@ function Lx(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), M = (e, t) => ({
- [K_() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [q_() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [K_() ? e + "+Alt" : e + "+Control"]: t,
+ [q_() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: N } = Ov({
+ }), { keyboardProps: N } = kv({
shortcuts: {
...M("ArrowDown", y),
...M("ArrowUp", x),
@@ -23597,7 +23597,7 @@ function Lx(e) {
...M("PageUp", D)
},
allowRepeats: !0
- }), { keyboardProps: P } = Ov({ shortcuts: {
+ }), { keyboardProps: P } = kv({ shortcuts: {
...M("Home", S),
...M("End", T),
"Mod+A": O,
@@ -23608,7 +23608,7 @@ function Lx(e) {
top: 0,
left: 0
});
- sy(p, "scroll", () => {
+ cy(p, "scroll", () => {
ee.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -23616,11 +23616,11 @@ function Lx(e) {
});
let F = (e) => {
if (t.isFocused) {
- M_(e.currentTarget, P_(e)) || t.setFocused(!1);
+ N_(e.currentTarget, F_(e)) || t.setFocused(!1);
return;
}
- if (!M_(e.currentTarget, P_(e))) return;
- let i = dv();
+ if (!N_(e.currentTarget, F_(e))) return;
+ let i = fv();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -23631,27 +23631,27 @@ function Lx(e) {
r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());
} else p.current && (p.current.scrollTop = ee.current.top, p.current.scrollLeft = ee.current.left);
if (t.focusedKey != null && p.current) {
- let e = Kb(r, t.focusedKey);
- e instanceof HTMLElement && (!F_(e) && !d && w_(e), (i === "keyboard" || h && i === "virtual") && mb(e, { containingElement: r.current }));
+ let e = qb(r, t.focusedKey);
+ e instanceof HTMLElement && (!I_(e) && !d && T_(e), (i === "keyboard" || h && i === "virtual") && hb(e, { containingElement: r.current }));
}
}, te = (e) => {
- M_(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ N_(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
}, I = (0, b.useRef)(!1);
- sy(r, Bae, d ? (e) => {
+ cy(r, zae, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (I.current = !0);
} : void 0);
let ne = n.getFirstKey?.() ?? null;
- Ix(() => {
+ Lx(() => {
if (I.current) {
if (ne == null) {
- let e = N_();
- qv(r.current), Jv(e, null), t.collection.size > 0 && (I.current = !1);
+ let e = P_();
+ Jv(r.current), Yv(e, null), t.collection.size > 0 && (I.current = !1);
} else t.setFocusedKey(ne), I.current = !1;
}
- }, [ne, t.collection.size]), Ix(() => {
+ }, [ne, t.collection.size]), Lx(() => {
t.collection.size > 0 && (I.current = !1);
- }, [t.focusedKey]), sy(r, zae, d ? (e) => {
+ }, [t.focusedKey]), cy(r, Rae, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
let re = (0, b.useRef)(i), ie = (0, b.useRef)(!1);
@@ -23666,53 +23666,53 @@ function Lx(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && gv(r.current), t.collection.size > 0 && (re.current = !1, ie.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && _v(r.current), t.collection.size > 0 && (re.current = !1, ie.current = !0);
}
});
let ae = (0, b.useRef)(t.focusedKey), oe = (0, b.useRef)(null);
(0, b.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {
- let e = dv(), n = Kb(r, t.focusedKey);
+ let e = fv(), n = qb(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {
- p.current && (pb(p.current, n), e !== "virtual" && mb(n, { containingElement: r.current }));
+ p.current && (mb(p.current, n), e !== "virtual" && hb(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && gv(r.current), ae.current = t.focusedKey, ie.current = !1;
+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && _v(r.current), ae.current = t.focusedKey, ie.current = !1;
}), (0, b.useEffect)(() => () => {
oe.current && cancelAnimationFrame(oe.current);
- }, []), sy(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), cy(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let se = {
- ...Tv(P, N),
+ ...Ev(P, N),
onFocus: F,
onBlur: te,
onMouseDown(e) {
- p.current === P_(e) && e.preventDefault();
+ p.current === F_(e) && e.preventDefault();
}
- }, { typeSelectProps: ce } = Fx({
+ }, { typeSelectProps: ce } = Ix({
keyboardDelegate: n,
selectionManager: t
});
- u || (se = Tv(ce, se));
+ u || (se = Ev(ce, se));
let le;
d || (le = t.focusedKey == null ? 0 : -1);
- let ue = Woe(t.collection);
- return { collectionProps: Tv(se, {
+ let ue = Uoe(t.collection);
+ return { collectionProps: Ev(se, {
tabIndex: le,
"data-collection": ue
}) };
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function Rx(e, t) {
+function zx(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function zx(e) {
- return Bx(e, 0);
+function Bx(e) {
+ return Vx(e, 0);
}
-function Bx(e, t) {
+function Vx(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -23720,112 +23720,112 @@ function Bx(e, t) {
n++;
}
}
-function Vx(e) {
+function Hx(e) {
let t;
for (let n of e) t = n;
return t;
}
-function Hx(e, t, n) {
+function Ux(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...Ux(e, t), t], i = [...Ux(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...Wx(e, t), t], i = [...Wx(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);
}
-function Ux(e, t) {
+function Wx(e, t) {
let n = [], r = t;
for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);
return n;
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs
-var Wx = /* @__PURE__ */ new WeakMap();
-function Gx(e) {
- let t = Wx.get(e);
+var Gx = /* @__PURE__ */ new WeakMap();
+function Kx(e) {
+ let t = Gx.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(Rx(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(zx(i, e)) : i.type === "item" && n++;
};
- return r(e), Wx.set(e, n), n;
+ return r(e), Gx.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var Kx = /* @__PURE__ */ new Map();
-function qx(e) {
- let { locale: t } = my(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (Kx.has(n)) return Kx.get(n);
+var qx = /* @__PURE__ */ new Map();
+function Jx(e) {
+ let { locale: t } = hy(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (qx.has(n)) return qx.get(n);
let r = new Intl.Collator(t, e);
- return Kx.set(n, r), r;
+ return qx.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var Qoe = /*#__PURE__*/ b.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, b.useRef)(!1), i = (0, b.useContext)(ky), a = Tv(i || {}, {
+var Zoe = /*#__PURE__*/ b.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, b.useRef)(!1), i = (0, b.useContext)(Ay), a = Ev(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = kv(n || i?.ref), Av(i, a.ref), (0, b.useEffect)(() => {
+ return a.ref = Av(n || i?.ref), jv(i, a.ref), (0, b.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ b.createElement(ky.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ b.createElement(Ay.Provider, { value: a }, e);
});
-function $oe({ children: e }) {
+function Qoe({ children: e }) {
let t = (0, b.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ b.createElement(ky.Provider, { value: t }, e);
+ return /*#__PURE__*/ b.createElement(Ay.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var Jx = /*#__PURE__*/ (0, b.createContext)({});
-function Yx(e) {
- let { getContainer: t } = e, { getContainer: n } = Xx();
- return /*#__PURE__*/ b.createElement(Jx.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var Yx = /*#__PURE__*/ (0, b.createContext)({});
+function Xx(e) {
+ let { getContainer: t } = e, { getContainer: n } = Zx();
+ return /*#__PURE__*/ b.createElement(Yx.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function Xx() {
- return (0, b.useContext)(Jx) ?? {};
+function Zx() {
+ return (0, b.useContext)(Yx) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var Zx = /*#__PURE__*/ b.createContext(null);
-function Qx(e) {
- let t = ev(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, b.useState)(!1), o = (0, b.useMemo)(() => ({
+var Qx = /*#__PURE__*/ b.createContext(null);
+function $x(e) {
+ let t = tv(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, b.useState)(!1), o = (0, b.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = Xx();
+ }), [i, a]), { getContainer: s } = Zx();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ b.createElement(Gy, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ b.createElement(Ky, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ b.createElement(Zx.Provider, { value: o }, /*#__PURE__*/ b.createElement($oe, null, /*#__PURE__*/ b.createElement(jv.Provider, { value: null }, c))), /*#__PURE__*/ pt.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ b.createElement(Qx.Provider, { value: o }, /*#__PURE__*/ b.createElement(Qoe, null, /*#__PURE__*/ b.createElement(Mv.Provider, { value: null }, c))), /*#__PURE__*/ pt.createPortal(c, n);
}
-function $x() {
- let e = (0, b.useContext)(Zx)?.setContain;
- B_(() => {
+function eS() {
+ let e = (0, b.useContext)(Qx)?.setContain;
+ V_(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function ese(e, t) {
- let { role: n = "dialog", isEntering: r } = e, i = Sv();
+function $oe(e, t) {
+ let { role: n = "dialog", isEntering: r } = e, i = Cv();
i = e["aria-label"] ? void 0 : i;
- let a = Sv();
+ let a = Cv();
a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;
let o = (0, b.useRef)(!1);
(0, b.useEffect)(() => {
- if (!r && t.current && !F_(t.current)) {
- gv(t.current);
+ if (!r && t.current && !I_(t.current)) {
+ _v(t.current);
let e = setTimeout(() => {
- (N_() === t.current || N_() === document.body) && (o.current = !0, t.current && (t.current.blur(), gv(t.current)), o.current = !1);
+ (P_() === t.current || P_() === document.body) && (o.current = !0, t.current && (t.current.blur(), _v(t.current)), o.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t, r]), $x(), (0, b.useRef)(!1), (0, b.useEffect)(() => {});
+ }, [t, r]), eS(), (0, b.useRef)(!1), (0, b.useEffect)(() => {});
let s = e["aria-describedby"] ?? a;
return {
dialogProps: {
- ...Sy(e, { labelable: !0 }),
+ ...Cy(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? i,
@@ -23840,23 +23840,23 @@ function ese(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function eS(e = {}) {
+function tS(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, b.useRef)({
isFocused: !1,
- isFocusVisible: t || uv()
+ isFocusVisible: t || dv()
}), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, b.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, b.useCallback)((e) => {
- i.current.isFocused = e, i.current.isFocusVisible = uv(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = dv(), o(e), l();
}, [l]);
- oae((e) => {
+ aae((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = Ev({
+ let { focusProps: d } = Dv({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = Mb({
+ }), { focusWithinProps: f } = Nb({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -23868,42 +23868,42 @@ function eS(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function tse(e = {}) {
- let { locale: t } = my();
+function ese(e = {}) {
+ let { locale: t } = hy();
return (0, b.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var tS = !1, nS = 0;
-function nse() {
- tS = !0, setTimeout(() => {
- tS = !1;
+var nS = !1, rS = 0;
+function tse() {
+ nS = !0, setTimeout(() => {
+ nS = !1;
}, 500);
}
-function rS(e) {
- e.pointerType === "touch" && nse();
+function iS(e) {
+ e.pointerType === "touch" && tse();
}
-function rse() {
- let e = T_(null);
- if (e !== void 0) return nS === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", rS), nS++, () => {
- nS--, !(nS > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", rS);
+function nse() {
+ let e = E_(null);
+ if (e !== void 0) return rS === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", iS), rS++, () => {
+ rS--, !(rS > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", iS);
};
}
-function iS(e) {
+function aS(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, b.useState)(!1), s = (0, b.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, b.useEffect)(rse, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = Ay(), { hoverProps: u, triggerHoverEnd: d } = (0, b.useMemo)(() => {
+ (0, b.useEffect)(nse, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = jy(), { hoverProps: u, triggerHoverEnd: d } = (0, b.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !M_(e.currentTarget, P_(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !N_(e.currentTarget, F_(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(T_(P_(e)), "pointerover", (e) => {
- s.isHovered && s.target && !M_(s.target, P_(e)) && a(e, e.pointerType);
+ s.target = l, c(E_(F_(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !N_(s.target, F_(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -23918,9 +23918,9 @@ function iS(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- tS && t.pointerType === "mouse" || e(t, t.pointerType);
+ nS && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && M_(e.currentTarget, P_(e)) && a(e, e.pointerType);
+ !i && N_(e.currentTarget, F_(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -23943,22 +23943,22 @@ function iS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function ise(e) {
+function rse(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, b.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = oy((e) => {
- n && aS(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = oy((e) => {
+ }), o = sy((e) => {
+ n && oS(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = sy((e) => {
n && n(e);
});
(0, b.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = T_(n);
+ let n = t.current, i = E_(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && aS(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && oS(n, t) && s(n), e.isPointerDown = !1;
};
return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {
i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);
@@ -23966,19 +23966,19 @@ function ise(e) {
}
}, [t, r]);
}
-function aS(e, t) {
+function oS(e, t) {
if (e.button > 0) return !1;
- let n = P_(e);
+ let n = F_(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !M_(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !N_(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
}
return t.current ? !e.composedPath().includes(t.current) : !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var oS = {};
-oS = {
+var sS = {};
+sS = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -23992,8 +23992,8 @@ oS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var sS = {};
-sS = {
+var cS = {};
+cS = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -24007,8 +24007,8 @@ sS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var cS = {};
-cS = {
+var lS = {};
+lS = {
deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,
longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",
select: "Vybrat",
@@ -24022,8 +24022,8 @@ cS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var lS = {};
-lS = {
+var uS = {};
+uS = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -24037,8 +24037,8 @@ lS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var uS = {};
-uS = {
+var dS = {};
+dS = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -24052,8 +24052,8 @@ uS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var dS = {};
-dS = {
+var fS = {};
+fS = {
deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,
longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",
select: "Επιλογή",
@@ -24067,8 +24067,8 @@ dS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var fS = {};
-fS = {
+var pS = {};
+pS = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -24082,8 +24082,8 @@ fS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var pS = {};
-pS = {
+var mS = {};
+mS = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -24097,8 +24097,8 @@ pS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var mS = {};
-mS = {
+var hS = {};
+hS = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -24112,8 +24112,8 @@ mS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var hS = {};
-hS = {
+var gS = {};
+gS = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -24127,8 +24127,8 @@ hS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var gS = {};
-gS = {
+var _S = {};
+_S = {
deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,
longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",
select: "Sélectionner",
@@ -24142,8 +24142,8 @@ gS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var _S = {};
-_S = {
+var vS = {};
+vS = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -24157,8 +24157,8 @@ _S = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var vS = {};
-vS = {
+var yS = {};
+yS = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -24172,8 +24172,8 @@ vS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var yS = {};
-yS = {
+var bS = {};
+bS = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -24187,8 +24187,8 @@ yS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var bS = {};
-bS = {
+var xS = {};
+xS = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -24202,8 +24202,8 @@ bS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var xS = {};
-xS = {
+var SS = {};
+SS = {
deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,
longPressToSelect: "長押しして選択モードを開きます。",
select: "選択",
@@ -24217,8 +24217,8 @@ xS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var SS = {};
-SS = {
+var CS = {};
+CS = {
deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,
longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",
select: "선택",
@@ -24232,8 +24232,8 @@ SS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var CS = {};
-CS = {
+var wS = {};
+wS = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -24247,8 +24247,8 @@ CS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var wS = {};
-wS = {
+var TS = {};
+TS = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -24262,8 +24262,8 @@ wS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var TS = {};
-TS = {
+var ES = {};
+ES = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -24277,8 +24277,8 @@ TS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var ES = {};
-ES = {
+var DS = {};
+DS = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -24292,8 +24292,8 @@ ES = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var DS = {};
-DS = {
+var OS = {};
+OS = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -24307,8 +24307,8 @@ DS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var OS = {};
-OS = {
+var kS = {};
+kS = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -24322,8 +24322,8 @@ OS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var kS = {};
-kS = {
+var AS = {};
+AS = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -24337,8 +24337,8 @@ kS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var AS = {};
-AS = {
+var jS = {};
+jS = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -24352,8 +24352,8 @@ AS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var jS = {};
-jS = {
+var MS = {};
+MS = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -24367,8 +24367,8 @@ jS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var MS = {};
-MS = {
+var NS = {};
+NS = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -24382,8 +24382,8 @@ MS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var NS = {};
-NS = {
+var PS = {};
+PS = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -24397,8 +24397,8 @@ NS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var PS = {};
-PS = {
+var FS = {};
+FS = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -24412,8 +24412,8 @@ PS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var FS = {};
-FS = {
+var IS = {};
+IS = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -24427,8 +24427,8 @@ FS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var IS = {};
-IS = {
+var LS = {};
+LS = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -24442,8 +24442,8 @@ IS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var LS = {};
-LS = {
+var RS = {};
+RS = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -24457,8 +24457,8 @@ LS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var RS = {};
-RS = {
+var zS = {};
+zS = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -24472,8 +24472,8 @@ RS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var zS = {};
-zS = {
+var BS = {};
+BS = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -24487,55 +24487,55 @@ zS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var BS = {};
-BS = {
- "ar-AE": oS,
- "bg-BG": sS,
- "cs-CZ": cS,
- "da-DK": lS,
- "de-DE": uS,
- "el-GR": dS,
- "en-US": fS,
- "es-ES": pS,
- "et-EE": mS,
- "fi-FI": hS,
- "fr-FR": gS,
- "he-IL": _S,
- "hr-HR": vS,
- "hu-HU": yS,
- "it-IT": bS,
- "ja-JP": xS,
- "ko-KR": SS,
- "lt-LT": CS,
- "lv-LV": wS,
- "nb-NO": TS,
- "nl-NL": ES,
- "pl-PL": DS,
- "pt-BR": OS,
- "pt-PT": kS,
- "ro-RO": AS,
- "ru-RU": jS,
- "sk-SK": MS,
- "sl-SI": NS,
- "sr-SP": PS,
- "sv-SE": FS,
- "tr-TR": IS,
- "uk-UA": LS,
- "zh-CN": RS,
- "zh-TW": zS
+var VS = {};
+VS = {
+ "ar-AE": sS,
+ "bg-BG": cS,
+ "cs-CZ": lS,
+ "da-DK": uS,
+ "de-DE": dS,
+ "el-GR": fS,
+ "en-US": pS,
+ "es-ES": mS,
+ "et-EE": hS,
+ "fi-FI": gS,
+ "fr-FR": _S,
+ "he-IL": vS,
+ "hr-HR": yS,
+ "hu-HU": bS,
+ "it-IT": xS,
+ "ja-JP": SS,
+ "ko-KR": CS,
+ "lt-LT": wS,
+ "lv-LV": TS,
+ "nb-NO": ES,
+ "nl-NL": DS,
+ "pl-PL": OS,
+ "pt-BR": kS,
+ "pt-PT": AS,
+ "ro-RO": jS,
+ "ru-RU": MS,
+ "sk-SK": NS,
+ "sl-SI": PS,
+ "sr-SP": FS,
+ "sv-SE": IS,
+ "tr-TR": LS,
+ "uk-UA": RS,
+ "zh-CN": zS,
+ "zh-TW": BS
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function ase(e) {
+function ise(e) {
return e && e.__esModule ? e.default : e;
}
-function ose(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = by(ase(BS), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, b.useRef)(i), o = (0, b.useCallback)(() => {
+function ase(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = xy(ise(VS), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, b.useRef)(i), o = (0, b.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = VS(i, a.current), o = VS(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = HS(i, a.current), o = HS(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
if (t.selectionManager.selectedKeys.size === 1 && s) {
let e = t.selectionManager.selectedKeys.keys().next().value;
if (e != null && t.collection.getItem(e)) {
@@ -24555,7 +24555,7 @@ function ose(e, t) {
t && c.push(r.format("deselectedItem", { item: t }));
}
}
- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && cb(c.join(" ")), a.current = i;
+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && lb(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -24566,7 +24566,7 @@ function ose(e, t) {
n,
r
]);
- lb(() => {
+ ub(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -24574,7 +24574,7 @@ function ose(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function VS(e, t) {
+function HS(e, t) {
let n = /* @__PURE__ */ new Set();
if (e === "all" || t === "all") return n;
for (let r of e.keys()) t.has(r) || n.add(r);
@@ -24582,13 +24582,13 @@ function VS(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function HS(e, t) {
+function US(e, t) {
let n = t?.isDisabled, [r, i] = (0, b.useState)(!1);
- return B_(() => {
+ return V_(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = rb(e.current, { tabbable: !0 });
+ let t = ib(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -24607,12 +24607,12 @@ function HS(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function sse(e) {
+function ose(e) {
return e && e.__esModule ? e.default : e;
}
-function cse(e) {
- let t = by(sse(BS), "@react-aria/grid"), n = nae(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return gb((0, b.useMemo)(() => {
+function sse(e) {
+ let t = xy(ose(VS), "@react-aria/grid"), n = tae(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return _b((0, b.useMemo)(() => {
let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;
return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;
}, [
@@ -24625,11 +24625,11 @@ function cse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function US(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = qx({
+function WS(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = Jx({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, b.useMemo)(() => a || new Yb({
+ }), l = t.disabledBehavior, u = (0, b.useMemo)(() => a || new Xb({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -24646,7 +24646,7 @@ function US(e) {
c,
l,
s
- ]), { collectionProps: d } = Lx({
+ ]), { collectionProps: d } = Rx({
...e,
ref: i,
selectionManager: t,
@@ -24656,11 +24656,11 @@ function US(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function WS(e) {
- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = X_();
- t = xv(t);
+function GS(e) {
+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = Z_();
+ t = Sv(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && Gb(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && Kb(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -24671,11 +24671,11 @@ function WS(e) {
}
if (d === "override" || d === "none") return;
}
- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (iy(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (ay(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, b.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? qv(i.current) : s ? s() : N_() !== i.current && i.current && gv(i.current));
+ r === n.focusedKey && n.isFocused && (o ? Jv(i.current) : s ? s() : P_() !== i.current && i.current && _v(i.current));
}, [
i,
r,
@@ -24688,7 +24688,7 @@ function WS(e) {
!o && !c ? m = {
tabIndex: r === n.focusedKey ? 0 : -1,
onFocus(e) {
- P_(e) === i.current && n.setFocusedKey(r);
+ F_(e) === i.current && n.setFocusedKey(r);
}
} : c && (m.onMouseDown = (e) => {
e.preventDefault();
@@ -24703,23 +24703,23 @@ function WS(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);
}, A = { ref: i };
a ? (A.onPressStart = (e) => {
- w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!C || KS(e.key)) && p(e);
+ w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!C || qS(e.key)) && p(e);
}, u ? (A.onPressUp = x ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, A.onPress = x ? k : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : A.onPress = (e) => {
if (x || S && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !GS(e.key)) return;
+ if (e.pointerType === "keyboard" && !KS(e.key)) return;
k(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (A.onPressStart = (e) => {
- w.current = e.pointerType, E.current = T, D.current = x, v && (e.pointerType === "mouse" && !x || e.pointerType === "keyboard" && (!y || KS(e.key))) && p(e);
+ w.current = e.pointerType, E.current = T, D.current = x, v && (e.pointerType === "mouse" && !x || e.pointerType === "keyboard" && (!y || qS(e.key))) && p(e);
}, A.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && C && GS(e.key) || e.pointerType === "mouse" && D.current) && (C ? k(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && C && KS(e.key) || e.pointerType === "mouse" && D.current) && (C ? k(e) : v && p(e));
});
- let j = Goe(n.collection);
- if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = Tv(A, {
+ let j = Woe(n.collection);
+ if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = Ev(A, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
},
@@ -24733,10 +24733,10 @@ function WS(e) {
"onPress",
"onPressUp",
"onClick"
- ]) O[e] && (A[e] = _v(A[e], O[e]));
- let { pressProps: M, isPressed: N } = Fy(A), P = S ? (e) => {
+ ]) O[e] && (A[e] = vv(A[e], O[e]));
+ let { pressProps: M, isPressed: N } = Iy(A), P = S ? (e) => {
w.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));
- } : void 0, { longPressProps: ee } = jx({
+ } : void 0, { longPressProps: ee } = Mx({
isDisabled: !T,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -24744,8 +24744,8 @@ function WS(e) {
}), F = (e) => {
w.current === "touch" && E.current && e.preventDefault();
}, te = d !== "none" && n.isLink(r) ? (e) => {
- Z_.isOpening || e.preventDefault();
- } : void 0, I = Tv(m, v || x || o && !c ? M : {}, T ? ee : {}, {
+ Q_.isOpening || e.preventDefault();
+ } : void 0, I = Ev(m, v || x || o && !c ? M : {}, T ? ee : {}, {
onDoubleClick: P,
onDragStartCapture: F,
onClick: te,
@@ -24757,15 +24757,15 @@ function WS(e) {
if (e != null) return e !== j;
t = t.parentElement;
}
- return z_(e);
+ return B_(e);
}, re = I.onPointerDown;
I.onPointerDown = (e) => {
- let t = P_(e);
+ let t = F_(e);
t && t !== i.current && ne(t) ? e.stopPropagation() : re?.(e);
};
let ie = I.onMouseDown;
return I.onMouseDown = (e) => {
- let t = P_(e);
+ let t = F_(e);
t && t !== i.current && ne(t) ? e.stopPropagation() : ie?.(e);
}, {
itemProps: I,
@@ -24777,22 +24777,22 @@ function WS(e) {
hasAction: C
};
}
-function GS(e) {
+function KS(e) {
return e === "Enter";
}
-function KS(e) {
+function qS(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function lse(e) {
+function cse(e) {
return e && e.__esModule ? e.default : e;
}
-function use(e, t) {
- let { key: n } = e, r = t.selectionManager, i = xv(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function lse(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = Sv(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": by(lse(BS), "@react-aria/grid").format("select"),
+ "aria-label": xy(cse(VS), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -24800,22 +24800,22 @@ function use(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function dse(e, t, n) {
- let r = Sy(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function use(e, t, n) {
+ let r = Cy(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
i === "toggle" && o === "action" && (o = "override");
- let { listProps: s } = US({
+ let { listProps: s } = WS({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = Mb({
+ }), { focusWithinProps: c } = Nb({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = xv(e.id);
- Wb.set(t, {
+ }), l = Sv(e.id);
+ Gb.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -24825,24 +24825,24 @@ function dse(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = Ab({
+ let { labelProps: u, fieldProps: d } = jb({
...e,
id: l,
labelElementType: "span"
});
return {
labelProps: u,
- listBoxProps: Tv(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {
+ listBoxProps: Ev(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {
role: "listbox",
"aria-orientation": a,
- ...Tv(d, s)
+ ...Ev(d, s)
})
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function fse(e) {
- let { heading: t, "aria-label": n } = e, r = xv();
+function dse(e) {
+ let { heading: t, "aria-label": n } = e, r = Sv();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -24861,8 +24861,8 @@ function fse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function pse(e, t, n) {
- let { key: r } = e, i = Wb.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = Sv(), f = Sv(), p = {
+function fse(e, t, n) {
+ let { key: r } = e, i = Gb.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = Cv(), f = Cv(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -24872,9 +24872,9 @@ function pse(e, t, n) {
}, m = t.collection.getItem(r);
if (u) {
let e = Number(m?.index);
- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Gx(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Kx(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Uoe(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = WS({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Hoe(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = GS({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -24883,28 +24883,28 @@ function pse(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? _v(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? vv(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = iS({
+ }), { hoverProps: S } = aS({
isDisabled: a || !c,
onHoverStart() {
- uv() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ dv() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = Sy(m?.props);
+ }), C = Cy(m?.props);
delete C.id;
- let w = Q_(m?.props);
+ let w = $_(m?.props);
return {
optionProps: {
...p,
- ...Tv(C, _, S, w),
+ ...Ev(C, _, S, w),
id: g
},
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && uv(),
+ isFocusVisible: y && t.selectionManager.isFocused && dv(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -24914,13 +24914,13 @@ function pse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var qS = /* @__PURE__ */ new WeakMap();
+var JS = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function mse(e, t, n) {
+function pse(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = Sy(e, { labelable: !0 }), { listProps: c } = US({
+ let s = Cy(e, { labelable: !0 }), { listProps: c } = WS({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -24929,11 +24929,11 @@ function mse(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return qS.set(t, {
+ return JS.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
- }), { menuProps: Tv(s, {
+ }), { menuProps: Ev(s, {
onKeyDown: i,
onKeyUp: a
}, {
@@ -24946,15 +24946,15 @@ function mse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function hse(e, t, n) {
- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: x, onFocusChange: S, onBlur: C, selectionManager: w = t.selectionManager } = e, T = !!c, E = T && e["aria-expanded"] === "true", D = e.isDisabled ?? w.isDisabled(i), O = e.isSelected ?? w.isSelected(i), k = qS.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = X_(), N = () => {
+function mse(e, t, n) {
+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: x, onFocusChange: S, onBlur: C, selectionManager: w = t.selectionManager } = e, T = !!c, E = T && e["aria-expanded"] === "true", D = e.isDisabled ?? w.isDisabled(i), O = e.isSelected ?? w.isSelected(i), k = JS.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = Z_(), N = () => {
if (!T && (A?.props?.onAction ? A.props.onAction() : e.onAction && e.onAction(i), k.onAction)) {
let e = k.onAction;
e(i, A?.value);
}
}, P = "menuitem";
T || (w.selectionMode === "single" ? P = "menuitemradio" : w.selectionMode === "multiple" && (P = "menuitemcheckbox"));
- let ee = Sv(), F = Sv(), te = Sv(), I = {
+ let ee = Cv(), F = Cv(), te = Cv(), I = {
id: r,
"aria-disabled": D || void 0,
role: P,
@@ -24971,17 +24971,17 @@ function hse(e, t, n) {
};
if (w.selectionMode !== "none" && !T && (I["aria-checked"] = O), s) {
let e = Number(A?.index);
- I["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, I["aria-setsize"] = Gx(t.collection);
+ I["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, I["aria-setsize"] = Kx(t.collection);
}
let ne = (0, b.useRef)(!1), re = (e) => {
f?.(e), ne.current = e;
}, ie = (0, b.useRef)(null), ae = (e) => {
e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (ne.current || e.target.click()), u?.(e);
}, oe = (e) => {
- m?.(e), N(), Lie(e, M, A.props.href, A?.props.routerOptions);
+ m?.(e), N(), Iie(e, M, A.props.href, A?.props.routerOptions);
let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || w.selectionMode === "none" || w.isLink(i) : w.selectionMode !== "multiple" || w.isLink(i);
t = o ?? a ?? t, j && !T && t && j(), ie.current = null;
- }, { itemProps: se, isFocused: ce } = WS({
+ }, { itemProps: se, isFocused: ce } = GS({
id: r,
selectionManager: w,
key: i,
@@ -24990,36 +24990,36 @@ function hse(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: k.shouldUseVirtualFocus
- }), { pressProps: le, isPressed: ue } = Fy({
+ }), { pressProps: le, isPressed: ue } = Iy({
onPressStart: l,
onPress: d,
onPressUp: ae,
onPressChange: re,
onPressEnd: p,
isDisabled: D
- }), { hoverProps: de } = iS({
+ }), { hoverProps: de } = aS({
isDisabled: D,
onHoverStart(e) {
- !uv() && !(E && c) && (w.setFocused(!0), w.setFocusedKey(i)), h?.(e);
+ !dv() && !(E && c) && (w.setFocused(!0), w.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: fe } = Ov({
+ }), { keyboardProps: fe } = kv({
shortcuts: {
" ": (e) => {
ie.current = {
pointerType: "keyboard",
key: " "
- }, P_(e).click(), fv("keyboard");
+ }, F_(e).click(), pv("keyboard");
},
Enter: (e) => {
ie.current = {
pointerType: "keyboard",
key: "Enter"
};
- let t = P_(e);
- if (t.tagName !== "A") t.click(), fv("keyboard");
- else return fv("keyboard"), {
+ let t = F_(e);
+ if (t.tagName !== "A") t.click(), pv("keyboard");
+ else return pv("keyboard"), {
shouldPreventDefault: !1,
shouldContinuePropagation: !1
};
@@ -25027,17 +25027,17 @@ function hse(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: pe } = Mv({
+ }), { focusableProps: pe } = Nv({
onBlur: C,
onFocus: x,
onFocusChange: S
- }, n), me = Sy(A?.props);
+ }, n), me = Cy(A?.props);
delete me.id;
- let he = Q_(A?.props);
+ let he = $_(A?.props);
return {
menuItemProps: {
...I,
- ...Tv(me, he, T ? {
+ ...Ev(me, he, T ? {
onFocus: se.onFocus,
"data-collection": se["data-collection"],
"data-key": se["data-key"]
@@ -25048,7 +25048,7 @@ function hse(e, t, n) {
descriptionProps: { id: F },
keyboardShortcutProps: { id: te },
isFocused: ce,
- isFocusVisible: ce && w.isFocused && uv() && !E,
+ isFocusVisible: ce && w.isFocused && dv() && !E,
isSelected: O,
isPressed: ue,
isDisabled: D
@@ -25056,8 +25056,8 @@ function hse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function gse(e) {
- let { heading: t, "aria-label": n } = e, r = xv();
+function hse(e) {
+ let { heading: t, "aria-label": n } = e, r = Sv();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -25073,15 +25073,15 @@ function gse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function _se() {
+function gse() {
return window.ResizeObserver !== void 0;
}
-function JS(e) {
- let { ref: t, box: n, onResize: r } = e, i = oy(r);
+function YS(e) {
+ let { ref: t, box: n, onResize: r } = e, i = sy(r);
(0, b.useEffect)(() => {
let e = t?.current;
if (e) {
- if (_se()) {
+ if (gse()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -25097,189 +25097,189 @@ function JS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var YS = {};
-YS = { dismiss: "تجاهل" };
+var XS = {};
+XS = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var XS = {};
-XS = { dismiss: "Отхвърляне" };
+var ZS = {};
+ZS = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var ZS = {};
-ZS = { dismiss: "Odstranit" };
+var QS = {};
+QS = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var QS = {};
-QS = { dismiss: "Luk" };
+var $S = {};
+$S = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var $S = {};
-$S = { dismiss: "Schließen" };
+var eC = {};
+eC = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var eC = {};
-eC = { dismiss: "Απόρριψη" };
+var tC = {};
+tC = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var tC = {};
-tC = { dismiss: "Dismiss" };
+var nC = {};
+nC = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var nC = {};
-nC = { dismiss: "Descartar" };
+var rC = {};
+rC = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var rC = {};
-rC = { dismiss: "Lõpeta" };
+var iC = {};
+iC = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var iC = {};
-iC = { dismiss: "Hylkää" };
+var aC = {};
+aC = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var aC = {};
-aC = { dismiss: "Rejeter" };
+var oC = {};
+oC = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var oC = {};
-oC = { dismiss: "התעלם" };
+var sC = {};
+sC = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var sC = {};
-sC = { dismiss: "Odbaci" };
+var cC = {};
+cC = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var cC = {};
-cC = { dismiss: "Elutasítás" };
+var lC = {};
+lC = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var lC = {};
-lC = { dismiss: "Ignora" };
+var uC = {};
+uC = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var uC = {};
-uC = { dismiss: "閉じる" };
+var dC = {};
+dC = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var dC = {};
-dC = { dismiss: "무시" };
+var fC = {};
+fC = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var fC = {};
-fC = { dismiss: "Atmesti" };
+var pC = {};
+pC = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var pC = {};
-pC = { dismiss: "Nerādīt" };
+var mC = {};
+mC = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var mC = {};
-mC = { dismiss: "Lukk" };
+var hC = {};
+hC = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var hC = {};
-hC = { dismiss: "Negeren" };
+var gC = {};
+gC = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var gC = {};
-gC = { dismiss: "Zignoruj" };
+var _C = {};
+_C = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var _C = {};
-_C = { dismiss: "Descartar" };
+var vC = {};
+vC = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var vC = {};
-vC = { dismiss: "Dispensar" };
+var yC = {};
+yC = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var yC = {};
-yC = { dismiss: "Revocare" };
+var bC = {};
+bC = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var bC = {};
-bC = { dismiss: "Пропустить" };
+var xC = {};
+xC = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var xC = {};
-xC = { dismiss: "Zrušiť" };
+var SC = {};
+SC = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var SC = {};
-SC = { dismiss: "Opusti" };
+var CC = {};
+CC = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var CC = {};
-CC = { dismiss: "Odbaci" };
+var wC = {};
+wC = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var wC = {};
-wC = { dismiss: "Avvisa" };
+var TC = {};
+TC = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var TC = {};
-TC = { dismiss: "Kapat" };
+var EC = {};
+EC = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var EC = {};
-EC = { dismiss: "Скасувати" };
+var DC = {};
+DC = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var DC = {};
-DC = { dismiss: "取消" };
+var OC = {};
+OC = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var OC = {};
-OC = { dismiss: "關閉" };
+var kC = {};
+kC = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var kC = {};
-kC = {
- "ar-AE": YS,
- "bg-BG": XS,
- "cs-CZ": ZS,
- "da-DK": QS,
- "de-DE": $S,
- "el-GR": eC,
- "en-US": tC,
- "es-ES": nC,
- "et-EE": rC,
- "fi-FI": iC,
- "fr-FR": aC,
- "he-IL": oC,
- "hr-HR": sC,
- "hu-HU": cC,
- "it-IT": lC,
- "ja-JP": uC,
- "ko-KR": dC,
- "lt-LT": fC,
- "lv-LV": pC,
- "nb-NO": mC,
- "nl-NL": hC,
- "pl-PL": gC,
- "pt-BR": _C,
- "pt-PT": vC,
- "ro-RO": yC,
- "ru-RU": bC,
- "sk-SK": xC,
- "sl-SI": SC,
- "sr-SP": CC,
- "sv-SE": wC,
- "tr-TR": TC,
- "uk-UA": EC,
- "zh-CN": DC,
- "zh-TW": OC
+var AC = {};
+AC = {
+ "ar-AE": XS,
+ "bg-BG": ZS,
+ "cs-CZ": QS,
+ "da-DK": $S,
+ "de-DE": eC,
+ "el-GR": tC,
+ "en-US": nC,
+ "es-ES": rC,
+ "et-EE": iC,
+ "fi-FI": aC,
+ "fr-FR": oC,
+ "he-IL": sC,
+ "hr-HR": cC,
+ "hu-HU": lC,
+ "it-IT": uC,
+ "ja-JP": dC,
+ "ko-KR": fC,
+ "lt-LT": pC,
+ "lv-LV": mC,
+ "nb-NO": hC,
+ "nl-NL": gC,
+ "pl-PL": _C,
+ "pt-BR": vC,
+ "pt-PT": yC,
+ "ro-RO": bC,
+ "ru-RU": xC,
+ "sk-SK": SC,
+ "sl-SI": CC,
+ "sr-SP": wC,
+ "sv-SE": TC,
+ "tr-TR": EC,
+ "uk-UA": DC,
+ "zh-CN": OC,
+ "zh-TW": kC
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function vse(e) {
+function _se(e) {
return e && e.__esModule ? e.default : e;
}
-function AC(e) {
- let { onDismiss: t, ...n } = e, r = cy(n, by(vse(kC), "@react-aria/overlays").format("dismiss")), i = () => {
+function jC(e) {
+ let { onDismiss: t, ...n } = e, r = ly(n, xy(_se(AC), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ b.createElement(Rb, null, /*#__PURE__*/ b.createElement("button", {
+ return /*#__PURE__*/ b.createElement(zb, null, /*#__PURE__*/ b.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -25291,35 +25291,35 @@ function AC(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var jC = [];
-function MC(e, t) {
+var MC = [];
+function NC(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, b.useRef)(void 0);
(0, b.useEffect)(() => {
- if (i && !jC.includes(t)) return jC.push(t), () => {
- let e = jC.indexOf(t);
- e >= 0 && jC.splice(e, 1);
+ if (i && !MC.includes(t)) return MC.push(t), () => {
+ let e = MC.indexOf(t);
+ e >= 0 && MC.splice(e, 1);
};
}, [i, t]);
let l = () => {
- jC[jC.length - 1] === t && n && n();
+ MC[MC.length - 1] === t && n && n();
}, u = (e) => {
- let n = jC[jC.length - 1];
- c.current = n, (!s || s(P_(e))) && n === t && e.stopPropagation();
+ let n = MC[MC.length - 1];
+ c.current = n, (!s || s(F_(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(P_(e))) && (jC[jC.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = Ov({ shortcuts: { Escape: () => {
+ (!s || s(F_(e))) && (MC[MC.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = kv({ shortcuts: { Escape: () => {
if (!o) l();
else return !1;
} } });
- ise({
+ rse({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = Mb({
+ let { focusWithinProps: p } = Nb({
isDisabled: !r,
onBlurWithin: (e) => {
- e.relatedTarget && !Soe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
+ e.relatedTarget && !xoe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -25332,88 +25332,88 @@ function MC(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs
-var yse = 200, bse = 50, xse = 600, NC = /* @__PURE__ */ new WeakMap(), PC = /* @__PURE__ */ new Set(), FC = /* @__PURE__ */ new Set();
-function Sse(e, t) {
- let n = ay();
- if (e !== n || t.aborted) for (let e of FC) e(n), FC.delete(e);
- if (!e && n && J_() && !t.aborted) window.clearInterval(NC.get(window)), NC.set(window, IC(yse));
+var vse = 200, yse = 50, bse = 600, PC = /* @__PURE__ */ new WeakMap(), FC = /* @__PURE__ */ new Set(), IC = /* @__PURE__ */ new Set();
+function xse(e, t) {
+ let n = oy();
+ if (e !== n || t.aborted) for (let e of IC) e(n), IC.delete(e);
+ if (!e && n && Y_() && !t.aborted) window.clearInterval(PC.get(window)), PC.set(window, LC(vse));
else {
- if (e !== n || t.aborted) for (let e of PC) e(n), PC.delete(e);
- (FC.size + PC.size <= 0 || t.aborted) && (window.clearInterval(NC.get(window)), NC.delete(window));
+ if (e !== n || t.aborted) for (let e of FC) e(n), FC.delete(e);
+ (IC.size + FC.size <= 0 || t.aborted) && (window.clearInterval(PC.get(window)), PC.delete(window));
}
}
-function IC(e = xse) {
- return window.setInterval(Sse, bse, ay(), AbortSignal.timeout(e));
+function LC(e = bse) {
+ return window.setInterval(xse, yse, oy(), AbortSignal.timeout(e));
}
-function LC(e) {
- if (!ny()) return e(!1), () => {};
+function RC(e) {
+ if (!ry()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = ry(document.hasFocus() ? N_() : null);
- if (ay() === t || ay() && !t) return e(t);
- FC.add(e), NC.has(window) || NC.set(window, IC());
+ let t = iy(document.hasFocus() ? P_() : null);
+ if (oy() === t || oy() && !t) return e(t);
+ IC.add(e), PC.has(window) || PC.set(window, LC());
});
});
return () => {
- window.cancelAnimationFrame(t), FC.delete(e);
+ window.cancelAnimationFrame(t), IC.delete(e);
};
}
-function Cse(e) {
- if (!ny()) return e(!1), () => {};
+function Sse(e) {
+ if (!ry()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = ry(document.hasFocus() ? N_() : null);
- if (ay() === t) return e(t);
- PC.add(e), NC.has(window) || NC.set(window, IC());
+ let t = iy(document.hasFocus() ? P_() : null);
+ if (oy() === t) return e(t);
+ FC.add(e), PC.has(window) || PC.set(window, LC());
});
});
return () => {
- window.cancelAnimationFrame(t), PC.delete(e);
+ window.cancelAnimationFrame(t), FC.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var RC = typeof document < "u" && window.visualViewport, zC = 0, BC;
-function VC(e = {}) {
+var zC = typeof document < "u" && window.visualViewport, BC = 0, VC;
+function HC(e = {}) {
let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;
- B_(() => {
- if (!t) return zC++, zC === 1 && (BC = q_() && J_() ? Tse() : wse(n)), () => {
- zC--, zC === 0 && BC();
+ V_(() => {
+ if (!t) return BC++, BC === 1 && (VC = J_() && Y_() ? wse() : Cse(n)), () => {
+ BC--, BC === 0 && VC();
};
}, [t, n]);
}
-function wse(e) {
+function Cse(e) {
let t = window.innerWidth - document.documentElement.clientWidth;
- return _v(t > 0 && ("scrollbarGutter" in document.documentElement.style ? A_(document.documentElement, "scrollbar-gutter", "stable") : A_(document.documentElement, "padding-right", `${t}px`)), A_(document.documentElement, "overflow", "hidden"), e && UC(), e && ny() && HC());
+ return vv(t > 0 && ("scrollbarGutter" in document.documentElement.style ? j_(document.documentElement, "scrollbar-gutter", "stable") : j_(document.documentElement, "padding-right", `${t}px`)), j_(document.documentElement, "overflow", "hidden"), e && WC(), e && ry() && UC());
}
-function Tse() {
- let e = A_(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
- let r = P_(e);
- t = ub(r, !0) ? r : db(r, !0), n = !1;
+function wse() {
+ let e = j_(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+ let r = F_(e);
+ t = db(r, !0) ? r : fb(r, !0), n = !1;
let i = r.ownerDocument.defaultView.getSelection();
i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);
- }, i = document.createElement("style"), a = Oy();
+ }, i = document.createElement("style"), a = ky();
a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);
let o = (e) => {
e.touches.length === 2 || n || (!t || t === document.documentElement || t === document.body || t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth) && e.preventDefault();
- }, s = UC(), c = _v(k_(document, "touchstart", r, {
+ }, s = WC(), c = vv(A_(document, "touchstart", r, {
passive: !1,
capture: !0
- }), k_(document, "touchmove", o, {
+ }), A_(document, "touchmove", o, {
passive: !1,
capture: !0
- }), HC());
+ }), UC());
return () => {
e(), c(), i.remove(), s();
};
}
-function HC() {
- return k_(document, "blur", (e) => {
- let t = P_(e), n = e.relatedTarget;
- n && ry(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+function UC() {
+ return A_(document, "blur", (e) => {
+ let t = F_(e), n = e.relatedTarget;
+ n && iy(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, !0);
}
-function UC() {
+function WC() {
let e = HTMLElement.prototype.focus;
return Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -25424,9 +25424,9 @@ function UC() {
preventScroll: !0
}), !t || !t.preventScroll) {
let e = () => {
- N_() === this && Ese(this);
+ P_() === this && Tse(this);
};
- LC((t) => t ? e() : Cse(() => e()));
+ RC((t) => t ? e() : Sse(() => e()));
}
}
}), () => {
@@ -25437,15 +25437,15 @@ function UC() {
});
};
}
-function Ese(e) {
+function Tse(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t && n.isConnected;) {
- let e = db(n);
+ let e = fb(n);
if (e !== document.documentElement && e !== document.body && e !== n) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- RC && (n = Math.min(n, RC.offsetTop + RC.height));
+ zC && (n = Math.min(n, zC.offsetTop + zC.height));
let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);
e.scrollTo({
top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),
@@ -25458,57 +25458,57 @@ function Ese(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function Dse(e, t, n) {
- let { overlayProps: r, underlayProps: i } = MC({
+function Ese(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = NC({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- VC({
+ HC({
isDisabled: !t.isOpen,
UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus
- }), $x();
+ }), eS();
let { isEntering: a } = e;
return (0, b.useEffect)(() => {
- if (t.isOpen && n.current) return a ? Ub(n.current) : Hb([n.current], { shouldUseInert: !0 });
+ if (t.isOpen && n.current) return a ? Wb(n.current) : Ub([n.current], { shouldUseInert: !0 });
}, [
t.isOpen,
a,
n
]), {
- modalProps: Tv(r),
+ modalProps: Ev(r),
underlayProps: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var WC = {
+var GC = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, GC = {
+}, KC = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, Ose = {
+}, Dse = {
top: "left",
left: "top"
-}, KC = {
+}, qC = {
top: "height",
left: "width"
-}, qC = {
+}, JC = {
width: "totalWidth",
height: "totalHeight"
-}, JC = {}, kse = () => typeof document < "u" ? window.visualViewport : null;
-function YC(e, t) {
+}, YC = {}, Ose = () => typeof document < "u" ? window.visualViewport : null;
+function XC(e, t) {
let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;
if (e.tagName === "BODY" || e.tagName === "HTML") {
let l = document.documentElement;
i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));
- } else ({width: n, height: r, top: o, left: s} = tw(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return J_() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
+ } else ({width: n, height: r, top: o, left: s} = nw(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return Y_() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
width: n,
height: r,
totalWidth: i,
@@ -25518,7 +25518,7 @@ function YC(e, t) {
left: s
};
}
-function Ase(e) {
+function kse(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -25526,11 +25526,11 @@ function Ase(e) {
height: e.scrollHeight
};
}
-function XC(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[KC[e]], l = o[e] + r.scroll[WC[e]] + a, u = o[e] + r.scroll[WC[e]] + c - a, d = t - s + r.scroll[WC[e]] + o[e] - r[WC[e]], f = t - s + n + r.scroll[WC[e]] + o[e] - r[WC[e]];
+function ZC(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[qC[e]], l = o[e] + r.scroll[GC[e]] + a, u = o[e] + r.scroll[GC[e]] + c - a, d = t - s + r.scroll[GC[e]] + o[e] - r[GC[e]], f = t - s + n + r.scroll[GC[e]] + o[e] - r[GC[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function jse(e) {
+function Ase(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -25539,55 +25539,55 @@ function jse(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function ZC(e) {
- if (JC[e]) return JC[e];
- let [t, n] = e.split(" "), r = WC[t] || "right", i = Ose[r];
- WC[n] || (n = "center");
- let a = KC[r], o = KC[i];
- return JC[e] = {
+function QC(e) {
+ if (YC[e]) return YC[e];
+ let [t, n] = e.split(" "), r = GC[t] || "right", i = Dse[r];
+ GC[n] || (n = "center");
+ let a = qC[r], o = qC[i];
+ return YC[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, JC[e];
+ }, YC[e];
}
-function QC(e, t, n, r, i, a, o, s, c, l, u) {
+function $C(e, t, n, r, i, a, o, s, c, l, u) {
let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};
_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;
let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;
- if (_[m] = Fb(_[m], v, y), d === p) {
- let t = s ? u[h] : u[qC[h]];
- _[GC[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = Ib(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[JC[h]];
+ _[KC[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function Mse(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[qC.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function jse(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[JC.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),
bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))
};
return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));
}
-function $C(e, t, n, r, i, a, o, s) {
+function ew(e, t, n, r, i, a, o, s) {
let { placement: c, axis: l, size: u } = a;
- return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[GC[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[GC[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[KC[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[KC[l]] - i);
}
-function Nse(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = ZC(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = QC(t, s, n, v, u, d, l, f, m, h, c), T = u, E = $C(s, l, t, i, a + u, v, c, g);
+function Mse(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = QC(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = $C(t, s, n, v, u, d, l, f, m, h, c), T = u, E = ew(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = ZC(`${GC[S]} ${C}`), r = QC(t, s, n, e, u, d, l, f, m, h, c);
- $C(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = QC(`${KC[S]} ${C}`), r = $C(t, s, n, e, u, d, l, f, m, h, c);
+ ew(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
}
let D = "bottom";
v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));
- let O = XC(b, w[b], n[x], s, c, a, l);
+ let O = ZC(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = Mse(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = QC(t, s, n, v, T, d, l, f, m, h, c), O = XC(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[WC[b]], M = j + .5 * t[x], N = m / 2 + h, P = WC[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;
- A[b] = Fb(Fb(M, t[b] + m / 2 - (w[b] + i[WC[b]]), t[b] + t[x] - m / 2 - (w[b] + i[WC[b]])), N, ee), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = jse(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = $C(t, s, n, v, T, d, l, f, m, h, c), O = ZC(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[GC[b]], M = j + .5 * t[x], N = m / 2 + h, P = GC[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;
+ A[b] = Ib(Ib(M, t[b] + m / 2 - (w[b] + i[GC[b]]), t[b] + t[x] - m / 2 - (w[b] + i[GC[b]])), N, ee), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let F = S === "left" || S === "top" ? n[y] : 0, te = {
x: S === "top" || S === "bottom" ? j : F,
y: S === "left" || S === "right" ? j : F
@@ -25601,17 +25601,17 @@ function Nse(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: te
};
}
-function Pse(e) {
- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = kse(), h = r instanceof HTMLElement ? Fse(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? tw(n, !1, p) : nw(n, h, !1, p);
+function Nse(e) {
+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = Ose(), h = r instanceof HTMLElement ? Pse(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? nw(n, !1, p) : rw(n, h, !1, p);
if (!g) {
let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);
y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;
}
- let b = tw(r, !0), x = jse(r);
+ let b = nw(r, !0), x = Ase(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = Ase(i), C = YC(s, m), w = YC(h, m), T;
+ let S = kse(i), C = XC(s, m), w = XC(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = ew(h, !1);
+ let e = tw(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -25623,11 +25623,11 @@ function Pse(e) {
left: 0,
width: 0,
height: 0
- } : nw(s, h, !1);
- let E = M_(s, h);
- return Nse(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : rw(s, h, !1);
+ let E = N_(s, h);
+ return Mse(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function ew(e, t) {
+function tw(e, t) {
let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();
return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {
top: n,
@@ -25636,8 +25636,8 @@ function ew(e, t) {
height: a
};
}
-function tw(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || ew(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function nw(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || tw(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -25645,30 +25645,30 @@ function tw(e, t, n) {
height: o
};
}
-function nw(e, t, n, r) {
+function rw(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || ew(e, n);
+ if (i.position === "fixed") a = r || tw(e, n);
else {
- a = tw(e, n, r);
- let i = tw(t, n), o = window.getComputedStyle(t);
+ a = nw(e, n, r);
+ let i = nw(t, n), o = window.getComputedStyle(t);
i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;
}
return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;
}
-function Fse(e) {
+function Pse(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !rw(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !rw(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !iw(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !iw(t);) t = t.parentElement;
return t || document.documentElement;
}
-function rw(e) {
+function iw(e) {
let t = window.getComputedStyle(e);
return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var iw = typeof document < "u" ? window.visualViewport : null;
-function Ise(e) {
- let { direction: t } = my(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, x] = (0, b.useState)(null), S = [
+var aw = typeof document < "u" ? window.visualViewport : null;
+function Fse(e) {
+ let { direction: t } = hy(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, x] = (0, b.useState)(null), S = [
p,
s,
i.current,
@@ -25685,15 +25685,15 @@ function Ise(e) {
g,
_,
n
- ], C = (0, b.useRef)(iw?.scale);
+ ], C = (0, b.useRef)(aw?.scale);
(0, b.useEffect)(() => {
- m && (C.current = iw?.scale);
+ m && (C.current = aw?.scale);
}, [m]);
let w = (0, b.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || iw?.scale !== C.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || aw?.scale !== C.current) return;
let e = null;
- if (o.current && F_(o.current)) {
- let t = N_()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && I_(o.current)) {
+ let t = P_()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -25701,8 +25701,8 @@ function Ise(e) {
}
let h = i.current;
!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");
- let y = Pse({
- placement: Rse(s, t),
+ let y = Nse({
+ placement: Lse(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -25712,28 +25712,28 @@ function Ise(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? ew(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? tw(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
if (!y.position) return;
h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";
- let b = N_();
+ let b = P_();
if (e && b && o.current) {
let t = b.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];
o.current.scrollTop += r - e.offset;
}
x(y);
}, S);
- B_(w, S), Lse(w), JS({
+ V_(w, S), Ise(w), YS({
ref: i,
onResize: w
- }), JS({
+ }), YS({
ref: r,
onResize: w
});
let T = (0, b.useRef)(!1);
- B_(() => {
+ V_(() => {
let e, t = () => {
T.current = !0, clearTimeout(e), e = setTimeout(() => {
T.current = !1;
@@ -25741,16 +25741,16 @@ function Ise(e) {
}, n = () => {
T.current && t();
};
- iw?.addEventListener("resize", t), iw?.addEventListener("scroll", n);
- let r = k_(gie(window), "scroll", n);
+ aw?.addEventListener("resize", t), aw?.addEventListener("scroll", n);
+ let r = A_(hie(window), "scroll", n);
return () => {
- iw?.removeEventListener("resize", t), iw?.removeEventListener("scroll", n), r();
+ aw?.removeEventListener("resize", t), aw?.removeEventListener("scroll", n), r();
};
}, [w]);
let E = (0, b.useCallback)(() => {
T.current || h?.();
}, [h, T]);
- return Joe({
+ return qoe({
triggerRef: r,
isOpen: m,
onClose: h && E
@@ -25776,25 +25776,25 @@ function Ise(e) {
updatePosition: w
};
}
-function Lse(e) {
- B_(() => (window.addEventListener("resize", e, !1), () => {
+function Ise(e) {
+ V_(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function Rse(e, t) {
+function Lse(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function zse(e, t) {
- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = MC({
+function Rse(e, t) {
+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = NC({
isOpen: t.isOpen,
onClose: t.close,
shouldCloseOnBlur: !0,
isDismissable: !a || l,
isKeyboardDismissDisabled: o,
shouldCloseOnInteractOutside: s
- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Ise({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Fse({
...c,
targetRef: n,
overlayRef: r,
@@ -25802,17 +25802,17 @@ function zse(e, t) {
onClose: a && !l ? t.close : null,
getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)
});
- VC({ isDisabled: a || !t.isOpen }), (0, b.useEffect)(() => {
- if (t.isOpen && r.current) return a ? Ub(i?.current ?? r.current) : Hb([i?.current ?? r.current], { shouldUseInert: !0 });
+ HC({ isDisabled: a || !t.isOpen }), (0, b.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? Wb(i?.current ?? r.current) : Ub([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = Mb(e);
+ let { focusWithinProps: g } = Nb(e);
return {
- popoverProps: Tv(u, f, g),
+ popoverProps: Ev(u, f, g),
arrowProps: p,
underlayProps: d,
placement: m,
@@ -25821,13 +25821,13 @@ function zse(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var aw = /* @__PURE__ */ new WeakMap();
+var ow = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function Bse(e, t, n) {
+function zse(e, t, n) {
let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {
e.stopPropagation(), t.setSelectedValue(r);
- }, { pressProps: g, isPressed: _ } = Fy({
+ }, { pressProps: g, isPressed: _ } = Iy({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -25835,7 +25835,7 @@ function Bse(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = Fy({
+ }), { pressProps: v, isPressed: y } = Iy({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -25845,17 +25845,17 @@ function Bse(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: x } = Mv(Tv(e, { onFocus: () => t.setLastFocusedValue(r) }), n), S = Tv(g, x), C = Sy(e, { labelable: !0 }), w = -1;
+ }), { focusableProps: x } = Nv(Ev(e, { onFocus: () => t.setLastFocusedValue(r) }), n), S = Ev(g, x), C = Cy(e, { labelable: !0 }), w = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (w = 0) : t.selectedValue === r && (w = 0), p && (w = void 0);
- let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = aw.get(t);
- _b(n, t.defaultSelectedValue, t.setSelectedValue), vb({ validationBehavior: k }, t, n);
- let A = yb();
+ let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = ow.get(t);
+ vb(n, t.defaultSelectedValue, t.setSelectedValue), yb({ validationBehavior: k }, t, n);
+ let A = bb();
return {
- labelProps: Tv(v, (0, b.useMemo)(() => ({
+ labelProps: Ev(v, (0, b.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
onMouseDown: (e) => e.preventDefault()
}), [])),
- inputProps: Tv(C, {
+ inputProps: Ev(C, {
...S,
type: "radio",
name: T,
@@ -25881,13 +25881,13 @@ function Bse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function Vse(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = my(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = jb({
+function Bse(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = hy(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = Mb({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = Sy(e, { labelable: !0 }), { focusWithinProps: v } = Mb({
+ }), _ = Cy(e, { labelable: !0 }), { focusWithinProps: v } = Nb({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -25895,13 +25895,13 @@ function Vse(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = rb(n.currentTarget, {
- from: P_(n),
- accept: (e) => e instanceof E_(e).HTMLInputElement && e.type === "radio"
+ let r = ib(n.currentTarget, {
+ from: F_(n),
+ accept: (e) => e instanceof D_(e).HTMLInputElement && e.type === "radio"
}), i;
return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;
}
- let { keyboardProps: b } = Ov({
+ let { keyboardProps: b } = kv({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -25909,15 +25909,15 @@ function Vse(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = xv(n);
- return aw.set(t, {
+ }), x = Sv(n);
+ return ow.set(t, {
name: x,
form: r,
descriptionId: h.id,
errorMessageId: g.id,
validationBehavior: c
}), {
- radioGroupProps: Tv(_, {
+ radioGroupProps: Ev(_, {
role: "radiogroup",
...b,
"aria-invalid": t.isInvalid || void 0,
@@ -25939,21 +25939,21 @@ function Vse(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var ow = /* @__PURE__ */ new WeakMap();
-function Hse(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = qx({
+var sw = /* @__PURE__ */ new WeakMap();
+function Vse(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = Jx({
usage: "search",
sensitivity: "base"
- }), u = (0, b.useMemo)(() => r || new Yb(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, b.useMemo)(() => r || new Xb(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = Nx({
+ ]), { menuTriggerProps: d, menuProps: f } = Px({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = Ov({
+ }, t, n), { keyboardProps: p } = kv({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -25969,21 +25969,21 @@ function Hse(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = Fx({
+ }), { typeSelectProps: m } = Ix({
keyboardDelegate: u,
selectionManager: t.selectionManager,
onTypeSelect(e) {
t.setSelectedKey(e);
}
- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: x, errorMessageProps: S } = jb({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: x, errorMessageProps: S } = Mb({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let C = Sy(e, { labelable: !0 }), w = Tv(m, d, y), T = xv();
- return ow.set(t, {
+ let C = Cy(e, { labelable: !0 }), w = Ev(m, d, y), T = Sv();
+ return sw.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -25993,13 +25993,13 @@ function Hse(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), fv("keyboard"));
+ e.isDisabled || (n.current?.focus(), pv("keyboard"));
}
},
- triggerProps: Tv(C, {
+ triggerProps: Ev(C, {
...w,
isDisabled: i,
- onKeyDown: _v(w.onKeyDown, p.onKeyDown),
+ onKeyDown: vv(w.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
T,
@@ -26023,7 +26023,7 @@ function Hse(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- M_(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ N_(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
},
"aria-labelledby": [y["aria-labelledby"], w["aria-label"] && !y["aria-labelledby"] ? w.id : null].filter(Boolean).join(" ")
},
@@ -26044,18 +26044,18 @@ function Hse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function Use(e, t, n) {
- let r = ow.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Lb({ style: {
+function Hse(e, t, n) {
+ let r = sw.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Rb({ style: {
position: "fixed",
top: 0,
left: 0
} });
- _b(e.selectRef, t.defaultValue, t.setValue), vb({
+ vb(e.selectRef, t.defaultValue, t.setValue), yb({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
let d = t.setValue, f = (0, b.useCallback)((e) => {
- let t = P_(e);
+ let t = F_(e);
t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);
}, [d]);
return {
@@ -26080,8 +26080,8 @@ function Use(e, t, n) {
}
};
}
-function Wse(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, b.useRef)(null), c = (0, b.useRef)(null), { containerProps: l, selectProps: u } = Use({
+function Use(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, b.useRef)(null), c = (0, b.useRef)(null), { containerProps: l, selectProps: u } = Hse({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -26105,7 +26105,7 @@ function Wse(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = ow.get(t) || {};
+ let { validationBehavior: e } = sw.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -26136,8 +26136,8 @@ function Wse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function Gse(e) {
- let t = Sy(e, { labelable: !0 }), n;
+function Wse(e) {
+ let t = Cy(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -26146,8 +26146,8 @@ function Gse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function Kse(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = Ob(e, t, n);
+function Gse(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = kb(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -26161,10 +26161,10 @@ function Kse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var sw = class {
+var cw = class {
constructor(e) {
if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");
- this.layoutDelegate = e.layoutDelegate || (e.layout ? new qse(e.layout) : new Jb(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Kse(e.layout) : new Yb(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -26200,7 +26200,7 @@ var sw = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of Rx(n, this.collection)) {
+ for (let e of zx(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -26234,13 +26234,13 @@ var sw = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = Rx(t, this.collection);
- return (this.direction === "rtl" ? Vx(e)?.key : zx(e)?.key) ?? null;
+ let e = zx(t, this.collection);
+ return (this.direction === "rtl" ? Hx(e)?.key : Bx(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = Rx(n, this.collection), i = (this.direction === "rtl" ? Bx(r, t.index - 1) : Bx(r, t.index + 1)) ?? null;
+ let r = zx(n, this.collection), i = (this.direction === "rtl" ? Vx(r, t.index - 1) : Vx(r, t.index + 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;
}
return null;
@@ -26249,13 +26249,13 @@ var sw = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = Rx(t, this.collection);
- return (this.direction === "rtl" ? zx(e)?.key : Vx(e)?.key) ?? null;
+ let e = zx(t, this.collection);
+ return (this.direction === "rtl" ? Bx(e)?.key : Hx(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = Rx(n, this.collection), i = (this.direction === "rtl" ? Bx(r, t.index + 1) : Bx(r, t.index - 1)) ?? null;
+ let r = zx(n, this.collection), i = (this.direction === "rtl" ? Vx(r, t.index + 1) : Vx(r, t.index - 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;
}
return null;
@@ -26266,13 +26266,13 @@ var sw = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? zx(Rx(e, this.collection))?.key ?? null : null;
+ return e ? Bx(zx(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = zx(Rx(e, this.collection))?.key ?? null;
+ n = Bx(zx(e, this.collection))?.key ?? null;
}
return n;
}
@@ -26282,13 +26282,13 @@ var sw = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? Vx(Rx(e, this.collection))?.key ?? null : null;
+ return e ? Hx(zx(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = Vx(Rx(e, this.collection))?.key ?? null;
+ n = Hx(zx(e, this.collection))?.key ?? null;
}
return n;
}
@@ -26324,13 +26324,13 @@ var sw = class {
if (!t) return null;
if (t.textValue) {
let n = t.textValue.slice(0, e.length);
- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? zx(Rx(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Bx(zx(t, this.collection))?.key ?? null : t.key;
}
n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);
}
return null;
}
-}, qse = class {
+}, Kse = class {
constructor(e) {
this.layout = e;
}
@@ -26343,16 +26343,16 @@ var sw = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, cw = /* @__PURE__ */ new WeakMap();
+}, lw = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function Jse(e, t, n) {
+function qse(e, t, n) {
let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
- let h = qx({
+ let h = Jx({
usage: "search",
sensitivity: "base"
- }), { direction: g } = my(), _ = t.selectionManager.disabledBehavior, v = (0, b.useMemo)(() => a || new sw({
+ }), { direction: g } = hy(), _ = t.selectionManager.disabledBehavior, v = (0, b.useMemo)(() => a || new cw({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -26369,7 +26369,7 @@ function Jse(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = Lx({
+ ]), { collectionProps: y } = Rx({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -26377,8 +26377,8 @@ function Jse(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), x = xv(e.id);
- cw.set(t, {
+ }), x = Sv(e.id);
+ lw.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -26387,44 +26387,44 @@ function Jse(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let S = cse({
+ let S = sse({
selectionManager: m,
hasItemActions: !!(l || u)
- }), C = Sy(e, { labelable: !0 }), w = (0, b.useCallback)((e) => {
- m.isFocused ? M_(e.currentTarget, P_(e)) || m.setFocused(!1) : M_(e.currentTarget, P_(e)) && m.setFocused(!0);
+ }), C = Cy(e, { labelable: !0 }), w = (0, b.useCallback)((e) => {
+ m.isFocused ? N_(e.currentTarget, F_(e)) || m.setFocused(!1) : N_(e.currentTarget, F_(e)) && m.setFocused(!0);
}, [m]), T = (0, b.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: w
- }), [w, y.onBlur]), E = HS(n, { isDisabled: t.collection.size !== 0 }), D = Tv(C, {
+ }), [w, y.onBlur]), E = US(n, { isDisabled: t.collection.size !== 0 }), D = Ev(C, {
role: "grid",
id: x,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? T : y, t.collection.size === 0 && { tabIndex: E ? -1 : 0 } || void 0, S);
- return r && (D["aria-rowcount"] = t.collection.size, D["aria-colcount"] = t.collection.columnCount), ose({ getRowText: c }, t), { gridProps: D };
+ return r && (D["aria-rowcount"] = t.collection.size, D["aria-colcount"] = t.collection.columnCount), ase({ getRowText: c }, t), { gridProps: D };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var lw = /* @__PURE__ */ new WeakMap();
-function uw(e) {
+var uw = /* @__PURE__ */ new WeakMap();
+function dw(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function Yse(e, t) {
- let n = lw.get(e);
+function Jse(e, t) {
+ let n = uw.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${uw(t)}`;
+ return `${n}-${dw(t)}`;
}
-function dw(e, t, n) {
- let r = lw.get(e);
+function fw(e, t, n) {
+ let r = uw.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${uw(t)}-${uw(n)}`;
+ return `${r}-${dw(t)}-${dw(n)}`;
}
-function fw(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => dw(e, t, n)).join(" ");
+function pw(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => fw(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var pw = {};
-pw = {
+var mw = {};
+mw = {
ascending: "تصاعدي",
ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,
collapse: "طي",
@@ -26439,8 +26439,8 @@ pw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var mw = {};
-mw = {
+var hw = {};
+hw = {
ascending: "възходящ",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,
collapse: "Свиване",
@@ -26455,8 +26455,8 @@ mw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var hw = {};
-hw = {
+var gw = {};
+gw = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -26471,8 +26471,8 @@ hw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var gw = {};
-gw = {
+var _w = {};
+_w = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -26487,8 +26487,8 @@ gw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var _w = {};
-_w = {
+var vw = {};
+vw = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -26503,8 +26503,8 @@ _w = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var vw = {};
-vw = {
+var yw = {};
+yw = {
ascending: "αύξουσα",
ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,
collapse: "Σύμπτυξη",
@@ -26519,8 +26519,8 @@ vw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var yw = {};
-yw = {
+var bw = {};
+bw = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -26535,8 +26535,8 @@ yw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var bw = {};
-bw = {
+var xw = {};
+xw = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -26551,8 +26551,8 @@ bw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var xw = {};
-xw = {
+var Sw = {};
+Sw = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -26567,8 +26567,8 @@ xw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Sw = {};
-Sw = {
+var Cw = {};
+Cw = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -26583,8 +26583,8 @@ Sw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var Cw = {};
-Cw = {
+var ww = {};
+ww = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -26599,8 +26599,8 @@ Cw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var ww = {};
-ww = {
+var Tw = {};
+Tw = {
ascending: "עולה",
ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,
collapse: "כווץ",
@@ -26615,8 +26615,8 @@ ww = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var Tw = {};
-Tw = {
+var Ew = {};
+Ew = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -26631,8 +26631,8 @@ Tw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var Ew = {};
-Ew = {
+var Dw = {};
+Dw = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -26647,8 +26647,8 @@ Ew = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Dw = {};
-Dw = {
+var Ow = {};
+Ow = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -26663,8 +26663,8 @@ Dw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Ow = {};
-Ow = {
+var kw = {};
+kw = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -26679,8 +26679,8 @@ Ow = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var kw = {};
-kw = {
+var Aw = {};
+Aw = {
ascending: "오름차순",
ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,
collapse: "접기",
@@ -26695,8 +26695,8 @@ kw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Aw = {};
-Aw = {
+var jw = {};
+jw = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -26711,8 +26711,8 @@ Aw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var jw = {};
-jw = {
+var Mw = {};
+Mw = {
ascending: "augošā secībā",
ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,
collapse: "Sakļaut",
@@ -26727,8 +26727,8 @@ jw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var Mw = {};
-Mw = {
+var Nw = {};
+Nw = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -26743,8 +26743,8 @@ Mw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var Nw = {};
-Nw = {
+var Pw = {};
+Pw = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -26759,8 +26759,8 @@ Nw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var Pw = {};
-Pw = {
+var Fw = {};
+Fw = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -26775,8 +26775,8 @@ Pw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var Fw = {};
-Fw = {
+var Iw = {};
+Iw = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -26791,8 +26791,8 @@ Fw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var Iw = {};
-Iw = {
+var Lw = {};
+Lw = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -26807,8 +26807,8 @@ Iw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var Lw = {};
-Lw = {
+var Rw = {};
+Rw = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -26823,8 +26823,8 @@ Lw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var Rw = {};
-Rw = {
+var zw = {};
+zw = {
ascending: "возрастание",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,
collapse: "Свернуть",
@@ -26839,8 +26839,8 @@ Rw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var zw = {};
-zw = {
+var Bw = {};
+Bw = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -26855,8 +26855,8 @@ zw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var Bw = {};
-Bw = {
+var Vw = {};
+Vw = {
ascending: "naraščajoče",
ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,
collapse: "Strni",
@@ -26871,8 +26871,8 @@ Bw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var Vw = {};
-Vw = {
+var Hw = {};
+Hw = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -26887,8 +26887,8 @@ Vw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var Hw = {};
-Hw = {
+var Uw = {};
+Uw = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -26903,8 +26903,8 @@ Hw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var Uw = {};
-Uw = {
+var Ww = {};
+Ww = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -26919,8 +26919,8 @@ Uw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var Ww = {};
-Ww = {
+var Gw = {};
+Gw = {
ascending: "висхідний",
ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,
collapse: "Згорнути",
@@ -26935,8 +26935,8 @@ Ww = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var Gw = {};
-Gw = {
+var Kw = {};
+Kw = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -26951,8 +26951,8 @@ Gw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var Kw = {};
-Kw = {
+var qw = {};
+qw = {
ascending: "遞增",
ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,
collapse: "收合",
@@ -26967,46 +26967,46 @@ Kw = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var qw = {};
-qw = {
- "ar-AE": pw,
- "bg-BG": mw,
- "cs-CZ": hw,
- "da-DK": gw,
- "de-DE": _w,
- "el-GR": vw,
- "en-US": yw,
- "es-ES": bw,
- "et-EE": xw,
- "fi-FI": Sw,
- "fr-FR": Cw,
- "he-IL": ww,
- "hr-HR": Tw,
- "hu-HU": Ew,
- "it-IT": Dw,
- "ja-JP": Ow,
- "ko-KR": kw,
- "lt-LT": Aw,
- "lv-LV": jw,
- "nb-NO": Mw,
- "nl-NL": Nw,
- "pl-PL": Pw,
- "pt-BR": Fw,
- "pt-PT": Iw,
- "ro-RO": Lw,
- "ru-RU": Rw,
- "sk-SK": zw,
- "sl-SI": Bw,
- "sr-SP": Vw,
- "sv-SE": Hw,
- "tr-TR": Uw,
- "uk-UA": Ww,
- "zh-CN": Gw,
- "zh-TW": Kw
+var Jw = {};
+Jw = {
+ "ar-AE": mw,
+ "bg-BG": hw,
+ "cs-CZ": gw,
+ "da-DK": _w,
+ "de-DE": vw,
+ "el-GR": yw,
+ "en-US": bw,
+ "es-ES": xw,
+ "et-EE": Sw,
+ "fi-FI": Cw,
+ "fr-FR": ww,
+ "he-IL": Tw,
+ "hr-HR": Ew,
+ "hu-HU": Dw,
+ "it-IT": Ow,
+ "ja-JP": kw,
+ "ko-KR": Aw,
+ "lt-LT": jw,
+ "lv-LV": Mw,
+ "nb-NO": Nw,
+ "nl-NL": Pw,
+ "pl-PL": Fw,
+ "pt-BR": Iw,
+ "pt-PT": Lw,
+ "ro-RO": Rw,
+ "ru-RU": zw,
+ "sk-SK": Bw,
+ "sl-SI": Vw,
+ "sr-SP": Hw,
+ "sv-SE": Uw,
+ "tr-TR": Ww,
+ "uk-UA": Gw,
+ "zh-CN": Kw,
+ "zh-TW": qw
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var Xse = class extends sw {
+var Yse = class extends cw {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -27014,7 +27014,7 @@ var Xse = class extends sw {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = zx(Rx(n, this.collection));
+ let e = Bx(zx(n, this.collection));
if (e) return e.key;
let t = this.getFirstKey();
return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);
@@ -27035,13 +27035,13 @@ var Xse = class extends sw {
let t = this.findNextKey(e.key, (e) => e.type === "column");
if (t != null) return t;
let n = this.collection.headerRows[e.level];
- for (let e of Rx(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of zx(n, this.collection)) if (e.type === "column") return e.key;
return null;
}
findPreviousColumnKey(e) {
let t = this.findPreviousKey(e.key, (e) => e.type === "column");
if (t != null) return t;
- let n = this.collection.headerRows[e.level], r = [...Rx(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...zx(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -27070,7 +27070,7 @@ var Xse = class extends sw {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of Rx(o, this.collection)) {
+ for (let r of zx(o, this.collection)) {
let a = n.columns[r.index];
if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {
let a = r.textValue.slice(0, e.length);
@@ -27084,14 +27084,14 @@ var Xse = class extends sw {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function Zse(e) {
+function Xse(e) {
return e && e.__esModule ? e.default : e;
}
-function Qse(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = qx({
+function Zse(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = Jx({
usage: "search",
sensitivity: "base"
- }), { direction: c } = my(), l = t.selectionManager.disabledBehavior, u = (0, b.useMemo)(() => r || new Xse({
+ }), { direction: c } = hy(), l = t.selectionManager.disabledBehavior, u = (0, b.useMemo)(() => r || new Yse({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -27110,52 +27110,52 @@ function Qse(e, t, n) {
s,
a,
o
- ]), d = xv(e.id);
- lw.set(t, d);
- let { gridProps: f } = Jse({
+ ]), d = Sv(e.id);
+ uw.set(t, d);
+ let { gridProps: f } = qse({
...e,
id: d,
keyboardDelegate: u
}, t, n);
i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");
- let { column: p, direction: m } = t.sortDescriptor || {}, h = by(Zse(qw), "@react-aria/table"), g = (0, b.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = xy(Xse(Jw), "@react-aria/table"), g = (0, b.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
m,
p,
t.collection.columns
- ]), _ = gb(g);
- return lb(() => {
- g && cb(g, "assertive", 500);
- }, [g]), { gridProps: Tv(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
+ ]), _ = _b(g);
+ return ub(() => {
+ g && lb(g, "assertive", 500);
+ }, [g]), { gridProps: Ev(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function Jw(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = my(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = cw.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = () => {
+function Yw(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = hy(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = lw.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = () => {
if (n.current) {
- let e = rb(n.current);
+ let e = ib(n.current);
if (p === "child") {
- let i = N_(T_(n.current));
- if (F_(n.current) && n.current !== i) return;
- let a = T_(n.current);
+ let i = P_(E_(n.current));
+ if (I_(n.current) && n.current !== i) return;
+ let a = E_(n.current);
if (!i || i === a.body || i === n.current) {
let e = h.current;
- if (e && m.current === r.key && M_(n.current, e)) {
- gv(e);
+ if (e && m.current === r.key && N_(n.current, e)) {
+ _v(e);
return;
}
}
- let o = t.selectionManager.childFocusStrategy === "last" ? Yw(e) : e.firstChild();
+ let o = t.selectionManager.childFocusStrategy === "last" ? Xw(e) : e.firstChild();
if (o) {
- gv(o);
+ _v(o);
return;
}
}
- (m.current != null && r.key !== m.current || !F_(n.current)) && gv(n.current);
+ (m.current != null && r.key !== m.current || !I_(n.current)) && _v(n.current);
}
- }, { itemProps: _, isPressed: v } = WS({
+ }, { itemProps: _, isPressed: v } = GS({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -27164,47 +27164,47 @@ function Jw(e, t, n) {
shouldSelectOnPressUp: s,
onAction: d ? () => d(r.key) : c,
isDisabled: t.collection.size === 0
- }), y = Tv(_, {
+ }), y = Ev(_, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = N_(T_(n.current));
- if (!M_(e.currentTarget, P_(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = rb(n.current);
+ let i = P_(E_(n.current));
+ if (!N_(e.currentTarget, F_(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = ib(n.current);
switch (a.currentNode = i, e.key) {
case "ArrowLeft": {
let t = l === "rtl" ? a.nextNode() : a.previousNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) gv(t), mb(t, { containingElement: db(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) _v(t), hb(t, { containingElement: fb(n.current) });
else {
if (u.getKeyLeftOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (gv(n.current), mb(n.current, { containingElement: db(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : Yw(a), t && (gv(t), mb(t, { containingElement: db(n.current) })));
+ p === "cell" && l === "rtl" ? (_v(n.current), hb(n.current, { containingElement: fb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : Xw(a), t && (_v(t), hb(t, { containingElement: fb(n.current) })));
}
break;
}
case "ArrowRight": {
let t = l === "rtl" ? a.previousNode() : a.nextNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) gv(t), mb(t, { containingElement: db(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) _v(t), hb(t, { containingElement: fb(n.current) });
else {
if (u.getKeyRightOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (gv(n.current), mb(n.current, { containingElement: db(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? Yw(a) : a.firstChild(), t && (gv(t), mb(t, { containingElement: db(n.current) })));
+ p === "cell" && l === "ltr" ? (_v(n.current), hb(n.current, { containingElement: fb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? Xw(a) : a.firstChild(), t && (_v(t), hb(t, { containingElement: fb(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && M_(n.current, P_(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && N_(n.current, F_(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
} : void 0,
onKeyDown: f === "tab" ? (e) => {
- let r = N_(T_(n.current));
- if (M_(e.currentTarget, P_(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
- if (f === "tab" && P_(e) !== n.current && e.key !== "Tab") e.stopPropagation();
+ let r = P_(E_(n.current));
+ if (N_(e.currentTarget, F_(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
+ if (f === "tab" && F_(e) !== n.current && e.key !== "Tab") e.stopPropagation();
else if (e.key === "Tab" && f === "tab") {
- let t = rb(n.current, { tabbable: !0 });
+ let t = ib(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -27213,11 +27213,11 @@ function Jw(e, t, n) {
"aria-colindex": r.colIndex == null ? void 0 : r.colIndex + 1,
colSpan: i ? void 0 : r.colSpan,
onFocus: (e) => {
- if (m.current = r.key, P_(e) !== n.current) {
- let i = P_(e);
- n.current && M_(n.current, i) && (h.current = i), uv() || t.selectionManager.setFocusedKey(r.key);
- } else p === "child" && e.relatedTarget && M_(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && N_(T_(n.current)) === n.current && g();
+ if (m.current = r.key, F_(e) !== n.current) {
+ let i = F_(e);
+ n.current && N_(n.current, i) && (h.current = i), dv() || t.selectionManager.setFocusedKey(r.key);
+ } else p === "child" && e.relatedTarget && N_(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && P_(E_(n.current)) === n.current && g();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -27232,7 +27232,7 @@ function Jw(e, t, n) {
isPressed: v
};
}
-function Yw(e) {
+function Xw(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -27241,33 +27241,33 @@ function Yw(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function $se(e, t, n) {
- let { gridCellProps: r, isPressed: i } = Jw(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = dw(t, e.node.parentKey, a)), {
+function Qse(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = Yw(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = fw(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function ece(e) {
+function $se(e) {
return e && e.__esModule ? e.default : e;
}
-function tce(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Jw({
+function ece(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Yw({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Fy({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Iy({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = Mv({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !Y_() && (u = d ? f : "none");
- let p = by(ece(qw), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && Y_() && (m = `${m}, ${p.format(f)}`));
- let h = gb(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = Nv({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !X_() && (u = d ? f : "none");
+ let p = xy($se(Jw), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && X_() && (m = `${m}, ${p.format(f)}`));
+ let h = _b(m), g = t.collection.size === 0;
return (0, b.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -27276,9 +27276,9 @@ function tce(e, t, n) {
r.key
]), {
columnHeaderProps: {
- ...Tv(l, a, s, h, g ? { tabIndex: -1 } : null),
+ ...Ev(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: Yse(t, r.key),
+ id: Jse(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -27287,20 +27287,20 @@ function tce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function nce(e, t, n) {
+function tce(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function rce(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = cw.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = WS({
+function nce(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = lw.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = GS({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? _v(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? vv(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -27315,10 +27315,10 @@ function rce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function ice(e) {
+function rce(e) {
return e && e.__esModule ? e.default : e;
}
-var Xw = {
+var Zw = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -27328,21 +27328,21 @@ var Xw = {
rtl: "ArrowRight"
}
};
-function ace(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = rce(e, t, n), { direction: s } = my();
+function ice(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = nce(e, t, n), { direction: s } = hy();
i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];
- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = by(ice(qw), "@react-aria/table"), u = cy({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = xy(rce(Jw), "@react-aria/table"), u = ly({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": fw(t, r.key)
+ "aria-labelledby": pw(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = Zw(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = Zw(t.collection, a);
+ let n = Qw(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = Qw(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === Xw.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === Xw.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
+ n.key === Zw.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === Zw.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
},
"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,
"aria-level": e.level + 1,
@@ -27360,45 +27360,45 @@ function ace(e, t, n) {
};
}
}
- let p = Iie(r.props), m = o.hasAction ? p : {};
+ let p = Fie(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
- ...Tv(a, d, m),
- "aria-labelledby": fw(t, r.key)
+ ...Ev(a, d, m),
+ "aria-labelledby": pw(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function Zw(e, t) {
+function Qw(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function oce() {
+function ace() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function Qw() {
- return oce();
+function $w() {
+ return ace();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function sce(e) {
+function oce(e) {
return e && e.__esModule ? e.default : e;
}
-function cce(e, t) {
- let { key: n } = e, { checkboxProps: r } = use(e, t);
+function sce(e, t) {
+ let { key: n } = e, { checkboxProps: r } = lse(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${fw(t, n)}`
+ "aria-labelledby": `${r.id} ${pw(t, n)}`
} };
}
-function lce(e) {
+function cce(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": by(sce(qw), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": xy(oce(Jw), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
isSelected: n,
isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",
isIndeterminate: !t && !n,
@@ -27407,28 +27407,28 @@ function lce(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var $w = /* @__PURE__ */ new WeakMap();
-function eT(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${$w.get(e)}-${n}-${t}`) : "";
+var eT = /* @__PURE__ */ new WeakMap();
+function tT(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${eT.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function uce(e, t, n) {
- let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = WS({
+function lce(e, t, n) {
+ let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = GS({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = eT(t, r, "tab"), m = eT(t, r, "tabpanel"), { tabIndex: h } = d, g = Sy(u?.props, { labelable: !0 });
+ }), p = tT(t, r, "tab"), m = tT(t, r, "tabpanel"), { tabIndex: h } = d, g = Cy(u?.props, { labelable: !0 });
delete g.id;
- let _ = Q_(u?.props), { focusableProps: v } = Mv({
+ let _ = $_(u?.props), { focusableProps: v } = Nv({
...u?.props,
isDisabled: l
}, n);
return {
- tabProps: Tv(g, v, _, d, {
+ tabProps: Ev(g, v, _, d, {
id: p,
"aria-selected": c,
"aria-disabled": l || void 0,
@@ -27443,7 +27443,7 @@ function uce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var dce = class {
+var uce = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -27487,11 +27487,11 @@ var dce = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function fce(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = my(), { collectionProps: l } = Lx({
+function dce(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = hy(), { collectionProps: l } = Rx({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, b.useMemo)(() => new dce(a, c, r, s), [
+ keyboardDelegate: (0, b.useMemo)(() => new uce(a, c, r, s), [
a,
s,
r,
@@ -27501,9 +27501,9 @@ function fce(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = xv();
- return $w.set(t, u), { tabListProps: {
- ...Tv(l, cy({
+ }), u = Sv();
+ return eT.set(t, u), { tabListProps: {
+ ...Ev(l, ly({
...e,
id: u
})),
@@ -27514,12 +27514,12 @@ function fce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function pce(e, t, n) {
- let r = HS(n) ? void 0 : 0, i = eT(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: Tv(cy({
+function fce(e, t, n) {
+ let r = US(n) ? void 0 : 0, i = tT(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: Ev(ly({
...e,
id: i,
- "aria-labelledby": eT(t, t?.selectedKey, "tab")
+ "aria-labelledby": tT(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -27529,16 +27529,16 @@ function pce(e, t, n) {
}
//#endregion
//#region src/react/components/selection-dock.tsx
-var tT = "(prefers-reduced-motion: reduce)", mce = () => matchMedia(tT).matches, hce = (e) => {
- let t = matchMedia(tT);
+var nT = "(prefers-reduced-motion: reduce)", pce = () => matchMedia(nT).matches, mce = (e) => {
+ let t = matchMedia(nT);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
};
-function gce({ children: e, count: t, label: n }) {
- let r = mne(), i = (0, b.useSyncExternalStore)(hce, mce, () => !1), { isFocusVisible: a } = aae(), o = i || a, s = {
+function hce({ children: e, count: t, label: n }) {
+ let r = mne(), i = (0, b.useSyncExternalStore)(mce, pce, () => !1), { isFocusVisible: a } = iae(), o = i || a, s = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
- return /* @__PURE__ */ (0, x.jsxs)(v_.div, {
+ return /* @__PURE__ */ (0, x.jsxs)(y_.div, {
role: "group",
"aria-label": n,
"data-selection-dock": !0,
@@ -27570,18 +27570,18 @@ function gce({ children: e, count: t, label: n }) {
}), e]
});
}
-function nT({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, x.jsx)(gne, { children: e ? /* @__PURE__ */ (0, x.jsx)(gce, { ...t }, "selection") : null });
+function rT({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, x.jsx)(gne, { children: e ? /* @__PURE__ */ (0, x.jsx)(hce, { ...t }, "selection") : null });
}
//#endregion
//#region src/react/batch-dock/batch-dock-api.ts
-var rT = {
+var iT = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function _ce(e, t = !1) {
+function gce(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -27597,7 +27597,7 @@ function _ce(e, t = !1) {
glyph: "trash",
danger: !0
},
- rT
+ iT
];
case "junk": return [
t ? {
@@ -27618,7 +27618,7 @@ function _ce(e, t = !1) {
glyph: "trash",
danger: !0
},
- rT
+ iT
];
case "follow": return [
{
@@ -27639,7 +27639,7 @@ function _ce(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- rT
+ iT
];
default: return [
{
@@ -27673,48 +27673,48 @@ function _ce(e, t = !1) {
glyph: "trash",
danger: !0
},
- rT
+ iT
];
}
}
//#endregion
//#region src/react/batch-dock/batch-dock-island.tsx
-var iT = null, aT = {
+var aT = null, oT = {
count: 0,
context: "catalog",
junkDismissed: !1
-}, oT = /* @__PURE__ */ new Set();
-function vce(e) {
- return oT.add(e), () => {
- oT.delete(e);
+}, sT = /* @__PURE__ */ new Set();
+function _ce(e) {
+ return sT.add(e), () => {
+ sT.delete(e);
};
}
-function yce() {
- for (let e of [...oT]) e();
+function vce() {
+ for (let e of [...sT]) e();
}
-var bce = { render(e) {
- aT = e, (0, pt.flushSync)(yce);
+var yce = { render(e) {
+ oT = e, (0, pt.flushSync)(vce);
} };
-function xce(e) {
- return iT = e, bce;
+function bce(e) {
+ return aT = e, yce;
}
-function Sce() {
- let e = (0, b.useSyncExternalStore)(vce, () => aT);
- return iT ? /* @__PURE__ */ (0, x.jsx)(Cce, {
- host: iT,
+function xce() {
+ let e = (0, b.useSyncExternalStore)(_ce, () => oT);
+ return aT ? /* @__PURE__ */ (0, x.jsx)(Sce, {
+ host: aT,
props: e
}) : null;
}
-function Cce({ host: e, props: t }) {
+function Sce({ host: e, props: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "peach-react",
"data-batch-scope": "",
"data-context": t.context,
- children: /* @__PURE__ */ (0, x.jsx)(nT, {
+ children: /* @__PURE__ */ (0, x.jsx)(rT, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count.toLocaleString()} 项`,
- children: _ce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: gce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -27731,12 +27731,12 @@ function Cce({ host: e, props: t }) {
}
//#endregion
//#region src/number-setting.ts
-function sT(e, t, n, r) {
+function cT(e, t, n, r) {
return Number.isInteger(e) && e >= t && e <= n ? e : r;
}
//#endregion
//#region src/settings-store.ts
-function wce(e, t) {
+function Cce(e, t) {
let n = /* @__PURE__ */ new Set(), r = 0, i = () => {
r += 1, n.forEach((e) => e());
};
@@ -27756,7 +27756,7 @@ function wce(e, t) {
}
//#endregion
//#region src/sort-preferences.ts
-var cT = [
+var lT = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -27765,7 +27765,7 @@ var cT = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], lT = ["release", "发行时间"], uT = [...cT, lT].map(([e]) => e), dT = {
+], uT = ["release", "发行时间"], dT = [...lT, uT].map(([e]) => e), fT = {
rating: ["从高到低", "从低到高"],
o: ["从多到少", "从少到多"],
plays: ["从多到少", "从少到多"],
@@ -27774,28 +27774,28 @@ var cT = [
new: ["从新到旧", "从旧到新"],
played: ["从近到远", "从远到近"],
release: ["从新到旧", "从旧到新"]
-}, fT = {
+}, pT = {
big: ["size", "desc"],
short: ["dur", "asc"],
long: ["dur", "desc"]
-}, pT = (e, t, n = dT) => (n[e] || [])[+(t === "asc")] || "", mT = (e, t = dT) => t[e] ? "desc" : "";
-function hT(e, t, n, r = dT) {
+}, mT = (e, t, n = fT) => (n[e] || [])[+(t === "asc")] || "", hT = (e, t = fT) => t[e] ? "desc" : "";
+function gT(e, t, n, r = fT) {
return e === t ? r[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
sort: e,
- dir: mT(e, r)
+ dir: hT(e, r)
};
}
-function gT(e, t, n) {
+function _T(e, t, n) {
return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";
}
-function _T(e, t, n, r, i = n) {
- let a = e ? fT[e] : void 0, o = a ? a[0] : e, s = o && uT.includes(o) ? o : i;
- return dT[s] ? {
+function vT(e, t, n, r, i = n) {
+ let a = e ? pT[e] : void 0, o = a ? a[0] : e, s = o && dT.includes(o) ? o : i;
+ return fT[s] ? {
sort: s,
- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : gT(s, n, r)
+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : _T(s, n, r)
} : {
sort: s,
dir: ""
@@ -27803,15 +27803,15 @@ function _T(e, t, n, r, i = n) {
}
//#endregion
//#region src/appearance/home-glow.ts
-var vT = [
+var yT = [
"spot1",
"spot2",
"spot3"
-], Tce = [
+], wce = [
"光晕一",
"光晕二",
"光晕三"
-], yT = "native", bT = [
+], bT = "native", xT = [
[
"ash",
"灰雾",
@@ -28117,7 +28117,7 @@ var vT = [
"rose"
],
[
- yT,
+ bT,
"玻璃原色",
{
spot1: {
@@ -28135,7 +28135,7 @@ var vT = [
},
"blue"
]
-], xT = (e) => e === yT, ST = [...bT.map(([e, t]) => [e, t]), ["custom", "自定义"]], Ece = (e) => (ST.find(([t]) => t === e) || ST[0])[1], CT = (e) => structuredClone((bT.find(([t]) => t === e) || bT[0])[2]), wT = [
+], ST = (e) => e === bT, CT = [...xT.map(([e, t]) => [e, t]), ["custom", "自定义"]], Tce = (e) => (CT.find(([t]) => t === e) || CT[0])[1], wT = (e) => structuredClone((xT.find(([t]) => t === e) || xT[0])[2]), TT = [
["red", "红"],
["orange", "橙"],
["amber", "琥珀"],
@@ -28148,7 +28148,7 @@ var vT = [
["violet", "紫罗兰"],
["fuchsia", "品红"],
["rose", "玫红"]
-], TT = "blue", ET = (e) => wT.some(([t]) => t === e) ? e : TT, Dce = (e) => (bT.find(([t]) => t === e) || [])[3] || "blue", Oce = [
+], ET = "blue", DT = (e) => TT.some(([t]) => t === e) ? e : ET, Ece = (e) => (xT.find(([t]) => t === e) || [])[3] || "blue", Dce = [
["all", "全部"],
["gray", "灰"],
["red", "红"],
@@ -28158,7 +28158,7 @@ var vT = [
["blue", "蓝"],
["purple", "紫"],
["brown", "棕"]
-], kce = [
+], Oce = [
[
"gray",
"云灰",
@@ -28554,11 +28554,11 @@ var vT = [
"霁蓝",
"#6686b8"
]
-], DT = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, OT = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Ace = (e, t) => `rgba(${[
+], OT = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, kT = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, kce = (e, t) => `rgba(${[
1,
3,
5
-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, jce = {
+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Ace = {
strength: [
0,
100,
@@ -28584,7 +28584,7 @@ var vT = [
100,
50
]
-}, kT = {
+}, AT = {
on: !0,
preset: "ash",
strength: 100,
@@ -28592,57 +28592,57 @@ var vT = [
speed: 100,
soften: 50,
size: 50,
- ...CT("ash")
+ ...wT("ash")
};
-function AT(e) {
- let t = e && typeof e == "object" ? e : {}, n = ST.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = CT(r === "custom" ? "ash" : r), a = {
+function jT(e) {
+ let t = e && typeof e == "object" ? e : {}, n = CT.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = wT(r === "custom" ? "ash" : r), a = {
on: t.on !== !1,
preset: r
};
- for (let [e, [n, r, i]] of Object.entries(jce)) a[e] = DT(+t[e], n, r, i);
- for (let e of vT) {
+ for (let [e, [n, r, i]] of Object.entries(Ace)) a[e] = OT(+t[e], n, r, i);
+ for (let e of yT) {
let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];
a[e] = {
- color: OT(r.color, o.color),
- alpha: DT(+r.alpha, 0, 100, o.alpha)
+ color: kT(r.color, o.color),
+ alpha: OT(+r.alpha, 0, 100, o.alpha)
};
}
return a;
}
-var Mce = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, jT = /* @__PURE__ */ new WeakMap();
-function Nce(e, t) {
+var jce = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, MT = /* @__PURE__ */ new WeakMap();
+function Mce(e, t) {
if (!e) return;
- let n = jT.get(e);
- n || (n = /* @__PURE__ */ new Map(), jT.set(e, n));
- let r = t.on && !xT(t.preset), i = (t, r) => {
+ let n = MT.get(e);
+ n || (n = /* @__PURE__ */ new Map(), MT.set(e, n));
+ let r = t.on && !ST(t.preset), i = (t, r) => {
n.get(t) !== r && (n.set(t, r), e.style.setProperty(t, r));
};
- i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), vT.forEach((e, n) => {
+ i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), yT.forEach((e, n) => {
let r = t[e];
- i(`--glow-spot-${n + 1}-color`, Ace(r.color, r.alpha));
+ i(`--glow-spot-${n + 1}-color`, kce(r.color, r.alpha));
});
}
-function Pce(e, t) {
+function Nce(e, t) {
if (!e) return;
- let n = !t.on || xT(t.preset);
+ let n = !t.on || ST(t.preset);
e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));
}
//#endregion
//#region src/appearance/settings.ts
-var Fce = "peach.settings.v1", Ice = [
+var Pce = "peach.settings.v1", Fce = [
"system",
"light",
"dark"
-], MT = [
+], NT = [
0,
7,
30,
90
-], Lce = [
+], Ice = [
"feedHideGroupCompilations",
"feedHideSoloCompilations",
"feedHideExcerpts"
-], NT = {
+], PT = {
batchSize: 60,
defaultSort: "seed",
sortDefaultsVersion: 3,
@@ -28662,46 +28662,46 @@ var Fce = "peach.settings.v1", Ice = [
theme: "system",
groupCollapse: !0,
sidebarOrder: [...tc],
- homeGlow: kT,
- accent: TT
-}, PT = (e, t, n) => t.includes(e) ? e : n;
-function Rce(e) {
+ homeGlow: AT,
+ accent: ET
+}, FT = (e, t, n) => t.includes(e) ? e : n;
+function Lce(e) {
let t = e && typeof e == "object" ? e : {}, n = {
- ...NT,
+ ...PT,
...t
};
- n.followInitialDays = MT.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
+ n.followInitialDays = NT.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
let r = !1, i = +n.sortDefaultsVersion || 0;
i < 2 && n.defaultSort === "new" && (n.defaultSort = "seed", r = !0);
- let a = fT[n.defaultSort];
- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = sT(+n.batchSize, 1, 200, 60), n.defaultSort = PT(n.defaultSort, uT, "seed"), n.hoverDelaySeconds = sT(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = sT(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = sT(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = sT(+n.relatedLimit, 0, 60, 20), Object.assign(n, Gi(n)), n.theme = PT(n.theme, Ice, "system"), n.homeGlow = AT(n.homeGlow), n.accent = ET(n.accent), n.sidebarOrder = ac(n.sidebarOrder), {
+ let a = pT[n.defaultSort];
+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = cT(+n.batchSize, 1, 200, 60), n.defaultSort = FT(n.defaultSort, dT, "seed"), n.hoverDelaySeconds = cT(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = cT(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = cT(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = cT(+n.relatedLimit, 0, 60, 20), Object.assign(n, Gi(n)), n.theme = FT(n.theme, Fce, "system"), n.homeGlow = jT(n.homeGlow), n.accent = DT(n.accent), n.sidebarOrder = ac(n.sidebarOrder), {
settings: n,
migrated: r
};
}
-function zce(e) {
+function Rce(e) {
let t = {};
try {
t = JSON.parse(e.getItem("peach.settings.v1") || "{}");
} catch {}
- return Rce(t);
+ return Lce(t);
}
-var FT = null;
-function IT() {
- if (FT) return FT;
- let { settings: e, migrated: t } = zce(localStorage);
- return FT = wce(Fce, e), t && FT.save(), FT;
+var IT = null;
+function LT() {
+ if (IT) return IT;
+ let { settings: e, migrated: t } = Rce(localStorage);
+ return IT = Cce(Pce, e), t && IT.save(), IT;
}
-function LT(e, t, n = IT()) {
+function RT(e, t, n = LT()) {
let r = n.value, i = e && e.followInitialDays;
- MT.includes(i) && (r.followInitialDays = i, n.save());
- for (let t of Lce) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
+ NT.includes(i) && (r.followInitialDays = i, n.save());
+ for (let t of Ice) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
let a = e && e.searchHistoryLimit;
- Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = sT(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== NT.searchHistoryLimit && Bce(n);
+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = cT(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== PT.searchHistoryLimit && zce(n);
let o = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;
o && o.length && o.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = o, n.save());
}
-function Bce(e = IT()) {
+function zce(e = LT()) {
return Et("/api/settings", {
method: "POST",
body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })
@@ -28709,7 +28709,7 @@ function Bce(e = IT()) {
}
//#endregion
//#region src/appearance/theme.ts
-var Vce = [
+var Bce = [
[
"system",
"跟随系统",
@@ -28725,32 +28725,32 @@ var Vce = [
"深色",
"moon"
]
-], Hce = null, RT = () => Hce ??= matchMedia("(prefers-color-scheme: dark)"), zT = null;
-function Uce() {
- return zT || (zT = document.createElement("style"), zT.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), zT.isConnected || document.head.append(zT), () => {
+], Vce = null, zT = () => Vce ??= matchMedia("(prefers-color-scheme: dark)"), BT = null;
+function Hce() {
+ return BT || (BT = document.createElement("style"), BT.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), BT.isConnected || document.head.append(BT), () => {
getComputedStyle(document.documentElement).opacity;
let e = () => {
- cancelAnimationFrame(t), clearTimeout(n), zT?.remove();
+ cancelAnimationFrame(t), clearTimeout(n), BT?.remove();
}, t = requestAnimationFrame(e), n = setTimeout(e, 100);
};
}
-function BT(e = IT().value.theme) {
- let t = Uce(), n = document.documentElement;
+function VT(e = LT().value.theme) {
+ let t = Hce(), n = document.documentElement;
e === "system" ? delete n.dataset.theme : n.dataset.theme = e;
- let r = e === "dark" || e === "system" && RT().matches;
+ let r = e === "dark" || e === "system" && zT().matches;
n.classList.toggle("dark", r), document.querySelectorAll("[data-board-theme]").forEach((e) => e.setAttribute("aria-pressed", String(e.dataset.boardTheme === "dark" === r))), document.querySelector(".board-theme-toggle")?.classList.toggle("is-dark", r), document.querySelectorAll("meta[data-theme-color]").forEach((e) => {
e.media = e.dataset.themeColor === "dark" === r ? "all" : "not all";
}), t();
}
-var VT = !1;
-function Wce() {
- VT || (VT = !0, RT().addEventListener("change", () => {
- IT().value.theme === "system" && BT();
+var HT = !1;
+function Uce() {
+ HT || (HT = !0, zT().addEventListener("change", () => {
+ LT().value.theme === "system" && VT();
}));
}
//#endregion
//#region src/appearance/layout.ts
-var HT = [[
+var UT = [[
"big",
"大图",
"maximize"
@@ -28758,7 +28758,7 @@ var HT = [[
"small",
"小图",
"layout-grid"
-]], UT = [[
+]], WT = [[
"big",
"大图",
"maximize"
@@ -28766,7 +28766,7 @@ var HT = [[
"small",
"小图",
"layout-grid"
-]], WT = [[
+]], GT = [[
"fixed",
"固定比例",
"layout-grid"
@@ -28774,121 +28774,121 @@ var HT = [[
"masonry",
"瀑布流",
"columns-2"
-]], GT = .75, KT = () => IT().value, qT = (e = KT()) => Wi(e.javLayout), Gce = (e = KT()) => Wi(e.homeLayout), JT = (e, t = KT()) => e ? Gce(t) : qT(t), YT = UT.map(([e]) => e), XT = WT.map(([e]) => e), ZT = (e = KT()) => PT(e.photoSize, YT, "small"), QT = (e = KT()) => PT(e.photoLayout, XT, "masonry"), $T = null;
-function eE(e, t = KT()) {
+]], KT = .75, qT = () => LT().value, JT = (e = qT()) => Wi(e.javLayout), Wce = (e = qT()) => Wi(e.homeLayout), YT = (e, t = qT()) => e ? Wce(t) : JT(t), XT = WT.map(([e]) => e), ZT = GT.map(([e]) => e), QT = (e = qT()) => FT(e.photoSize, XT, "small"), $T = (e = qT()) => FT(e.photoLayout, ZT, "masonry"), eE = null;
+function tE(e, t = qT()) {
let n = {
active: e.active,
- size: JT(e.home, t),
+ size: YT(e.home, t),
portrait: e.portrait,
javImage: t.javImage
- }, r = $T;
- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && ($T = n), $T;
+ }, r = eE;
+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (eE = n), eE;
}
-function tE(e) {
- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? GT : 16 / 9;
+function nE(e) {
+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? KT : 16 / 9;
}
-function Kce(e, t = IT()) {
+function Gce(e, t = LT()) {
t.value.homeLayout = Wi(e), t.save();
}
-function nE(e, t = IT()) {
+function rE(e, t = LT()) {
t.value.javLayout = Wi(e), t.save();
}
-function qce(e, t = IT()) {
+function Kce(e, t = LT()) {
t.value.homeLayout = t.value.javLayout = Wi(e), t.save();
}
-function Jce(e, t = IT()) {
- t.value.photoSize = PT(e, YT, "small"), t.save();
+function qce(e, t = LT()) {
+ t.value.photoSize = FT(e, XT, "small"), t.save();
}
-function rE(e, t = IT()) {
- t.value.photoLayout = PT(e, XT, "masonry"), t.save();
+function iE(e, t = LT()) {
+ t.value.photoLayout = FT(e, ZT, "masonry"), t.save();
}
//#endregion
//#region src/appearance/density.ts
-var iE = "density", Yce = {
+var aE = "density", Jce = {
big: "336px",
dense: "168px"
-}, aE = () => localStorage.getItem(iE) === "dense" ? "dense" : "big";
-function oE(e, t) {
- let [n, r] = UT;
+}, oE = () => localStorage.getItem(aE) === "dense" ? "dense" : "big";
+function sE(e, t) {
+ let [n, r] = WT;
e.querySelector("[data-icon-swap]") ? oo(e, t === r[0] ? "b" : "a") : e.innerHTML = ao(n[2], r[2], t === r[0] ? "b" : "a"), e.setAttribute("aria-label", t === "big" ? "切换为小图" : "切换为大图");
}
-var sE = () => document.querySelector("#density");
-function cE(e = aE()) {
- document.documentElement.style.setProperty("--tile", Yce[e]), document.body.dataset.density = e;
- let t = sE();
- t && (t.setAttribute("aria-pressed", String(e === "dense")), t.title = "当前:" + (e === "big" ? "大图" : "密集"), oE(t, e === "big" ? "big" : "small"));
+var cE = () => document.querySelector("#density");
+function lE(e = oE()) {
+ document.documentElement.style.setProperty("--tile", Jce[e]), document.body.dataset.density = e;
+ let t = cE();
+ t && (t.setAttribute("aria-pressed", String(e === "dense")), t.title = "当前:" + (e === "big" ? "大图" : "密集"), sE(t, e === "big" ? "big" : "small"));
}
-function Xce() {
- let e = aE() === "big" ? "dense" : "big";
- localStorage.setItem(iE, e), cE(e);
+function Yce() {
+ let e = oE() === "big" ? "dense" : "big";
+ localStorage.setItem(aE, e), lE(e);
}
-function Zce(e) {
- let t = sE();
- t && (t.setAttribute("aria-pressed", String(e === "small")), t.title = "当前:" + (e === "big" ? "大图" : "小图"), oE(t, e));
+function Xce(e) {
+ let t = cE();
+ t && (t.setAttribute("aria-pressed", String(e === "small")), t.title = "当前:" + (e === "big" ? "大图" : "小图"), sE(t, e));
}
//#endregion
//#region src/appearance/glow.ts
-function lE(e = IT()) {
- Nce(document.querySelector(".glowlayer"), e.value.homeGlow);
+function uE(e = LT()) {
+ Mce(document.querySelector(".glowlayer"), e.value.homeGlow);
}
-var uE = 0;
-function dE(e = IT()) {
- uE ||= requestAnimationFrame(() => {
- uE = 0, lE(e);
+var dE = 0;
+function fE(e = LT()) {
+ dE ||= requestAnimationFrame(() => {
+ dE = 0, uE(e);
});
}
-function fE(e = IT()) {
- Pce(document.documentElement, e.value.homeGlow);
+function pE(e = LT()) {
+ Nce(document.documentElement, e.value.homeGlow);
}
-function pE(e = IT()) {
+function mE(e = LT()) {
document.documentElement.dataset.accent = e.value.accent;
}
-var mE = (e, t, n) => ({
+var hE = (e, t, n) => ({
key: e,
label: t,
- native: xT(e),
- fill: xT(e) ? "" : Mce(n)
+ native: ST(e),
+ fill: ST(e) ? "" : jce(n)
});
-function Qce(e) {
- let t = bT.map(([e, t, n]) => mE(e, t, vT.map((e) => n[e].color)));
- return e.preset === "custom" && t.push(mE("custom", "自定义", vT.map((t) => e[t].color))), t;
+function Zce(e) {
+ let t = xT.map(([e, t, n]) => hE(e, t, yT.map((e) => n[e].color)));
+ return e.preset === "custom" && t.push(hE("custom", "自定义", yT.map((t) => e[t].color))), t;
}
-var $ce = wT;
-function ele(e, t = IT()) {
+var Qce = TT;
+function $ce(e, t = LT()) {
if (e === "custom") return;
let n = t.value.homeGlow;
- n.preset = e, Object.assign(n, CT(e)), t.value.accent = Dce(e), t.save(), dE(t), fE(t), pE(t);
+ n.preset = e, Object.assign(n, wT(e)), t.value.accent = Ece(e), t.save(), fE(t), pE(t), mE(t);
}
-function tle(e, t = IT()) {
- t.value.accent = ET(e), t.save(), pE(t);
+function ele(e, t = LT()) {
+ t.value.accent = DT(e), t.save(), mE(t);
}
-function nle(e = IT()) {
+function tle(e = LT()) {
let t = e.value.homeGlow;
- t.preset = kT.preset, Object.assign(t, CT(t.preset)), e.value.accent = TT, e.save(), dE(e), fE(e), pE(e);
+ t.preset = AT.preset, Object.assign(t, wT(t.preset)), e.value.accent = ET, e.save(), fE(e), pE(e), mE(e);
}
-function hE(e, t) {
- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && xT(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
+function gE(e, t) {
+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && ST(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
}
-function rle(e, t = IT()) {
- return hE(e, t.value.homeGlow), t.subscribe(() => hE(e, t.value.homeGlow));
+function nle(e, t = LT()) {
+ return gE(e, t.value.homeGlow), t.subscribe(() => gE(e, t.value.homeGlow));
}
//#endregion
//#region src/react/components/glow-preset-grid.tsx
-function gE({ store: e, label: t, hidden: n }) {
+function _E({ store: e, label: t, hidden: n }) {
let r = e.value.homeGlow;
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-grid": "",
role: "group",
"aria-label": t,
hidden: n,
- children: Qce(r).map((t) => /* @__PURE__ */ (0, x.jsx)("button", {
+ children: Zce(r).map((t) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-glow-chip": "",
"data-glow-preset": t.key,
"aria-pressed": t.key === r.preset,
title: t.label,
"aria-label": t.label,
- onClick: () => ele(t.key, e),
+ onClick: () => $ce(t.key, e),
children: /* @__PURE__ */ (0, x.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -28900,14 +28900,14 @@ function gE({ store: e, label: t, hidden: n }) {
}
//#endregion
//#region src/react/glow-picker/glow-picker-island.tsx
-var _E = null;
-function ile(e) {
- _E = e;
+var vE = null;
+function rle(e) {
+ vE = e;
}
-function ale() {
- return _E ? /* @__PURE__ */ (0, x.jsx)(ole, { host: _E }) : null;
+function ile() {
+ return vE ? /* @__PURE__ */ (0, x.jsx)(ale, { host: vE }) : null;
}
-function ole({ host: e }) {
+function ale({ host: e }) {
let { store: t } = e;
(0, b.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -28919,11 +28919,11 @@ function ole({ host: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-glow-preset-reset": "",
- onClick: () => nle(t),
+ onClick: () => tle(t),
children: "重置"
})]
}),
- /* @__PURE__ */ (0, x.jsx)(gE, {
+ /* @__PURE__ */ (0, x.jsx)(_E, {
store: t,
label: "光晕",
hidden: !n.on
@@ -28937,14 +28937,14 @@ function ole({ host: e }) {
"data-accent-grid": "",
role: "group",
"aria-label": "强调色",
- children: $ce.map(([e, n]) => /* @__PURE__ */ (0, x.jsx)("button", {
+ children: Qce.map(([e, n]) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-glow-chip": "",
"data-accent": e,
"aria-pressed": e === r,
title: n,
"aria-label": n,
- onClick: () => tle(e, t),
+ onClick: () => ele(e, t),
children: /* @__PURE__ */ (0, x.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -28963,32 +28963,32 @@ function ole({ host: e }) {
}
//#endregion
//#region src/player/host.ts
-var vE = null;
-function sle(e) {
- vE = e;
+var yE = null;
+function ole(e) {
+ yE = e;
}
-function yE() {
- if (!vE) throw Error("播放器还没有接上宿主(configurePlayer)");
- return vE;
+function bE() {
+ if (!yE) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return yE;
}
//#endregion
//#region src/player/menu.ts
-var bE = null;
-function cle(e) {
- bE = e;
+var xE = null;
+function sle(e) {
+ xE = e;
}
-function lle() {
+function cle() {
let e = document.getElementById("playerMenu");
return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;
}
-var xE = null, SE = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function CE() {
+var SE = null, CE = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function wE() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && Ha(e, () => {
e.innerHTML = "";
- }), xE &&= (xE(), null);
+ }), SE &&= (SE(), null);
}
-async function ule(e) {
+async function lle(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -29001,8 +29001,8 @@ async function ule(e) {
return t.remove(), n;
}
}
-function dle(e) {
- let t = !!bE?.inMiniplayer(e), n = e.peachItem, r = bE?.kind(e) ?? "item", i = (t) => {
+function ule(e) {
+ let t = !!xE?.inMiniplayer(e), n = e.peachItem, r = xE?.kind(e) ?? "item", i = (t) => {
let i = new URL(r === "follow" ? `/posts/${n?.id}` : `/assets/${n?.id}`, location.origin);
if (r !== "follow" && location.pathname === i.pathname) {
let e = new URLSearchParams(location.search);
@@ -29018,7 +29018,7 @@ function dle(e) {
}
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- ule(i(e)).then((e) => yE().toast(e ? t : "复制失败,请手动复制地址栏", {
+ lle(i(e)).then((e) => bE().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -29030,11 +29030,11 @@ function dle(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => bE?.expand()
+ run: () => xE?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => bE?.toMiniplayer()
+ run: () => xE?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -29057,29 +29057,29 @@ function dle(e) {
run: () => s.click()
}), o;
}
-function fle(e, t, n) {
- let r = lle();
- CE();
- let i = yE().stage();
+function dle(e, t, n) {
+ let r = cle();
+ wE();
+ let i = bE().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = dle(e);
+ let a = ule(e);
r.innerHTML = a.map((e, t) => {
let n = e.checked !== void 0;
- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${SE(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? SE(R("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${CE(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? CE(R("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), Va(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;
let o = [...r.querySelectorAll("[data-player-menu]")];
o.forEach((e) => {
e.onclick = (t) => {
t.stopPropagation();
let n = a[Number(e.dataset.playerMenu)];
- CE(), n?.run();
+ wE(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || CE();
+ r.contains(e.target) || wE();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), CE();
+ e.preventDefault(), e.stopPropagation(), wE();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -29087,51 +29087,51 @@ function fle(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- Wa(t, e.el()) && CE();
+ Wa(t, e.el()) && wE();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), xE = () => {
+ }, 0), SE = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function ple(e) {
+function fle(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), fle(e, t.clientX, t.clientY));
- }), e.on("dispose", CE);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), dle(e, t.clientX, t.clientY));
+ }), e.on("dispose", wE);
}
//#endregion
//#region src/player/registry.ts
-var mle = null, wE = () => mle;
-function TE(e) {
- mle = e;
+var TE = null, EE = () => TE;
+function DE(e) {
+ TE = e;
}
-function EE(e) {
+function OE(e) {
e && !e.isDisposed() && requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
//#endregion
//#region src/player/stats.ts
-function hle(e) {
+function ple(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);
return 0;
}
-function gle(e) {
+function mle(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);
return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;
}
-var _le = 3e3;
-function vle(e, t) {
+var hle = 3e3;
+function gle(e, t) {
let n = Number(e) || 0, r = qt(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function yle(e) {
+function _le(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -29146,10 +29146,10 @@ function yle(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = gle(e), s = e.currentTime || 0;
+ let a = performance.now(), o = mle(e), s = e.currentTime || 0;
if (n) {
let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;
- !i && c > 0 && (r += c), e * 1e3 > _le * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > hle * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -29158,56 +29158,56 @@ function yle(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > _le;) t.shift();
+ }); t.length > 2 && a - t[0].at > hle;) t.shift();
let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;
return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;
}
};
}
-var DE = 24;
-function OE(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > DE && e.splice(0, e.length - DE);
+var kE = 24;
+function AE(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > kE && e.splice(0, e.length - kE);
}
-var kE = "peach-player-panel";
-function AE(e, t, n, r) {
- let i = [...Array(Math.max(0, DE - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var jE = "peach-player-panel";
+function ME(e, t, n, r) {
+ let i = [...Array(Math.max(0, kE - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
if (e === null) return "<i aria-hidden=\"true\"></i>";
let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));
return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;
}).join("");
return `<span data-player-stats-plot="${t}" role="img" aria-label="${z(r)}">${o}</span>`;
}
-function ble() {
+function vle() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${R("chart")}</button>
<div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div>
<div data-player-stats="" id="playerStats" role="status" hidden></div>`;
}
-function xle(e, t = "") {
+function yle(e, t = "") {
let n = t ? encodeURIComponent(t) : "";
return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));
}
-function Sle(e, t = "") {
- let n = xle(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+function ble(e, t = "") {
+ let n = yle(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
return r > 0 && i > 0 ? r * 8 / i : 0;
}
-function Cle(e, t, n = "", r = null) {
+function xle(e, t, n = "", r = null) {
let i = 0;
try {
i = Number(e?.tech({ IWillNotUseThisInPlugins: !0 })?.vhs?.stats?.bandwidth) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : Sle(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : ble(t, n);
}
-function jE(e) {
+function NE(e) {
if (!Number.isFinite(e) || e <= 0) return "加载中…";
let t = e / 8;
return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;
}
-function wle(e, t) {
- return e > 0 ? jE(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : jE(0);
+function Sle(e, t) {
+ return e > 0 ? NE(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : NE(0);
}
//#endregion
//#region src/player/controls.ts
-function ME(e, t, n = "") {
+function PE(e, t, n = "") {
if (!e) return () => {};
let r = e.querySelector(":scope>.vjs-peach-tooltip");
r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));
@@ -29218,27 +29218,27 @@ function ME(e, t, n = "") {
};
return o(), o;
}
-function Tle(e, t) {
+function Cle(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
-function Ele(e, t = !0) {
- let n = yE(), r = n.settings();
+function wle(e, t = !0) {
+ let n = bE(), r = n.settings();
r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));
}
-var Dle = /* @__PURE__ */ new WeakMap();
-function Ole(e) {
+var Tle = /* @__PURE__ */ new WeakMap();
+function Ele(e) {
if (!e) return;
- let t = yE().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Dle.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = bE().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Tle.get(e)?.(t ? "默认视图" : "影院模式");
}
-function kle(e, t = !0) {
- let n = yE(), r = n.settings();
+function Dle(e, t = !0) {
+ let n = bE(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), Ole(i?.querySelector("[data-player-theater]")), EE(wE());
+ i?.toggleAttribute("data-theater", r.theaterMode), Ele(i?.querySelector("[data-player-theater]")), OE(EE());
}
-function Ale(e) {
- let t = yE().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function Ole(e) {
+ let t = bE().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -29261,9 +29261,9 @@ function Ale(e) {
}, u = (t) => {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));
}, d = (t, n) => {
- i || t !== o || (yE().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
+ i || t !== o || (bE().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
}, f = () => {
- !i && yE().settings().ambientMode && (l(), e.paused || u(++o));
+ !i && bE().settings().ambientMode && (l(), e.paused || u(++o));
}, p = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());
@@ -29272,7 +29272,7 @@ function Ale(e) {
i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();
};
}
-function jle(e, t, n = 0, r = null) {
+function kle(e, t, n = 0, r = null) {
let i = e.getChild("controlBar")?.el();
if (!i || i.querySelector("[data-player-quality]")) return;
let a = document.createElement("div");
@@ -29282,7 +29282,7 @@ function jle(e, t, n = 0, r = null) {
let o = i.querySelector(".vjs-fullscreen-control");
i.insertBefore(a, o || null);
let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");
- ME(s, "设置");
+ PE(s, "设置");
let l = a.querySelector(".vjs-peach-settings-menu"), u = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, d = r, f = "auto", p = (e, t) => {
let n = [Number(e), Number(t)].filter((e) => e > 0);
return n.length ? Math.min(...n) : 0;
@@ -29322,11 +29322,11 @@ function jle(e, t, n = 0, r = null) {
active: n
};
}, g = () => l.getAttribute("aria-hidden") !== "true", _ = (e) => {
- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(kE, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(jE, { detail: "settings" }));
}, v = () => _(!1), y = (e) => {
e.detail !== "settings" && v();
};
- document.addEventListener(kE, y);
+ document.addEventListener(jE, y);
let b = null, x = (e, t) => {
let n = l.querySelector(".vjs-peach-panel"), r = document.createElement("div");
if (r.className = "vjs-peach-panel", r.innerHTML = e, !n || !t || !g()) return l.replaceChildren(r), l.style.height = "", r;
@@ -29341,12 +29341,12 @@ function jle(e, t, n = 0, r = null) {
}), r;
}, S = (e, t) => e.querySelector(t), C = "main", w = (t = 0) => {
C = "main";
- let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${yE().settings().ambientMode}">
+ let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${bE().settings().ambientMode}">
${R("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${R("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${R("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${R("player-quality")}<span>清晰度</span><b>${z(n.label)}</b>${R("player-menu-next")}</button></div>`, t);
S(i, "[data-player-ambient]").onclick = () => {
- Ele(!yE().settings().ambientMode), w();
+ wle(!bE().settings().ambientMode), w();
}, S(i, "[data-player-speed]").onclick = () => O(), S(i, "[data-player-quality-view]").onclick = () => A();
}, T = .05, E = [
1,
@@ -29422,22 +29422,22 @@ function jle(e, t, n = 0, r = null) {
"removequalitylevel",
"change"
], j), e.on("dispose", () => {
- document.removeEventListener("pointerdown", M), document.removeEventListener(kE, y), b && clearTimeout(b);
- }), h(), Mle(e, a), Nle(e), (e) => {
+ document.removeEventListener("pointerdown", M), document.removeEventListener(jE, y), b && clearTimeout(b);
+ }), h(), Ale(e, a), jle(e), (e) => {
d = e?.length ? e : null, j();
};
}
-function Mle(e, t) {
+function Ale(e, t) {
let n = e.getChild("controlBar")?.el();
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = yE().settings().theaterMode, i = document.createElement("div");
+ let r = bE().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${R(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- Dle.set(a, ME(a, "影院模式", "T")), Ole(a), a.onclick = (e) => {
- e.stopPropagation(), kle(!yE().settings().theaterMode);
+ Tle.set(a, PE(a, "影院模式", "T")), Ele(a), a.onclick = (e) => {
+ e.stopPropagation(), Dle(!bE().settings().theaterMode);
};
}
-function Nle(e) {
+function jle(e) {
let t = e.getChild("controlBar")?.el();
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -29449,7 +29449,7 @@ function Nle(e) {
e.dataset.peachExplicitIcon = "";
let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");
return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;
- }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = ME(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = PE(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
let t = e.paused() || e.ended(), n = t ? s : c;
o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");
};
@@ -29460,7 +29460,7 @@ function Nle(e) {
], d), d();
let f = t.querySelector(":scope>.vjs-volume-panel"), p = f?.querySelector(":scope>.vjs-mute-control"), m = i(p, "player-volume");
m && a("player-volume-muted").forEach((e) => m.append(e.cloneNode(!0)));
- let h = ME(p, "静音", "M"), g = () => {
+ let h = PE(p, "静音", "M"), g = () => {
let t = e.muted() || e.volume() === 0;
m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");
};
@@ -29486,7 +29486,7 @@ function Nle(e) {
});
let x = document.createElement("button"), S = !1;
x.type = "button", x.className = "vjs-peach-time vjs-control", x.dataset.playerTime = "", x.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";
- let C = x.querySelector(".vjs-peach-time-text"), w = ME(x, "显示剩余时间"), T = () => {
+ let C = x.querySelector(".vjs-peach-time-text"), w = PE(x, "显示剩余时间"), T = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = Yt(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : Yt(t)} / ${Yt(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${Yt(n)};点击显示已播放时间` : `已播放 ${Yt(t)},总时长 ${Yt(n)};点击显示剩余时间`);
};
@@ -29499,11 +29499,11 @@ function Nle(e) {
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
r(E, "player-pip");
- let D = ME(E, "画中画");
+ let D = PE(E, "画中画");
e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));
- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = ME(O, "全屏", "F"), j = () => {
+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = PE(O, "全屏", "F"), j = () => {
let t = !!e.isFullscreen();
- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), EE(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), OE(e);
};
e.on([
"fullscreenchange",
@@ -29523,7 +29523,7 @@ function Nle(e) {
});
let P = document.createElement("div");
P.className = "vjs-peach-expand vjs-control", P.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(P);
- let ee = P.querySelector("button"), F = ME(ee, "展开控件"), te = (t) => {
+ let ee = P.querySelector("button"), F = PE(ee, "展开控件"), te = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), ee.setAttribute("aria-expanded", String(t)), F(t ? "收起控件" : "展开控件");
};
ee.onclick = (t) => {
@@ -29535,7 +29535,7 @@ function Nle(e) {
}, ne = new ResizeObserver(I);
ne.observe(e.el()), e.on("dispose", () => ne.disconnect()), te(!1), I();
}
-function Ple(e, t, n = {}) {
+function Mle(e, t, n = {}) {
let r = e.getChild("controlBar")?.el()?.querySelector(".vjs-progress-control");
if (!r || r.querySelector("[data-player-seek-preview]")) return;
let i = !!t && n.thumbnail !== !1, a = document.createElement("div");
@@ -29569,13 +29569,13 @@ function Ple(e, t, n = {}) {
r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);
});
}
-function Fle(e, t) {
+function Nle(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => qt(e.duration()) || qt(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(yE().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(bE().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -29616,11 +29616,11 @@ function Fle(e, t) {
} catch {}
});
}
-function Ile(e) {
+function Ple(e) {
let t = e.el().querySelector(".vjs-loading-spinner");
t && !t.querySelector(".vjs-peach-spinner-container") && (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");
}
-function Lle(e, t) {
+function Fle(e, t) {
Et(`/api/assets/${t}/subtitles`).then((t) => {
e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -29635,35 +29635,35 @@ function Lle(e, t) {
}
//#endregion
//#region src/player/progress.ts
-var Rle = "peach.playback-position.v1", NE = /* @__PURE__ */ new WeakMap();
-function PE(e) {
- NE.get(e)?.(), NE.delete(e);
+var Ile = "peach.playback-position.v1", FE = /* @__PURE__ */ new WeakMap();
+function IE(e) {
+ FE.get(e)?.(), FE.delete(e);
}
-function zle(e, t, n = null) {
+function Lle(e, t, n = null) {
let r = e === "follow" ? t.id : t.location === "online" ? t.follow_item_id : null;
return r ? `follow:${r}:${n ?? "main"}` : `item:${t.id}`;
}
-function Ble(e) {
+function Rle(e) {
try {
- let t = localStorage.getItem(`${Rle}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
+ let t = localStorage.getItem(`${Ile}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
return Number.isFinite(n) && n >= 0 ? n : null;
} catch {
return null;
}
}
-function Vle(e, t) {
- let n = Ble(e);
+function zle(e, t) {
+ let n = Rle(e);
if (n !== null) return n;
let r = Number(t.leave_ratio);
return r > 0 && r < 1 ? r * qt(t.duration) : 0;
}
-function Hle(e, t) {
- PE(t);
+function Ble(e, t) {
+ IE(t);
let n = t.readyState >= 1, r = () => {
if (!n || !Number.isFinite(t.currentTime)) return;
let r = t.ended ? 0 : Math.max(0, t.currentTime);
try {
- localStorage.setItem(`${Rle}:${e}`, String(r));
+ localStorage.setItem(`${Ile}:${e}`, String(r));
} catch {}
}, i = () => {
n = !0;
@@ -29677,7 +29677,7 @@ function Hle(e, t) {
"pause",
"ended"
]) t.addEventListener(e, r);
- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), NE.set(t, () => {
+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), FE.set(t, () => {
r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);
for (let e of [
"timeupdate",
@@ -29690,19 +29690,19 @@ function Hle(e, t) {
}
//#endregion
//#region src/player/telemetry.ts
-var FE = /* @__PURE__ */ new WeakMap();
-function IE(e) {
- FE.get(e)?.(), FE.delete(e);
+var LE = /* @__PURE__ */ new WeakMap();
+function RE(e) {
+ LE.get(e)?.(), LE.delete(e);
}
-function Ule(e, t, n, r) {
+function Vle(e, t, n, r) {
let i = () => t(!1), a = () => {
n(), t(!1);
};
- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), FE.set(e, () => {
+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), LE.set(e, () => {
n(), t(!1), e.onplay = null, e.ontimeupdate = null, e.onpause = null, e.onended = null, e.removeEventListener("seeking", r), e.removeEventListener("emptied", a), window.removeEventListener("pagehide", i);
});
}
-function Wle(e, t, n = {}) {
+function Hle(e, t, n = {}) {
if (!t) return;
let r = 0, i = 0, a = 0, o = null, s = (e) => e ? document.querySelector(e) : null, c = () => {
let r = qt(e.duration) || qt(t.duration);
@@ -29743,11 +29743,11 @@ function Wle(e, t, n = {}) {
u(), l(!1);
}, t.onended = () => {
u(), l(!0), n.onEnded?.();
- }, Ule(t, l, u, () => {
+ }, Vle(t, l, u, () => {
a++;
}), c();
}
-function Gle(e, t) {
+function Ule(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = qt(e.duration) || qt(t.duration);
(r || n) && (Et("/api/follow/activity", {
@@ -29778,40 +29778,40 @@ function Gle(e, t) {
s(), o(!1);
}, t.onended = () => {
s(), o(!0);
- }, Ule(t, o, s, () => {});
+ }, Vle(t, o, s, () => {});
}
//#endregion
//#region src/player/dispose.ts
-function LE(e) {
+function zE(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
e.pause();
} catch {}
- t && (PE(t), IE(t));
+ t && (IE(t), RE(t));
try {
e.dispose();
} catch {}
}
//#endregion
//#region src/player/stream.ts
-function Kle() {
+function Wle() {
return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
}
-function RE(e, t) {
+function BE(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function qle(e) {
+function Gle(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function Jle(e, t) {
- let n = qle(e);
+async function Kle(e, t) {
+ let n = Gle(e);
if (n) return n;
try {
let n = await Et(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -29820,9 +29820,9 @@ async function Jle(e, t) {
type: n.mime_type || "application/vnd.apple.mpegurl"
};
} catch {}
- return RE(e, t);
+ return BE(e, t);
}
-function zE(e) {
+function VE(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -29831,21 +29831,21 @@ function zE(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var BE = "";
-function Yle() {
- return BE;
+var HE = "";
+function qle() {
+ return HE;
}
-function Xle() {
- return BE ||= Kle(), BE;
+function Jle() {
+ return HE ||= Wle(), HE;
}
-var Zle = (e) => RE(e, Xle()), Qle = (e) => Jle(e, Xle());
-function VE() {
- let e = BE;
- e && (BE = "", zE(e));
+var Yle = (e) => BE(e, Jle()), Xle = (e) => Kle(e, Jle());
+function UE() {
+ let e = HE;
+ e && (HE = "", VE(e));
}
//#endregion
//#region src/player/videojs.ts
-var HE = "/vendor/videojs/8.24.1/", $le = `${HE}video-js.min.css`, eue = (e) => new Promise((t, n) => {
+var WE = "/vendor/videojs/8.24.1/", Zle = `${WE}video-js.min.css`, Qle = (e) => new Promise((t, n) => {
let r = document.head.querySelector(`script[src="${e}"]`);
if (r?.dataset.loaded) {
t();
@@ -29857,7 +29857,7 @@ var HE = "/vendor/videojs/8.24.1/", $le = `${HE}video-js.min.css`, eue = (e) =>
}, { once: !0 }), i.addEventListener("error", () => {
i.remove(), n(/* @__PURE__ */ Error(`script unavailable: ${e}`));
}, { once: !0 }), r || (i.src = e, document.head.appendChild(i));
-}), tue = (e) => new Promise((t) => {
+}), $le = (e) => new Promise((t) => {
let n = document.head.querySelector(`link[rel="stylesheet"][href="${e}"]`);
if (n?.sheet) {
t();
@@ -29867,20 +29867,20 @@ var HE = "/vendor/videojs/8.24.1/", $le = `${HE}video-js.min.css`, eue = (e) =>
r.addEventListener("load", () => t(), { once: !0 }), r.addEventListener("error", () => {
r.remove(), t();
}, { once: !0 }), n || (r.rel = "stylesheet", r.href = e, document.head.insertBefore(r, document.head.querySelector("link[rel=\"stylesheet\"]")));
-}), nue = () => globalThis.videojs, UE = null;
-function WE() {
- let e = nue();
- return e ? Promise.resolve(e) : (UE ??= Promise.all([tue($le), eue(`${HE}video.min.js`).then(() => eue(`${HE}lang/zh-CN.js`))]).then(() => {
- let e = nue();
+}), eue = () => globalThis.videojs, GE = null;
+function KE() {
+ let e = eue();
+ return e ? Promise.resolve(e) : (GE ??= Promise.all([$le(Zle), Qle(`${WE}video.min.js`).then(() => Qle(`${WE}lang/zh-CN.js`))]).then(() => {
+ let e = eue();
if (!e) throw Error("videojs unavailable");
return e;
}).catch((e) => {
- throw UE = null, e;
- }), UE);
+ throw GE = null, e;
+ }), GE);
}
//#endregion
//#region src/player/immerse-player.ts
-var rue = {
+var tue = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -29892,37 +29892,37 @@ var rue = {
errorDisplay: !1,
textTrackSettings: !1
};
-function iue(e, t) {
+function nue(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([Jle(n, r), WE().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([Kle(n, r), KE().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = RE(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = BE(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, rue);
+ let t = s(e, tue);
i = t, l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- Wle(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ Hle(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, zE(r), i ? LE(i) : (e.pause(), IE(e), e.removeAttribute("src"), e.load()));
+ a || (a = !0, VE(r), i ? zE(i) : (e.pause(), RE(e), e.removeAttribute("src"), e.load()));
};
}
//#endregion
//#region src/player/detail-player.ts
-var aue = /* @__PURE__ */ new WeakMap(), GE = null, KE = null, qE = null;
-function oue() {
- GE &&= (clearInterval(GE), null), KE &&= (clearInterval(KE), null), qE &&= (clearTimeout(qE), null);
+var rue = /* @__PURE__ */ new WeakMap(), qE = null, JE = null, YE = null;
+function iue() {
+ qE &&= (clearInterval(qE), null), JE &&= (clearInterval(JE), null), YE &&= (clearTimeout(YE), null);
}
-async function sue(e, t, n, r = {}) {
- let i = wE();
+async function aue(e, t, n, r = {}) {
+ let i = EE();
if (i && !i.isDisposed()) return i;
- let a = yE(), o = r.resume ?? null;
+ let a = bE(), o = r.resume ?? null;
o?.autoplay && (n = !0);
- let s = () => r.source ? Promise.resolve(r.source) : Qle(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : Xle(e), c;
try {
- c = await WE();
+ c = await KE();
} catch {
return t.controls = !0, s().then((e) => {
t.addEventListener("loadedmetadata", () => {
@@ -29948,7 +29948,7 @@ async function sue(e, t, n, r = {}) {
} }
}
});
- TE(l), l.peachItem = e, ple(l), l.on("loadedmetadata", () => {
+ DE(l), l.peachItem = e, fle(l), l.on("loadedmetadata", () => {
let e = l.el()?.querySelector("video");
e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);
});
@@ -29956,7 +29956,7 @@ async function sue(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = yle(vle(f, e.duration)), m = 0, h = !1, g = () => wE() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = _le(gle(f, e.duration)), m = 0, h = !1, g = () => EE() === l && !l.isDisposed(), _ = () => {
if (!u || h || !g()) return;
let e = Number(l.duration());
(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {
@@ -29967,15 +29967,15 @@ async function sue(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- aue.set(l, y), y.updateStats = () => {
+ rue.set(l, y), y.updateStats = () => {
let n = y.chrome?.statsPanel;
if (!n || n.hidden || !g()) return;
- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = Yle(), h = s ? xle(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = qle(), h = s ? yle(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
p.sample(t);
- let x = Cle(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
+ let x = xle(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
m = S;
- let w = hle(t);
- OE(d.speed, x), OE(d.activity, C), OE(d.buffer, w);
+ let w = ple(t);
+ AE(d.speed, x), AE(d.activity, C), AE(d.buffer, w);
let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? [
"网络活动",
`${_ ? Xt(_) : "—"} · ${h.length} 请求`,
@@ -29993,17 +29993,17 @@ async function sue(e, t, n, r = {}) {
[
"连接速度",
D,
- AE(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ ME(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- AE(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ ME(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- AE(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ ME(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${Yt(t.currentTime)} / ${Yt(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -30019,15 +30019,15 @@ async function sue(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = Cle(l, e.id, Yle(), r ? null : p), a = r ? jE(i) : wle(i, hle(t));
+ let i = xle(l, e.id, qle(), r ? null : p), a = r ? NE(i) : Sle(i, ple(t));
n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
- e && e.isConnected && (e.hidden = !1, S(), KE && clearInterval(KE), KE = setInterval(S, 500));
+ e && e.isConnected && (e.hidden = !1, S(), JE && clearInterval(JE), JE = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (qE && clearTimeout(qE), qE = setTimeout(() => {
- e.hidden = !0, KE &&= (clearInterval(KE), null);
+ e && (YE && clearTimeout(YE), YE = setTimeout(() => {
+ e.hidden = !0, JE &&= (clearInterval(JE), null);
}, 1400));
};
return l.on([
@@ -30038,7 +30038,7 @@ async function sue(e, t, n, r = {}) {
], C), l.on(["canplay", "playing"], () => {
S(), w();
}), l.on("error", () => {
- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Zle(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(Yle(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
t[String(e.location)] !== !1 || l.isDisposed() || l.error({
code: 2,
message: `脱盘模式 · ${a.offlineReason(String(e.location))}`
@@ -30046,13 +30046,13 @@ async function sue(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = jle(l, t, e.height, r.qualities ?? null);
+ let n = kle(l, t, e.height, r.qualities ?? null);
r.mediaPromise?.then((t) => {
if (!g()) return;
n?.(t?.qualities?.length ? t.qualities : null);
let r = Number(t?.size) || 0;
- r > 0 && !f && (f = r, p.bitrate = vle(r, e.duration));
- }).catch(() => {}), Ple(l, e, { thumbnail: !r.source }), Fle(l, e), Ile(l), r.source || Lle(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = gle(r, e.duration));
+ }).catch(() => {}), Mle(l, e, { thumbnail: !r.source }), Nle(l, e), Ple(l), r.source || Fle(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {
if (l.isDisposed()) return;
@@ -30061,14 +30061,14 @@ async function sue(e, t, n, r = {}) {
}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var cue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function lue(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", cue), e.querySelector(":scope > #playerStatsBtn")) return;
+var oue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function sue(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", oue), e.querySelector(":scope > #playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = ble(), e.insertBefore(n.content, t);
+ n.innerHTML = vle(), e.insertBefore(n.content, t);
}
-function uue(e, t) {
- let n = aue.get(e);
+function cue(e, t) {
+ let n = rue.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`:scope > #${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -30080,27 +30080,27 @@ function uue(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), GE &&= (clearInterval(GE), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), qE &&= (clearInterval(qE), null));
};
a.onclick = () => {
- o.hidden ? (document.dispatchEvent(new CustomEvent(kE, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), GE && clearInterval(GE), GE = setInterval(n.updateStats, 1e3)) : e();
+ o.hidden ? (document.dispatchEvent(new CustomEvent(jE, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), qE && clearInterval(qE), qE = setInterval(n.updateStats, 1e3)) : e();
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(kE, t), s = () => document.removeEventListener(kE, t);
+ document.addEventListener(jE, t), s = () => document.removeEventListener(jE, t);
}
- let c = e.el().querySelector("video"), l = c ? Ale(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, oue()));
+ let c = e.el().querySelector("video"), l = c ? Ole(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, iue()));
};
return e.one("dispose", d), d;
}
-function JE(e, t) {
- if (t.kind === "immerse") return iue(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = yE(), c = t.chrome === !1 ? null : e.parentElement;
- c && lue(c, e);
- let l = zle(n, r, i?.index ?? null), u = { resume: t.resume ?? {
- time: Vle(l, r),
+function XE(e, t) {
+ if (t.kind === "immerse") return nue(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = bE(), c = t.chrome === !1 ? null : e.parentElement;
+ c && sue(c, e);
+ let l = Lle(n, r, i?.index ?? null), u = { resume: t.resume ?? {
+ time: zle(l, r),
autoplay: !1
} };
if (n === "follow") u = {
@@ -30119,37 +30119,37 @@ function JE(e, t) {
t && (e.poster = t);
}
let d = null, f = !1, p = () => {}, m = e, h = () => {
- p(), !(d && a?.(d)) && (PE(m), d ? (wE() === d && (TE(null), oue()), LE(d)) : IE(m));
+ p(), !(d && a?.(d)) && (IE(m), d ? (EE() === d && (DE(null), iue()), zE(d)) : RE(m));
};
- return sue(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {
- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Hle(l, m), n === "follow" ? Gle(r, m) : (m.addEventListener("play", () => {
+ return aue(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {
+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Ble(l, m), n === "follow" ? Ule(r, m) : (m.addEventListener("play", () => {
Et("/api/play", {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), Wle(r, m, {
+ }, { once: !0 }), Hle(r, m, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
- })), t ? (c && (p = uue(t, c)), o?.(t)) : o?.(null));
+ })), t ? (c && (p = cue(t, c)), o?.(t)) : o?.(null));
}), () => {
f = !0, h();
};
}
//#endregion
//#region src/player/playback.ts
-function YE(e) {
+function ZE(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function due(e, t) {
+function lue(e, t) {
let n = e.duration, r = (e.currentTime || 0) + t;
e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);
}
//#endregion
//#region src/player/preview-player.ts
-function fue(e, t, n) {
+function uue(e, t, n) {
let r = !1, i = null;
- return WE().then((a) => {
+ return KE().then((a) => {
if (r) return;
i = a(e, {
controls: !0,
@@ -30174,30 +30174,30 @@ function fue(e, t, n) {
o.on("error", () => {
r || n();
}), o.ready(() => {
- r || o.isDisposed() || (jle(o, e), Ple(o, null, { thumbnail: !1 }), Ile(o));
+ r || o.isDisposed() || (kle(o, e), Mle(o, null, { thumbnail: !1 }), Ple(o));
}), o.src(t);
}).catch(() => {
r || n();
}), () => {
- r = !0, LE(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
+ r = !0, zE(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
};
}
-function XE(e, t) {
+function QE(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var pue = (e, t) => [
+var due = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], mue = (e, t) => [
+], fue = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function hue(e, t, n, r, i) {
+async function pue(e, t, n, r, i) {
let a = new URLSearchParams(e);
a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");
let o = await V(`/api/items?${a}`, i), s = {
@@ -30207,22 +30207,22 @@ async function hue(e, t, n, r, i) {
};
return !t && !s.items.length && !r && (s.libraryEmpty = (await V("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var gue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, _ue = (e, t) => {
+var mue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, hue = (e, t) => {
let n = t.reduce((e, t) => e + t.items.length, 0);
return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;
};
-function vue(e) {
- let t = XE(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function gue(e) {
+ let t = QE(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: pue(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => hue(t, e, n, r, i),
+ queryKey: due(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => pue(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: gue(n)
+ getNextPageParam: mue(n)
};
}
-function yue(e) {
+function _ue(e) {
return {
- queryKey: mue(e.entityKey || "", e.revision || 0),
+ queryKey: fue(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -30237,12 +30237,12 @@ function yue(e) {
};
},
initialPageParam: 0,
- getNextPageParam: _ue
+ getNextPageParam: hue
};
}
-async function bue(e, t) {
+async function vue(e, t) {
if (e.mode !== "catalog" || e.wall) return;
- let n = vue(e);
+ let n = gue(e);
await U.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -30251,11 +30251,11 @@ async function bue(e, t) {
})
});
}
-function xue(e) {
+function yue(e) {
let t = JSON.stringify(e);
return U.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;
}
-function Sue(e, t, n) {
+function bue(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -30270,24 +30270,24 @@ function Sue(e, t, n) {
return !0;
}) : [...e];
}
-var ZE = (e, t) => !!e && !!qi(e, t);
-function Cue(e, t) {
- let n = (e) => ZE(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => ZE(e, t)) || e[e.length - 1];
+var $E = (e, t) => !!e && !!qi(e, t);
+function xue(e, t) {
+ let n = (e) => $E(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => $E(e, t)) || e[e.length - 1];
}
-function wue(e, { collapse: t, mix: n, javImage: r }) {
+function Sue(e, { collapse: t, mix: n, javImage: r }) {
let i = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
}, a = /* @__PURE__ */ new Set(), o = [], s = [];
for (let c of e) {
s.push(o.length);
- let e = Sue(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = bue(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
kind: "card",
item: e
}));
if (n && e.length >= 8) {
- let t = Cue(e, r);
+ let t = xue(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -30300,16 +30300,16 @@ function wue(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function Tue(e, t, n) {
+function Cue(e, t, n) {
let r = Math.max(1, n), i = [];
for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);
return i;
}
-function Eue(e, t) {
+function wue(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();
}
-function Due(e, t) {
+function Tue(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -30322,10 +30322,10 @@ function Due(e, t) {
strip: null
}), r;
}
-function QE(e, t) {
- Oue((t) => t.id === e, t);
+function eD(e, t) {
+ Eue((t) => t.id === e, t);
}
-function Oue(e, t) {
+function Eue(e, t) {
U.setQueriesData({
queryKey: ["catalog-grid"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -30342,31 +30342,31 @@ function Oue(e, t) {
}
//#endregion
//#region src/react/item-detail/item-detail.ts
-var $E = (e) => ["item", e], eD = (e) => [
+var tD = (e) => ["item", e], nD = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], kue = (e, t) => [
+], Due = (e, t) => [
"item-related",
e,
t
-], Aue = (e) => `/api/item?id=${e}`, jue = (e, t) => `/api/related?id=${e}&limit=${t}`, tD = "/api/playlist", Mue = "/api/feedback", nD = "/api/item-tag", Nue = "/api/watch-later", Pue = "/api/quality-goal", Fue = "/api/preference", rD = class extends Error {};
-async function iD(e, t) {
- let n = await V(Aue(e), t);
- if (n.error) throw new rD(n.error);
+], Oue = (e) => `/api/item?id=${e}`, kue = (e, t) => `/api/related?id=${e}&limit=${t}`, rD = "/api/playlist", Aue = "/api/feedback", iD = "/api/item-tag", jue = "/api/watch-later", Mue = "/api/quality-goal", Nue = "/api/preference", aD = class extends Error {};
+async function oD(e, t) {
+ let n = await V(Oue(e), t);
+ if (n.error) throw new aD(n.error);
return n;
}
-async function aD(e, t, n) {
+async function sD(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([iD(r, n), t.mixRelated(r)]);
- return U.setQueryData($E(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([oD(r, n), t.mixRelated(r)]);
+ return U.setQueryData(tD(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${va(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return Iue(await V(`${tD}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return Pue(await V(`${rD}?id=${e.playlistId}`, n));
let r = await V(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -30377,19 +30377,19 @@ async function aD(e, t, n) {
versionCount: e.kind === "editions" ? r.count : void 0
};
}
-var Iue = (e) => ({
+var Pue = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), Lue = (e) => e.disposal === "vanished";
-function oD(e, t) {
+}), Fue = (e) => e.disposal === "vanished";
+function cD(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !Lue(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !Fue(e)) : e.items;
return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;
}
-function Rue(e, t) {
+function Iue(e, t) {
if (t?.kind !== "parts" && t?.kind !== "editions") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -30397,20 +30397,20 @@ function Rue(e, t) {
part_label: n
};
}
-function zue(e, t) {
+function Lue(e, t) {
if (!e || e.kind !== "parts" && e.kind !== "editions") return null;
let n = e.items.findIndex((e) => e.id === t), r = e.items[n], i = e.items[n + 1];
return !r?.part_label || !i?.part_label ? null : e.kind === "parts" || r.version_id != null && r.version_id === i.version_id ? i : null;
}
-async function Bue(e, t) {
+async function Rue(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = eD(n);
+ let o = nD(n);
try {
let r = n.fresh ? void 0 : U.getQueryData(o);
a = !r && n.kind === "mix", i = r || await U.fetchQuery({
queryKey: o,
- queryFn: () => aD(n, e.helpers, t),
+ queryFn: () => sD(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -30422,20 +30422,20 @@ async function Bue(e, t) {
return;
}
}
- let o = i ? oD(i, e.id) : e.id;
+ let o = i ? cD(i, e.id) : e.id;
if (o == null) {
r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });
return;
}
- let s, c = a && o === i?.seedId ? U.getQueryData($E(o)) : void 0;
+ let s, c = a && o === i?.seedId ? U.getQueryData(tD(o)) : void 0;
try {
s = c || await U.fetchQuery({
- queryKey: $E(o),
- queryFn: () => iD(o, t),
+ queryKey: tD(o),
+ queryFn: () => oD(o, t),
staleTime: 0
});
} catch (e) {
- if (e instanceof rD) {
+ if (e instanceof aD) {
r.redirect({ kind: "gone" });
return;
}
@@ -30446,7 +30446,7 @@ async function Bue(e, t) {
id: Number(s.follow_item_id)
});
}
-function Vue(e) {
+function zue(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = Ut(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -30468,42 +30468,42 @@ function Vue(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-var Hue = (e) => Math.min(Math.max(e || 0, 0), 100), sD = (e) => Math.round(Hue(e) / 20), Uue = (e) => {
- let t = sD(e);
+var Bue = (e) => Math.min(Math.max(e || 0, 0), 100), lD = (e) => Math.round(Bue(e) / 20), Vue = (e) => {
+ let t = lD(e);
return t ? `${t} 星` : "未评分";
-}, Wue = (e, t) => {
+}, Hue = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function Gue(e, t) {
+function Uue(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = Ut(t.tagLabel(e.k)), i = n.get(r);
(!i || Ut(e.k) === r && Ut(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var cD = (e, t) => (e.tags || []).some((e) => Ut(e.k) === Ut(t)), Kue = (e, t) => ({
+var uD = (e, t) => (e.tags || []).some((e) => Ut(e.k) === Ut(t)), Wue = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => Ut(e.k) !== Ut(t))
-}), que = (e, t) => cD(e, t.k) ? e : {
+}), Gue = (e, t) => uD(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, Jue = "peach.recentTags";
-function Yue() {
+}, Kue = "peach.recentTags";
+function que() {
try {
- let e = JSON.parse(localStorage.getItem(Jue) || "[]");
+ let e = JSON.parse(localStorage.getItem(Kue) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function Xue(e) {
+function Jue(e) {
try {
- let t = Yue().filter((t) => Ut(t) !== Ut(e));
- localStorage.setItem(Jue, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = que().filter((t) => Ut(t) !== Ut(e));
+ localStorage.setItem(Kue, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function Zue(e, t, n) {
+function Yue(e, t, n) {
let r = Ut(e), i = new Map(t.map((e) => [Ut(e.k), e])), a = t.filter((e) => !r || Ut(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Ut(e)) || {
k: e,
n: 0
@@ -30514,73 +30514,73 @@ function Zue(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var Que = {
+var Xue = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, $ue = {
+}, Zue = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function ede(e) {
+function Que(e) {
let t = (e.kind === "editions" ? e.versionCount ?? e.items.length : e.items.length).toLocaleString(), n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: $ue[e.kind],
+ title: Zue[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var lD = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, tde = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(lD(e.part_label))}</small>` : "";
-function nde(e, t, n, r) {
+var dD = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, $ue = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(dD(e.part_label))}</small>` : "";
+function ede(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var rde = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function ide(e, t) {
+var tde = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function nde(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function ade(e) {
+function rde(e) {
let t = Number(e.duration) > 0 ? Number(e.duration) : 0;
return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;
}
-function ode(e, t) {
+function ide(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
//#endregion
//#region src/react/immerse/immerse.ts
-var sde = (e, t, n) => [
+var ade = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function cde(e) {
+function ode(e) {
let t = new URLSearchParams();
for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));
return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();
}
-var lde = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
-function ude(e, t = Math.random) {
+var sde = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
+function cde(e, t = Math.random) {
for (let n = e.length - 1; n > 0; n--) {
let r = Math.floor(t() * (n + 1));
[e[n], e[r]] = [e[r], e[n]];
}
return e;
}
-async function dde(e, t) {
- return ude(((await V(`/api/items?${e}`)).items || []).filter((e) => lde(e, t)));
+async function lde(e, t) {
+ return cde(((await V(`/api/items?${e}`)).items || []).filter((e) => sde(e, t)));
}
-var fde = (e) => U.ensureQueryData({
- queryKey: $E(e),
- queryFn: ({ signal: t }) => iD(e, t)
+var ude = (e) => U.ensureQueryData({
+ queryKey: tD(e),
+ queryFn: ({ signal: t }) => oD(e, t)
});
-function pde(e, t) {
+function dde(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function mde(e) {
+function fde(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,
@@ -30589,306 +30589,306 @@ function mde(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function hde(e, t, n) {
+function pde(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 gde(e, t) {
+function mde(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 _de = 15e3, vde = {
+var hde = 15e3, gde = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, uD = null, dD = null, fD = vde, pD = /* @__PURE__ */ new Set(), mD = 0, yde = 0, hD = 0, bde = "", gD = [], _D = 0, vD = !1, yD = !1, bD = null, xD = /* @__PURE__ */ new Set(), SD = "", CD = null, wD = 0, TD = null, ED = !1;
-function DD() {
- if (!uD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
- return uD;
+}, fD = null, pD = null, mD = gde, hD = /* @__PURE__ */ new Set(), gD = 0, _de = 0, _D = 0, vde = "", vD = [], yD = 0, bD = !1, xD = !1, SD = null, CD = /* @__PURE__ */ new Set(), wD = "", TD = null, ED = 0, DD = null, OD = !1;
+function kD() {
+ if (!fD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
+ return fD;
}
-function xde(e) {
- return pD.add(e), () => {
- pD.delete(e);
+function yde(e) {
+ return hD.add(e), () => {
+ hD.delete(e);
};
}
-function Sde() {
- for (let e of [...pD]) e();
+function bde() {
+ for (let e of [...hD]) e();
}
-function OD() {
- (0, pt.flushSync)(Sde);
+function AD() {
+ (0, pt.flushSync)(bde);
}
-function Cde() {
- let e = CD ? Sle(CD.id) : 0;
- return e ? `${SD} · ${jE(e)}` : SD;
+function xde() {
+ let e = TD ? ble(TD.id) : 0;
+ return e ? `${wD} · ${NE(e)}` : wD;
}
-function kD(e, t = null) {
- clearInterval(wD), wD = 0, e === null ? (fD = {
- ...fD,
+function jD(e, t = null) {
+ clearInterval(ED), ED = 0, e === null ? (mD = {
+ ...mD,
loading: null
- }, OD()) : (SD = e, CD = t, fD = {
- ...fD,
- loading: Cde()
- }, OD(), wD = window.setInterval(() => {
- CD = gD[_D] ?? null, fD = {
- ...fD,
- loading: Cde()
- }, OD();
+ }, AD()) : (wD = e, TD = t, mD = {
+ ...mD,
+ loading: xde()
+ }, AD(), ED = window.setInterval(() => {
+ TD = vD[yD] ?? null, mD = {
+ ...mD,
+ loading: xde()
+ }, AD();
}, 500));
}
-function wde(e) {
+function Sde(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), dD.track.append(t);
- let r = Kle(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), pD.track.append(t);
+ let r = Wle(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => zE(r),
+ release: () => VE(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return xD.add(a), a;
+ return CD.add(a), a;
}
-function Tde(e, t) {
+function Cde(e, t) {
return new Promise((n) => {
- e.release = JE(e.video, {
+ e.release = XE(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- fD.open && MD(1);
+ mD.open && PD(1);
}
}), e.gone.then(n);
});
}
-function AD(e) {
- e && !e.disposed && (e.disposed = !0, xD.delete(e), e.leave(), e.release(), e.el.remove(), bD === e && (bD = null));
+function MD(e) {
+ e && !e.disposed && (e.disposed = !0, CD.delete(e), e.leave(), e.release(), e.el.remove(), SD === e && (SD = null));
}
-var Ede = [
+var wde = [
"loadeddata",
"canplay",
"error"
];
-function Dde(e) {
+function Tde(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), Ede.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), wde.forEach((e) => t.removeEventListener(e, i)), n());
};
- Ede.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, _de);
+ wde.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, hde);
e.gone.then(i);
});
}
-function jD(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = hde(e.videoWidth, e.videoHeight, n);
+function ND(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = pde(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var Ode = () => dD?.track.querySelectorAll("video").forEach(jD);
-function kde(e) {
- delete e.dataset.fit, e.readyState >= 1 ? jD(e) : e.addEventListener("loadedmetadata", () => jD(e), { once: !0 });
+var Ede = () => pD?.track.querySelectorAll("video").forEach(ND);
+function Dde(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? ND(e) : e.addEventListener("loadedmetadata", () => ND(e), { once: !0 });
}
-function Ade(e) {
- fD = {
- ...fD,
+function Ode(e) {
+ mD = {
+ ...mD,
wide: e
- }, OD(), Ode();
+ }, AD(), Ede();
}
-var jde = () => {
- let e = bde;
+var kde = () => {
+ let e = vde;
return U.fetchQuery({
- queryKey: sde(e, yde, hD),
- queryFn: () => dde(e, DD().sourceOffline),
+ queryKey: ade(e, _de, _D),
+ queryFn: () => lde(e, kD().sourceOffline),
staleTime: Infinity
});
};
-function Mde(e, t) {
+function Ade(e, t) {
let n = () => qt(e.duration) || qt(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && dD && (dD.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), TD = {
+ t && pD && (pD.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), DD = {
video: e,
duration: n
};
}
-async function Nde(e = 0) {
- let t = gD[_D];
- if (!t || vD) return;
- let n = mD;
- DD().route(t.id), vD = !0, kD(e ? "切换中…" : "加载中…", t);
+async function jde(e = 0) {
+ let t = vD[yD];
+ if (!t || bD) return;
+ let n = gD;
+ kD().route(t.id), bD = !0, jD(e ? "切换中…" : "加载中…", t);
let r = null;
try {
- if (await fde(t.id).catch((e) => {
- if (!(e instanceof rD)) throw e;
- }), n !== mD) return;
- let i = bD, a = !!(e && i);
- a || AD(i);
- let o = wde(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, kde(o.video), await Tde(o, t), await Dde(o), o.disposed || (Ade(gde(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await ude(t.id).catch((e) => {
+ if (!(e instanceof aD)) throw e;
+ }), n !== gD) return;
+ let i = SD, a = !!(e && i);
+ a || MD(i);
+ let o = Sde(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, Dde(o.video), await Cde(o, t), await Tde(o), o.disposed || (Ode(mde(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)), AD(i), o.el.style.transform = ""), o.disposed)) return;
- bD = o, r = null, o.video.play()?.catch(() => {}), fD = {
- ...fD,
+ })), await new Promise((e) => setTimeout(e, 210)), MD(i), o.el.style.transform = ""), o.disposed)) return;
+ SD = o, r = null, o.video.play()?.catch(() => {}), mD = {
+ ...mD,
idle: !1,
shown: {
item: t,
- index: _D,
- length: gD.length
+ index: yD,
+ length: vD.length
}
- }, Mde(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), kD(null);
+ }, Ade(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), jD(null);
} catch {
- AD(r), n === mD && kD(null);
+ MD(r), n === gD && jD(null);
} finally {
- n === mD && (vD = !1);
+ n === gD && (bD = !1);
}
}
-async function MD(e) {
- if (vD || !fD.open) return;
- let t = mD;
- if (_D += e, kD("切换中…", gD[_D] ?? null), _D >= gD.length - 3 && !yD) {
- yD = !0;
+async function PD(e) {
+ if (bD || !mD.open) return;
+ let t = gD;
+ if (yD += e, jD("切换中…", vD[yD] ?? null), yD >= vD.length - 3 && !xD) {
+ xD = !0;
try {
- hD += 1;
- let e = await jde();
- t === mD && (gD = pde(gD, e));
+ _D += 1;
+ let e = await kde();
+ t === gD && (vD = dde(vD, e));
} catch {} finally {
- yD = !1;
+ xD = !1;
}
}
- t === mD && (_D >= gD.length && (_D = 0), _D < 0 && (_D = gD.length - 1), await Nde(e));
+ t === gD && (yD >= vD.length && (yD = 0), yD < 0 && (yD = vD.length - 1), await jde(e));
}
-async function Pde(e) {
- let t = ++mD;
- Fde(), yde += 1, hD = 0, bde = cde(DD().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), fD = {
- ...fD,
+async function Mde(e) {
+ let t = ++gD;
+ Nde(), _de += 1, _D = 0, vde = ode(kD().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), mD = {
+ ...mD,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), kD("加载内容…");
+ }, document.body.setAttribute("data-immerse-open", ""), jD("加载内容…");
try {
- let n = await jde();
+ let n = await kde();
if (e && !n.some((t) => t.id === e)) {
- let t = await fde(e).catch((e) => {
- if (e instanceof rD) return null;
+ let t = await ude(e).catch((e) => {
+ if (e instanceof aD) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== mD) return;
- if (gD = n, !gD.length) {
- ND(), DD().warn("当前筛选下没有可直接播放的内容");
+ if (t !== gD) return;
+ if (vD = n, !vD.length) {
+ FD(), kD().warn("当前筛选下没有可直接播放的内容");
return;
}
- _D = Math.max(0, gD.findIndex((t) => t.id === e)), await Nde();
+ yD = Math.max(0, vD.findIndex((t) => t.id === e)), await jde();
} catch {
- if (t !== mD) return;
- kD(null), ND();
+ if (t !== gD) return;
+ jD(null), FD();
}
}
-function Fde() {
- clearInterval(wD), wD = 0, LD(), ID = null, TD = null, ED = !1, [...xD].forEach(AD), vD = !1;
+function Nde() {
+ clearInterval(ED), ED = 0, zD(), RD = null, DD = null, OD = !1, [...CD].forEach(MD), bD = !1;
}
-function ND() {
- fD.open && (mD++, Fde(), fD = vde, document.body.removeAttribute("data-immerse-open"), OD(), DD().closed());
+function FD() {
+ mD.open && (gD++, Nde(), mD = gde, document.body.removeAttribute("data-immerse-open"), AD(), kD().closed());
}
-var PD = 0, FD = null, Ide = 0, ID = null, Lde = 0;
-function LD() {
- clearTimeout(PD), PD = 0, FD = null;
+var ID = 0, LD = null, Pde = 0, RD = null, Fde = 0;
+function zD() {
+ clearTimeout(ID), ID = 0, LD = null;
}
-function Rde(e) {
- let t = bD?.video;
+function Ide(e) {
+ let t = SD?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- FD && FD.side === n && r - FD.at <= 280 ? (LD(), due(t, DD().seekSeconds() * n)) : (PD && (clearTimeout(PD), PD = 0, YE(t)), FD = {
+ LD && LD.side === n && r - LD.at <= 280 ? (zD(), lue(t, kD().seekSeconds() * n)) : (ID && (clearTimeout(ID), ID = 0, ZE(t)), LD = {
side: n,
at: r
- }, PD = window.setTimeout(() => {
- PD = 0, FD = null, fD.open && YE(bD?.video);
+ }, ID = window.setTimeout(() => {
+ ID = 0, LD = null, mD.open && ZE(SD?.video);
}, 280));
}
-function zde() {
- Date.now() < Ide || YE(bD?.video);
+function Lde() {
+ Date.now() < Pde || ZE(SD?.video);
}
-var RD = (e) => dD?.bar.toggleAttribute("data-scrubbing", e);
-function zD(e) {
- dD && (dD.progress.style.width = `${(e * 100).toFixed(2)}%`);
+var BD = (e) => pD?.bar.toggleAttribute("data-scrubbing", e);
+function VD(e) {
+ pD && (pD.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
-function Bde(e) {
+function Rde(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- ID = null;
+ RD = null;
return;
}
- let n = bD?.video;
- ID = {
+ let n = SD?.video;
+ RD = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function Vde(e) {
- if (!ID || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - ID.x, n = e.touches[0].clientY - ID.y;
- if (!ID.axis) {
+function zde(e) {
+ if (!RD || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - RD.x, n = e.touches[0].clientY - RD.y;
+ if (!RD.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- ID.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", ID.axis === "x" && RD(!0);
+ RD.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", RD.axis === "x" && BD(!0);
}
- if (ID.axis !== "x") return;
- let r = bD?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), ID.to = Math.min(i, Math.max(0, ID.from + t / window.innerWidth * i)), zD(ID.to / i));
+ if (RD.axis !== "x") return;
+ let r = SD?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), RD.to = Math.min(i, Math.max(0, RD.from + t / window.innerWidth * i)), VD(RD.to / i));
}
-function Hde(e) {
- if (!ID) return;
- let t = ID;
- if (ID = null, Ide = Date.now() + 700, RD(!1), t.axis === "x") {
- let e = bD?.video;
+function Bde(e) {
+ if (!RD) return;
+ let t = RD;
+ if (RD = null, Pde = Date.now() + 700, BD(!1), t.axis === "x") {
+ let e = SD?.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 ? (LD(), MD(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Rde(n.clientX));
+ Math.abs(i) > 60 ? (zD(), PD(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Ide(n.clientX));
}
-function Ude() {
- ID = null, RD(!1);
+function Vde() {
+ RD = null, BD(!1);
}
-function Wde(e) {
+function Hde(e) {
let t = Date.now();
- t - Lde < 260 || (Lde = t, MD(e.deltaY > 0 ? 1 : -1));
+ t - Fde < 260 || (Fde = t, PD(e.deltaY > 0 ? 1 : -1));
}
-function BD(e) {
- let t = dD.bar.getBoundingClientRect();
+function HD(e) {
+ let t = pD.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
-function Gde(e) {
- TD?.duration() && (ED = !0, RD(!0), e.currentTarget.setPointerCapture(e.pointerId), zD(BD(e)), e.preventDefault());
+function Ude(e) {
+ DD?.duration() && (OD = !0, BD(!0), e.currentTarget.setPointerCapture(e.pointerId), VD(HD(e)), e.preventDefault());
}
-function Kde(e) {
- ED && zD(BD(e));
+function Wde(e) {
+ OD && VD(HD(e));
}
-function qde(e) {
- if (!ED) return;
- ED = !1, RD(!1);
- let t = TD?.duration();
- TD && t && (TD.video.currentTime = t * BD(e));
+function Gde(e) {
+ if (!OD) return;
+ OD = !1, BD(!1);
+ let t = DD?.duration();
+ DD && t && (DD.video.currentTime = t * HD(e));
}
-function Jde() {
- ED = !1, RD(!1);
+function Kde() {
+ OD = !1, BD(!1);
}
-async function VD(e, t) {
- let n = await H(Mue, {
+async function UD(e, t) {
+ let n = await H(Aue, {
id: e,
kind: t
- }), r = U.getQueryData($E(e));
- if (!r) return QE(e, {
+ }), r = U.getQueryData(tD(e));
+ if (!r) return eD(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -30897,7 +30897,7 @@ async function VD(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return U.setQueryData($E(e), i), QE(e, {
+ return U.setQueryData(tD(e), i), eD(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -30905,7 +30905,7 @@ async function VD(e, t) {
o_count: i.o_count
}), n;
}
-var Yde = [
+var qde = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -30922,31 +30922,31 @@ var Yde = [
label: "记一次高潮"
}
];
-function Xde(e) {
+function Jde(e) {
return ut({
- queryKey: $E(e ?? 0),
- queryFn: ({ signal: t }) => iD(e, t),
+ queryKey: tD(e ?? 0),
+ queryFn: ({ signal: t }) => oD(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function Zde({ kind: e, glyph: t, label: n, id: r }) {
- let i = Xde(r), a = dt({
+function Yde({ kind: e, glyph: t, label: n, id: r }) {
+ let i = Jde(r), a = dt({
mutationFn: async (t) => {
- let n = U.getQueryData($E(t))?.feedback || null;
+ let n = U.getQueryData(tD(t))?.feedback || null;
return {
- result: await VD(t, e),
+ result: await UD(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- DD().toast(ode(e, t), { undo: async () => {
- e === "o" ? await VD(r, "o-undo") : (t.feedback && await VD(r, t.feedback), n && await VD(r, n));
+ kD().toast(ide(e, t), { undo: async () => {
+ e === "o" ? await UD(r, "o-undo") : (t.feedback && await UD(r, t.feedback), n && await UD(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- MD(1);
+ PD(1);
}, 260);
},
- onError: (e) => DD().failure("更新反馈", e)
+ onError: (e) => kD().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": "",
@@ -30977,11 +30977,11 @@ function Zde({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function Qde({ shown: e }) {
- let t = e?.item ?? null, n = Xde(t?.id ?? null), r = n ? mde(n) : null, i = DD(), a = (e) => {
- e.preventDefault(), n && (ND(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function Xde({ shown: e }) {
+ let t = e?.item ?? null, n = Jde(t?.id ?? null), r = n ? fde(n) : null, i = kD(), a = (e) => {
+ e.preventDefault(), n && (FD(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (ND(), i.openItem(t.id));
+ t && (FD(), i.openItem(t.id));
}, s = r ? aa(r.name, r.ref, Ui(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-immerse-ui": "",
@@ -31010,18 +31010,18 @@ function Qde({ shown: e }) {
})]
});
}
-var $de = { __html: eo("媒体加载中") };
-function efe({ view: e }) {
+var Zde = { __html: eo("媒体加载中") };
+function Qde({ 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 dD = {
+ return pD = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", Bde, { passive: !0 }), e.addEventListener("touchmove", Vde, { passive: !1 }), e.addEventListener("touchend", Hde, { passive: !1 }), e.addEventListener("touchcancel", Ude, { passive: !0 }), e.addEventListener("wheel", Wde, { passive: !0 }), () => {
- e.removeEventListener("touchstart", Bde), e.removeEventListener("touchmove", Vde), e.removeEventListener("touchend", Hde), e.removeEventListener("touchcancel", Ude), e.removeEventListener("wheel", Wde), dD = null;
+ }, e.addEventListener("touchstart", Rde, { passive: !0 }), e.addEventListener("touchmove", zde, { passive: !1 }), e.addEventListener("touchend", Bde, { passive: !1 }), e.addEventListener("touchcancel", Vde, { passive: !0 }), e.addEventListener("wheel", Hde, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", Rde), e.removeEventListener("touchmove", zde), e.removeEventListener("touchend", Bde), e.removeEventListener("touchcancel", Vde), e.removeEventListener("wheel", Hde), pD = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -31038,10 +31038,10 @@ function efe({ view: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: zde
+ onClick: Lde
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-immerse-actions": "",
- children: Yde.map((e) => /* @__PURE__ */ (0, x.jsx)(Zde, {
+ children: qde.map((e) => /* @__PURE__ */ (0, x.jsx)(Yde, {
...e,
id: a
}, e.kind))
@@ -31054,7 +31054,7 @@ function efe({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: $de
+ dangerouslySetInnerHTML: Zde
}), /* @__PURE__ */ (0, x.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -31062,7 +31062,7 @@ function efe({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: ND,
+ onClick: FD,
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-x" })
@@ -31071,97 +31071,97 @@ function efe({ view: e }) {
/* @__PURE__ */ (0, x.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: Gde,
- onPointerMove: Kde,
- onPointerUp: qde,
- onPointerCancel: Jde,
+ onPointerDown: Ude,
+ onPointerMove: Wde,
+ onPointerUp: Gde,
+ onPointerCancel: Kde,
children: /* @__PURE__ */ (0, x.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, x.jsx)(Qde, { shown: e.shown })
+ /* @__PURE__ */ (0, x.jsx)(Xde, { shown: e.shown })
]
});
}
-var tfe = {
- open: Pde,
- close: ND,
- isOpen: () => fD.open,
- activeVideo: () => fD.open ? bD?.video ?? null : null
+var $de = {
+ open: Mde,
+ close: FD,
+ isOpen: () => mD.open,
+ activeVideo: () => mD.open ? SD?.video ?? null : null
};
-function nfe(e) {
- if (!fD.open) return;
+function efe(e) {
+ if (!mD.open) return;
let t = e.target;
- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && MD(1), e.key === "ArrowUp" && MD(-1)));
+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && PD(1), e.key === "ArrowUp" && PD(-1)));
}
-function rfe(e) {
- let t = !uD;
- return uD = e, t && (document.addEventListener("keydown", nfe), addEventListener("resize", () => {
- fD.open && Ode();
+function tfe(e) {
+ let t = !fD;
+ return fD = e, t && (document.addEventListener("keydown", efe), addEventListener("resize", () => {
+ mD.open && Ede();
}), addEventListener("pagehide", () => {
- xD.forEach((e) => zE(e.session));
- })), tfe;
+ CD.forEach((e) => VE(e.session));
+ })), $de;
}
-function ife() {
- let e = (0, b.useSyncExternalStore)(xde, () => fD);
- return uD ? /* @__PURE__ */ (0, x.jsx)(efe, { view: e }) : null;
+function nfe() {
+ let e = (0, b.useSyncExternalStore)(yde, () => mD);
+ return fD ? /* @__PURE__ */ (0, x.jsx)(Qde, { view: e }) : null;
}
//#endregion
//#region src/manage-header.ts
-var afe = {
+var rfe = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/sources": "来源和凭证"
-}, ofe = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
-function sfe(e) {
- let t = afe[e.path] ? "cleanup" : e.section;
+}, ife = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
+function afe(e) {
+ let t = rfe[e.path] ? "cleanup" : e.section;
return e.menu.some(([e]) => e === t) ? t : "";
}
-var cfe = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
-function HD(e) {
+var ofe = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
+function WD(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = afe[e.path] ?? "";
+ let n = rfe[e.path] ?? "";
return {
title: e.path === "/diagnostics" ? "系统诊断" : e.section === "cleanup" && n || t[1],
- pressed: sfe(e),
+ pressed: afe(e),
crumb: n,
- compact: ofe.has(e.path) || e.section === "configuration",
+ compact: ife.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: cfe(e.trash),
+ text: ofe(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var UD = (e) => e.replace(/[&<>"']/g, (e) => ({
+var GD = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
-})[e]), lfe = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${UD(e)}"/></svg>`, ufe = "<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 dfe(e) {
- let t = HD(e);
+})[e]), sfe = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${GD(e)}"/></svg>`, cfe = "<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 lfe(e) {
+ let t = WD(e);
if (!t) return "";
let n = e.menu.map(([e, n, r]) => {
let i = e === t.pressed;
- return `<button type="button" data-manage="${UD(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${lfe(r)}<span>${UD(n)}</span></button>`;
- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${lfe("chevron-right")}</li><li aria-current="true"><span>${UD(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? ufe : `<span data-lede-text="">${UD(t.lede.text)}</span>${t.lede.total ? ffe : ""}`}</p>`;
- return `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${UD(t.title)}</h2>` + r + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + i;
+ return `<button type="button" data-manage="${GD(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${sfe(r)}<span>${GD(n)}</span></button>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${sfe("chevron-right")}</li><li aria-current="true"><span>${GD(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? cfe : `<span data-lede-text="">${GD(t.lede.text)}</span>${t.lede.total ? ufe : ""}`}</p>`;
+ return `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${GD(t.title)}</h2>` + r + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + i;
}
-var ffe = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var ufe = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
//#endregion
//#region src/react/settings-panel/icon.tsx
-function WD({ name: e }) {
+function KD({ 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 pfe({ name: e }) {
+function dfe({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -31170,52 +31170,52 @@ function pfe({ name: e }) {
}
//#endregion
//#region src/react/manage-header/manage-header-island.tsx
-var GD = null, KD = null, qD = /* @__PURE__ */ new Set();
-function mfe(e) {
- return qD.add(e), () => {
- qD.delete(e);
+var qD = null, JD = null, YD = /* @__PURE__ */ new Set();
+function ffe(e) {
+ return YD.add(e), () => {
+ YD.delete(e);
};
}
-function hfe() {
- for (let e of [...qD]) e();
+function pfe() {
+ for (let e of [...YD]) e();
}
-var gfe = { render(e) {
- KD = e, (0, pt.flushSync)(hfe);
+var mfe = { render(e) {
+ JD = e, (0, pt.flushSync)(pfe);
} };
-function _fe(e) {
- return GD = e, KD = null, gfe;
+function hfe(e) {
+ return qD = e, JD = null, mfe;
}
-function vfe() {
- let e = (0, b.useSyncExternalStore)(mfe, () => KD);
- return GD && e ? /* @__PURE__ */ (0, x.jsx)(yfe, {
- host: GD,
+function gfe() {
+ let e = (0, b.useSyncExternalStore)(ffe, () => JD);
+ return qD && e ? /* @__PURE__ */ (0, x.jsx)(_fe, {
+ host: qD,
props: e
}) : null;
}
-function yfe({ host: e, props: t }) {
- let n = HD(t);
+function _fe({ host: e, props: t }) {
+ let n = WD(t);
return n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("h2", {
"data-manage-title": "",
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.crumb ? /* @__PURE__ */ (0, x.jsx)(xfe, {
+ n.crumb ? /* @__PURE__ */ (0, x.jsx)(yfe, {
host: e,
label: n.crumb
}) : null,
- /* @__PURE__ */ (0, x.jsx)(bfe, {
+ /* @__PURE__ */ (0, x.jsx)(vfe, {
host: e,
pressed: n.pressed,
menu: t.menu
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(Sfe, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(bfe, {
host: e,
lede: n.lede
})
] }) : null;
}
-function bfe({ host: e, pressed: t, menu: n }) {
+function vfe({ host: e, pressed: t, menu: n }) {
let r = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");
@@ -31236,13 +31236,13 @@ function bfe({ host: e, pressed: t, menu: n }) {
"aria-pressed": a,
"aria-current": a ? "page" : void 0,
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, x.jsx)(WD, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, x.jsx)(KD, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]
}, n);
})
})
});
}
-function xfe({ host: e, label: t }) {
+function yfe({ host: e, label: t }) {
return /* @__PURE__ */ (0, x.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "Breadcrumb",
@@ -31252,20 +31252,20 @@ function xfe({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {
+ }), /* @__PURE__ */ (0, x.jsx)(KD, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, x.jsx)("span", { children: t })
})] })
});
}
-function Sfe({ host: e, lede: t }) {
+function bfe({ 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: ufe }
- }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Cfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: cfe }
+ }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(xfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -31275,7 +31275,7 @@ function Sfe({ host: e, lede: t }) {
}) : null] })
});
}
-function Cfe({ text: e }) {
+function xfe({ text: e }) {
let t = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
so(t.current, e);
@@ -31286,20 +31286,20 @@ function Cfe({ text: e }) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/url.js
-var wfe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, Tfe = /^[\\/]{2}/;
-function Efe(e, t) {
+var Sfe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, Cfe = /^[\\/]{2}/;
+function wfe(e, t) {
return t + e.replace(/\\/g, "/");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/history.js
-var Dfe = "popstate";
-function Ofe(e) {
+var Tfe = "popstate";
+function Efe(e) {
return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;
}
-function kfe(e = {}) {
+function Dfe(e = {}) {
function t(e, t) {
let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;
- return XD("", {
+ return QD("", {
pathname: r,
search: i,
hash: a
@@ -31310,14 +31310,14 @@ function kfe(e = {}) {
} : void 0);
}
function n(e, t) {
- return typeof t == "string" ? t : ZD(t);
+ return typeof t == "string" ? t : $D(t);
}
- return Mfe(t, n, null, e);
+ return Afe(t, n, null, e);
}
-function JD(e, t) {
+function XD(e, t) {
if (e === !1 || e == null) throw Error(t);
}
-function YD(e, t) {
+function ZD(e, t) {
if (!e) {
typeof console < "u" && console.warn(t);
try {
@@ -31325,10 +31325,10 @@ function YD(e, t) {
} catch {}
}
}
-function Afe() {
+function Ofe() {
return Math.random().toString(36).substring(2, 10);
}
-function jfe(e, t) {
+function kfe(e, t) {
return {
usr: e.state,
key: e.key,
@@ -31340,21 +31340,21 @@ function jfe(e, t) {
} : void 0
};
}
-function XD(e, t, n = null, r, i) {
+function QD(e, t, n = null, r, i) {
return {
pathname: typeof e == "string" ? e : e.pathname,
search: "",
hash: "",
- ...typeof t == "string" ? QD(t) : t,
+ ...typeof t == "string" ? eO(t) : t,
state: n,
- key: t && t.key || r || Afe(),
+ key: t && t.key || r || Ofe(),
mask: i
};
}
-function ZD({ pathname: e = "/", search: t = "", hash: n = "" }) {
+function $D({ 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 QD(e) {
+function eO(e) {
let t = {};
if (e) {
let n = e.indexOf("#");
@@ -31364,7 +31364,7 @@ function QD(e) {
}
return t;
}
-function Mfe(e, t, n, r = {}) {
+function Afe(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,
@@ -31384,9 +31384,9 @@ function Mfe(e, t, n, r = {}) {
}
function f(e, t) {
s = "PUSH";
- let r = Ofe(e) ? e : XD(h.location, e, t);
+ let r = Efe(e) ? e : QD(h.location, e, t);
n && n(r, e), l = u() + 1;
- let d = jfe(r, l), f = h.createHref(r.mask || r);
+ let d = kfe(r, l), f = h.createHref(r.mask || r);
try {
o.pushState(d, "", f);
} catch (e) {
@@ -31401,9 +31401,9 @@ function Mfe(e, t, n, r = {}) {
}
function p(e, t) {
s = "REPLACE";
- let r = Ofe(e) ? e : XD(h.location, e, t);
+ let r = Efe(e) ? e : QD(h.location, e, t);
n && n(r, e), l = u();
- let i = jfe(r, l), d = h.createHref(r.mask || r);
+ let i = kfe(r, l), d = h.createHref(r.mask || r);
o.replaceState(i, "", d), a && c && c({
action: s,
location: h.location,
@@ -31411,7 +31411,7 @@ function Mfe(e, t, n, r = {}) {
});
}
function m(e) {
- return Nfe(i, e);
+ return jfe(i, e);
}
let h = {
get action() {
@@ -31422,8 +31422,8 @@ function Mfe(e, t, n, r = {}) {
},
listen(e) {
if (c) throw Error("A history only accepts one active listener");
- return i.addEventListener(Dfe, d), c = e, () => {
- i.removeEventListener(Dfe, d), c = null;
+ return i.addEventListener(Tfe, d), c = e, () => {
+ i.removeEventListener(Tfe, d), c = null;
};
},
createHref(e) {
@@ -31446,29 +31446,29 @@ function Mfe(e, t, n, r = {}) {
};
return h;
}
-function Nfe(e, t, n = !1) {
+function jfe(e, t, n = !1) {
let r = "http://localhost";
- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), JD(r, "No window.location.(origin|href) available to create URL");
- let i = typeof t == "string" ? t : ZD(t);
- return i = i.replace(/ $/, "%20"), !n && Tfe.test(i) && (i = r + i), new URL(i, r);
+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), XD(r, "No window.location.(origin|href) available to create URL");
+ let i = typeof t == "string" ? t : $D(t);
+ return i = i.replace(/ $/, "%20"), !n && Cfe.test(i) && (i = r + i), new URL(i, r);
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/utils.js
-function Pfe(e, t, n = "/") {
- return Ffe(e, t, n, !1);
+function Mfe(e, t, n = "/") {
+ return Nfe(e, t, n, !1);
}
-function Ffe(e, t, n, r, i) {
- let a = eO((typeof t == "string" ? QD(t) : t).pathname || "/", n);
+function Nfe(e, t, n, r, i) {
+ let a = nO((typeof t == "string" ? eO(t) : t).pathname || "/", n);
if (a == null) return null;
- let o = i ?? Ife(e), s = null, c = epe(a);
- for (let e = 0; s == null && e < o.length; ++e) s = Zfe(o[e], c, r);
+ let o = i ?? Pfe(e), s = null, c = Qfe(a);
+ for (let e = 0; s == null && e < o.length; ++e) s = Yfe(o[e], c, r);
return s;
}
-function Ife(e) {
- let t = Lfe(e);
- return zfe(t), t;
+function Pfe(e) {
+ let t = Ffe(e);
+ return Lfe(t), t;
}
-function Lfe(e, t = [], n = [], r = "", i = !1) {
+function Ffe(e, t = [], n = [], r = "", i = !1) {
let a = (e, a, o = i, s) => {
let c = {
relativePath: s === void 0 ? e.path || "" : s,
@@ -31478,14 +31478,14 @@ function Lfe(e, t = [], n = [], r = "", i = !1) {
};
if (c.relativePath.startsWith("/")) {
if (!c.relativePath.startsWith(r) && o) return;
- JD(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);
+ XD(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 = nO([r, c.relativePath]), u = n.concat(c);
- e.children && e.children.length > 0 && (JD(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), Lfe(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({
+ let l = iO([r, c.relativePath]), u = n.concat(c);
+ e.children && e.children.length > 0 && (XD(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), Ffe(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({
path: l,
- score: Yfe(l, e.index),
+ score: qfe(l, e.index),
routesMeta: u.map((e, t) => {
- let [n, r] = $fe(e.relativePath, e.caseSensitive, t === u.length - 1);
+ let [n, r] = Zfe(e.relativePath, e.caseSensitive, t === u.length - 1);
return {
...e,
matcher: n,
@@ -31496,68 +31496,68 @@ function Lfe(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 Rfe(e.path)) a(e, t, !0, n);
+ else for (let n of Ife(e.path)) a(e, t, !0, n);
}), t;
}
-function Rfe(e) {
+function Ife(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 = Rfe(r.join("/")), s = [];
+ let o = Ife(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 zfe(e) {
- e.sort((e, t) => e.score === t.score ? Xfe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
+function Lfe(e) {
+ e.sort((e, t) => e.score === t.score ? Jfe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
}
-var Bfe = /^:[\w-]+$/, Vfe = /^:[\w-]+/, Hfe = 3.5, Ufe = 3, Wfe = 2, Gfe = 1, Kfe = 10, qfe = -2, Jfe = (e) => e === "*";
-function Yfe(e, t) {
+var Rfe = /^:[\w-]+$/, zfe = /^:[\w-]+/, Bfe = 3.5, Vfe = 3, Hfe = 2, Ufe = 1, Wfe = 10, Gfe = -2, Kfe = (e) => e === "*";
+function qfe(e, t) {
let n = e.split("/"), r = n.length;
- return n.some(Jfe) && (r += qfe), t && (r += Wfe), n.filter((e) => !Jfe(e)).reduce((e, t) => e + (Bfe.test(t) ? Ufe : Vfe.test(t) ? Hfe : t === "" ? Gfe : Kfe), r);
+ return n.some(Kfe) && (r += Gfe), t && (r += Hfe), n.filter((e) => !Kfe(e)).reduce((e, t) => e + (Rfe.test(t) ? Vfe : zfe.test(t) ? Bfe : t === "" ? Ufe : Wfe), r);
}
-function Xfe(e, t) {
+function Jfe(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 Zfe(e, t, n = !1) {
+function Yfe(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 ? Qfe(u, l, s.matcher, s.compiledParams) : $D(u, l), f = s.route;
- if (!d && c && n && !r[r.length - 1].route.index && (d = $D({
+ }, d = s.matcher && s.compiledParams ? Xfe(u, l, s.matcher, s.compiledParams) : tO(u, l), f = s.route;
+ if (!d && c && n && !r[r.length - 1].route.index && (d = tO({
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: !1
}, l)), !d) return null;
Object.assign(i, d.params), o.push({
params: i,
- pathname: nO([a, d.pathname]),
- pathnameBase: spe(nO([a, d.pathnameBase])),
+ pathname: iO([a, d.pathname]),
+ pathnameBase: ape(iO([a, d.pathnameBase])),
route: f
- }), d.pathnameBase !== "/" && (a = nO([a, d.pathnameBase]));
+ }), d.pathnameBase !== "/" && (a = iO([a, d.pathnameBase]));
}
return o;
}
-function $D(e, t) {
+function tO(e, t) {
typeof e == "string" && (e = {
path: e,
caseSensitive: !1,
end: !0
});
- let [n, r] = $fe(e.path, e.caseSensitive, e.end);
- return Qfe(e, t, n, r);
+ let [n, r] = Zfe(e.path, e.caseSensitive, e.end);
+ return Xfe(e, t, n, r);
}
-function Qfe(e, t, n, r) {
+function Xfe(e, t, n, r) {
let i = t.match(n);
if (!i) return null;
- let a = i[0], o = rO(a, 1), s = i.slice(1);
+ let a = i[0], o = aO(a, 1), s = i.slice(1);
return {
params: r.reduce((e, { paramName: t, isOptional: n }, r) => {
if (t === "*") {
let e = s[r] || "";
- o = rO(a.slice(0, a.length - e.length), 1);
+ o = aO(a.slice(0, a.length - e.length), 1);
}
let i = s[r];
return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;
@@ -31567,8 +31567,8 @@ function Qfe(e, t, n, r) {
pattern: e
};
}
-function $fe(e, t = !1, n = !0) {
- YD(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 Zfe(e, t = !1, n = !0) {
+ ZD(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,
@@ -31581,46 +31581,46 @@ function $fe(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 epe(e) {
+function Qfe(e) {
try {
return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
} catch (t) {
- return YD(!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 ZD(!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 eO(e, t) {
+function nO(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 tpe(e, t = "/") {
- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? QD(e) : e, a;
- return n ? (n = ope(n), a = n.startsWith("/") || n.startsWith("\\") ? npe(n.substring(1), "/") : npe(n, t)) : a = t, {
+function $fe(e, t = "/") {
+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? eO(e) : e, a;
+ return n ? (n = ipe(n), a = n.startsWith("/") || n.startsWith("\\") ? epe(n.substring(1), "/") : epe(n, t)) : a = t, {
pathname: a,
- search: cpe(r),
- hash: lpe(i)
+ search: ope(r),
+ hash: spe(i)
};
}
-function npe(e, t) {
- let n = rO(t).split("/");
+function epe(e, t) {
+ let n = aO(t).split("/");
return e.split("/").forEach((e) => {
e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);
}), n.length > 1 ? n.join("/") : "/";
}
-function tO(e, t, n, r) {
+function rO(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 rpe(e) {
+function tpe(e) {
return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);
}
-function ipe(e) {
- let t = rpe(e);
+function npe(e) {
+ let t = tpe(e);
return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);
}
-function ape(e, t, n, r = !1) {
+function rpe(e, t, n, r = !1) {
let i;
- typeof e == "string" ? i = QD(e) : (i = { ...e }, JD(!i.pathname || !i.pathname.includes("?"), tO("?", "pathname", "search", i)), JD(!i.pathname || !i.pathname.includes("#"), tO("#", "pathname", "hash", i)), JD(!i.search || !i.search.includes("#"), tO("#", "search", "hash", i)));
+ typeof e == "string" ? i = eO(e) : (i = { ...e }, XD(!i.pathname || !i.pathname.includes("?"), rO("?", "pathname", "search", i)), XD(!i.pathname || !i.pathname.includes("#"), rO("#", "pathname", "hash", i)), XD(!i.search || !i.search.includes("#"), rO("#", "search", "hash", i)));
let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;
if (o == null) s = n;
else {
@@ -31632,16 +31632,16 @@ function ape(e, t, n, r = !1) {
}
s = e >= 0 ? t[e] : "/";
}
- let c = tpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
+ let c = $fe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;
}
-var ope = (e) => e.replace(/[\\/]{2,}/g, "/"), nO = (e) => ope(e.join("/"));
-function rO(e, t = 0) {
+var ipe = (e) => e.replace(/[\\/]{2,}/g, "/"), iO = (e) => ipe(e.join("/"));
+function aO(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 spe = (e) => rO(e).replace(/^\/*/, "/"), cpe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, lpe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, upe = class {
+var ape = (e) => aO(e).replace(/^\/*/, "/"), ope = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, spe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, cpe = class {
status;
statusText;
data;
@@ -31651,26 +31651,26 @@ var spe = (e) => rO(e).replace(/^\/*/, "/"), cpe = (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 dpe(e) {
+function lpe(e) {
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
}
-function fpe(e) {
- return nO(e.map((e) => e.route.path).filter(Boolean)) || "/";
+function upe(e) {
+ return iO(e.map((e) => e.route.path).filter(Boolean)) || "/";
}
-var ppe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
-function mpe(e, t) {
+var dpe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
+function fpe(e, t) {
let n = e;
- if (typeof n != "string" || !wfe.test(n)) return {
+ if (typeof n != "string" || !Sfe.test(n)) return {
absoluteURL: void 0,
isExternal: !1,
to: n
};
let r = n, i = !1;
- if (ppe) try {
- let e = new URL(window.location.href), r = Tfe.test(n) ? new URL(Efe(n, e.protocol)) : new URL(n), a = eO(r.pathname, t);
+ if (dpe) try {
+ let e = new URL(window.location.href), r = Cfe.test(n) ? new URL(wfe(n, e.protocol)) : new URL(n), a = nO(r.pathname, t);
r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;
} catch {
- YD(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
+ ZD(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
}
return {
absoluteURL: r,
@@ -31680,45 +31680,45 @@ function mpe(e, t) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/navigation.js
-var hpe = new URL("http://localhost");
-function gpe(e) {
+var ppe = new URL("http://localhost");
+function mpe(e) {
if (e.createURL) return e.createURL("/");
try {
- return new URL(e.createHref("/"), hpe);
+ return new URL(e.createHref("/"), ppe);
} catch {
- return hpe;
+ return ppe;
}
}
-function iO(e, t) {
+function oO(e, t) {
return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);
}
-function _pe(e, t) {
+function hpe(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 vpe(e, t, n, r) {
+function gpe(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 && !iO(i, n), s = !iO(a, n);
+ let a = new URL(t, n), o = i != null && !oO(i, n), s = !oO(a, n);
if (r === "reject") {
if (o || s) throw Error("External navigation is not allowed");
- } else if (s && (i == null || !_pe(e, i) || !iO(i, a))) throw Error("External navigation is not allowed");
+ } else if (s && (i == null || !hpe(e, i) || !oO(i, a))) throw Error("External navigation is not allowed");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/router.js
-var ype = [
+var _pe = [
"POST",
"PUT",
"PATCH",
"DELETE"
];
-new Set(ype);
-var bpe = ["GET", ...ype];
-new Set(bpe);
-var xpe = [
+new Set(_pe);
+var vpe = ["GET", ..._pe];
+new Set(vpe);
+var ype = [
"about:",
"blob:",
"chrome:",
@@ -31730,85 +31730,85 @@ var xpe = [
"filesystem:",
"javascript:"
];
-function Spe(e) {
+function bpe(e) {
try {
- return xpe.includes(new URL(e).protocol);
+ return ype.includes(new URL(e).protocol);
} catch {
return !1;
}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/context.js
-var aO = b.createContext(null);
-aO.displayName = "DataRouter";
-var Cpe = b.createContext(null);
-Cpe.displayName = "DataRouterState";
-var wpe = b.createContext(null);
-wpe.displayName = "DataRouterData";
-var Tpe = b.createContext(null);
-Tpe.displayName = "DataRouterNavigation";
-var Epe = b.createContext(!1), Dpe = b.createContext({ isTransitioning: !1 });
-Dpe.displayName = "ViewTransition";
-var Ope = b.createContext(null);
-Ope.displayName = "Fetchers";
-var kpe = b.createContext(null);
-kpe.displayName = "Await";
-var oO = b.createContext(null);
-oO.displayName = "Navigation";
var sO = b.createContext(null);
-sO.displayName = "Location";
-var cO = b.createContext({
+sO.displayName = "DataRouter";
+var xpe = b.createContext(null);
+xpe.displayName = "DataRouterState";
+var Spe = b.createContext(null);
+Spe.displayName = "DataRouterData";
+var Cpe = b.createContext(null);
+Cpe.displayName = "DataRouterNavigation";
+var wpe = b.createContext(!1), Tpe = b.createContext({ isTransitioning: !1 });
+Tpe.displayName = "ViewTransition";
+var Epe = b.createContext(null);
+Epe.displayName = "Fetchers";
+var Dpe = b.createContext(null);
+Dpe.displayName = "Await";
+var cO = b.createContext(null);
+cO.displayName = "Navigation";
+var lO = b.createContext(null);
+lO.displayName = "Location";
+var uO = b.createContext({
outlet: null,
matches: [],
isDataRoute: !1
});
-cO.displayName = "Route";
-var lO = b.createContext(!1);
-lO.displayName = "IsDataRoute";
-var uO = b.createContext(void 0);
-uO.displayName = "RouteId";
-var dO = b.createContext(null);
-dO.displayName = "RouteError";
+uO.displayName = "Route";
+var dO = b.createContext(!1);
+dO.displayName = "IsDataRoute";
+var fO = b.createContext(void 0);
+fO.displayName = "RouteId";
+var pO = b.createContext(null);
+pO.displayName = "RouteError";
//#endregion
//#region node_modules/react-router/dist/production/lib/errors.js
-var Ape = "REACT_ROUTER_ERROR", jpe = "REDIRECT", Mpe = "ROUTE_ERROR_RESPONSE";
-function Npe(e) {
- if (e.startsWith(`${Ape}:${jpe}:{`)) try {
+var Ope = "REACT_ROUTER_ERROR", kpe = "REDIRECT", Ape = "ROUTE_ERROR_RESPONSE";
+function jpe(e) {
+ if (e.startsWith(`${Ope}:${kpe}:{`)) 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 Ppe(e) {
- if (e.startsWith(`${Ape}:${Mpe}:{`)) try {
+function Mpe(e) {
+ if (e.startsWith(`${Ope}:${Ape}:{`)) try {
let t = JSON.parse(e.slice(40));
- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new upe(t.status, t.statusText, t.data);
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new cpe(t.status, t.statusText, t.data);
} catch {}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/hooks.js
-function fO() {
- return b.useContext(sO) != null;
+function mO() {
+ return b.useContext(lO) != null;
}
-function pO() {
- return JD(fO(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(sO).location;
+function hO() {
+ return XD(mO(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(lO).location;
}
-var Fpe = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
-function Ipe() {
- return b.useContext(lO) ? Zpe() : Lpe();
+var Npe = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
+function Ppe() {
+ return b.useContext(dO) ? Ype() : Fpe();
}
-function Lpe() {
- JD(fO(), "useNavigate() may be used only in the context of a <Router> component.");
- let e = b.useContext(aO), { basename: t, navigator: n } = b.useContext(oO), { matches: r } = b.useContext(cO), { pathname: i } = pO(), a = JSON.stringify(ipe(r)), o = b.useRef(!1);
+function Fpe() {
+ XD(mO(), "useNavigate() may be used only in the context of a <Router> component.");
+ let e = b.useContext(sO), { basename: t, navigator: n } = b.useContext(cO), { matches: r } = b.useContext(uO), { pathname: i } = hO(), a = JSON.stringify(npe(r)), o = b.useRef(!1);
return b.useLayoutEffect(() => {
o.current = !0;
}), b.useCallback((r, s = {}) => {
- if (YD(o.current, Fpe), !o.current) return;
+ if (ZD(o.current, Npe), !o.current) return;
if (typeof r == "number") {
n.go(r);
return;
}
- let c = ape(r, JSON.parse(a), i, s.relative === "path");
- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : nO([t, c.pathname])), vpe(typeof r == "string" ? r : ZD(r), n.createHref(c), gpe(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
+ let c = rpe(r, JSON.parse(a), i, s.relative === "path");
+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : iO([t, c.pathname])), gpe(typeof r == "string" ? r : $D(r), n.createHref(c), mpe(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
}, [
t,
n,
@@ -31818,19 +31818,19 @@ function Lpe() {
]);
}
b.createContext(null);
-function Rpe(e, t) {
- return zpe(e, t);
+function Ipe(e, t) {
+ return Lpe(e, t);
}
-function zpe(e, t, n) {
- JD(fO(), "useRoutes() may be used only in the context of a <Router> component.");
- let { navigator: r } = b.useContext(oO), { matches: i } = b.useContext(cO), a = i[i.length - 1], o = a ? a.params : {};
+function Lpe(e, t, n) {
+ XD(mO(), "useRoutes() may be used only in the context of a <Router> component.");
+ let { navigator: r } = b.useContext(cO), { matches: i } = b.useContext(uO), a = i[i.length - 1], o = a ? a.params : {};
a && a.pathname;
let s = a ? a.pathnameBase : "/";
a && a.route;
- let c = pO(), l;
+ let c = hO(), l;
if (t) {
- let e = typeof t == "string" ? QD(t) : t;
- JD(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" ? eO(t) : t;
+ XD(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 !== "/") {
@@ -31838,13 +31838,13 @@ function zpe(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) : Pfe(e, { pathname: d });
- let p = Gpe(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) : Mfe(e, { pathname: d });
+ let p = Upe(f && f.map((e) => Object.assign({}, e, {
params: Object.assign({}, o, e.params),
- pathname: nO([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
- pathnameBase: e.pathnameBase === "/" ? s : nO([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
+ pathname: iO([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
+ pathnameBase: e.pathnameBase === "/" ? s : iO([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(sO.Provider, { value: {
+ return t && p ? /* @__PURE__ */ b.createElement(lO.Provider, { value: {
location: {
pathname: "/",
search: "",
@@ -31857,14 +31857,14 @@ function zpe(e, t, n) {
navigationType: "POP"
} }, p) : p;
}
-function Bpe() {
- let e = Xpe(), t = dpe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
+function Rpe() {
+ let e = Jpe(), t = lpe(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 Vpe = /* @__PURE__ */ b.createElement(Bpe, null), Hpe = class extends b.Component {
+var zpe = /* @__PURE__ */ b.createElement(Rpe, null), Bpe = class extends b.Component {
constructor(e) {
super(e), this.state = {
location: e.location,
@@ -31872,7 +31872,7 @@ var Vpe = /* @__PURE__ */ b.createElement(Bpe, null), Hpe = class extends b.Comp
error: e.error
};
}
- static contextType = Epe;
+ static contextType = wpe;
static getDerivedStateFromError(e) {
return { error: e };
}
@@ -31893,30 +31893,30 @@ var Vpe = /* @__PURE__ */ b.createElement(Bpe, null), Hpe = class extends b.Comp
render() {
let e = this.state.error;
if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {
- let t = Ppe(e.digest);
+ let t = Mpe(e.digest);
t && (e = t);
}
- let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(cO.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(lO.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(uO.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(dO.Provider, {
+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(uO.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(dO.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(fO.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(pO.Provider, {
value: e,
children: this.props.component
}))));
- return this.context ? /* @__PURE__ */ b.createElement(Upe, { error: e }, t) : t;
+ return this.context ? /* @__PURE__ */ b.createElement(Vpe, { error: e }, t) : t;
}
-}, mO = /* @__PURE__ */ new WeakMap();
-function Upe({ children: e, error: t }) {
- let { basename: n, navigator: r } = b.useContext(oO);
+}, gO = /* @__PURE__ */ new WeakMap();
+function Vpe({ children: e, error: t }) {
+ let { basename: n, navigator: r } = b.useContext(cO);
if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
- let e = Npe(t.digest);
+ let e = jpe(t.digest);
if (e) {
- let i = mO.get(t);
+ let i = gO.get(t);
if (i) throw i;
- let a = mpe(e.location, n), o = a.absoluteURL || a.to;
- if (vpe(e.location, o, gpe(r), "allow-explicit"), Spe(o)) throw Error("Invalid redirect location");
- if (ppe && !mO.get(t)) {
+ let a = fpe(e.location, n), o = a.absoluteURL || a.to;
+ if (gpe(e.location, o, mpe(r), "allow-explicit"), bpe(o)) throw Error("Invalid redirect location");
+ if (dpe && !gO.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 mO.set(t, n), n;
+ throw gO.set(t, n), n;
}
}
return /* @__PURE__ */ b.createElement("meta", {
@@ -31927,11 +31927,11 @@ function Upe({ children: e, error: t }) {
}
return e;
}
-function Wpe({ routeContext: e, match: t, children: n }) {
- let r = b.useContext(aO);
- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(cO.Provider, { value: e }, /* @__PURE__ */ b.createElement(lO.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(uO.Provider, { value: t.route.id }, n)));
+function Hpe({ routeContext: e, match: t, children: n }) {
+ let r = b.useContext(sO);
+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(uO.Provider, { value: e }, /* @__PURE__ */ b.createElement(dO.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(fO.Provider, { value: t.route.id }, n)));
}
-function Gpe(e, t = [], n) {
+function Upe(e, t = [], n) {
let r = n?.state;
if (e == null) {
if (!r) return null;
@@ -31942,7 +31942,7 @@ function Gpe(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);
- JD(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));
+ XD(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) {
@@ -31962,16 +31962,16 @@ function Gpe(e, t = [], n) {
c(e, {
location: r.location,
params: r.matches?.[0]?.params ?? {},
- pattern: fpe(r.matches),
+ pattern: upe(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 || Vpe, o && (s < 0 && c === 0 ? ($pe("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 || zpe, o && (s < 0 && c === 0 ? (Zpe("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(Wpe, {
+ 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(Hpe, {
match: n,
routeContext: {
outlet: e,
@@ -31981,7 +31981,7 @@ function Gpe(e, t = [], n) {
children: t
});
};
- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(Hpe, {
+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(Bpe, {
location: r.location,
revalidation: r.revalidation,
component: f,
@@ -31996,44 +31996,44 @@ function Gpe(e, t = [], n) {
}) : h();
}, null);
}
-function Kpe(e) {
+function Wpe(e) {
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
}
-function qpe(e) {
- let t = b.useContext(aO);
- return JD(t, Kpe(e)), t;
+function Gpe(e) {
+ let t = b.useContext(sO);
+ return XD(t, Wpe(e)), t;
}
-function Jpe(e) {
- let t = b.useContext(wpe);
- return JD(t, Kpe(e)), t;
+function Kpe(e) {
+ let t = b.useContext(Spe);
+ return XD(t, Wpe(e)), t;
}
-function Ype(e) {
- let t = b.useContext(uO);
- return JD(t, `${e} can only be used on routes that contain a unique "id"`), t;
+function qpe(e) {
+ let t = b.useContext(fO);
+ return XD(t, `${e} can only be used on routes that contain a unique "id"`), t;
}
-function Xpe() {
- let e = b.useContext(dO), t = Jpe("useRouteError"), n = Ype("useRouteError");
+function Jpe() {
+ let e = b.useContext(pO), t = Kpe("useRouteError"), n = qpe("useRouteError");
return e === void 0 ? t.errors?.[n] : e;
}
-function Zpe() {
- let { router: e } = qpe("useNavigate"), t = Ype("useNavigate"), n = b.useRef(!1);
+function Ype() {
+ let { router: e } = Gpe("useNavigate"), t = qpe("useNavigate"), n = b.useRef(!1);
return b.useLayoutEffect(() => {
n.current = !0;
}), b.useCallback(async (r, i = {}) => {
- YD(n.current, Fpe), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
+ ZD(n.current, Npe), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
fromRouteId: t,
...i
}));
}, [e, t]);
}
-var Qpe = {};
-function $pe(e, t, n) {
- !t && !Qpe[e] && (Qpe[e] = !0, YD(!1, n));
+var Xpe = {};
+function Zpe(e, t, n) {
+ !t && !Xpe[e] && (Xpe[e] = !0, ZD(!1, n));
}
-b.memo(eme);
-function eme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
- let a = b.useContext(aO);
- return JD(a, "You must render this element inside a <DataRouterContext.Provider> element"), zpe(e, void 0, {
+b.memo(Qpe);
+function Qpe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
+ let a = b.useContext(sO);
+ return XD(a, "You must render this element inside a <DataRouterContext.Provider> element"), Lpe(e, void 0, {
router: a.router,
manifest: t,
state: n,
@@ -32041,11 +32041,11 @@ function eme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
onError: i
});
}
-function hO(e) {
- JD(!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 _O(e) {
+ XD(!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 tme({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
- JD(!fO(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
+function $pe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
+ XD(!mO(), "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,
@@ -32058,9 +32058,9 @@ function tme({ basename: e = "/", children: t = null, location: n, navigationTyp
a,
o
]);
- typeof n == "string" && (n = QD(n));
+ typeof n == "string" && (n = eO(n));
let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = b.useMemo(() => {
- let e = eO(l, s);
+ let e = nO(l, s);
return e == null ? null : {
location: {
pathname: e,
@@ -32082,27 +32082,27 @@ function tme({ basename: e = "/", children: t = null, location: n, navigationTyp
r,
m
]);
- return YD(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(oO.Provider, { value: c }, /* @__PURE__ */ b.createElement(sO.Provider, {
+ return ZD(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(cO.Provider, { value: c }, /* @__PURE__ */ b.createElement(lO.Provider, {
children: t,
value: h
}));
}
-function gO({ children: e, location: t }) {
- return Rpe(_O(e), t);
+function vO({ children: e, location: t }) {
+ return Ipe(yO(e), t);
}
b.Component;
-function _O(e, t = []) {
+function yO(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, _O(e.props.children, i));
+ n.push.apply(n, yO(e.props.children, i));
return;
}
- JD(e.type === hO, `[${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>`);
+ XD(e.type === _O, `[${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;
- JD(!a.index || !a.children, "An index route cannot have child routes.");
+ XD(!a.index || !a.children, "An index route cannot have child routes.");
let o = {
id: a.id || i.join("-"),
caseSensitive: a.caseSensitive,
@@ -32121,55 +32121,55 @@ function _O(e, t = []) {
handle: a.handle,
lazy: a.lazy
};
- a.children && (o.children = _O(a.children, i)), n.push(o);
+ a.children && (o.children = yO(a.children, i)), n.push(o);
}), n;
}
//#endregion
//#region src/history/settings-route.ts
-var vO = {
+var bO = {
appearance: "外观与导航",
playback: "浏览与播放",
jav: "JAV 与新作",
search: "搜索与推荐",
content: "内容显示"
-}, yO = {
+}, xO = {
library: "媒体库与入库",
subscriptions: "来源与订阅",
downloads: "下载渠道",
network: "网络与访问",
maintenance: "应用与维护"
};
-function nme(e) {
- return yO[e.split("/")[2]] || yO.library;
+function eme(e) {
+ return xO[e.split("/")[2]] || xO.library;
}
-var bO = ["/settings", ...Object.keys(vO).map((e) => `/settings/${e}`)], xO = (e) => bO.includes(e);
-function rme(e) {
- return vO[e.split("/")[2]] || vO.appearance;
+var SO = ["/settings", ...Object.keys(bO).map((e) => `/settings/${e}`)], CO = (e) => SO.includes(e);
+function tme(e) {
+ return bO[e.split("/")[2]] || bO.appearance;
}
-function SO(e) {
+function wO(e) {
return `/settings/${Object.entries({
- ...vO,
- ...yO
+ ...bO,
+ ...xO
}).find(([, t]) => t === e)?.[0] || "appearance"}`;
}
-var CO = (e) => {
+var TO = (e) => {
let t = e?.settingsBackground;
return t && typeof t.pathname == "string" ? t : null;
-}, wO = [
+}, EO = [
"/assets/:id",
"/posts/:id",
"/works/:code"
-], ime = [
+], nme = [
"mix",
"parts",
"editions",
"playlist"
];
-function ame(e, t = "") {
+function rme(e, t = "") {
let n = new URL(e, "https://peach.invalid");
e = n.pathname, t ||= n.search;
- for (let n of wO) {
- let r = $D(n, e);
+ for (let n of EO) {
+ let r = tO(n, e);
if (!r) continue;
if (n === "/works/:code") {
let e = r.params.code || "";
@@ -32186,7 +32186,7 @@ function ame(e, t = "") {
let a = Number(i[0]);
if (!Number.isSafeInteger(a) || a <= 0) return null;
if (n === "/assets/:id") {
- let e = new URLSearchParams(t), r = ime.filter((t) => e.has(t));
+ let e = new URLSearchParams(t), r = nme.filter((t) => e.has(t));
if (r.length === 1) {
let t = r[0], i = e.get(t), o = Number(i);
if (/^[1-9]\d*$/.test(i) && Number.isSafeInteger(o)) return {
@@ -32210,42 +32210,42 @@ function ame(e, t = "") {
}
return null;
}
-var ome = (e, t = "") => ame(e, t)?.target ?? null, TO = (e) => xO(e.split(/[?#]/)[0]) || wO.some((t) => $D(t, e.split(/[?#]/)[0]) !== null);
-function EO(e) {
+var ime = (e, t = "") => rme(e, t)?.target ?? null, DO = (e) => CO(e.split(/[?#]/)[0]) || EO.some((t) => tO(t, e.split(/[?#]/)[0]) !== null);
+function OO(e) {
let t = e?.backgroundLocation;
return typeof t?.pathname == "string" ? {
pathname: t.pathname,
search: typeof t.search == "string" ? t.search : ""
} : null;
}
-var DO = null, OO = null;
-function kO() {
+var kO = null, AO = null;
+function jO() {
let { pathname: e, search: t } = window.location;
- TO(e) || (DO = {
+ DO(e) || (kO = {
pathname: e,
search: t
});
}
-function AO() {
- DO = null, OO = null;
+function MO() {
+ kO = null, AO = null;
}
-function sme(e) {
- let t = EO(e);
- t && (DO = t, OO = t.pathname + t.search);
+function ame(e) {
+ let t = OO(e);
+ t && (kO = t, AO = t.pathname + t.search);
}
-function jO() {
- let e = OO;
- return OO = null, e;
+function NO() {
+ let e = AO;
+ return AO = null, e;
}
-function MO(e) {
- return DO ? {
- backgroundLocation: { ...DO },
+function PO(e) {
+ return kO ? {
+ backgroundLocation: { ...kO },
overlay: e
} : void 0;
}
//#endregion
//#region src/history/canonical-path.ts
-function NO(e) {
+function FO(e) {
let t = new URL(e, "https://peach.invalid");
for (let [e, n] of [
[/^\/item\/(\d+)$/, "/assets/"],
@@ -32268,16 +32268,16 @@ function NO(e) {
}
//#endregion
//#region src/history/route-meta.ts
-var PO = {
+var IO = {
"/settings": {
title: "设置",
refresh: "skip"
},
- ...Object.fromEntries(Object.entries(vO).map(([e, t]) => [`/settings/${e}`, {
+ ...Object.fromEntries(Object.entries(bO).map(([e, t]) => [`/settings/${e}`, {
title: t,
refresh: "skip"
}])),
- ...Object.fromEntries(Object.entries(yO).map(([e, t]) => [`/settings/${e}`, {
+ ...Object.fromEntries(Object.entries(xO).map(([e, t]) => [`/settings/${e}`, {
title: t,
section: "configuration",
refresh: "reopen"
@@ -32413,13 +32413,13 @@ var PO = {
title: "播放墙"
}
};
-function FO(e) {
- if (Object.hasOwn(PO, e)) return PO[e];
- let t = ame(e);
- if (t) return PO[t.path];
+function LO(e) {
+ if (Object.hasOwn(IO, e)) return IO[e];
+ let t = rme(e);
+ if (t) return IO[t.path];
let [n, ...r] = e.split("/").filter(Boolean);
if (!n) return null;
- if (!r.length) return Object.hasOwn(PO, `/${n}`) ? PO[`/${n}`] : null;
+ if (!r.length) return Object.hasOwn(IO, `/${n}`) ? IO[`/${n}`] : null;
let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? bt({
performers: "performer",
studios: "studio",
@@ -32428,126 +32428,126 @@ function FO(e) {
series: "series",
tags: "tag"
}[n] || "", Number(r[0])) : r.join("/");
- return Object.hasOwn(PO, i) ? {
- ...PO[i],
+ return Object.hasOwn(IO, i) ? {
+ ...IO[i],
title: a || "资料"
} : null;
}
//#endregion
//#region src/history/managed.ts
-var cme = () => {}, lme = new Promise((e) => {
- cme = e;
+var ome = () => {}, sme = new Promise((e) => {
+ ome = e;
});
-lme.catch(() => {});
-var ume = null, IO = /* @__PURE__ */ new Map(), LO = /* @__PURE__ */ new Map(), dme = 0, RO = /* @__PURE__ */ new Set();
-function fme(e) {
- cme(e);
+sme.catch(() => {});
+var cme = null, RO = /* @__PURE__ */ new Map(), zO = /* @__PURE__ */ new Map(), lme = 0, BO = /* @__PURE__ */ new Set();
+function ume(e) {
+ ome(e);
}
-function zO(e) {
- return IO.get(e) ?? null;
+function VO(e) {
+ return RO.get(e) ?? null;
}
-function BO(e) {
- return !!e && (IO.has(e) || LO.has(e));
+function HO(e) {
+ return !!e && (RO.has(e) || zO.has(e));
}
-var VO = () => [...IO.values()];
-function pme(e) {
- return RO.add(e), () => {
- RO.delete(e);
+var UO = () => [...RO.values()];
+function dme(e) {
+ return BO.add(e), () => {
+ BO.delete(e);
};
}
-function HO(e) {
- let t = VO();
- for (let n of [...RO]) n(t, e);
+function WO(e) {
+ let t = UO();
+ for (let n of [...BO]) n(t, e);
}
-async function UO(e, t, n) {
+async function GO(e, t, n) {
let { container: r } = n;
- if (GO(r), !n.isCurrent()) return !1;
- dme += 1;
+ if (qO(r), !n.isCurrent()) return !1;
+ lme += 1;
let i = {
- revision: dme,
+ revision: lme,
controller: new AbortController()
};
- LO.set(r, i);
- let a = ume;
- ume = null, a?.();
- let o = await lme;
- if (LO.get(r) !== i) return !1;
+ zO.set(r, i);
+ let a = cme;
+ cme = null, a?.();
+ let o = await sme;
+ if (zO.get(r) !== i) return !1;
try {
await o(e, t, i.controller.signal);
} catch {
if (i.controller.signal.aborted) return !1;
}
- if (LO.get(r) !== i || (LO.delete(r), !n.isCurrent())) return !1;
- let s = n.place ? n.place(r) : mme(r);
- return IO.set(r, {
+ if (zO.get(r) !== i || (zO.delete(r), !n.isCurrent())) return !1;
+ let s = n.place ? n.place(r) : fme(r);
+ return RO.set(r, {
path: e,
props: t,
revision: i.revision,
container: r,
host: s,
resident: !!n.resident
- }), HO(!0), !0;
+ }), WO(!0), !0;
}
-function mme(e) {
+function fme(e) {
let t = e.ownerDocument.createElement("div");
return t.className = "peach-react", e.textContent = "", e.append(t), t;
}
-function WO(e, t) {
- let n = e ? IO.get(e) : void 0;
- n && (IO.set(n.container, {
+function KO(e, t) {
+ let n = e ? RO.get(e) : void 0;
+ n && (RO.set(n.container, {
...n,
props: {
...n.props,
...t
}
- }), HO(!1));
+ }), WO(!1));
}
-function GO(e, ...t) {
+function qO(e, ...t) {
let n = [];
for (let r of /* @__PURE__ */ new Set([e, ...t])) {
- let e = LO.get(r);
- e && (e.controller.abort(), LO.delete(r));
- let t = IO.get(r);
- t && (IO.delete(r), n.push(t));
+ let e = zO.get(r);
+ e && (e.controller.abort(), zO.delete(r));
+ let t = RO.get(r);
+ t && (RO.delete(r), n.push(t));
}
if (n.length) {
- HO(!0);
+ WO(!0);
for (let e of n) e.resident || e.host.remove();
}
}
-function hme() {
- let [e, ...t] = /* @__PURE__ */ new Set([...IO.keys(), ...LO.keys()]);
- e && GO(e, ...t);
+function pme() {
+ let [e, ...t] = /* @__PURE__ */ new Set([...RO.keys(), ...zO.keys()]);
+ e && qO(e, ...t);
}
-function gme(e, t) {
- let n = IO.get(e);
- n?.revision === t && (IO.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {
- HO(!1);
+function mme(e, t) {
+ let n = RO.get(e);
+ n?.revision === t && (RO.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {
+ WO(!1);
}));
}
//#endregion
//#region src/history/index.ts
-var KO = kfe({ v5Compat: !0 }), qO = 0, JO = 0, YO = {
- action: KO.action,
- location: KO.location,
- seq: qO,
- openEpoch: JO,
+var JO = Dfe({ v5Compat: !0 }), YO = 0, XO = 0, ZO = {
+ action: JO.action,
+ location: JO.location,
+ seq: YO,
+ openEpoch: XO,
claimed: !0
-}, XO = /* @__PURE__ */ new Set(), ZO = !1, QO = !0;
-KO.listen(({ action: e, location: t }) => {
- let n = t.pathname + t.search + t.hash, r = NO(n);
- r !== n && (window.history.replaceState(window.history.state, "", r), t = KO.location), qO += 1, ZO || (JO += 1), e !== "REPLACE" && (QO = !1), YO = {
+}, QO = /* @__PURE__ */ new Set(), $O = !1, ek = !0;
+JO.listen(({ action: e, location: t }) => {
+ let n = t.pathname + t.search + t.hash, r = FO(n);
+ r !== n && (window.history.replaceState(window.history.state, "", r), t = JO.location), YO += 1, $O || (XO += 1), e !== "REPLACE" && (ek = !1), ZO = {
action: e,
location: t,
- seq: qO,
- openEpoch: JO,
- claimed: ZO
+ seq: YO,
+ openEpoch: XO,
+ claimed: $O
};
- for (let e of [...XO]) e(YO);
+ for (let e of [...QO]) e(ZO);
});
-function _me(e) {
- if (typeof e == "string") return NO(new URL(e, window.location.href).href);
- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = NO(t.href);
+function hme(e) {
+ if (typeof e == "string") return FO(new URL(e, window.location.href).href);
+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = FO(t.href);
if (n === t.pathname + t.search + t.hash) return e;
let r = new URL(n, window.location.origin);
return {
@@ -32557,55 +32557,55 @@ function _me(e) {
hash: r.hash
};
}
-var $O = {
+var tk = {
get navigation() {
- return YO;
+ return ZO;
},
listen(e) {
- return XO.add(e), () => {
- XO.delete(e);
+ return QO.add(e), () => {
+ QO.delete(e);
};
},
- createHref: (e) => KO.createHref(e),
- createURL: (e) => KO.createURL(e),
- encodeLocation: (e) => KO.encodeLocation(e),
- go: (e) => KO.go(e),
- push: (e, t) => KO.push(_me(e), t),
- replace: (e, t) => KO.replace(_me(e), t)
+ createHref: (e) => JO.createHref(e),
+ createURL: (e) => JO.createURL(e),
+ encodeLocation: (e) => JO.encodeLocation(e),
+ go: (e) => JO.go(e),
+ push: (e, t) => JO.push(hme(e), t),
+ replace: (e, t) => JO.replace(hme(e), t)
};
-function ek(e, { replace: t = !1, state: n } = {}) {
- let r = new URL(e, window.location.href), i = NO(`${r.pathname}${r.search}${r.hash}`);
- ZO = !0;
+function nk(e, { replace: t = !1, state: n } = {}) {
+ let r = new URL(e, window.location.href), i = FO(`${r.pathname}${r.search}${r.hash}`);
+ $O = !0;
try {
- t ? KO.replace(i, n) : KO.push(i, n);
+ t ? JO.replace(i, n) : JO.push(i, n);
} finally {
- ZO = !1;
+ $O = !1;
}
}
-var tk = () => QO;
-function nk() {
- if (xO(YO.location.pathname)) {
- let e = QO ? null : CO(YO.location.state);
- return e ? EO(e.state) || e : null;
+var rk = () => ek;
+function ik() {
+ if (CO(ZO.location.pathname)) {
+ let e = ek ? null : TO(ZO.location.state);
+ return e ? OO(e.state) || e : null;
}
- return QO ? null : EO(YO.location.state);
+ return ek ? null : OO(ZO.location.state);
}
//#endregion
//#region src/core/jav-title.ts
-var vme = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, yme = (e, t = e?.name) => {
+var gme = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, _me = (e, t = e?.name) => {
let n = String(t || "").trim();
- return e?.is_jav ? n.replace(vme, "") : n;
-}, bme = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), xme = (e) => {
+ return e?.is_jav ? n.replace(gme, "") : n;
+}, vme = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), yme = (e) => {
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
- return t.find(bme) || t[0] || "";
+ return t.find(vme) || t[0] || "";
};
-function Sme(e, t = e?.name) {
- let n = yme(e, t), r = String(e?.code || "").trim().toUpperCase();
+function bme(e, t = e?.name) {
+ let n = _me(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 = xme(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [
+ 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 = yme(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [
"中字",
"无码",
"无码破解"
@@ -32616,23 +32616,23 @@ function Sme(e, t = e?.name) {
badges: f
};
}
-var rk = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = Sme(e, t);
+var ak = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = bme(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function ik(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = Sme(e, t);
+function ok(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = bme(e, t);
if (!n) return z(r);
let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${z(e)}</small>`).join("");
return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${z(r)}</span>` : ""}`;
}
//#endregion
//#region node_modules/@remixicon/react/index.mjs
-var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+var xme = ({ 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,
@@ -32640,7 +32640,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), wme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Sme = ({ 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,
@@ -32648,7 +32648,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), ak = ({ 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" })), sk = ({ 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,
@@ -32656,7 +32656,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), ok = ({ 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" })), ck = ({ 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,
@@ -32664,7 +32664,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), sk = ({ 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" })), lk = ({ 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,
@@ -32672,7 +32672,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Tme = ({ 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" })), Cme = ({ 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,
@@ -32680,7 +32680,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Eme = ({ 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" })), wme = ({ 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,
@@ -32688,7 +32688,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Dme = ({ 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" })), Tme = ({ 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,
@@ -32696,7 +32696,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Ome = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Eme = ({ 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,
@@ -32704,7 +32704,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), kme = ({ 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" })), Dme = ({ 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,
@@ -32712,7 +32712,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Ame = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Ome = ({ 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,
@@ -32720,7 +32720,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), jme = ({ 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" })), kme = ({ 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,
@@ -32728,7 +32728,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), ck = ({ 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" })), uk = ({ 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,
@@ -32736,7 +32736,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Mme = ({ 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" })), Ame = ({ 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,
@@ -32744,7 +32744,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), lk = ({ 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" })), dk = ({ 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,
@@ -32752,7 +32752,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), uk = ({ 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" })), fk = ({ 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,
@@ -32760,7 +32760,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), dk = ({ 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" })), pk = ({ 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,
@@ -32768,7 +32768,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Nme = ({ 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" })), jme = ({ 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,
@@ -32776,7 +32776,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), fk = ({ 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" })), mk = ({ 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,
@@ -32784,7 +32784,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Pme = ({ 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" })), Mme = ({ 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,
@@ -32792,7 +32792,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Fme = ({ 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" })), Nme = ({ 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,
@@ -32800,7 +32800,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Ime = ({ 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" })), Pme = ({ 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,
@@ -32808,7 +32808,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Lme = ({ 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" })), Fme = ({ 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,
@@ -32816,7 +32816,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Rme = ({ 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" })), Ime = ({ 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,
@@ -32824,7 +32824,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), zme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Lme = ({ 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,
@@ -32832,7 +32832,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), pk = ({ 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" })), hk = ({ 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,
@@ -32840,7 +32840,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), mk = ({ 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" })), gk = ({ 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,
@@ -32848,7 +32848,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Bme = ({ 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" })), Rme = ({ 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,
@@ -32856,7 +32856,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Vme = ({ 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" })), zme = ({ 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,
@@ -32864,7 +32864,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Hme = ({ 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" })), Bme = ({ 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,
@@ -32872,7 +32872,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Ume = ({ 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" })), Vme = ({ 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,
@@ -32880,7 +32880,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Wme = ({ 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" })), Hme = ({ 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,
@@ -32888,7 +32888,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Gme = ({ 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" })), Ume = ({ 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,
@@ -32896,7 +32896,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Kme = ({ 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" })), Wme = ({ 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,
@@ -32904,7 +32904,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), hk = ({ 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" })), _k = ({ 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,
@@ -32912,7 +32912,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), gk = ({ 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" })), vk = ({ 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,
@@ -32920,7 +32920,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), qme = ({ 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" })), Gme = ({ 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,
@@ -32928,7 +32928,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), _k = ({ 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" })), yk = ({ 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,
@@ -32936,7 +32936,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Jme = ({ 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" })), Kme = ({ 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,
@@ -32944,7 +32944,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Yme = ({ 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" })), qme = ({ 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,
@@ -32952,7 +32952,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Xme = ({ 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" })), Jme = ({ 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,
@@ -32960,7 +32960,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Zme = ({ 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" })), Yme = ({ 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,
@@ -32968,7 +32968,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), Qme = ({ 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" })), Xme = ({ 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,
@@ -32976,7 +32976,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), $me = ({ 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" })), Zme = ({ 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,
@@ -32984,7 +32984,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), ehe = ({ 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" })), Qme = ({ 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,
@@ -32992,7 +32992,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), the = ({ 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" })), $me = ({ 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,
@@ -33000,88 +33000,88 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: 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" })), nhe = (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" })), ehe = (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;
-}, rhe = (e, t) => ({
+}, the = (e, t) => ({
classGroupId: e,
validator: t
-}), ihe = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), nhe = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), vk = "-", ahe = [], ohe = "arbitrary..", she = (e) => {
- let t = uhe(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), bk = "-", rhe = [], ihe = "arbitrary..", ahe = (e) => {
+ let t = che(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return lhe(e);
- let n = e.split(vk);
- return che(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return she(e);
+ let n = e.split(bk);
+ return ohe(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? nhe(i, t) : t : i || ahe;
+ return t ? i ? ehe(i, t) : t : i || rhe;
}
- return n[e] || ahe;
+ return n[e] || rhe;
}
};
-}, che = (e, t, n) => {
+}, ohe = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = che(e, t + 1, i);
+ let n = ohe(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(vk) : e.slice(t).join(vk), s = a.length;
+ let o = t === 0 ? e.join(bk) : e.slice(t).join(bk), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, lhe = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, she = (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 ? ohe + r : void 0;
-})(), uhe = (e) => {
+ return r ? ihe + r : void 0;
+})(), che = (e) => {
let { theme: t, classGroups: n } = e;
- return dhe(n, t);
-}, dhe = (e, t) => {
- let n = ihe();
+ return lhe(n, t);
+}, lhe = (e, t) => {
+ let n = nhe();
for (let r in e) {
let i = e[r];
- yk(i, n, r, t);
+ xk(i, n, r, t);
}
return n;
-}, yk = (e, t, n, r) => {
+}, xk = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- fhe(i, t, n, r);
+ uhe(i, t, n, r);
}
-}, fhe = (e, t, n, r) => {
- typeof e == "string" ? phe(e, t, n) : typeof e == "function" ? mhe(e, t, n, r) : hhe(e, t, n, r);
-}, phe = (e, t, n) => {
- let r = e === "" ? t : ghe(t, e);
+}, uhe = (e, t, n, r) => {
+ typeof e == "string" ? dhe(e, t, n) : typeof e == "function" ? fhe(e, t, n, r) : phe(e, t, n, r);
+}, dhe = (e, t, n) => {
+ let r = e === "" ? t : mhe(t, e);
r.classGroupId = n;
-}, mhe = (e, t, n, r) => {
- _he(e) ? yk(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(rhe(n, e)));
-}, hhe = (e, t, n, r) => {
+}, fhe = (e, t, n, r) => {
+ hhe(e) ? xk(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(the(n, e)));
+}, phe = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- yk(o, ghe(t, a), n, r);
+ xk(o, mhe(t, a), n, r);
}
-}, ghe = (e, t) => {
- let n = e, r = t.split(vk), i = r.length;
+}, mhe = (e, t) => {
+ let n = e, r = t.split(bk), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = ihe(), n.nextPart.set(t, i)), n = i;
+ i || (i = nhe(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, _he = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, vhe = (e) => {
+}, hhe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ghe = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -33099,19 +33099,19 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
e in n ? n[e] = t : i(e, t);
}
};
-}, bk = "!", yhe = ":", bhe = [], xhe = (e, t, n, r, i) => ({
+}, Sk = "!", _he = ":", vhe = [], yhe = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), She = (e) => {
+}), bhe = (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 === yhe) {
+ if (o === _he) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -33123,13 +33123,13 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(bk) ? (c = s.slice(0, -1), l = !0) : s.startsWith(bk) && (c = s.slice(1), l = !0);
+ s.endsWith(Sk) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Sk) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return xhe(t, l, c, u);
+ return yhe(t, l, c, u);
};
if (t) {
- let e = t + yhe, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : xhe(bhe, !1, t, void 0, !0);
+ let e = t + _he, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : yhe(vhe, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -33139,7 +33139,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
});
}
return r;
-}, Che = (e) => {
+}, xhe = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -33151,18 +33151,18 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, whe = (e) => ({
- cache: vhe(e.cacheSize),
- parseClassName: She(e),
- sortModifiers: Che(e),
- postfixLookupClassGroupIds: The(e),
- ...she(e)
-}), The = (e) => {
+}, She = (e) => ({
+ cache: ghe(e.cacheSize),
+ parseClassName: bhe(e),
+ sortModifiers: xhe(e),
+ postfixLookupClassGroupIds: Che(e),
+ ...ahe(e)
+}), Che = (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;
-}, Ehe = /\s+/, Dhe = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Ehe), l = "";
+}, whe = /\s+/, The = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(whe), 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) {
@@ -33182,7 +33182,7 @@ var Cme = ({ 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 ? _ + bk : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Sk : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -33193,34 +33193,34 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, Ohe = (...e) => {
+}, Ehe = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = khe(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = Dhe(n)) && (i && (i += " "), i += r);
return i;
-}, khe = (e) => {
+}, Dhe = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = khe(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = Dhe(e[r])) && (n && (n += " "), n += t);
return n;
-}, Ahe = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = whe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, Ohe = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = She(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 = Dhe(e, n);
+ let a = The(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(Ohe(...e));
-}, jhe = [], xk = (e) => {
- let t = (t) => t[e] || jhe;
+ return a = o, (...e) => a(Ehe(...e));
+}, khe = [], Ck = (e) => {
+ let t = (t) => t[e] || khe;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, Mhe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Nhe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Phe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Fhe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ihe = /\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$/, Lhe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Rhe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zhe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Sk = (e) => Phe.test(e), Ck = (e) => !!e && !Number.isNaN(Number(e)), wk = (e) => !!e && Number.isInteger(Number(e)), Tk = (e) => e.endsWith("%") && Ck(e.slice(0, -1)), Ek = (e) => Fhe.test(e), Bhe = () => !0, Vhe = (e) => Ihe.test(e) && !Lhe.test(e), Dk = () => !1, Hhe = (e) => Rhe.test(e), Uhe = (e) => zhe.test(e), Whe = (e) => !Ok(e) && !jk(e), Ghe = (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)), Khe = (e) => Pk(e, age, Dk), Ok = (e) => Mhe.test(e), kk = (e) => Pk(e, oge, Vhe), qhe = (e) => Pk(e, sge, Ck), Jhe = (e) => Pk(e, lge, Bhe), Yhe = (e) => Pk(e, cge, Dk), Xhe = (e) => Pk(e, rge, Dk), Zhe = (e) => Pk(e, ige, Uhe), Ak = (e) => Pk(e, uge, Hhe), jk = (e) => Nhe.test(e), Mk = (e) => Fk(e, oge), Qhe = (e) => Fk(e, cge), $he = (e) => Fk(e, rge), ege = (e) => Fk(e, age), tge = (e) => Fk(e, ige), Nk = (e) => Fk(e, uge, !0), nge = (e) => Fk(e, lge, !0), Pk = (e, t, n) => {
- let r = Mhe.exec(e);
+}, Ahe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, jhe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Mhe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Nhe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Phe = /\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$/, Fhe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Ihe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Lhe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, wk = (e) => Mhe.test(e), Tk = (e) => !!e && !Number.isNaN(Number(e)), Ek = (e) => !!e && Number.isInteger(Number(e)), Dk = (e) => e.endsWith("%") && Tk(e.slice(0, -1)), Ok = (e) => Nhe.test(e), Rhe = () => !0, zhe = (e) => Phe.test(e) && !Fhe.test(e), kk = () => !1, Bhe = (e) => Ihe.test(e), Vhe = (e) => Lhe.test(e), Hhe = (e) => !Ak(e) && !Nk(e), Uhe = (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)), Whe = (e) => Ik(e, rge, kk), Ak = (e) => Ahe.test(e), jk = (e) => Ik(e, ige, zhe), Ghe = (e) => Ik(e, age, Tk), Khe = (e) => Ik(e, sge, Rhe), qhe = (e) => Ik(e, oge, kk), Jhe = (e) => Ik(e, tge, kk), Yhe = (e) => Ik(e, nge, Vhe), Mk = (e) => Ik(e, cge, Bhe), Nk = (e) => jhe.test(e), Pk = (e) => Lk(e, ige), Xhe = (e) => Lk(e, oge), Zhe = (e) => Lk(e, tge), Qhe = (e) => Lk(e, rge), $he = (e) => Lk(e, nge), Fk = (e) => Lk(e, cge, !0), ege = (e) => Lk(e, sge, !0), Ik = (e, t, n) => {
+ let r = Ahe.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, Fk = (e, t, n = !1) => {
- let r = Nhe.exec(e);
+}, Lk = (e, t, n = !1) => {
+ let r = jhe.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, rge = (e) => e === "position" || e === "percentage", ige = (e) => e === "image" || e === "url", age = (e) => e === "length" || e === "size" || e === "bg-size", oge = (e) => e === "length", sge = (e) => e === "number", cge = (e) => e === "family-name", lge = (e) => e === "number" || e === "weight", uge = (e) => e === "shadow", dge = () => {
- let e = xk("color"), t = xk("font"), n = xk("text"), r = xk("font-weight"), i = xk("tracking"), a = xk("leading"), o = xk("breakpoint"), s = xk("container"), c = xk("spacing"), l = xk("radius"), u = xk("shadow"), d = xk("inset-shadow"), f = xk("text-shadow"), p = xk("drop-shadow"), m = xk("blur"), h = xk("perspective"), g = xk("aspect"), _ = xk("ease"), v = xk("animate"), y = () => [
+}, tge = (e) => e === "position" || e === "percentage", nge = (e) => e === "image" || e === "url", rge = (e) => e === "length" || e === "size" || e === "bg-size", ige = (e) => e === "length", age = (e) => e === "number", oge = (e) => e === "family-name", sge = (e) => e === "number" || e === "weight", cge = (e) => e === "shadow", lge = () => {
+ let e = Ck("color"), t = Ck("font"), n = Ck("text"), r = Ck("font-weight"), i = Ck("tracking"), a = Ck("leading"), o = Ck("breakpoint"), s = Ck("container"), c = Ck("spacing"), l = Ck("radius"), u = Ck("shadow"), d = Ck("inset-shadow"), f = Ck("text-shadow"), p = Ck("drop-shadow"), m = Ck("blur"), h = Ck("perspective"), g = Ck("aspect"), _ = Ck("ease"), v = Ck("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -33245,8 +33245,8 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"left-bottom"
], x = () => [
...b(),
- jk,
- Ok
+ Nk,
+ Ak
], S = () => [
"auto",
"hidden",
@@ -33258,43 +33258,43 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"contain",
"none"
], w = () => [
- jk,
- Ok,
+ Nk,
+ Ak,
c
], T = () => [
- Sk,
+ wk,
"full",
"auto",
...w()
], E = () => [
- wk,
+ Ek,
"none",
"subgrid",
- jk,
- Ok
+ Nk,
+ Ak
], D = () => [
"auto",
{ span: [
"full",
- wk,
- jk,
- Ok
+ Ek,
+ Nk,
+ Ak
] },
- wk,
- jk,
- Ok
+ Ek,
+ Nk,
+ Ak
], O = () => [
- wk,
+ Ek,
"auto",
- jk,
- Ok
+ Nk,
+ Ak
], k = () => [
"auto",
"min",
"max",
"fr",
- jk,
- Ok
+ Nk,
+ Ak
], A = () => [
"start",
"end",
@@ -33314,7 +33314,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- Sk,
+ wk,
"auto",
"full",
"dvw",
@@ -33329,7 +33329,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
...w()
], P = () => [
s,
- Sk,
+ wk,
"screen",
"full",
"dvw",
@@ -33340,7 +33340,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"fit",
...w()
], ee = () => [
- Sk,
+ wk,
"screen",
"full",
"lh",
@@ -33353,13 +33353,13 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
...w()
], F = () => [
e,
- jk,
- Ok
+ Nk,
+ Ak
], te = () => [
...b(),
- $he,
- Xhe,
- { position: [jk, Ok] }
+ Zhe,
+ Jhe,
+ { position: [Nk, Ak] }
], I = () => ["no-repeat", { repeat: [
"",
"x",
@@ -33370,25 +33370,25 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"auto",
"cover",
"contain",
- ege,
- Khe,
- { size: [jk, Ok] }
+ Qhe,
+ Whe,
+ { size: [Nk, Ak] }
], re = () => [
- Tk,
- Mk,
- kk
+ Dk,
+ Pk,
+ jk
], ie = () => [
"",
"none",
"full",
l,
- jk,
- Ok
+ Nk,
+ Ak
], ae = () => [
"",
- Ck,
- Mk,
- kk
+ Tk,
+ Pk,
+ jk
], oe = () => [
"solid",
"dashed",
@@ -33412,32 +33412,32 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"color",
"luminosity"
], ce = () => [
- Ck,
Tk,
- $he,
- Xhe
+ Dk,
+ Zhe,
+ Jhe
], le = () => [
"",
"none",
m,
- jk,
- Ok
+ Nk,
+ Ak
], ue = () => [
"none",
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
], de = () => [
"none",
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
], fe = () => [
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
], pe = () => [
- Sk,
+ wk,
"full",
...w()
];
@@ -33451,17 +33451,17 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"bounce"
],
aspect: ["video"],
- blur: [Ek],
- breakpoint: [Ek],
- color: [Bhe],
- container: [Ek],
- "drop-shadow": [Ek],
+ blur: [Ok],
+ breakpoint: [Ok],
+ color: [Rhe],
+ container: [Ok],
+ "drop-shadow": [Ok],
ease: [
"in",
"out",
"in-out"
],
- font: [Whe],
+ font: [Hhe],
"font-weight": [
"thin",
"extralight",
@@ -33473,7 +33473,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"extrabold",
"black"
],
- "inset-shadow": [Ek],
+ "inset-shadow": [Ok],
leading: [
"none",
"tight",
@@ -33490,11 +33490,11 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"distant",
"none"
],
- radius: [Ek],
- shadow: [Ek],
- spacing: ["px", Ck],
- text: [Ek],
- "text-shadow": [Ek],
+ radius: [Ok],
+ shadow: [Ok],
+ spacing: ["px", Tk],
+ text: [Ok],
+ "text-shadow": [Ok],
tracking: [
"tighter",
"tight",
@@ -33508,9 +33508,9 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
aspect: [{ aspect: [
"auto",
"square",
- Sk,
- Ok,
- jk,
+ wk,
+ Ak,
+ Nk,
g
] }],
container: ["container"],
@@ -33518,15 +33518,15 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"",
"normal",
"size",
- jk,
- Ok
+ Nk,
+ Ak
] }],
- "container-named": [Ghe],
+ "container-named": [Uhe],
columns: [{ columns: [
- Ck,
+ Tk,
"auto",
- Ok,
- jk,
+ Ak,
+ Nk,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -33623,13 +33623,13 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"collapse"
],
z: [{ z: [
- wk,
+ Ek,
"auto",
- jk,
- Ok
+ Nk,
+ Ak
] }],
basis: [{ basis: [
- Sk,
+ wk,
"full",
"auto",
s,
@@ -33647,32 +33647,32 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"wrap-reverse"
] }],
flex: [{ flex: [
- Ck,
- Sk,
+ Tk,
+ wk,
"auto",
"initial",
"none",
- Ok
+ Ak
] }],
grow: [{ grow: [
"",
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
shrink: [{ shrink: [
"",
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
order: [{ order: [
- wk,
+ Ek,
"first",
"last",
"none",
- jk,
- Ok
+ Nk,
+ Ak
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -33779,15 +33779,15 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"font-size": [{ text: [
"base",
n,
- Mk,
- kk
+ Pk,
+ jk
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- nge,
- Jhe
+ ege,
+ Khe
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -33799,15 +33799,15 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"expanded",
"extra-expanded",
"ultra-expanded",
- Tk,
- Ok
+ Dk,
+ Ak
] }],
"font-family": [{ font: [
- Qhe,
- Yhe,
+ Xhe,
+ qhe,
t
] }],
- "font-features": [{ "font-features": [Ok] }],
+ "font-features": [{ "font-features": [Ak] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -33816,14 +33816,14 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- jk,
- Ok
+ Nk,
+ Ak
] }],
"line-clamp": [{ "line-clamp": [
- Ck,
+ Tk,
"none",
- jk,
- qhe
+ Nk,
+ Ghe
] }],
leading: [{ leading: [
"none",
@@ -33832,16 +33832,16 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
"list-image": [{ "list-image": [
"none",
- jk,
- Ok
+ Nk,
+ Ak
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- jk,
- Ok
+ Nk,
+ Ak
] }],
"text-alignment": [{ text: [
"left",
@@ -33861,18 +33861,18 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
],
"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- Ck,
+ Tk,
"from-font",
"auto",
- jk,
- kk
+ Nk,
+ jk
] }],
"text-decoration-color": [{ decoration: F() }],
"underline-offset": [{ "underline-offset": [
- Ck,
+ Tk,
"auto",
- jk,
- Ok
+ Nk,
+ Ak
] }],
"text-transform": [
"uppercase",
@@ -33893,9 +33893,9 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- wk,
- jk,
- Ok
+ Ek,
+ Nk,
+ Ak
] }],
"vertical-align": [{ align: [
"baseline",
@@ -33906,8 +33906,8 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"text-bottom",
"sub",
"super",
- jk,
- Ok
+ Nk,
+ Ak
] }],
whitespace: [{ whitespace: [
"normal",
@@ -33935,8 +33935,8 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
content: [{ content: [
"none",
- jk,
- Ok
+ Nk,
+ Ak
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -33971,24 +33971,24 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"l",
"tl"
] },
- wk,
- jk,
- Ok
+ Ek,
+ Nk,
+ Ak
],
radial: [
"",
- jk,
- Ok
+ Nk,
+ Ak
],
conic: [
"",
- wk,
- jk,
- Ok
+ Ek,
+ Nk,
+ Ak
]
},
- tge,
- Zhe
+ $he,
+ Yhe
] }],
"bg-color": [{ bg: F() }],
"gradient-from-pos": [{ from: re() }],
@@ -34055,15 +34055,15 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
"outline-w": [{ outline: [
"",
- Ck,
- Mk,
- kk
+ Tk,
+ Pk,
+ jk
] }],
"outline-color": [{ outline: F() }],
shadow: [{ shadow: [
@@ -34071,35 +34071,35 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"inner",
"none",
u,
- Nk,
- Ak
+ Fk,
+ Mk
] }],
"shadow-color": [{ shadow: F() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- Nk,
- Ak
+ Fk,
+ Mk
] }],
"inset-shadow-color": [{ "inset-shadow": F() }],
"ring-w": [{ ring: ae() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: F() }],
- "ring-offset-w": [{ "ring-offset": [Ck, kk] }],
+ "ring-offset-w": [{ "ring-offset": [Tk, jk] }],
"ring-offset-color": [{ "ring-offset": F() }],
"inset-ring-w": [{ "inset-ring": ae() }],
"inset-ring-color": [{ "inset-ring": F() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- Nk,
- Ak
+ Fk,
+ Mk
] }],
"text-shadow-color": [{ "text-shadow": F() }],
opacity: [{ opacity: [
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
"mix-blend": [{ "mix-blend": [
...se(),
@@ -34121,7 +34121,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [Ck] }],
+ "mask-image-linear-pos": [{ "mask-linear": [Tk] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": ce() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": ce() }],
"mask-image-linear-from-color": [{ "mask-linear-from": F() }],
@@ -34150,7 +34150,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"mask-image-y-to-pos": [{ "mask-y-to": ce() }],
"mask-image-y-from-color": [{ "mask-y-from": F() }],
"mask-image-y-to-color": [{ "mask-y-to": F() }],
- "mask-image-radial": [{ "mask-radial": [jk, Ok] }],
+ "mask-image-radial": [{ "mask-radial": [Nk, Ak] }],
"mask-image-radial-from-pos": [{ "mask-radial-from": ce() }],
"mask-image-radial-to-pos": [{ "mask-radial-to": ce() }],
"mask-image-radial-from-color": [{ "mask-radial-from": F() }],
@@ -34161,7 +34161,7 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [Ck] }],
+ "mask-image-conic-pos": [{ "mask-conic": [Tk] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": ce() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": ce() }],
"mask-image-conic-from-color": [{ "mask-conic-from": F() }],
@@ -34185,111 +34185,111 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- jk,
- Ok
+ Nk,
+ Ak
] }],
filter: [{ filter: [
"",
"none",
- jk,
- Ok
+ Nk,
+ Ak
] }],
blur: [{ blur: le() }],
brightness: [{ brightness: [
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
contrast: [{ contrast: [
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- Nk,
- Ak
+ Fk,
+ Mk
] }],
"drop-shadow-color": [{ "drop-shadow": F() }],
grayscale: [{ grayscale: [
"",
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
"hue-rotate": [{ "hue-rotate": [
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
invert: [{ invert: [
"",
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
saturate: [{ saturate: [
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
sepia: [{ sepia: [
"",
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- jk,
- Ok
+ Nk,
+ Ak
] }],
"backdrop-blur": [{ "backdrop-blur": le() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -34305,39 +34305,39 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"shadow",
"transform",
"none",
- jk,
- Ok
+ Nk,
+ Ak
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- Ck,
+ Tk,
"initial",
- jk,
- Ok
+ Nk,
+ Ak
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- jk,
- Ok
+ Nk,
+ Ak
] }],
delay: [{ delay: [
- Ck,
- jk,
- Ok
+ Tk,
+ Nk,
+ Ak
] }],
animate: [{ animate: [
"none",
v,
- jk,
- Ok
+ Nk,
+ Ak
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- jk,
- Ok
+ Nk,
+ Ak
] }],
"perspective-origin": [{ "perspective-origin": x() }],
rotate: [{ rotate: ue() }],
@@ -34353,8 +34353,8 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"skew-x": [{ "skew-x": fe() }],
"skew-y": [{ "skew-y": fe() }],
transform: [{ transform: [
- jk,
- Ok,
+ Nk,
+ Ak,
"",
"none",
"gpu",
@@ -34368,9 +34368,9 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"translate-z": [{ "translate-z": pe() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- wk,
- jk,
- Ok
+ Ek,
+ Nk,
+ Ak
] }],
accent: [{ accent: F() }],
appearance: [{ appearance: ["none", "auto"] }],
@@ -34420,8 +34420,8 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"nwse-resize",
"zoom-in",
"zoom-out",
- jk,
- Ok
+ Nk,
+ Ak
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -34507,15 +34507,15 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"scroll",
"contents",
"transform",
- jk,
- Ok
+ Nk,
+ Ak
] }],
fill: [{ fill: ["none", ...F()] }],
"stroke-w": [{ stroke: [
- Ck,
- Mk,
- kk,
- qhe
+ Tk,
+ Pk,
+ jk,
+ Ghe
] }],
stroke: [{ stroke: ["none", ...F()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -34773,16 +34773,16 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"selection"
]
};
-}, fge = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Ik(e, "cacheSize", t), Ik(e, "prefix", n), Ik(e, "experimentalParseClassName", r), Lk(e.theme, a.theme), Lk(e.classGroups, a.classGroups), Lk(e.conflictingClassGroups, a.conflictingClassGroups), Lk(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Ik(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Ik(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Rk(e.theme, i.theme), Rk(e.classGroups, i.classGroups), Rk(e.conflictingClassGroups, i.conflictingClassGroups), Rk(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), zk(e, i, "postfixLookupClassGroups"), zk(e, i, "orderSensitiveModifiers"), e), Ik = (e, t, n) => {
+}, uge = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Rk(e, "cacheSize", t), Rk(e, "prefix", n), Rk(e, "experimentalParseClassName", r), zk(e.theme, a.theme), zk(e.classGroups, a.classGroups), zk(e.conflictingClassGroups, a.conflictingClassGroups), zk(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Rk(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Rk(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Bk(e.theme, i.theme), Bk(e.classGroups, i.classGroups), Bk(e.conflictingClassGroups, i.conflictingClassGroups), Bk(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), Vk(e, i, "postfixLookupClassGroups"), Vk(e, i, "orderSensitiveModifiers"), e), Rk = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, Lk = (e, t) => {
- if (t) for (let n in t) Ik(e, n, t[n]);
-}, Rk = (e, t) => {
- if (t) for (let n in t) zk(e, t, n);
-}, zk = (e, t, n) => {
+}, zk = (e, t) => {
+ if (t) for (let n in t) Rk(e, n, t[n]);
+}, Bk = (e, t) => {
+ if (t) for (let n in t) Vk(e, t, n);
+}, Vk = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, pge = (e, ...t) => typeof e == "function" ? Ahe(dge, e, ...t) : Ahe(() => fge(dge(), e), ...t), mge = [
+}, dge = (e, ...t) => typeof e == "function" ? Ohe(lge, e, ...t) : Ohe(() => uge(lge(), e), ...t), fge = [
"large-title",
"display-1",
"display-2",
@@ -34796,18 +34796,18 @@ var Cme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"body-2",
"caption-1",
"caption-2"
-], hge = [
+], pge = [
"regular",
"medium",
"semibold",
"bold"
-], Bk = pge({ extend: { classGroups: { "font-size": [{ text: mge.flatMap((e) => hge.map((t) => `${e}-${t}`)) }] } } });
-function Vk(e) {
+], Hk = dge({ extend: { classGroups: { "font-size": [{ text: fge.flatMap((e) => pge.map((t) => `${e}-${t}`)) }] } } });
+function Uk(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var Hk = Vk({
+var Wk = Uk({
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",
@@ -34826,16 +34826,16 @@ var Hk = Vk({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function Uk({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function Gk({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
ref: r,
- className: Bk(Hk.base, Hk.variant[e], Hk.color[t], n),
+ className: Hk(Wk.base, Wk.variant[e], Wk.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var Wk = Vk({
+var Kk = Uk({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -34894,40 +34894,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, x.jsxs)("button", {
ref: c,
type: s,
- className: Bk(Wk.base, Wk.size[t], Wk.variant[e], n && Wk.iconOnlySize[t], o),
+ className: Hk(Kk.base, Kk.size[t], Kk.variant[e], n && Kk.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: Wk.icon[t],
+ className: Kk.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: Wk.label[t],
+ className: Kk.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {
- className: Wk.icon[t],
+ className: Kk.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function Gk({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function qk({ 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: Bk(Wk.base, Wk.size[t], Wk.variant[e], n && Wk.iconOnlySize[t], o),
+ className: Hk(Kk.base, Kk.size[t], Kk.variant[e], n && Kk.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: Wk.icon[t],
+ className: Kk.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: Wk.label[t],
+ className: Kk.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {
- className: Wk.icon[t],
+ className: Kk.icon[t],
"aria-hidden": !0
}) : null
]
@@ -34935,47 +34935,47 @@ function Gk({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/react/components/card.tsx
-var gge = "min-w-0", _ge = {
+var mge = "min-w-0", hge = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, vge = {
+}, gge = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, yge = {
+}, _ge = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, bge = {
+}, vge = {
none: "",
default: "p-5"
-}, xge = "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", Sge = "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 Kk(e = {}) {
+}, yge = "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", bge = "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 Jk(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 [
- gge,
- _ge[t],
- vge[s],
- bge[n],
- a ? yge[a] : "",
- r ? xge : "",
- i ? Sge : "",
+ mge,
+ hge[t],
+ gge[s],
+ vge[n],
+ a ? _ge[a] : "",
+ r ? yge : "",
+ i ? bge : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var Cge = {
+var xge = {
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 qk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function Yk({ 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 ${Cge[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${xge[i]}`,
children: [
a ? /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
@@ -35005,7 +35005,7 @@ function qk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function Jk({ label: e, inline: t = !1 }) {
+function Xk({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, x.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex shrink-0 items-center gap-1",
@@ -35074,7 +35074,7 @@ function K({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function Yk({ children: e }) {
+function Zk({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -35082,21 +35082,21 @@ function Yk({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var Xk = 100, wge = .4;
-function Zk({ 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 * Xk;
+var Qk = 100, Sge = .4;
+function $k({ 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 * Qk;
return /* @__PURE__ */ (0, x.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": i,
"aria-valuenow": a(t),
- viewBox: `0 0 ${Xk} 1`,
+ viewBox: `0 0 ${Qk} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, x.jsx)("rect", {
- width: Xk,
+ width: Qk,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -35107,7 +35107,7 @@ function Zk({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, x.jsx)("rect", {
x: o(e),
- width: wge,
+ width: Sge,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -35124,7 +35124,7 @@ function q(e) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function Qk(e = "") {
+function eA(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) {
@@ -35150,21 +35150,21 @@ function Qk(e = "") {
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function Tge({ className: e, children: t }) {
+function Cge({ className: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: Bk("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: Hk("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function Ege({ className: e, children: t }) {
+function wge({ className: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
- className: Bk("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: Hk("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function $k({ label: e, description: t, children: n }) {
+function tA({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Bk("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: Hk("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", {
@@ -35179,7 +35179,7 @@ function $k({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var eA = Vk({
+var nA = Uk({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -35203,15 +35203,15 @@ var eA = Vk({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function tA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = Bk(eA.base, eA.size[t], eA.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+function rA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = Hk(nA.base, nA.size[t], nA.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
n ? /* @__PURE__ */ (0, x.jsx)(n, {
- className: eA.icon[t],
+ className: nA.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, x.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: eA.icon[t],
+ className: nA.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -35238,7 +35238,7 @@ function tA({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/settings/section.tsx
-function nA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
+function iA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
let o = t ? /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex items-center gap-1.5",
children: [t, e]
@@ -35246,12 +35246,12 @@ function nA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
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)(Ege, { children: o })
+ children: /* @__PURE__ */ (0, x.jsx)(wge, { children: o })
}), /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex min-w-0 max-w-full",
children: r
})]
- }) : /* @__PURE__ */ (0, x.jsx)(Ege, { children: o }), /* @__PURE__ */ (0, x.jsx)(Tge, { children: a })] });
+ }) : /* @__PURE__ */ (0, x.jsx)(wge, { children: o }), /* @__PURE__ */ (0, x.jsx)(Cge, { children: a })] });
return i ? /* @__PURE__ */ (0, x.jsx)("form", {
id: n,
"aria-label": e,
@@ -35266,13 +35266,13 @@ function nA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
children: s
});
}
-function rA({ children: e }) {
+function aA({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function iA({ divided: e = !1, children: t }) {
+function oA({ 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
@@ -35281,7 +35281,7 @@ function iA({ divided: e = !1, children: t }) {
children: t
});
}
-function aA({ status: e, children: t }) {
+function sA({ 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", {
@@ -35290,34 +35290,34 @@ function aA({ status: e, children: t }) {
}) : null, t]
});
}
-function oA({ role: e, children: t }) {
+function cA({ role: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function sA({ children: e }) {
+function lA({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function cA({ children: e }) {
+function uA({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function lA({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, x.jsx)(tA, {
+function dA({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, x.jsx)(rA, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: fk,
+ trailingIcon: mk,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -35325,13 +35325,13 @@ function lA({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function uA({ children: e }) {
+function fA({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function dA({ term: e, children: t }) {
+function pA({ 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", {
@@ -35343,7 +35343,7 @@ function dA({ term: e, children: t }) {
})]
});
}
-function fA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i }) {
+function mA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i }) {
let a = (0, b.useId)(), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(!1), [l, u] = (0, b.useState)(t);
return /* @__PURE__ */ (0, x.jsxs)("details", {
ref: (e) => {
@@ -35357,12 +35357,12 @@ function fA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, on
},
className: `${r ? "w-full" : "w-fit"} flex 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: [
- r ? null : /* @__PURE__ */ (0, x.jsx)(sk, {
+ r ? null : /* @__PURE__ */ (0, x.jsx)(lk, {
"aria-hidden": !0,
className: l ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}),
e,
- r ? /* @__PURE__ */ (0, x.jsx)(sk, {
+ r ? /* @__PURE__ */ (0, x.jsx)(lk, {
"aria-hidden": !0,
className: l ? "ml-auto size-4 shrink-0 -rotate-90 transition-transform" : "ml-auto size-4 shrink-0 rotate-90 transition-transform"
}) : null
@@ -35378,7 +35378,7 @@ function fA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, on
})]
});
}
-function Dge({ name: e }) {
+function Tge({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -35387,22 +35387,22 @@ function Dge({ name: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function pA({ mark: e }) {
+function hA({ 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)(Dge, { name: e });
+ }) : /* @__PURE__ */ (0, x.jsx)(Tge, { name: e });
}
//#endregion
//#region src/react/activity/tasks.ts
-var mA = "/api/tasks", hA = ["tasks"], Oge = (e, t) => V(`${mA}?${new URLSearchParams({
+var gA = "/api/tasks", _A = ["tasks"], Ege = (e, t) => V(`${gA}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function gA(...e) {
+function vA(...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) => {
@@ -35410,26 +35410,26 @@ function gA(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var kge = 2e3, Age = 1e4, jge = (e) => e?.running.length ? kge : Age, _A = (e) => V(mA, e);
-async function Mge(e) {
+var Dge = 2e3, Oge = 1e4, kge = (e) => e?.running.length ? Dge : Oge, yA = (e) => V(gA, e);
+async function Age(e) {
await U.fetchQuery({
- queryKey: hA,
- queryFn: () => _A(e)
+ queryKey: _A,
+ queryFn: () => yA(e)
});
}
-var vA = {
+var bA = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Nge = {
+}, jge = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, Pge = (e) => Nge[e] || e, Fge = {
+}, Mge = (e) => jge[e] || e, Nge = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -35459,7 +35459,7 @@ var vA = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function Ige(e) {
+function Pge(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -35468,7 +35468,7 @@ function Ige(e) {
}
return t;
}
-function Lge(e, t) {
+function Fge(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -35490,12 +35490,12 @@ function Lge(e, t) {
}
return n;
}
-var Rge = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), yA = (e) => e.status === "pending" || e.status === "running";
-function zge(e) {
+var Ige = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), xA = (e) => e.status === "pending" || e.status === "running";
+function Lge(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, SA(e.error) || wA(e.result_summary) || (yA(e) && i > 0 ? `${xA(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, wA(e.error) || EA(e.result_summary) || (xA(e) && i > 0 ? `${CA(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function bA(e) {
+function SA(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
@@ -35504,15 +35504,15 @@ function bA(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function xA(e, t) {
+function CA(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
-function SA(e) {
+function wA(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 CA(e) {
+function TA(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -35522,7 +35522,7 @@ function CA(e) {
minute: "2-digit"
});
}
-var Bge = /* @__PURE__ */ new Set([
+var Rge = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -35531,46 +35531,46 @@ var Bge = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function wA(e) {
- return Object.entries(e || {}).filter(([e, t]) => !Bge.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Fge[e] || e} ${typeof t == "number" ? t.toLocaleString() : t}`).join(" · ");
+function EA(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !Rge.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Nge[e] || e} ${typeof t == "number" ? t.toLocaleString() : t}`).join(" · ");
}
//#endregion
//#region src/react/components/source-label.tsx
-function Vge({ className: e }) {
+function zge({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, x.jsx)(pA, { mark: Ya[115] })
+ children: /* @__PURE__ */ (0, x.jsx)(hA, { mark: Ya[115] })
});
}
-function Hge({ className: e }) {
+function Bge({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, x.jsx)(pA, { mark: Ya.pikpak })
+ children: /* @__PURE__ */ (0, x.jsx)(hA, { mark: Ya.pikpak })
});
}
-var TA = {
- 115: Vge,
- pikpak: Hge
+var DA = {
+ 115: zge,
+ pikpak: Bge
};
-function EA({ source: e, label: t }) {
+function OA({ source: e, label: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(pA, { mark: Ya[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
+ children: [/* @__PURE__ */ (0, x.jsx)(hA, { mark: Ya[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
});
}
//#endregion
//#region src/react/activity/downloads-panel.tsx
-var DA = "/api/downloads", OA = ["downloads"], Uge = "/api/downloads/cancel", Wge = "/api/downloads/postprocess", kA = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Gge = {
+var kA = "/api/downloads", AA = ["downloads"], Vge = "/api/downloads/cancel", Hge = "/api/downloads/postprocess", jA = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Uge = {
ingested: "lime",
failed: "rose",
cancelled: "yellow",
stalled: "yellow"
-}, Kge = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, AA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
-function qge() {
+}, Wge = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, MA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
+function Gge() {
let e = (0, b.useId)(), t = ut({
- queryKey: OA,
- queryFn: ({ signal: e }) => V(`${DA}?limit=50`, e),
- refetchInterval: (e) => kA(e.state.data)
+ queryKey: AA,
+ queryFn: ({ signal: e }) => V(`${kA}?limit=50`, e),
+ refetchInterval: (e) => jA(e.state.data)
}), n = t.data;
return !n?.tasks.length && !t.error ? null : /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-labelledby": e,
@@ -35588,7 +35588,7 @@ function qge() {
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)(Jge, {
+ children: n.tasks.map((e) => /* @__PURE__ */ (0, x.jsx)(Kge, {
task: e,
writable: n.available
}, e.id))
@@ -35596,15 +35596,15 @@ function qge() {
]
});
}
-function Jge({ task: e, writable: t }) {
- let n = C(), r = Qk(), [i, a] = (0, b.useState)(!1), o = AA(e), s = e.state === "failed" || e.postprocess_state === "failed", c = [
+function Kge({ task: e, writable: t }) {
+ let n = C(), r = eA(), [i, a] = (0, b.useState)(!1), o = MA(e), s = e.state === "failed" || e.postprocess_state === "failed", c = [
e.code,
e.target,
- CA(e.submitted_at)
+ TA(e.submitted_at)
].filter(Boolean).join(" · "), l = () => {
- n.invalidateQueries({ queryKey: OA });
+ n.invalidateQueries({ queryKey: AA });
}, u = () => {
- r.run("cancel", (t) => H(Uge, { id: e.id }, "POST", t), l);
+ r.run("cancel", (t) => H(Vge, { id: e.id }, "POST", t), l);
}, d = () => {
let t = {
magnet: e.source_uri,
@@ -35614,16 +35614,16 @@ function Jge({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => H(DA, t, "POST", e), l);
+ r.run("resubmit", (e) => H(kA, t, "POST", e), l);
}, f = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
}, p = () => {
- r.run("postprocess", (t) => H(Wge, { id: e.id }, "POST", t), l);
+ r.run("postprocess", (t) => H(Hge, { id: e.id }, "POST", t), l);
};
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: Kk({
+ className: Jk({
padding: "none",
bordered: "line",
className: s ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -35636,13 +35636,13 @@ function Jge({ task: e, writable: t }) {
children: [
/* @__PURE__ */ (0, x.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
- children: Kge(e)
+ children: Wge(e)
}),
- /* @__PURE__ */ (0, x.jsx)(Uk, {
- color: Gge[e.state] ?? "neutral",
+ /* @__PURE__ */ (0, x.jsx)(Gk, {
+ color: Uge[e.state] ?? "neutral",
children: e.state_label
}),
- e.state === "ingested" ? /* @__PURE__ */ (0, x.jsx)(Uk, {
+ e.state === "ingested" ? /* @__PURE__ */ (0, x.jsx)(Gk, {
color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : "yellow",
children: e.postprocess_label
}) : null
@@ -35650,7 +35650,7 @@ function Jge({ task: e, writable: t }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, x.jsx)(EA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(OA, {
source: e.provider,
label: e.provider_label
}), /* @__PURE__ */ (0, x.jsx)("span", {
@@ -35658,7 +35658,7 @@ function Jge({ task: e, writable: t }) {
children: c
})]
}),
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)(Zk, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)($k, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -35667,7 +35667,7 @@ function Jge({ 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)(sA, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: r.error }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2 pt-1",
children: [
@@ -35712,8 +35712,8 @@ function Jge({ task: e, writable: t }) {
}
//#endregion
//#region src/react/activity/error-excerpt.tsx
-function jA({ text: e, className: t = "" }) {
- let [n, r] = (0, b.useState)(!1), i = (0, b.useId)(), a = String(e || "").trim(), o = SA(a);
+function NA({ text: e, className: t = "" }) {
+ let [n, r] = (0, b.useState)(!1), i = (0, b.useId)(), a = String(e || "").trim(), o = wA(a);
if (!o) return null;
let s = o !== a;
return /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -35739,23 +35739,23 @@ function jA({ text: e, className: t = "" }) {
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var Yge = {
+var qge = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function MA({ status: e }) {
- return /* @__PURE__ */ (0, x.jsx)(Uk, {
- color: Yge[e] ?? "neutral",
- children: Pge(e)
+function PA({ status: e }) {
+ return /* @__PURE__ */ (0, x.jsx)(Gk, {
+ color: qge[e] ?? "neutral",
+ children: Mge(e)
});
}
-function Xge({ rows: e }) {
+function Jge({ rows: e }) {
return /* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = zge(e);
+ let t = Lge(e);
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -35765,7 +35765,7 @@ function Xge({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, x.jsx)(MA, { status: e.status }),
+ /* @__PURE__ */ (0, x.jsx)(PA, { status: e.status }),
t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -35775,12 +35775,12 @@ function Xge({ rows: e }) {
})
});
}
-function NA({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function FA({ 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: Kk({
+ className: Jk({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -35794,7 +35794,7 @@ function NA({ 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)(MA, { status: e.status })]
+ }), /* @__PURE__ */ (0, x.jsx)(PA, { status: e.status })]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -35805,15 +35805,15 @@ function NA({ run: e, meta: t, children: n, footer: r, followups: i }) {
}),
i?.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "border-t border-separator-border px-5 py-2.5",
- children: /* @__PURE__ */ (0, x.jsx)(fA, {
+ children: /* @__PURE__ */ (0, x.jsx)(mA, {
summary: `任务明细 · ${i.length} 项`,
- defaultOpen: i.some((e) => yA(e) || e.status === "failed"),
- children: /* @__PURE__ */ (0, x.jsx)(Xge, { rows: i })
+ defaultOpen: i.some((e) => xA(e) || e.status === "failed"),
+ children: /* @__PURE__ */ (0, x.jsx)(Jge, { 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)(jA, {
+ children: /* @__PURE__ */ (0, x.jsx)(NA, {
text: r,
className: "text-caption-1-regular text-text-secondary"
})
@@ -35821,15 +35821,15 @@ function NA({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function Zge({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = bA(e.elapsed_seconds), o = [vA[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, x.jsx)(NA, {
+function Yge({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = SA(e.elapsed_seconds), o = [bA[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, x.jsx)(FA, {
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)(Zk, {
+ children: [/* @__PURE__ */ (0, x.jsx)($k, {
label: i,
value: Math.min(r, n),
max: n
@@ -35838,24 +35838,24 @@ function Zge({ run: e, followups: t }) {
children: [
i,
" · ",
- xA(r, n),
+ CA(r, n),
" 项"
]
})]
- }) : /* @__PURE__ */ (0, x.jsx)(Jk, { label: i })
+ }) : /* @__PURE__ */ (0, x.jsx)(Xk, { label: i })
});
}
-function PA({ run: e, followups: t, runs: n }) {
- let r = wA(e.result_summary), i = bA(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- vA[e.trigger] || e.trigger,
+function IA({ run: e, followups: t, runs: n }) {
+ let r = EA(e.result_summary), i = SA(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ bA[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${CA(a.finished_at)} – ${CA(e.finished_at)}`
+ `${TA(a.finished_at)} – ${TA(e.finished_at)}`
] : [
- vA[e.trigger] || e.trigger,
- CA(e.finished_at),
+ bA[e.trigger] || e.trigger,
+ TA(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, x.jsx)(NA, {
+ return /* @__PURE__ */ (0, x.jsx)(FA, {
run: e,
meta: o,
footer: e.error,
@@ -35866,7 +35866,7 @@ function PA({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function FA({ title: e, children: t }) {
+function LA({ title: e, children: t }) {
let n = (0, b.useId)();
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-labelledby": n,
@@ -35878,41 +35878,41 @@ function FA({ title: e, children: t }) {
}), t]
});
}
-function IA({ live: e = !1, children: t }) {
+function RA({ 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 Qge() {
+function Xge() {
let e = ut({
- queryKey: hA,
- queryFn: ({ signal: e }) => _A(e),
- refetchInterval: (e) => jge(e.state.data)
+ queryKey: _A,
+ queryFn: ({ signal: e }) => yA(e),
+ refetchInterval: (e) => kge(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(gA(r, s)));
+ n !== s && (c(n), r.length && s && i(vA(r, s)));
let l = dt({
- mutationFn: ({ oldest: e }) => Oge(e),
+ mutationFn: ({ oldest: e }) => Ege(e),
onSuccess: (e, { shown: t }) => {
- i((n) => gA(n, t, e.finished || [])), o(!!e.finished_has_more);
+ i((n) => vA(n, t, e.finished || [])), o(!!e.finished_has_more);
}
}), u = e.error ? B(e.error) : "";
- if (!t) return /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!t) return /* @__PURE__ */ (0, x.jsx)(Zk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: u || "读取任务中心失败"
}) });
- let d = gA(t.finished || [], r), f = [
+ let d = vA(t.finished || [], r), f = [
...t.running || [],
...t.skipped || [],
...d
- ], p = Ige(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 = Pge(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(yA)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = Lge(T, (e) => Rge(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;
- return /* @__PURE__ */ (0, x.jsxs)(Yk, { children: [
+ }, S = g.filter((e) => p.get(e.id)?.some(xA)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = Fge(T, (e) => Ige(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;
+ return /* @__PURE__ */ (0, x.jsxs)(Zk, { children: [
u ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: u
@@ -35921,20 +35921,20 @@ function Qge() {
tone: "warning",
children: t.message || "账本上还没有任务中心的表"
}) : null,
- D ? /* @__PURE__ */ (0, x.jsx)(qk, {
+ D ? /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: mk,
+ icon: gk,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(FA, {
+ /* @__PURE__ */ (0, x.jsx)(LA, {
title: "正在进行",
- children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(IA, {
+ children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(RA, {
live: !0,
- children: [C.map((e) => /* @__PURE__ */ (0, x.jsx)(Zge, {
+ children: [C.map((e) => /* @__PURE__ */ (0, x.jsx)(Yge, {
run: e,
followups: p.get(e.id)
- }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(PA, {
+ }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(IA, {
run: e,
followups: p.get(e.id)
}, e.id))]
@@ -35943,17 +35943,17 @@ function Qge() {
children: "没有任务在跑。"
})
}),
- w.length ? /* @__PURE__ */ (0, x.jsx)(FA, {
+ w.length ? /* @__PURE__ */ (0, x.jsx)(LA, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, x.jsx)(IA, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(PA, {
+ children: /* @__PURE__ */ (0, x.jsx)(RA, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(IA, {
run: e,
followups: p.get(e.id)
}, e.id)) })
}) : null,
- T.length || v ? /* @__PURE__ */ (0, x.jsxs)(FA, {
+ T.length || v ? /* @__PURE__ */ (0, x.jsxs)(LA, {
title: "最近完成",
children: [
- T.length ? /* @__PURE__ */ (0, x.jsx)(IA, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(PA, {
+ T.length ? /* @__PURE__ */ (0, x.jsx)(RA, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(IA, {
run: e,
runs: t,
followups: p.get(e.id)
@@ -35965,7 +35965,7 @@ function Qge() {
v ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: ak,
+ leadingIcon: sk,
className: "self-start",
...q(l.isPending),
onClick: y,
@@ -35974,12 +35974,12 @@ function Qge() {
]
}) : null
] }),
- /* @__PURE__ */ (0, x.jsx)(qge, {})
+ /* @__PURE__ */ (0, x.jsx)(Gge, {})
] });
}
//#endregion
//#region src/react/components/use-stuck.ts
-function LA(e) {
+function zA(e) {
(0, b.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -35997,9 +35997,9 @@ function LA(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function $ge({ title: e, children: t }) {
+function Zge({ title: e, children: t }) {
let n = (0, b.useRef)(null);
- return LA(n), /* @__PURE__ */ (0, x.jsxs)("div", {
+ return zA(n), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -36012,52 +36012,52 @@ function $ge({ title: e, children: t }) {
}), t]
});
}
-function RA({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function BA({ 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 LA(d), /* @__PURE__ */ (0, x.jsxs)("div", {
+ return zA(d), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: Bk("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: Hk("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: Bk("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: Hk("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: Bk("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: Hk("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
})
]
});
}
-var e_e = "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 zA({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var Qge = "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 VA({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: Bk(e_e, r),
+ className: Hk(Qge, r),
onClick: n,
children: e
});
}
-var t_e = "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 BA({ children: e, onPress: t, busy: n = !1 }) {
+var $ge = "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 HA({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: t_e,
+ className: $ge,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -36068,13 +36068,13 @@ function BA({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/components/use-view-glide.ts
-var VA = (e, t) => [
+var UA = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function HA(e, t, n) {
+function WA(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;
@@ -36098,17 +36098,17 @@ function HA(e, t, n) {
h: e.offsetHeight
};
}
-function UA(e, t, n, r, { axis: i = "x" } = {}) {
+function GA(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 ? HA(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? WA(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 && VA(f, d)) && Ko(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && UA(f, d)) && Ko(s, o ? f : null, d, i);
}, [
e,
t,
@@ -36129,8 +36129,8 @@ function UA(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 ? HA(o, r, i) : null, l = a.current;
- (!s || !l || !VA(s, l)) && c();
+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? WA(o, r, i) : null, l = a.current;
+ (!s || !l || !UA(s, l)) && c();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -36162,12 +36162,12 @@ function UA(e, t, n, r, { axis: i = "x" } = {}) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var WA = Symbol("default");
-function GA({ values: e, children: t }) {
+var KA = Symbol("default");
+function qA({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ b.createElement(n.Provider, { value: r }, t);
return t;
}
-function KA(e) {
+function JA(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;
@@ -36201,11 +36201,11 @@ function KA(e) {
c
]);
}
-function qA(e, t) {
+function YA(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 || WA;
+ let e = t || KA;
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}.`);
@@ -36214,8 +36214,8 @@ function qA(e, t) {
}
return n;
}
-function JA(e, t, n) {
- let { ref: r, ...i } = qA(n, e.slot) || {}, a = kv((0, b.useMemo)(() => Cv(t, r), [t, r])), o = Tv(i, e);
+function XA(e, t, n) {
+ let { ref: r, ...i } = YA(n, e.slot) || {}, a = Av((0, b.useMemo)(() => wv(t, r), [t, r])), o = Ev(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,
@@ -36233,42 +36233,42 @@ function JA(e, t, n) {
...e.style
}), [o, a];
}
-function YA(e = !0) {
+function ZA(e = !0) {
let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(!1), i = (0, b.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return B_(() => {
+ return V_(() => {
r.current || n(!1);
}, []), [i, t];
}
-function XA(e) {
+function QA(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function n_e(e, t, n) {
- let { render: r, ...i } = t, a = (0, b.useRef)(null), o = (0, b.useMemo)(() => Cv(n, a), [n, a]);
- B_(() => {}, [e, r]);
+function e_e(e, t, n) {
+ let { render: r, ...i } = t, a = (0, b.useRef)(null), o = (0, b.useMemo)(() => wv(n, a), [n, a]);
+ V_(() => {}, [e, r]);
let s = {
...i,
ref: o
};
return r ? r(s, void 0) : /*#__PURE__*/ b.createElement(e, s);
}
-var ZA = {}, QA = new Proxy({}, { get(e, t) {
+var $A = {}, ej = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = ZA[t];
- return n || (n = /*#__PURE__*/ (0, b.forwardRef)(n_e.bind(null, t)), ZA[t] = n), n;
-} }), $A = /*#__PURE__*/ (0, b.createContext)(null), ej = /*#__PURE__*/ (0, b.createContext)(null), tj = /*#__PURE__*/ (0, b.createContext)(null), nj = {
+ let n = $A[t];
+ return n || (n = /*#__PURE__*/ (0, b.forwardRef)(e_e.bind(null, t)), $A[t] = n), n;
+} }), tj = /*#__PURE__*/ (0, b.createContext)(null), nj = /*#__PURE__*/ (0, b.createContext)(null), rj = /*#__PURE__*/ (0, b.createContext)(null), ij = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return rj(e, null, t);
+ return aj(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return rj(e, t, n);
+ return aj(e, t, n);
}
};
-function rj(e, t, n) {
- return C_({
+function aj(e, t, n) {
+ return w_({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -36278,11 +36278,11 @@ function rj(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, r_e(e, t, n));
+ }), r, t_e(e, t, n));
}
});
}
-function r_e(e, t, n) {
+function t_e(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);
@@ -36301,25 +36301,25 @@ function r_e(e, t, n) {
}
return s;
}
-var ij = /*#__PURE__*/ (0, b.createContext)(nj);
-function aj(e) {
+var oj = /*#__PURE__*/ (0, b.createContext)(ij);
+function sj(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 oj = /*#__PURE__*/ (0, b.createContext)({}), i_e = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, oj);
- let { elementType: n = "label", ...r } = e, i = QA[n];
+var cj = /*#__PURE__*/ (0, b.createContext)({}), n_e = /*#__PURE__*/ Fv(function(e, t) {
+ [e, t] = XA(e, t, cj);
+ let { elementType: n = "label", ...r } = e, i = ej[n];
return /*#__PURE__*/ b.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), a_e = /*#__PURE__*/ (0, b.createContext)(null), sj = /*#__PURE__*/ (0, b.createContext)({}), cj = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, sj);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = goe(e, t);
- i = s_e(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = eS(e), { hoverProps: l, isHovered: u } = iS({
+}), r_e = /*#__PURE__*/ (0, b.createContext)(null), lj = /*#__PURE__*/ (0, b.createContext)({}), uj = /*#__PURE__*/ Fv(function(e, t) {
+ [e, t] = XA(e, t, lj);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = hoe(e, t);
+ i = a_e(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = tS(e), { hoverProps: l, isHovered: u } = aS({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -36329,25 +36329,25 @@ var oj = /*#__PURE__*/ (0, b.createContext)({}), i_e = /*#__PURE__*/ Pv(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = KA({
+ }, f = JA({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = xv(i.id), m = xv(), h = i["aria-labelledby"];
+ }), p = Sv(i.id), m = Sv(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
let g = (0, b.useRef)(r);
(0, b.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && cb(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && lb(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = Sy(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ b.createElement(QA.button, {
- ...Tv(_, f, i, o, l),
+ let _ = Cy(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ b.createElement(ej.button, {
+ ...Ev(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
ref: t,
@@ -36360,62 +36360,62 @@ var oj = /*#__PURE__*/ (0, b.createContext)({}), i_e = /*#__PURE__*/ Pv(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ b.createElement(a_e.Provider, { value: { id: m } }, f.children));
-}), o_e = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function s_e(e, t) {
+ }, /*#__PURE__*/ b.createElement(r_e.Provider, { value: { id: m } }, f.children));
+}), i_e = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function a_e(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !o_e.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !i_e.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 lj = /*#__PURE__*/ (0, b.createContext)({}), uj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, lj);
- let { children: n, level: r = 3, className: i, ...a } = e, o = QA[`h${r}`];
+var dj = /*#__PURE__*/ (0, b.createContext)({}), fj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = XA(e, t, dj);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = ej[`h${r}`];
return /*#__PURE__*/ b.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), dj = /*#__PURE__*/ (0, b.createContext)({}), c_e = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, dj);
- let { elementType: n = "span", ...r } = e, i = QA[n];
+}), pj = /*#__PURE__*/ (0, b.createContext)({}), o_e = /*#__PURE__*/ Fv(function(e, t) {
+ [e, t] = XA(e, t, pj);
+ let { elementType: n = "span", ...r } = e, i = ej[n];
return /*#__PURE__*/ b.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), fj = /*#__PURE__*/ (0, b.createContext)(null), pj = /*#__PURE__*/ (0, b.createContext)(null), mj = /*#__PURE__*/ (0, b.createContext)(null), hj = /*#__PURE__*/ (0, b.createContext)(null), l_e = /*#__PURE__*/ (0, b.createContext)(null), gj = /*#__PURE__*/ (0, b.createContext)(null);
-function u_e(e, t) {
- let { validationBehavior: n } = qA(pj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(l_e), a = kv((0, b.useMemo)(() => Cv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...XA(e),
+}), mj = /*#__PURE__*/ (0, b.createContext)(null), hj = /*#__PURE__*/ (0, b.createContext)(null), gj = /*#__PURE__*/ (0, b.createContext)(null), _j = /*#__PURE__*/ (0, b.createContext)(null), s_e = /*#__PURE__*/ (0, b.createContext)(null), vj = /*#__PURE__*/ (0, b.createContext)(null);
+function c_e(e, t) {
+ let { validationBehavior: n } = YA(hj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(s_e), a = Av((0, b.useMemo)(() => wv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...QA(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? zoe(o, i, a) : kb(o, Pb(e), a), a];
+ return [i ? Roe(o, i, a) : Ab(o, Fb(e), a), a];
}
-var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+var l_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = JA(r, t, mj);
- let [i, a] = u_e(e, n);
- return /*#__PURE__*/ b.createElement(gj.Provider, { value: {
+ [e, t] = XA(r, t, gj);
+ let [i, a] = c_e(e, n);
+ return /*#__PURE__*/ b.createElement(vj.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ b.createElement(f_e, {
+ } }, /*#__PURE__*/ b.createElement(u_e, {
...e,
ref: t
}));
-}), f_e = /*#__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)(gj), { isFocused: p, isFocusVisible: m, focusProps: h } = eS(), g = a || o, { hoverProps: _, isHovered: v } = iS({
+}), u_e = /*#__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)(vj), { isFocused: p, isFocusVisible: m, focusProps: h } = tS(), g = a || o, { hoverProps: _, isHovered: v } = aS({
...e,
isDisabled: g
- }), y = KA({
+ }), y = JA({
...e,
defaultClassName: u,
values: {
@@ -36430,9 +36430,9 @@ var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), x = Sy(e, { global: !0 });
- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(QA.label, {
- ...Tv(x, n, _, y),
+ }), x = Cy(e, { global: !0 });
+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(ej.label, {
+ ...Ev(x, n, _, y),
ref: t,
slot: e.slot || void 0,
"data-selected": i || void 0,
@@ -36445,20 +36445,20 @@ var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ b.createElement(Rb, { elementType: "span" }, /*#__PURE__*/ b.createElement("input", {
- ...Tv(r, h),
+ }, /*#__PURE__*/ b.createElement(zb, { elementType: "span" }, /*#__PURE__*/ b.createElement("input", {
+ ...Ev(r, h),
ref: l
})), y.children);
-}), _j = /*#__PURE__*/ (0, b.createContext)({}), p_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, _j);
+}), yj = /*#__PURE__*/ (0, b.createContext)({}), d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = XA(e, t, yj);
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 } = iS({
+ let { hoverProps: l, isHovered: u } = aS({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = eS({ within: !0 }), m = KA({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = tS({ within: !0 }), m = JA({
...e,
values: {
isHovered: u,
@@ -36469,8 +36469,8 @@ var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ b.createElement(QA.div, {
- ...Tv(c, p, l),
+ return /*#__PURE__*/ b.createElement(ej.div, {
+ ...Ev(c, p, l),
...m,
ref: t,
role: e.role ?? "group",
@@ -36482,18 +36482,18 @@ var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), vj = /*#__PURE__*/ (0, b.createContext)({}), m_e = (e) => {
+}), bj = /*#__PURE__*/ (0, b.createContext)({}), f_e = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, h_e = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, vj);
- let { hoverProps: n, isHovered: r } = iS({
+}, p_e = /*#__PURE__*/ Fv(function(e, t) {
+ [e, t] = XA(e, t, bj);
+ let { hoverProps: n, isHovered: r } = aS({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = eS({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = tS({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = KA({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = JA({
...e,
values: {
isHovered: r,
@@ -36504,8 +36504,8 @@ var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ b.createElement(QA.input, {
- ...Tv(m_e(e), o, n),
+ return /*#__PURE__*/ b.createElement(ej.input, {
+ ...Ev(f_e(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -36514,8 +36514,8 @@ var d_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), yj = {};
-yj = {
+}), xj = {};
+xj = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -36523,8 +36523,8 @@ yj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var bj = {};
-bj = {
+var Sj = {};
+Sj = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -36532,8 +36532,8 @@ bj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var xj = {};
-xj = {
+var Cj = {};
+Cj = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -36541,8 +36541,8 @@ xj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var Sj = {};
-Sj = {
+var wj = {};
+wj = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -36550,8 +36550,8 @@ Sj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var Cj = {};
-Cj = {
+var Tj = {};
+Tj = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -36559,8 +36559,8 @@ Cj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var wj = {};
-wj = {
+var Ej = {};
+Ej = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -36568,8 +36568,8 @@ wj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var Tj = {};
-Tj = {
+var Dj = {};
+Dj = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -36577,8 +36577,8 @@ Tj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var Ej = {};
-Ej = {
+var Oj = {};
+Oj = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -36586,8 +36586,8 @@ Ej = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var Dj = {};
-Dj = {
+var kj = {};
+kj = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -36595,8 +36595,8 @@ Dj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var Oj = {};
-Oj = {
+var Aj = {};
+Aj = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -36604,8 +36604,8 @@ Oj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var kj = {};
-kj = {
+var jj = {};
+jj = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -36613,8 +36613,8 @@ kj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var Aj = {};
-Aj = {
+var Mj = {};
+Mj = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -36622,8 +36622,8 @@ Aj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var jj = {};
-jj = {
+var Nj = {};
+Nj = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -36631,8 +36631,8 @@ jj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var Mj = {};
-Mj = {
+var Pj = {};
+Pj = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -36640,8 +36640,8 @@ Mj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var Nj = {};
-Nj = {
+var Fj = {};
+Fj = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -36649,8 +36649,8 @@ Nj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var Pj = {};
-Pj = {
+var Ij = {};
+Ij = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -36658,8 +36658,8 @@ Pj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var Fj = {};
-Fj = {
+var Lj = {};
+Lj = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -36667,8 +36667,8 @@ Fj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var Ij = {};
-Ij = {
+var Rj = {};
+Rj = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -36676,8 +36676,8 @@ Ij = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var Lj = {};
-Lj = {
+var zj = {};
+zj = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -36685,8 +36685,8 @@ Lj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var Rj = {};
-Rj = {
+var Bj = {};
+Bj = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -36694,8 +36694,8 @@ Rj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var zj = {};
-zj = {
+var Vj = {};
+Vj = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -36703,8 +36703,8 @@ zj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var Bj = {};
-Bj = {
+var Hj = {};
+Hj = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -36712,8 +36712,8 @@ Bj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var Vj = {};
-Vj = {
+var Uj = {};
+Uj = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -36721,8 +36721,8 @@ Vj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var Hj = {};
-Hj = {
+var Wj = {};
+Wj = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -36730,8 +36730,8 @@ Hj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var Uj = {};
-Uj = {
+var Gj = {};
+Gj = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -36739,8 +36739,8 @@ Uj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var Wj = {};
-Wj = {
+var Kj = {};
+Kj = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -36748,8 +36748,8 @@ Wj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var Gj = {};
-Gj = {
+var qj = {};
+qj = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -36757,8 +36757,8 @@ Gj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var Kj = {};
-Kj = {
+var Jj = {};
+Jj = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -36766,8 +36766,8 @@ Kj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var qj = {};
-qj = {
+var Yj = {};
+Yj = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -36775,8 +36775,8 @@ qj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var Jj = {};
-Jj = {
+var Xj = {};
+Xj = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -36784,8 +36784,8 @@ Jj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var Yj = {};
-Yj = {
+var Zj = {};
+Zj = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -36793,8 +36793,8 @@ Yj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var Xj = {};
-Xj = {
+var Qj = {};
+Qj = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -36802,8 +36802,8 @@ Xj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var Zj = {};
-Zj = {
+var $j = {};
+$j = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -36811,8 +36811,8 @@ Zj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var Qj = {};
-Qj = {
+var eM = {};
+eM = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -36820,52 +36820,52 @@ Qj = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var $j = {};
-$j = {
- "ar-AE": yj,
- "bg-BG": bj,
- "cs-CZ": xj,
- "da-DK": Sj,
- "de-DE": Cj,
- "el-GR": wj,
- "en-US": Tj,
- "es-ES": Ej,
- "et-EE": Dj,
- "fi-FI": Oj,
- "fr-FR": kj,
- "he-IL": Aj,
- "hr-HR": jj,
- "hu-HU": Mj,
- "it-IT": Nj,
- "ja-JP": Pj,
- "ko-KR": Fj,
- "lt-LT": Ij,
- "lv-LV": Lj,
- "nb-NO": Rj,
- "nl-NL": zj,
- "pl-PL": Bj,
- "pt-BR": Vj,
- "pt-PT": Hj,
- "ro-RO": Uj,
- "ru-RU": Wj,
- "sk-SK": Gj,
- "sl-SI": Kj,
- "sr-SP": qj,
- "sv-SE": Jj,
- "tr-TR": Yj,
- "uk-UA": Xj,
- "zh-CN": Zj,
- "zh-TW": Qj
+var tM = {};
+tM = {
+ "ar-AE": xj,
+ "bg-BG": Sj,
+ "cs-CZ": Cj,
+ "da-DK": wj,
+ "de-DE": Tj,
+ "el-GR": Ej,
+ "en-US": Dj,
+ "es-ES": Oj,
+ "et-EE": kj,
+ "fi-FI": Aj,
+ "fr-FR": jj,
+ "he-IL": Mj,
+ "hr-HR": Nj,
+ "hu-HU": Pj,
+ "it-IT": Fj,
+ "ja-JP": Ij,
+ "ko-KR": Lj,
+ "lt-LT": Rj,
+ "lv-LV": zj,
+ "nb-NO": Bj,
+ "nl-NL": Vj,
+ "pl-PL": Hj,
+ "pt-BR": Uj,
+ "pt-PT": Wj,
+ "ro-RO": Gj,
+ "ru-RU": Kj,
+ "sk-SK": qj,
+ "sl-SI": Jj,
+ "sr-SP": Yj,
+ "sv-SE": Xj,
+ "tr-TR": Zj,
+ "uk-UA": Qj,
+ "zh-CN": $j,
+ "zh-TW": eM
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var eM = /*#__PURE__*/ (0, b.createContext)({}), tM = /*#__PURE__*/ (0, b.createContext)(null), g_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { render: n } = (0, b.useContext)(tM);
+var nM = /*#__PURE__*/ (0, b.createContext)({}), rM = /*#__PURE__*/ (0, b.createContext)(null), m_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { render: n } = (0, b.useContext)(rM);
return /*#__PURE__*/ b.createElement(b.Fragment, null, n(e, t));
});
-function nM(e, t) {
+function iM(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(g_e, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ b.createElement(m_e, { target: e });
}, [
t?.target,
r,
@@ -36873,7 +36873,7 @@ function nM(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function rM(e, t, n) {
+function aM(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;
@@ -36895,14 +36895,14 @@ function rM(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var iM = /*#__PURE__*/ (0, b.createContext)({}), __e = /*#__PURE__*/ (0, b.createContext)(null);
-function aM(e) {
+var oM = /*#__PURE__*/ (0, b.createContext)({}), h_e = /*#__PURE__*/ (0, b.createContext)(null);
+function sM(e) {
let t = (0, b.useRef)({});
- return /*#__PURE__*/ b.createElement(__e.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ b.createElement(h_e.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var oM = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), sM = /*#__PURE__*/ (0, b.createContext)({}), v_e = /*#__PURE__*/ Hv(class extends y_ {
+var cM = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), lM = /*#__PURE__*/ (0, b.createContext)({}), g_e = /*#__PURE__*/ Uv(class extends b_ {
static {
this.type = "separator";
}
@@ -36915,17 +36915,17 @@ var oM = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), sM = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = JA(e, t, sM);
+ [e, t] = XA(e, t, lM);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = QA[c], { separatorProps: u } = Gse({
+ let l = ej[c], { separatorProps: u } = Wse({
...s,
elementType: n,
orientation: r
- }), d = Sy(e, { global: !0 });
+ }), d = Cy(e, { global: !0 });
return /*#__PURE__*/ b.createElement(l, {
render: e.render,
- ...Tv(d, u),
+ ...Ev(d, u),
style: i,
className: a ?? "react-aria-Separator",
ref: t,
@@ -36934,13 +36934,13 @@ var oM = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), sM = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function cM(e) {
+function uM(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 lM = class {
+var dM = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -36984,20 +36984,20 @@ var lM = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, uM = class e extends Set {
+}, fM = 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 y_e(e, t) {
+function __e(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function dM(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] = Nb((0, b.useMemo)(() => fM(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => fM(e.defaultSelectedKeys, new uM()), [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 pM(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] = Pb((0, b.useMemo)(() => mM(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => mM(e.defaultSelectedKeys, new fM()), [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)(() => {
@@ -37024,18 +37024,18 @@ function dM(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !y_e(e, d)) && f(e);
+ (r || !__e(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function fM(e, t) {
- return e ? e === "all" ? "all" : new uM(e) : t;
+function mM(e, t) {
+ return e ? e === "all" ? "all" : new fM(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var pM = class e {
+var hM = 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;
}
@@ -37091,7 +37091,7 @@ var pM = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Hx(this.collection, n, e) < 0) && (e = n);
+ (!e || n && Ux(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -37099,7 +37099,7 @@ var pM = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Hx(this.collection, n, e) > 0) && (e = n);
+ (!e || n && Ux(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -37118,10 +37118,10 @@ var pM = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new uM([t], t, t);
+ if (this.state.selectedKeys === "all") n = new fM([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new uM(e, r, t);
+ n = new fM(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);
}
@@ -37129,7 +37129,7 @@ var pM = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? Hx(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? Ux(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
}
getKeyRangeInternal(e, t) {
if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
@@ -37155,19 +37155,19 @@ var pM = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new uM(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new fM(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 uM([t], t, t) : new uM();
+ let n = this.canSelectItem(t) ? new fM([t], t, t) : new fM();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new uM();
+ let t = new fM();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -37179,7 +37179,7 @@ var pM = class e {
for (; r != null;) {
if (this.canSelectItemIn(r, e)) {
let i = e.getItem(r);
- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(zx(Rx(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Bx(zx(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -37190,7 +37190,7 @@ var pM = 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 uM());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new fM());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -37231,9 +37231,9 @@ var pM = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, b_e = class {
+}, v_e = class {
build(e, t) {
- return this.context = t, mM(() => this.iterateCollection(e));
+ return this.context = t, gM(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -37315,10 +37315,10 @@ var pM = class e {
...a,
key: l,
index: s,
- wrapper: x_e(e.wrapper, a.wrapper)
+ wrapper: y_e(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 <${hM(t.type)}> in <${hM(r?.type ?? "unknown parent type")}>. Only <${hM(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 <${_M(t.type)}> in <${_M(r?.type ?? "unknown parent type")}>. Only <${_M(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -37340,7 +37340,7 @@ var pM = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: mM(function* () {
+ childNodes: gM(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -37359,7 +37359,7 @@ var pM = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function mM(e) {
+function gM(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -37367,18 +37367,18 @@ function mM(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function x_e(e, t) {
+function y_e(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function hM(e) {
+function _M(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function gM(e, t, n) {
- let r = (0, b.useMemo)(() => new b_e(), []), { children: i, items: a, collection: o } = e;
+function vM(e, t, n) {
+ let r = (0, b.useMemo)(() => new v_e(), []), { children: i, items: a, collection: o } = e;
return (0, b.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -37393,27 +37393,27 @@ function gM(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function _M(e) {
- let { filter: t, layoutDelegate: n } = e, r = dM(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = gM(e, (0, b.useCallback)((e) => t ? new lM(t(e)) : new lM(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new pM(a, r, { layoutDelegate: n }), [
+function yM(e) {
+ let { filter: t, layoutDelegate: n } = e, r = pM(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = vM(e, (0, b.useCallback)((e) => t ? new dM(t(e)) : new dM(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new hM(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return vM(a, o), {
+ return bM(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function S_e(e, t) {
+function b_e(e, t) {
let n = (0, b.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return vM(n, r), {
+ return bM(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function vM(e, t) {
+function bM(e, t) {
let n = (0, b.useRef)(null);
(0, b.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -37441,15 +37441,15 @@ function vM(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function yM(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, b.useRef)(null), s = oy((e) => {
+function xM(e, t) {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, b.useRef)(null), s = sy((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- B_(() => {
+ V_(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: db(t?.current),
+ root: fb(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -37465,42 +37465,42 @@ function yM(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var bM = /*#__PURE__*/ (0, b.createContext)(null), xM = /*#__PURE__*/ (0, b.createContext)(null), C_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, bM);
- let n = (0, b.useContext)(xM);
- return n ? /*#__PURE__*/ b.createElement(SM, {
+var SM = /*#__PURE__*/ (0, b.createContext)(null), CM = /*#__PURE__*/ (0, b.createContext)(null), x_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = XA(e, t, SM);
+ let n = (0, b.useContext)(CM);
+ return n ? /*#__PURE__*/ b.createElement(wM, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ b.createElement(zv, { content: /*#__PURE__*/ b.createElement(Kv, e) }, (n) => /*#__PURE__*/ b.createElement(w_e, {
+ }) : /*#__PURE__*/ b.createElement(Bv, { content: /*#__PURE__*/ b.createElement(qv, e) }, (n) => /*#__PURE__*/ b.createElement(S_e, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function w_e({ props: e, listBoxRef: t, collection: n }) {
+function S_e({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, b.useContext)(ij), i = _M({
+ let { layoutDelegate: r } = (0, b.useContext)(oj), i = yM({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ b.createElement(SM, {
+ return /*#__PURE__*/ b.createElement(wM, {
state: i,
props: e,
listBoxRef: t
});
}
-function SM({ state: e, props: t, listBoxRef: n }) {
- [t, n] = JA(t, n, $A);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = S_e(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = my(), { disabledBehavior: p, disabledKeys: m } = l, h = qx({
+function wM({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = XA(t, n, tj);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = b_e(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = hy(), { disabledBehavior: p, disabledKeys: m } = l, h = Jx({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(ij), x = (0, b.useMemo)(() => t.keyboardDelegate || new Yb({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(oj), x = (0, b.useMemo)(() => t.keyboardDelegate || new Xb({
collection: c,
collator: h,
ref: n,
@@ -37521,7 +37521,7 @@ function SM({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: S } = dse({
+ ]), { listBoxProps: S } = use({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: x,
@@ -37553,7 +37553,7 @@ function SM({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, w, n), E = w.isDropTarget({ type: "root" });
}
- let { focusProps: k, isFocused: A, isFocusVisible: j } = eS(), M = s.collection.size === 0, N = {
+ let { focusProps: k, isFocused: A, isFocusVisible: j } = tS(), M = s.collection.size === 0, N = {
isDropTarget: E,
isEmpty: M,
isFocused: A,
@@ -37561,7 +37561,7 @@ function SM({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, P = KA({
+ }, P = JA({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -37571,9 +37571,9 @@ function SM({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(N)));
- let F = Sy(t, { global: !0 });
- return /*#__PURE__*/ b.createElement(Gy, null, /*#__PURE__*/ b.createElement(QA.div, {
- ...Tv(F, P, S, k, T?.collectionProps),
+ let F = Cy(t, { global: !0 });
+ return /*#__PURE__*/ b.createElement(Ky, null, /*#__PURE__*/ b.createElement(ej.div, {
+ ...Ev(F, P, S, k, T?.collectionProps),
ref: n,
slot: t.slot || void 0,
onScroll: t.onScroll,
@@ -37583,60 +37583,60 @@ function SM({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": j || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [bM, t],
- [xM, s],
- [eM, {
+ }, /*#__PURE__*/ b.createElement(qA, { values: [
+ [SM, t],
+ [CM, s],
+ [nM, {
dragAndDropHooks: r,
dragState: C,
dropState: w
}],
- [sM, { elementType: "div" }],
- [tM, { render: D_e }],
- [tj, {
+ [lM, { elementType: "div" }],
+ [rM, { render: T_e }],
+ [rj, {
name: "ListBoxSection",
- render: T_e
+ render: C_e
}]
- ] }, /*#__PURE__*/ b.createElement(aM, null, /*#__PURE__*/ b.createElement(y, {
+ ] }, /*#__PURE__*/ b.createElement(sM, null, /*#__PURE__*/ b.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: rM(l, r, w),
- renderDropIndicator: nM(r, w)
+ persistedKeys: aM(l, r, w),
+ renderDropIndicator: iM(r, w)
}))), ee, D));
}
-function T_e(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, b.useContext)(xM), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(eM), { CollectionBranch: s } = (0, b.useContext)(ij), [c, l] = YA(), { headingProps: u, groupProps: d } = fse({
+function C_e(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, b.useContext)(CM), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(nM), { CollectionBranch: s } = (0, b.useContext)(oj), [c, l] = ZA(), { headingProps: u, groupProps: d } = dse({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = KA({
+ }), f = JA({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = Sy(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ b.createElement(QA.section, {
- ...Tv(p, f, d),
+ }), p = Cy(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ b.createElement(ej.section, {
+ ...Ev(p, f, d),
ref: t
- }, /*#__PURE__*/ b.createElement(iM.Provider, { value: {
+ }, /*#__PURE__*/ b.createElement(oM.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ b.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: nM(a, o)
+ renderDropIndicator: iM(a, o)
})));
}
-var E_e = /*#__PURE__*/ Hv(oie, function(e, t, n) {
- let r = kv(t), i = (0, b.useContext)(xM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(eM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = pse({
+var w_e = /*#__PURE__*/ Uv(aie, function(e, t, n) {
+ let r = Av(t), i = (0, b.useContext)(CM), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(nM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = fse({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = iS({
+ }, i, r), { hoverProps: p, isHovered: m } = aS({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = Ov(e), { focusProps: g } = Ev(e), _ = null;
+ }), { keyboardProps: h } = kv(e), { focusProps: g } = Dv(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -37647,7 +37647,7 @@ var E_e = /*#__PURE__*/ Hv(oie, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), x = KA({
+ let y = o && o.isDragging(n.key), x = JA({
...e,
id: void 0,
children: e.children,
@@ -37665,9 +37665,9 @@ var E_e = /*#__PURE__*/ Hv(oie, function(e, t, n) {
(0, b.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let S = e.href ? QA.a : QA.div, C = Sy(e, { global: !0 });
+ let S = e.href ? ej.a : ej.div, C = Cy(e, { global: !0 });
return delete C.id, delete C.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ b.createElement(S, {
- ...Tv(C, x, l, p, h, g, _?.dragProps, v?.dropProps),
+ ...Ev(C, x, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
"data-allows-dragging": !!o || void 0,
"data-selected": f.isSelected || void 0,
@@ -37679,29 +37679,29 @@ var E_e = /*#__PURE__*/ Hv(oie, 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(GA, { values: [[dj, { slots: {
- [WA]: u,
+ }, /*#__PURE__*/ b.createElement(qA, { values: [[pj, { slots: {
+ [KA]: u,
label: u,
description: d
- } }], [oM, { isSelected: f.isSelected }]] }, x.children));
+ } }], [cM, { isSelected: f.isSelected }]] }, x.children));
});
-function D_e(e, t) {
- t = kv(t);
- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(eM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ b.createElement(k_e, {
+function T_e(e, t) {
+ t = Av(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(nM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ b.createElement(D_e, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function O_e(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = KA({
+function E_e(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = JA({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(QA.div, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ej.div, {
...n,
...a,
role: "option",
@@ -37709,10 +37709,10 @@ function O_e(e, t) {
"data-drop-target": r || void 0
}));
}
-var k_e = /*#__PURE__*/ (0, b.forwardRef)(O_e);
-Hv(x_, function(e, t, n) {
- let r = (0, b.useContext)(xM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
- yM((0, b.useMemo)(() => ({
+var D_e = /*#__PURE__*/ (0, b.forwardRef)(E_e);
+Uv(S_, function(e, t, n) {
+ let r = (0, b.useContext)(CM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
+ xM((0, b.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -37722,7 +37722,7 @@ Hv(x_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = KA({
+ let l = JA({
...s,
id: void 0,
children: n.rendered,
@@ -37735,7 +37735,7 @@ Hv(x_, function(e, t, n) {
width: 0,
height: 0
},
- inert: cM(!0)
+ inert: uM(!0)
}, /*#__PURE__*/ b.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -37744,8 +37744,8 @@ Hv(x_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(QA.div, {
- ...Tv(Sy(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ej.div, {
+ ...Ev(Cy(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -37753,11 +37753,11 @@ Hv(x_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var A_e = /*#__PURE__*/ (0, b.createContext)({ placement: "bottom" });
+var O_e = /*#__PURE__*/ (0, b.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function CM(e) {
- let [t, n] = Nb(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, b.useState)(null);
+function TM(e) {
+ let [t, n] = Pb(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, b.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -37776,15 +37776,15 @@ function CM(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function wM(e, t = !0, n) {
+function EM(e, t = !0, n) {
let [r, i] = (0, b.useState)(!0), a = r && t;
- return B_(() => {
- if (!t && e.current) return _v(A_(e.current, "opacity", "0"), A_(e.current, "clip", "rect(0 0 0 0)"), A_(e.current, "clip-path", "inset(50%)"), A_(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
- }, [e, t]), B_(() => {
+ return V_(() => {
+ if (!t && e.current) return vv(j_(e.current, "opacity", "0"), j_(e.current, "clip", "rect(0 0 0 0)"), j_(e.current, "clip-path", "inset(50%)"), j_(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
+ }, [e, t]), V_(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, a]), EM(e, a, n, (0, b.useCallback)(() => i(!1), [])), a;
+ }, [e, a]), OM(e, a, n, (0, b.useCallback)(() => i(!1), [])), a;
}
-function TM(e, t, n) {
+function DM(e, t, n) {
let [r, i] = (0, b.useState)(t ? "open" : "closed");
switch (r) {
case "open":
@@ -37794,13 +37794,13 @@ function TM(e, t, n) {
case "exiting": t && i("open");
}
let a = r === "exiting";
- return EM(e, a, n, (0, b.useCallback)(() => {
+ return OM(e, a, n, (0, b.useCallback)(() => {
i((e) => e === "exiting" ? "closed" : e);
}, [])), a;
}
-function EM(e, t, n, r) {
- let i = (0, b.useRef)(null), a = oy(n);
- B_(() => {
+function OM(e, t, n, r) {
+ let i = (0, b.useRef)(null), a = sy(n);
+ V_(() => {
if (t && e.current && i.current !== t) {
if (i.current = t, !("getAnimations" in e.current)) {
r();
@@ -37826,9 +37826,9 @@ function EM(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var DM = /*#__PURE__*/ (0, b.createContext)(null), OM = /*#__PURE__*/ (0, b.createContext)(null), kM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, DM);
- let n = (0, b.useContext)(BM), r = CM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = TM(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Fv(), { direction: c } = my();
+var kM = /*#__PURE__*/ (0, b.createContext)(null), AM = /*#__PURE__*/ (0, b.createContext)(null), jM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = XA(e, t, kM);
+ let n = (0, b.useContext)(HM), r = TM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = DM(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Iv(), { direction: c } = hy();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -37839,7 +37839,7 @@ var DM = /*#__PURE__*/ (0, b.createContext)(null), OM = /*#__PURE__*/ (0, b.crea
defaultChildren: null
})), /*#__PURE__*/ b.createElement(b.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ b.createElement(j_e, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ b.createElement(k_e, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -37848,13 +37848,13 @@ var DM = /*#__PURE__*/ (0, b.createContext)(null), OM = /*#__PURE__*/ (0, b.crea
dir: c
});
});
-function j_e({ 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)(OM), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, b.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = zse({
+function k_e({ 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)(AM), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, b.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Rse({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = wM(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = KA({
+ }, e), g = i.popoverRef, _ = EM(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = JA({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -37864,10 +37864,10 @@ function j_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
isExiting: t
}
}), x = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [S, C] = (0, b.useState)(i.trigger === "PreviewTrigger");
- B_(() => {
+ V_(() => {
g.current && C(x && !g.current.querySelector("[role=dialog]"));
}, [g, x]), (0, b.useEffect)(() => {
- S && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || dv() !== "pointer") && g.current && !F_(g.current) && gv(g.current);
+ S && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || fv() !== "pointer") && g.current && !I_(g.current) && _v(g.current);
}, [
S,
g,
@@ -37875,12 +37875,12 @@ function j_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
]);
let w = (0, b.useMemo)(() => {
let e = y.children;
- for (let t of [DM, ...r ?? []]) e = /*#__PURE__*/ b.createElement(t.Provider, { value: null }, e);
+ for (let t of [kM, ...r ?? []]) e = /*#__PURE__*/ b.createElement(t.Provider, { value: null }, e);
return e;
}, [y.children, r]), [T, E] = (0, b.useState)(null), D = (0, b.useCallback)(() => {
i.triggerRef.current && E(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- B_(D, [D]), JS({
+ V_(D, [D]), YS({
ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: D
});
@@ -37890,9 +37890,9 @@ function j_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
...y.style,
"--trigger-width": y.style?.["--trigger-width"] || T
};
- B_(() => LC(() => u(!0)), []);
- let k = /*#__PURE__*/ b.createElement(QA.div, {
- ...Tv(Sy(i, { global: !0 }), d),
+ V_(() => RC(() => u(!0)), []);
+ let k = /*#__PURE__*/ b.createElement(ej.div, {
+ ...Ev(Cy(i, { global: !0 }), d),
...y,
id: S ? i.id : void 0,
role: S ? "dialog" : void 0,
@@ -37907,17 +37907,17 @@ function j_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": m,
"data-entering": v || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ b.createElement(AC, { onDismiss: e.close }), /*#__PURE__*/ b.createElement(A_e.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ b.createElement(jC, { onDismiss: e.close }), /*#__PURE__*/ b.createElement(O_e.Provider, { value: {
...p,
placement: m,
ref: a
- } }, w), /*#__PURE__*/ b.createElement(AC, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ b.createElement(Qx, {
+ } }, w), /*#__PURE__*/ b.createElement(jC, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ b.createElement($x, {
...i,
shouldContainFocus: S && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, k) : /*#__PURE__*/ b.createElement(Qx, {
+ }, k) : /*#__PURE__*/ b.createElement($x, {
...i,
shouldContainFocus: S && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -37932,15 +37932,15 @@ function j_e({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ b.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ b.createElement(OM.Provider, { value: o }, k)));
+ }, /*#__PURE__*/ b.createElement(AM.Provider, { value: o }, k)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var M_e = /*#__PURE__*/ (0, b.createContext)({});
+var A_e = /*#__PURE__*/ (0, b.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function AM(e) {
- let t = CM(e), [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)([]), o = () => {
+function MM(e) {
+ let t = TM(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]);
@@ -37966,7 +37966,7 @@ function AM(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var N_e = class {
+var j_e = 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) => {
@@ -38010,8 +38010,8 @@ var N_e = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function P_e(e) {
- let { onExpandedChange: t } = e, [n, r] = Nb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = dM(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = gM(e, (0, b.useCallback)((e) => new N_e(e, { expandedKeys: n }), [n]), null);
+function M_e(e) {
+ let { onExpandedChange: t } = e, [n, r] = Pb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = pM(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = vM(e, (0, b.useCallback)((e) => new j_e(e, { expandedKeys: n }), [n]), null);
return (0, b.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -38019,32 +38019,32 @@ function P_e(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(F_e(n, e));
+ r(N_e(n, e));
},
setExpandedKeys: r,
- selectionManager: new pM(o, i)
+ selectionManager: new hM(o, i)
};
}
-function F_e(e, t) {
+function N_e(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 jM = /*#__PURE__*/ (0, b.createContext)(null), MM = /*#__PURE__*/ (0, b.createContext)(null), NM = /*#__PURE__*/ (0, b.createContext)(null), PM = /*#__PURE__*/ (0, b.createContext)(null);
-function I_e(e) {
- let t = AM(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = Nx({
+var NM = /*#__PURE__*/ (0, b.createContext)(null), PM = /*#__PURE__*/ (0, b.createContext)(null), FM = /*#__PURE__*/ (0, b.createContext)(null), IM = /*#__PURE__*/ (0, b.createContext)(null);
+function P_e(e) {
+ let t = MM(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = Px({
...e,
type: "menu"
}, t, n), a = (0, b.useRef)(null);
- return Fv() ? null : /*#__PURE__*/ b.createElement(GA, { values: [
- [jM, {
+ return Iv() ? null : /*#__PURE__*/ b.createElement(qA, { values: [
+ [NM, {
...i,
ref: a
}],
- [BM, t],
- [NM, t],
- [DM, {
+ [HM, t],
+ [FM, t],
+ [kM, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -38052,14 +38052,14 @@ function I_e(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ b.createElement(Qoe, {
+ ] }, /*#__PURE__*/ b.createElement(Zoe, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var L_e = /*#__PURE__*/ (0, b.createContext)(null);
-(class extends y_ {
+var F_e = /*#__PURE__*/ (0, b.createContext)(null);
+(class extends b_ {
static {
this.type = "submenutrigger";
}
@@ -38072,24 +38072,24 @@ var L_e = /*#__PURE__*/ (0, b.createContext)(null);
return null;
}
});
-var R_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- return [e, t] = JA(e, t, jM), /*#__PURE__*/ b.createElement(zv, { content: /*#__PURE__*/ b.createElement(Kv, e) }, (n) => /*#__PURE__*/ b.createElement(z_e, {
+var I_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ return [e, t] = XA(e, t, NM), /*#__PURE__*/ b.createElement(Bv, { content: /*#__PURE__*/ b.createElement(qv, e) }, (n) => /*#__PURE__*/ b.createElement(L_e, {
props: e,
collection: n,
menuRef: t
}));
});
-function z_e({ props: e, collection: t, menuRef: n }) {
- [e, n] = JA(e, n, $A);
- let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = P_e({
+function L_e({ props: e, collection: t, menuRef: n }) {
+ [e, n] = XA(e, n, tj);
+ let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = M_e({
...e,
collection: a,
children: void 0
- }), s = (0, b.useContext)(NM), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(ij), { menuProps: u } = mse({
+ }), s = (0, b.useContext)(FM), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(oj), { menuProps: u } = pse({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = KA({
+ }, o, n), d = JA({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -38099,36 +38099,36 @@ function z_e({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(Gy, null, /*#__PURE__*/ b.createElement(QA.div, {
- ...Tv(p, d, u),
+ let p = Cy(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(Ky, null, /*#__PURE__*/ b.createElement(ej.div, {
+ ...Ev(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [MM, o],
- [sM, { elementType: "div" }],
- [tj, {
+ }, /*#__PURE__*/ b.createElement(qA, { values: [
+ [PM, o],
+ [lM, { elementType: "div" }],
+ [rj, {
name: "MenuSection",
- render: FM
+ render: LM
}],
- [L_e, {
+ [F_e, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [LM, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [$A, null],
- [ej, null],
- [PM, o.selectionManager],
- [NM, s ?? AM({})]
- ] }, /*#__PURE__*/ b.createElement(aM, null, /*#__PURE__*/ b.createElement(l, {
+ [zM, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [tj, null],
+ [nj, null],
+ [IM, o.selectionManager],
+ [FM, s ?? MM({})]
+ ] }, /*#__PURE__*/ b.createElement(sM, null, /*#__PURE__*/ b.createElement(l, {
collection: o.collection,
- persistedKeys: aj(o.selectionManager.focusedKey),
+ persistedKeys: sj(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var B_e = class extends pM {
+var R_e = class extends hM {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -38148,11 +38148,11 @@ var B_e = class extends pM {
return this.parent.childFocusStrategy;
}
};
-function FM(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, b.useContext)(MM), { CollectionBranch: a } = (0, b.useContext)(ij), [o, s] = YA(), { headingProps: c, groupProps: l } = gse({
+function LM(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, b.useContext)(PM), { CollectionBranch: a } = (0, b.useContext)(oj), [o, s] = ZA(), { headingProps: c, groupProps: l } = hse({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = KA({
+ }), u = JA({
...e,
id: void 0,
children: void 0,
@@ -38160,31 +38160,31 @@ function FM(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, b.useContext)(PM), f = dM(e), p = e.selectionMode == null ? d : new B_e(d, f), m = qA(LM)?.shouldCloseOnSelect, h = Sy(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ b.createElement(QA.section, {
- ...Tv(h, u, l),
+ }), d = (0, b.useContext)(IM), f = pM(e), p = e.selectionMode == null ? d : new R_e(d, f), m = YA(zM)?.shouldCloseOnSelect, h = Cy(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ b.createElement(ej.section, {
+ ...Ev(h, u, l),
ref: t
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [iM, {
+ }, /*#__PURE__*/ b.createElement(qA, { values: [
+ [oM, {
...c,
ref: o
}],
- [PM, p],
- [LM, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [IM, p],
+ [zM, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ b.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var IM = /*#__PURE__*/ Uv(sie, FM), LM = /*#__PURE__*/ (0, b.createContext)(null), RM = /*#__PURE__*/ Hv(oie, function(e, t, n) {
- [e, t] = JA(e, t, LM);
- let r = qA(LM)?.id, i = (0, b.useContext)(MM), a = kv(t), o = (0, b.useContext)(PM), { isVirtualized: s } = (0, b.useContext)(ij), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = hse({
+var RM = /*#__PURE__*/ Wv(oie, LM), zM = /*#__PURE__*/ (0, b.createContext)(null), BM = /*#__PURE__*/ Uv(aie, function(e, t, n) {
+ [e, t] = XA(e, t, zM);
+ let r = YA(zM)?.id, i = (0, b.useContext)(PM), a = Av(t), o = (0, b.useContext)(IM), { isVirtualized: s } = (0, b.useContext)(oj), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = mse({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = iS({ isDisabled: f.isDisabled }), h = KA({
+ }, i, a), { hoverProps: p, isHovered: m } = aS({ isDisabled: f.isDisabled }), h = JA({
...e,
id: void 0,
children: n.rendered,
@@ -38198,9 +38198,9 @@ var IM = /*#__PURE__*/ Uv(sie, FM), LM = /*#__PURE__*/ (0, b.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? QA.a : QA.div, _ = Sy(e, { global: !0 });
+ }), g = e.href ? ej.a : ej.div, _ = Cy(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(g, {
- ...Tv(_, h, c, p),
+ ...Ev(_, h, c, p),
ref: a,
"data-disabled": f.isDisabled || void 0,
"data-hovered": m || void 0,
@@ -38211,19 +38211,19 @@ var IM = /*#__PURE__*/ Uv(sie, FM), LM = /*#__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(GA, { values: [
- [dj, { slots: {
- [WA]: l,
+ }, /*#__PURE__*/ b.createElement(qA, { values: [
+ [pj, { slots: {
+ [KA]: l,
label: l,
description: u
} }],
- [M_e, d],
- [oM, { isSelected: f.isSelected }]
+ [A_e, d],
+ [cM, { isSelected: f.isSelected }]
] }, h.children));
});
-Hv(x_, function(e, t, n) {
- let r = (0, b.useContext)(MM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
- yM((0, b.useMemo)(() => ({
+Uv(S_, function(e, t, n) {
+ let r = (0, b.useContext)(PM), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
+ xM((0, b.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -38233,7 +38233,7 @@ Hv(x_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = KA({
+ let l = JA({
...s,
id: void 0,
children: n.rendered,
@@ -38246,7 +38246,7 @@ Hv(x_, function(e, t, n) {
width: 0,
height: 0
},
- inert: cM(!0)
+ inert: uM(!0)
}, /*#__PURE__*/ b.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -38255,8 +38255,8 @@ Hv(x_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(QA.div, {
- ...Tv(Sy(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ej.div, {
+ ...Ev(Cy(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
@@ -38264,82 +38264,82 @@ Hv(x_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var zM = /*#__PURE__*/ (0, b.createContext)(null), BM = /*#__PURE__*/ (0, b.createContext)(null), VM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+var VM = /*#__PURE__*/ (0, b.createContext)(null), HM = /*#__PURE__*/ (0, b.createContext)(null), UM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = JA(e, t, zM);
- let { dialogProps: r, titleProps: i, contentProps: a } = ese({
+ [e, t] = XA(e, t, VM);
+ let { dialogProps: r, titleProps: i, contentProps: a } = $oe({
...e,
"aria-labelledby": n
- }, t), o = (0, b.useContext)(BM);
+ }, t), o = (0, b.useContext)(HM);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = KA({
+ let s = JA({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(QA.section, {
- ...Tv(c, s, r),
+ }), c = Cy(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(ej.section, {
+ ...Ev(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [lj, { slots: {
- [WA]: {},
+ }, /*#__PURE__*/ b.createElement(qA, { values: [
+ [dj, { slots: {
+ [KA]: {},
title: {
...i,
level: 2
}
} }],
- [dj, { slots: {
- [WA]: {},
+ [pj, { slots: {
+ [KA]: {},
description: a
} }],
- [sj, { slots: {
- [WA]: {},
+ [lj, { slots: {
+ [KA]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), HM = typeof document < "u" && window.visualViewport;
-function V_e() {
- let e = ev(), t = (0, b.useRef)(null), [n, r] = (0, b.useState)(() => e ? {
+}), WM = typeof document < "u" && window.visualViewport;
+function z_e() {
+ let e = tv(), t = (0, b.useRef)(null), [n, r] = (0, b.useState)(() => e ? {
width: 0,
height: 0
- } : UM());
+ } : GM());
return (0, b.useEffect)(() => {
let e = (e) => {
r((t) => e.width === t.width && e.height === t.height ? t : e);
}, n = () => {
- HM && HM.scale > 1 || e(UM());
+ WM && WM.scale > 1 || e(GM());
}, i = (n) => {
- HM && HM.scale > 1 || ry(P_(n)) && (t.current = LC((t) => {
+ WM && WM.scale > 1 || iy(F_(n)) && (t.current = RC((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(UM()), q_() && J_() && window.addEventListener("blur", i, !0), HM ? HM.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), q_() && J_() && window.removeEventListener("blur", i, !0), HM ? HM.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(GM()), J_() && Y_() && window.addEventListener("blur", i, !0), WM ? WM.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), J_() && Y_() && window.removeEventListener("blur", i, !0), WM ? WM.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
-function UM() {
+function GM() {
return {
- width: HM ? Math.min(HM.width * HM.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: HM ? HM.height * HM.scale : document.documentElement.clientHeight
+ width: WM ? Math.min(WM.width * WM.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: WM ? WM.height * WM.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var H_e = /*#__PURE__*/ (0, b.createContext)(null), WM = /*#__PURE__*/ (0, b.createContext)(null), U_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- if ((0, b.useContext)(WM)) return /*#__PURE__*/ b.createElement(KM, {
+var B_e = /*#__PURE__*/ (0, b.createContext)(null), KM = /*#__PURE__*/ (0, b.createContext)(null), V_e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ if ((0, b.useContext)(KM)) return /*#__PURE__*/ b.createElement(JM, {
...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(GM, {
+ return /*#__PURE__*/ b.createElement(qM, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -38349,15 +38349,15 @@ var H_e = /*#__PURE__*/ (0, b.createContext)(null), WM = /*#__PURE__*/ (0, b.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ b.createElement(KM, {
+ }, /*#__PURE__*/ b.createElement(JM, {
...f,
modalRef: t
}, s));
});
-function W_e(e, t) {
- [e, t] = JA(e, t, H_e);
- let n = (0, b.useContext)(BM), r = CM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = kv(t), o = (0, b.useRef)(null), s = TM(a, i.isOpen, e.onExit), c = (0, b.useRef)(null), l = TM(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = ev();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ b.createElement(G_e, {
+function H_e(e, t) {
+ [e, t] = XA(e, t, B_e);
+ let n = (0, b.useContext)(HM), r = TM(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Av(t), o = (0, b.useRef)(null), s = DM(a, i.isOpen, e.onExit), c = (0, b.useRef)(null), l = DM(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = tv();
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ b.createElement(U_e, {
...e,
state: i,
isExiting: u,
@@ -38366,12 +38366,12 @@ function W_e(e, t) {
onExitRef: c
});
}
-var GM = /*#__PURE__*/ (0, b.forwardRef)(W_e);
-function G_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, b.useState)(!1), s = wM(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Dse({
+var qM = /*#__PURE__*/ (0, b.forwardRef)(H_e);
+function U_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, b.useState)(!1), s = EM(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Ese({
...n,
isEntering: c
- }, i, r), d = (0, b.useContext)(zM), f = t ? K_e(d, { isEntering: c }) : d, p = KA({
+ }, i, r), d = (0, b.useContext)(VM), f = t ? W_e(d, { isEntering: c }) : d, p = JA({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -38379,9 +38379,9 @@ function G_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = V_e(), h, g;
+ }), m = z_e(), h, g;
if (typeof document < "u") {
- let e = ub(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = db(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
h = e.scrollWidth - t, g = e.scrollHeight - n;
}
let _ = {
@@ -38391,18 +38391,18 @@ function G_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
"--page-width": h === void 0 ? void 0 : h + "px",
"--page-height": g === void 0 ? void 0 : g + "px"
};
- return B_(() => LC(() => o(!0)), []), /*#__PURE__*/ b.createElement(Qx, {
+ return V_(() => RC(() => o(!0)), []), /*#__PURE__*/ b.createElement($x, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ b.createElement(QA.div, {
- ...Tv(Sy(n, { global: !0 }), u),
+ }, /*#__PURE__*/ b.createElement(ej.div, {
+ ...Ev(Cy(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [WM, {
+ }, /*#__PURE__*/ b.createElement(qA, { values: [
+ [KM, {
modalProps: l,
modalRef: r,
isExiting: n.isExiting,
@@ -38410,11 +38410,11 @@ function G_e({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isOpen: a,
isDismissable: n.isDismissable
}],
- [BM, i],
- [zM, f]
+ [HM, i],
+ [VM, f]
] }, p.children)));
}
-function K_e(e, t) {
+function W_e(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -38431,8 +38431,8 @@ function K_e(e, t) {
...t
};
}
-function KM(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, b.useContext)(WM), s = (0, b.useContext)(BM), c = kv((0, b.useMemo)(() => Cv(e.modalRef, n), [e.modalRef, n])), l = wM(c, o, e.onEnter), u = KA({
+function JM(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, b.useContext)(KM), s = (0, b.useContext)(HM), c = Av((0, b.useMemo)(() => wv(e.modalRef, n), [e.modalRef, n])), l = EM(c, o, e.onEnter), u = JA({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -38441,21 +38441,21 @@ function KM(e) {
state: s
}
});
- return B_(() => {
+ return V_(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ b.createElement(QA.div, {
- ...Tv(Sy(e, { global: !0 }), t),
+ }), /*#__PURE__*/ b.createElement(ej.div, {
+ ...Ev(Cy(e, { global: !0 }), t),
...u,
ref: c,
"data-entering": l || void 0,
"data-exiting": r || void 0
- }, a && /*#__PURE__*/ b.createElement(AC, { onDismiss: s.close }), u.children);
+ }, a && /*#__PURE__*/ b.createElement(jC, { onDismiss: s.close }), u.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var q_e = Math.round(Math.random() * 1e10), J_e = 0;
-function Y_e(e) {
- let t = (0, b.useMemo)(() => e.name || `radio-group-${q_e}-${++J_e}`, [e.name]), [n, r] = Nb(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, b.useState)(n), [a, o] = (0, b.useState)(null), s = wb({
+var G_e = Math.round(Math.random() * 1e10), K_e = 0;
+function q_e(e) {
+ let t = (0, b.useMemo)(() => e.name || `radio-group-${G_e}-${++K_e}`, [e.name]), [n, r] = Pb(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) => {
@@ -38478,16 +38478,16 @@ function Y_e(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var X_e = /*#__PURE__*/ (0, b.createContext)(null), Z_e = /*#__PURE__*/ (0, b.createContext)(null), qM = /*#__PURE__*/ (0, b.createContext)(null), JM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, X_e);
- let { validationBehavior: n } = qA(pj) || {}, r = e.validationBehavior ?? n ?? "native", i = Y_e({
+var J_e = /*#__PURE__*/ (0, b.createContext)(null), Y_e = /*#__PURE__*/ (0, b.createContext)(null), YM = /*#__PURE__*/ (0, b.createContext)(null), XM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = XA(e, t, J_e);
+ let { validationBehavior: n } = YA(hj) || {}, r = e.validationBehavior ?? n ?? "native", i = q_e({
...e,
validationBehavior: r
- }), [a, o] = YA(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Vse({
+ }), [a, o] = ZA(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Bse({
...e,
label: o,
validationBehavior: r
- }, i), f = KA({
+ }, i), f = JA({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -38498,9 +38498,9 @@ var X_e = /*#__PURE__*/ (0, b.createContext)(null), Z_e = /*#__PURE__*/ (0, b.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(QA.div, {
- ...Tv(p, f, s),
+ }), p = Cy(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(ej.div, {
+ ...Ev(p, f, s),
ref: t,
slot: e.slot || void 0,
"data-orientation": e.orientation || "vertical",
@@ -38508,39 +38508,39 @@ var X_e = /*#__PURE__*/ (0, b.createContext)(null), Z_e = /*#__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(GA, { values: [
- [qM, i],
- [oj, {
+ }, /*#__PURE__*/ b.createElement(qA, { values: [
+ [YM, i],
+ [cj, {
...c,
ref: a,
elementType: "span"
}],
- [dj, { slots: {
+ [pj, { slots: {
description: l,
errorMessage: u
} }],
- [fj, d]
- ] }, /*#__PURE__*/ b.createElement(aM, null, f.children)));
-}), YM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [mj, d]
+ ] }, /*#__PURE__*/ b.createElement(sM, null, f.children)));
+}), ZM = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = JA(r, t, Z_e);
- let i = b.useContext(qM), a = kv((0, b.useMemo)(() => Cv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Bse({
- ...XA(e),
+ [e, t] = XA(r, t, Y_e);
+ let i = b.useContext(YM), a = Av((0, b.useMemo)(() => wv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = zse({
+ ...QA(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ b.createElement(XM.Provider, { value: {
+ return /*#__PURE__*/ b.createElement(QM.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ b.createElement(Q_e, {
+ } }, /*#__PURE__*/ b.createElement(X_e, {
...e,
ref: t
}));
-}), XM = /*#__PURE__*/ (0, b.createContext)(null), Q_e = /*#__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)(XM), l = b.useContext(qM), { isFocused: u, isFocusVisible: d, focusProps: f } = eS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = iS({
+}), QM = /*#__PURE__*/ (0, b.createContext)(null), X_e = /*#__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)(QM), l = b.useContext(YM), { isFocused: u, isFocusVisible: d, focusProps: f } = tS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = aS({
...e,
isDisabled: p
- }), g = KA({
+ }), g = JA({
...e,
defaultClassName: s,
values: {
@@ -38554,9 +38554,9 @@ var X_e = /*#__PURE__*/ (0, b.createContext)(null), Z_e = /*#__PURE__*/ (0, b.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = Sy(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(QA.label, {
- ...Tv(_, n, m, g),
+ }), _ = Cy(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(ej.label, {
+ ...Ev(_, n, m, g),
ref: t,
"data-selected": i || void 0,
"data-pressed": o || void 0,
@@ -38567,19 +38567,19 @@ var X_e = /*#__PURE__*/ (0, b.createContext)(null), Z_e = /*#__PURE__*/ (0, b.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ b.createElement(Rb, { elementType: "span" }, /*#__PURE__*/ b.createElement("input", {
- ...Tv(r, f),
+ }, /*#__PURE__*/ b.createElement(zb, { elementType: "span" }, /*#__PURE__*/ b.createElement("input", {
+ ...Ev(r, f),
ref: c
})), g.children);
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function $_e(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = CM(e), [i, a] = (0, b.useState)(null), o = (0, b.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function Z_e(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = TM(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
- ]), [s, c] = Nb((0, b.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = Pb((0, b.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -38591,12 +38591,12 @@ function $_e(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = _M({
+ }, d = yM({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, b.useMemo)(() => eve(l), [l]),
+ selectedKeys: (0, b.useMemo)(() => Q_e(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -38606,7 +38606,7 @@ function $_e(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, b.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = wb({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, b.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = Tb({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, b.useState)(!1), [_] = (0, b.useState)(l);
@@ -38633,16 +38633,16 @@ function $_e(e) {
setFocused: g
};
}
-function eve(e) {
+function Q_e(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 tve(e) {
+function $_e(e) {
return e && e.__esModule ? e.default : e;
}
-var ZM = /*#__PURE__*/ (0, b.createContext)(null), QM = /*#__PURE__*/ (0, b.createContext)(null), nve = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, ZM);
+var $M = /*#__PURE__*/ (0, b.createContext)(null), eN = /*#__PURE__*/ (0, b.createContext)(null), eve = /*#__PURE__*/ Fv(function(e, t) {
+ [e, t] = XA(e, t, $M);
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,
@@ -38657,24 +38657,24 @@ var ZM = /*#__PURE__*/ (0, b.createContext)(null), QM = /*#__PURE__*/ (0, b.crea
i,
a
]);
- return /*#__PURE__*/ b.createElement(zv, { content: o }, (n) => /*#__PURE__*/ b.createElement(ive, {
+ return /*#__PURE__*/ b.createElement(Bv, { content: o }, (n) => /*#__PURE__*/ b.createElement(nve, {
props: e,
collection: n,
selectRef: t
}));
-}), rve = [
- oj,
- sj,
- dj
+}), tve = [
+ cj,
+ lj,
+ pj
];
-function ive({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = qA(pj) || {}, i = e.validationBehavior ?? r ?? "native", a = $_e({
+function nve({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = YA(hj) || {}, i = e.validationBehavior ?? r ?? "native", a = Z_e({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = eS({ within: !0 }), c = (0, b.useRef)(null), [l, u] = YA(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Hse({
- ...XA(e),
+ }), { isFocusVisible: o, focusProps: s } = tS({ within: !0 }), c = (0, b.useRef)(null), [l, u] = ZA(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Vse({
+ ...QA(e),
label: u,
validationBehavior: i
}, a, c), y = (0, b.useMemo)(() => ({
@@ -38691,49 +38691,49 @@ function ive({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), x = KA({
+ ]), x = JA({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), S = Sy(e, { global: !0 });
+ }), S = Cy(e, { global: !0 });
delete S.id;
let C = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement(GA, { values: [
- [ZM, e],
- [QM, a],
- [$M, p],
- [oj, {
+ return /*#__PURE__*/ b.createElement(qA, { values: [
+ [$M, e],
+ [eN, a],
+ [tN, p],
+ [cj, {
...d,
ref: l,
elementType: "span"
}],
- [sj, {
+ [lj, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [BM, a],
- [DM, {
+ [HM, a],
+ [kM, {
trigger: "Select",
triggerRef: c,
scrollRef: C,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: rve
+ clearContexts: tve
}],
- [bM, {
+ [SM, {
...m,
ref: C
}],
- [xM, a],
- [dj, { slots: {
+ [CM, a],
+ [pj, { slots: {
description: h,
errorMessage: g
} }],
- [fj, v]
- ] }, /*#__PURE__*/ b.createElement(QA.div, {
- ...Tv(S, x, s),
+ [mj, v]
+ ] }, /*#__PURE__*/ b.createElement(ej.div, {
+ ...Ev(S, x, s),
ref: t,
slot: e.slot || void 0,
"data-focused": a.isFocused || void 0,
@@ -38742,14 +38742,14 @@ function ive({ props: e, selectRef: t, collection: n }) {
"data-disabled": e.isDisabled || void 0,
"data-invalid": v.isInvalid || void 0,
"data-required": e.isRequired || void 0
- }, x.children, /*#__PURE__*/ b.createElement(Wse, {
+ }, x.children, /*#__PURE__*/ b.createElement(Use, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, $M);
- let n = (0, b.useContext)(QM), { placeholder: r } = qA(ZM), i = n.selectedItems.map((e) => {
+for (var tN = /*#__PURE__*/ (0, b.createContext)(null), rve = /*#__PURE__*/ Fv(function(e, t) {
+ [e, t] = XA(e, t, tN);
+ let n = (0, b.useContext)(eN), { placeholder: r } = YA($M), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -38761,7 +38761,7 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = tse(), o = (0, b.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, b.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = ese(), o = (0, b.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, b.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -38776,7 +38776,7 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
a,
o,
i
- ]), u = by(tve($j), "react-aria-components"), d = KA({
+ ]), u = xy($_e(tM), "react-aria-components"), d = JA({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -38787,33 +38787,33 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(QA.span, {
+ }), f = Cy(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(ej.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ b.createElement(dj.Provider, { value: void 0 }, d.children));
-}), ove = /*#__PURE__*/ (0, b.createContext)(null), eN = /*#__PURE__*/ (0, b.createContext)(null), sve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ b.createElement(pj.Provider, { value: void 0 }, d.children));
+}), ive = /*#__PURE__*/ (0, b.createContext)(null), nN = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = JA(r, t, ove);
- let i = kv((0, b.useMemo)(() => Cv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Pb(e), o = Kse({
- ...XA(e),
+ [e, t] = XA(r, t, ive);
+ let i = Av((0, b.useMemo)(() => wv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Fb(e), o = Gse({
+ ...QA(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ b.createElement(GA, { values: [[eN, a], [tN, {
+ return /*#__PURE__*/ b.createElement(qA, { values: [[nN, a], [rN, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ b.createElement(cve, {
+ }]] }, /*#__PURE__*/ b.createElement(ove, {
...e,
ref: t
}));
-}), tN = /*#__PURE__*/ (0, b.createContext)(null), cve = /*#__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)(tN), { isFocused: f, isFocusVisible: p, focusProps: m } = eS(), h = a || o, g = (0, b.useContext)(eN), { hoverProps: _, isHovered: v } = iS({
+}), rN = /*#__PURE__*/ (0, b.createContext)(null), ove = /*#__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)(rN), { isFocused: f, isFocusVisible: p, focusProps: m } = tS(), h = a || o, g = (0, b.useContext)(nN), { hoverProps: _, isHovered: v } = aS({
...e,
isDisabled: h
- }), y = KA({
+ }), y = JA({
...e,
defaultClassName: u,
values: {
@@ -38828,9 +38828,9 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
isRequired: d || !1,
state: g
}
- }), x = Sy(e, { global: !0 });
- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(QA.label, {
- ...Tv(x, n, _, y),
+ }), x = Cy(e, { global: !0 });
+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(ej.label, {
+ ...Ev(x, n, _, y),
ref: t,
slot: e.slot || void 0,
"data-selected": i || void 0,
@@ -38842,11 +38842,11 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ b.createElement(Rb, { elementType: "span" }, /*#__PURE__*/ b.createElement("input", {
- ...Tv(r, m),
+ }, /*#__PURE__*/ b.createElement(zb, { elementType: "span" }, /*#__PURE__*/ b.createElement("input", {
+ ...Ev(r, m),
ref: l
})), y.children);
-}), nN = 10, rN = 5, lve = class {
+}), iN = 10, aN = 5, sve = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -38856,7 +38856,7 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(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) > rN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > nN && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > aN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > iN && (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);
@@ -38935,11 +38935,11 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > rN && i) {
+ if (Math.abs(r - c.lastSwitchY) > aN && 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 > nN && a) {
+ if (l > iN && 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;
}
@@ -38954,7 +38954,7 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
boundaryContext: null
};
}
-}, uve = class {
+}, cve = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -39024,8 +39024,8 @@ for (var $M = /*#__PURE__*/ (0, b.createContext)(null), ave = /*#__PURE__*/ Pv(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, iN = "row-header-column-" + Math.random().toString(36).slice(2), aN = "row-header-column-" + Math.random().toString(36).slice(2); iN === aN;) aN = "row-header-column-" + Math.random().toString(36).slice(2);
-function oN(e, t) {
+}, oN = "row-header-column-" + Math.random().toString(36).slice(2), sN = "row-header-column-" + Math.random().toString(36).slice(2); oN === sN;) sN = "row-header-column-" + Math.random().toString(36).slice(2);
+function cN(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -39109,13 +39109,13 @@ function oN(e, t) {
textValue: ""
}));
}
-var dve = class extends uve {
+var lve = class extends cve {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: iN,
+ key: oN,
value: null,
textValue: "",
level: 0,
@@ -39130,7 +39130,7 @@ var dve = class extends uve {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: aN,
+ key: sN,
value: null,
textValue: "",
level: 0,
@@ -39157,7 +39157,7 @@ var dve = class extends uve {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = oN(s, a);
+ let l = cN(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -39183,10 +39183,10 @@ var dve = class extends uve {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return zx(this.body.childNodes)?.key ?? null;
+ return Bx(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return Vx(this.body.childNodes)?.key ?? null;
+ return Hx(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -39218,19 +39218,19 @@ var dve = class extends uve {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function fve(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || dM(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function uve(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || pM(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);
if (n?.type === "item") {
- let i = Rx(n, t);
- e = r === "last" ? Vx(i)?.key ?? null : zx(i)?.key ?? null;
+ let i = zx(n, t);
+ e = r === "last" ? Hx(i)?.key ?? null : Bx(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, b.useMemo)(() => new pM(t, r), [t, r]), s = (0, b.useRef)(null);
+ let o = (0, b.useMemo)(() => new hM(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;
@@ -39250,7 +39250,7 @@ function fve(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...Rx(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...zx(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
r.setFocusedKey(a);
} else r.setFocusedKey(null);
}
@@ -39269,11 +39269,11 @@ function fve(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var pve = {
+var dve = {
ascending: "descending",
descending: "ascending"
};
-function mve(e) {
+function fve(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,
@@ -39284,11 +39284,11 @@ function mve(e) {
i,
r,
a
- ]), c = gM(e, (0, b.useCallback)((e) => new dve(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = fve({
+ ]), c = vM(e, (0, b.useCallback)((e) => new lve(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = uve({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = Nb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = Pb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -39300,7 +39300,7 @@ function mve(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? pve[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? dve[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -39313,7 +39313,7 @@ function mve(e) {
treeColumn: o
};
}
-function hve(e, t) {
+function pve(e, t) {
let n = (0, b.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -39323,7 +39323,7 @@ function hve(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var gve = class extends cie {
+var mve = class extends sie {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -39338,7 +39338,7 @@ var gve = class extends cie {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new pN(-2);
+ return new hN(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -39364,7 +39364,7 @@ var gve = class extends cie {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = oN(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 = cN(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;
@@ -39445,11 +39445,11 @@ var gve = class extends cie {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new uN(-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 fN(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, _ve = /*#__PURE__*/ (0, b.createContext)(null), vve = /*#__PURE__*/ (0, b.createContext)(null), sN = /*#__PURE__*/ (0, b.createContext)(null), cN = /*#__PURE__*/ (0, b.createContext)(null), yve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, vve);
- let n = dM(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, b.useMemo)(() => ({
+}, hve = /*#__PURE__*/ (0, b.createContext)(null), gve = /*#__PURE__*/ (0, b.createContext)(null), lN = /*#__PURE__*/ (0, b.createContext)(null), uN = /*#__PURE__*/ (0, b.createContext)(null), _ve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = XA(e, t, gve);
+ let n = pM(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,
@@ -39459,26 +39459,26 @@ var gve = class extends cie {
i,
a,
o
- ]), c = /*#__PURE__*/ b.createElement(Sve.Provider, { value: s }, /*#__PURE__*/ b.createElement(Kv, e));
- return /*#__PURE__*/ b.createElement(zv, {
+ ]), c = /*#__PURE__*/ b.createElement(bve.Provider, { value: s }, /*#__PURE__*/ b.createElement(qv, e));
+ return /*#__PURE__*/ b.createElement(Bv, {
content: c,
- createCollection: () => new gve()
- }, (r) => /*#__PURE__*/ b.createElement(xve, {
+ createCollection: () => new mve()
+ }, (r) => /*#__PURE__*/ b.createElement(yve, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), bve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}), vve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(oj);
+ return n ? /*#__PURE__*/ b.createElement(ej.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.table, {
+ }) : /*#__PURE__*/ b.createElement(ej.table, {
...e,
ref: t
});
-}), lN = {
+}), dN = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -39488,26 +39488,26 @@ var gve = class extends cie {
rtl: "ArrowRight"
}
};
-function xve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = JA(e, t, $A);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(_ve);
- t = kv((0, b.useMemo)(() => Cv(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = Nb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+function yve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = XA(e, t, tj);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(hve);
+ t = Av((0, b.useMemo)(() => wv(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = Pb(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 = mve({
+ let d = fve({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = hve(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(ij), { dragAndDropHooks: _ } = e, { gridProps: v } = Qse({
+ }), f = pve(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(oj), { dragAndDropHooks: _ } = e, { gridProps: v } = Zse({
...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 } = my(), [A] = (0, b.useState)(() => new lve());
+ let C, w, T, E = !1, D = null, O = (0, b.useRef)(null), { direction: k } = hy(), [A] = (0, b.useState)(() => new sve());
if (x && _) {
C = _.useDraggableCollectionState({
collection: f.collection,
@@ -39522,7 +39522,7 @@ function xve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new Yb({
+ let e = new Xb({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -39542,12 +39542,12 @@ function xve({ 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 === lN.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === lN.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === dN.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === dN.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 } = eS(), P = KA({
+ let { focusProps: j, isFocused: M, isFocusVisible: N } = tS(), P = JA({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -39563,20 +39563,20 @@ function xve({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let I = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(GA, { values: [
- [sN, f],
- [cN, te],
- [eM, {
+ let I = Cy(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(qA, { values: [
+ [lN, f],
+ [uN, te],
+ [nM, {
dragAndDropHooks: _,
dragState: C,
dropState: w
}],
- [tM, { render: Mve }],
- [$A, null],
- [ej, null]
- ] }, /*#__PURE__*/ b.createElement(Gy, null, /*#__PURE__*/ b.createElement(bve, {
- ...Tv(I, P, v, j, T?.collectionProps),
+ [rM, { render: Ave }],
+ [tj, null],
+ [nj, null]
+ ] }, /*#__PURE__*/ b.createElement(Ky, null, /*#__PURE__*/ b.createElement(vve, {
+ ...Ev(I, P, v, j, T?.collectionProps),
style: F,
ref: t,
slot: e.slot || void 0,
@@ -39585,55 +39585,55 @@ function xve({ 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(aM, null, /*#__PURE__*/ b.createElement(g, {
+ }, /*#__PURE__*/ b.createElement(sM, null, /*#__PURE__*/ b.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: rM(y, _, w)
+ persistedKeys: aM(y, _, w)
})))), D);
}
-var Sve = /*#__PURE__*/ (0, b.createContext)(null), uN = class extends y_ {
+var bve = /*#__PURE__*/ (0, b.createContext)(null), fN = class extends b_ {
static {
this.type = "tableheader";
}
-}, Cve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}, xve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(oj);
+ return n ? /*#__PURE__*/ b.createElement(ej.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.thead, {
+ }) : /*#__PURE__*/ b.createElement(ej.thead, {
...e,
ref: t
});
-}), dN = /*#__PURE__*/ Uv(uN, (e, t) => {
- let n = (0, b.useContext)(sN).collection, r = C_({
+}), pN = /*#__PURE__*/ Wv(fN, (e, t) => {
+ let n = (0, b.useContext)(lN).collection, r = w_({
items: n.headerRows,
children: (0, b.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ b.createElement(Tve, { item: e });
+ case "headerrow": return /*#__PURE__*/ b.createElement(Cve, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = Qw(), { hoverProps: a, isHovered: o } = iS({
+ }), { rowGroupProps: i } = $w(), { hoverProps: a, isHovered: o } = aS({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = KA({
+ }), s = JA({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ b.createElement(Cve, {
- ...Tv(Sy(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ b.createElement(xve, {
+ ...Ev(Cy(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ b.createElement(Kv, {
+}, (e) => /*#__PURE__*/ b.createElement(qv, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), wve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
+}, e.children)), Sve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(oj);
return n ? /*#__PURE__*/ b.createElement("div", {
...e,
ref: t
@@ -39642,41 +39642,41 @@ var Sve = /*#__PURE__*/ (0, b.createContext)(null), uN = class extends y_ {
ref: t
});
});
-function Tve({ item: e }) {
- let t = (0, b.useRef)(null), n = (0, b.useContext)(sN), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(ij), { rowProps: a } = nce({
+function Cve({ item: e }) {
+ let t = (0, b.useRef)(null), n = (0, b.useContext)(lN), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(oj), { rowProps: a } = tce({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = lce(n);
- return /*#__PURE__*/ b.createElement(wve, {
+ }, n, t), { checkboxProps: o } = cce(n);
+ return /*#__PURE__*/ b.createElement(Sve, {
...a,
ref: t
- }, /*#__PURE__*/ b.createElement(GA, { values: [[mj, { slots: { selection: o } }], [hj, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {
+ }, /*#__PURE__*/ b.createElement(qA, { values: [[gj, { slots: { selection: o } }], [_j, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Eve = class extends y_ {
+var wve = class extends b_ {
static {
this.type = "column";
}
-}, Dve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}, Tve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(oj);
+ return n ? /*#__PURE__*/ b.createElement(ej.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.th, {
+ }) : /*#__PURE__*/ b.createElement(ej.th, {
...e,
ref: t
});
-}), fN = /*#__PURE__*/ Hv(Eve, (e, t, n) => {
- let r = kv(t), i = (0, b.useContext)(sN), { isVirtualized: a } = (0, b.useContext)(ij), { columnHeaderProps: o, isPressed: s } = tce({
+}), mN = /*#__PURE__*/ Uv(wve, (e, t, n) => {
+ let r = Av(t), i = (0, b.useContext)(lN), { isVirtualized: a } = (0, b.useContext)(oj), { columnHeaderProps: o, isPressed: s } = ece({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = eS(), d = (0, b.useContext)(cN), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = tS(), d = (0, b.useContext)(uN), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = iS({ isDisabled: !e.allowsSorting }), h = KA({
+ let { hoverProps: p, isHovered: m } = aS({ isDisabled: !e.allowsSorting }), h = JA({
...e,
id: void 0,
children: n.rendered,
@@ -39702,9 +39702,9 @@ var Eve = class extends y_ {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = Sy(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ b.createElement(Dve, {
- ...Tv(_, o, u, p),
+ let _ = Cy(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ b.createElement(Tve, {
+ ...Ev(_, o, u, p),
...h,
style: g,
ref: r,
@@ -39715,28 +39715,28 @@ var Eve = class extends y_ {
"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(GA, { values: [[Ove, {
+ }, /*#__PURE__*/ b.createElement(qA, { values: [[Eve, {
column: n,
triggerRef: r
- }], [ij, nj]] }, h.children));
-}), Ove = /*#__PURE__*/ (0, b.createContext)(null), pN = class extends b_ {
+ }], [oj, ij]] }, h.children));
+}), Eve = /*#__PURE__*/ (0, b.createContext)(null), hN = class extends x_ {
static {
this.type = "tablebody";
}
-}, kve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}, Dve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(oj);
+ return n ? /*#__PURE__*/ b.createElement(ej.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.tbody, {
+ }) : /*#__PURE__*/ b.createElement(ej.tbody, {
...e,
ref: t
});
-}), mN = /*#__PURE__*/ Uv(pN, (e, t, n) => {
- let r = (0, b.useContext)(sN), { isVirtualized: i } = (0, b.useContext)(ij), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(ij), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(eM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), gN = /*#__PURE__*/ Wv(hN, (e, t, n) => {
+ let r = (0, b.useContext)(lN), { isVirtualized: i } = (0, b.useContext)(oj), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(oj), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(nM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = KA({
+ }, p = JA({
...e,
id: void 0,
children: void 0,
@@ -39745,33 +39745,33 @@ var Eve = class extends y_ {
}), 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(gN, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ b.createElement(vN, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ b.createElement(vN, {
+ }, /*#__PURE__*/ b.createElement(bN, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = Qw(), _ = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(kve, {
- ...Tv(_, p, g),
+ let { rowGroupProps: g } = $w(), _ = Cy(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(Dve, {
+ ...Ev(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ b.createElement(Lve, null), /*#__PURE__*/ b.createElement(o, {
+ }, l && /*#__PURE__*/ b.createElement(Fve, null), /*#__PURE__*/ b.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: nM(s, c)
+ renderDropIndicator: iM(s, c)
}), m);
});
-(class extends b_ {
+(class extends x_ {
static {
this.type = "tablefooter";
}
});
-var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Ave = class extends y_ {
+var _N = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Ove = class extends b_ {
static {
this.type = "item";
}
@@ -39783,31 +39783,31 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
}
return null;
}
-}, gN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}, vN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(oj);
+ return n ? /*#__PURE__*/ b.createElement(ej.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.tr, {
+ }) : /*#__PURE__*/ b.createElement(ej.tr, {
...e,
ref: t
});
-}), _N = /*#__PURE__*/ Uv(Ave, (e, t, n) => {
- let r = kv(t), i = (0, b.useContext)(sN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(eM), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(ij), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ace({
+}), yN = /*#__PURE__*/ Wv(Ove, (e, t, n) => {
+ let r = Av(t), i = (0, b.useContext)(lN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(nM), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(oj), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ice({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = eS(), { isFocusVisible: _, focusProps: v } = eS({ within: !0 }), { hoverProps: y, isHovered: x } = iS({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = tS(), { isFocusVisible: _, focusProps: v } = tS({ within: !0 }), { hoverProps: y, isHovered: x } = aS({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: S } = cce({ key: n.key }, i), C;
+ }), { checkboxProps: S } = sce({ key: n.key }, i), C;
o && a && (C = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let w, T = (0, b.useRef)(null), { visuallyHiddenProps: E } = Lb();
+ let w, T = (0, b.useRef)(null), { visuallyHiddenProps: E } = Rb();
s && a && (w = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -39817,7 +39817,7 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
(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 = KA({
+ 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 = JA({
...A,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -39838,11 +39838,11 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
isExpanded: M,
level: n.level + 1
}
- }), P = Sy(e, { global: !0 });
- return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement(gN, {
+ }), P = Cy(e, { global: !0 });
+ return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement(vN, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ b.createElement(vN, {
+ }, /*#__PURE__*/ b.createElement(bN, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -39851,8 +39851,8 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
...E,
...w.dropIndicatorProps,
ref: T
- }))), /*#__PURE__*/ b.createElement(gN, {
- ...Tv(P, N, d, g, y, C?.dragProps, v),
+ }))), /*#__PURE__*/ b.createElement(vN, {
+ ...Ev(P, N, d, g, y, C?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
"data-selected": p.isSelected || void 0,
@@ -39867,17 +39867,17 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
"data-expanded": M || void 0,
"data-has-child-items": j || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ b.createElement(GA, { values: [
- [mj, { slots: {
- [WA]: {},
+ }, /*#__PURE__*/ b.createElement(qA, { values: [
+ [gj, { slots: {
+ [KA]: {},
selection: S
} }],
- [hj, { slots: {
- [WA]: {},
+ [_j, { slots: {
+ [KA]: {},
selection: S
} }],
- [sj, { slots: {
- [WA]: {},
+ [lj, { slots: {
+ [KA]: {},
chevron: f,
drag: {
...C?.dragButtonProps,
@@ -39885,8 +39885,8 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
style: { pointerEvents: "none" }
}
} }],
- [oM, { isSelected: p.isSelected }],
- [hN, { isFocusVisibleWithinRow: _ }]
+ [cM, { isSelected: p.isSelected }],
+ [_N, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ b.createElement(l, {
collection: i.collection,
parent: n
@@ -39894,34 +39894,34 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
}, (e) => {
if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");
let t = [e.value].concat(e.dependencies);
- return /*#__PURE__*/ b.createElement(Kv, {
+ return /*#__PURE__*/ b.createElement(qv, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), jve = class extends y_ {
+}), kve = class extends b_ {
static {
this.type = "cell";
}
-}, vN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}, bN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(oj);
+ return n ? /*#__PURE__*/ b.createElement(ej.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.td, {
+ }) : /*#__PURE__*/ b.createElement(ej.td, {
...e,
ref: t
});
-}), yN = /*#__PURE__*/ Hv(jve, (e, t, n) => {
- let r = kv(t), i = (0, b.useContext)(sN), { dragState: a } = (0, b.useContext)(eM), { isVirtualized: o } = (0, b.useContext)(ij);
+}), xN = /*#__PURE__*/ Uv(kve, (e, t, n) => {
+ let r = Av(t), i = (0, b.useContext)(lN), { dragState: a } = (0, b.useContext)(nM), { isVirtualized: o } = (0, b.useContext)(oj);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = $se({
+ let { gridCellProps: s, isPressed: c } = Qse({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = eS(), { hoverProps: f, isHovered: p } = iS({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(hN), 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 = KA({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = tS(), { hoverProps: f, isHovered: p } = aS({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(_N), 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 = JA({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -39940,9 +39940,9 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), C = Sy(e, { global: !0 });
- return delete C.id, /*#__PURE__*/ b.createElement(vN, {
- ...Tv(C, S, s, d, f),
+ }), C = Cy(e, { global: !0 });
+ return delete C.id, /*#__PURE__*/ b.createElement(bN, {
+ ...Ev(C, S, s, d, f),
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
@@ -39955,14 +39955,14 @@ var hN = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), Av
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": x || void 0
- }, /*#__PURE__*/ b.createElement(ij.Provider, { value: nj }, S.children));
+ }, /*#__PURE__*/ b.createElement(oj.Provider, { value: ij }, S.children));
});
-function Mve(e, t) {
- t = kv(t);
- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(eM), i = (0, b.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function Ave(e, t) {
+ t = Av(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(nM), 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(Ive, {
+ return /*#__PURE__*/ b.createElement(Pve, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -39971,40 +39971,40 @@ function Mve(e, t) {
ref: t
});
}
-var Nve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+var jve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(oj);
+ return n ? /*#__PURE__*/ b.createElement(ej.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.tr, {
+ }) : /*#__PURE__*/ b.createElement(ej.tr, {
...e,
ref: t
});
-}), Pve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ij);
- return n ? /*#__PURE__*/ b.createElement(QA.div, {
+}), Mve = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(oj);
+ return n ? /*#__PURE__*/ b.createElement(ej.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(QA.td, {
+ }) : /*#__PURE__*/ b.createElement(ej.td, {
...e,
ref: t
});
});
-function Fve(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(sN), { visuallyHiddenProps: c } = Lb(), l = KA({
+function Nve(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(lN), { visuallyHiddenProps: c } = Rb(), l = JA({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ b.createElement(Nve, {
- ...Sy(e, { global: !0 }),
+ return /*#__PURE__*/ b.createElement(jve, {
+ ...Cy(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ b.createElement(Pve, {
+ }, /*#__PURE__*/ b.createElement(Mve, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -40015,14 +40015,14 @@ function Fve(e, t) {
ref: i
}), l.children));
}
-var Ive = /*#__PURE__*/ (0, b.forwardRef)(Fve);
-function Lve() {
- let e = (0, b.useContext)(sN), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(eM), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Lb();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement(gN, {
+var Pve = /*#__PURE__*/ (0, b.forwardRef)(Nve);
+function Fve() {
+ let e = (0, b.useContext)(lN), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(nM), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Rb();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement(vN, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ b.createElement(vN, {
+ }, /*#__PURE__*/ b.createElement(bN, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -40033,9 +40033,9 @@ function Lve() {
ref: r
})));
}
-Hv(x_, function(e, t, n) {
- let r = (0, b.useContext)(sN), { isVirtualized: i } = (0, b.useContext)(ij), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);
- yM((0, b.useMemo)(() => ({
+Uv(S_, function(e, t, n) {
+ let r = (0, b.useContext)(lN), { isVirtualized: i } = (0, b.useContext)(oj), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);
+ xM((0, b.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -40045,7 +40045,7 @@ Hv(x_, function(e, t, n) {
s,
r?.collection
]), u);
- let d = KA({
+ let d = JA({
...c,
id: void 0,
children: n.rendered,
@@ -40053,10 +40053,10 @@ Hv(x_, 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(gN, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(vN, {
style: { height: 0 },
- inert: cM(!0)
- }, /*#__PURE__*/ b.createElement(vN, { style: {
+ inert: uM(!0)
+ }, /*#__PURE__*/ b.createElement(bN, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ b.createElement("div", {
@@ -40067,14 +40067,14 @@ Hv(x_, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ b.createElement(gN, {
- ...Tv(Sy(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ b.createElement(vN, {
+ ...Ev(Cy(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ b.createElement(vN, {
+ }, /*#__PURE__*/ b.createElement(bN, {
role: "rowheader",
...p,
style: m
@@ -40082,8 +40082,8 @@ Hv(x_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function Rve(e) {
- let [t, n] = Nb(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = _M({
+function Ive(e) {
+ let [t, n] = Pb(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = yM({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -40106,24 +40106,24 @@ function Rve(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function zve(e) {
- let t = Rve({
+function Lve(e) {
+ let t = Ive({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? bN(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? SN(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 = bN(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 = SN(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 bN(e, t) {
+function SN(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);
@@ -40133,24 +40133,24 @@ function bN(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var xN = /*#__PURE__*/ (0, b.createContext)(null), SN = /*#__PURE__*/ (0, b.createContext)(null), CN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = JA(e, t, xN);
+var CN = /*#__PURE__*/ (0, b.createContext)(null), wN = /*#__PURE__*/ (0, b.createContext)(null), TN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = XA(e, t, CN);
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(zv, { content: n }, (n) => /*#__PURE__*/ b.createElement(Bve, {
+ }) : n, [n, r]), /*#__PURE__*/ b.createElement(Bv, { content: n }, (n) => /*#__PURE__*/ b.createElement(Rve, {
props: e,
collection: n,
tabsRef: t
}));
});
-function Bve({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = zve({
+function Rve({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = Lve({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = eS({ within: !0 }), c = (0, b.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = tS({ within: !0 }), c = (0, b.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -40158,33 +40158,33 @@ function Bve({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = KA({
+ ]), l = JA({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = Sy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(QA.div, {
- ...Tv(u, l, a),
+ }), u = Cy(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(ej.div, {
+ ...Ev(u, l, a),
ref: t,
slot: e.slot || void 0,
"data-focused": o || void 0,
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ b.createElement(GA, { values: [[xN, e], [SN, i]] }, l.children));
+ }, /*#__PURE__*/ b.createElement(qA, { values: [[CN, e], [wN, i]] }, l.children));
}
-var wN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- return (0, b.useContext)(SN) ? /*#__PURE__*/ b.createElement(Vve, {
+var EN = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ return (0, b.useContext)(wN) ? /*#__PURE__*/ b.createElement(zve, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ b.createElement(Kv, e);
+ }) : /*#__PURE__*/ b.createElement(qv, e);
});
-function Vve({ props: e, forwardedRef: t }) {
- let n = (0, b.useContext)(SN), { CollectionRoot: r } = (0, b.useContext)(ij), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = qA(xN), o = kv(t), { tabListProps: s } = fce({
+function zve({ props: e, forwardedRef: t }) {
+ let n = (0, b.useContext)(wN), { CollectionRoot: r } = (0, b.useContext)(oj), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = YA(CN), o = Av(t), { tabListProps: s } = dce({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = KA({
+ }, n, o), c = JA({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -40192,30 +40192,30 @@ function Vve({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = Sy(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ b.createElement(QA.div, {
- ...Tv(l, c, s),
+ }), l = Cy(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ b.createElement(ej.div, {
+ ...Ev(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ b.createElement(aM, null, /*#__PURE__*/ b.createElement(r, {
+ }, /*#__PURE__*/ b.createElement(sM, null, /*#__PURE__*/ b.createElement(r, {
collection: n.collection,
- persistedKeys: aj(n.selectionManager.focusedKey)
+ persistedKeys: sj(n.selectionManager.focusedKey)
})));
}
-var TN = /*#__PURE__*/ Hv(class extends y_ {
+var DN = /*#__PURE__*/ Uv(class extends b_ {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, b.useContext)(SN), i = kv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = uce({
+ let r = (0, b.useContext)(wN), i = Av(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = lce({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = eS(), { hoverProps: f, isHovered: p } = iS({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = tS(), { hoverProps: f, isHovered: p } = aS({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = KA({
+ }), m = JA({
...e,
id: void 0,
children: n.rendered,
@@ -40228,9 +40228,9 @@ var TN = /*#__PURE__*/ Hv(class extends y_ {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? QA.a : QA.div, g = Sy(e, { global: !0 });
+ }), h = n.props.href ? ej.a : ej.div, g = Cy(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ b.createElement(h, {
- ...Tv(g, m, a, l, f),
+ ...Ev(g, m, a, l, f),
ref: i,
"data-selected": o || void 0,
"data-disabled": s || void 0,
@@ -40238,58 +40238,58 @@ var TN = /*#__PURE__*/ Hv(class extends y_ {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ b.createElement(oM.Provider, { value: { isSelected: o } }, m.children));
-}), EN = /*#__PURE__*/ Pv(function(e, t) {
- let n = (0, b.useContext)(SN), r = kv(t), i = n.selectedKey === e.id, [a, o] = (0, b.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ b.createElement(cM.Provider, { value: { isSelected: o } }, m.children));
+}), ON = /*#__PURE__*/ Fv(function(e, t) {
+ let n = (0, b.useContext)(wN), r = Av(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 = TM(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(Hve, {
+ let s = DM(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(Bve, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function Hve(e) {
- let t = (0, b.useContext)(SN), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = pce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = eS(), d = t.selectedKey === e.id, f = wM(r) && !i, p = KA({
+function Bve(e) {
+ let t = (0, b.useContext)(wN), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = fce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = tS(), d = t.selectedKey === e.id, f = EM(r) && !i, p = JA({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: cM(!d),
+ isInert: uM(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = Sy(o, { global: !0 });
+ }), m = Cy(o, { global: !0 });
delete m.id;
- let h = d ? Tv(m, s, c, p) : Tv(m, p);
- return /*#__PURE__*/ b.createElement(QA.div, {
+ let h = d ? Ev(m, s, c, p) : Ev(m, p);
+ return /*#__PURE__*/ b.createElement(ej.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: cM(!d || e.inert),
+ inert: uM(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ b.createElement(GA, { values: [[xN, null], [SN, null]] }, /*#__PURE__*/ b.createElement(ij.Provider, { value: nj }, p.children)));
+ }, /*#__PURE__*/ b.createElement(qA, { values: [[CN, null], [wN, null]] }, /*#__PURE__*/ b.createElement(oj.Provider, { value: ij }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var Uve = /*#__PURE__*/ (0, b.createContext)({}), Wve = /*#__PURE__*/ (0, b.createContext)(null), Gve = /*#__PURE__*/ Pv(function(e, t) {
- [e, t] = JA(e, t, Wve);
- let { validationBehavior: n } = qA(pj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);
- [e, i] = JA(e, i, ej);
- let [a, o] = YA(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Boe({
- ...XA(e),
+var Vve = /*#__PURE__*/ (0, b.createContext)({}), Hve = /*#__PURE__*/ (0, b.createContext)(null), Uve = /*#__PURE__*/ Fv(function(e, t) {
+ [e, t] = XA(e, t, Hve);
+ let { validationBehavior: n } = YA(hj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);
+ [e, i] = XA(e, i, nj);
+ let [a, o] = ZA(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = zoe({
+ ...QA(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 = KA({
+ }, [i]), h = JA({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -40298,8 +40298,8 @@ var Uve = /*#__PURE__*/ (0, b.createContext)({}), Wve = /*#__PURE__*/ (0, b.crea
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = Sy(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ b.createElement(QA.div, {
+ }), g = Cy(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ b.createElement(ej.div, {
...g,
...h,
ref: t,
@@ -40308,38 +40308,38 @@ var Uve = /*#__PURE__*/ (0, b.createContext)({}), Wve = /*#__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(GA, { values: [
- [oj, {
+ }, /*#__PURE__*/ b.createElement(qA, { values: [
+ [cj, {
...l,
ref: a
}],
- [vj, {
+ [bj, {
...u,
ref: m
}],
- [Uve, {
+ [Vve, {
...u,
ref: m
}],
- [_j, {
+ [yj, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [dj, { slots: {
+ [pj, { slots: {
description: d,
errorMessage: f
} }],
- [fj, p]
+ [mj, p]
] }, h.children));
});
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function Kve({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsxs)(i_e, {
+function Wve({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsxs)(n_e, {
"data-label": "true",
...a,
- className: Bk("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: Hk("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, x.jsx)("span", {
@@ -40347,7 +40347,7 @@ function Kve({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, x.jsx)(Vme, {
+ n && /* @__PURE__ */ (0, x.jsx)(zme, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -40356,33 +40356,33 @@ function Kve({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function qve({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, x.jsx)(c_e, {
+function Gve({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, x.jsx)(o_e, {
slot: e ? "errorMessage" : "description",
...n,
- className: Bk("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: Hk("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 DN = (0, b.createContext)({});
-function ON({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsx)(DN.Provider, {
+var kN = (0, b.createContext)({});
+function AN({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsx)(kN.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, x.jsx)(Gve, {
+ children: /* @__PURE__ */ (0, x.jsx)(Uve, {
...a,
"data-input-size": e,
- className: Bk("group flex h-max w-full flex-col items-start gap-1", r),
+ className: Hk("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-ON.displayName = "TextField";
-var kN = Vk({
+AN.displayName = "TextField";
+var jN = Uk({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -40411,44 +40411,44 @@ var kN = Vk({
].join(" "),
icon: "size-5 shrink-0"
});
-function AN({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, b.useContext)(DN), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, x.jsx)(p_e, {
+function MN({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, b.useContext)(kN), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, x.jsx)(d_e, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => Bk(kN.field, d ? kN.fieldWithAddonSize[u] : kN.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 }) => Hk(jN.field, d ? jN.fieldWithAddonSize[u] : jN.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: kN.content,
+ className: jN.content,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
- className: kN.leftSection,
+ className: jN.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, x.jsx)(t, {
- className: kN.icon,
+ className: jN.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, x.jsx)(h_e, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(p_e, {
ref: o,
...c,
- className: Bk(kN.input, l.inputClassName, a)
+ className: Hk(jN.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, x.jsx)(n, {
- className: kN.icon,
+ className: jN.icon,
"aria-hidden": !0
}) : null]
})
});
}
-AN.displayName = "InputBase";
-function jN({ 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)(ON, {
+MN.displayName = "InputBase";
+function NN({ 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)(AN, {
...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)(Kve, {
+ e && /* @__PURE__ */ (0, x.jsx)(Wve, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, x.jsx)(AN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
ref: c,
groupRef: l,
placeholder: r,
@@ -40457,25 +40457,25 @@ function jN({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, x.jsx)(qve, {
+ t && /* @__PURE__ */ (0, x.jsx)(Gve, {
isInvalid: d,
children: t
})
] })
});
}
-jN.displayName = "Input";
+NN.displayName = "Input";
//#endregion
//#region src/react/components/modal-frame.tsx
-var Jve = {
+var Kve = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal",
collections: "max-w-4xl"
};
-function MN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
- let { isFocusVisible: a } = aae();
- return /* @__PURE__ */ (0, x.jsx)(GM, {
+function PN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+ let { isFocusVisible: a } = iae();
+ return /* @__PURE__ */ (0, x.jsx)(qM, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
@@ -40483,11 +40483,11 @@ function MN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
"data-modal-kind": n,
"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)(U_e, {
+ children: /* @__PURE__ */ (0, x.jsx)(V_e, {
"data-modal-surface": "",
"data-modal-width": n,
- className: `flex max-h-full w-full ${Jve[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, x.jsx)(VM, {
+ className: `flex max-h-full w-full ${Kve[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, x.jsx)(UM, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -40495,7 +40495,7 @@ function MN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function NN({ children: e }) {
+function FN({ 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",
@@ -40504,11 +40504,11 @@ function NN({ children: e }) {
}
//#endregion
//#region src/react/components/sprite-glyph.tsx
-var Yve = { "text-aa": 1.435 }, PN = /* @__PURE__ */ new Map();
-function FN(e) {
- let t = PN.get(e);
+var qve = { "text-aa": 1.435 }, IN = /* @__PURE__ */ new Map();
+function LN(e) {
+ let t = IN.get(e);
if (t) return t;
- let n = Yve[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+ let n = qve[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"}`,
@@ -40522,11 +40522,11 @@ function FN(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})`, PN.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, IN.set(e, r), r;
}
//#endregion
//#region src/react/components/settings-dialog-close.tsx
-function IN({ label: e, id: t, onPress: n }) {
+function RN({ label: e, id: t, onPress: n }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
id: t,
@@ -40542,58 +40542,58 @@ function IN({ label: e, id: t, onPress: n }) {
}
//#endregion
//#region src/react/library-shortcuts/library-shortcuts.ts
-var LN = ["library-shortcuts"], RN = "/api/library-shortcuts";
-function zN(e = !0) {
+var zN = ["library-shortcuts"], BN = "/api/library-shortcuts";
+function VN(e = !0) {
return ut({
- queryKey: LN,
- queryFn: ({ signal: e }) => V(RN, e),
+ queryKey: zN,
+ queryFn: ({ signal: e }) => V(BN, e),
enabled: e,
refetchOnMount: e ? "always" : !1
});
}
-function BN() {
+function HN() {
return dt({
- mutationKey: LN,
- mutationFn: (e) => H(RN, e),
+ mutationKey: zN,
+ mutationFn: (e) => H(BN, e),
onSuccess: (e) => {
- U.setQueryData(LN, e);
+ U.setQueryData(zN, e);
}
});
}
-function VN(e, t) {
+function UN(e, t) {
return e.some((e) => t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name);
}
-function Xve(e) {
+function Jve(e) {
return Ft(e.kind, e.name, e.entity_id);
}
//#endregion
//#region src/react/library-shortcuts/shortcut-controls.tsx
-var HN = FN("star"), Zve = FN("bookmark-plus"), UN = {
+var WN = LN("star"), Yve = LN("bookmark-plus"), GN = {
performer: "艺人",
creator: "创作者",
studio: "片商与厂牌",
series: "系列",
agency: "事务所",
tag: "标签"
-}, WN = {
- all: FN("star"),
- performer: FN("user-round"),
- creator: FN("user-round"),
- studio: FN("clapperboard"),
- series: FN("film"),
- agency: FN("briefcase"),
- tag: FN("tags"),
- filters: FN("list-filter")
-}, GN = [
+}, KN = {
+ all: LN("star"),
+ performer: LN("user-round"),
+ creator: LN("user-round"),
+ studio: LN("clapperboard"),
+ series: LN("film"),
+ agency: LN("briefcase"),
+ tag: LN("tags"),
+ filters: LN("list-filter")
+}, qN = [
["all", "全部"],
- ...Object.entries(UN),
+ ...Object.entries(GN),
["filters", "保存的筛选"]
];
-function KN({ item: e }) {
- return /* @__PURE__ */ (0, x.jsx)(Qve, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
+function JN({ item: e }) {
+ return /* @__PURE__ */ (0, x.jsx)(Xve, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
}
-function Qve({ item: e }) {
- let t = zN(!1), n = (0, b.useRef)(t.data), r = BN(), i = t.data && t.data !== n.current ? VN(t.data.favorites || [], e) : e.favorite ?? (t.data ? VN(t.data.favorites || [], e) : !1);
+function Xve({ item: e }) {
+ let t = VN(!1), n = (0, b.useRef)(t.data), r = HN(), i = t.data && t.data !== n.current ? UN(t.data.favorites || [], e) : e.favorite ?? (t.data ? UN(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex min-w-0 flex-col gap-1",
children: [
@@ -40614,7 +40614,7 @@ function Qve({ item: e }) {
children: r.isPending ? /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: eo("") }
- }) : /* @__PURE__ */ (0, x.jsx)(HN, {})
+ }) : /* @__PURE__ */ (0, x.jsx)(WN, {})
}),
r.isError ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -40629,7 +40629,7 @@ function Qve({ item: e }) {
]
});
}
-function qN({ currentHref: e, kind: t }) {
+function YN({ currentHref: e, kind: t }) {
let [n, r] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-shortcuts-entry": "",
@@ -40641,27 +40641,27 @@ function qN({ currentHref: e, kind: t }) {
"aria-haspopup": "dialog",
"aria-expanded": n,
onClick: () => r(!0),
- children: /* @__PURE__ */ (0, x.jsx)(HN, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, x.jsx)(WN, { "aria-hidden": !0 })
})
- }), /* @__PURE__ */ (0, x.jsx)(MN, {
+ }), /* @__PURE__ */ (0, x.jsx)(PN, {
isOpen: n,
onOpenChange: r,
width: "collections",
label: "我的收藏",
- children: n ? /* @__PURE__ */ (0, x.jsx)($ve, {
+ children: n ? /* @__PURE__ */ (0, x.jsx)(Zve, {
currentHref: e,
kind: t,
close: () => r(!1)
}) : null
})] });
}
-function $ve({ currentHref: e, kind: t, close: n }) {
- let r = zN(), i = BN(), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(t || "all"), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = (0, b.useId)(), [m, h] = (0, b.useState)(() => matchMedia("(max-width: 760px)").matches);
+function Zve({ currentHref: e, kind: t, close: n }) {
+ let r = VN(), i = HN(), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(t || "all"), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = (0, b.useId)(), [m, h] = (0, b.useState)(() => matchMedia("(max-width: 760px)").matches);
(0, b.useEffect)(() => {
let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), y = (0, b.useRef)(null), S = UA(_, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
+ let g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), y = (0, b.useRef)(null), S = GA(_, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
(0, b.useLayoutEffect)(() => {
v.current && (y.current = ya(v.current) || null);
}, []), (0, b.useLayoutEffect)(() => {
@@ -40669,7 +40669,7 @@ function $ve({ currentHref: e, kind: t, close: n }) {
}, [s]), (0, b.useLayoutEffect)(() => {
y.current?.();
});
- let C = GN.find(([e]) => e === s)?.[1] || "全部", w = (e) => {
+ let C = qN.find(([e]) => e === s)?.[1] || "全部", w = (e) => {
let t = [...e.currentTarget.querySelectorAll("[role=\"tab\"]")], n = t.indexOf(e.target);
if (n < 0) return;
let r = e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : ["ArrowDown", "ArrowRight"].includes(e.key) ? (n + 1) % t.length : ["ArrowUp", "ArrowLeft"].includes(e.key) ? (n + t.length - 1) % t.length : -1;
@@ -40691,7 +40691,7 @@ function $ve({ currentHref: e, kind: t, close: n }) {
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
className: "text-title-2-semibold text-text-primary",
children: C
- }), /* @__PURE__ */ (0, x.jsx)(IN, {
+ }), /* @__PURE__ */ (0, x.jsx)(RN, {
label: "关闭我的收藏",
onPress: n
})]
@@ -40721,8 +40721,8 @@ function $ve({ currentHref: e, kind: t, close: n }) {
role: "presentation",
children: "我的收藏"
}),
- GN.map(([e, t]) => {
- let n = WN[e] || HN, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
+ qN.map(([e, t]) => {
+ let n = KN[e] || WN, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "tab",
@@ -40753,11 +40753,11 @@ function $ve({ currentHref: e, kind: t, close: n }) {
children: [/* @__PURE__ */ (0, x.jsxs)("a", {
href: "/flagged",
onClick: n,
- children: [/* @__PURE__ */ (0, x.jsx)(HN, { "aria-hidden": !0 }), "已标记"]
+ children: [/* @__PURE__ */ (0, x.jsx)(WN, { "aria-hidden": !0 }), "已标记"]
}), /* @__PURE__ */ (0, x.jsxs)("a", {
href: "/watch-later",
onClick: n,
- children: [/* @__PURE__ */ (0, x.jsx)(Zve, { "aria-hidden": !0 }), "稍后看"]
+ children: [/* @__PURE__ */ (0, x.jsx)(Yve, { "aria-hidden": !0 }), "稍后看"]
})]
})]
}),
@@ -40789,9 +40789,9 @@ function $ve({ currentHref: e, kind: t, close: n }) {
children: B(i.error)
}) : null,
E ? s === "filters" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- E.filters.length ? null : /* @__PURE__ */ (0, x.jsx)(qk, {
+ E.filters.length ? null : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: FN("list-filter"),
+ icon: LN("list-filter"),
title: "还没有保存的筛选",
children: "在馆藏页保存当前条件,随时打开。"
}),
@@ -40822,7 +40822,7 @@ function $ve({ currentHref: e, kind: t, close: n }) {
className: "flex flex-col gap-3",
"aria-label": "保存当前筛选",
children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "筛选名称",
value: a,
onChange: o,
@@ -40842,16 +40842,16 @@ function $ve({ currentHref: e, kind: t, close: n }) {
]
}) : null
] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
"aria-label": "搜索收藏",
placeholder: "搜索收藏",
- leadingIcon: FN("search"),
+ leadingIcon: LN("search"),
value: l,
onChange: u
}),
- D.length ? null : /* @__PURE__ */ (0, x.jsx)(qk, {
+ D.length ? null : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: HN,
+ icon: WN,
title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",
children: l ? "试试其他名称。" : "在资料页或标签页收藏常用内容。"
}),
@@ -40861,18 +40861,18 @@ function $ve({ currentHref: e, kind: t, close: n }) {
"data-shortcuts-row": "",
className: "flex min-w-0 items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, x.jsxs)("a", {
- href: Xve(e),
+ href: Jve(e),
"aria-label": e.name,
onClick: n,
className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",
- children: [/* @__PURE__ */ (0, x.jsx)(eye, { item: e }, e.image_url), /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(Qve, { item: e }, e.image_url), /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "truncate",
children: e.name
}), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
- children: UN[e.kind]
+ children: GN[e.kind]
})]
})]
}), /* @__PURE__ */ (0, x.jsx)(G, {
@@ -40897,8 +40897,8 @@ function $ve({ currentHref: e, kind: t, close: n }) {
]
});
}
-function eye({ item: e }) {
- let t = WN[e.kind] || HN;
+function Qve({ item: e }) {
+ let t = KN[e.kind] || WN;
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-shortcuts-avatar": "",
title: e.image_label || e.name,
@@ -40917,7 +40917,7 @@ function eye({ item: e }) {
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var tye = {
+var $ve = {
selection: {
type: hd,
duration: .16,
@@ -40929,7 +40929,7 @@ var tye = {
bounce: 0
}
};
-function JN(e) {
+function XN(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!t) return;
@@ -40950,7 +40950,7 @@ function JN(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 = aie(n, { transform: [r, E] }, tye[e]);
+ l = iie(n, { transform: [r, E] }, $ve[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -40987,120 +40987,120 @@ function JN(e) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function YN(e) {
- let t = JN("selection");
- return /* @__PURE__ */ (0, x.jsx)(wN, {
+function ZN(e) {
+ let t = XN("selection");
+ return /* @__PURE__ */ (0, x.jsx)(EN, {
...e,
ref: t
});
}
-function XN(e) {
- let t = JN("selection");
- return /* @__PURE__ */ (0, x.jsx)(JM, {
+function QN(e) {
+ let t = XN("selection");
+ return /* @__PURE__ */ (0, x.jsx)(XM, {
...e,
ref: t
});
}
-var ZN = "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", QN = "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", nye = "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", $N = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", eP = "relative flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", tP = (e) => typeof e == "string" ? e : "", nP = (e) => e.aliases;
-function rP(e, t = "") {
+var $N = "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", eP = "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", eye = "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", tP = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", nP = "relative flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", rP = (e) => typeof e == "string" ? e : "", iP = (e) => e.aliases;
+function aP(e, t = "") {
let n = Vr(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function iP(e, t = "") {
+function oP(e, t = "") {
let n = z(nr(t || e)), r = Vr(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 aP = (e) => tP(e.title).trim() || "未命名内容", oP = (e, t) => tr(e, nP(t));
-function sP(e) {
+var sP = (e) => rP(e.title).trim() || "未命名内容", cP = (e, t) => tr(e, iP(t));
+function lP(e) {
let t = e.filter((e) => e.entity_id && e.entity_name);
if (new Set(t.map((e) => e.entity_id)).size !== 1) return "";
- let n = t[0], r = tP(n.entity_name);
+ let n = t[0], r = rP(n.entity_name);
return yt("creator", r, n.entity_id), r;
}
-function cP(e, t) {
+function uP(e, t) {
let { src: n, fallback: r } = rr(e), i = nr(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${z(i)}</span>`;
let a = r ? ` data-fallbacks="${z(r)}"` : "";
return `<img class="favatar" src="${z(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${z(i)}" data-drop-class="favatar none">`;
}
-function lP(e, t, n) {
- let r = nP(n), i = e.credit, a = i?.poster;
+function dP(e, t, n) {
+ let r = iP(n), i = e.credit, a = i?.poster;
if (!a) {
let n = tr(t, r);
return {
- author: n || tP(e.author) || tP(e.source_label) || "创作者未取得",
- avatar: cP(t, n),
+ author: n || rP(e.author) || rP(e.source_label) || "创作者未取得",
+ avatar: uP(t, n),
credited: "",
- entityName: sP(t)
+ entityName: lP(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 && tr(c, r) || a;
return {
author: l,
- avatar: cP(c, l),
+ avatar: uP(c, l),
credited: i.credited || "",
- entityName: sP(c)
+ entityName: lP(c)
};
}
-function uP(e, t = e.primary) {
+function fP(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 = tP(e.primary.version);
+ let i = rP(e.primary.version);
i && n.push(r("version", z(i)));
- let a = tP(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = rP(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function dP(e, t = e.primary) {
+function pP(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]) => rP(e, t) || `<span>${z(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => aP(e, t) || `<span>${z(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${z([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;
}
-function fP(e, t) {
- let n = tP(e.media_error);
+function mP(e, t) {
+ let n = rP(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var rye = 864e5, iye = (e, t) => {
+var tye = 864e5, nye = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > rye;
+ return Number.isFinite(n) && n - t > tye;
};
-function pP(e, t) {
- let n = tP(e.published_at);
+function hP(e, t) {
+ let n = rP(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = Sn(n);
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: iye(n, t) ? " · 晚于现在" : ""
+ suffix: nye(n, t) ? " · 晚于现在" : ""
};
}
-function mP(e, t = Date.now()) {
- let n = pP(e, t);
+function gP(e, t = Date.now()) {
+ let n = hP(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function aye(e, t = Date.now()) {
- let n = pP(e, t);
+function rye(e, t = Date.now()) {
+ let n = hP(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 hP = /* @__PURE__ */ new Set(), gP = [], _P = null;
-function vP() {
- if (_P = null, !gP.length) return;
- let e = gP.splice(0, 200);
+var _P = /* @__PURE__ */ new Set(), vP = [], yP = null;
+function bP() {
+ if (yP = null, !vP.length) return;
+ let e = vP.splice(0, 200);
Et("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), gP.length && (_P = setTimeout(vP, 800));
+ }).catch(() => {}), vP.length && (yP = setTimeout(bP, 800));
}
-function oye(e, t, n, r) {
+function iye(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- hP.has(i) || (hP.add(i), gP.push(t === null ? {
+ _P.has(i) || (_P.add(i), vP.push(t === null ? {
item: e,
width: n,
height: r
@@ -41109,26 +41109,26 @@ function oye(e, t, n, r) {
width: n,
height: r,
media: t
- }), _P ||= setTimeout(vP, 800));
+ }), yP ||= setTimeout(bP, 800));
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var sye = (e) => e === "videos", yP = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var aye = (e) => e === "videos", xP = () => /* @__PURE__ */ (0, x.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function cye(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = sye(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+function oye(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = aye(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 = UA(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = UA(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 = UA(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 = GA(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = GA(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 = GA(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)(bP, {
+ }, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(SP, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, x.jsx)(RA, {
+ }), /* @__PURE__ */ (0, x.jsx)(BA, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -41157,19 +41157,19 @@ function cye(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(fye, {
+ n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(uye, {
keys: n,
view: t,
row: _,
glide: w,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, x.jsx)(yP, {}) : null] }) : null,
- D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(uye, {
+ }), d ? /* @__PURE__ */ (0, x.jsx)(xP, {}) : null] }) : null,
+ D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(cye, {
head: D,
row: E,
glide: O,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, x.jsx)(yP, {})] }) : null,
+ }), /* @__PURE__ */ (0, x.jsx)(xP, {})] }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -41190,11 +41190,11 @@ function cye(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)(yP, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, x.jsx)(xP, {}) : null]
}), /* @__PURE__ */ (0, x.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(zA, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(VA, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -41203,17 +41203,17 @@ function cye(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(dye, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(lye, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, x.jsx)(pye, { ...e })
+ bottom: /* @__PURE__ */ (0, x.jsx)(dye, { ...e })
})] });
}
-var lye = [[
+var sye = [[
"videos",
"视频",
"play",
@@ -41224,7 +41224,7 @@ var lye = [[
"pics",
"image"
]];
-function uye({ head: e, row: t, glide: n, onMedia: r }) {
+function cye({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
ref: t,
role: "group",
@@ -41232,7 +41232,7 @@ function uye({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: lye.map(([t, i, a, o]) => {
+ children: sye.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -41250,7 +41250,7 @@ function uye({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function dye({ head: e, actions: t }) {
+function lye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -41260,10 +41260,10 @@ function dye({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: rP(n) }
+ dangerouslySetInnerHTML: { __html: aP(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(yP, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(zA, {
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(xP, {}) : null,
+ e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(VA, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -41276,7 +41276,7 @@ function dye({ head: e, actions: t }) {
}, e.k))
] });
}
-function fye({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function uye({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -41324,7 +41324,7 @@ function fye({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function bP({ items: e, hidden: t, actions: n }) {
+function SP({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -41344,7 +41344,7 @@ function bP({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function pye(e) {
+function dye(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", {
@@ -41356,27 +41356,27 @@ function pye(e) {
dangerouslySetInnerHTML: { __html: R("chevron-left") }
}), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(mye, {
+ /* @__PURE__ */ (0, x.jsx)(fye, {
text: n,
busy: r
}),
- /* @__PURE__ */ (0, x.jsx)(qN, { currentHref: () => location.pathname + location.search }),
- t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)(hye, {
+ /* @__PURE__ */ (0, x.jsx)(YN, { currentHref: () => location.pathname + location.search }),
+ t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)(pye, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(_ye, {
+ t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(hye, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(gye, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(mye, {
head: e.online,
actions: o
}) : null
] });
}
-function mye({ text: e, busy: t }) {
+function fye({ text: e, busy: t }) {
return /* @__PURE__ */ (0, x.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, x.jsx)("span", {
@@ -41386,22 +41386,22 @@ function mye({ text: e, busy: t }) {
}) : e
});
}
-function xP({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, x.jsx)(JM, {
+function CP({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, x.jsx)(XM, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: $N,
+ className: tP,
children: r.map(([e, t, n]) => {
- let r = FN(n);
- return /* @__PURE__ */ (0, x.jsx)(YM, {
+ let r = LN(n);
+ return /* @__PURE__ */ (0, x.jsx)(ZM, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: eP,
+ className: nP,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -41411,7 +41411,7 @@ function xP({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function SP({ onPress: e, busy: t = !1 }) {
+function wP({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -41425,27 +41425,27 @@ function SP({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? eo("正在换一批") : R("shuffle") }
});
}
-function hye({ head: e, actions: t }) {
+function pye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(SP, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, x.jsx)(xP, {
+ /* @__PURE__ */ (0, x.jsx)(wP, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, x.jsx)(CP, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, x.jsx)(CP, {
+ /* @__PURE__ */ (0, x.jsx)(TP, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function CP({ sorts: e, onSort: t }) {
+function TP({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: e.map((e) => {
- let n = FN(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = LN(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -41457,12 +41457,12 @@ function CP({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function gye({ head: e, actions: t }) {
+function mye({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(SP, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(xP, {
+ /* @__PURE__ */ (0, x.jsx)(wP, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(CP, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -41482,27 +41482,27 @@ function gye({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: R("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, x.jsx)(CP, {
+ /* @__PURE__ */ (0, x.jsx)(TP, {
sorts: e.sorts,
onSort: t.onlineSort
})
]
});
}
-function _ye({ head: e, actions: t, helpers: n }) {
+function hye({ 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)(SP, {
+ e.shuffle ? /* @__PURE__ */ (0, x.jsx)(wP, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, x.jsx)(xP, {
+ /* @__PURE__ */ (0, x.jsx)(CP, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -41518,34 +41518,34 @@ function _ye({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var wP = "";
-function vye(e) {
- let t = !e.tiers, n = Tye(e.comboHost);
+var EP = "";
+function gye(e) {
+ let t = !e.tiers, n = Cye(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, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(bP, {
+ n ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(SP, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, x.jsx)(xye, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(yye, { ...e })
+ /* @__PURE__ */ (0, x.jsx)(yye, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(_ye, { ...e })
]
});
}
-function yye(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 = UA(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function _ye(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 = GA(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 = EP(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = OP(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, b.useLayoutEffect)(() => {
fo(o.current, "tagbar");
- }, [u]), /* @__PURE__ */ (0, x.jsx)(RA, {
+ }, [u]), /* @__PURE__ */ (0, x.jsx)(BA, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -41588,17 +41588,17 @@ function yye(e) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(TP, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(bye, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(DP, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(vye, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)(Cye, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)(xye, { ...e })
});
}
-function bye({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, x.jsxs)(zA, {
+function vye({ tag: e, onPress: t }) {
+ return /* @__PURE__ */ (0, x.jsxs)(VA, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -41609,12 +41609,12 @@ function bye({ tag: e, onPress: t }) {
})]
});
}
-function xye(e) {
+function yye(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 = EP(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = EP(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 = OP(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = OP(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);
}, [
@@ -41627,7 +41627,7 @@ function xye(e) {
children: [u ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, x.jsx)(TP, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, x.jsx)(DP, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -41644,18 +41644,18 @@ function xye(e) {
}) : null, d ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, x.jsx)(TP, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, x.jsx)(DP, { 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)(Sye, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, x.jsx)(bye, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function Sye({ studio: e }) {
+function bye({ studio: e }) {
let [t, n] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-tier-mark": "",
@@ -41669,7 +41669,7 @@ function Sye({ studio: e }) {
}) : e.fallback
});
}
-function TP({ kind: e }) {
+function DP({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -41685,35 +41685,35 @@ function TP({ kind: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("span", {}), /* @__PURE__ */ (0, x.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function Cye({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function xye({ 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.jsxs)("span", {
"data-catalog-summary": "",
- children: [/* @__PURE__ */ (0, x.jsx)(wye, { count: e }), /* @__PURE__ */ (0, x.jsx)(qN, { currentHref: i.currentHref })]
+ children: [/* @__PURE__ */ (0, x.jsx)(Sye, { count: e }), /* @__PURE__ */ (0, x.jsx)(YN, { currentHref: i.currentHref })]
}), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(SP, {
+ /* @__PURE__ */ (0, x.jsx)(wP, {
onPress: () => {
o(!0), i.reshuffle().finally(() => o(!1));
},
busy: a || t
}),
- n ? /* @__PURE__ */ (0, x.jsx)(xP, {
+ n ? /* @__PURE__ */ (0, x.jsx)(CP, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, x.jsx)(CP, {
+ /* @__PURE__ */ (0, x.jsx)(TP, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function wye({ count: e }) {
+function Sye({ 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;
@@ -41722,7 +41722,7 @@ function wye({ count: e }) {
return;
}
let i = t.current;
- i && (wP && i.dataset.popCount === void 0 && (i.dataset.popCount = wP), wP = r, co(i, r));
+ i && (EP && i.dataset.popCount === void 0 && (i.dataset.popCount = EP), EP = r, co(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": "",
@@ -41738,7 +41738,7 @@ function wye({ count: e }) {
})
}, "skeleton");
}
-function Tye(e) {
+function Cye(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!e) return;
@@ -41748,7 +41748,7 @@ function Tye(e) {
};
}, [e]), t;
}
-function EP(e, t, n, r, i) {
+function OP(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -41788,7 +41788,7 @@ function EP(e, t, n, r, i) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function DP(e, t) {
+function kP(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 && wo(a.current);
@@ -41814,7 +41814,7 @@ function DP(e, t) {
fading: n === "fade"
};
}
-function OP({ message: e, onRetry: t }) {
+function AP({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -41828,7 +41828,7 @@ function OP({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/components/art-slot.tsx
-function kP({ artwork: e, identity: t = e.html, relayout: n }) {
+function jP({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, b.useState)({
identity: t,
artwork: e
@@ -41848,7 +41848,7 @@ function kP({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/row-click.ts
-var Eye = [
+var wye = [
"a",
"button",
"input",
@@ -41861,46 +41861,46 @@ var Eye = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function AP(e, t) {
+function MP(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Eye);
+ let r = n.closest(wye);
return !r || !t.contains(r) || r === t;
}
-function jP(e) {
+function NP(e) {
e.shiftKey && e.preventDefault();
}
//#endregion
//#region src/react/components/media-card.tsx
-var Dye = 9 / 16, MP = "未命名视频";
-function NP({ name: e }) {
+var Tye = 9 / 16, PP = "未命名视频";
+function FP({ 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 Oye = {
+var Eye = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, kye = {
+}, Dye = {
manual: "手动",
junk: "垃圾",
duplicate: "重复",
missing: "文件缺失"
};
-function PP({ item: e }) {
+function IP({ item: e }) {
if (e.disposal !== "trash") return null;
- let t = e.disposal_reason && kye[e.disposal_reason] || "原因未记录";
+ let t = e.disposal_reason && Dye[e.disposal_reason] || "原因未记录";
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-disposal-reason": "",
title: `归入原因:${t}`,
children: t
});
}
-function FP({ item: e, actions: t }) {
+function LP({ item: e, actions: t }) {
let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -41919,10 +41919,10 @@ function FP({ item: e, actions: t }) {
children: i
}) : null] });
}
-function IP(e, t, n) {
- return t === "short" ? Dye : tE(n);
+function RP(e, t, n) {
+ return t === "short" ? Tye : nE(n);
}
-function Aye(e) {
+function Oye(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = ga(e), s = i[0] || "", c = ra(e);
return {
avatar: r ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -41951,7 +41951,7 @@ function Aye(e) {
"data-media-who": "",
"data-entity-kind": "performer",
"data-entity-name": s,
- children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, x.jsx)(FP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: s })]
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-who-more": "",
children: `等 ${o} 人`
@@ -41960,16 +41960,16 @@ function Aye(e) {
"data-media-who": "",
"data-entity-kind": t,
"data-entity-name": n,
- children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, x.jsx)(FP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
}) : /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-media-who": "",
"data-open-unowned": "",
- children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, x.jsx)(FP, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
})
};
}
-function jye() {
+function kye() {
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -41988,7 +41988,7 @@ function jye() {
})]
});
}
-function Mye({ item: e, actions: t }) {
+function Aye({ 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": "",
@@ -42006,21 +42006,21 @@ function Mye({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(NP, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, x.jsx)(FP, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function LP(e, t) {
+function zP(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 Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
+function jye({ 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 && dee(l.current), l.current = e, e && (!t.medium || t.medium === "video") && Xs(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 = pa(e, h, !1, n.javImage), _ = h === "small" ? g.html : pa(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || MP, S = o.titleHtml(e, v).trim() || z(MP), 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 } = Aye(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 = pa(e, h, !1, n.javImage), _ = h === "small" ? g.html : pa(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || PP, S = o.titleHtml(e, v).trim() || z(PP), 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 } = Oye(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.watch_later && "later"
@@ -42049,9 +42049,9 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
u && r.contains(u) ? s.toggleTag(u.dataset.tag || "") : c(e, r);
}, j = /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(IP(e, t, n)) },
+ style: { "--card-ratio": String(RP(e, t, n)) },
children: [
- g.html ? /* @__PURE__ */ (0, x.jsx)(kP, {
+ g.html ? /* @__PURE__ */ (0, x.jsx)(jP, {
artwork: g,
identity: _,
relayout: (e) => Vs(e, h)
@@ -42065,11 +42065,11 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(NP, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(FP, { name: "check" })
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(FP, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
}),
f && !p ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-group": "",
@@ -42084,7 +42084,7 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-duration": "",
children: Jt(w)
}),
- e.disposal === "trash" ? /* @__PURE__ */ (0, x.jsx)(FP, {
+ e.disposal === "trash" ? /* @__PURE__ */ (0, x.jsx)(LP, {
item: e,
actions: s
}) : null,
@@ -42100,8 +42100,8 @@ function Nye({ 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)(jye, {}),
- /* @__PURE__ */ (0, x.jsx)(Mye, {
+ /* @__PURE__ */ (0, x.jsx)(kye, {}),
+ /* @__PURE__ */ (0, x.jsx)(Aye, {
item: e,
actions: s
}),
@@ -42111,27 +42111,27 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), LP(l.current, -a);
+ e.stopPropagation(), zP(l.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, x.jsx)(NP, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, x.jsx)(FP, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), LP(l.current, a);
+ e.stopPropagation(), zP(l.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, x.jsx)(NP, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, x.jsx)(FP, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, x.jsx)(NP, { name: "expand" })
+ children: /* @__PURE__ */ (0, x.jsx)(FP, { name: "expand" })
})
]
})
@@ -42148,7 +42148,7 @@ function Nye({ 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: jP,
+ onMouseDown: NP,
children: [
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -42186,11 +42186,11 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
e.is_jav && e.release_date ? /* @__PURE__ */ (0, x.jsxs)("time", {
"data-media-release": "",
dateTime: e.release_date,
- children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "calendar" }), e.release_date]
+ children: [/* @__PURE__ */ (0, x.jsx)(FP, { name: "calendar" }), e.release_date]
}) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-size": "",
- children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "hard-drive" }), Number(C) > 0 ? Xt(Number(C)) : "大小未知"]
+ children: [/* @__PURE__ */ (0, x.jsx)(FP, { name: "hard-drive" }), Number(C) > 0 ? Xt(Number(C)) : "大小未知"]
}),
e.play_count ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-watch-count": "",
@@ -42212,15 +42212,15 @@ function Nye({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
children: o.tagLabel(t)
}, t))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(PP, { item: e })
+ /* @__PURE__ */ (0, x.jsx)(IP, { item: e })
]
})]
})
]
});
}
-function Pye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, b.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Oye[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
+function Mye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, b.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : Eye[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
return /* @__PURE__ */ (0, x.jsxs)("article", {
ref: o,
"data-media-card": "",
@@ -42232,14 +42232,14 @@ function Pye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
onClick: (t) => {
o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));
},
- onMouseDown: jP,
+ onMouseDown: NP,
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)(NP, { name: u }), /* @__PURE__ */ (0, x.jsx)("b", { children: l })]
+ children: [/* @__PURE__ */ (0, x.jsx)(FP, { name: u }), /* @__PURE__ */ (0, x.jsx)("b", { children: l })]
}),
s ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-art": "thumb",
@@ -42251,13 +42251,13 @@ function Pye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(NP, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(FP, { name: "check" })
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, x.jsx)(NP, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(FP, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
}),
- /* @__PURE__ */ (0, x.jsx)(FP, {
+ /* @__PURE__ */ (0, x.jsx)(LP, {
item: e,
actions: i
})
@@ -42268,7 +42268,7 @@ function Pye({ 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)(NP, { name: u })
+ children: /* @__PURE__ */ (0, x.jsx)(FP, { name: u })
}), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-text": "",
children: [
@@ -42296,29 +42296,29 @@ function Pye({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
]
}),
e.disposal === "trash" ? /* @__PURE__ */ (0, x.jsx)("div", { "data-media-tags": "" }) : null,
- /* @__PURE__ */ (0, x.jsx)(PP, { item: e })
+ /* @__PURE__ */ (0, x.jsx)(IP, { item: e })
]
})]
})]
});
}
-function Fye(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(Pye, { ...e }) : /* @__PURE__ */ (0, x.jsx)(Nye, { ...e });
+function Nye(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(Mye, { ...e }) : /* @__PURE__ */ (0, x.jsx)(jye, { ...e });
}
-var RP = (0, b.memo)(Fye), Iye = 1100, Lye = 340, Rye = 5e3;
-function zye(e, t, n) {
+var BP = (0, b.memo)(Nye), Pye = 1100, Fye = 340, Iye = 5e3;
+function Lye(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, Rye);
+ }, s = () => o(!1), c = setTimeout(s, Iye);
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 zP({ load: e, canFlip: t, referrerPolicy: n }) {
+function VP({ 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,
@@ -42360,11 +42360,11 @@ function zP({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => zye(t, e, n)));
+ let s = await Promise.all(a.map((t) => Lye(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, Iye);
+ p(), e.cycle = setInterval(p, Pye);
}));
};
return (0, b.useEffect)(() => d, [d]), {
@@ -42373,7 +42373,7 @@ function zP({ 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(Lye, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Fye, () => {
e.armed = null, m();
});
},
@@ -42384,8 +42384,8 @@ function zP({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var BP = FN("play");
-function Bye({ src: e }) {
+var HP = LN("play");
+function Rye({ src: e }) {
let [t, n] = (0, b.useState)(!1);
return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {
"data-mix-poster": "",
@@ -42398,8 +42398,8 @@ function Bye({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var VP = "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 Vye({ faces: e, fallback: t, onOpenEntity: n }) {
+var UP = "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 zye({ 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", {
@@ -42407,18 +42407,18 @@ function Vye({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${VP} cursor-pointer outline-none`,
+ className: `${UP} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: aa(e.name, e, Ui(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, x.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${VP} mt-0.5`,
+ className: `${UP} mt-0.5`,
children: t
});
}
-function HP({ 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 = zP({
+function WP({ 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 = VP({
load: i,
canFlip: a
}), C = (0, b.useRef)(S.onPointerLeave);
@@ -42445,11 +42445,11 @@ function HP({ 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)(kP, {
+ f?.html ? /* @__PURE__ */ (0, x.jsx)(jP, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, x.jsx)(Bye, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, x.jsx)(Rye, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -42479,7 +42479,7 @@ function HP({ 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)(BP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(HP, {
"aria-hidden": !0,
className: "size-3.75"
}), g ?? `${n.toLocaleString()} 个视频`]
@@ -42492,8 +42492,8 @@ function HP({ 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)(BP, {})
- }) : /* @__PURE__ */ (0, x.jsx)(Vye, {
+ children: /* @__PURE__ */ (0, x.jsx)(HP, {})
+ }) : /* @__PURE__ */ (0, x.jsx)(zye, {
faces: o,
fallback: $t(e),
onOpenEntity: s
@@ -42517,7 +42517,7 @@ function HP({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/video-wall/folia/blockReflows.ts
-var Hye = [
+var Bye = [
[
[
{
@@ -46078,7 +46078,7 @@ var Hye = [
}
]
]
-], UP = [
+], GP = [
[
{
x: 0,
@@ -46375,89 +46375,89 @@ var Hye = [
rows: 2
}
]
-], WP = (e) => e.map((e) => ({
+], KP = (e) => e.map((e) => ({
...e,
x: 12 - e.x - e.cols
-})), GP = (e) => e.map((e) => ({
+})), qP = (e) => e.map((e) => ({
...e,
y: 8 - e.y - e.rows
-})), KP = [
+})), JP = [
(e) => e,
- WP,
- GP,
- (e) => WP(GP(e))
-], qP = UP.flatMap((e) => KP.map((t) => t(e))), Uye = Hye.flatMap((e) => KP.map((t) => e.map(t)));
-qP.length;
-var Wye = (e, t) => {
+ KP,
+ qP,
+ (e) => KP(qP(e))
+], YP = GP.flatMap((e) => JP.map((t) => t(e))), Vye = Bye.flatMap((e) => JP.map((t) => e.map(t)));
+YP.length;
+var Hye = (e, t) => {
let n = Math.imul(e, 2654435761) ^ Math.imul(t, 2246822507);
return n = Math.imul(n ^ n >>> 15, 739982445), n ^= n >>> 12, n >>> 0;
-}, JP = (e, t) => {
- let n = UP.length;
- return ((e + t * 2) % n + n) % n * KP.length + Wye(e, t) % KP.length;
-}, Gye = (e, t) => qP[JP(e, t)], Kye = (e, t, n) => n < 0 || n >= 12 ? null : Uye[JP(e, t)][n], YP = 103.36, XP = 6.08, ZP = 12 * YP, QP = 8 * YP, $P = 12, eF = (e, t) => (e % t + t) % t, qye = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
-function tF(e, t) {
- let n = Math.max(1, Math.ceil(e / $P)), r = t ? 3 : Math.min(3, n);
+}, XP = (e, t) => {
+ let n = GP.length;
+ return ((e + t * 2) % n + n) % n * JP.length + Hye(e, t) % JP.length;
+}, Uye = (e, t) => YP[XP(e, t)], Wye = (e, t, n) => n < 0 || n >= 12 ? null : Vye[XP(e, t)][n], ZP = 103.36, QP = 6.08, $P = 12 * ZP, eF = 8 * ZP, tF = 12, nF = (e, t) => (e % t + t) % t, Gye = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
+function rF(e, t) {
+ let n = Math.max(1, Math.ceil(e / tF)), r = t ? 3 : Math.min(3, n);
return {
columns: r,
- width: r * ZP,
- height: Math.ceil(n / r) * QP
+ width: r * $P,
+ height: Math.ceil(n / r) * eF
};
}
-function nF(e, t, n) {
- let { x: r, y: i, cols: a, rows: o } = Gye(e, t)[n];
+function iF(e, t, n) {
+ let { x: r, y: i, cols: a, rows: o } = Uye(e, t)[n];
return {
- x: e * ZP + r * YP,
- y: t * QP + i * YP,
- width: a * YP - XP,
- height: o * YP - XP
+ x: e * $P + r * ZP,
+ y: t * eF + i * ZP,
+ width: a * ZP - QP,
+ height: o * ZP - QP
};
}
-function Jye(e) {
+function Kye(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
-function rF(e, t, n) {
+function aF(e, t, n) {
if (!e) return null;
let [r, i, a] = n.split(":").map(Number);
if (![
r,
i,
a
- ].every(Number.isInteger) || a < 0 || a >= $P) return null;
- let o = tF(e, t), s = o.height / QP;
+ ].every(Number.isInteger) || a < 0 || a >= tF) return null;
+ let o = rF(e, t), s = o.height / eF;
if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;
- let c = t ? r : eF(r, o.columns), l = ((t ? i : eF(i, s)) * o.columns + c) * $P + a;
+ let c = t ? r : nF(r, o.columns), l = ((t ? i : nF(i, s)) * o.columns + c) * tF + a;
return t && l >= e ? null : {
- ...nF(r, i, a),
+ ...iF(r, i, a),
index: l % e,
key: n
};
}
-function Yye(e, t) {
+function qye(e, t) {
if (t < 0 || t >= e) return null;
- let n = Math.floor(t / $P);
- return rF(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % $P}`);
+ let n = Math.floor(t / tF);
+ return aF(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % tF}`);
}
-function iF(e, t, n) {
- let [r, i, a] = n.key.split(":").map(Number), o = Kye(r, i, a);
+function oF(e, t, n) {
+ let [r, i, a] = n.key.split(":").map(Number), o = Wye(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
- x: r * ZP + e.x * YP,
- y: i * QP + e.y * YP,
- width: e.cols * YP - XP,
- height: e.rows * YP - XP
+ x: r * $P + e.x * ZP,
+ y: i * eF + e.y * ZP,
+ width: e.cols * ZP - QP,
+ height: e.rows * ZP - QP
}]));
}
-function Xye(e) {
+function Jye(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
- let e = Math.floor(r / $P), i = nF(e % 3, Math.floor(e / 3), r % $P);
+ let e = Math.floor(r / tF), i = iF(e % 3, Math.floor(e / 3), r % tF);
t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);
}
return {
- width: e >= 36 ? 3 * ZP - XP : t,
+ width: e >= 36 ? 3 * $P - QP : t,
height: n
};
}
-function Zye(e, t, n, r) {
+function Yye(e, t, n, r) {
if (!r) return e;
let i = (t, n, r) => Math.min(16, Math.max(Math.min(16, r - n * e.scale - 16), t));
return {
@@ -46466,22 +46466,22 @@ function Zye(e, t, n, r) {
y: i(e.y, n.height, t.height)
};
}
-function Qye(e, t, n, r) {
+function Xye(e, t, n, r) {
if (!e || !r.width || !r.height) return [];
let i = 180 / n.scale, a = {
x: -n.x / n.scale - i,
y: -n.y / n.scale - i,
width: r.width / n.scale + i * 2,
height: r.height / n.scale + i * 2
- }, o = tF(e, t), s = o.height / QP, c = [];
- for (let n = Math.floor(a.y / QP); n <= Math.floor((a.y + a.height) / QP); n += 1) for (let r = Math.floor(a.x / ZP); r <= Math.floor((a.x + a.width) / ZP); r += 1) {
+ }, o = rF(e, t), s = o.height / eF, c = [];
+ for (let n = Math.floor(a.y / eF); n <= Math.floor((a.y + a.height) / eF); n += 1) for (let r = Math.floor(a.x / $P); r <= Math.floor((a.x + a.width) / $P); r += 1) {
if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;
- let i = t ? r : eF(r, o.columns), l = t ? n : eF(n, s);
- for (let s = 0; s < $P; s += 1) {
- let u = (l * o.columns + i) * $P + s;
+ let i = t ? r : nF(r, o.columns), l = t ? n : nF(n, s);
+ for (let s = 0; s < tF; s += 1) {
+ let u = (l * o.columns + i) * tF + s;
if (t && u >= e) continue;
- let d = nF(r, n, s);
- qye(d, a) && c.push({
+ let d = iF(r, n, s);
+ Gye(d, a) && c.push({
...d,
index: u % e,
key: `${r}:${n}:${s}`
@@ -46490,7 +46490,7 @@ function Qye(e, t, n, r) {
}
return c;
}
-var $ye = class {
+var Zye = class {
positions = /* @__PURE__ */ new Map();
used = /* @__PURE__ */ new Set();
cursor = 0;
@@ -46502,7 +46502,7 @@ var $ye = class {
this.cursor = e;
}
tile(e, t) {
- let n = this.positions.get(e), r = n === void 0 ? null : rF(t, !1, e);
+ let n = this.positions.get(e), r = n === void 0 ? null : aF(t, !1, e);
return r ? {
...r,
index: n
@@ -46532,7 +46532,7 @@ var $ye = class {
let e = 0;
for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));
return {
- x: (e + 2) * ZP,
+ x: (e + 2) * $P,
y: 0
};
}
@@ -46545,10 +46545,10 @@ var $ye = class {
c < i && (r = s, i = c);
}
if (r) return r;
- let a = this.fresh(), o = `${Math.round(a.x / ZP)}:0:0`;
+ let a = this.fresh(), o = `${Math.round(a.x / $P)}:0:0`;
return this.positions.set(o, t), this.used.add(t), this.tile(o, e);
}
-}, aF = [
+}, sF = [
"q",
"performer",
"series",
@@ -46563,17 +46563,17 @@ var $ye = class {
"dur_max",
"region"
];
-function ebe(e = {}) {
- return aF.some((t) => !!e[t]);
+function Qye(e = {}) {
+ return sF.some((t) => !!e[t]);
}
//#endregion
//#region src/react/video-wall/use-wall-camera.ts
-var oF = {
+var cF = {
x: 16,
y: 16,
scale: 1
};
-function tbe(e, t, n = oF, r = !1) {
+function $ye(e, t, n = cF, r = !1) {
let i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)({
width: 0,
height: 0
@@ -46593,7 +46593,7 @@ function tbe(e, t, n = oF, r = !1) {
let f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = (0, b.useRef)(!1), h = (0, b.useRef)(null), g = (0, b.useCallback)(() => {
p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;
}, []), _ = (0, b.useCallback)((e, t = !1, n = !1) => {
- let { count: r, finite: c, focused: f } = d.current, p = Zye(e, o.current, Xye(r), c && !f && !n);
+ let { count: r, finite: c, focused: f } = d.current, p = Yye(e, o.current, Jye(r), c && !f && !n);
s.current = p;
let m = window.devicePixelRatio || 1;
a.current && (a.current.style.transform = `translate3d(${Math.round(p.x * m) / m}px, ${Math.round(p.y * m) / m}px, 0) scale(${p.scale})`), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y));
@@ -46664,7 +46664,7 @@ function tbe(e, t, n = oF, r = !1) {
x: o.current.width / 2 - (e.x + e.width / 2) * i,
y: o.current.height / 2 - (e.y + e.height / 2) * i
};
- !t || v() ? _(a, !0, n) : p.current = rie(0, 1, {
+ !t || v() ? _(a, !0, n) : p.current = nie(0, 1, {
duration: .42,
ease: [
.22,
@@ -46693,7 +46693,7 @@ function tbe(e, t, n = oF, r = !1) {
},
snapshot: () => ({ ...s.current }),
reset: () => {
- g(), _({ ...oF }, !0);
+ g(), _({ ...cF }, !0);
},
pan: (e, t) => {
g(), _({
@@ -46755,17 +46755,17 @@ function tbe(e, t, n = oF, r = !1) {
}
//#endregion
//#region src/react/video-wall/wall-motion.ts
-var nbe = {
+var ebe = {
type: "spring",
stiffness: 300,
damping: 34
-}, rbe = {
+}, tbe = {
delay: .14,
duration: .24
};
//#endregion
//#region src/react/video-wall/use-wall-playback.ts
-function ibe(e, t, n) {
+function nbe(e, t, n) {
let [r, i] = (0, b.useState)({
paused: !0,
time: 0,
@@ -46807,15 +46807,15 @@ function ibe(e, t, n) {
}
//#endregion
//#region src/react/video-wall/wall-controls.tsx
-function abe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {
- let b = g_(), S = ibe(t, n, v), C = S.duration || Number(e.duration) || 0, w = r || i, T = !t || S.paused, E = async () => {
+function rbe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {
+ let b = __(), S = nbe(t, n, v), C = S.duration || Number(e.duration) || 0, w = r || i, T = !t || S.paused, E = async () => {
if (!(w || a && !s)) try {
t === e.id ? await S.toggle() : await f();
} catch (e) {
y(Tt(e));
}
};
- return /* @__PURE__ */ (0, x.jsxs)(v_.div, {
+ return /* @__PURE__ */ (0, x.jsxs)(y_.div, {
"data-wall-focus-actions": "",
initial: !b && {
opacity: 0,
@@ -46825,7 +46825,7 @@ function abe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
opacity: 1,
transform: "translateY(0px)"
},
- transition: b ? { duration: 0 } : rbe,
+ transition: b ? { duration: 0 } : tbe,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-wall-control-row": "",
children: [
@@ -46930,7 +46930,7 @@ function abe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
}
//#endregion
//#region src/react/components/mix-queue.tsx
-function sF({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function lF({ 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]);
@@ -46966,7 +46966,7 @@ function sF({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function cF({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function uF({ 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
@@ -46989,7 +46989,7 @@ function cF({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var obe = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
+var ibe = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -46999,28 +46999,28 @@ var obe = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
});
//#endregion
//#region src/react/video-wall/wall-queue.tsx
-function sbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
+function abe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
- children: /* @__PURE__ */ (0, x.jsx)(sF, {
+ children: /* @__PURE__ */ (0, x.jsx)(lF, {
kind: n,
title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",
summary: `${e.length} 个视频`,
onClose: a,
- children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(cF, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(uF, {
current: e.id === t,
"data-wall-source": e.id,
"aria-label": [
e.edition_label,
- e.part_label ? lD(e.part_label) : "",
+ e.part_label ? dD(e.part_label) : "",
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
- pic: /* @__PURE__ */ (0, x.jsx)(kP, { artwork: pa(e, "small", !0, "cover") }),
+ pic: /* @__PURE__ */ (0, x.jsx)(jP, { artwork: pa(e, "small", !0, "cover") }),
children: [/* @__PURE__ */ (0, x.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, x.jsx)("span", { children: [
e.edition_label,
- e.part_label ? lD(e.part_label) : "",
+ e.part_label ? dD(e.part_label) : "",
Jt(e.duration)
].filter(Boolean).join(" · ") })]
}, e.id))
@@ -47029,7 +47029,7 @@ function sbe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
}
//#endregion
//#region src/react/video-wall/wall-route.ts
-function cbe(e = `${location.pathname}${location.search}`, t = {}) {
+function obe(e = `${location.pathname}${location.search}`, t = {}) {
let n = new URL(e, location.origin), [r, ...i] = n.pathname.split("/").filter(Boolean), a = {
performers: "performer",
creators: "creator",
@@ -47044,18 +47044,18 @@ function cbe(e = `${location.pathname}${location.search}`, t = {}) {
}
return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;
}
-function lbe(e = `${location.pathname}${location.search}`) {
+function sbe(e = `${location.pathname}${location.search}`) {
let t = new URL(e, location.origin).searchParams;
- for (let e of aF) t.delete(e);
+ for (let e of sF) t.delete(e);
return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;
}
-function lF() {
- let e = new URLSearchParams($O.navigation.location.search).get("returnTo") || "/";
- $O.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
+function dF() {
+ let e = new URLSearchParams(tk.navigation.location.search).get("returnTo") || "/";
+ tk.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
}
//#endregion
//#region src/react/video-wall/video-wall.tsx
-var uF = /* @__PURE__ */ new Map(), dF = (0, b.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
+var fF = /* @__PURE__ */ new Map(), pF = (0, b.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
let i = pa(!e.is_jav && t === "thumbnail" && e.has_thumb ? {
...e,
has_cover: !1
@@ -47068,7 +47068,7 @@ var uF = /* @__PURE__ */ new Map(), dF = (0, b.memo)(function({ item: e, image:
ref: a,
"data-media-pic": "",
style: { "--card-ratio": String(r) },
- children: /* @__PURE__ */ (0, x.jsx)(kP, {
+ children: /* @__PURE__ */ (0, x.jsx)(jP, {
artwork: i,
relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {
e.complete && e.naturalWidth && Os(e);
@@ -47076,31 +47076,31 @@ var uF = /* @__PURE__ */ new Map(), dF = (0, b.memo)(function({ item: e, image:
})
});
});
-function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {
+function cbe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {
let p = String(e[0]?.id), [m] = (0, b.useState)(() => {
- let e = uF.get(f);
+ let e = fF.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
- }), [h] = (0, b.useState)(() => m?.exploration || new $ye()), g = (0, b.useRef)(!1), [_, v] = (0, b.useState)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = (0, b.useRef)(null), w = (0, b.useRef)(null), T = (0, b.useRef)(null), [E, D] = (0, b.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, b.useState)(m?.selectedKey || ""), [A, j] = (0, b.useState)(m?.sourceId || null), [M, N] = (0, b.useState)(!1), P = E?.edition_group ? {
+ }), [h] = (0, b.useState)(() => m?.exploration || new Zye()), g = (0, b.useRef)(!1), [_, v] = (0, b.useState)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = (0, b.useRef)(null), w = (0, b.useRef)(null), T = (0, b.useRef)(null), [E, D] = (0, b.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, b.useState)(m?.selectedKey || ""), [A, j] = (0, b.useState)(m?.sourceId || null), [M, N] = (0, b.useState)(!1), P = E?.edition_group ? {
kind: "editions",
seedId: E.edition_group.seed_id
} : E?.part_group ? {
kind: "parts",
seedId: E.part_group.seed_id
} : null, ee = ut({
- queryKey: eD(P || {
+ queryKey: nD(P || {
kind: "parts",
seedId: 0
}),
enabled: !!P,
- queryFn: ({ signal: e }) => aD(P, {
+ queryFn: ({ signal: e }) => sD(P, {
tagLabel: u.tagLabel,
mixRelated: async () => []
}, e)
- }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === oD(F, A || E?.id || null)) || E, I = tbe(e.length, t && !!e.length, m?.camera || {
+ }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === cD(F, A || E?.id || null)) || E, I = $ye(e.length, t && !!e.length, m?.camera || {
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
- }, !!E), ne = g_(), [re, ie] = (0, b.useState)(!!m);
+ }, !!E), ne = __(), [re, ie] = (0, b.useState)(!!m);
(0, b.useEffect)(() => {
if (!e.length || re || ne) return;
let t = setTimeout(() => ie(!0), 1100);
@@ -47117,7 +47117,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
(0, b.useLayoutEffect)(() => {
document.body.append(Se), I.viewport.current?.focus({ preventScroll: !0 });
}, [Se]), (0, b.useEffect)(() => () => Se.remove(), [Se]);
- let [Ce, we] = (0, b.useState)(() => TO($O.navigation.location.pathname)), [Te, Ee] = (0, b.useState)(m?.image || d), De = (0, b.useRef)(null), Oe = (0, b.useRef)(p), ke = (0, b.useRef)(!!e.length);
+ let [Ce, we] = (0, b.useState)(() => DO(tk.navigation.location.pathname)), [Te, Ee] = (0, b.useState)(m?.image || d), De = (0, b.useRef)(null), Oe = (0, b.useRef)(p), ke = (0, b.useRef)(!!e.length);
ke.current = !!e.length;
let Ae = (0, b.useRef)({
selectedId: E?.id || null,
@@ -47134,17 +47134,17 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
pool: p
};
let je = () => {
- ke.current && (uF.delete(f), uF.set(f, {
+ ke.current && (fF.delete(f), fF.set(f, {
...Ae.current,
camera: I.snapshot(),
exploration: h
- }), uF.size > 8 && uF.delete(uF.keys().next().value));
+ }), fF.size > 8 && fF.delete(fF.keys().next().value));
};
(0, b.useLayoutEffect)(je);
- let Me = Qye(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, I.view.camera, I.view.size), Ne = i ? Me.map((e) => ({
+ let Me = Xye(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, I.view.camera, I.view.size), Ne = i ? Me.map((e) => ({
...e,
index: -1
- })) : t ? Me : h.assign(Me, e.length, n), Pe = E && (t ? rF(e.length, !0, O) : h.tile(O, e.length)), Fe = Pe ? iF(e.length, t, Pe) : /* @__PURE__ */ new Map();
+ })) : t ? Me : h.assign(Me, e.length, n), Pe = E && (t ? aF(e.length, !0, O) : h.tile(O, e.length)), Fe = Pe ? oF(e.length, t, Pe) : /* @__PURE__ */ new Map();
Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);
let Ie = (e = !1) => {
T.current?.abort(), T.current = null, w.current?.(e), w.current = null, se(null), de(!1);
@@ -47161,8 +47161,8 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
t,
p,
i
- ]), (0, b.useEffect)(() => $O.listen((e) => {
- let t = TO(e.location.pathname);
+ ]), (0, b.useEffect)(() => tk.listen((e) => {
+ let t = DO(e.location.pathname);
t && (T.current?.abort(), w.current?.(!0), w.current = null, se(null), de(!1)), we(t);
}), []), (0, b.useEffect)(() => () => {
T.current?.abort(), w.current?.(!0), je();
@@ -47183,7 +47183,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
E?.id !== n.id && Ie(!1), De.current = {
key: r.key,
id: n.id
- }, pe(""), le(null), D(n), k(r.key), j(null), N(!1), xe(!1), I.reveal(iF(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
+ }, pe(""), le(null), D(n), k(r.key), j(null), N(!1), xe(!1), I.reveal(oF(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
}, ze = () => {
te && y.current && (je(), Ie(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));
}, Be = async (e = te) => {
@@ -47205,7 +47205,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
T.current === t && de(!1);
}
}, Ve = () => {
- let e = zue(F || null, oe || 0);
+ let e = Lue(F || null, oe || 0);
e && (j(e.id), Be(e));
};
(0, b.useEffect)(() => {
@@ -47227,7 +47227,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
let r = I.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {
x: (I.view.size.width / 2 - r.x) / r.scale,
y: (I.view.size.height / 2 - r.y) / r.scale
- }, o = t ? Yye(e.length, i) : h.nearest(e.length, i, a);
+ }, o = t ? qye(e.length, i) : h.nearest(e.length, i, a);
o && (Re(n, o), le(n.id));
}, Ge = async () => {
if (!(r || g.current)) {
@@ -47319,7 +47319,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
/* @__PURE__ */ (0, x.jsx)("div", {
"data-wall-focus-backdrop": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(dF, {
+ children: /* @__PURE__ */ (0, x.jsx)(pF, {
item: E,
image: Te,
big: !0
@@ -47327,7 +47327,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
/* @__PURE__ */ (0, x.jsx)("div", {
"data-wall-scene": "",
- children: /* @__PURE__ */ (0, x.jsx)(dF, {
+ children: /* @__PURE__ */ (0, x.jsx)(pF, {
item: E,
image: Te,
big: !0
@@ -47356,7 +47356,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
Xe.code ? /* @__PURE__ */ (0, x.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,
/* @__PURE__ */ (0, x.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),
- F ? /* @__PURE__ */ (0, x.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? lD(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null
+ F ? /* @__PURE__ */ (0, x.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? dD(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null
]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -47383,7 +47383,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: "重试"
}) : null]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(abe, {
+ /* @__PURE__ */ (0, x.jsx)(rbe, {
item: Xe,
playing: oe,
frame: S,
@@ -47405,7 +47405,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
ended: Ve,
error: pe
}),
- M ? /* @__PURE__ */ (0, x.jsx)(sbe, {
+ M ? /* @__PURE__ */ (0, x.jsx)(abe, {
items: He,
activeId: Xe.id,
kind: F?.kind || "wall",
@@ -47421,7 +47421,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-refreshing": _ !== null || void 0,
hidden: Ce,
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : E ? Le() : be ? xe(!1) : lF());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : E ? Le() : be ? xe(!1) : dF());
},
children: [
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -47429,7 +47429,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-wall-back": "",
"aria-label": "退出播放墙",
title: "返回",
- onClick: lF,
+ onClick: dF,
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -47447,7 +47447,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), /* @__PURE__ */ (0, x.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
variant: "ghost",
- onClick: () => $O.push(lbe()),
+ onClick: () => tk.push(sbe()),
children: "清除筛选"
})]
}) : null,
@@ -47459,7 +47459,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
onSubmit: (e) => {
e.preventDefault();
let t = new URLSearchParams(location.search), n = String(new FormData(e.currentTarget).get("q") || "").trim();
- n ? t.set("q", n) : t.delete("q"), je(), $O.push(`/wall?${t}`), xe(!1);
+ n ? t.set("q", n) : t.delete("q"), je(), tk.push(`/wall?${t}`), xe(!1);
},
children: [/* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
@@ -47473,18 +47473,18 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
defaultValue: new URLSearchParams(location.search).get("q") || ""
})]
}),
- /* @__PURE__ */ (0, x.jsxs)(XN, {
+ /* @__PURE__ */ (0, x.jsxs)(QN, {
"aria-label": "播放墙图片",
value: Te,
onChange: Ee,
- className: ZN,
- children: [/* @__PURE__ */ (0, x.jsx)(YM, {
+ className: $N,
+ children: [/* @__PURE__ */ (0, x.jsx)(ZM, {
value: "cover",
- className: QN,
+ className: eP,
children: "封面"
- }), /* @__PURE__ */ (0, x.jsx)(YM, {
+ }), /* @__PURE__ */ (0, x.jsx)(ZM, {
value: "thumbnail",
- className: QN,
+ className: eP,
children: "缩略图"
})]
}),
@@ -47556,7 +47556,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}
}, t.key);
let n = e[t.index], r = !!E && t.key === O, i = Fe.get(t.key) || t, a = !re && !r, o = a ? Math.min(.34, (Math.max(0, t.x + I.view.camera.x / I.view.camera.scale) + Math.max(0, t.y + I.view.camera.y / I.view.camera.scale)) / 103.36 * .03) : 0;
- return /* @__PURE__ */ (0, x.jsx)(v_.article, {
+ return /* @__PURE__ */ (0, x.jsx)(y_.article, {
layout: !0,
"data-wall-tile": t.key,
"data-wall-id": n.id,
@@ -47576,7 +47576,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
},
whileHover: ae && !ne && !r && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,
transition: ne ? { duration: 0 } : {
- layout: nbe,
+ layout: ebe,
transform: a ? {
type: "spring",
stiffness: 360,
@@ -47609,7 +47609,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Re(n, t, !1));
},
children: r ? Ze : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(dF, {
+ /* @__PURE__ */ (0, x.jsx)(pF, {
item: n,
image: Te,
ratio: i.width / i.height
@@ -47635,7 +47635,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },
"aria-label": "观看进度"
}) : null,
- /* @__PURE__ */ (0, x.jsx)(v_.span, {
+ /* @__PURE__ */ (0, x.jsx)(y_.span, {
"data-wall-dim": "",
animate: { opacity: E ? .65 : 0 },
transition: { duration: ne ? 0 : .24 }
@@ -47663,7 +47663,7 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}) : null,
!t && (n || e.length > 0) ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-wall-refresh": "",
- children: /* @__PURE__ */ (0, x.jsx)(SP, {
+ children: /* @__PURE__ */ (0, x.jsx)(wP, {
busy: r,
onPress: () => void qe()
})
@@ -47710,20 +47710,20 @@ function ube({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function fF(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(fbe, { ...e });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${XE(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, x.jsx)(pbe, { ...e }, t);
+function mF(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(ube, { ...e });
+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${QE(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return /* @__PURE__ */ (0, x.jsx)(dbe, { ...e }, t);
}
-function dbe({ name: e }) {
+function lbe({ 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 fbe(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)(RP, {
+function ube(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)(BP, {
item: i,
variant: r,
layout: e.layout,
@@ -47743,8 +47743,8 @@ function fbe(e) {
children: i
});
}
-function pbe(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? yue(e) : vue(e), [s] = (0, b.useState)(() => e.wall ? xue(o.queryKey) : void 0), c = s || (i && e.initial ? {
+function dbe(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? _ue(e) : gue(e), [s] = (0, b.useState)(() => e.wall ? yue(o.queryKey) : void 0), c = s || (i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
@@ -47765,7 +47765,7 @@ function pbe(e) {
(0, b.useEffect)(() => {
l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));
}, [l.isPending]);
- let { tiles: d, pageStarts: f } = (0, b.useMemo)(() => wue(l.data?.pages || [], {
+ let { tiles: d, pageStarts: f } = (0, b.useMemo)(() => Sue(l.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -47775,7 +47775,7 @@ function pbe(e) {
e.mix,
a,
r.javImage
- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || ebe(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && Jye(e.item) ? [e.item] : []), v = DP(l.isPending, e.skeletonHtml), y = (0, b.useRef)(null), S = mbe(e, l.data, d, f, y);
+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || Qye(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && Kye(e.item) ? [e.item] : []), v = kP(l.isPending, e.skeletonHtml), y = (0, b.useRef)(null), S = fbe(e, l.data, d, f, y);
(0, b.useLayoutEffect)(() => {
if (!l.data) return;
let t = !0;
@@ -47802,12 +47802,12 @@ function pbe(e) {
let w = (0, b.useCallback)((e, t) => n.open(e, t), [n]), T = (0, b.useCallback)((e, t) => n.openResource(e, t), [n]), E = (0, b.useCallback)((e) => n.openShort(e), [n]), D = (0, b.useCallback)(async () => {
let e = await l.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [l.fetchNextPage]), O = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(gbe, {
+ }, [l.fetchNextPage]), O = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(mbe, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(RP, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(BP, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -47823,8 +47823,8 @@ function pbe(e) {
"data-media-body": "",
"data-grid-reveal": v.fading ? "" : void 0,
children: [!e.wall && v.layer, (() => {
- if (g && e.wall) return /* @__PURE__ */ (0, x.jsx)(ube, {
- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${XE(e.filters || {}, !!e.excludeVertical)}`,
+ if (g && e.wall) return /* @__PURE__ */ (0, x.jsx)(cbe, {
+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${QE(e.filters || {}, !!e.excludeVertical)}`,
items: _,
finite: h,
hasMore: !!l.hasNextPage,
@@ -47842,7 +47842,7 @@ function pbe(e) {
javImage: r.javImage
}, h ? "finite" : "explore");
if (l.isPending) return null;
- if (!l.data) return /* @__PURE__ */ (0, x.jsx)(OP, {
+ if (!l.data) return /* @__PURE__ */ (0, x.jsx)(AP, {
message: Tt(l.error),
onRetry: () => void l.refetch()
});
@@ -47859,15 +47859,15 @@ function pbe(e) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: Due(d, S).map((t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
+ children: Tue(d, S).map((t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(O)
- }), t.strip ? /* @__PURE__ */ (0, x.jsx)(hbe, {
+ }), t.strip ? /* @__PURE__ */ (0, x.jsx)(pbe, {
cut: t.strip,
props: e,
onOpen: E
}) : null] }, t.start))
- }), l.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(pF, {
+ }), l.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(hF, {
entity: i,
load: D,
enabled: () => e.canLoadMore?.() !== !1
@@ -47875,7 +47875,7 @@ function pbe(e) {
})()]
});
}
-function pF({ entity: e, load: t, enabled: n, children: r }) {
+function hF({ 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: ""
@@ -47937,12 +47937,12 @@ function pF({ entity: e, load: t, enabled: n, children: r }) {
hidden: !!s.error,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: to("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, x.jsx)(OP, {
+ }), s.error ? /* @__PURE__ */ (0, x.jsx)(AP, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function mbe(e, t, n, r, i) {
+function fbe(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;
@@ -47951,7 +47951,7 @@ function mbe(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- V(`/api/items?${Eue(e.filters || {}, l.current)}`, r.signal).then((e) => {
+ V(`/api/items?${wue(e.filters || {}, l.current)}`, r.signal).then((e) => {
let t = e.items || [];
t.length ? c({
page: i,
@@ -47963,7 +47963,7 @@ function mbe(e, t, n, r, i) {
}, [t]), (0, b.useLayoutEffect)(() => {
if (!s) return;
c(null);
- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = Tue(n.length - e, f, d);
+ let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = Cue(n.length - e, f, d);
if (!p.length) return;
let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);
l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {
@@ -47973,7 +47973,7 @@ function mbe(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function hbe({ cut: e, props: t, onOpen: n }) {
+function pbe({ cut: e, props: t, onOpen: n }) {
let r = (0, b.useRef)(null), { wireDrag: i } = t;
return (0, b.useEffect)(() => {
r.current && i(r.current);
@@ -47989,12 +47989,12 @@ function hbe({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, x.jsx)(dbe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(lbe, { 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)(RP, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, x.jsx)(BP, {
item: e,
variant: "short",
layout: t.layout,
@@ -48008,17 +48008,17 @@ function hbe({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function mF(e, t, n) {
+function gF(e, t, n) {
return ma(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function gbe({ seed: e, layout: t, helpers: n, actions: r }) {
+function mbe({ 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 = va(e, n.tagLabel), s = (0, b.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => ZE(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), mF(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = mF(e, t, !1);
- return /* @__PURE__ */ (0, x.jsx)(HP, {
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => $E(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(n.map((e) => [String(e.id), gF(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = gF(e, t, !1);
+ return /* @__PURE__ */ (0, x.jsx)(WP, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -48028,12 +48028,12 @@ function gbe({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : mF(e, {
+ artworkIdentity: c === "small" ? l.html : gF(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => Vs(e, c),
- ratio: IP(e, "grid", t),
+ ratio: RP(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -48045,41 +48045,41 @@ function gbe({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-async function hF(e) {
+async function _F(e) {
await U.fetchQuery({
queryKey: vn,
queryFn: () => yn(e)
});
}
-var _be = [
+var hbe = [
"local",
"115",
"pikpak"
-], vbe = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), ybe = "/api/duplicates?limit=120", gF = ["duplicates"], _F = "/api/batch", vF = (e) => V(ybe, e), bbe = /[\s\-_.()[\]【】/\\]/;
-function xbe(e) {
+], gbe = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), _be = "/api/duplicates?limit=120", vF = ["duplicates"], yF = "/api/batch", bF = (e) => V(_be, e), vbe = /[\s\-_.()[\]【】/\\]/;
+function ybe(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 && !bbe.test(n[r - 1]);) --r;
+ for (; r > 0 && !vbe.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var Sbe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function Cbe(e) {
+var bbe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function xbe(e) {
await Promise.all([U.fetchQuery({
- queryKey: gF,
- queryFn: () => vF(e)
- }), hF(e)]);
+ queryKey: vF,
+ queryFn: () => bF(e)
+ }), _F(e)]);
}
-var yF = {
+var xF = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, wbe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), bF = (e, t) => wbe(e, t).filter((t) => e.some((e) => e.location !== t)), Tbe = (e, t) => t.filter((t) => e.some((e) => bF(e.files, [t]).length));
-function Ebe(e, t) {
+}, Sbe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), SF = (e, t) => Sbe(e, t).filter((t) => e.some((e) => e.location !== t)), Cbe = (e, t) => t.filter((t) => e.some((e) => SF(e.files, [t]).length));
+function wbe(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -48098,12 +48098,12 @@ function Ebe(e, t) {
}
return n;
}
-function Dbe(e, t) {
+function Tbe(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 xF(e, t) {
- for (let n = 0; n < e.length; n += 200) await H(_F, {
+async function CF(e, t) {
+ for (let n = 0; n < e.length; n += 200) await H(yF, {
ids: e.slice(n, n + 200),
operation: t,
...t === "dispose" ? { disposal_reason: "duplicate" } : {}
@@ -48111,35 +48111,35 @@ async function xF(e, t) {
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var SF = "/api/library-processing", CF = ["library-processing"], wF = (e) => V(SF, e);
-async function TF(e) {
+var wF = "/api/library-processing", TF = ["library-processing"], EF = (e) => V(wF, e);
+async function DF(e) {
await U.fetchQuery({
- queryKey: CF,
- queryFn: () => wF(e)
+ queryKey: TF,
+ queryFn: () => EF(e)
});
}
-var Obe = 2e3, kbe = 1e4, EF = "连接中断,正在重新读取处理进度";
-function Abe(e, t) {
- return e?.status === "running" ? Obe : t ? kbe : !1;
+var Ebe = 2e3, Dbe = 1e4, OF = "连接中断,正在重新读取处理进度";
+function Obe(e, t) {
+ return e?.status === "running" ? Ebe : t ? Dbe : !1;
}
-var jbe = {
+var kbe = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, DF = {
+}, kF = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function Mbe(e) {
- let t = Object.entries(e).filter(([e, t]) => DF[e] && t > 0).map(([e, t]) => `${DF[e]} ${t.toLocaleString()} 部`);
+function Abe(e) {
+ let t = Object.entries(e).filter(([e, t]) => kF[e] && t > 0).map(([e, t]) => `${kF[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function OF(e) {
- let t = jbe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${bA(e.waited_seconds)}` : "";
+function AF(e) {
+ let t = kbe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${SA(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function Nbe(e) {
+function jbe(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -48153,21 +48153,21 @@ function Nbe(e) {
log: e.issues_log || ""
} : null;
}
-var kF = "peach.library-processing.announced", Pbe = 120;
-function Fbe(e, t, n) {
+var jF = "peach.library-processing.announced", Mbe = 120;
+function Nbe(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Pbe;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Mbe;
if (n || r) {
try {
- if (e.job_id && localStorage.getItem(kF) === e.job_id) return;
- e.job_id && localStorage.setItem(kF, e.job_id);
+ if (e.job_id && localStorage.getItem(jF) === e.job_id) return;
+ e.job_id && localStorage.setItem(jF, 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 AF = "/api/media-repair", jF = ["media-repair"], MF = ["media-repair", "libraries"], Ibe = {
+var MF = "/api/media-repair", NF = ["media-repair"], PF = ["media-repair", "libraries"], Pbe = {
status: "idle",
library: "",
stage: "",
@@ -48179,41 +48179,41 @@ var AF = "/api/media-repair", jF = ["media-repair"], MF = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, NF = (e) => V(AF, e), PF = async (e) => (await V("/api/libraries", e)).libraries || [];
-async function Lbe(e) {
+}, FF = (e) => V(MF, e), IF = async (e) => (await V("/api/libraries", e)).libraries || [];
+async function Fbe(e) {
await Promise.all([U.fetchQuery({
- queryKey: jF,
- queryFn: () => NF(e)
+ queryKey: NF,
+ queryFn: () => FF(e)
}), U.fetchQuery({
- queryKey: MF,
- queryFn: () => PF(e)
+ queryKey: PF,
+ queryFn: () => IF(e)
})]);
}
-var FF = (e) => Number(e).toLocaleString();
-function Rbe(e) {
+var LF = (e) => Number(e).toLocaleString();
+function Ibe(e) {
if (e.status === "running") {
- let t = e.total ? `${FF(Math.min(e.checked || 0, e.total))} / ${FF(e.total)}` : "准备中";
+ let t = e.total ? `${LF(Math.min(e.checked || 0, e.total))} / ${LF(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${FF(e.repaired)} 部,${FF(e.failed)} 部修不了` : `修好 ${FF(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${LF(e.repaired)} 部,${LF(e.failed)} 部修不了` : `修好 ${LF(e.repaired)} 部` : "";
}
-var zbe = (e) => `${FF(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Bbe = "/api/quality-goals?limit=200", IF = ["quality-goals"], LF = (e) => V(Bbe, e);
-async function Vbe(e) {
+var Lbe = (e) => `${LF(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Rbe = "/api/quality-goals?limit=200", RF = ["quality-goals"], zF = (e) => V(Rbe, e);
+async function zbe(e) {
await U.fetchQuery({
- queryKey: IF,
- queryFn: () => LF(e)
+ queryKey: RF,
+ queryFn: () => zF(e)
});
}
-var RF = (e) => e.has_cover ? ea(e) : `/poster?id=${e.id}&c=4`;
+var BF = (e) => e.has_cover ? ea(e) : `/poster?id=${e.id}&c=4`;
//#endregion
//#region src/selection.ts
-function zF(e, t, n, r, i, a = i || !e.has(r)) {
+function VF(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 Hbe = "/api/review", Ube = "/api/review/decision", Wbe = "/api/review/genre", BF = ["review"], VF = {
+var Bbe = "/api/review", Vbe = "/api/review/decision", Hbe = "/api/review/genre", HF = ["review"], UF = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -48223,15 +48223,15 @@ var Hbe = "/api/review", Ube = "/api/review/decision", Wbe = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, Gbe = Object.keys(VF), Kbe = "metadata_fields", HF = (e) => typeof e == "string" && Object.hasOwn(VF, e), qbe = {
+}, Ube = Object.keys(UF), Wbe = "metadata_fields", WF = (e) => typeof e == "string" && Object.hasOwn(UF, e), Gbe = {
creator_tags: "creator",
western_identity: "creator"
};
-function Jbe(e, t) {
+function Kbe(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 UF(e, t) {
+function GF(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -48248,10 +48248,10 @@ function UF(e, t) {
}
return [...n.values()];
}
-function Ybe(e, t, n) {
- return n && UF(e, t).find((e) => e.key === n)?.rows || e;
+function qbe(e, t, n) {
+ return n && GF(e, t).find((e) => e.key === n)?.rows || e;
}
-function Xbe(e, t) {
+function Jbe(e, t) {
let n = hn(e.length, 20), r = gn(t, n);
return {
page: r,
@@ -48259,32 +48259,32 @@ function Xbe(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function Zbe(e) {
+function Ybe(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 Qbe(e, t, n, r, i, a) {
- return zF(e, t, n, r, i, a);
+function Xbe(e, t, n, r, i, a) {
+ return VF(e, t, n, r, i, a);
}
-function WF(e, t) {
+function KF(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function GF(e, t) {
+function qF(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var KF = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function $be(e, t) {
- let n = GF(e, t), r = KF(e, t);
+var JF = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function Zbe(e, t) {
+ let n = qF(e, t), r = JF(e, t);
return r ? `${n} · ${r}` : n;
}
-var exe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", txe = (e) => String(e.tags || "").split("|").filter(Boolean), nxe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function rxe(e) {
+var Qbe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", $be = (e) => String(e.tags || "").split("|").filter(Boolean), exe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function txe(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function qF(e, t, n, r) {
+function YF(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -48300,19 +48300,19 @@ function qF(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var ixe = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", JF = (e) => V(Hbe, e), YF = (e) => H(Ube, e), axe = (e, t) => H(Wbe, {
+var nxe = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", XF = (e) => V(Bbe, e), ZF = (e) => H(Vbe, e), rxe = (e, t) => H(Hbe, {
genre: e,
tag: t
});
-async function oxe(e) {
+async function ixe(e) {
await U.fetchQuery({
- queryKey: BF,
- queryFn: () => JF(e)
+ queryKey: HF,
+ queryFn: () => XF(e)
});
}
-function XF(e, t) {
+function QF(e, t) {
let n = new Set(t);
- n.size && U.setQueryData(BF, (t) => {
+ n.size && U.setQueryData(HF, (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 : {
@@ -48328,193 +48328,193 @@ function XF(e, t) {
};
});
}
-var sxe = () => U.invalidateQueries({
- queryKey: BF,
+var axe = () => U.invalidateQueries({
+ queryKey: HF,
exact: !0
});
-function cxe(e, t) {
+function oxe(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Sn(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var lxe = "/api/links", ZF = "/api/links/check", QF = "/api/links/prune", $F = ["links"], eI = ["links", "check"], tI = ["links", "prune"], nI = {
+var sxe = "/api/links", $F = "/api/links/check", eI = "/api/links/prune", tI = ["links"], nI = ["links", "check"], rI = ["links", "prune"], iI = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function rI(e) {
+async function aI(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var iI = (e) => V(lxe, e), aI = (e) => H(ZF, { status_only: !0 }, "POST", e), uxe = ({ retry: e, checkId: t }) => rI(H(ZF, e ? {
+var oI = (e) => V(sxe, e), sI = (e) => H($F, { status_only: !0 }, "POST", e), cxe = ({ retry: e, checkId: t }) => aI(H($F, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), oI = (e) => V(QF, e), dxe = (e) => rI(H(QF, {
+} : { restart: !0 })), cI = (e) => V(eI, e), lxe = (e) => aI(H(eI, {
confirm: !0,
check_id: e,
background: !0
-})), sI = (e) => Number(e || 0).toLocaleString(), fxe = (e) => `已删除 ${sI(e.removed)} 条;${e.marked ? `已隐退女优的 ${sI(e.marked)} 条留作不可点的记录;` : ""}保留 ${sI(e.recovered)} 条未确认失效的链接。`;
-function pxe(e) {
+})), lI = (e) => Number(e || 0).toLocaleString(), uxe = (e) => `已删除 ${lI(e.removed)} 条;${e.marked ? `已隐退女优的 ${lI(e.marked)} 条留作不可点的记录;` : ""}保留 ${lI(e.recovered)} 条未确认失效的链接。`;
+function dxe(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${sI(e.checked)} / ${sI(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${lI(e.checked)} / ${lI(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var cI = "/api/settings", lI = "/api/follow/schedule", uI = "/api/thumbnail-jobs", dI = ["settings"], fI = ["follow-schedule"], pI = ["thumbnail-jobs"], mI = (e) => V(cI, e), mxe = (e) => V(lI, e), hxe = (e) => V(uI, e);
-function gxe(e = U) {
+var uI = "/api/settings", dI = "/api/follow/schedule", fI = "/api/thumbnail-jobs", pI = ["settings"], mI = ["follow-schedule"], hI = ["thumbnail-jobs"], gI = (e) => V(uI, e), fxe = (e) => V(dI, e), pxe = (e) => V(fI, e);
+function mxe(e = U) {
return e.fetchQuery({
- queryKey: dI,
- queryFn: ({ signal: e }) => mI(e),
+ queryKey: pI,
+ queryFn: ({ signal: e }) => gI(e),
staleTime: 0
}).catch(() => null);
}
-function hI() {
+function _I() {
return dt({
- mutationFn: (e) => H(cI, e),
- onSuccess: (e) => U.setQueryData(dI, e)
+ mutationFn: (e) => H(uI, e),
+ onSuccess: (e) => U.setQueryData(pI, e)
});
}
-function _xe() {
+function hxe() {
return dt({
- mutationFn: (e) => H(lI, {
+ mutationFn: (e) => H(dI, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => U.setQueryData(fI, e)
+ onSuccess: (e) => U.setQueryData(mI, e)
});
}
-function vxe() {
+function gxe() {
return dt({
- mutationFn: (e) => H(uI, { mode: e }),
- onSuccess: (e) => U.setQueryData(pI, e)
+ mutationFn: (e) => H(fI, { mode: e }),
+ onSuccess: (e) => U.setQueryData(hI, e)
});
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var yxe = "/api/organize", bxe = "/api/organize/preview", xxe = "/api/organize/apply", Sxe = "/api/organize/rollback", gI = ["organize"], _I = (e) => V(yxe, e);
-async function Cxe(e) {
+var _xe = "/api/organize", vxe = "/api/organize/preview", yxe = "/api/organize/apply", bxe = "/api/organize/rollback", vI = ["organize"], yI = (e) => V(_xe, e);
+async function xxe(e) {
await U.fetchQuery({
- queryKey: gI,
- queryFn: () => _I(e)
+ queryKey: vI,
+ queryFn: () => yI(e)
});
}
-var wxe = (e) => H(bxe, e), Txe = (e) => e.kind === "apply" ? H(xxe, {
+var Sxe = (e) => H(vxe, e), Cxe = (e) => e.kind === "apply" ? H(yxe, {
...e.request,
confirm: !0
-}) : H(Sxe, { confirm: !0 });
-async function Exe(e) {
- U.setQueryData(gI, (t) => t && {
+}) : H(bxe, { confirm: !0 });
+async function wxe(e) {
+ U.setQueryData(vI, (t) => t && {
...t,
templates: e
});
try {
- await H(cI, { organizeTemplates: e });
+ await H(uI, { organizeTemplates: e });
} catch {}
}
-var Dxe = (e, t) => e && {
+var Txe = (e, t) => e && {
...e,
...t
-}, Oxe = /目录模板|分隔符|盘符|`\.`/;
-function vI(e) {
+}, Exe = /目录模板|分隔符|盘符|`\.`/;
+function bI(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var yI = (e) => Number(e || 0).toLocaleString();
-function kxe(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${yI(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${yI(e.counts.change)} 个文件会改名或移动,${yI(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var xI = (e) => Number(e || 0).toLocaleString();
+function Dxe(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${xI(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${xI(e.counts.change)} 个文件会改名或移动,${xI(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function bI(e) {
+function SI(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${yI(r)} 个文件${n ? `,${yI(n)} 行未能退回` : ""}。` : `已整理 ${yI(r)} 个文件${n ? `,${yI(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${xI(r)} 个文件${n ? `,${xI(n)} 行未能退回` : ""}。` : `已整理 ${xI(r)} 个文件${n ? `,${xI(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var xI = "/api/resource-sync/scan", SI = "/api/resource-sync/apply", CI = ["resource-sync", "scan"], wI = ["resource-sync", "apply"], TI = (e) => H(xI, {
+var CI = "/api/resource-sync/scan", wI = "/api/resource-sync/apply", TI = ["resource-sync", "scan"], EI = ["resource-sync", "apply"], DI = (e) => H(CI, {
background: !0,
status_only: !0
-}, "POST", e), Axe = () => H(xI, {
+}, "POST", e), Oxe = () => H(CI, {
background: !0,
restart: !0
-}), EI = (e) => V(SI, e), jxe = (e) => H(SI, {
+}), OI = (e) => V(wI, e), kxe = (e) => H(wI, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), DI = (e) => (e?.sources ?? []).some((e) => _be.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function Mxe(e) {
- DI(U.getQueryData(vn)) && await Promise.all([U.fetchQuery({
- queryKey: CI,
- queryFn: () => TI(e)
+}), kI = (e) => (e?.sources ?? []).some((e) => hbe.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function Axe(e) {
+ kI(U.getQueryData(vn)) && await Promise.all([U.fetchQuery({
+ queryKey: TI,
+ queryFn: () => DI(e)
}), U.fetchQuery({
- queryKey: wI,
- queryFn: () => EI(e)
+ queryKey: EI,
+ queryFn: () => OI(e)
})]);
}
-var Nxe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Pxe = {
+var jxe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Mxe = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, OI = (e) => Number(e || 0).toLocaleString(), Fxe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", kI = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), AI = (e) => e.vanish ? `${OI(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", jI = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Ixe = (e) => `将永久删除文件已不在盘上的 ${OI(kI(e))} 条记录和 ${OI(e.empty)} 个空文件夹,并清理 ${OI(e.cache?.files)} 个闲置缓存。${jI(e)}${AI(e)}`, Lxe = (e) => `将永久删除文件已不在盘上的 ${OI(kI(e))} 条记录(含回收站里的)、${OI(e.empty)} 个空文件夹,并清理 ${OI(e.cache?.files)} 个闲置缓存。来源根目录保留。${jI(e)}${AI(e)}`, Rxe = (e) => e.online ? [
- `找不到文件 · 共 ${OI(e.total)} 项`,
- e.vanish ? `${OI(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${OI(e.empty)} 个` : "",
- e.unreadable ? `${OI(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${OI(e.total)} 项`;
-function MI(e) {
+}, AI = (e) => Number(e || 0).toLocaleString(), Nxe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", jI = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), MI = (e) => e.vanish ? `${AI(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", NI = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Pxe = (e) => `将永久删除文件已不在盘上的 ${AI(jI(e))} 条记录和 ${AI(e.empty)} 个空文件夹,并清理 ${AI(e.cache?.files)} 个闲置缓存。${NI(e)}${MI(e)}`, Fxe = (e) => `将永久删除文件已不在盘上的 ${AI(jI(e))} 条记录(含回收站里的)、${AI(e.empty)} 个空文件夹,并清理 ${AI(e.cache?.files)} 个闲置缓存。来源根目录保留。${NI(e)}${MI(e)}`, Ixe = (e) => e.online ? [
+ `找不到文件 · 共 ${AI(e.total)} 项`,
+ e.vanish ? `${AI(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${AI(e.empty)} 个` : "",
+ e.unreadable ? `${AI(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${AI(e.total)} 项`;
+function PI(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 ? `${OI(t.length)} 条记录没有删除(${o})` : "",
- n ? `${OI(n)} 个文件夹没有删除` : "",
- r.length ? `${OI(r.length)} 个缓存没有清理` : ""
+ t.length ? `${AI(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${AI(n)} 个文件夹没有删除` : "",
+ r.length ? `${AI(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var zxe = (e, t) => {
- let { rest: n } = MI(e), r = `已永久删除 ${OI(e.purged)} 条失效记录和 ${OI(e.dirs_removed)} 个空文件夹,清理 ${OI(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${OI(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${OI(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var Lxe = (e, t) => {
+ let { rest: n } = PI(e), r = `已永久删除 ${AI(e.purged)} 条失效记录和 ${AI(e.dirs_removed)} 个空文件夹,清理 ${AI(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${AI(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${AI(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, Bxe = "/api/review?counts=1", NI = ["review", "counts"], Vxe = "/api/ads?limit=1", PI = ["junk-summary"], FI = "/api/items?state=trash&limit=1", II = ["trash-summary"], Hxe = [
+}, Rxe = "/api/review?counts=1", FI = ["review", "counts"], zxe = "/api/ads?limit=1", II = ["junk-summary"], LI = "/api/items?state=trash&limit=1", RI = ["trash-summary"], Bxe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], LI = (e) => V(Bxe, e), RI = (e) => V(Vxe, e), zI = (e) => {
+], zI = (e) => V(Rxe, e), BI = (e) => V(zxe, e), VI = (e) => {
let t = sessionStorage.getItem("peach.library");
- return V(t ? `${FI}&library=${encodeURIComponent(t)}` : FI, e);
-}, BI = (e) => Number(e || 0).toLocaleString();
-function Uxe(e) {
- let t = VF, 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 V(t ? `${LI}&library=${encodeURIComponent(t)}` : LI, e);
+}, HI = (e) => Number(e || 0).toLocaleString();
+function Vxe(e) {
+ let t = UF, 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 Wxe(e) {
+function Hxe(e) {
if (!e) return "";
- let t = Hxe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${BI(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${BI(e.dismissed_total)}`), t.join(" · ");
-}
-var Gxe = [
- [NI, ({ signal: e }) => LI(e)],
- [IF, ({ signal: e }) => LF(e)],
- [II, ({ signal: e }) => zI(e)],
- [$F, ({ signal: e }) => iI(e)],
- [eI, ({ signal: e }) => aI(e)],
- [tI, ({ signal: e }) => oI(e)]
+ let t = Bxe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${HI(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${HI(e.dismissed_total)}`), t.join(" · ");
+}
+var Uxe = [
+ [FI, ({ signal: e }) => zI(e)],
+ [RF, ({ signal: e }) => zF(e)],
+ [RI, ({ signal: e }) => VI(e)],
+ [tI, ({ signal: e }) => oI(e)],
+ [nI, ({ signal: e }) => sI(e)],
+ [rI, ({ signal: e }) => cI(e)]
];
-async function Kxe(e) {
- let t = location.hash === "#resource-sync", n = Gxe.map(([n, r]) => {
+async function Wxe(e) {
+ let t = location.hash === "#resource-sync", n = Uxe.map(([n, r]) => {
if (t) return U.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -48527,49 +48527,49 @@ async function Kxe(e) {
await Promise.all([
...n,
U.fetchQuery({
- queryKey: PI,
- queryFn: () => RI(e)
+ queryKey: II,
+ queryFn: () => BI(e)
}),
U.fetchQuery({
- queryKey: gF,
- queryFn: () => vF(e)
+ queryKey: vF,
+ queryFn: () => bF(e)
}),
- hF(e).then(() => Mxe(e)),
- TF(e),
- Lbe(e),
- Cxe(e)
+ _F(e).then(() => Axe(e)),
+ DF(e),
+ Fbe(e),
+ xxe(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var qxe = [
+var Gxe = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], Jxe = [
+], Kxe = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function VI(e = {}) {
- return `${Kk({
+function UI(e = {}) {
+ return `${Jk({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var HI = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Yxe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function UI({ interactive: e = !1 } = {}) {
- return Kk({
+var WI = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", qxe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function GI({ interactive: e = !1 } = {}) {
+ return Jk({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var Xxe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function WI({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var Jxe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function KI({ 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",
@@ -48602,13 +48602,13 @@ function WI({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function GI({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function qI({ 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 ${qxe[n % 4]} ${Jxe[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Gxe[n % 4]} ${Kxe[n % 4]}`,
children: /* @__PURE__ */ (0, x.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -48630,16 +48630,16 @@ function GI({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function KI(e) {
- let t = JN("hover");
- return /* @__PURE__ */ (0, x.jsx)(VM, {
+function JI(e) {
+ let t = XN("hover");
+ return /* @__PURE__ */ (0, x.jsx)(UM, {
...e,
ref: t
});
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var qI = [
+var YI = [
"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",
@@ -48647,31 +48647,31 @@ var qI = [
"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(" "), Zxe = "w-[266px]", Qxe = "flex w-full flex-col gap-1 outline-none", JI = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), YI = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", $xe = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", XI = {
+].join(" "), Yxe = "w-[266px]", Xxe = "flex w-full flex-col gap-1 outline-none", XI = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), ZI = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", Zxe = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", QI = {
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
-}, eSe = {
- medium: XI.medium,
+}, Qxe = {
+ medium: QI.medium,
small: "size-8 rounded-lg p-0 text-body-medium"
-}, tSe = {
+}, $xe = {
medium: "size-5 shrink-0",
small: "size-[18px] shrink-0"
-}, nSe = {
+}, eSe = {
medium: "inline-flex items-center justify-center px-1 shrink-0",
small: "inline-flex items-center justify-center px-0.5 shrink-0"
-}, rSe = {
+}, tSe = {
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"
-}, ZI = (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 QI(e, t = "", n = e) {
- return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0">${ZI("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${z(n)}" value="${z(t)}" placeholder="${z(e)}" class="min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary"></div></div></div></div>`;
+}, $I = (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 eL(e, t = "", n = e) {
+ return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0">${$I("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${z(n)}" value="${z(t)}" placeholder="${z(e)}" class="min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary"></div></div></div></div>`;
}
-function $I({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {
- let o = r ? XI[t] : eSe[t], s = n ? ZI(n, tSe[t]) : "", c = r ? `<span class="${nSe[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
- return `<button type="button" class="${$xe} ${o} ${rSe[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
+function tL({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {
+ let o = r ? QI[t] : Qxe[t], s = n ? $I(n, $xe[t]) : "", c = r ? `<span class="${eSe[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
+ return `<button type="button" class="${Zxe} ${o} ${tSe[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
}
-var iSe = {
+var nSe = {
md: {
box: "gap-1.5 px-2.5 py-2 text-body-medium",
value: "gap-[5px]",
@@ -48683,156 +48683,156 @@ var iSe = {
chevron: "size-3.5"
}
};
-function eL(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
- let i = iSe[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>${ZI("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
+function nL(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
+ let i = nSe[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>${$I("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
}
-var aSe = "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", oSe = "flex min-w-0 flex-col gap-2", sSe = "text-body-regular text-text-secondary", cSe = "text-display-4-medium tabular-nums text-text-primary", lSe = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
-function tL(e) {
- return `<div data-collection-summary="" class="${aSe}"><div class="${oSe}"><span class="${sSe}">${e}</span><strong class="${cSe}"><span data-skeleton="count" aria-hidden="true" class="${lSe}"></span></strong></div></div>`;
+var rSe = "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", iSe = "flex min-w-0 flex-col gap-2", aSe = "text-body-regular text-text-secondary", oSe = "text-display-4-medium tabular-nums text-text-primary", sSe = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
+function rL(e) {
+ return `<div data-collection-summary="" class="${rSe}"><div class="${iSe}"><span class="${aSe}">${e}</span><strong class="${oSe}"><span data-skeleton="count" aria-hidden="true" class="${sSe}"></span></strong></div></div>`;
}
//#endregion
//#region src/management.ts
-var nL = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", rL = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", iL = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", aL = "type=\"button\" disabled data-skeleton-action", oL = "disabled data-skeleton-action", uSe = "aria-disabled=\"true\"", sL = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, cL = (e, t) => `<div data-geist-fieldset-content>
+var iL = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", aL = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", oL = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", sL = "type=\"button\" disabled data-skeleton-action", cL = "disabled data-skeleton-action", cSe = "aria-disabled=\"true\"", lL = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, uL = (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 dSe() {
- return sL(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
- ${cL("扫描与采集", nL)}
- <footer data-geist-fieldset-footer><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${ZI("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${$I({
+function lSe() {
+ return lL(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
+ ${uL("扫描与采集", iL)}
+ <footer data-geist-fieldset-footer><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${$I("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${tL({
glyph: "database",
label: "扫描并补全资料",
- attrs: oL
- })}${$I({
+ attrs: cL
+ })}${tL({
glyph: "chevron-down",
- attrs: `${oL} aria-label="更多扫描与采集方式"`
+ attrs: `${cL} aria-label="更多扫描与采集方式"`
})}</span></footer>
</section>`);
}
-function fSe() {
- return sL(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
- ${cL("媒体修复", rL)}
- <footer data-geist-fieldset-footer>${eL(iL, {
+function uSe() {
+ return lL(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
+ ${uL("媒体修复", aL)}
+ <footer data-geist-fieldset-footer>${nL(oL, {
className: "w-48",
- attrs: uSe
- })}${$I({
+ attrs: cSe
+ })}${tL({
label: "开始修复",
- attrs: oL
+ attrs: cL
})}</footer>
</section>`);
}
-function lL() {
+function dL() {
let e = [
["人工复核", "square-check-big"],
["高清版", "sparkles"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["回收站", "trash"]
- ], t = `<span class="geist-button ui-organize-preset-skeleton">${iL}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
- <span class="geist-input ui-organize-input-skeleton">${iL}</span></div>`;
+ ], t = `<span class="geist-button ui-organize-preset-skeleton">${oL}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
+ <span class="geist-input ui-organize-input-skeleton">${oL}</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">${R(t)}</span>${e}</span>
- <strong>${iL}</strong><span class="cleanupmeta">${iL}</span></button>`).join("")}</div>
+ <strong>${oL}</strong><span class="cleanupmeta">${oL}</span></button>`).join("")}</div>
<div class="cleanupgrid">
- <div class="cleanupscraping">${dSe()}</div>
- <div class="cleanupmediarepair">${fSe()}</div>
+ <div class="cleanupscraping">${lSe()}</div>
+ <div class="cleanupmediarepair">${uSe()}</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">${iL}${R("chevron-down")}</span></span></div>
+ <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${oL}${R("chevron-down")}</span></span></div>
${n("文件名模板")}
${n("目录模板")}
<div class="ui-organizepresets">${t}</div>
- <p class="cleanupmeta">${iL}</p>
+ <p class="cleanupmeta">${oL}</p>
</div></div>
- <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${aL}>预览</button></footer>
+ <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${sL}>预览</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>${iL}</b><small>${iL}</small></div>${[
+ <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${oL}</b><small>${oL}</small></div>${[
"官网/事务所",
"社交账号",
"作品资料站"
- ].map((e) => `<div><span>${e}</span><b>${iL}</b></div>`).join("")}</div>
- <div class="ui-linkhosts"><span>主要站点</span><b>${iL}</b></div></div></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${aL}>${R("unlink")}<span>检查死链</span></button></div>
+ ].map((e) => `<div><span>${e}</span><b>${oL}</b></div>`).join("")}</div>
+ <div class="ui-linkhosts"><span>主要站点</span><b>${oL}</b></div></div></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${sL}>${R("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" ${aL}>${R("git-compare")}<span>检查文件</span></button></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${sL}>${R("git-compare")}<span>检查文件</span></button></div>
</div></section></div>`;
}
//#endregion
//#region src/react/components/fieldset.tsx
-var pSe = Kk({
+var dSe = Jk({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), mSe = {
+}), fSe = {
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"
-}, hSe = {
+}, pSe = {
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"
-}, gSe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", _Se = {
+}, mSe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", hSe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, vSe = Kk({
+}, gSe = Jk({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), uL = "border-t border-border-button-default p-4 first:border-t-0";
-function dL({ tone: e = "neutral", status: t, children: n }) {
+}), fL = "border-t border-border-button-default p-4 first:border-t-0";
+function pL({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: `${gSe} ${_Se[e]}`,
+ className: `${mSe} ${hSe[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 fL({ id: e, children: t }) {
+function mL({ 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 pL({ id: e, gap: t = "none", children: n }) {
+function hL({ 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 mL({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function gL({ 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: `${pSe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${dSe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
- className: mSe[e],
+ className: fSe[e],
children: a
}), i ? /* @__PURE__ */ (0, x.jsx)("footer", {
- className: hSe[e],
+ className: pSe[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function hL() {
+function _L() {
let e = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
ya(e.current);
@@ -48840,7 +48840,7 @@ function hL() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var gL = Vk({
+var vL = Uk({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -48861,21 +48861,21 @@ var gL = Vk({
small: "size-4 shrink-0"
}
});
-function _L({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function yL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
ref: i,
type: r,
- className: Bk(gL.base, gL.size[t], n),
+ className: Hk(vL.base, vL.size[t], n),
...a,
children: /* @__PURE__ */ (0, x.jsx)(e, {
- className: gL.icon[t],
+ className: vL.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function ySe({ className: e }) {
+function _Se({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -48888,8 +48888,8 @@ function ySe({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-open" })
});
}
-var bSe = "打开文件管理器失败,请重试";
-function vL({ path: e, prefix: t, className: n, onRevealed: r }) {
+var vSe = "打开文件管理器失败,请重试";
+function bL({ 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;
@@ -48900,7 +48900,7 @@ function vL({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await H("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof sn ? e.message : bSe);
+ c.current && s(e instanceof sn ? e.message : vSe);
} finally {
c.current && a(!1);
}
@@ -48911,10 +48911,10 @@ function vL({ 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: Bk("min-w-0 break-all", n),
+ className: Hk("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, x.jsx)(_L, {
- icon: ySe,
+ }), /* @__PURE__ */ (0, x.jsx)(yL, {
+ icon: _Se,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -48929,38 +48929,38 @@ function vL({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function yL({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function xL({ 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" : Kk({
+ className: r ? "flex flex-col gap-1.5" : Jk({
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)(Zk, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)($k, {
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)(Jk, { label: e })
+ })] }) : /* @__PURE__ */ (0, x.jsx)(Xk, { label: e })
});
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function bL({ toast: e, mode: t, monitor: n }) {
+function SL({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = ut({
- queryKey: CF,
- queryFn: ({ signal: e }) => wF(e),
- refetchInterval: (e) => Abe(e.state.data, r)
+ queryKey: TF,
+ queryFn: ({ signal: e }) => EF(e),
+ refetchInterval: (e) => Obe(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") && Fbe(c, e, r);
+ r && o(c), (r || t === "notice") && Nbe(c, e, r);
}, [
c,
t,
@@ -48973,29 +48973,29 @@ function bL({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var xSe = [
+var ySe = [
{
label: "扫描并补全资料",
- icon: uk,
+ icon: fk,
command: {}
},
{
label: "只扫描",
- icon: pk,
+ icon: hk,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: zme,
+ icon: Lme,
command: { stage: "collect" }
}
-], SSe = Bk(JI, YI, "text-body-2-medium"), CSe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", wSe = (e) => {
+], bSe = Hk(XI, ZI, "text-body-2-medium"), xSe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", SSe = (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(",")}。`;
-}, TSe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + wSe(e);
-function ESe({ busy: e, onRun: t }) {
+}, CSe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + SSe(e);
+function wSe({ busy: e, onRun: t }) {
let n = (0, b.useRef)(null), [r, i] = (0, b.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -49004,14 +49004,14 @@ function ESe({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: uk,
+ leadingIcon: fk,
onClick: () => a({}),
...q(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, x.jsx)(G, {
ref: n,
iconOnly: !0,
- leadingIcon: ak,
+ leadingIcon: sk,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -49020,19 +49020,19 @@ function ESe({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ }), /* @__PURE__ */ (0, x.jsx)(jM, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: qI,
- children: /* @__PURE__ */ (0, x.jsx)(KI, {
+ className: YI,
+ children: /* @__PURE__ */ (0, x.jsx)(JI, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: xSe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: ySe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: SSe,
+ className: bSe,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, x.jsx)(t, {
"aria-hidden": !0,
@@ -49042,8 +49042,8 @@ function ESe({ busy: e, onRun: t }) {
})
})] });
}
-function DSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = Nbe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Mbe(e.notes || {}), c = hL();
+function TSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = jbe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Abe(e.notes || {}), c = _L();
return /* @__PURE__ */ (0, x.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -49051,7 +49051,7 @@ function DSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "处理较慢",
- children: CSe
+ children: xSe
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -49063,7 +49063,7 @@ function DSe({ 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)(fA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(mA, {
summary: a.label,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "relative",
@@ -49094,7 +49094,7 @@ function DSe({ 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)(vL, {
+ children: /* @__PURE__ */ (0, x.jsx)(bL, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -49108,13 +49108,13 @@ function DSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "success",
title: "处理完成",
- children: TSe(n)
+ children: CSe(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, x.jsx)(vL, {
+ children: /* @__PURE__ */ (0, x.jsx)(bL, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -49126,38 +49126,38 @@ function DSe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function xL(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = bL(e), o = dt({
- mutationFn: (e) => H(SF, e),
+function CL(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = SL(e), o = dt({
+ mutationFn: (e) => H(wF, e),
onSuccess: (e) => {
- a(), U.setQueryData(CF, e), U.invalidateQueries({ queryKey: CF });
+ a(), U.setQueryData(TF, e), U.invalidateQueries({ queryKey: TF });
}
});
(0, b.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? B(o.error) : r.isError ? r.data ? EF : B(r.error) : "", l = o.isPending || s.status === "running", u = OF(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? B(o.error) : r.isError ? r.data ? OF : B(r.error) : "", l = o.isPending || s.status === "running", u = AF(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)(mL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(gL, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(tA, {
+ /* @__PURE__ */ (0, x.jsx)(rA, {
href: "/sources",
size: "small",
- trailingIcon: ok,
+ trailingIcon: ck,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, x.jsx)(tA, {
+ s.candidates ? /* @__PURE__ */ (0, x.jsx)(rA, {
href: "/review",
size: "small",
- trailingIcon: ok,
+ trailingIcon: ck,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, x.jsx)(ESe, {
+ /* @__PURE__ */ (0, x.jsx)(wSe, {
busy: l,
onRun: d
})
@@ -49165,12 +49165,12 @@ function xL(e) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(pL, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, x.jsx)(hL, { children: "扫描与采集" }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: nL
+ children: iL
}),
- s.status === "running" ? /* @__PURE__ */ (0, x.jsx)(yL, {
+ s.status === "running" ? /* @__PURE__ */ (0, x.jsx)(xL, {
embedded: !0,
label: u,
value: Math.min(s.checked || 0, s.total || 0),
@@ -49178,7 +49178,7 @@ function xL(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, x.jsx)(DSe, {
+ }), /* @__PURE__ */ (0, x.jsx)(TSe, {
state: s,
problem: c,
settled: i,
@@ -49194,7 +49194,7 @@ function xL(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function OSe(e) {
+function ESe(e) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -49208,7 +49208,7 @@ function OSe(e) {
})
});
}
-function kSe(e) {
+function DSe(e) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -49222,7 +49222,7 @@ function kSe(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function ASe(e, t, n) {
+function OSe(e, t, n) {
(0, b.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -49236,7 +49236,7 @@ function ASe(e, t, n) {
n
]);
}
-function jSe(e, t) {
+function kSe(e, t) {
let n = (0, b.useRef)(!1);
return (0, b.useEffect)(() => {
if (!e) return;
@@ -49250,33 +49250,33 @@ function jSe(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var SL = (0, b.createContext)("md");
-function CL({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var wL = (0, b.createContext)("md");
+function TL({ 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);
- ASe(d, () => f(!1), [l, u]);
- let p = jSe(d, l);
- return /* @__PURE__ */ (0, x.jsx)(nve, {
+ OSe(d, () => f(!1), [l, u]);
+ let p = kSe(d, l);
+ return /* @__PURE__ */ (0, x.jsx)(eve, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: Bk("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(cj, {
+ className: Hk("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(uj, {
ref: l,
- className: Bk("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)(ave, {
- className: Bk("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: Hk("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)(rve, {
+ className: Hk("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, x.jsx)(OSe, { className: Bk("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ }), /* @__PURE__ */ (0, x.jsx)(ESe, { className: Hk("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, x.jsx)(jM, {
ref: u,
isNonModal: !0,
offset: 4,
- className: Bk(Zxe, qI, "p-2", n),
- children: /* @__PURE__ */ (0, x.jsx)(C_e, {
+ className: Hk(Yxe, YI, "p-2", n),
+ children: /* @__PURE__ */ (0, x.jsx)(x_e, {
items: a,
- className: Bk(Qxe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, x.jsx)(SL.Provider, {
+ className: Hk(Xxe, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, x.jsx)(wL.Provider, {
value: r,
children: i
})
@@ -49284,19 +49284,19 @@ function CL({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function wL({ className: e, children: t, ...n }) {
- let r = (0, b.useContext)(SL);
- return /* @__PURE__ */ (0, x.jsx)(E_e, {
+function EL({ className: e, children: t, ...n }) {
+ let r = (0, b.useContext)(wL);
+ return /* @__PURE__ */ (0, x.jsx)(w_e, {
...n,
- className: (t) => Bk(JI, 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) => Hk(XI, 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 TL = 2e3, MSe = (e) => e, NSe = (e, t) => t;
-function EL(e) {
- let { queryKey: t, jobOf: n = MSe, withJob: r = NSe, idlePollMs: i } = e, [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(e);
+var DL = 2e3, ASe = (e) => e, jSe = (e, t) => t;
+function OL(e) {
+ let { queryKey: t, jobOf: n = ASe, withJob: r = jSe, 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;
});
@@ -49305,7 +49305,7 @@ function EL(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? TL : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? DL : i ?? !1;
}
}), d = dt({
mutationFn: (e) => l.current.start(e),
@@ -49330,32 +49330,32 @@ function EL(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var PSe = (e) => Ya[e] || e, DL = (e) => U.setQueryData(jF, e);
-function FSe() {
+var MSe = (e) => Ya[e] || e, kL = (e) => U.setQueryData(NF, e);
+function NSe() {
let e = ut({
- queryKey: jF,
- queryFn: ({ signal: e }) => NF(e),
- refetchInterval: (e) => e.state.data?.status === "running" && TL
+ queryKey: NF,
+ queryFn: ({ signal: e }) => FF(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && DL
}), t = ut({
- queryKey: MF,
- queryFn: ({ signal: e }) => PF(e)
- }), [n, r] = (0, b.useState)(""), i = Qk(), a = e.data ?? Ibe, 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: PF,
+ queryFn: ({ signal: e }) => IF(e)
+ }), [n, r] = (0, b.useState)(""), i = eA(), a = e.data ?? Pbe, 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 && ls({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => DL(await H(AF, {
+ onConfirm: async () => kL(await H(MF, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => H(AF, { stop: !0 }, "POST", e), DL), d = Rbe(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => H(MF, { stop: !0 }, "POST", e), kL), d = Ibe(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)(mL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(gL, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(CL, {
+ footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -49363,10 +49363,10 @@ function FSe() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(wL, {
+ children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(EL, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, x.jsx)(pA, { mark: PSe(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, x.jsx)(hA, { mark: MSe(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, x.jsx)(G, {
onClick: u,
@@ -49380,12 +49380,12 @@ function FSe() {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(pL, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, x.jsx)(hL, { children: "媒体修复" }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: rL
+ children: aL
}),
- s && a.total ? /* @__PURE__ */ (0, x.jsx)(Zk, {
+ s && a.total ? /* @__PURE__ */ (0, x.jsx)($k, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -49409,7 +49409,7 @@ function FSe() {
f && a.missing_tool ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "缺少 untrunc",
- children: zbe(a)
+ children: Lbe(a)
}) : null,
p ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -49421,7 +49421,7 @@ function FSe() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var OL = {
+var AL = {
md: {
box: "size-4",
glyph: "size-4",
@@ -49435,11 +49435,11 @@ var OL = {
gap: "gap-1.5"
}
};
-function kL({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = OL[t], c = n || r, l = o && !a;
+function jL({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = AL[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
- className: Bk("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? Bk("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : Bk("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: Hk("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? Hk("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : Hk("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",
@@ -49463,36 +49463,36 @@ function kL({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function AL({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = OL[n];
- return /* @__PURE__ */ (0, x.jsx)(d_e, {
+function ML({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = AL[n];
+ return /* @__PURE__ */ (0, x.jsx)(l_e, {
ref: r,
...i,
- className: (t) => Bk("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)(kL, {
+ className: (t) => Hk("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)(jL, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: Bk(a.label, "text-text-primary"),
+ className: Hk(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function jL({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function NL({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: Bk("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, x.jsx)(yve, {
+ className: Hk("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, x.jsx)(_ve, {
ref: r,
...i,
- className: Bk("bui-table", e === "sm" && "bui-table-sm", t)
+ className: Hk("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function ML({ children: e, follow: t = !1, onRowClick: n }) {
+function PL({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -49500,15 +49500,15 @@ function ML({ 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 && AP(e, r) && n(r.dataset.key);
+ r && MP(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var ISe = FN("unlink"), NL = FN("rotate-cw"), LSe = "站点返回 404 或 410,确认这个地址不存在。", RSe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", zSe = "删除前会逐条重验一次;此操作不可撤销。", BSe = "暂时无法读取进度,正在重新连接…", PL = (e) => Number(e || 0).toLocaleString();
-function FL({ label: e, value: t, note: n }) {
+var PSe = LN("unlink"), FL = LN("rotate-cw"), FSe = "站点返回 404 或 410,确认这个地址不存在。", ISe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", LSe = "删除前会逐条重验一次;此操作不可撤销。", RSe = "暂时无法读取进度,正在重新连接…", IL = (e) => Number(e || 0).toLocaleString();
+function LL({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -49527,12 +49527,12 @@ function FL({ label: e, value: t, note: n }) {
]
});
}
-function IL({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function RL({ 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: uL,
+ className: fL,
children: [
/* @__PURE__ */ (0, x.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -49545,13 +49545,13 @@ function IL({ 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)(ML, { children: /* @__PURE__ */ (0, x.jsxs)(jL, {
+ /* @__PURE__ */ (0, x.jsx)(PL, { children: /* @__PURE__ */ (0, x.jsxs)(NL, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(dN, { children: [
- i ? /* @__PURE__ */ (0, x.jsx)(fN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(pN, { children: [
+ i ? /* @__PURE__ */ (0, x.jsx)(mN, {
id: "pick",
- children: /* @__PURE__ */ (0, x.jsx)(AL, {
+ children: /* @__PURE__ */ (0, x.jsx)(ML, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: l,
@@ -49559,53 +49559,53 @@ function IL({ 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)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(mN, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(_N, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(gN, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(yN, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)(AL, {
+ i ? /* @__PURE__ */ (0, x.jsx)(xN, { children: /* @__PURE__ */ (0, x.jsx)(ML, {
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)(yN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(xN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-24 wrap-anywhere",
children: e.entity
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: nI[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(xN, { children: iI[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, x.jsx)(xN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-24 wrap-anywhere",
children: e.label || ""
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)("div", {
+ /* @__PURE__ */ (0, x.jsx)(xN, { children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-40 max-w-80",
- children: /* @__PURE__ */ (0, x.jsx)(jA, {
+ children: /* @__PURE__ */ (0, x.jsx)(NA, {
text: e.note,
className: "tabular-nums text-text-error-primary"
})
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsxs)("a", {
+ /* @__PURE__ */ (0, x.jsx)(xN, { children: /* @__PURE__ */ (0, x.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -49615,7 +49615,7 @@ function IL({ 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)(fk, {
+ }), /* @__PURE__ */ (0, x.jsx)(mk, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -49637,27 +49637,27 @@ function IL({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function VSe() {
+function zSe() {
let e = ut({
- queryKey: $F,
- queryFn: ({ signal: e }) => iI(e)
- }), [t, n] = (0, b.useState)([]), r = EL({
queryKey: tI,
- queryFn: ({ signal: e }) => oI(e),
- start: dxe,
+ queryFn: ({ signal: e }) => oI(e)
+ }), [t, n] = (0, b.useState)([]), r = OL({
+ queryKey: rI,
+ queryFn: ({ signal: e }) => cI(e),
+ start: lxe,
onFinish: () => {
U.invalidateQueries({
- queryKey: $F,
+ queryKey: tI,
exact: !0
}), U.invalidateQueries({
- queryKey: eI,
+ queryKey: nI,
exact: !0
});
}
- }), i = EL({
- queryKey: eI,
- queryFn: ({ signal: e }) => aI(e),
- start: uxe,
+ }), i = OL({
+ queryKey: nI,
+ queryFn: ({ signal: e }) => sI(e),
+ start: cxe,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -49665,7 +49665,7 @@ function VSe() {
(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} ${PL(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} ${IL(t)}`).join(" · "), h = (e) => {
s || e && !e.length || i.start.mutate(e ? {
retry: e,
checkId: o
@@ -49687,7 +49687,7 @@ function VSe() {
else if (_) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "success",
title: "完成",
- children: fxe(_)
+ children: uxe(_)
});
else if (v) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -49697,7 +49697,7 @@ function VSe() {
else if (i.query.isError && a) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "任务状态",
- children: BSe
+ children: RSe
});
else if (a?.status === "failed") S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -49705,12 +49705,12 @@ function VSe() {
children: a.error || "检查失败"
});
else if (a && a.status !== "idle") {
- y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(yL, {
+ y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(xL, {
embedded: !0,
- label: pxe(a),
+ label: dxe(a),
value: Math.min(a.checked || 0, a.total || 0),
total: a.total
- }) : null, c ? /* @__PURE__ */ (0, x.jsx)(yL, {
+ }) : null, c ? /* @__PURE__ */ (0, x.jsx)(xL, {
embedded: !0,
label: r.job?.message || "正在重验并删除失效链接…",
value: Math.min(r.job?.checked || 0, r.job?.total || 0),
@@ -49718,38 +49718,38 @@ function VSe() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
S = l || u.length || d.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: vSe,
+ className: gSe,
children: [
- /* @__PURE__ */ (0, x.jsx)(IL, {
+ /* @__PURE__ */ (0, x.jsx)(RL, {
title: "地址已失效",
items: u,
- hint: LSe
+ hint: FSe
}),
- /* @__PURE__ */ (0, x.jsx)(IL, {
+ /* @__PURE__ */ (0, x.jsx)(RL, {
title: "本次未访问成功",
items: d,
- hint: RSe,
+ hint: ISe,
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)(dL, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: NL,
+ children: /* @__PURE__ */ (0, x.jsxs)(pL, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ leadingIcon: FL,
disabled: !t.length,
...q(s),
onClick: () => h(t),
children: e
}), /* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: NL,
+ leadingIcon: FL,
...q(s),
onClick: () => h(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, x.jsx)(dL, {
+ l && u.length ? /* @__PURE__ */ (0, x.jsx)(pL, {
tone: "error",
- status: zSe,
+ status: LSe,
children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
...q(c),
@@ -49758,7 +49758,7 @@ function VSe() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, x.jsx)("p", {
- className: `${uL} text-body-regular text-notification-success-foreground`,
+ className: `${fL} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -49769,21 +49769,21 @@ function VSe() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(fL, {
+ /* @__PURE__ */ (0, x.jsx)(mL, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, x.jsxs)(mL, {
+ /* @__PURE__ */ (0, x.jsxs)(gL, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: ISe,
+ leadingIcon: PSe,
...q(s),
onClick: () => h(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(pL, {
+ /* @__PURE__ */ (0, x.jsx)(hL, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -49794,13 +49794,13 @@ function VSe() {
children: B(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)(FL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(LL, {
label: "链接总数",
- value: PL(p.total),
- note: `分布在 ${PL(p.entities)} 个女优、厂牌与系列`
- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(FL, {
- label: nI[e] || e,
- value: PL(t)
+ value: IL(p.total),
+ note: `分布在 ${IL(p.entities)} 个女优、厂牌与系列`
+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(LL, {
+ label: iI[e] || e,
+ value: IL(t)
}, e))]
}), m ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -49829,18 +49829,18 @@ function VSe() {
}
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var HSe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, USe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", WSe = 8;
-function GSe({ plan: e }) {
+var BSe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, VSe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", HSe = 8;
+function USe({ 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, WSe).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
+ children: e.rows.slice(0, HSe).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: vI(e.current_path)
+ children: bI(e.current_path)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
@@ -49850,7 +49850,7 @@ function GSe({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: vI(e.target_path)
+ children: bI(e.target_path)
})
]
}, e.current_path))
@@ -49859,10 +49859,10 @@ function GSe({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function KSe({ toast: e, failure: t }) {
+function WSe({ toast: e, failure: t }) {
let n = ut({
- queryKey: gI,
- queryFn: ({ signal: e }) => _I(e)
+ queryKey: vI,
+ queryFn: ({ signal: e }) => yI(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 ?? "",
@@ -49875,38 +49875,38 @@ function KSe({ toast: e, failure: t }) {
file_template: d.file.trim(),
dir_template: d.dir.trim()
}), v = dt({
- mutationFn: wxe,
+ mutationFn: Sxe,
onError: (e) => {
- let t = Oxe.test(B(e)) ? "dir" : "file";
+ let t = Exe.test(B(e)) ? "dir" : "file";
m(t), (t === "dir" ? g : h).current?.focus();
}
- }), y = EL({
- queryKey: gI,
- queryFn: ({ signal: e }) => _I(e),
- start: Txe,
+ }), y = OL({
+ queryKey: vI,
+ queryFn: ({ signal: e }) => yI(e),
+ start: Cxe,
jobOf: (e) => e,
- withJob: Dxe,
+ withJob: Txe,
onStarted: () => v.reset(),
onFinish: (n) => {
if (U.invalidateQueries({
- queryKey: gI,
+ queryKey: vI,
exact: !0
}), n.status !== "complete") return;
- let { text: r, failed: i } = bI(n);
+ let { text: r, failed: i } = SI(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 = tn[s] || s, E = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), D = () => {
!v.isPending && s && (m(null), v.mutate(_()));
}, O = () => void ls({
title: "按模板整理文件",
- body: HSe(T),
+ body: BSe(T),
confirmLabel: "整理文件",
onConfirm: async () => {
let e = _();
await y.start.mutateAsync({
kind: "apply",
request: e
- }), Exe({
+ }), wxe({
...r?.templates ?? {},
[e.location]: {
file: e.file_template,
@@ -49916,13 +49916,13 @@ function KSe({ toast: e, failure: t }) {
}
}), k = () => void ls({
title: "回滚上一批整理",
- body: USe,
+ body: VSe,
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)(yL, {
+ A = /* @__PURE__ */ (0, x.jsx)(xL, {
embedded: !0,
label: e,
value: Math.min(j.checked || 0, j.total || 0),
@@ -49934,7 +49934,7 @@ function KSe({ toast: e, failure: t }) {
children: M.error || "请查看任务记录,核对已处理的文件。"
});
else if (M) {
- let { text: e, failed: t } = bI(M);
+ let { text: e, failed: t } = SI(M);
A = /* @__PURE__ */ (0, x.jsx)(K, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -49944,7 +49944,7 @@ function KSe({ toast: e, failure: t }) {
tone: "error",
title: "整理失败",
children: B(y.start.error)
- }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)(yL, {
+ }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)(xL, {
embedded: !0,
label: "正在按模板算计划…"
}) : v.isError ? A = /* @__PURE__ */ (0, x.jsx)(K, {
@@ -49954,9 +49954,9 @@ function KSe({ toast: e, failure: t }) {
}) : C && (A = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "预览结果",
- children: kxe(C)
- }), w ? /* @__PURE__ */ (0, x.jsx)(GSe, { plan: C }) : null] }));
- return /* @__PURE__ */ (0, x.jsxs)(mL, {
+ children: Dxe(C)
+ }), w ? /* @__PURE__ */ (0, x.jsx)(USe, { plan: C }) : null] }));
+ return /* @__PURE__ */ (0, x.jsxs)(gL, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -49980,7 +49980,7 @@ function KSe({ toast: e, failure: t }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, x.jsx)(pL, {
+ /* @__PURE__ */ (0, x.jsx)(hL, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -50000,20 +50000,20 @@ function KSe({ toast: e, failure: t }) {
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- i.length ? /* @__PURE__ */ (0, x.jsx)(CL, {
+ i.length ? /* @__PURE__ */ (0, x.jsx)(TL, {
"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)(wL, {
+ children: i.map((e) => /* @__PURE__ */ (0, x.jsxs)(EL, {
id: e.location,
textValue: tn[e.location] || e.location,
- children: [/* @__PURE__ */ (0, x.jsx)(pA, { mark: Ya[e.location] || "database" }), tn[e.location] || e.location]
+ children: [/* @__PURE__ */ (0, x.jsx)(hA, { mark: Ya[e.location] || "database" }), tn[e.location] || e.location]
}, e.location))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: d.file,
@@ -50024,7 +50024,7 @@ function KSe({ toast: e, failure: t }) {
f({ file: e }), m(null);
}
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: d.dir,
@@ -50069,56 +50069,56 @@ function KSe({ toast: e, failure: t }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var qSe = "/api/orphan-records", JSe = "/api/orphan-records/attach", LL = ["orphan-records"], YSe = [
+var GSe = "/api/orphan-records", KSe = "/api/orphan-records/attach", zL = ["orphan-records"], qSe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], XSe = (e) => V(qSe, e), ZSe = (e, t) => H(JSe, {
+], JSe = (e) => V(GSe, e), YSe = (e, t) => H(KSe, {
id: e,
target: t
-}), QSe = (e) => H(_F, {
+}), XSe = (e) => H(yF, {
ids: [e],
operation: "delete"
-}), $Se = (e) => [
+}), ZSe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], RL = (e) => [...YSe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...$Se(e)].filter(Boolean).join(" · "), eCe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", zL = (e) => [e.name, eCe(e.duration)].filter(Boolean).join(" · "), tCe = FN("play"), BL = () => U.invalidateQueries({
- queryKey: LL,
+], BL = (e) => [...qSe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...ZSe(e)].filter(Boolean).join(" · "), QSe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", VL = (e) => [e.name, QSe(e.duration)].filter(Boolean).join(" · "), $Se = LN("play"), HL = () => U.invalidateQueries({
+ queryKey: zL,
exact: !0
});
-function nCe({ item: e, toast: t }) {
+function eCe({ item: e, toast: t }) {
let [n, r] = (0, b.useState)(e.candidates[0]?.id ?? null), i = dt({
- mutationFn: () => ZSe(e.id, Number(n)),
+ mutationFn: () => YSe(e.id, Number(n)),
onSuccess: (e) => {
- t(`记录已接到新文件,批次 ${e.batch}`), BL();
+ t(`记录已接到新文件,批次 ${e.batch}`), HL();
},
onError: (e) => t(B(e))
}), a = dt({
- mutationFn: () => QSe(e.id),
+ mutationFn: () => XSe(e.id),
onSuccess: (n) => {
- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), BL();
+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), HL();
}
}), o = () => {
ls({
title: "彻底删除",
- body: `将删除「${e.name}」这一条和它带的记录(${RL(e.records)})。此操作不可撤销。`,
+ body: `将删除「${e.name}」这一条和它带的记录(${BL(e.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => a.mutateAsync()
});
}, s = i.isPending || a.isPending;
- return /* @__PURE__ */ (0, x.jsxs)(_N, {
+ return /* @__PURE__ */ (0, x.jsxs)(yN, {
id: e.id,
children: [
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
+ /* @__PURE__ */ (0, x.jsx)(xN, { 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)(tCe, {
+ children: [/* @__PURE__ */ (0, x.jsx)($Se, {
"aria-hidden": !0,
className: "size-5"
}), e.has_thumb ? /* @__PURE__ */ (0, x.jsx)("img", {
@@ -50140,27 +50140,27 @@ function nCe({ item: e, toast: t }) {
})]
})]
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(xN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-28",
- children: RL(e.records)
+ children: BL(e.records)
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(CL, {
+ /* @__PURE__ */ (0, x.jsx)(xN, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(TL, {
"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)(wL, {
+ children: e.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e.id,
- textValue: zL(e),
- children: zL(e)
+ textValue: VL(e),
+ children: VL(e)
}, e.id))
}) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-text-secondary",
children: "没有番号或文件名对得上的文件"
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
+ /* @__PURE__ */ (0, x.jsx)(xN, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex flex-wrap gap-2",
children: [e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
@@ -50180,23 +50180,23 @@ function nCe({ item: e, toast: t }) {
]
});
}
-function rCe({ toast: e }) {
+function tCe({ toast: e }) {
let t = ut({
- queryKey: LL,
- queryFn: ({ signal: e }) => XSe(e)
+ queryKey: zL,
+ queryFn: ({ signal: e }) => JSe(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)(fL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(mL, {
id: "orphan-records-title",
children: "孤儿记录"
- }), /* @__PURE__ */ (0, x.jsxs)(mL, {
+ }), /* @__PURE__ */ (0, x.jsxs)(gL, {
layout: "stack",
labelledBy: "orphan-records-box",
children: [
- /* @__PURE__ */ (0, x.jsx)(pL, {
+ /* @__PURE__ */ (0, x.jsx)(hL, {
id: "orphan-records-box",
gap: "small",
children: "文件已消失的作品"
@@ -50209,28 +50209,28 @@ function rCe({ toast: e }) {
tone: "error",
title: "孤儿记录读取失败",
children: B(t.error)
- }) : /* @__PURE__ */ (0, x.jsx)(ML, { children: /* @__PURE__ */ (0, x.jsxs)(jL, {
+ }) : /* @__PURE__ */ (0, x.jsx)(PL, { children: /* @__PURE__ */ (0, x.jsxs)(NL, {
"aria-label": "文件已消失的作品",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(dN, { children: [
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(pN, { children: [
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "item",
isRowHeader: !0,
children: "作品"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "records",
children: "带的记录"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "target",
children: "接到"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(mN, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(nCe, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(gN, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(eCe, {
item: t,
toast: e
}, t.id)) })]
@@ -50245,99 +50245,99 @@ function rCe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var iCe = FN("git-compare"), aCe = FN("rotate-cw"), oCe = "暂时无法读取进度,正在重新连接…", VL = "清理失效条目", HL = "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", UL = (e) => Number(e || 0).toLocaleString();
-function sCe({ scan: e }) {
+var nCe = LN("git-compare"), rCe = LN("rotate-cw"), iCe = "暂时无法读取进度,正在重新连接…", UL = "清理失效条目", WL = "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", GL = (e) => Number(e || 0).toLocaleString();
+function aCe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
- className: HL,
+ className: WL,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, x.jsx)("article", {
- className: UI(),
- children: /* @__PURE__ */ (0, x.jsx)(WI, {
- label: Pxe[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, x.jsx)(pA, { mark: Ya[e.location] ?? "database" }),
+ className: GI(),
+ children: /* @__PURE__ */ (0, x.jsx)(KI, {
+ label: Mxe[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, x.jsx)(hA, { mark: Ya[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 ? `${UL(e.missing)} 项` : "—",
- meta: Rxe(e),
+ figure: e.online ? `${GL(e.missing)} 项` : "—",
+ meta: Ixe(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, x.jsxs)("div", {
- className: HL,
+ className: WL,
children: [
/* @__PURE__ */ (0, x.jsx)("article", {
- className: UI(),
- children: /* @__PURE__ */ (0, x.jsx)(WI, {
+ className: GI(),
+ children: /* @__PURE__ */ (0, x.jsx)(KI, {
label: "待永久删除",
- figure: `${UL(kI(e))} 项`,
+ figure: `${GL(jI(e))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: UI(),
- children: /* @__PURE__ */ (0, x.jsx)(WI, {
+ className: GI(),
+ children: /* @__PURE__ */ (0, x.jsx)(KI, {
label: "将标为已消失",
- figure: `${UL(e.vanish)} 项`,
+ figure: `${GL(e.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: UI(),
- children: /* @__PURE__ */ (0, x.jsx)(WI, {
+ className: GI(),
+ children: /* @__PURE__ */ (0, x.jsx)(KI, {
label: "空文件夹",
- figure: `${UL(e.empty)} 个`,
+ figure: `${GL(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: UI(),
- children: /* @__PURE__ */ (0, x.jsx)(WI, {
+ className: GI(),
+ children: /* @__PURE__ */ (0, x.jsx)(KI, {
label: "可清理的缓存",
- figure: `${UL(t.files)} 个`,
+ figure: `${GL(t.files)} 个`,
meta: t.files ? Xt(t.bytes) : ""
})
})
]
})] });
}
-function cCe({ toast: e }) {
- let t = EL({
- queryKey: wI,
- queryFn: ({ signal: e }) => EI(e),
- start: jxe,
+function oCe({ toast: e }) {
+ let t = OL({
+ queryKey: EI,
+ queryFn: ({ signal: e }) => OI(e),
+ start: kxe,
onFinish: (t) => {
if (U.invalidateQueries({
- queryKey: II,
+ queryKey: RI,
exact: !0
}), U.invalidateQueries({
- queryKey: CI,
+ queryKey: TI,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = MI(t);
- r ? e(`已完成 ${UL(n)} 项,${UL(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = PI(t);
+ r ? e(`已完成 ${GL(n)} 项,${GL(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = EL({
- queryKey: CI,
- queryFn: ({ signal: e }) => TI(e),
- start: Axe,
+ }), n = OL({
+ queryKey: TI,
+ queryFn: ({ signal: e }) => DI(e),
+ start: Oxe,
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 ls({
- title: VL,
- body: Lxe(e),
- confirmLabel: VL,
+ title: UL,
+ body: Fxe(e),
+ confirmLabel: UL,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), l = t.outcome, u = (e) => {
- let t = MI(e).left > 0;
+ let t = PI(e).left > 0;
return /* @__PURE__ */ (0, x.jsx)(K, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: zxe(e, Xt)
+ children: Lxe(e, Xt)
});
}, d = null, f = null;
if (l?.status === "failed") f = /* @__PURE__ */ (0, x.jsx)(K, {
@@ -50346,7 +50346,7 @@ function cCe({ toast: e }) {
children: l.error || "请查看任务记录,核对已处理的文件。"
});
else if (l) f = u(l);
- else if (t.running) d = /* @__PURE__ */ (0, x.jsx)(yL, {
+ else if (t.running) d = /* @__PURE__ */ (0, x.jsx)(xL, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -50358,11 +50358,11 @@ function cCe({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "任务状态",
- children: oCe
+ children: iCe
});
else if (r?.status === "running") {
- let e = Fxe(r);
- d = /* @__PURE__ */ (0, x.jsx)(yL, {
+ let e = Nxe(r);
+ d = /* @__PURE__ */ (0, x.jsx)(xL, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -50379,13 +50379,13 @@ function cCe({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = Nxe(r);
+ let e = jxe(r);
f = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(sCe, { scan: r }),
+ /* @__PURE__ */ (0, x.jsx)(aCe, { scan: r }),
e ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "清理内容",
- children: Ixe(r)
+ children: Pxe(r)
}) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -50393,7 +50393,7 @@ function cCe({ toast: e }) {
variant: "danger",
...q(a),
onClick: () => c(r),
- children: a ? "正在复核并清理…" : VL
+ children: a ? "正在复核并清理…" : UL
}) : /* @__PURE__ */ (0, x.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -50410,16 +50410,16 @@ function cCe({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(fL, {
+ /* @__PURE__ */ (0, x.jsx)(mL, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, x.jsxs)(mL, {
+ /* @__PURE__ */ (0, x.jsxs)(gL, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, x.jsx)(G, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? aCe : iCe,
+ leadingIcon: o && !i ? rCe : nCe,
...q(i),
onClick: () => {
i || n.start.mutate();
@@ -50427,7 +50427,7 @@ function cCe({ toast: e }) {
children: s
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(pL, {
+ /* @__PURE__ */ (0, x.jsx)(hL, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -50453,16 +50453,16 @@ function cCe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function WL(e, t) {
+function KL(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function GL({ section: e, label: t, icon: n, value: r, open: i }) {
+function qL({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
- className: UI({ interactive: !0 }),
+ className: GI({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, x.jsx)(WI, {
+ children: /* @__PURE__ */ (0, x.jsx)(KI, {
label: t,
icon: n,
figure: r.figure,
@@ -50470,80 +50470,80 @@ function GL({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var lCe = FN("square-check-big"), uCe = FN("sparkles"), dCe = FN("file-stack"), fCe = FN("file-archive"), pCe = FN("trash"), mCe = [
- NI,
- IF,
- gF
-], hCe = () => {
- for (let e of mCe) U.invalidateQueries({
+var sCe = LN("square-check-big"), cCe = LN("sparkles"), lCe = LN("file-stack"), uCe = LN("file-archive"), dCe = LN("trash"), fCe = [
+ FI,
+ RF,
+ vF
+], pCe = () => {
+ for (let e of fCe) U.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function gCe({ toast: e, failure: t, open: n }) {
+function mCe({ toast: e, failure: t, open: n }) {
let r = ut({
- queryKey: NI,
- queryFn: ({ signal: e }) => LI(e)
+ queryKey: FI,
+ queryFn: ({ signal: e }) => zI(e)
}), i = ut({
- queryKey: IF,
- queryFn: ({ signal: e }) => LF(e)
+ queryKey: RF,
+ queryFn: ({ signal: e }) => zF(e)
}), a = ut({
- queryKey: gF,
- queryFn: ({ signal: e }) => vF(e)
+ queryKey: vF,
+ queryFn: ({ signal: e }) => bF(e)
}), o = ut({
- queryKey: PI,
- queryFn: ({ signal: e }) => RI(e)
- }), s = ut({
queryKey: II,
- queryFn: ({ signal: e }) => zI(e)
+ queryFn: ({ signal: e }) => BI(e)
+ }), s = ut({
+ queryKey: RI,
+ queryFn: ({ signal: e }) => VI(e)
}), c = ut({
queryKey: vn,
queryFn: ({ signal: e }) => yn(e)
}), l = (t) => e(t);
- return /* @__PURE__ */ (0, x.jsxs)(Yk, { children: [
+ return /* @__PURE__ */ (0, x.jsxs)(Zk, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: Xxe,
+ className: Jxe,
children: [
- /* @__PURE__ */ (0, x.jsx)(GL, {
+ /* @__PURE__ */ (0, x.jsx)(qL, {
section: "review",
label: "人工复核",
- icon: lCe,
+ icon: sCe,
open: n,
- value: WL(r, Uxe)
+ value: KL(r, Vxe)
}),
- /* @__PURE__ */ (0, x.jsx)(GL, {
+ /* @__PURE__ */ (0, x.jsx)(qL, {
section: "quality",
label: "高清版",
- icon: uCe,
+ icon: cCe,
open: n,
- value: WL(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: KL(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, x.jsx)(GL, {
+ /* @__PURE__ */ (0, x.jsx)(qL, {
section: "duplicates",
label: "重复文件",
- icon: dCe,
+ icon: lCe,
open: n,
- value: WL(a, (e) => Number(e.total || 0) ? {
+ value: KL(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${Xt(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, x.jsx)(GL, {
+ /* @__PURE__ */ (0, x.jsx)(qL, {
section: "ads",
label: "垃圾文件",
- icon: fCe,
+ icon: uCe,
open: n,
- value: WL(o, (e) => ({
+ value: KL(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: Wxe(e)
+ meta: Hxe(e)
}))
}),
- /* @__PURE__ */ (0, x.jsx)(GL, {
+ /* @__PURE__ */ (0, x.jsx)(qL, {
section: "trash",
label: "回收站",
- icon: pCe,
+ icon: dCe,
open: n,
- value: WL(s, (e) => ({
+ value: KL(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${Xt(e.bytes || 0)}` : ""
}))
@@ -50556,31 +50556,31 @@ function gCe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, x.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, x.jsx)(xL, {
+ children: /* @__PURE__ */ (0, x.jsx)(CL, {
toast: l,
monitor: !0,
- onComplete: hCe
+ onComplete: pCe
})
}),
/* @__PURE__ */ (0, x.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, x.jsx)(FSe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(NSe, {})
}),
- /* @__PURE__ */ (0, x.jsx)(KSe, {
+ /* @__PURE__ */ (0, x.jsx)(WSe, {
toast: l,
failure: t
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(VSe, {}),
- /* @__PURE__ */ (0, x.jsx)(rCe, { toast: l }),
- DI(c.data) ? /* @__PURE__ */ (0, x.jsx)(cCe, { toast: e }) : null
+ /* @__PURE__ */ (0, x.jsx)(zSe, {}),
+ /* @__PURE__ */ (0, x.jsx)(tCe, { toast: l }),
+ kI(c.data) ? /* @__PURE__ */ (0, x.jsx)(oCe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var KL = (e) => ["feed-new", e ?? "home"], _Ce = 8, vCe = 1500;
-function yCe(e, t, n) {
+var JL = (e) => ["feed-new", e ?? "home"], hCe = 8, gCe = 1500;
+function _Ce(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -50591,32 +50591,32 @@ function yCe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function bCe(e, t, n) {
+async function vCe(e, t, n) {
let r = new URLSearchParams({ limit: "12" });
e && r.set("entity", String(e));
let i = await Et(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await yCe(s, _Ce, vCe), {
+ return n && o.length && await _Ce(s, hCe, gCe), {
items: o,
html: s
};
}
-var qL = (e, t, n = !1) => ({
- queryKey: KL(e),
- queryFn: () => bCe(e, t, n),
+var YL = (e, t, n = !1) => ({
+ queryKey: JL(e),
+ queryFn: () => vCe(e, t, n),
staleTime: Infinity
-}), JL = (e, t) => Et("/api/feeds/discovery", {
+}), XL = (e, t) => Et("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function xCe(e) {
- U.removeQueries({ queryKey: KL(null) }), await U.fetchQuery(qL(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function yCe(e) {
+ U.removeQueries({ queryKey: JL(null) }), await U.fetchQuery(YL(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var YL = [
+var ZL = [
"loc",
"creator",
"tag",
@@ -50626,51 +50626,51 @@ var YL = [
"orient",
"sort",
"dir"
-], XL = {
+], QL = {
media: "videos",
set: 0
-}, ZL = (e, t) => [
+}, $L = (e, t) => [
"entity",
e,
t
-], SCe = (e, t, n, r) => [
+], bCe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], QL = (e, t, n, r) => [
+], eR = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], $L = (e) => String(e || "").split(",").filter(Boolean), CCe = (e, t) => $L(e).includes(t);
-function eR(e, t, n, r, i = 0) {
+], tR = (e) => String(e || "").split(",").filter(Boolean), xCe = (e, t) => tR(e).includes(t);
+function nR(e, t, n, r, i = 0) {
let a = new URLSearchParams();
- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...$L(n.tag)])].join(",")), a.set("tag_match", "all")), 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 YL) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...tR(n.tag)])].join(",")), a.set("tag_match", "all")), 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 ZL) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function tR(e, t, n, r, i, a) {
- return await Et(`/api/items?${eR(e, t, n, r, i)}`, a ? { signal: a } : {});
+async function rR(e, t, n, r, i, a) {
+ return await Et(`/api/items?${nR(e, t, n, r, i)}`, a ? { signal: a } : {});
}
-var nR = (e) => {
+var iR = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = eR(e.kind, e.name, e.filters, t).toString();
+ }, n = nR(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: SCe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => tR(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: bCe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => rR(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, rR = (e, t) => ({
- queryKey: ZL(e, t),
+}, aR = (e, t) => ({
+ queryKey: $L(e, t),
queryFn: ({ signal: n }) => Et(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function wCe(e, t, n, r, i, a) {
+function SCe(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)}` : ""}`;
@@ -50679,10 +50679,10 @@ function wCe(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 iR = (e, t, n, r) => ({
- queryKey: QL(e, t, n, r),
+var oR = (e, t, n, r) => ({
+ queryKey: eR(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await Et(wCe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await Et(SCe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -50695,8 +50695,8 @@ var iR = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), aR = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function TCe(e) {
+}), sR = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function CCe(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -50707,26 +50707,26 @@ async function TCe(e) {
t,
n
] });
- e.resolvedEntity?.id && U.setQueryData(ZL(t, n), e.resolvedEntity), await Promise.all([
- U.fetchQuery(rR(t, n)).then((t) => !t || t.error || !t.id ? null : (U.removeQueries({ queryKey: KL(Number(t.id)) }), U.fetchQuery(qL(Number(t.id), e.helpers.feedRowHtml, !0)))),
- U.fetchQuery(nR(e)),
- U.fetchInfiniteQuery(iR(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? U.fetchInfiniteQuery(iR(t, n, e.media.set, "")) : null
+ e.resolvedEntity?.id && U.setQueryData($L(t, n), e.resolvedEntity), await Promise.all([
+ U.fetchQuery(aR(t, n)).then((t) => !t || t.error || !t.id ? null : (U.removeQueries({ queryKey: JL(Number(t.id)) }), U.fetchQuery(YL(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ U.fetchQuery(iR(e)),
+ U.fetchInfiniteQuery(oR(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? U.fetchInfiniteQuery(oR(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/identity-filter.ts
-var oR = [
+var cR = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], sR = "mb-4 flex flex-wrap gap-2";
-function ECe(e) {
- let t = oR.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${sR}">${oR.map(([e, n]) => $I({
+], lR = "mb-4 flex flex-wrap gap-2";
+function wCe(e) {
+ let t = cR.some(([t]) => t === e) ? e : "all";
+ return `<div class="peach-react"><div aria-label="身份分类" class="${lR}">${cR.map(([e, n]) => tL({
variant: e === t ? "primary" : "secondary",
size: "small",
label: n,
@@ -50735,43 +50735,43 @@ function ECe(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var DCe = "/api/follow/authors", OCe = "/api/follow/tags", kCe = (e) => [
+var TCe = "/api/follow/authors", ECe = "/api/follow/tags", DCe = (e) => [
"follow",
"authors",
e
-], ACe = (e, t) => [
+], OCe = (e, t) => [
"follow",
"tags",
e,
t
];
-function jCe(e, t, n) {
+function kCe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${DCe}?${r}`;
+ return e && r.set("q", e), `${TCe}?${r}`;
}
-function MCe(e, t, n, r) {
+function ACe(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), `${OCe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${ECe}?${i}`;
}
-var NCe = (e, t, n, r) => V(jCe(e, t, n), r), PCe = (e, t, n, r, i) => V(MCe(e, t, n, r), i), FCe = "/api/index", cR = {
+var jCe = (e, t, n, r) => V(kCe(e, t, n), r), MCe = (e, t, n, r, i) => V(ACe(e, t, n, r), i), NCe = "/api/index", uR = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, ICe = {
+}, PCe = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, lR = [
+}, dR = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -50781,31 +50781,31 @@ var NCe = (e, t, n, r) => V(jCe(e, t, n), r), PCe = (e, t, n, r, i) => V(MCe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], uR = [
+], fR = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], dR = {
+], pR = {
people: 120,
tags: 180
-}, fR = (e) => e !== "tags", pR = (e) => e === "studios" || e === "agencies";
-function mR(e) {
- if (e.kind === "creators" && e.category === "animation") return mR({
+}, mR = (e) => e !== "tags", hR = (e) => e === "studios" || e === "agencies";
+function gR(e) {
+ if (e.kind === "creators" && e.category === "animation") return gR({
...e,
kind: "performers",
scope: "local"
});
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? uR : lR : e.kind === "performers" && t === "local" ? oR : []).some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? fR : dR : e.kind === "performers" && t === "local" ? cR : []).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: n ? e.category : "all"
};
}
-function hR(e) {
+function _R(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -50825,50 +50825,50 @@ function hR(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var gR = (e, t, n = "all") => [
+var vR = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function _R(e, t, n, r, i) {
+function yR(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), `${FCe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${NCe}?${a}`;
}
-function vR(e) {
- let t = e.what === "people" || e.what === "online-authors" ? dR.people : dR.tags, n = {
+function bR(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? pR.people : pR.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: gR(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: n, signal: r }) => V(_R(e.kind, e.q, e.category || "all", t, n), r)
+ queryKey: vR(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: n, signal: r }) => V(yR(e.kind, e.q, e.category || "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: gR("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => V(_R("tags", e.q, e.category, t, n), r)
+ queryKey: vR("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => V(yR("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: kCe(e.q),
- queryFn: ({ pageParam: n, signal: r }) => NCe(e.q, t, n, r)
+ queryKey: DCe(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => jCe(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: ACe(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => PCe(e.q, e.category, t, n, r)
+ queryKey: OCe(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => MCe(e.q, e.category, t, n, r)
};
}
}
-async function LCe(e, t) {
- let n = vR(hR(mR(e)));
+async function FCe(e, t) {
+ let n = bR(_R(gR(e)));
U.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -50882,13 +50882,13 @@ async function LCe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var RCe = (e) => e ? e.pages.flatMap((e) => e.items) : [], zCe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, yR = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", BCe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, VCe = {
+var ICe = (e) => e ? e.pages.flatMap((e) => e.items) : [], LCe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, xR = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", RCe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, zCe = {
numeric: !0,
sensitivity: "base"
};
-function HCe(e, t) {
+function BCe(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", VCe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", zCe))) {
let e = $t(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]);
}
@@ -50896,7 +50896,7 @@ function HCe(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function bR({ html: e, face: t, company: n, big: r }) {
+function SR({ 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");
@@ -50908,18 +50908,18 @@ function bR({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var UCe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", WCe = FN("rss");
-function xR({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+var VCe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", HCe = LN("rss");
+function CR({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
...o,
"data-index-cell": "",
onClick: a,
- className: Kk({
+ className: Jk({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${UCe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${VCe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -50928,10 +50928,10 @@ function xR({ name: e, readout: t, big: n, children: r, following: i, onPress: a
role: "img",
"aria-label": "已订阅新作",
className: "absolute top-4 right-4 z-2 inline-flex",
- children: /* @__PURE__ */ (0, x.jsx)(Uk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: "blue",
- children: /* @__PURE__ */ (0, x.jsx)(WCe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(HCe, {})
})
}) : null,
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -50947,24 +50947,24 @@ function xR({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function SR({ kind: e, items: t, layout: n, props: r }) {
- let i = pR(e), a = n === "big";
+function wR({ kind: e, items: t, layout: n, props: r }) {
+ let i = hR(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 || ICe[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, x.jsx)(xR, {
+ let n = t.entity_kind || PCe[e], o = r.personAvatar(t, n, a);
+ return /* @__PURE__ */ (0, x.jsx)(CR, {
"data-k": t.k,
"data-kind": n,
name: t.k,
- readout: `${BCe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${RCe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
- children: /* @__PURE__ */ (0, x.jsx)(bR, {
+ children: /* @__PURE__ */ (0, x.jsx)(SR, {
html: o.html,
face: o.face,
company: i,
@@ -50974,14 +50974,14 @@ function SR({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function GCe({ items: e, layout: t, props: n }) {
+function UCe({ 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)(xR, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(CR, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
@@ -50990,7 +50990,7 @@ function GCe({ 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)(bR, {
+ children: /* @__PURE__ */ (0, x.jsx)(SR, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -51000,24 +51000,24 @@ function GCe({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function CR(e) {
+function TR(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 wR = /* @__PURE__ */ new WeakSet();
-function KCe() {
- if (wR.has(document)) return;
- wR.add(document);
+var ER = /* @__PURE__ */ new WeakSet();
+function WCe() {
+ if (ER.has(document)) return;
+ ER.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(CR), JCe(e), qCe(e);
+ e.querySelectorAll("input[type=range]").forEach(TR), KCe(e), GCe(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]") && CR(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && TR(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && CR(e.target);
+ e.target instanceof HTMLInputElement && e.target.type === "range" && TR(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);
@@ -51042,7 +51042,7 @@ function KCe() {
n.matches(":focus-visible") && r.bottom > 0 && r.top < innerHeight ? t.matches(":popover-open") && o(n) : s();
}, !0), window.addEventListener("resize", s);
}
-function qCe(e) {
+function GCe(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;
@@ -51066,15 +51066,15 @@ function qCe(e) {
r.observe(e);
});
}
-var TR = /* @__PURE__ */ new Map();
-function JCe(e) {
+var DR = /* @__PURE__ */ new Map();
+function KCe(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 = TR.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = DR.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -51083,7 +51083,7 @@ function JCe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- Ko(t, r, a, "x"), r = a, TR.set(n, a);
+ Ko(t, r, a, "x"), r = a, DR.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -51100,8 +51100,8 @@ function JCe(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var ER = "/vendor/swiper/14.3.0/", DR = null, YCe = () => DR ??= Promise.all([new Promise((e, t) => {
- let n = `${ER}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var OR = "/vendor/swiper/14.3.0/", kR = null, qCe = () => kR ??= Promise.all([new Promise((e, t) => {
+ let n = `${OR}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -51115,11 +51115,11 @@ var ER = "/vendor/swiper/14.3.0/", DR = null, YCe = () => DR ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${ER}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${OR}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 DR = null, e;
+ throw kR = null, e;
});
-function XCe(e, t, n) {
+function JCe(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);
@@ -51140,47 +51140,47 @@ function XCe(e, t, n) {
}
};
}
-var OR = (e) => {
+var AR = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Xt(t)).replace(" ", "\xA0") : "大小未知";
-}, ZCe = (e) => e.asset?.name || e.name || "未命名图片";
-function QCe(e, t) {
+}, YCe = (e) => e.asset?.name || e.name || "未命名图片";
+function XCe(e, t) {
let n = e.asset;
- if (n) return [tn[n.location ?? ""] || n.location || "来源未知", OR(n.size)].join(" · ");
+ if (n) return [tn[n.location ?? ""] || n.location || "来源未知", AR(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
- e.size ? OR(e.size) : ""
+ e.size ? AR(e.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var kR = null, AR = null, $Ce = 0;
-function ewe() {
- return (!AR || !kR?.isConnected) && (AR?.unmount(), kR = document.createElement("div"), kR.className = "peach-react", kR.dataset.photoLightboxHost = "", document.body.append(kR), AR = (0, mt.createRoot)(kR)), AR;
+var jR = null, MR = null, ZCe = 0;
+function QCe() {
+ return (!MR || !jR?.isConnected) && (MR?.unmount(), jR = document.createElement("div"), jR.className = "peach-react", jR.dataset.photoLightboxHost = "", document.body.append(jR), MR = (0, mt.createRoot)(jR)), MR;
}
-async function jR(e, t, n) {
+async function NR(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await YCe();
+ r = await qCe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = ewe();
- (0, pt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)(twe, {
+ let i = QCe();
+ (0, pt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)($Ce, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++$Ce)));
+ }, ++ZCe)));
}
-function MR() {
- AR && (0, pt.flushSync)(() => AR.render(null));
+function PR() {
+ MR && (0, pt.flushSync)(() => MR.render(null));
}
-function twe({ slides: e, index: t, Swiper: n, host: r }) {
+function $Ce({ 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: ""
@@ -51223,7 +51223,7 @@ function twe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = XCe(e, a, S);
+ i(t, 0), h.current = JCe(e, a, S);
let m = is(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();
};
@@ -51240,13 +51240,13 @@ function twe({ 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) : MR());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : PR());
};
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 && CR(m.current);
+ m.current && TR(m.current);
}, [y]);
let N = e[_], P = N.asset ?? null, ee = async (e) => {
if (!P || !r || e.getAttribute("aria-busy") === "true") return;
@@ -51277,18 +51277,18 @@ function twe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), MR();
+ e.preventDefault(), PR();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && MR();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && PR();
},
children: [
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: MR,
+ onClick: PR,
dangerouslySetInnerHTML: { __html: R("x") }
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -51424,10 +51424,10 @@ function twe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: ZCe(N)
+ children: YCe(N)
}, _), /* @__PURE__ */ (0, x.jsx)("span", {
"data-photo-detail-meta": "",
- children: QCe(N, C[_])
+ children: XCe(N, C[_])
})]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -51466,40 +51466,40 @@ function twe({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function nwe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(rwe, {
+function ewe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(twe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(iwe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(swe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(nwe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(awe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-var NR = dR.people;
-function rwe({ roster: e, props: t }) {
+var FR = pR.people;
+function twe({ 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)(NR), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {
- o((e) => e + NR);
+ }), [n, r]), [a, o] = (0, b.useState)(FR), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {
+ o((e) => e + FR);
}, []);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(SR, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(wR, {
kind: e.kind,
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(pF, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(hF, {
entity: !0,
load: c,
enabled: () => !0
}, a) : null] });
}
-function iwe(e) {
- let t = DP(!e.items, e.skeletonHtml);
+function nwe(e) {
+ let t = kP(!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)(fF, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, x.jsx)(mF, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -51518,33 +51518,33 @@ function iwe(e) {
}) : null]
});
}
-var awe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var rwe = (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 || "官方样张"
-})), PR = (e) => e.sample === !0, FR = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, IR = (e) => PR(e) ? `/sample-thumb?${FR(e)}` : `/photo-thumb?id=${e.id}`, owe = (e) => PR(e) ? {
- src: `/sample-image?${FR(e)}`,
- thumb: IR(e),
+})), IR = (e) => e.sample === !0, LR = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, RR = (e) => IR(e) ? `/sample-thumb?${LR(e)}` : `/photo-thumb?id=${e.id}`, iwe = (e) => IR(e) ? {
+ src: `/sample-image?${LR(e)}`,
+ thumb: RR(e),
name: e.name,
asset: null,
source: e.source
} : {
src: `/photo?id=${e.id}`,
- thumb: IR(e),
+ thumb: RR(e),
name: e.name || "",
asset: e
};
-function swe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(awe), ...e.items], [e]), [s, c] = (0, b.useState)(() => /* @__PURE__ */ new Set()), l = (0, b.useCallback)((e) => c((t) => {
+function awe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(rwe), ...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) => {
- jR(e, o.map(owe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(cwe, {
+ NR(e, o.map(iwe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(owe, {
item: e,
index: t,
lost: s.has(t),
@@ -51562,7 +51562,7 @@ function swe({ 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)(LR, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(zR, {
label: e.code,
title: e.name,
meta: [
@@ -51574,7 +51574,7 @@ function swe({ 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)(LR, {
+ m.length && e.total ? /* @__PURE__ */ (0, x.jsx)(zR, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -51583,14 +51583,14 @@ function swe({ 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)(pF, {
+ e.hasMore ? /* @__PURE__ */ (0, x.jsx)(hF, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function LR({ label: e, title: t, meta: n }) {
+function zR({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -51607,7 +51607,7 @@ function LR({ label: e, title: t, meta: n }) {
]
});
}
-function cwe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function owe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -51616,7 +51616,7 @@ function cwe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, x.jsx)("img", {
- src: IR(e),
+ src: RR(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -51627,8 +51627,8 @@ function cwe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var lwe = (e) => Number(e) > 0;
-function RR({ name: e, actions: t, children: n, ...r }) {
+var swe = (e) => Number(e) > 0;
+function BR({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, x.jsx)("a", {
...r,
href: Ft("creator", e),
@@ -51638,15 +51638,15 @@ function RR({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var zR = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var VR = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: iP(e) }
+ dangerouslySetInnerHTML: { __html: oP(e) }
});
-function uwe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
+function cwe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
let [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(!1), [d, f] = (0, b.useState)(null);
return (0, b.useEffect)(() => {
c(!1);
- }, [o]), s ? /* @__PURE__ */ (0, x.jsx)(zR, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {
+ }, [o]), s ? /* @__PURE__ */ (0, x.jsx)(VR, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {
src: l ? t : e,
alt: "",
loading: "lazy",
@@ -51665,8 +51665,8 @@ function uwe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function dwe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = li(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) => oye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? di(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = pi({
+function lwe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = li(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) => iye(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? di(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = pi({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -51674,7 +51674,7 @@ function dwe(e) {
limit: 9
}), w = (0, b.useRef)(C.faces);
w.current = C.faces;
- let T = zP({
+ let T = VP({
load: async () => w.current,
canFlip: () => w.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -51682,7 +51682,7 @@ function dwe(e) {
E.current = T.onPointerLeave;
let D = (0, b.useCallback)((e) => {
e && (e._stopHover = () => E.current());
- }, []), O = lP(u, n, i), k = aP(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = fP(u, i), N = dP(t, u), P = u.status === "saved", ee = (e) => {
+ }, []), O = dP(u, n, i), k = sP(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = mP(u, i), N = pP(t, u), P = u.status === "saved", ee = (e) => {
e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));
}, F = (e, t) => {
e.stopPropagation(), t();
@@ -51697,7 +51697,7 @@ function dwe(e) {
"data-collection": C.isMix ? "" : void 0,
"data-selected": a ? "" : void 0,
onClick: ee,
- onMouseDown: jP,
+ onMouseDown: NP,
onMouseEnter: T.onPointerEnter,
onMouseLeave: T.onPointerLeave,
children: [
@@ -51711,7 +51711,7 @@ function dwe(e) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, x.jsx)(uwe, {
+ p ? /* @__PURE__ */ (0, x.jsx)(cwe, {
src: p,
fallback: m,
width: _?.width,
@@ -51719,7 +51719,7 @@ function dwe(e) {
provider: A,
onLearn: v,
retryKey: e.retryKey
- }, p) : /* @__PURE__ */ (0, x.jsx)(zR, { provider: A }),
+ }, p) : /* @__PURE__ */ (0, x.jsx)(VR, { provider: A }),
C.faces.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-mix-faces": "",
hidden: !T.faces.length,
@@ -51739,7 +51739,7 @@ function dwe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: iP(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: oP(u.provider, u.provider_label) }
}), N ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: N }
@@ -51752,7 +51752,7 @@ function dwe(e) {
},
dangerouslySetInnerHTML: { __html: R("check") }
}) : null,
- lwe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ swe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-duration": "",
children: Jt(u.duration)
}) : null,
@@ -51824,7 +51824,7 @@ function dwe(e) {
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-meta": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, x.jsx)(RR, {
+ O.entityName ? /* @__PURE__ */ (0, x.jsx)(BR, {
name: O.entityName,
actions: l,
"data-media-avatar": "",
@@ -51843,12 +51843,12 @@ function dwe(e) {
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: uP(t, u) + z(k) }
+ dangerouslySetInnerHTML: { __html: fP(t, u) + z(k) }
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-byline": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, x.jsx)(RR, {
+ O.entityName ? /* @__PURE__ */ (0, x.jsx)(BR, {
name: O.entityName,
actions: l,
"data-follow-author": "",
@@ -51861,8 +51861,8 @@ function dwe(e) {
}),
/* @__PURE__ */ (0, x.jsx)("time", {
dateTime: u.published_at || "",
- title: mP(u),
- children: aye(u)
+ title: gP(u),
+ children: rye(u)
}),
O.credited ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-credit": "",
@@ -51897,10 +51897,10 @@ function dwe(e) {
]
});
}
-var BR = (0, b.memo)(dwe);
+var HR = (0, b.memo)(lwe);
//#endregion
//#region src/react/components/use-masonry-grid.ts
-function fwe(e, t) {
+function uwe(e, t) {
let n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
let t = n.current;
@@ -51936,10 +51936,10 @@ function fwe(e, t) {
}
//#endregion
//#region src/react/follow-feed/follow-feed-page.tsx
-var VR = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var UR = () => /* @__PURE__ */ (0, x.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), pwe = FN("settings"), HR = FN("chevron-down"), mwe = FN("history"), hwe = [[
+}), dwe = LN("settings"), WR = LN("chevron-down"), fwe = LN("history"), pwe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -51948,7 +51948,7 @@ var VR = () => /* @__PURE__ */ (0, x.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function gwe(e, t, n) {
+function mwe(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) => {
@@ -51996,7 +51996,7 @@ function gwe(e, t, n) {
n
]);
}
-function _we(e) {
+function hwe(e) {
let { view: t, seed: n, revision: r, actions: i } = e, a = Xr(t, r), o = ft(a), s = ut({
queryKey: Zr,
queryFn: ({ signal: e }) => Qr(e)
@@ -52004,7 +52004,7 @@ function _we(e) {
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = gwe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({
+ }), [c, l]), d = mwe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({
tags: sc(d.visible.flatMap(ni).map((e) => ({ tags: e.tags || [] }))),
providers: [...d.providers].map(([e, t]) => [
e,
@@ -52030,10 +52030,10 @@ function _we(e) {
m,
i
]);
- let h = ywe(e, !!c);
+ let h = _we(e, !!c);
if (!c) return o.isError ? /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, x.jsx)(UR, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(OP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(GR, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(AP, {
message: Tt(o.error),
onRetry: () => void o.refetch()
})]
@@ -52046,7 +52046,7 @@ function _we(e) {
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, oP(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, cP(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);
@@ -52064,7 +52064,7 @@ function _we(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(UR, {
+ /* @__PURE__ */ (0, x.jsx)(GR, {
onManage: i.openManage,
children: d.sources.length ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
@@ -52078,20 +52078,20 @@ function _we(e) {
}) : "检查更新"
}) : null
}),
- /* @__PURE__ */ (0, x.jsx)(bwe, {
+ /* @__PURE__ */ (0, x.jsx)(vwe, {
facets: d,
pressed: d.author,
context: u,
props: e,
onPick: (e) => g({ author: d.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, x.jsx)(xwe, {
+ /* @__PURE__ */ (0, x.jsx)(ywe, {
rows: d.workRows,
pressed: t.work,
props: e,
onPick: (e) => g({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, x.jsx)(Swe, {
+ /* @__PURE__ */ (0, x.jsx)(bwe, {
facets: d,
view: t,
total: v,
@@ -52099,7 +52099,7 @@ function _we(e) {
props: e,
route: g
}),
- /* @__PURE__ */ (0, x.jsx)(Cwe, {
+ /* @__PURE__ */ (0, x.jsx)(xwe, {
conditions: _,
onDrop: (e) => i.route(vi(t, e)),
onClear: () => g({
@@ -52111,11 +52111,11 @@ function _we(e) {
durMax: 0
})
}),
- d.broken.length ? /* @__PURE__ */ (0, x.jsx)(wwe, {
+ d.broken.length ? /* @__PURE__ */ (0, x.jsx)(Swe, {
count: d.broken.length,
onManage: i.openManage
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Twe, {
+ /* @__PURE__ */ (0, x.jsx)(Cwe, {
retryKey: o.dataUpdatedAt,
pending: f,
facets: d,
@@ -52127,14 +52127,14 @@ function _we(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)(pF, {
+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, x.jsxs)(hF, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
await o.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, x.jsx)(HR, { className: "size-3.5" }), "加载更多"]
- }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(vwe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(WR, { className: "size-3.5" }), "加载更多"]
+ }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(gwe, {
busy: o.isFetchingNextPage,
error: o.isFetchNextPageError ? Tt(o.error) : "",
load: () => {
@@ -52145,7 +52145,7 @@ function _we(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- leadingIcon: h.olderBusy ? void 0 : mwe,
+ leadingIcon: h.olderBusy ? void 0 : fwe,
"data-follow-older": "",
"aria-busy": h.busy || void 0,
onClick: () => void h.start(!0),
@@ -52163,7 +52163,7 @@ function _we(e) {
})
] });
}
-function UR({ onManage: e, children: t }) {
+function GR({ onManage: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
@@ -52173,7 +52173,7 @@ function UR({ onManage: e, children: t }) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- leadingIcon: pwe,
+ leadingIcon: dwe,
"data-follow-manage": "",
onClick: e,
children: "管理关注"
@@ -52181,20 +52181,20 @@ function UR({ onManage: e, children: t }) {
})]
});
}
-function vwe({ busy: e, error: t, load: n }) {
+function gwe({ 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)(HR, { className: "size-3.5" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, x.jsx)(OP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(WR, { className: "size-3.5" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, x.jsx)(AP, {
message: t,
onRetry: n
}) : null] });
}
-function ywe(e, t) {
+function _we(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, b.useState)(0), [o, s] = (0, b.useState)(!1), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(!1), m = (0, b.useRef)(!1), h = (0, b.useRef)(null), g = (0, b.useRef)({
helpers: n,
actions: r
@@ -52256,12 +52256,12 @@ function ywe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function bwe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function vwe({ 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) => oP(e.authorSources.get(t) || [], n);
+ let o = (t) => cP(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, x.jsx)("div", {
@@ -52269,14 +52269,14 @@ function bwe({ 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 = sP(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = lP(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: cP(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: uP(a, o(n)) }
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, x.jsx)(RR, {
+ return s ? /* @__PURE__ */ (0, x.jsx)(BR, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -52293,7 +52293,7 @@ function bwe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function xwe({ rows: e, pressed: t, props: n, onPick: r }) {
+function ywe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -52314,13 +52314,13 @@ function xwe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function Swe({ 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 = UA(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = UA(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function bwe({ 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 = GA(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = GA(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)(RA, {
+ return /* @__PURE__ */ (0, x.jsx)(BA, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -52372,7 +52372,7 @@ function Swe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: R(i) }
}, e);
})
- }), /* @__PURE__ */ (0, x.jsx)(VR, {})] }) : null, /* @__PURE__ */ (0, x.jsxs)("div", {
+ }), /* @__PURE__ */ (0, x.jsx)(UR, {})] }) : null, /* @__PURE__ */ (0, x.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -52392,7 +52392,7 @@ function Swe({ 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)(VR, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, x.jsx)(UR, {}) : null]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -52405,10 +52405,10 @@ function Swe({ 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: iP(t, n) }
+ dangerouslySetInnerHTML: { __html: oP(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(VR, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(zA, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(UR, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(VA, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${yi(e.groups, n)}`,
@@ -52428,18 +52428,18 @@ function Swe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"data-follow-readout": "",
children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`
}),
- /* @__PURE__ */ (0, x.jsx)(qN, {
+ /* @__PURE__ */ (0, x.jsx)(YN, {
currentHref: () => location.pathname + location.search,
kind: "creator"
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(SP, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(xP, {
+ /* @__PURE__ */ (0, x.jsx)(wP, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(CP, {
label: "图片布局",
value: i.photoLayout,
- options: hwe,
+ options: pwe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
@@ -52457,7 +52457,7 @@ function Swe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})]
})] }) : null,
Gr.map(([e, n]) => {
- let r = t.sort === e, i = FN(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ let r = t.sort === e, i = LN(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-sort": e,
@@ -52477,7 +52477,7 @@ function Swe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
] })
});
}
-function Cwe({ conditions: e, onDrop: t, onClear: n }) {
+function xwe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -52502,7 +52502,7 @@ function Cwe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function wwe({ count: e, onManage: t }) {
+function Swe({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -52511,12 +52511,12 @@ function wwe({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function Twe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a }) {
- let { view: o, helpers: s } = i, c = o.media === "images", l = DP(e, () => s.listSkeletonHtml(o.media));
+function Cwe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a }) {
+ let { view: o, helpers: s } = i, c = o.media === "images", l = kP(e, () => s.listSkeletonHtml(o.media));
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": l.fading ? "" : void 0,
- children: [l.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(Ewe, {
+ children: [l.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(wwe, {
facets: t,
data: n,
context: r,
@@ -52526,29 +52526,29 @@ function Twe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
})]
});
}
-function Ewe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a }) {
- let { view: o, actions: s } = r, c = GR(r), l = i ? {
+function wwe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a }) {
+ let { view: o, actions: s } = r, c = qR(r), l = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
- } : {}, u = fwe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), d;
+ } : {}, u = uwe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), d;
return d = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), l = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
- return /* @__PURE__ */ (0, x.jsx)(BR, {
+ return /* @__PURE__ */ (0, x.jsx)(HR, {
group: t,
authorSources: l,
media: o.media,
retryKey: a,
context: n,
- selected: r.selected.has(WR(t, o)),
+ selected: r.selected.has(KR(t, o)),
selectMode: r.selectMode,
- busy: c.busy.get(WR(t, o)) || "",
- failure: c.failures.get(WR(t, o)) || "",
+ busy: c.busy.get(KR(t, o)) || "",
+ failure: c.failures.get(KR(t, o)) || "",
actions: s,
onStatus: c.status,
onSave: c.save
}, `${u}:${o.media}`);
- }) : /* @__PURE__ */ (0, x.jsx)(Dwe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Twe, {
data: t,
filtered: !!(o.status || e.author || e.provider || o.work || o.tags.length)
}), /* @__PURE__ */ (0, x.jsx)("div", {
@@ -52559,10 +52559,10 @@ function Ewe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a
children: d
});
}
-function WR(e, t) {
+function KR(e, t) {
return li(e, t.media).id;
}
-function Dwe({ data: e, filtered: t }) {
+function Twe({ data: e, filtered: t }) {
let n = (e.groups || []).length ? ro("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源、时长或标签后再试。") : (e.sources || []).length ? t ? ro("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : ro("rss", "还没有更新", "点「检查更新」去各个来源取一遍;来源有新内容时会集中显示在这里。") : ro("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/subscriptions?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-empty": "",
@@ -52570,12 +52570,12 @@ function Dwe({ data: e, filtered: t }) {
dangerouslySetInnerHTML: { __html: n }
});
}
-var Owe = {
+var Ewe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function GR(e) {
+function qR(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 = Xr(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
@@ -52598,7 +52598,7 @@ function GR(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(Owe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(Ewe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await H(jn, {
item: t,
to: i
@@ -52644,9 +52644,9 @@ function GR(e) {
}
//#endregion
//#region src/react/entity-body/entity-online.tsx
-function kwe(e) {
- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = DP(a, () => i.listSkeletonHtml(r));
- return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(OP, {
+function Dwe(e) {
+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = kP(a, () => i.listSkeletonHtml(r));
+ return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(AP, {
message: Tt(t.error),
onRetry: () => {
t.refetch();
@@ -52657,11 +52657,11 @@ function kwe(e) {
"data-grid-reveal": o.fading ? "" : void 0,
children: [
o.layer,
- a || !n ? null : /* @__PURE__ */ (0, x.jsx)(Awe, {
+ a || !n ? null : /* @__PURE__ */ (0, x.jsx)(Owe, {
...e,
data: n
}),
- !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(pF, {
+ !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(hF, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -52671,8 +52671,8 @@ function kwe(e) {
]
});
}
-function Awe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
- let l = GR({
+function Owe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
+ let l = qR({
view: e,
revision: 0,
actions: c
@@ -52690,7 +52690,7 @@ function Awe({ 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 = li(e, t).id, r = u.byId.get(e.primary?.source_id)?.author_key;
- return /* @__PURE__ */ (0, x.jsx)(BR, {
+ return /* @__PURE__ */ (0, x.jsx)(HR, {
group: e,
authorSources: r && u.byAuthor.get(r) || [],
media: t,
@@ -52703,7 +52703,7 @@ function Awe({ 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)(jwe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
+ }) : /* @__PURE__ */ (0, x.jsx)(kwe, { 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,
@@ -52711,7 +52711,7 @@ function Awe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: p
});
}
-function jwe({ searched: e }) {
+function kwe({ searched: e }) {
let t = e ? ro("search-x", "当前筛选下没有更新", "切换媒体类型、状态、来源或标签后再试。") : ro("rss", "还没有抓到更新", "关注页检查更新之后,这位创作者的新内容会出现在这里。");
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-empty": "",
@@ -52719,7 +52719,7 @@ function jwe({ searched: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function KR(e) {
+function JR(e) {
return {
x0: 0,
y0: 0,
@@ -52727,7 +52727,7 @@ function KR(e) {
y1: e.height
};
}
-function qR(e) {
+function YR(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -52735,40 +52735,40 @@ function qR(e) {
y1: Math.round(e.y1)
};
}
-function JR(e) {
+function XR(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function YR(e, t) {
- if (!JR(e)) return {
+function ZR(e, t) {
+ if (!XR(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return KR(e);
+ if (t == null || !(t > 0)) return JR(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 qR({
+ return YR({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function Mwe(e, t) {
- if (!JR(e) || !(t > 0)) return KR(e);
+function Awe(e, t) {
+ if (!XR(e) || !(t > 0)) return JR(e);
let n = Math.min(e.width, e.height * t);
- return qR({
+ return YR({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function Nwe(e, t, n) {
- if (!JR(t) || !(n > 0)) return KR(t);
- let r = XR(e, t), i = YR({
+function jwe(e, t, n) {
+ if (!XR(t) || !(n > 0)) return JR(t);
+ let r = QR(e, t), i = ZR({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -52779,8 +52779,8 @@ function Nwe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function XR(e, t, n = null, r = "width") {
- if (!JR(t)) return {
+function QR(e, t, n = null, r = "width") {
+ if (!XR(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -52789,43 +52789,43 @@ function XR(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 qR({
+ return YR({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function ZR(e, t, n, r) {
+function $R(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 qR({
+ return YR({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function QR(e, t, n, r = null) {
- if (!JR(n) || !(t > 0)) return e;
+function ez(e, t, n, r = null) {
+ if (!XR(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 XR({
+ return QR({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function Pwe(e, t, n, r, i = null) {
+function Mwe(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 XR(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return QR(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function Fwe(e, t) {
- return JR(t) ? {
+function Nwe(e, t) {
+ return XR(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -52837,8 +52837,8 @@ function Fwe(e, t) {
height: 0
};
}
-function Iwe(e, t) {
- if (!JR(t)) return {
+function Pwe(e, t) {
+ if (!XR(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -52848,7 +52848,7 @@ function Iwe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function Lwe(e, t) {
+function Fwe(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}%`,
@@ -52857,16 +52857,16 @@ function Lwe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function $R(e, t, n) {
+function tz(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function Rwe(e, t) {
+function Iwe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var zwe = .02, ez = 1.08;
-function tz({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var Lwe = .02, nz = 1.08;
+function rz({ 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);
@@ -52885,8 +52885,8 @@ function tz({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: $R(e, n.clientWidth, r.width),
- dy: $R(t, n.clientHeight, r.height)
+ dx: tz(e, n.clientWidth, r.width),
+ dy: tz(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -52903,22 +52903,22 @@ function tz({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
let n = c.current, a = s.current;
if (!n || !a || !r) return;
let o = p(e.clientX - n.x, e.clientY - n.y);
- n.mode === "move" ? i(ZR(n.box, o.dx, o.dy, r)) : i(Pwe(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($R(n.box, o.dx, o.dy, r)) : i(Mwe(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) * zwe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * Lwe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(ZR(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(QR(n, e.key === "-" ? 1 / ez : ez, r, t)));
+ o[e.key] ? (e.preventDefault(), i($R(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(ez(n, e.key === "-" ? 1 / nz : nz, r, t)));
}
- let v = n && r ? Fwe(XR(n, r, t), r) : null, y = v ? Rwe(v, d) : !1, S = v ? {
+ let v = n && r ? Nwe(QR(n, r, t), r) : null, y = v ? Iwe(v, d) : !1, S = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -52937,7 +52937,7 @@ function tz({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- JR({
+ XR({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -52976,7 +52976,7 @@ function tz({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(QR(n, e.deltaY > 0 ? ez : 1 / ez, r, t));
+ n && r && i(ez(n, e.deltaY > 0 ? nz : 1 / nz, 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", {
@@ -52999,13 +52999,13 @@ function tz({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var Bwe = "/api/avatar-choices", nz = "/api/avatar-pick", Vwe = "/api/avatar-code-cover", rz = "/api/avatar-frame", Hwe = "/avatar-choice", iz = (e, t) => [
+var Rwe = "/api/avatar-choices", iz = "/api/avatar-pick", zwe = "/api/avatar-code-cover", az = "/api/avatar-frame", Bwe = "/avatar-choice", oz = (e, t) => [
"avatar-choices",
e,
t
-], az = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, oz = (e, t, n, r = "") => `${Hwe}${az(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), sz = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Uwe = (e, t, n) => V(Bwe + az(e, t), n), Wwe = (e) => H(Vwe, { code: e });
-async function Gwe(e, t, n) {
- let r = await H(rz, {
+], sz = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, cz = (e, t, n, r = "") => `${Bwe}${sz(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), lz = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Vwe = (e, t, n) => V(Rwe + sz(e, t), n), Hwe = (e) => H(zwe, { code: e });
+async function Uwe(e, t, n) {
+ let r = await H(az, {
kind: e,
id: t,
ref: n.ref
@@ -53018,12 +53018,12 @@ async function Gwe(e, t, n) {
bases: r.bases
};
}
-var Kwe = (e, t, n) => H(rz, {
+var Wwe = (e, t, n) => H(az, {
kind: e,
id: t,
url: n
-}), qwe = (e, t, n) => cz(`${rz}${az(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function cz(e, t) {
+}), Gwe = (e, t, n) => uz(`${az}${sz(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function uz(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
@@ -53032,17 +53032,17 @@ async function cz(e, t) {
if (n.ok) return r;
throw new sn(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function lz(e, t, n) {
+function dz(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? Nwe(e.focus, t, n) : YR(t, n);
+ return e.focus && r ? jwe(e.focus, t, n) : ZR(t, n);
}
-var Jwe = (e) => e.crop && JR({
+var Kwe = (e) => e.crop && XR({
width: e.width,
height: e.height
});
-async function Ywe(e, t, n) {
+async function qwe(e, t, n) {
if (!("file" in n)) {
- await H(nz, {
+ await H(iz, {
kind: e,
id: t,
...n
@@ -53055,19 +53055,19 @@ async function Ywe(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await cz(`${nz}${az(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await uz(`${iz}${sz(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var uz = 2;
-function Xwe(e, t) {
+var fz = 2;
+function Jwe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, uz).join("」「")}」`}${n.length > uz ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, fz).join("」「")}」`}${n.length > fz ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
}
-var Zwe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function Qwe(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Zwe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var Ywe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function Xwe(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Ywe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var dz = (e) => e.cast > 1, $we = (e) => dz(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, eTe = {
+var pz = (e) => e.cast > 1, Zwe = (e) => pz(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Qwe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -53077,7 +53077,7 @@ var dz = (e) => e.cast > 1, $we = (e) => dz(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function tTe(e) {
+function $we(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -53088,19 +53088,19 @@ function tTe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var nTe = (e) => `${eTe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (dz(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), rTe = 8, iTe = 3 / 4;
-async function aTe(e, t, n) {
+var eTe = (e) => `${Qwe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (pz(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), tTe = 8, nTe = 3 / 4;
+async function rTe(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await Gwe(e, t, n.choice) };
- case "code": return { choice: await Wwe(n.code) };
- case "url": return { choice: await Kwe(e, t, n.url) };
+ case "choice": return { choice: await Uwe(e, t, n.choice) };
+ case "code": return { choice: await Hwe(n.code) };
+ case "url": return { choice: await Wwe(e, t, n.url) };
case "file": return {
- choice: await qwe(e, t, n.file),
+ choice: await Gwe(e, t, n.file),
file: n.file
};
}
}
-function oTe({ kind: e, entityId: t, name: n, onPicked: r }) {
+function iTe({ 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",
@@ -53110,17 +53110,17 @@ function oTe({ 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)(Cme, {
+ children: /* @__PURE__ */ (0, x.jsx)(xme, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, x.jsx)(MN, {
+ }), /* @__PURE__ */ (0, x.jsx)(PN, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, x.jsx)(sTe, {
+ children: /* @__PURE__ */ (0, x.jsx)(aTe, {
kind: e,
entityId: t,
name: n,
@@ -53129,22 +53129,22 @@ function oTe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, b.useRef)(null), o = hL(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = iz(e, t), m = (0, b.useRef)(!1), h = ut({
+function aTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, b.useRef)(null), o = _L(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = oz(e, t), m = (0, b.useRef)(!1), h = ut({
queryKey: p,
- queryFn: ({ signal: n }) => Uwe(e, t, n),
+ queryFn: ({ signal: n }) => Vwe(e, t, n),
retryOnMount: !0
});
(0, b.useEffect)(() => () => {
- m.current && U.removeQueries({ queryKey: iz(e, t) });
+ m.current && U.removeQueries({ queryKey: oz(e, t) });
}, [e, t]);
let g = dt({
- mutationFn: (n) => Ywe(e, t, n),
+ mutationFn: (n) => qwe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = dt({
- mutationFn: (n) => aTe(e, t, n),
+ mutationFn: (n) => rTe(e, t, n),
onSuccess: f
}), v = (e) => _.isPending && _.variables?.via === e;
function y(e) {
@@ -53162,28 +53162,28 @@ function sTe({ 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 ? B(g.error) : "") || (!d && _.error ? B(_.error) : "") || (h.error ? B(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : Qwe(C), O = !!T && !!h.error && T === B(h.error), k = h.isPending || w.length > 0;
+ let C = h.data, w = C?.choices ?? [], T = (g.error ? B(g.error) : "") || (!d && _.error ? B(_.error) : "") || (h.error ? B(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : Xwe(C), O = !!T && !!h.error && T === B(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)(NN, { children: /* @__PURE__ */ (0, x.jsx)($me, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, x.jsx)(FN, { children: /* @__PURE__ */ (0, x.jsx)(Zme, { 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)(uj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(fj, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
- }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(Uk, {
+ }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(Gk, {
color: "soft",
children: [w.length.toLocaleString(), " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? $we(d.choice) : Xwe(n, C)
+ children: d ? Zwe(d.choice) : Jwe(n, C)
}),
D ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
@@ -53204,14 +53204,14 @@ function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(_L, {
- icon: ck,
+ /* @__PURE__ */ (0, x.jsx)(yL, {
+ icon: uk,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, x.jsx)(uTe, {
+ }), d ? /* @__PURE__ */ (0, x.jsx)(cTe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -53230,7 +53230,7 @@ function sTe({ 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: rTe }, (e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: tTe }, (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",
@@ -53243,7 +53243,7 @@ function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: nTe(n),
+ title: eTe(n),
...q(E),
onClick: () => {
E || (n.crop ? f({ choice: n }) : _.mutate({
@@ -53253,8 +53253,8 @@ function sTe({ 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)(cTe, {
- src: oz(e, t, n.ref, sz(n, n.ref)),
+ /* @__PURE__ */ (0, x.jsx)(oTe, {
+ src: cz(e, t, n.ref, lz(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -53263,15 +53263,15 @@ function sTe({ 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)(Uk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- dz(n) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ pz(n) ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, x.jsxs)(Uk, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Gk, {
variant: "caption",
color: "gray",
children: [n.cast.toLocaleString(), " 人"]
@@ -53293,7 +53293,7 @@ function sTe({ 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)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(NN, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -53328,7 +53328,7 @@ function sTe({ 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)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(NN, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -53351,7 +53351,7 @@ function sTe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function cTe({ src: e, choice: t }) {
+function oTe({ 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);
@@ -53359,7 +53359,7 @@ function cTe({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = Jwe(t) ? Lwe(lz(t, s, iTe), s) : null, l = r || a ? !0 : void 0;
+ }, c = Kwe(t) ? Fwe(dz(t, s, nTe), 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",
@@ -53385,7 +53385,7 @@ function cTe({ src: e, choice: t }) {
})]
});
}
-function lTe(e) {
+function sTe(e) {
let [t, n] = (0, b.useState)("");
return (0, b.useEffect)(() => {
if (!e) return;
@@ -53393,23 +53393,23 @@ function lTe(e) {
return n(t), () => URL.revokeObjectURL(t);
}, [e]), t;
}
-function uTe({ 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 = sz(n, c), h = lTe(r), g = r ? h : oz(e, t, c, m), _ = hL();
+function cTe({ 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 = lz(n, c), h = sTe(r), g = r ? h : cz(e, t, c, m), _ = _L();
function v(e) {
l(e), d(null), p(null);
}
- let y = f && u ? Iwe(f, u) : null;
+ let y = f && u ? Pwe(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)(tz, {
+ children: [g ? /* @__PURE__ */ (0, x.jsx)(rz, {
src: g,
aspect: 1,
box: f,
size: u,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- d(e), JR(e) && p(c === n.ref ? lz(n, e, 1) : YR(e, 1));
+ d(e), XR(e) && p(c === n.ref ? dz(n, e, 1) : ZR(e, 1));
},
onBox: p
}) : null, s.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -53423,7 +53423,7 @@ function uTe({ 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: tTe(e)
+ children: $we(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -53472,17 +53472,17 @@ function uTe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
}
//#endregion
//#region src/react/providers.tsx
-var fz = null;
-function dTe() {
- return fz?.isConnected || (fz = document.createElement("div"), fz.className = "peach-react", fz.dataset.reactOverlays = "", document.body.append(fz)), fz;
+var mz = null;
+function lTe() {
+ return mz?.isConnected || (mz = document.createElement("div"), mz.className = "peach-react", mz.dataset.reactOverlays = "", document.body.append(mz)), mz;
}
-function fTe({ children: e }) {
+function uTe({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)(w, {
client: U,
children: /* @__PURE__ */ (0, x.jsx)(yne, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, x.jsx)(Yx, {
- getContainer: dTe,
+ children: /* @__PURE__ */ (0, x.jsx)(Xx, {
+ getContainer: lTe,
children: e
})
})
@@ -53490,21 +53490,21 @@ function fTe({ children: e }) {
}
//#endregion
//#region src/react/router/pages/settings.tsx
-function pTe() {
- let e = (0, b.useContext)(_z), { pathname: t } = pO();
+function dTe() {
+ let e = (0, b.useContext)(yz), { pathname: t } = hO();
return (0, b.useEffect)(() => {
- e?.openSettings?.(rme(t));
+ e?.openSettings?.(tme(t));
}, [e, t]), (0, b.useEffect)(() => () => {
queueMicrotask(() => {
- xO($O.navigation.location.pathname) || e?.closeSettings?.();
+ CO(tk.navigation.location.pathname) || e?.closeSettings?.();
});
}, [e]), null;
}
//#endregion
//#region src/react/router/pages/overlay.tsx
-var pz = () => Oc, mTe = () => kc;
-function hTe() {
- let e = (0, b.useContext)(_z), t = (0, b.useSyncExternalStore)(zc, mTe), n = (0, b.useSyncExternalStore)(zc, pz);
+var hz = () => Oc, fTe = () => kc;
+function pTe() {
+ let e = (0, b.useContext)(yz), t = (0, b.useSyncExternalStore)(zc, fTe), n = (0, b.useSyncExternalStore)(zc, hz);
return (0, b.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -53519,11 +53519,11 @@ function hTe() {
e
]), null;
}
-function mz(e, t = !1) {
- let n = (0, b.useSyncExternalStore)(zc, pz), r = (0, b.useRef)(void 0);
+function gz(e, t = !1) {
+ let n = (0, b.useSyncExternalStore)(zc, hz), r = (0, b.useRef)(void 0);
if (r.current === void 0) {
- let { claimed: e } = $O.navigation;
- r.current = Oc === 0 || tk() ? "boot" : e && !t ? null : "history";
+ let { claimed: e } = tk.navigation;
+ r.current = Oc === 0 || rk() ? "boot" : e && !t ? null : "history";
}
let i = (0, b.useRef)(e);
(0, b.useEffect)(() => {
@@ -53539,22 +53539,22 @@ function mz(e, t = !1) {
}));
}, [n]);
}
-function gTe() {
- let e = (0, b.useContext)(_z), t = (0, b.useRef)(e);
+function mTe() {
+ let e = (0, b.useContext)(yz), t = (0, b.useRef)(e);
return (0, b.useLayoutEffect)(() => {
t.current = e;
- }, [e]), mz((t) => {
- let n = $O.navigation.location, { pathname: r, search: i } = xO(n.pathname) && CO(n.state) || n, a = ome(r, i);
- e && a && (AO(), t || sme($O.navigation.location.state), e.openOverlay(a));
+ }, [e]), gz((t) => {
+ let n = tk.navigation.location, { pathname: r, search: i } = CO(n.pathname) && TO(n.state) || n, a = ime(r, i);
+ e && a && (MO(), t || ame(tk.navigation.location.state), e.openOverlay(a));
}, !0), (0, b.useEffect)(() => () => {
queueMicrotask(() => {
- TO($O.navigation.location.pathname) || t.current?.closeStage();
+ DO(tk.navigation.location.pathname) || t.current?.closeStage();
});
}, []), null;
}
-function _Te({ path: e }) {
- gz();
- let { location: t, seq: n, action: r } = $O.navigation, i = xO(t.pathname) ? CO(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, b.useRef)({
+function hTe({ path: e }) {
+ vz();
+ let { location: t, seq: n, action: r } = tk.navigation, i = CO(t.pathname) ? TO(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, b.useRef)({
identity: a,
seq: i?.seq ?? n,
navigationSeq: n,
@@ -53565,160 +53565,160 @@ function _Te({ path: e }) {
seq: n,
navigationSeq: n,
settings: !1
- }), /* @__PURE__ */ (0, x.jsx)(gTe, {}, `${e} ${o.current.seq}`);
+ }), /* @__PURE__ */ (0, x.jsx)(mTe, {}, `${e} ${o.current.seq}`);
}
-function vTe() {
- let e = (0, b.useContext)(_z);
- return mz(() => {
+function gTe() {
+ let e = (0, b.useContext)(yz);
+ return gz(() => {
e?.follow?.ground();
}), null;
}
-function yTe() {
- return /* @__PURE__ */ (0, x.jsx)(vTe, {}, gz());
+function _Te() {
+ return /* @__PURE__ */ (0, x.jsx)(gTe, {}, vz());
}
//#endregion
//#region src/react/router/router.tsx
-var hz = (0, b.createContext)(0), gz = () => (0, b.useContext)(hz), _z = (0, b.createContext)(null);
-function bTe({ children: e }) {
- let [t, n] = (0, b.useState)(() => $O.navigation);
- return (0, b.useLayoutEffect)(() => (n($O.navigation), $O.listen((e) => {
+var _z = (0, b.createContext)(0), vz = () => (0, b.useContext)(_z), yz = (0, b.createContext)(null);
+function vTe({ children: e }) {
+ let [t, n] = (0, b.useState)(() => tk.navigation);
+ return (0, b.useLayoutEffect)(() => (n(tk.navigation), tk.listen((e) => {
(0, pt.flushSync)(() => n(e));
- })), []), /* @__PURE__ */ (0, x.jsx)(hz.Provider, {
+ })), []), /* @__PURE__ */ (0, x.jsx)(_z.Provider, {
value: t.openEpoch,
- children: /* @__PURE__ */ (0, x.jsx)(tme, {
+ children: /* @__PURE__ */ (0, x.jsx)($pe, {
location: t.location,
navigationType: t.action,
- navigator: $O,
+ navigator: tk,
children: e
})
});
}
-function xTe({ target: e }) {
- let t = Ipe();
+function yTe({ target: e }) {
+ let t = Ppe();
return (0, b.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function STe(e, t, n) {
+function bTe(e, t, n) {
let r = new URL(e, window.location.href);
g5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
-function CTe() {
- let e = (0, b.useContext)(_z), [t, n] = (0, b.useState)(VO), r = (0, b.useRef)(null);
- (0, b.useLayoutEffect)(() => (n(VO()), pme((e, t) => {
+function xTe() {
+ let e = (0, b.useContext)(yz), [t, n] = (0, b.useState)(UO), r = (0, b.useRef)(null);
+ (0, b.useLayoutEffect)(() => (n(UO()), dme((e, t) => {
t ? (0, pt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, b.useMemo)(() => (t) => {
- e && r.current && STe(t, e, r.current);
+ e && r.current && bTe(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(xTe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(wTe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(yTe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(STe, {
entry: t,
- children: /* @__PURE__ */ (0, x.jsx)(TTe, {
+ children: /* @__PURE__ */ (0, x.jsx)(CTe, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var wTe = class extends b.Component {
+var STe = class extends b.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
}
componentDidCatch() {
- gme(this.props.entry.container, this.props.entry.revision);
+ mme(this.props.entry.container, this.props.entry.revision);
}
render() {
return this.state.failed ? null : this.props.children;
}
-}, TTe = (0, b.memo)(function({ entry: e, actions: t, go: n }) {
+}, CTe = (0, b.memo)(function({ entry: e, actions: t, go: n }) {
return Bat(e.path) ? (0, pt.createPortal)(Uat(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function ETe({ children: e }) {
- let t = pO();
- gz();
- let n = nk(), r = xO(t.pathname) && !tk() ? CO(t.state) : null;
+function wTe({ children: e }) {
+ let t = hO();
+ vz();
+ let n = ik(), r = CO(t.pathname) && !rk() ? TO(t.state) : null;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsxs)(gO, {
+ /* @__PURE__ */ (0, x.jsxs)(vO, {
location: n ?? t,
children: [
- Object.entries(h5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ Object.entries(h5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(_O, {
path: e,
element: t.element
}, e)),
- Object.entries(Aat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ Object.entries(Aat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(_O, {
path: e,
element: t.element
}, e)),
- Object.entries(_5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ Object.entries(_5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(_O, {
path: e,
element: t.element
}, e)),
- Object.entries(y5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ Object.entries(y5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(_O, {
path: e,
element: t.element
}, e)),
- Object.entries(x5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ Object.entries(x5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(_O, {
path: e,
element: t.element
}, e)),
- zat.map((e) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ zat.map((e) => /* @__PURE__ */ (0, x.jsx)(_O, {
path: e,
element: S5["/"].element
}, e)),
- Object.entries(jat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ Object.entries(jat).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(_O, {
path: e,
element: t.element
}, e)),
- wO.map((e) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ EO.map((e) => /* @__PURE__ */ (0, x.jsx)(_O, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, x.jsx)(yTe, {}) : S5["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, x.jsx)(_Te, {}) : S5["/"].element
}, e)),
- bO.map((e) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ SO.map((e) => /* @__PURE__ */ (0, x.jsx)(_O, {
path: e,
element: null
}, e)),
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsx)(_O, {
path: "*",
element: e
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(gO, {
+ /* @__PURE__ */ (0, x.jsxs)(vO, {
location: r ?? t,
- children: [wO.map((e) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ children: [EO.map((e) => /* @__PURE__ */ (0, x.jsx)(_O, {
path: e,
- element: /* @__PURE__ */ (0, x.jsx)(_Te, { path: e })
- }, e)), /* @__PURE__ */ (0, x.jsx)(hO, {
+ element: /* @__PURE__ */ (0, x.jsx)(hTe, { path: e })
+ }, e)), /* @__PURE__ */ (0, x.jsx)(_O, {
path: "*",
element: null
})]
}),
- /* @__PURE__ */ (0, x.jsxs)(gO, { children: [bO.map((e) => /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsxs)(vO, { children: [SO.map((e) => /* @__PURE__ */ (0, x.jsx)(_O, {
path: e,
- element: /* @__PURE__ */ (0, x.jsx)(pTe, {})
- }, e)), /* @__PURE__ */ (0, x.jsx)(hO, {
+ element: /* @__PURE__ */ (0, x.jsx)(dTe, {})
+ }, e)), /* @__PURE__ */ (0, x.jsx)(_O, {
path: "*",
element: null
})] })
] });
}
-function DTe({ children: e, actions: t = null }) {
- return /* @__PURE__ */ (0, x.jsx)(fTe, { children: /* @__PURE__ */ (0, x.jsx)(_z.Provider, {
+function TTe({ children: e, actions: t = null }) {
+ return /* @__PURE__ */ (0, x.jsx)(uTe, { children: /* @__PURE__ */ (0, x.jsx)(yz.Provider, {
value: t,
- children: /* @__PURE__ */ (0, x.jsxs)(bTe, { children: [
- /* @__PURE__ */ (0, x.jsx)(CTe, {}),
- /* @__PURE__ */ (0, x.jsx)(hTe, {}),
- /* @__PURE__ */ (0, x.jsx)(ETe, { children: e })
+ children: /* @__PURE__ */ (0, x.jsxs)(vTe, { children: [
+ /* @__PURE__ */ (0, x.jsx)(xTe, {}),
+ /* @__PURE__ */ (0, x.jsx)(pTe, {}),
+ /* @__PURE__ */ (0, x.jsx)(wTe, { children: e })
] })
}) });
}
-var OTe = { onCaughtError: (e) => {
+var ETe = { onCaughtError: (e) => {
globalThis.reportError?.(e);
} };
//#endregion
//#region src/react/components/source-avatar.tsx
-function vz({ code: e, person: t, detail: n = !1 }) {
+function bz({ code: e, person: t, detail: n = !1 }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(n || typeof IntersectionObserver > "u");
(0, b.useEffect)(() => {
if (!r.current || i) return;
@@ -53752,8 +53752,8 @@ function vz({ code: e, person: t, detail: n = !1 }) {
}
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function yz({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, b.useContext)(_z), o = (0, b.useRef)(null), [s, c] = (0, b.useState)([]), l = e?.items.length ? e.html : "";
+function xz({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+ let a = (0, b.useContext)(yz), o = (0, b.useRef)(null), [s, c] = (0, b.useState)([]), l = e?.items.length ? e.html : "";
(0, b.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);
}, [
@@ -53785,7 +53785,7 @@ function yz({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
u(e);
},
dangerouslySetInnerHTML: { __html: l }
- }), s.map((e, t) => (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(vz, {
+ }), s.map((e, t) => (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(bz, {
code: e.dataset.code,
person: {
name: e.dataset.name,
@@ -53795,12 +53795,12 @@ function yz({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var kTe = {
+var DTe = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function bz({ name: e }) {
- let t = kTe[e];
+function Sz({ name: e }) {
+ let t = DTe[e];
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -53810,20 +53810,20 @@ function bz({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function xz(e, t) {
+function Cz(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 Sz = (e) => !!e?.isConnected && e.matches(":popover-open");
-function Cz(e, t, n, r) {
+var wz = (e) => !!e?.isConnected && e.matches(":popover-open");
+function Tz(e, t, n, r) {
let i = (0, b.useRef)(r);
i.current = r, (0, b.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && Sz(n.current) ? xz(t.current, n.current) : i.current();
+ t.current && wz(n.current) ? Cz(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -53837,17 +53837,17 @@ function Cz(e, t, n, r) {
n
]);
}
-function wz({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function Ez({ 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, Sz(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, wz(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !Sz(s.current) && (s.current.showPopover(), xz(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !wz(s.current) && (s.current.showPopover(), Cz(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 Cz(c, o, s, f), (0, b.useEffect)(() => {
+ return Tz(c, o, s, f), (0, b.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -53873,7 +53873,7 @@ function wz({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && Sz(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && wz(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -53891,16 +53891,16 @@ function wz({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function ATe({ following: e, busy: t, onToggle: n, tip: r }) {
+function OTe({ 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 = () => {
- Sz(o.current) && o.current.hidePopover(), c(!1);
+ wz(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !Sz(o.current) && (o.current.showPopover(), xz(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !wz(o.current) && (o.current.showPopover(), Cz(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return Cz(s, i, o, () => c(!1)), (0, b.useEffect)(() => {
- i.current && Sz(o.current) && xz(i.current, o.current);
+ return Tz(s, i, o, () => c(!1)), (0, b.useEffect)(() => {
+ i.current && wz(o.current) && Cz(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, x.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -53909,7 +53909,7 @@ function ATe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, x.jsx)(bz, { name: "rss" }),
+ /* @__PURE__ */ (0, x.jsx)(Sz, { name: "rss" }),
/* @__PURE__ */ (0, x.jsx)("input", {
ref: a,
type: "checkbox",
@@ -53944,29 +53944,29 @@ function ATe({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function jTe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function kTe({ 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)(I_e, {
+ }, []), /* @__PURE__ */ (0, x.jsxs)(P_e, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, x.jsx)(cj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(uj, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, x.jsx)(bz, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ children: /* @__PURE__ */ (0, x.jsx)(Sz, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, x.jsx)(jM, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: qI,
+ className: YI,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, x.jsxs)(R_e, {
+ children: /* @__PURE__ */ (0, x.jsxs)(I_e, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(IM, {
+ /* @__PURE__ */ (0, x.jsx)(RM, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -53974,31 +53974,31 @@ function jTe({ 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)(RM, {
+ children: t.map((e) => /* @__PURE__ */ (0, x.jsxs)(BM, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, x.jsx)(bz, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, x.jsx)(Sz, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(v_e, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, x.jsx)(IM, { children: /* @__PURE__ */ (0, x.jsxs)(RM, {
+ /* @__PURE__ */ (0, x.jsx)(g_e, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, x.jsx)(RM, { children: /* @__PURE__ */ (0, x.jsxs)(BM, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, x.jsx)(bz, { name: "plus" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(Sz, { name: "plus" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var MTe = (e) => e === "studio" || e === "agency", Tz = (e) => e === "performer" || e === "creator", NTe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function PTe(e) {
+var ATe = (e) => e === "studio" || e === "agency", Dz = (e) => e === "performer" || e === "creator", jTe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function MTe(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function Ez(e) {
+function Oz(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0,
@@ -54010,13 +54010,13 @@ function Ez(e) {
linked: !1
} : null;
}
-function Dz(e, t) {
+function kz(e, t) {
let n = Kt(e, "performer"), r = Ut(t);
return r && [e.label, n].map(Ut).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var Oz = (e) => ({ site: Bt(e) });
-function FTe(e, t) {
- let n = Ez(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var Az = (e) => ({ site: Bt(e) });
+function NTe(e, t) {
+ let n = Oz(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -54026,7 +54026,7 @@ function FTe(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${Dz(e, n)} · ${t}`
+ title: `${kz(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -54034,11 +54034,11 @@ function FTe(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (Tz(t) && e.link_kind !== "social") return {
+ if (Dz(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: Dz(e, n),
- mark: Oz(e)
+ title: kz(e, n),
+ mark: Az(e)
};
if (e.link_kind === "social") {
let t = Ht(r);
@@ -54046,7 +54046,7 @@ function FTe(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : Oz(e)
+ mark: t ? { brand: t } : Az(e)
};
}
return {
@@ -54054,12 +54054,12 @@ function FTe(e, t) {
url: r,
title: e.label || "",
text: Kt(e, t, i),
- mark: Oz(e)
+ mark: Az(e)
};
});
- return [...r, ...ITe(a)];
+ return [...r, ...PTe(a)];
}
-function ITe(e) {
+function PTe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -54067,8 +54067,8 @@ function ITe(e) {
sources: t.map((e) => e.label)
}];
}
-var kz = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function LTe(e) {
+var jz = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function FTe(e) {
return [
[
"legal_name",
@@ -54124,7 +54124,7 @@ function LTe(e) {
}]
}] : []);
}
-function RTe(e) {
+function ITe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -54181,14 +54181,14 @@ function RTe(e) {
tags: e.tags
}), t;
}
-function Az(e, t = 4) {
+function Mz(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
rest: e.length - n
};
}
-function zTe(e) {
+function LTe(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 ? {
@@ -54199,7 +54199,7 @@ function zTe(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function BTe(e) {
+function RTe(e) {
return ia({
id: e.id,
hasImage: e.has_image,
@@ -54210,8 +54210,8 @@ function BTe(e) {
standIn: e.avatar_stand_in
});
}
-function VTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = Tz(e), c = MTe(e), l = s ? RTe(n.profile) : c ? LTe(n.company_profile) : [], u = FTe(n, e), d = kz(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, b.useRef)(null), m = (0, b.useRef)(null);
+function zTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ let s = Dz(e), c = ATe(e), l = s ? ITe(n.profile) : c ? FTe(n.company_profile) : [], u = NTe(n, e), d = jz(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)(() => {
@@ -54224,7 +54224,7 @@ function VTe({ 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)(HTe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(BTe, {
kind: e,
name: t,
helpers: o,
@@ -54232,7 +54232,7 @@ function VTe({ 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)(oTe, {
+ children: /* @__PURE__ */ (0, x.jsx)(iTe, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -54247,13 +54247,13 @@ function VTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
"data-entity-title": "",
children: [
/* @__PURE__ */ (0, x.jsx)("h2", { children: n.canonical_name }),
- e === "tag" ? null : /* @__PURE__ */ (0, x.jsx)(jTe, {
+ e === "tag" ? null : /* @__PURE__ */ (0, x.jsx)(kTe, {
current: n.canonical_name,
- choices: PTe(n),
+ choices: MTe(n),
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
- n.id ? /* @__PURE__ */ (0, x.jsx)(KN, { item: {
+ n.id ? /* @__PURE__ */ (0, x.jsx)(JN, { item: {
entity_id: Number(n.id),
kind: e,
name: n.canonical_name || t,
@@ -54261,7 +54261,7 @@ function VTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
} }) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(UTe, {
+ /* @__PURE__ */ (0, x.jsx)(VTe, {
kind: e,
entity: n,
actions: a
@@ -54282,14 +54282,14 @@ function VTe({ 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)(YTe, { link: e }, t))
+ children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(qTe, { link: e }, t))
}) : null,
- d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(XTe, {
+ d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(JTe, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(KTe, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(WTe, {
follow: n.follow,
entity: n,
actions: a
@@ -54298,11 +54298,11 @@ function VTe({ 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)(qTe, {
+ children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(GTe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, x.jsx)(JTe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, x.jsx)(KTe, { 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))
@@ -54321,7 +54321,7 @@ function VTe({ 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>${z($t(e.k))}</span>${BTe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${z($t(e.k))}</span>${RTe(e)}` }
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -54329,14 +54329,14 @@ function VTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(yz, {
+ }), i ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(xz, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function HTe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function BTe({ kind: e, name: t, helpers: n, people: r, company: i }) {
let [a] = (0, b.useState)(() => `${n.portraitImg()}<span>${z($t(t))}</span>`);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -54345,8 +54345,8 @@ function HTe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: a }
});
}
-function UTe({ kind: e, entity: t, actions: n }) {
- let r = Ez(t), i = (e, t) => (r) => {
+function VTe({ kind: e, entity: t, actions: n }) {
+ let r = Oz(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, x.jsx)("a", {
href: Ft("agency", r.name, r.id),
@@ -54355,41 +54355,41 @@ function UTe({ 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 = zTe(t.name_groups);
+ let e = LTe(t.name_groups);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, x.jsx)(jz, { entity: t }),
+ /* @__PURE__ */ (0, x.jsx)(Nz, { entity: t }),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, x.jsx)(bz, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, x.jsx)(Sz, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(GTe, {
+ t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(UTe, {
follow: t.follow,
actions: n
}) : null,
a ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, x.jsx)(bz, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, x.jsx)(Sz, { 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)(bz, { name: "id-card" }),
+ /* @__PURE__ */ (0, x.jsx)(Sz, { 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)(wz, {
+ e.rest > 0 ? /* @__PURE__ */ (0, x.jsx)(Ez, {
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)(Mz, {
+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, x.jsx)(Pz, {
label: e.label,
names: e.names
}, t)) })
@@ -54411,61 +54411,61 @@ function UTe({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, x.jsx)(jz, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, x.jsx)(Nz, { entity: t }) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, x.jsx)(bz, { name: "film" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, x.jsx)(Sz, { 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)(bz, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, x.jsx)(Sz, { 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)(bz, { name: "clapperboard" }), /* @__PURE__ */ (0, x.jsx)("a", {
+ children: [/* @__PURE__ */ (0, x.jsx)(Sz, { name: "clapperboard" }), /* @__PURE__ */ (0, x.jsx)("a", {
href: Ft("studio", l.name, l.id),
"data-studio-link": l.name,
onClick: i("studio", l.name),
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, x.jsx)(WTe, { aliases: s }) : null
+ s.length ? /* @__PURE__ */ (0, x.jsx)(HTe, { aliases: s }) : null
]
});
}
-function WTe({ aliases: e }) {
- let { shown: t, rest: n } = Az(e, 3);
+function HTe({ aliases: e }) {
+ let { shown: t, rest: n } = Mz(e, 3);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(bz, { name: "id-card" }),
+ /* @__PURE__ */ (0, x.jsx)(Sz, { name: "id-card" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: t.map((e, t) => /* @__PURE__ */ (0, x.jsx)("span", { children: e }, t))
}),
- n ? /* @__PURE__ */ (0, x.jsx)(wz, {
+ n ? /* @__PURE__ */ (0, x.jsx)(Ez, {
id: "entityAliasPop",
hook: "alias",
rest: n,
label: `另外 ${n.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(Mz, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(Pz, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
}
-function GTe({ follow: e, actions: t }) {
+function UTe({ 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)(bz, { name: "rss" }), /* @__PURE__ */ (0, x.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, x.jsx)(Sz, { name: "rss" }), /* @__PURE__ */ (0, x.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -54474,7 +54474,7 @@ function GTe({ follow: e, actions: t }) {
})]
});
}
-function KTe({ follow: e, entity: t, actions: n }) {
+function WTe({ follow: e, entity: t, actions: n }) {
let [r, i] = (0, b.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -54508,14 +54508,14 @@ function KTe({ follow: e, entity: t, actions: n }) {
}, e.key))
});
}
-function jz({ entity: e }) {
+function Nz({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, x.jsx)(bz, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, x.jsx)(Sz, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function Mz({ label: e, names: t }) {
+function Pz({ 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", {
@@ -54524,20 +54524,20 @@ function Mz({ label: e, names: t }) {
}, t))
})] });
}
-function qTe({ 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)(bz, { name: e }), t] }), /* @__PURE__ */ (0, x.jsx)("dd", {
+function GTe({ 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)(Sz, { 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 JTe({ tags: e }) {
- let { shown: t, rest: n } = Az(e);
+function KTe({ tags: e }) {
+ let { shown: t, rest: n } = Mz(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)(wz, {
+ }, e)), n ? /* @__PURE__ */ (0, x.jsx)(Ez, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -54553,10 +54553,10 @@ function JTe({ tags: e }) {
})
}) : null] });
}
-function Nz({ mark: e }) {
+function Fz({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, x.jsx)(bz, { name: e.brand })
+ children: /* @__PURE__ */ (0, x.jsx)(Sz, { name: e.brand })
});
let t = R("globe") + ("site" in e ? `<img src="${z(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, x.jsx)("span", {
@@ -54564,7 +54564,7 @@ function Nz({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function YTe({ link: e }) {
+function qTe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, x.jsx)("a", {
"data-link": "icon",
@@ -54573,19 +54573,19 @@ function YTe({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, x.jsx)(Nz, { mark: e.mark })
+ children: /* @__PURE__ */ (0, x.jsx)(Fz, { 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)(Nz, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, x.jsx)(Fz, { 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)(Nz, { mark: { globe: !0 } }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(Fz, { mark: { globe: !0 } }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -54596,14 +54596,14 @@ function YTe({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, x.jsx)(Nz, { mark: e.mark }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(Fz, { mark: e.mark }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function XTe({ entity: e, actions: t, helpers: n }) {
+function JTe({ 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);
@@ -54621,34 +54621,34 @@ function XTe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entry-marks": "",
- children: [kz(e).map((e, t) => /* @__PURE__ */ (0, x.jsxs)("a", {
+ children: [jz(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)(bz, { name: e.mark }) : /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(Sz, { 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)(ATe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(OTe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: NTe(r)
+ tip: jTe(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/use-entity-online.ts
-var ZTe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function QTe(e, t, n) {
+var YTe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function XTe(e, t, n) {
let [r, i] = (0, b.useState)(() => ui(e));
r.author !== e && i(ui(e));
let [a, o] = (0, b.useState)({
@@ -54727,7 +54727,7 @@ function QTe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => E({
sort: qr,
- seed: ZTe()
+ seed: YTe()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => E({ status: e }),
@@ -54745,8 +54745,8 @@ function QTe(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function $Te(e) {
- let { kind: t, name: n } = e, r = ut(rR(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
+function ZTe(e) {
+ let { kind: t, name: n } = e, r = ut(aR(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
kind: t,
name: a
} : void 0), { actions: s } = e;
@@ -54764,17 +54764,17 @@ function $Te(e) {
s,
o?.kind,
o?.name
- ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(OP, {
+ ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(AP, {
message: B(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, x.jsx)(nEe, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, x.jsx)(eEe, {
...e,
entity: r.data
});
}
-function Pz(e) {
+function Iz(e) {
let [t, n] = (0, b.useState)({
key: e,
n: 1
@@ -54786,22 +54786,22 @@ function Pz(e) {
};
return n(r), r.n;
}
-var eEe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function tEe(e, t) {
+var QTe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function $Te(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function nEe(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 = ft(iR(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 || aR(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+function eEe(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 = ft(oR(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 || sR(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
- } : XL, [y, S] = (0, b.useState)("people"), C = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, b.useState)(C);
+ } : QL, [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 = QTe(g, E === "online", {
+ let E = l && y === "people" && u.length ? "people" : v.media, D = XTe(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 = nR(e), M = ut(j), N = Pz(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 = iR(e), M = ut(j), N = Iz(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]);
@@ -54811,26 +54811,26 @@ function nEe(e) {
}, [e.layout, P]), F = {
jav: e.jav,
seed: e.seed
- }, te = (0, b.useCallback)((e, r) => tR(t, n, i, F, e, r), [N]), [I, ne] = (0, b.useState)({}), re = v.set, ie = I[re] || "", ae = ft({
- ...iR(t, n, re, ie),
+ }, te = (0, b.useCallback)((e, r) => rR(t, n, i, F, e, r), [N]), [I, ne] = (0, b.useState)({}), re = v.set, ie = I[re] || "", ae = ft({
+ ...oR(t, n, re, ie),
enabled: E === "photos"
- }), oe = ae.data?.pages[0], se = Pz(JSON.stringify(QL(t, n, re, ie))), ce = (0, b.useMemo)(() => {
+ }), oe = ae.data?.pages[0], se = Iz(JSON.stringify(eR(t, n, re, ie))), ce = (0, b.useMemo)(() => {
let e = ae.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: se,
- codeSets: t.id ? [] : aR(t),
+ codeSets: t.id ? [] : sR(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
}, [ae.data, se]), le = ae.refetch, ue = ae.fetchNextPage, de = ut({
- ...qL(d, o.feedRowHtml),
+ ...YL(d, o.feedRowHtml),
enabled: !!d
}), fe = (0, b.useRef)(e.feedRevision);
(0, b.useEffect)(() => {
- fe.current !== e.feedRevision && (fe.current = e.feedRevision, U.invalidateQueries({ queryKey: KL(d) }));
+ fe.current !== e.feedRevision && (fe.current = e.feedRevision, U.invalidateQueries({ queryKey: JL(d) }));
}, [d, e.feedRevision]);
let pe = !!M.data;
(0, b.useEffect)(() => {
@@ -54849,7 +54849,7 @@ function nEe(e) {
me.current = !1;
}, []);
let he = (0, b.useCallback)(async () => {
- await U.invalidateQueries({ queryKey: ["entity-route"] }), await U.invalidateQueries({ queryKey: ZL(t, n) }), await U.invalidateQueries({ queryKey: [
+ await U.invalidateQueries({ queryKey: ["entity-route"] }), await U.invalidateQueries({ queryKey: $L(t, n) }), await U.invalidateQueries({ queryKey: [
"entity-items",
t,
n
@@ -54883,7 +54883,7 @@ function nEe(e) {
enabled: e
})
}),
- onSuccess: (e, r) => U.setQueryData(ZL(t, n), (e) => e && {
+ onSuccess: (e, r) => U.setQueryData($L(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -54937,10 +54937,10 @@ function nEe(e) {
let e = await Et("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- me.current && await U.invalidateQueries({ queryKey: KL(d) });
+ me.current && await U.invalidateQueries({ queryKey: JL(d) });
})();
},
- feedAction: JL,
+ feedAction: XL,
avatarPicked: () => {
s.avatarChanged(), he().then(() => {
me.current && A((e) => e + 1);
@@ -54988,19 +54988,19 @@ function nEe(e) {
(e !== E || v.set) && (S(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : XL));
+ } : QL));
},
setState: (e) => s.route({
...i,
state: e
- }, XL),
+ }, QL),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (E !== "photos") {
- let r = s.reshuffleVideos(), a = nR({
+ let r = s.reshuffleVideos(), a = iR({
kind: t,
name: n,
filters: {
@@ -55014,7 +55014,7 @@ function nEe(e) {
await U.fetchQuery(a).catch(() => null);
return;
}
- let r = eEe(), a = await U.fetchInfiniteQuery(iR(t, n, re, r)).catch(() => null);
+ let r = QTe(), a = await U.fetchInfiniteQuery(oR(t, n, re, r)).catch(() => null);
me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({
...e,
[re]: r
@@ -55049,7 +55049,7 @@ function nEe(e) {
k: e.k,
label: Qs(e.k),
n: e.n,
- selected: CCe(i.tag, e.k)
+ selected: xCe(i.tag, e.k)
})), Te = [
u.length,
!_,
@@ -55084,14 +55084,14 @@ function nEe(e) {
creator: "",
studio: "",
owner: ""
- }, XL), Ne = "", Pe = !1;
+ }, QL), Ne = "", Pe = !1;
if (E === "people") Ne = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (E === "online") Pe = D.busy, Ne = `在线 · ${(D.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;
else if (E === "videos") {
Pe = !M.data;
- let e = $L(i.tag).length;
+ let e = tR(i.tag).length;
Ne = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : tEe(oe, aR(oe).length) : Pe = ae.isPending;
+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : $Te(oe, sR(oe).length) : Pe = ae.isPending;
let Fe = (0, b.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -55108,7 +55108,7 @@ function nEe(e) {
u
]);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(VTe, {
+ /* @__PURE__ */ (0, x.jsx)(zTe, {
kind: t,
name: n,
entity: r,
@@ -55118,7 +55118,7 @@ function nEe(e) {
actions: be,
helpers: xe
}, k),
- (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(cye, {
+ (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(oye, {
kind: t,
name: n,
view: E,
@@ -55135,7 +55135,7 @@ function nEe(e) {
actions: Se,
helpers: Ce
}), c.filter),
- (0, pt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(kwe, {
+ (0, pt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(Dwe, {
view: D.view,
media: D.media,
result: D.result,
@@ -55148,15 +55148,15 @@ function nEe(e) {
helpers: e.follow.helpers,
actions: e.follow.actions,
canLoadMore: e.canLoadMore
- }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(OP, {
+ }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(AP, {
message: B(M.error),
onRetry: () => {
M.refetch();
}
- }) : je ? /* @__PURE__ */ (0, x.jsx)(rEe, {
+ }) : je ? /* @__PURE__ */ (0, x.jsx)(tEe, {
filtered: Ae,
onShowAll: Me
- }) : /* @__PURE__ */ (0, x.jsx)(nwe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(ewe, {
kind: t,
name: n,
view: E,
@@ -55180,9 +55180,9 @@ function nEe(e) {
}), c.body)
] });
}
-function rEe({ filtered: e, onShowAll: t }) {
- return e ? /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: FN("search"),
+function tEe({ filtered: e, onShowAll: t }) {
+ return e ? /* @__PURE__ */ (0, x.jsx)(Yk, {
+ icon: LN("search"),
title: "没有符合条件的视频",
actions: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -55190,15 +55190,15 @@ function rEe({ filtered: e, onShowAll: t }) {
children: "查看全部视频"
}),
children: "清除筛选后查看名下全部视频。"
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: FN("film"),
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
+ icon: LN("film"),
title: "还没有视频",
children: "署上这个名字的视频入库后会显示在这里。"
});
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function Fz({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function Lz({ 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
@@ -55225,29 +55225,29 @@ function Fz({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var iEe = FN("play"), aEe = FN("file-stack"), oEe = Kk({
+var nEe = LN("play"), rEe = LN("file-stack"), iEe = Jk({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), Iz = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", Lz = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", Rz = "font-mono text-caption-1-regular leading-5 text-text-secondary", zz = () => {
+}), Rz = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", zz = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", Bz = "font-mono text-caption-1-regular leading-5 text-text-secondary", Vz = () => {
U.invalidateQueries({
- queryKey: gF,
+ queryKey: vF,
exact: !0
}), U.invalidateQueries({
- queryKey: II,
+ queryKey: RI,
exact: !0
});
};
-function sEe(e) {
+function aEe(e) {
return e.identical ? /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${Lz} text-(--keep)`,
+ className: `${zz} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${Lz} text-text-secondary`,
+ className: `${zz} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function cEe({ file: e, prefix: t, openItem: n }) {
+function oEe({ file: e, prefix: t, openItem: n }) {
let r = () => n(e.id), i = tn[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",
@@ -55257,7 +55257,7 @@ function cEe({ 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)(iEe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(nEe, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, x.jsx)("img", {
@@ -55277,58 +55277,58 @@ function cEe({ 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: Sbe(e.name, t)
+ children: bbe(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: `${Iz} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${Rz} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, e.is_longest ? /* @__PURE__ */ (0, x.jsx)("i", {
- className: `${Iz} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${Rz} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
- className: `${Rz} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, x.jsx)(pA, { mark: Ya[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ className: `${Bz} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, x.jsx)(hA, { mark: Ya[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {
title: i,
className: "min-w-0 truncate",
children: i
})]
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: Rz,
+ className: Bz,
children: Xt(e.size || 0)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: Rz,
+ className: Bz,
children: Jt(e.duration)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: `${Rz} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
+ className: `${Bz} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
children: e.path ?? ""
})
]
});
}
-function lEe({ openItem: e, toast: t, failure: n }) {
+function sEe({ openItem: e, toast: t, failure: n }) {
let r = ut({
- queryKey: gF,
- queryFn: ({ signal: e }) => vF(e)
+ queryKey: vF,
+ queryFn: ({ signal: e }) => bF(e)
}), i = ut({
queryKey: vn,
queryFn: ({ signal: e }) => yn(e)
}), [a, o] = (0, b.useState)(""), s = dt({
- mutationFn: (e) => xF(e, "dispose"),
+ mutationFn: (e) => CF(e, "dispose"),
onSuccess: (e, r) => {
- zz(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
+ Vz(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
try {
- await xF(r, "restore");
+ await CF(r, "restore");
} catch (e) {
n("撤销移入回收站", e);
} finally {
- zz();
+ Vz();
}
} });
},
@@ -55342,12 +55342,12 @@ function lEe({ openItem: e, toast: t, failure: n }) {
children: r.error ? B(r.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let l = c.groups ?? [], u = vbe(i.data), d = ({ groups: e, keep: t, key: n }) => {
+ let l = c.groups ?? [], u = gbe(i.data), d = ({ groups: e, keep: t, key: n }) => {
if (s.isPending) return;
- let r = Ebe(e, t);
+ let r = wbe(e, t);
r.length && ls({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${yF[t] ?? yF.largest}。文件共 ${Xt(Dbe(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${xF[t] ?? xF.largest}。文件共 ${Xt(Tbe(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (o(n), s.mutateAsync(r))
});
@@ -55355,15 +55355,15 @@ function lEe({ 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)(Fz, {
+ /* @__PURE__ */ (0, x.jsx)(Lz, {
label: "重复内容",
figure: `${Number(c.total || 0).toLocaleString()} 组`,
detail: `${Number(c.files || 0).toLocaleString()} 个文件 · 可回收 ${Xt(c.reclaimable)}`
}),
- l.length ? /* @__PURE__ */ (0, x.jsxs)($ge, {
+ l.length ? /* @__PURE__ */ (0, x.jsxs)(Zge, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, x.jsx)(BA, {
+ /* @__PURE__ */ (0, x.jsx)(HA, {
busy: a === "all:largest",
onPress: () => d({
groups: l,
@@ -55372,7 +55372,7 @@ function lEe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, x.jsx)(BA, {
+ /* @__PURE__ */ (0, x.jsx)(HA, {
busy: a === "all:longest",
onPress: () => d({
groups: l,
@@ -55381,14 +55381,14 @@ function lEe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最长"
}),
- Tbe(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(BA, {
+ Cbe(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(HA, {
busy: a === `all:${e}`,
onPress: () => d({
groups: l,
keep: e,
key: `all:${e}`
}),
- children: /* @__PURE__ */ (0, x.jsx)(EA, {
+ children: /* @__PURE__ */ (0, x.jsx)(OA, {
source: e,
label: `全部优先 ${tn[e] || e}`
})
@@ -55404,10 +55404,10 @@ function lEe({ openItem: e, toast: t, failure: n }) {
})
}) : null,
l.length ? l.map((t, n) => {
- let r = [t], i = xbe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
+ let r = [t], i = ybe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": t.code,
- className: oEe,
+ className: iEe,
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: [
@@ -55419,9 +55419,9 @@ function lEe({ openItem: e, toast: t, failure: n }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${Number(t.count || 0).toLocaleString()} 个 · 可回收 ${Xt(t.reclaimable)}`
}),
- sEe(t),
+ aEe(t),
t.cross_drive ? /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${Lz} text-text-secondary`,
+ className: `${zz} text-text-secondary`,
children: `跨盘 ${t.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
@@ -55449,7 +55449,7 @@ function lEe({ openItem: e, toast: t, failure: n }) {
}),
children: "留最长"
}),
- bF(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(G, {
+ SF(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
...f(a(e)),
@@ -55458,7 +55458,7 @@ function lEe({ openItem: e, toast: t, failure: n }) {
keep: e,
key: a(e)
}),
- children: /* @__PURE__ */ (0, x.jsx)(EA, {
+ children: /* @__PURE__ */ (0, x.jsx)(OA, {
source: e,
label: `留 ${tn[e] || e}`
})
@@ -55477,14 +55477,14 @@ function lEe({ openItem: e, toast: t, failure: n }) {
]
})
]
- }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(cEe, {
+ }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(oEe, {
file: t,
prefix: i,
openItem: e
}, t.id)) })]
}, `${t.code}-${n}`);
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: aEe,
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
+ icon: rEe,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
}),
@@ -55497,23 +55497,23 @@ function lEe({ openItem: e, toast: t, failure: n }) {
}
//#endregion
//#region src/react/diagnostics/diagnostics.ts
-var Bz = ["diagnostics"], Vz = (e) => V("/api/diagnostics", e);
-async function uEe(e) {
+var Hz = ["diagnostics"], Uz = (e) => V("/api/diagnostics", e);
+async function cEe(e) {
await U.fetchQuery({
- queryKey: Bz,
- queryFn: () => Vz(e),
+ queryKey: Hz,
+ queryFn: () => Uz(e),
staleTime: 1e4
});
}
//#endregion
//#region src/react/diagnostics/diagnostics-page.tsx
-var Hz = {
+var Wz = {
ok: "正常",
warning: "需检查",
failed: "需处理",
unknown: "未取得",
disabled: "未配置"
-}, dEe = [
+}, lEe = [
["媒体库与挂载", ["media_mounts", "data_root"]],
["数据库与迁移", ["database", "schema"]],
["工具", ["ffmpeg"]],
@@ -55524,8 +55524,8 @@ var Hz = {
"version"
]],
["后台任务", ["tasks"]]
-], Uz = (e) => new Date(e).toLocaleString();
-function fEe({ name: e, check: t, navigate: n, configure: r }) {
+], Gz = (e) => new Date(e).toLocaleString();
+function uEe({ name: e, check: t, navigate: n, configure: r }) {
let i = e === "security" || e === "port" ? "网络与访问" : "媒体库与入库";
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0",
@@ -55537,7 +55537,7 @@ function fEe({ 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: Hz[t.status] ?? "未取得"
+ children: Wz[t.status] ?? "未取得"
})]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
@@ -55557,14 +55557,14 @@ function fEe({ name: e, check: t, navigate: n, configure: r }) {
]
});
}
-function pEe({ group: e, openItem: t, receipt: n }) {
- let r = Qk(), i = hL(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
- return /* @__PURE__ */ (0, x.jsx)(fA, {
+function dEe({ group: e, openItem: t, receipt: n }) {
+ let r = eA(), i = _L(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
+ return /* @__PURE__ */ (0, x.jsx)(mA, {
summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count.toLocaleString()} 项`}`,
children: e.count === null ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
children: "清单未取得,请重新检查。"
- }) : e.items.length ? /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
+ }) : e.items.length ? /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2",
children: [e.truncated ? /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -55599,20 +55599,20 @@ function pEe({ group: e, openItem: t, receipt: n }) {
}) }, e.id))
})
})
- ] }) : /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: Lme,
+ ] }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
+ icon: Fme,
title: "清单为空",
shell: "plain",
children: "没有需要处理的作品。"
})
});
}
-function mEe(e) {
+function fEe(e) {
let t = ut({
- queryKey: Bz,
- queryFn: ({ signal: e }) => Vz(e),
+ queryKey: Hz,
+ queryFn: ({ signal: e }) => Uz(e),
staleTime: 1e4
- }), n = Qk(), [r, i] = (0, b.useState)(""), a = () => void n.run("refresh", async () => {
+ }), n = eA(), [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;
@@ -55633,27 +55633,27 @@ function mEe(e) {
tone: "error",
children: r
}) : null,
- /* @__PURE__ */ (0, x.jsx)(nA, {
+ /* @__PURE__ */ (0, x.jsx)(iA, {
title: "库健康",
- children: /* @__PURE__ */ (0, x.jsxs)(iA, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {
+ children: /* @__PURE__ */ (0, x.jsxs)(oA, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ["处理记录 · ", Uz(o.library.issue_at)]
- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(pEe, {
+ children: ["处理记录 · ", Gz(o.library.issue_at)]
+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(dEe, {
group: n,
...e
}, t))] })
}),
- dEe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(nA, {
+ lEe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(iA, {
title: t,
- children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(fEe, {
+ children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(uEe, {
name: t,
check: o.checks[t],
...e
}, t) : null)
}, t)),
- /* @__PURE__ */ (0, x.jsx)(nA, {
+ /* @__PURE__ */ (0, x.jsx)(iA, {
title: "来源会话",
- children: /* @__PURE__ */ (0, x.jsxs)(iA, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: /* @__PURE__ */ (0, x.jsxs)(oA, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
/* @__PURE__ */ (0, x.jsxs)("h3", {
@@ -55661,25 +55661,25 @@ function mEe(e) {
children: [
e.label,
" · ",
- Hz[e.status] ?? "未取得"
+ Wz[e.status] ?? "未取得"
]
}),
- /* @__PURE__ */ (0, x.jsx)(jA, {
+ /* @__PURE__ */ (0, x.jsx)(NA, {
text: e.reason,
className: "text-body-regular text-text-primary"
}),
- /* @__PURE__ */ (0, x.jsxs)(uA, { children: [
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsxs)(fA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(pA, {
term: "上次解析成功",
- children: e.last_success_at ? Uz(e.last_success_at) : "未取得"
+ children: e.last_success_at ? Gz(e.last_success_at) : "未取得"
}),
- e.last_check_at ? /* @__PURE__ */ (0, x.jsxs)(dA, {
+ e.last_check_at ? /* @__PURE__ */ (0, x.jsxs)(pA, {
term: "上次检查",
- children: [Uz(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
+ children: [Gz(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsx)(pA, {
term: "冷却截止",
- children: e.cooldown_until ? Uz(e.cooldown_until) : "未在冷却"
+ children: e.cooldown_until ? Gz(e.cooldown_until) : "未在冷却"
})
] })
]
@@ -55708,21 +55708,21 @@ function mEe(e) {
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function hEe({ host: e, revision: t, helpers: n, actions: r }) {
- let i = ut(qL(null, n.feedRowHtml)), a = (0, b.useRef)(t);
+function pEe({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = ut(YL(null, n.feedRowHtml)), a = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
- a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: KL(null) }));
- }, [t]), (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(yz, {
+ a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: JL(null) }));
+ }, [t]), (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(xz, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: JL,
+ act: XL,
settled: r.settled
}), e);
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function Wz({ provider: e, label: t }) {
+function Kz({ provider: e, label: t }) {
let n = Vr(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,
@@ -55732,9 +55732,9 @@ function Wz({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, x.jsx)(Rb, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, x.jsx)(zb, { children: t }) : null] });
}
-function Gz({ group: e, name: t }) {
+function qz({ group: e, name: t }) {
let { src: n, fallback: r } = rr(e), [i, a] = (0, b.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, x.jsx)("img", {
src: o,
@@ -55751,15 +55751,15 @@ function Gz({ group: e, name: t }) {
children: nr(t)
});
}
-function Kz({ source: e }) {
+function Jz({ source: e }) {
let t = Yn(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, x.jsx)(Uk, {
+ return /* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: t,
children: Jn(e)
});
}
-function qz({ source: e }) {
+function Yz({ source: e }) {
return /* @__PURE__ */ (0, x.jsx)("a", {
href: e.url,
target: "_blank",
@@ -55769,7 +55769,7 @@ function qz({ source: e }) {
children: e.label
});
}
-function Jz({ text: e, prefix: t = "", tone: n = "error" }) {
+function Xz({ 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 = Xn(e);
(0, b.useLayoutEffect)(() => {
let e = r.current;
@@ -55800,11 +55800,11 @@ function Jz({ text: e, prefix: t = "", tone: n = "error" }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var Yz = Bk(JI, YI, "text-body-2-medium"), gEe = "粘贴来源链接,或输入创作者名、id…", _Ee = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", vEe = "识别中…", yEe = "站内没有查到来源", Xz = (e, t) => `${e}:${t.url}`;
-function bEe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var Zz = Hk(XI, ZI, "text-body-2-medium"), mEe = "粘贴来源链接,或输入创作者名、id…", hEe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", gEe = "识别中…", _Ee = "站内没有查到来源", Qz = (e, t) => `${e}:${t.url}`;
+function vEe({ 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)(kM, {
+ }, [t, r]), /* @__PURE__ */ (0, x.jsxs)(jM, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -55816,17 +55816,17 @@ function bEe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: Bk(qI, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: Hk(YI, "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)(Jk, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, x.jsx)(Xk, { 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 ? Bk(Yz, "bg-background-secondary-default") : Yz,
+ className: t === r ? Hk(Zz, "bg-background-secondary-default") : Zz,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -55846,7 +55846,7 @@ function bEe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function xEe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function yEe({ 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);
@@ -55854,20 +55854,20 @@ function xEe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
ref: i,
variant: "secondary",
- leadingIcon: Rme,
+ leadingIcon: Ime,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ }), /* @__PURE__ */ (0, x.jsx)(jM, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: qI,
- children: /* @__PURE__ */ (0, x.jsxs)(VM, {
+ className: YI,
+ children: /* @__PURE__ */ (0, x.jsxs)(UM, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -55883,16 +55883,16 @@ function xEe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, x.jsx)(oA, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, x.jsx)(cA, { 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)(AL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ML, {
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)(Wz, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, x.jsx)(Kz, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
@@ -55908,7 +55908,7 @@ function xEe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function SEe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function bEe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: e.line,
@@ -55916,7 +55916,7 @@ function SEe({ 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: Kk({
+ className: Jk({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -55927,15 +55927,15 @@ function SEe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = Xz(t, e);
- return /* @__PURE__ */ (0, x.jsx)(AL, {
+ let n = Qz(t, e);
+ return /* @__PURE__ */ (0, x.jsx)(ML, {
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)(Wz, { provider: e.provider }),
+ /* @__PURE__ */ (0, x.jsx)(Kz, { provider: e.provider }),
/* @__PURE__ */ (0, x.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -55951,22 +55951,22 @@ function SEe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, x.jsx)(oA, { children: yEe }),
+ }) : /* @__PURE__ */ (0, x.jsx)(cA, { children: _Ee }),
(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)(lA, {
+ }), /* @__PURE__ */ (0, x.jsx)(dA, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, x.jsx)(oA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, x.jsx)(cA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function xEe({ 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();
@@ -55986,7 +55986,7 @@ function CEe({ 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 } = EL({
+ }))), [k.data]), { job: j, running: M, outcome: N, start: P, dismiss: ee } = OL({
queryKey: zn,
queryFn: ({ signal: e }) => mr(e),
start: (e) => gr([e]),
@@ -56018,7 +56018,7 @@ function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, ie = N?.results || [], ae = ie.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: Xz(t, e)
+ key: Qz(t, e)
})).filter((e) => !C.has(e.key))), oe = dt({
mutationFn: async (e) => {
let t = [], n = [];
@@ -56048,7 +56048,7 @@ function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onError: (e) => E(B(e))
}), se = e.suggestions || [], ce = !s.includes("/");
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: Jk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -56068,16 +56068,16 @@ function CEe({ 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)(jN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(NN, {
"aria-label": "来源链接、名字或 id",
- placeholder: gEe,
+ placeholder: mEe,
value: a,
- leadingIcon: _k,
+ leadingIcon: yk,
enterKeyHint: "search",
isDisabled: n,
onChange: o,
onKeyDown: re
- }), I ? /* @__PURE__ */ (0, x.jsx)(bEe, {
+ }), I ? /* @__PURE__ */ (0, x.jsx)(vEe, {
field: _,
menu: v,
options: A,
@@ -56087,7 +56087,7 @@ function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: ne
}) : null]
}),
- /* @__PURE__ */ (0, x.jsx)(xEe, {
+ /* @__PURE__ */ (0, x.jsx)(yEe, {
credentials: t,
hidden: y,
onHidden: S,
@@ -56105,9 +56105,9 @@ function CEe({ 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)(yL, {
+ children: [M || P.isPending ? /* @__PURE__ */ (0, x.jsx)(xL, {
embedded: !0,
- label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : ce ? _Ee : vEe),
+ label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : ce ? hEe : gEe),
value: j?.checked,
total: j?.total
}) : null, T ? /* @__PURE__ */ (0, x.jsx)(K, {
@@ -56119,8 +56119,8 @@ function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
ie.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(cA, { children: "查找结果" }),
- ie.map((e, t) => /* @__PURE__ */ (0, x.jsx)(SEe, {
+ /* @__PURE__ */ (0, x.jsx)(uA, { children: "查找结果" }),
+ ie.map((e, t) => /* @__PURE__ */ (0, x.jsx)(bEe, {
row: e,
at: t,
hidden: y,
@@ -56175,16 +56175,16 @@ function CEe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var wEe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, Zz = (e) => e.alias;
-function TEe(e, t, n) {
+var SEe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, $z = (e) => e.alias;
+function CEe(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 Qz({ sources: e, name: t, canonicalKey: n }) {
+function eB({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Gz, {
- group: TEe(e, t, n),
+ children: [/* @__PURE__ */ (0, x.jsx)(qz, {
+ group: CEe(e, t, n),
name: t
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-body-medium",
@@ -56192,7 +56192,7 @@ function Qz({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+function wEe({ 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 = dt({
mutationFn: async (e) => {
let t = 0;
@@ -56232,9 +56232,9 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, _ = t.filter((e) => a.has(Zz(e))), v = t.length > 0 && _.length === t.length, y = q(p.isPending);
+ }, _ = t.filter((e) => a.has($z(e))), v = t.length > 0 && _.length === t.length, y = q(p.isPending);
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: Jk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -56245,10 +56245,10 @@ function EEe({ 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)(cA, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(uA, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -56256,7 +56256,7 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -56277,13 +56277,13 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, x.jsx)(sA, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, x.jsx)(lA, { 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)(cA, { children: "待合并" }),
+ /* @__PURE__ */ (0, x.jsx)(uA, { children: "待合并" }),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -56305,44 +56305,44 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, x.jsx)(ML, { children: /* @__PURE__ */ (0, x.jsxs)(jL, {
+ }), /* @__PURE__ */ (0, x.jsx)(PL, { children: /* @__PURE__ */ (0, x.jsxs)(NL, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(dN, { children: [
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(pN, { children: [
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "select",
- children: /* @__PURE__ */ (0, x.jsx)(AL, {
+ children: /* @__PURE__ */ (0, x.jsx)(ML, {
slot: null,
isSelected: v,
isIndeterminate: _.length > 0 && !v,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(Zz)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map($z)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(mN, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(mN, { children: t.map((e) => {
- let t = Zz(e);
- return /* @__PURE__ */ (0, x.jsxs)(_N, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(gN, { children: t.map((e) => {
+ let t = $z(e);
+ return /* @__PURE__ */ (0, x.jsxs)(yN, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)(AL, {
+ /* @__PURE__ */ (0, x.jsx)(xN, { children: /* @__PURE__ */ (0, x.jsx)(ML, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -56351,16 +56351,16 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)(Qz, {
+ /* @__PURE__ */ (0, x.jsx)(xN, { children: /* @__PURE__ */ (0, x.jsx)(eB, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: e.alias }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(xN, { children: e.alias }),
+ /* @__PURE__ */ (0, x.jsx)(xN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(xN, { children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
disabled: r,
@@ -56377,27 +56377,27 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
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)(cA, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(uA, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, x.jsx)(ML, { children: /* @__PURE__ */ (0, x.jsxs)(jL, {
+ }), e.length ? /* @__PURE__ */ (0, x.jsx)(PL, { children: /* @__PURE__ */ (0, x.jsxs)(NL, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(dN, { children: [/* @__PURE__ */ (0, x.jsx)(fN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(pN, { children: [/* @__PURE__ */ (0, x.jsx)(mN, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, x.jsx)(fN, {
+ }), /* @__PURE__ */ (0, x.jsx)(mN, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, x.jsx)(mN, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(_N, {
+ })] }), /* @__PURE__ */ (0, x.jsx)(gN, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(yN, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)(Qz, {
+ children: [/* @__PURE__ */ (0, x.jsx)(xN, { children: /* @__PURE__ */ (0, x.jsx)(eB, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, x.jsx)(yN, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, x.jsx)(xN, { 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",
@@ -56405,13 +56405,13 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: ck,
+ leadingIcon: uk,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...q(h.isPending),
onClick: () => void ls({
title: "移除创作者别名",
- body: wEe(e.name),
+ body: SEe(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => h.mutateAsync(e.name)
})
@@ -56419,9 +56419,9 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: $me,
+ icon: Zme,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -56431,7 +56431,7 @@ function EEe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function $z() {
+function tB() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -56444,24 +56444,24 @@ function $z() {
group: (e) => e
};
}
-function eB(e, t) {
+function nB(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function tB(e, t) {
+function rB(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: eB(n, t[e])
+ [e]: nB(n, t[e])
}));
};
}
-function nB(e) {
+function iB(e) {
return e instanceof Function;
}
-function DEe(e) {
+function TEe(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function OEe(e, t) {
+function EEe(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -56471,7 +56471,7 @@ function OEe(e, t) {
};
return r(e), n;
}
-function rB(e, t, n) {
+function aB(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -56493,21 +56493,21 @@ function rB(e, t, n) {
return i;
};
}
-function iB(e, t, n, r) {
+function oB(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function kEe(e, t, n, r) {
+function DEe(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: rB(() => [
+ getContext: aB(() => [
e,
n,
t,
@@ -56519,13 +56519,13 @@ function kEe(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), iB(e.options, "debugCells", "cell.getContext"))
+ }), oB(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function AEe(e, t, n, r) {
+function OEe(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -56542,17 +56542,17 @@ function AEe(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: rB(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], iB(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: rB(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: aB(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], oB(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: aB(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, iB(e.options, "debugColumns", "column.getLeafColumns"))
+ }, oB(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var aB = "debugHeaders";
-function oB(e, t, n) {
+var sB = "debugHeaders";
+function cB(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -56580,42 +56580,42 @@ function oB(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var jEe = { createTable: (e) => {
- e.getHeaderGroups = rB(() => [
+var kEe = { createTable: (e) => {
+ e.getHeaderGroups = aB(() => [
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 sB(t, [
+ return lB(t, [
...a,
...s,
...o
], e);
- }, iB(e.options, aB, "getHeaderGroups")), e.getCenterHeaderGroups = rB(() => [
+ }, oB(e.options, sB, "getHeaderGroups")), e.getCenterHeaderGroups = aB(() => [
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))), sB(t, n, e, "center")), iB(e.options, aB, "getCenterHeaderGroups")), e.getLeftHeaderGroups = rB(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), lB(t, n, e, "center")), oB(e.options, sB, "getCenterHeaderGroups")), e.getLeftHeaderGroups = aB(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => sB(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), iB(e.options, aB, "getLeftHeaderGroups")), e.getRightHeaderGroups = rB(() => [
+ ], (t, n, r) => lB(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), oB(e.options, sB, "getLeftHeaderGroups")), e.getRightHeaderGroups = aB(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => sB(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), iB(e.options, aB, "getRightHeaderGroups")), e.getFooterGroups = rB(() => [e.getHeaderGroups()], (e) => [...e].reverse(), iB(e.options, aB, "getFooterGroups")), e.getLeftFooterGroups = rB(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), iB(e.options, aB, "getLeftFooterGroups")), e.getCenterFooterGroups = rB(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), iB(e.options, aB, "getCenterFooterGroups")), e.getRightFooterGroups = rB(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), iB(e.options, aB, "getRightFooterGroups")), e.getFlatHeaders = rB(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), iB(e.options, aB, "getFlatHeaders")), e.getLeftFlatHeaders = rB(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), iB(e.options, aB, "getLeftFlatHeaders")), e.getCenterFlatHeaders = rB(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), iB(e.options, aB, "getCenterFlatHeaders")), e.getRightFlatHeaders = rB(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), iB(e.options, aB, "getRightFlatHeaders")), e.getCenterLeafHeaders = rB(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => lB(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), oB(e.options, sB, "getRightHeaderGroups")), e.getFooterGroups = aB(() => [e.getHeaderGroups()], (e) => [...e].reverse(), oB(e.options, sB, "getFooterGroups")), e.getLeftFooterGroups = aB(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), oB(e.options, sB, "getLeftFooterGroups")), e.getCenterFooterGroups = aB(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), oB(e.options, sB, "getCenterFooterGroups")), e.getRightFooterGroups = aB(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), oB(e.options, sB, "getRightFooterGroups")), e.getFlatHeaders = aB(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), oB(e.options, sB, "getFlatHeaders")), e.getLeftFlatHeaders = aB(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), oB(e.options, sB, "getLeftFlatHeaders")), e.getCenterFlatHeaders = aB(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), oB(e.options, sB, "getCenterFlatHeaders")), e.getRightFlatHeaders = aB(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), oB(e.options, sB, "getRightFlatHeaders")), e.getCenterLeafHeaders = aB(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), iB(e.options, aB, "getCenterLeafHeaders")), e.getLeftLeafHeaders = rB(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), oB(e.options, sB, "getCenterLeafHeaders")), e.getLeftLeafHeaders = aB(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), iB(e.options, aB, "getLeftLeafHeaders")), e.getRightLeafHeaders = rB(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), oB(e.options, sB, "getLeftLeafHeaders")), e.getRightLeafHeaders = aB(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), iB(e.options, aB, "getRightLeafHeaders")), e.getLeafHeaders = rB(() => [
+ }), oB(e.options, sB, "getRightLeafHeaders")), e.getLeafHeaders = aB(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -56623,9 +56623,9 @@ var jEe = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), iB(e.options, aB, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), oB(e.options, sB, "getLeafHeaders"));
} };
-function sB(e, t, n, r) {
+function lB(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;
@@ -56643,7 +56643,7 @@ function sB(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 = oB(n, c, {
+ let i = cB(n, c, {
id: [
r,
t,
@@ -56660,7 +56660,7 @@ function sB(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) => oB(n, e, {
+ s(t.map((e, t) => cB(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -56678,7 +56678,7 @@ function sB(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var MEe = (e, t, n, r, i, a, o) => {
+var AEe = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -56699,7 +56699,7 @@ var MEe = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => OEe(s.subRows, (e) => e.subRows),
+ getLeafRows: () => EEe(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -56710,95 +56710,95 @@ var MEe = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: rB(() => [e.getAllLeafColumns()], (t) => t.map((t) => kEe(e, s, t, t.id)), iB(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: rB(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), iB(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: aB(() => [e.getAllLeafColumns()], (t) => t.map((t) => DEe(e, s, t, t.id)), oB(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: aB(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), oB(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;
-}, NEe = { createColumn: (e, t) => {
+}, jEe = { 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();
};
-} }, cB = (e, t, n) => {
+} }, uB = (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));
};
-cB.autoRemove = (e) => vB(e);
-var lB = (e, t, n) => {
+uB.autoRemove = (e) => bB(e);
+var dB = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-lB.autoRemove = (e) => vB(e);
-var uB = (e, t, n) => {
+dB.autoRemove = (e) => bB(e);
+var fB = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-uB.autoRemove = (e) => vB(e);
-var dB = (e, t, n) => e.getValue(t)?.includes(n);
-dB.autoRemove = (e) => vB(e);
-var fB = (e, t, n) => !n.some((n) => {
+fB.autoRemove = (e) => bB(e);
+var pB = (e, t, n) => e.getValue(t)?.includes(n);
+pB.autoRemove = (e) => bB(e);
+var mB = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-fB.autoRemove = (e) => vB(e) || !(e != null && e.length);
-var pB = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-pB.autoRemove = (e) => vB(e) || !(e != null && e.length);
-var mB = (e, t, n) => e.getValue(t) === n;
-mB.autoRemove = (e) => vB(e);
-var hB = (e, t, n) => e.getValue(t) == n;
-hB.autoRemove = (e) => vB(e);
-var gB = (e, t, n) => {
+mB.autoRemove = (e) => bB(e) || !(e != null && e.length);
+var hB = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+hB.autoRemove = (e) => bB(e) || !(e != null && e.length);
+var gB = (e, t, n) => e.getValue(t) === n;
+gB.autoRemove = (e) => bB(e);
+var _B = (e, t, n) => e.getValue(t) == n;
+_B.autoRemove = (e) => bB(e);
+var vB = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-gB.resolveFilterValue = (e) => {
+vB.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];
-}, gB.autoRemove = (e) => vB(e) || vB(e[0]) && vB(e[1]);
-var _B = {
- includesString: cB,
- includesStringSensitive: lB,
- equalsString: uB,
- arrIncludes: dB,
- arrIncludesAll: fB,
- arrIncludesSome: pB,
- equals: mB,
- weakEquals: hB,
- inNumberRange: gB
+}, vB.autoRemove = (e) => bB(e) || bB(e[0]) && bB(e[1]);
+var yB = {
+ includesString: uB,
+ includesStringSensitive: dB,
+ equalsString: fB,
+ arrIncludes: pB,
+ arrIncludesAll: mB,
+ arrIncludesSome: hB,
+ equals: gB,
+ weakEquals: _B,
+ inNumberRange: vB
};
-function vB(e) {
+function bB(e) {
return e == null || e === "";
}
-var PEe = {
+var MEe = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: tB("columnFilters", e),
+ onColumnFiltersChange: rB("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? _B.includesString : typeof n == "number" ? _B.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? _B.equals : Array.isArray(n) ? _B.arrIncludes : _B.weakEquals;
- }, e.getFilterFn = () => nB(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? _B[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" ? yB.includesString : typeof n == "number" ? yB.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? yB.equals : Array.isArray(n) ? yB.arrIncludes : yB.weakEquals;
+ }, e.getFilterFn = () => iB(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? yB[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 = eB(n, i ? i.value : void 0);
- if (yB(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = nB(n, i ? i.value : void 0);
+ if (xB(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -56813,19 +56813,19 @@ var PEe = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => eB(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => nB(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && yB(t.getFilterFn(), e.value, t));
+ return !(t && xB(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 yB(e, t, n) {
+function xB(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var bB = {
+var SB = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -56861,7 +56861,7 @@ var bB = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!DEe(n)) return;
+ if (!TEe(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];
@@ -56869,7 +56869,7 @@ var bB = {
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
-}, FEe = {
+}, NEe = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -56882,7 +56882,7 @@ var bB = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: tB("grouping", e),
+ onGroupingChange: rB("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -56895,11 +56895,11 @@ var bB = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return bB.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return bB.extent;
+ if (typeof n == "number") return SB.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return SB.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return nB(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? bB[e.columnDef.aggregationFn];
+ return iB(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? SB[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -56921,27 +56921,27 @@ var bB = {
};
}
};
-function IEe(e, t, n) {
+function PEe(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 LEe = {
+var FEe = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: tB("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: rB("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = rB((e) => [EB(t, e)], (t) => t.findIndex((t) => t.id === e.id), iB(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => EB(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = EB(t, n);
+ e.getIndex = aB((e) => [OB(t, e)], (t) => t.findIndex((t) => t.id === e.id), oB(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => OB(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = OB(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 = rB(() => [
+ }, e._getOrderColumnsFn = aB(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -56956,18 +56956,18 @@ var LEe = {
}
i = [...i, ...n];
}
- return IEe(i, t, n);
- }, iB(e.options, "debugTable", "_getOrderColumnsFn"));
+ return PEe(i, t, n);
+ }, oB(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, xB = () => ({
+}, CB = () => ({
left: [],
right: []
-}), REe = {
+}), IEe = {
getInitialState: (e) => ({
- columnPinning: xB(),
+ columnPinning: CB(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: tB("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: rB("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -56991,75 +56991,75 @@ var LEe = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = rB(() => [
+ e.getCenterVisibleCells = aB(() => [
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));
- }, iB(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = rB(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, oB(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = aB(() => [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"
- })), iB(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = rB(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), oB(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = aB(() => [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"
- })), iB(t.options, "debugRows", "getRightVisibleCells"));
+ })), oB(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 ? xB() : e.initialState?.columnPinning ?? xB()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? CB() : e.initialState?.columnPinning ?? CB()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = rB(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), iB(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = rB(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), iB(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = rB(() => [
+ }, e.getLeftLeafColumns = aB(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), oB(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = aB(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), oB(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = aB(() => [
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));
- }, iB(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, oB(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function zEe(e) {
+function LEe(e) {
return e || (typeof document < "u" ? document : null);
}
-var SB = {
+var wB = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, CB = () => ({
+}, TB = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), BEe = {
- getDefaultColumnDef: () => SB,
+}), REe = {
+ getDefaultColumnDef: () => wB,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: CB(),
+ columnSizingInfo: TB(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: tB("columnSizing", e),
- onColumnSizingInfoChange: tB("columnSizingInfo", e)
+ onColumnSizingChange: rB("columnSizing", e),
+ onColumnSizingInfoChange: rB("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? SB.minSize, n ?? e.columnDef.size ?? SB.size), e.columnDef.maxSize ?? SB.maxSize);
- }, e.getStart = rB((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? wB.minSize, n ?? e.columnDef.size ?? wB.size), e.columnDef.maxSize ?? wB.maxSize);
+ }, e.getStart = aB((e) => [
e,
- EB(t, e),
+ OB(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), iB(t.options, "debugColumns", "getStart")), e.getAfter = rB((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), oB(t.options, "debugColumns", "getStart")), e.getAfter = aB((e) => [
e,
- EB(t, e),
+ OB(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), iB(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), oB(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -57081,8 +57081,8 @@ var SB = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), TB(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 = TB(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), DB(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 = DB(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) => {
@@ -57107,7 +57107,7 @@ var SB = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = zEe(n), m = {
+ }, p = LEe(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -57117,8 +57117,8 @@ var SB = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = VEe() ? { passive: !1 } : !1;
- TB(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 = zEe() ? { passive: !1 } : !1;
+ DB(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,
@@ -57134,12 +57134,12 @@ var SB = {
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 ? CB() : e.initialState.columnSizingInfo ?? CB());
+ e.setColumnSizingInfo(t ? TB() : e.initialState.columnSizingInfo ?? TB());
}, 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;
}
-}, wB = null;
-function VEe() {
- if (typeof wB == "boolean") return wB;
+}, EB = null;
+function zEe() {
+ if (typeof EB == "boolean") return EB;
let e = !1;
try {
let t = { get passive() {
@@ -57149,17 +57149,17 @@ function VEe() {
} catch {
e = !1;
}
- return wB = e, wB;
+ return EB = e, EB;
}
-function TB(e) {
+function DB(e) {
return e.type === "touchstart";
}
-var HEe = {
+var BEe = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: tB("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: rB("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -57174,7 +57174,7 @@ var HEe = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = rB(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), iB(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = rB(() => [
+ e._getAllVisibleCells = aB(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), oB(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = aB(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -57182,10 +57182,10 @@ var HEe = {
...e,
...t,
...n
- ], iB(t.options, "debugRows", "getVisibleCells"));
+ ], oB(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => rB(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), iB(e.options, "debugColumns", t));
+ let t = (t, n) => aB(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), oB(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) => {
@@ -57198,20 +57198,20 @@ var HEe = {
};
}
};
-function EB(e, t) {
+function OB(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var UEe = { createTable: (e) => {
+var VEe = { 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();
};
-} }, WEe = {
+} }, HEe = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: tB("globalFilter", e),
+ onGlobalFilterChange: rB("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -57223,22 +57223,22 @@ var UEe = { 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 = () => _B.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => yB.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return nB(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? _B[t];
+ return iB(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? yB[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, GEe = {
+}, UEe = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: tB("expanded", e),
+ onExpandedChange: rB("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -57306,18 +57306,18 @@ var UEe = { createTable: (e) => {
};
};
}
-}, DB = 0, OB = 10, kB = () => ({
- pageIndex: DB,
- pageSize: OB
-}), KEe = {
+}, kB = 0, AB = 10, jB = () => ({
+ pageIndex: kB,
+ pageSize: AB
+}), WEe = {
getInitialState: (e) => ({
...e,
pagination: {
- ...kB(),
+ ...jB(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: tB("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: rB("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -57330,11 +57330,11 @@ var UEe = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => eB(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? kB() : e.initialState.pagination ?? kB());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => nB(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? jB() : e.initialState.pagination ?? jB());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = eB(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = nB(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
@@ -57342,13 +57342,13 @@ var UEe = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? DB : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? DB);
+ e.setPageIndex(t ? kB : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? kB);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? OB : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? OB);
+ e.setPageSize(t ? AB : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? AB);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, eB(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, nB(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -57356,28 +57356,28 @@ var UEe = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = eB(t, e.options.pageCount ?? -1);
+ let r = nB(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = rB(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = aB(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, iB(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, oB(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;
}
-}, AB = () => ({
+}, MB = () => ({
top: [],
bottom: []
-}), qEe = {
+}), GEe = {
getInitialState: (e) => ({
- rowPinning: AB(),
+ rowPinning: MB(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: tB("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: rB("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -57416,7 +57416,7 @@ var UEe = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? AB() : e.initialState?.rowPinning ?? AB()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? MB() : e.initialState?.rowPinning ?? MB()), 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) => {
@@ -57425,22 +57425,22 @@ var UEe = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = rB(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), iB(e.options, "debugRows", "getTopRows")), e.getBottomRows = rB(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), iB(e.options, "debugRows", "getBottomRows")), e.getCenterRows = rB(() => [
+ })), e.getTopRows = aB(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), oB(e.options, "debugRows", "getTopRows")), e.getBottomRows = aB(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), oB(e.options, "debugRows", "getBottomRows")), e.getCenterRows = aB(() => [
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));
- }, iB(e.options, "debugRows", "getCenterRows"));
+ }, oB(e.options, "debugRows", "getCenterRows"));
}
-}, JEe = {
+}, KEe = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: tB("rowSelection", e),
+ onRowSelectionChange: rB("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -57459,21 +57459,21 @@ var UEe = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- jB(i, t.id, r, !0, e);
+ NB(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = rB(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? MB(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = aB(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? PB(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, iB(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = rB(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? MB(e, n) : {
+ }, oB(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = aB(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? PB(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, iB(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = rB(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? MB(e, n) : {
+ }, oB(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = aB(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? PB(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, iB(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, oB(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 = () => {
@@ -57497,17 +57497,17 @@ var UEe = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return jB(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return NB(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return NB(e, n);
+ return FB(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return PB(e, n) === "some";
+ return IB(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return PB(e, n) === "all";
+ return IB(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) => {
@@ -57515,16 +57515,16 @@ var UEe = { createTable: (e) => {
};
};
}
-}, jB = (e, t, n, r, i) => {
+}, NB = (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) => jB(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) => NB(e, t.id, n, r, i));
};
-function MB(e, t) {
+function PB(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = NB(e, n);
+ let o = FB(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -57537,32 +57537,32 @@ function MB(e, t) {
rowsById: i
};
}
-function NB(e, t) {
+function FB(e, t) {
return t[e.id] ?? !1;
}
-function PB(e, t, n) {
+function IB(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() && (NB(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = PB(e, t);
+ if ((!a || i) && (e.getCanSelect() && (FB(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = IB(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var FB = /([0-9]+)/gm, YEe = (e, t, n) => RB(LB(e.getValue(n)).toLowerCase(), LB(t.getValue(n)).toLowerCase()), XEe = (e, t, n) => RB(LB(e.getValue(n)), LB(t.getValue(n))), ZEe = (e, t, n) => IB(LB(e.getValue(n)).toLowerCase(), LB(t.getValue(n)).toLowerCase()), QEe = (e, t, n) => IB(LB(e.getValue(n)), LB(t.getValue(n))), $Ee = (e, t, n) => {
+var LB = /([0-9]+)/gm, qEe = (e, t, n) => BB(zB(e.getValue(n)).toLowerCase(), zB(t.getValue(n)).toLowerCase()), JEe = (e, t, n) => BB(zB(e.getValue(n)), zB(t.getValue(n))), YEe = (e, t, n) => RB(zB(e.getValue(n)).toLowerCase(), zB(t.getValue(n)).toLowerCase()), XEe = (e, t, n) => RB(zB(e.getValue(n)), zB(t.getValue(n))), ZEe = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, eDe = (e, t, n) => IB(e.getValue(n), t.getValue(n));
-function IB(e, t) {
+}, QEe = (e, t, n) => RB(e.getValue(n), t.getValue(n));
+function RB(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function LB(e) {
+function zB(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function RB(e, t) {
- let n = e.split(FB).filter(Boolean), r = t.split(FB).filter(Boolean);
+function BB(e, t) {
+ let n = e.split(LB).filter(Boolean), r = t.split(LB).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])) {
@@ -57576,22 +57576,22 @@ function RB(e, t) {
}
return n.length - r.length;
}
-var zB = {
- alphanumeric: YEe,
- alphanumericCaseSensitive: XEe,
- text: ZEe,
- textCaseSensitive: QEe,
- datetime: $Ee,
- basic: eDe
-}, tDe = [
+var VB = {
+ alphanumeric: qEe,
+ alphanumericCaseSensitive: JEe,
+ text: YEe,
+ textCaseSensitive: XEe,
+ datetime: ZEe,
+ basic: QEe
+}, $Ee = [
+ kEe,
+ BEe,
+ FEe,
+ IEe,
jEe,
+ MEe,
+ VEe,
HEe,
- LEe,
- REe,
- NEe,
- PEe,
- UEe,
- WEe,
{
getInitialState: (e) => ({
sorting: [],
@@ -57602,7 +57602,7 @@ var zB = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: tB("sorting", e),
+ onSortingChange: rB("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -57610,13 +57610,13 @@ var zB = {
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 zB.datetime;
- if (typeof n == "string" && (r = !0, n.split(FB).length > 1)) return zB.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return VB.datetime;
+ if (typeof n == "string" && (r = !0, n.split(LB).length > 1)) return VB.alphanumeric;
}
- return r ? zB.text : zB.basic;
+ return r ? VB.text : VB.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return nB(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? zB[e.columnDef.sortingFn];
+ return iB(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? VB[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -57653,15 +57653,15 @@ var zB = {
}, 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());
}
},
- FEe,
+ NEe,
+ UEe,
+ WEe,
GEe,
KEe,
- qEe,
- JEe,
- BEe
+ REe
];
-function nDe(e) {
- let t = [...tDe, ...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 eDe(e) {
+ let t = [...$Ee, ...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 ?? {} };
@@ -57687,7 +57687,7 @@ function nDe(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = eB(e, n.options);
+ let t = nB(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -57702,7 +57702,7 @@ function nDe(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: rB(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: aB(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -57713,20 +57713,20 @@ function nDe(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), iB(e, "debugColumns", "_getDefaultColumnDef")),
+ }), oB(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: rB(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: aB(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = AEe(n, e, i, r), o = e;
+ let a = OEe(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, iB(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: rB(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), iB(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: rB(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), iB(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: rB(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), iB(e, "debugColumns", "getAllLeafColumns")),
+ }, oB(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: aB(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), oB(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: aB(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), oB(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: aB(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), oB(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -57736,8 +57736,8 @@ function nDe(e) {
}
return n;
}
-function BB() {
- return (e) => rB(() => [e.options.data], (t) => {
+function HB() {
+ return (e) => aB(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -57746,7 +57746,7 @@ function BB() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = MEe(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = AEe(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));
@@ -57755,9 +57755,9 @@ function BB() {
return o;
};
return n.rows = r(t), n;
- }, iB(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, oB(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function rDe(e) {
+function tDe(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -57768,8 +57768,8 @@ function rDe(e) {
rowsById: e.rowsById
};
}
-function VB(e) {
- return (e) => rB(() => [
+function UB(e) {
+ return (e) => aB(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -57782,7 +57782,7 @@ function VB(e) {
rows: a,
flatRows: o,
rowsById: s
- } : rDe({
+ } : tDe({
rows: a,
flatRows: o,
rowsById: s
@@ -57791,32 +57791,32 @@ function VB(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, iB(e.options, "debugTable", "getPaginationRowModel"));
+ }, oB(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function HB(e, t) {
- return e ? iDe(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;
+function WB(e, t) {
+ return e ? nDe(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;
}
-function iDe(e) {
- return aDe(e) || typeof e == "function" || oDe(e);
+function nDe(e) {
+ return rDe(e) || typeof e == "function" || iDe(e);
}
-function aDe(e) {
+function rDe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function oDe(e) {
+function iDe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function UB(e) {
+function GB(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = b.useState(() => ({ current: nDe(t) })), [r, i] = b.useState(() => n.current.initialState);
+ }, [n] = b.useState(() => ({ current: eDe(t) })), [r, i] = b.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -57831,7 +57831,7 @@ function UB(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var sDe = Vk({
+var aDe = Uk({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -57893,23 +57893,23 @@ var sDe = Vk({
}
}
});
-function cDe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = sDe[t];
+function oDe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = aDe[t];
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
- className: Bk("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? Bk("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: Hk("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? Hk("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: Bk("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: Bk("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: Hk("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: Hk("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 WB({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsx)(sve, {
+function KB({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsx)(ave, {
ref: i,
...a,
- className: (t) => Bk("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)(cDe, {
+ className: (t) => Hk("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)(oDe, {
state: e,
size: n,
shape: r
@@ -57921,8 +57921,8 @@ function WB({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var GB = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", lDe = "输入女优名,到 JavDB 找她的演员页";
-function uDe(e, t) {
+var qB = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", sDe = "输入女优名,到 JavDB 找她的演员页";
+function cDe(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 {
@@ -57941,10 +57941,10 @@ function uDe(e, t) {
blocked: !1
};
}
-function dDe({ card: e, picked: t, onPick: n }) {
+function lDe({ 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)(AL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ML, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -57954,7 +57954,7 @@ function dDe({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, x.jsx)(Uk, {
+ e.record ? /* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: "neutral",
children: e.record
@@ -57965,14 +57965,14 @@ function dDe({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, x.jsx)(lA, {
+ }), /* @__PURE__ */ (0, x.jsx)(dA, {
href: e.url,
children: e.id
})]
});
}
-function fDe({ 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 = Qk(), u = () => {
+function uDe({ 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 = eA(), u = () => {
let t = r.trim();
t && !e && l.run("lookup", (e) => kr(t, e), (e) => {
o(e), c(new Set(e.suggested));
@@ -57985,9 +57985,9 @@ function fDe({ readOnly: e, toast: t, onAdded: n }) {
a && l.run("follow", (e) => Ar(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? uDe(a, s) : null;
+ }, m = a ? cDe(a, s) : null;
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: Jk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -58000,11 +58000,11 @@ function fDe({ 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)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(NN, {
"aria-label": "女优名",
- placeholder: lDe,
+ placeholder: sDe,
value: r,
- leadingIcon: _k,
+ leadingIcon: yk,
enterKeyHint: "search",
isDisabled: e,
onChange: i,
@@ -58026,16 +58026,16 @@ function fDe({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(cA, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(dDe, {
+ /* @__PURE__ */ (0, x.jsx)(uA, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(lDe, {
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)(oA, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(oA, {
+ }, e.id)) : /* @__PURE__ */ (0, x.jsx)(cA, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(cA, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -58062,19 +58062,19 @@ function fDe({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var KB = (e) => (Number(e) || 0).toLocaleString(), pDe = Object.fromEntries(Object.entries(Un).map(([e, t]) => [t, e])), qB = 740;
-function mDe() {
+var JB = (e) => (Number(e) || 0).toLocaleString(), dDe = Object.fromEntries(Object.entries(Un).map(([e, t]) => [t, e])), YB = 740;
+function fDe() {
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 < qB));
- r.observe(e), n.current = r, t(e.clientWidth < qB);
+ let r = new ResizeObserver(() => t(e.clientWidth < YB));
+ r.observe(e), n.current = r, t(e.clientWidth < YB);
}, []);
return (0, b.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var hDe = {
+var pDe = {
select: "选择",
author: "创作者",
source: "来源",
@@ -58083,7 +58083,7 @@ var hDe = {
checked: "上次检查",
actions: "操作"
};
-function JB({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function XB({ 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",
@@ -58120,33 +58120,33 @@ function JB({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
]
});
}
-function gDe({ source: e, selected: t, onToggle: n, handlers: r }) {
+function mDe({ 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) => {
- AP(e, e.currentTarget) && n(!t);
+ MP(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, x.jsx)(AL, {
+ /* @__PURE__ */ (0, x.jsx)(ML, {
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)(qz, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(Jz, { text: e.last_error }) : null]
+ children: [/* @__PURE__ */ (0, x.jsx)(Yz, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(Xz, { 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)(Wz, {
+ children: /* @__PURE__ */ (0, x.jsx)(Kz, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, x.jsx)(Kz, { source: e }),
+ /* @__PURE__ */ (0, x.jsx)(Jz, { 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",
@@ -58155,7 +58155,7 @@ function gDe({ 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: zr(e)
}),
- /* @__PURE__ */ (0, x.jsx)(WB, {
+ /* @__PURE__ */ (0, x.jsx)(KB, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -58167,7 +58167,7 @@ function gDe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: gk,
+ leadingIcon: vk,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...q(r.busy),
@@ -58176,7 +58176,7 @@ function gDe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: dk,
+ leadingIcon: pk,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -58187,11 +58187,11 @@ function gDe({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function _De({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
+function hDe({ 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(Yn).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = lr(r, c);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: Kk({
+ className: Jk({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -58201,7 +58201,7 @@ function _De({ 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)(Gz, {
+ /* @__PURE__ */ (0, x.jsx)(qz, {
group: e,
name: t
}),
@@ -58213,7 +58213,7 @@ function _De({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: gk,
+ leadingIcon: vk,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...q(i.busy),
@@ -58226,7 +58226,7 @@ function _De({ 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)(Wz, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, x.jsx)(Rb, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, x.jsx)(Kz, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, x.jsx)(zb, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -58235,7 +58235,7 @@ function _De({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Ame,
+ leadingIcon: Ome,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -58246,7 +58246,7 @@ function _De({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? Eme : ak,
+ leadingIcon: n ? wme : sk,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -58258,7 +58258,7 @@ function _De({ 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)(gDe, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(mDe, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -58267,8 +58267,8 @@ function _De({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function vDe(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] = mDe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => ar(g, n, r, _), [
+function gDe(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] = fDe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => ar(g, n, r, _), [
g,
n,
r,
@@ -58278,7 +58278,7 @@ function vDe(e) {
n,
r,
_
- ]), { job: k, running: A, outcome: j, start: M } = EL({
+ ]), { job: k, running: A, outcome: j, start: M } = OL({
queryKey: Rn,
queryFn: ({ signal: e }) => pr(e),
start: (e) => hr(e),
@@ -58365,12 +58365,12 @@ function vDe(e) {
readOnly: c
};
let oe = ae.current, se = (0, b.useMemo)(() => {
- let e = $z(), t = (e) => () => hDe[e] || e;
+ let e = tB(), t = (e) => () => pDe[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(AL, {
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(ML, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -58382,7 +58382,7 @@ function vDe(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)(Gz, {
+ children: [/* @__PURE__ */ (0, x.jsx)(qz, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, x.jsx)("span", {
@@ -58396,7 +58396,7 @@ function vDe(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)(qz, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(Jz, { text: e.row.original.source.last_error }) : null]
+ children: [/* @__PURE__ */ (0, x.jsx)(Yz, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(Xz, { text: e.row.original.source.last_error }) : null]
})
}),
e.accessor((e) => e.source.provider_label, {
@@ -58404,13 +58404,13 @@ function vDe(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(Wz, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, x.jsx)(Kz, { 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)(Kz, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(Jz, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
@@ -58423,7 +58423,7 @@ function vDe(e) {
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(WB, {
+ /* @__PURE__ */ (0, x.jsx)(KB, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: oe.readOnly,
@@ -58433,7 +58433,7 @@ function vDe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: gk,
+ leadingIcon: vk,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || oe.readOnly,
...q(oe.busy),
@@ -58443,7 +58443,7 @@ function vDe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: dk,
+ leadingIcon: pk,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: oe.readOnly,
onClick: () => ae.current.remove(e.row.original.source)
@@ -58453,12 +58453,12 @@ function vDe(e) {
})
];
}, [oe]), ce = (0, b.useMemo)(() => {
- let e = pDe[n];
+ let e = dDe[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), le = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ue = a === "table", de = sr(ue ? O.length : D.length, o, i), fe = UB({
+ }, [n, r]), le = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ue = a === "table", de = sr(ue ? O.length : D.length, o, i), fe = GB({
data: O,
columns: se,
getRowId: (e) => String(e.source.id),
@@ -58489,11 +58489,11 @@ function vDe(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && u(n.pageIndex + 1) : f(n.pageSize);
},
- getCoreRowModel: BB(),
- getPaginationRowModel: VB()
+ getCoreRowModel: HB(),
+ getPaginationRowModel: UB()
}), pe = fe.getRowModel().rows, me = ue ? pe.map((e) => e.original.source.id) : D.slice(de.start, de.end).flatMap((e) => e.map((e) => e.id)), he = lr(s, me), ge = [...s], _e = Lr(j), ve = g.filter((e) => e.enabled && (e.last_status === "error" || e.last_status === "unauthorized")).map((e) => e.id), ye = Rr(j), be = D.length > 0 && y.size >= D.length;
return g.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: Jk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -58510,12 +58510,12 @@ function vDe(e) {
children: "关注列表"
}), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${KB(v.new)} 条未看` : ""}`
+ children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${JB(v.new)} 条未看` : ""}`
})]
}),
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
- leadingIcon: gk,
+ leadingIcon: vk,
disabled: c,
"aria-label": "检查全部",
iconOnly: w,
@@ -58541,20 +58541,20 @@ function vDe(e) {
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Wme,
+ leadingIcon: Hme,
"aria-label": Vn[0][1],
"aria-pressed": !ue,
onClick: () => d("default")
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Yme,
+ leadingIcon: qme,
"aria-label": Vn[1][1],
"aria-pressed": ue,
onClick: () => d("table")
})]
}),
- /* @__PURE__ */ (0, x.jsx)(CL, {
+ /* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
@@ -58562,7 +58562,7 @@ function vDe(e) {
let t = String(e);
l(t, dn[t]);
},
- children: ln.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ children: ln.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e,
children: t
}, e))
@@ -58570,14 +58570,14 @@ function vDe(e) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? Tme : wme,
+ leadingIcon: r === "asc" ? Cme : Sme,
"aria-label": Kn(n, r),
onClick: () => l(n, r === "asc" ? "desc" : "asc")
}),
ue ? null : /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: be ? ak : Eme,
+ leadingIcon: be ? sk : wme,
"aria-label": be ? "全部展开" : "全部收起",
onClick: () => S(be ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
children: be ? "全部展开" : "全部收起"
@@ -58590,7 +58590,7 @@ function vDe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? /* @__PURE__ */ (0, x.jsx)(yL, {
+ A ? /* @__PURE__ */ (0, x.jsx)(xL, {
embedded: !0,
label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),
value: k?.checked,
@@ -58621,7 +58621,7 @@ function vDe(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(nT, {
+ /* @__PURE__ */ (0, x.jsxs)(rT, {
label: "关注来源批量操作",
visible: ge.length > 0,
count: `已选 ${ge.length} 个来源`,
@@ -58681,10 +58681,10 @@ function vDe(e) {
})
]
}),
- ue ? /* @__PURE__ */ (0, x.jsx)(ML, {
+ ue ? /* @__PURE__ */ (0, x.jsx)(PL, {
follow: !0,
onRowClick: (e) => P(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, x.jsxs)(jL, {
+ children: /* @__PURE__ */ (0, x.jsxs)(NL, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: ce[0] ? {
@@ -58695,9 +58695,9 @@ function vDe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, x.jsx)(dN, { children: fe.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in Un, n = HB(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, x.jsx)(fN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(pN, { children: fe.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in Un, n = WB(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, x.jsx)(mN, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -58706,20 +58706,20 @@ function vDe(e) {
children: [n, /* @__PURE__ */ (0, x.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(kSe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(DSe, {})
})]
- }) : /* @__PURE__ */ (0, x.jsx)(Rb, { children: n })
+ }) : /* @__PURE__ */ (0, x.jsx)(zb, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, x.jsx)(mN, {
+ }) }), /* @__PURE__ */ (0, x.jsx)(gN, {
renderEmptyState: () => "这一页没有来源",
- children: pe.map((e) => /* @__PURE__ */ (0, x.jsx)(_N, {
+ children: pe.map((e) => /* @__PURE__ */ (0, x.jsx)(yN, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(yN, { children: HB(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(xN, { children: WB(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(AL, {
+ }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(ML, {
isSelected: he.all,
isIndeterminate: he.some,
onChange: (e) => ee(me, e),
@@ -58729,7 +58729,7 @@ function vDe(e) {
className: "flex flex-col gap-3",
children: D.slice(de.start, de.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, x.jsx)(_De, {
+ return /* @__PURE__ */ (0, x.jsx)(hDe, {
group: e,
name: tr(e, _),
handlers: oe,
@@ -58749,21 +58749,21 @@ function vDe(e) {
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${KB(de.start + 1)}–${KB(de.end)} / ${KB(de.total)} ${ue ? "个来源" : "位创作者"}`
+ children: `${JB(de.start + 1)}–${JB(de.end)} / ${JB(de.total)} ${ue ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, x.jsx)(CL, {
+ /* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && fe.setPageSize(Number(e));
},
- children: Hn.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ children: Hn.map((e) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: String(e),
children: `每页 ${e} ${ue ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(JB, {
+ /* @__PURE__ */ (0, x.jsx)(XB, {
page: de.page,
pages: de.pages,
onPage: (e) => fe.setPageIndex(e - 1)
@@ -58775,7 +58775,7 @@ function vDe(e) {
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
- children: `未看 ${KB(v.new)} · 已看 ${KB(v.seen)} · 已保存 ${KB(v.saved)} · 已忽略 ${KB(v.ignored)}`
+ children: `未看 ${JB(v.new)} · 已看 ${JB(v.seen)} · 已保存 ${JB(v.saved)} · 已忽略 ${JB(v.ignored)}`
}),
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -58812,11 +58812,11 @@ function vDe(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: qme,
+ icon: Gme,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ actions: /* @__PURE__ */ (0, x.jsx)(qk, {
variant: "primary",
size: "small",
href: "/subscriptions?tab=add",
@@ -58827,7 +58827,7 @@ function vDe(e) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var yDe = {
+var _De = {
select: "选择",
name: "名称",
kind: "类型",
@@ -58837,33 +58837,33 @@ var yDe = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, bDe = /* @__PURE__ */ new Set(["select", "actions"]), YB = () => U.invalidateQueries({
+}, vDe = /* @__PURE__ */ new Set(["select", "actions"]), ZB = () => U.invalidateQueries({
queryKey: Bn,
exact: !0
-}), XB = (e) => e.name || e.url;
-function xDe(e) {
+}), QB = (e) => e.name || e.url;
+function yDe(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function SDe({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, x.jsx)(Uk, {
+function bDe({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(Uk, {
+ }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, x.jsx)(Uk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function CDe({ source: e }) {
+function xDe({ source: e }) {
let t = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -58872,31 +58872,31 @@ function CDe({ 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 ${GB}`,
- dangerouslySetInnerHTML: { __html: aa(XB(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 ${qB}`,
+ dangerouslySetInnerHTML: { __html: aa(QB(e), t, null, "performer") }
});
}
-var wDe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function TDe(e) {
+var SDe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function CDe(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 ZB(e, t) {
+function $B(e, t) {
let n = e.length === 1 ? e[0] : null;
return ls({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${XB(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${QB(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function EDe({ readOnly: e, toast: t }) {
+function wDe({ readOnly: e, toast: t }) {
let n = ut({
queryKey: Bn,
queryFn: ({ signal: e }) => Tr(e)
- }), r = Qk(), 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 = sr(a.length, u, c);
+ }), r = eA(), 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 = sr(a.length, u, c);
(0, b.useEffect)(() => {
l((e) => Math.min(e, f.pages));
}, [f.pages]), (0, b.useEffect)(() => {
@@ -58917,13 +58917,13 @@ function EDe({ 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()), YB(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (s(/* @__PURE__ */ new Set()), ZB(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : B(e.error)}`);
}
},
onError: (e) => r.setError(B(e))
- }), m = (0, b.useMemo)(() => TDe(a), [a]), h = (0, b.useRef)({
+ }), m = (0, b.useMemo)(() => CDe(a), [a]), h = (0, b.useRef)({
readOnly: e,
shared: m,
busy: null,
@@ -58935,34 +58935,34 @@ function EDe({ readOnly: e, toast: t }) {
readOnly: e,
shared: m,
busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Er(e.id, t, n), () => void YB()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => Or(t, [e.id]), () => void YB()),
- remove: (e) => void ZB([e], async () => {
- await Dr(e.id), t(`已移除订阅源「${XB(e)}」`), YB();
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Er(e.id, t, n), () => void ZB()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => Or(t, [e.id]), () => void ZB()),
+ remove: (e) => void $B([e], async () => {
+ await Dr(e.id), t(`已移除订阅源「${QB(e)}」`), ZB();
})
};
let g = (0, b.useMemo)(() => {
- let e = $z(), t = (e) => () => yDe[e] || e;
+ let e = tB(), t = (e) => () => _De[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(AL, {
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(ML, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${XB(e.row.original)}`
+ "aria-label": `选择 ${QB(e.row.original)}`
})
}),
- e.accessor(XB, {
+ e.accessor(QB, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = wDe(e.row.original, h.current.shared);
+ let t = SDe(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)(CDe, { source: e.row.original }),
+ /* @__PURE__ */ (0, x.jsx)(xDe, { source: e.row.original }),
e.getValue(),
t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -58990,13 +58990,13 @@ function EDe({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: xDe(e.getValue())
+ children: yDe(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(SDe, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(bDe, { source: e.row.original })
}),
e.accessor((e) => see(e.interval_minutes), {
id: "interval",
@@ -59028,8 +59028,8 @@ function EDe({ readOnly: e, toast: t }) {
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(WB, {
- "aria-label": `启用 ${XB(e.row.original)}`,
+ /* @__PURE__ */ (0, x.jsx)(KB, {
+ "aria-label": `启用 ${QB(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: h.current.readOnly,
onChange: (t) => h.current.toggle(e.row.original, t)
@@ -59038,8 +59038,8 @@ function EDe({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: gk,
- "aria-label": `拉取 ${XB(e.row.original)}`,
+ leadingIcon: vk,
+ "aria-label": `拉取 ${QB(e.row.original)}`,
disabled: h.current.readOnly,
...q(h.current.busy === `check-${e.row.original.id}`),
onClick: () => h.current.fetch(e.row.original)
@@ -59048,8 +59048,8 @@ function EDe({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: dk,
- "aria-label": `移除 ${XB(e.row.original)}`,
+ leadingIcon: pk,
+ "aria-label": `移除 ${QB(e.row.original)}`,
disabled: h.current.readOnly,
onClick: () => h.current.remove(e.row.original)
})
@@ -59057,7 +59057,7 @@ function EDe({ readOnly: e, toast: t }) {
})
})
];
- }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = UB({
+ }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = GB({
data: a,
columns: g,
getRowId: (e) => String(e.id),
@@ -59073,27 +59073,27 @@ function EDe({ 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: BB(),
- getPaginationRowModel: VB()
+ getCoreRowModel: HB(),
+ getPaginationRowModel: UB()
});
if (!i) return n.error ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "打不开订阅源",
children: B(n.error)
- }) : /* @__PURE__ */ (0, x.jsx)(oA, { children: "正在读订阅源。" });
- let y = () => void r.run("check", (e) => Or(e), () => void YB()), S = (e) => s((t) => {
+ }) : /* @__PURE__ */ (0, x.jsx)(cA, { children: "正在读订阅源。" });
+ let y = () => void r.run("check", (e) => Or(e), () => void ZB()), 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)(fDe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(uDe, {
readOnly: e,
toast: t,
- onAdded: () => void YB()
+ onAdded: () => void ZB()
}), /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": "JAV 订阅列表",
- className: Kk({
+ className: Jk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -59127,13 +59127,13 @@ function EDe({ readOnly: e, toast: t }) {
children: w.map((e) => /* @__PURE__ */ (0, x.jsx)("li", {
className: "min-w-0 truncate",
title: e.last_error || "",
- children: `${XB(e)}:${Xn(e.last_error || "") || "未说明原因"}`
+ children: `${QB(e)}:${Xn(e.last_error || "") || "未说明原因"}`
}, e.id))
}),
children: "这些订阅源这一轮没有取到新条目。"
- }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: r.error }) : null]
+ }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: r.error }) : null]
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(nT, {
+ /* @__PURE__ */ (0, x.jsxs)(rT, {
visible: C.length > 0,
label: "订阅源批量操作",
count: `已选 ${C.length} 条订阅源`,
@@ -59165,7 +59165,7 @@ function EDe({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...q(p.isPending),
- onClick: () => void ZB(C, () => p.mutateAsync({
+ onClick: () => void $B(C, () => p.mutateAsync({
ids: C.map((e) => e.id),
action: "remove"
})),
@@ -59179,26 +59179,26 @@ function EDe({ readOnly: e, toast: t }) {
})
]
}),
- a.length ? /* @__PURE__ */ (0, x.jsx)(ML, {
+ a.length ? /* @__PURE__ */ (0, x.jsx)(PL, {
onRowClick: (e) => S(Number(e)),
- children: /* @__PURE__ */ (0, x.jsxs)(jL, {
+ children: /* @__PURE__ */ (0, x.jsxs)(NL, {
"aria-label": "JAV 订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsx)(dN, { children: v.getHeaderGroups()[0].headers.map((e) => {
- let t = HB(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, x.jsx)(fN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(pN, { children: v.getHeaderGroups()[0].headers.map((e) => {
+ let t = WB(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, x.jsx)(mN, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: bDe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(Rb, { children: t }) : t
+ children: vDe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(zb, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, x.jsx)(mN, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(_N, {
+ }) }), /* @__PURE__ */ (0, x.jsx)(gN, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(yN, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(yN, { children: HB(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(xN, { children: WB(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: qme,
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
+ icon: Gme,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -59210,19 +59210,19 @@ function EDe({ 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)(CL, {
+ /* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(u),
onSelectionChange: (e) => {
e !== null && (d(Number(e)), l(1));
},
- children: Hn.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ children: Hn.map((e) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: String(e),
children: `每页 ${e} 条`
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(JB, {
+ /* @__PURE__ */ (0, x.jsx)(XB, {
label: "JAV 订阅分页",
page: f.page,
pages: f.pages,
@@ -59244,14 +59244,14 @@ function EDe({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var QB = [
+var eV = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], $B = (e) => QB.some(([t]) => t === e);
-function eV({ term: e, figure: t, unit: n }) {
+], tV = (e) => eV.some(([t]) => t === e);
+function nV({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: Jk({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -59271,8 +59271,8 @@ function eV({ term: e, figure: t, unit: n }) {
})]
});
}
-function DDe(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, b.useState)($B(e.tab) ? e.tab : "list"), [d, f] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, b.useState)(() => pn(e.sort, e.dir).sort), [h, g] = (0, b.useState)(() => pn(e.sort, e.dir).dir), [_, v] = (0, b.useState)(oee(e.layout) ? e.layout : "default"), [y, S] = (0, b.useState)(Wn(e.pageSize)), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), T = ut({
+function TDe(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, b.useState)(tV(e.tab) ? e.tab : "list"), [d, f] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, b.useState)(() => pn(e.sort, e.dir).sort), [h, g] = (0, b.useState)(() => pn(e.sort, e.dir).dir), [_, v] = (0, b.useState)(oee(e.layout) ? e.layout : "default"), [y, S] = (0, b.useState)(Wn(e.pageSize)), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), T = ut({
queryKey: In,
queryFn: ({ signal: e }) => dr(e)
}), E = ut({
@@ -59300,7 +59300,7 @@ function DDe(e) {
dir: r === dn[n] ? "" : r
});
}, M = ir(A), N = A.filter(Yn).length, P = A.filter((e) => e.enabled).length, ee = (k.providers || []).filter((e) => e.requirement === "required" && !Ur(e)).length, F = new Set((D.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, x.jsxs)(Yk, { children: [
+ return /* @__PURE__ */ (0, x.jsxs)(Zk, { children: [
o ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "本机只能浏览",
@@ -59315,64 +59315,64 @@ function DDe(e) {
children: s
}) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: Yxe,
+ className: qxe,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, x.jsx)(eV, {
+ /* @__PURE__ */ (0, x.jsx)(nV, {
term: "关注创作者",
figure: M.length,
unit: "位"
}),
- /* @__PURE__ */ (0, x.jsx)(eV, {
+ /* @__PURE__ */ (0, x.jsx)(nV, {
term: "启用来源",
figure: P,
unit: `/ ${A.length}`
}),
- /* @__PURE__ */ (0, x.jsx)(eV, {
+ /* @__PURE__ */ (0, x.jsx)(nV, {
term: "检查失败",
figure: N,
unit: "个来源"
}),
- /* @__PURE__ */ (0, x.jsx)(eV, {
+ /* @__PURE__ */ (0, x.jsx)(nV, {
term: "未看更新",
figure: O.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, x.jsx)(eV, {
+ /* @__PURE__ */ (0, x.jsx)(nV, {
term: "JAV 订阅",
figure: F,
unit: "位"
}),
- /* @__PURE__ */ (0, x.jsx)(eV, {
+ /* @__PURE__ */ (0, x.jsx)(nV, {
term: "未看新作",
figure: D.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(CN, {
+ /* @__PURE__ */ (0, x.jsxs)(TN, {
selectedKey: l,
onSelectionChange: (e) => {
let t = String(e);
- $B(t) && (u(t), j({ tab: t }));
+ tV(t) && (u(t), j({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, x.jsx)(wN, {
+ /* @__PURE__ */ (0, x.jsx)(EN, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: QB.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(TN, {
+ children: eV.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(DN, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: t
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(ON, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, x.jsx)(vDe, {
+ children: /* @__PURE__ */ (0, x.jsx)(gDe, {
data: O,
sort: p,
dir: h,
@@ -59402,16 +59402,16 @@ function DDe(e) {
}
})
}),
- /* @__PURE__ */ (0, x.jsxs)(EN, {
+ /* @__PURE__ */ (0, x.jsxs)(ON, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, x.jsx)(CEe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(xEe, {
data: O,
credentials: k,
readOnly: o,
toast: r,
openCredentials: a
- }), /* @__PURE__ */ (0, x.jsx)(EEe, {
+ }), /* @__PURE__ */ (0, x.jsx)(wEe, {
groups: O.author_aliases || [],
readOnly: o,
toast: r,
@@ -59419,10 +59419,10 @@ function DDe(e) {
sources: O.sources
})]
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(ON, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, x.jsx)(EDe, {
+ children: /* @__PURE__ */ (0, x.jsx)(wDe, {
readOnly: o,
toast: r
})
@@ -59438,15 +59438,15 @@ function DDe(e) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function tV({ value: e }) {
+function rV({ 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 ODe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function nV({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+var EDe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function iV({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
let a = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
let e = a.current;
@@ -59470,14 +59470,14 @@ function nV({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
},
className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,
children: e.map((e) => {
- let n = e.symbol ? FN(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? LN(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: ODe,
+ className: EDe,
onClick: () => {
i || r(e.value);
},
@@ -59488,12 +59488,12 @@ function nV({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
}
//#endregion
//#region src/react/index/index-tags.tsx
-var rV = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var aV = () => /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function kDe({ tag: e, actions: t }) {
+function DDe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-1",
@@ -59501,13 +59501,13 @@ function kDe({ tag: e, actions: t }) {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": yR(t.online, e.cat),
+ "data-tag-cat": xR(t.online, e.cat),
"aria-pressed": n,
title: e.label,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, x.jsx)(rV, {}),
+ /* @__PURE__ */ (0, x.jsx)(aV, {}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -59517,7 +59517,7 @@ function kDe({ tag: e, actions: t }) {
children: e.n.toLocaleString()
})
]
- }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(KN, { item: {
+ }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(JN, { item: {
kind: "tag",
name: e.k,
entity_id: e.entity_id,
@@ -59525,23 +59525,23 @@ function kDe({ tag: e, actions: t }) {
} })]
});
}
-function ADe({ groups: e, actions: t }) {
+function ODe({ 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: Kk({
+ className: Jk({
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)(tV, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, x.jsx)(rV, { 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)(kDe, {
+ children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(DDe, {
tag: e,
actions: t
}, e.k))
@@ -59549,8 +59549,8 @@ function ADe({ groups: e, actions: t }) {
}, e))
});
}
-var jDe = "\xA0";
-function MDe({ tags: e, actions: t }) {
+var kDe = "\xA0";
+function ADe({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -59560,16 +59560,16 @@ function MDe({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": yR(t.online, e.cat),
+ "data-tag-cat": xR(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 + jDe, /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [e.label + kDe, /* @__PURE__ */ (0, x.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
})]
- }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(KN, { item: {
+ }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(JN, { item: {
kind: "tag",
name: e.k,
entity_id: e.entity_id,
@@ -59578,7 +59578,7 @@ function MDe({ tags: e, actions: t }) {
}, e.k))
});
}
-var NDe = [[
+var jDe = [[
"cloud",
"标签云",
"tags"
@@ -59587,16 +59587,16 @@ var NDe = [[
"字母表",
"text-aa"
]];
-function PDe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, x.jsx)(RA, {
+function MDe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, x.jsx)(BA, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(zA, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(VA, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : yR(n, e),
+ "data-tag-cat": e === "all" ? "all" : xR(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, x.jsx)(rV, {}), r]
+ children: [/* @__PURE__ */ (0, x.jsx)(aV, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -59615,19 +59615,19 @@ function PDe({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(JM, {
+ /* @__PURE__ */ (0, x.jsx)(XM, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${$N}`,
- children: NDe.map(([e, t, n]) => {
- let r = FN(n);
- return /* @__PURE__ */ (0, x.jsx)(YM, {
+ className: `ml-auto ${tP}`,
+ children: jDe.map(([e, t, n]) => {
+ let r = LN(n);
+ return /* @__PURE__ */ (0, x.jsx)(ZM, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: eP,
+ className: nP,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -59639,13 +59639,13 @@ function PDe({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function FDe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, x.jsxs)(nT, {
+function NDe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, x.jsxs)(rT, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
children: [
- /* @__PURE__ */ (0, x.jsx)(AL, {
+ /* @__PURE__ */ (0, x.jsx)(ML, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -59677,7 +59677,7 @@ function FDe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var IDe = [{
+var PDe = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -59685,7 +59685,7 @@ var IDe = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], LDe = [{
+}], FDe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -59693,7 +59693,7 @@ var IDe = [{
value: "online",
label: "在线",
symbol: "rss"
-}], RDe = [
+}], IDe = [
{
value: "performers",
label: "艺人",
@@ -59709,7 +59709,7 @@ var IDe = [{
label: "在线",
symbol: "rss"
}
-], zDe = {
+], LDe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -59729,20 +59729,20 @@ var IDe = [{
"layout-grid"
]]
};
-function BDe({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, x.jsx)(XN, {
- "aria-label": `${cR[e]}索引版式`,
+function RDe({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, x.jsx)(QN, {
+ "aria-label": `${uR[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${ZN}`,
- children: zDe[pR(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = FN(n);
- return /* @__PURE__ */ (0, x.jsx)(YM, {
+ className: `flex-none max-board-narrow:order-3 ${$N}`,
+ children: LDe[hR(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = LN(n);
+ return /* @__PURE__ */ (0, x.jsx)(ZM, {
value: e,
"aria-label": t,
- className: nye,
+ className: eye,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -59752,8 +59752,8 @@ function BDe({ kind: e, layout: t, onChange: n }) {
})
});
}
-var VDe = FN("search");
-function HDe({ label: e, value: t, onQuery: n }) {
+var zDe = LN("search");
+function BDe({ 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) => {
@@ -59768,15 +59768,15 @@ function HDe({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, x.jsx)(ON, {
+ children: /* @__PURE__ */ (0, x.jsx)(AN, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, x.jsx)(AN, {
+ children: /* @__PURE__ */ (0, x.jsx)(MN, {
type: "search",
- leadingIcon: VDe,
+ leadingIcon: zDe,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -59787,14 +59787,14 @@ function HDe({ label: e, value: t, onQuery: n }) {
})
});
}
-function UDe(e) {
- let [t, n] = (0, b.useState)(() => mR({
+function VDe(e) {
+ let [t, n] = (0, b.useState)(() => gR({
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 = cR[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 = uR[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;
@@ -59812,7 +59812,7 @@ function UDe(e) {
...r
};
y(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, C = vR(hR(t)), w = ft({
+ }, C = bR(_R(t)), w = ft({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -59821,7 +59821,7 @@ function UDe(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: v ? ue : void 0
- }), T = RCe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = zCe(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;
+ }), T = ICe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = LCe(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
@@ -59833,14 +59833,14 @@ function UDe(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" ? HCe(P, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? BCe(P, (t) => e.tagLabel(t)) : [], [
P,
p,
u
]), F = (t) => {
i(t), e.savePreference({ layout: t });
- }, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(nV, {
- tabs: LDe,
+ }, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(iV, {
+ tabs: FDe,
value: f,
label: "词表",
onChange: (e) => {
@@ -59850,8 +59850,8 @@ function UDe(e) {
view: e === "online" ? "alphabet" : p
});
}
- }) : pR(u) ? /* @__PURE__ */ (0, x.jsx)(nV, {
- tabs: IDe,
+ }) : hR(u) ? /* @__PURE__ */ (0, x.jsx)(iV, {
+ tabs: PDe,
value: u,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -59860,7 +59860,7 @@ function UDe(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
}) : P.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");
- }, ne = (g ? uR : lR).filter(N);
+ }, ne = (g ? fR : dR).filter(N);
return /* @__PURE__ */ (0, x.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -59875,22 +59875,22 @@ function UDe(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: h
}),
- fR(u) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ mR(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,
- fR(u) ? /* @__PURE__ */ (0, x.jsx)(BDe, {
+ mR(u) ? /* @__PURE__ */ (0, x.jsx)(RDe, {
kind: u,
layout: r,
onChange: F
}) : null,
- /* @__PURE__ */ (0, x.jsx)(qN, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),
+ /* @__PURE__ */ (0, x.jsx)(YN, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, x.jsx)(HDe, {
+ /* @__PURE__ */ (0, x.jsx)(BDe, {
label: `过滤${h}`,
value: d,
onQuery: (e) => {
@@ -59899,8 +59899,8 @@ function UDe(e) {
})
]
}),
- u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(nV, {
- tabs: RDe,
+ u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(iV, {
+ tabs: IDe,
value: _ ? "online" : u,
label: "人物名册",
onChange: (t) => {
@@ -59914,8 +59914,8 @@ function UDe(e) {
te,
u === "performers" && f === "local" ? /* @__PURE__ */ (0, x.jsx)("div", {
"aria-label": "身份分类",
- className: sR,
- children: oR.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(G, {
+ className: lR,
+ children: cR.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(G, {
variant: m === e ? "primary" : "secondary",
size: "small",
"aria-pressed": m === e,
@@ -59923,7 +59923,7 @@ function UDe(e) {
children: t
}, e))
}) : null,
- u === "tags" ? /* @__PURE__ */ (0, x.jsx)(PDe, {
+ u === "tags" ? /* @__PURE__ */ (0, x.jsx)(MDe, {
categories: ne,
category: m,
online: g,
@@ -59948,8 +59948,8 @@ function UDe(e) {
mode: p
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: FN("alert"),
+ if (w.isError) return /* @__PURE__ */ (0, x.jsx)(Yk, {
+ icon: LN("alert"),
title: `没能读取${h}`,
actions: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -59958,18 +59958,18 @@ function UDe(e) {
}),
children: Tt(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, x.jsx)(GDe, {
+ if (!T.length) return /* @__PURE__ */ (0, x.jsx)(UDe, {
kind: u,
filtered: !!d || m !== "all",
online: g || _,
configurable: e.configurable
});
- if (_) return /* @__PURE__ */ (0, x.jsx)(GCe, {
+ if (_) return /* @__PURE__ */ (0, x.jsx)(UCe, {
items: T,
layout: r,
props: e
});
- if (fR(u)) return /* @__PURE__ */ (0, x.jsx)(SR, {
+ if (mR(u)) return /* @__PURE__ */ (0, x.jsx)(wR, {
kind: u,
items: T,
layout: r,
@@ -59980,10 +59980,10 @@ function UDe(e) {
picked: a,
press: I
};
- return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(ADe, {
+ return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(ODe, {
groups: ee,
actions: t
- }) : /* @__PURE__ */ (0, x.jsx)(MDe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(ADe, {
tags: P,
actions: t
});
@@ -59998,13 +59998,13 @@ function UDe(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(Jk, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(Xk, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(FDe, {
+ u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(NDe, {
count: a.size,
match: s,
onMatch: c,
@@ -60017,31 +60017,31 @@ function UDe(e) {
]
});
}
-var WDe = {
+var HDe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所"
};
-function GDe({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: FN("search"),
+function UDe({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, x.jsx)(Yk, {
+ icon: LN("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ actions: /* @__PURE__ */ (0, x.jsx)(qk, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : WDe[e], a = /* @__PURE__ */ (0, x.jsx)(Gk, {
+ let i = n && e === "performers" ? "创作者" : HDe[e], a = /* @__PURE__ */ (0, x.jsx)(qk, {
variant: !r || n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: FN(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, x.jsx)(Yk, {
+ icon: LN(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [r ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
@@ -60051,15 +60051,15 @@ function GDe({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var iV = {
+var oV = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, KDe = (e) => iV[e.junk_kind || "other"] || iV.other;
-function qDe(e) {
+}, WDe = (e) => oV[e.junk_kind || "other"] || oV.other;
+function GDe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -60070,21 +60070,21 @@ function qDe(e) {
glyph: "check"
};
}
-var aV = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), JDe = (e, t) => [
+var sV = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), KDe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function YDe({ kind: e, view: t }) {
+function qDe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function XDe(e, t) {
- let n = await V(`/api/ads?${YDe(e)}`, t);
+async function JDe(e, t) {
+ let n = await V(`/api/ads?${qDe(e)}`, t);
return {
...n,
items: n.items || []
@@ -60092,19 +60092,19 @@ async function XDe(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function oV({ name: e }) {
+function cV({ 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 sV = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function ZDe({ 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] = KDe(e), m = String(e.name || ""), h = qDe(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]") || sV(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var lV = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function YDe({ 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] = WDe(e), m = String(e.name || ""), h = GDe(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]") || lV(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), sV(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), lV(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) => {
@@ -60135,7 +60135,7 @@ function ZDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"data-junk-kind": d,
"data-selected": n ? "" : void 0,
onClick: v,
- onMouseDown: jP,
+ onMouseDown: NP,
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
@@ -60143,7 +60143,7 @@ function ZDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, x.jsx)(oV, { name: p }), /* @__PURE__ */ (0, x.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, x.jsx)(cV, { name: p }), /* @__PURE__ */ (0, x.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-art": "thumb",
@@ -60155,7 +60155,7 @@ function ZDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(oV, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(cV, { name: "check" })
})
]
}),
@@ -60192,7 +60192,7 @@ function ZDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: eo("正在定位") }
- }) : /* @__PURE__ */ (0, x.jsx)(oV, { name: "folder-open" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ }) : /* @__PURE__ */ (0, x.jsx)(cV, { name: "folder-open" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -60204,7 +60204,7 @@ function ZDe({ 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)(oV, { name: h.glyph }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(cV, { name: h.glyph }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -60216,7 +60216,7 @@ function ZDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...w("dispose"),
onClick: C("dispose"),
- children: [/* @__PURE__ */ (0, x.jsx)(oV, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(cV, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -60231,7 +60231,7 @@ function ZDe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var QDe = (0, b.memo)(ZDe), cV = [
+var XDe = (0, b.memo)(YDe), uV = [
[
"",
"全部",
@@ -60267,65 +60267,65 @@ var QDe = (0, b.memo)(ZDe), cV = [
"其它",
"hard-drive"
]
-], $De = (e) => cV.find(([t]) => t === e)?.[0] ?? "";
-function lV(e) {
+], ZDe = (e) => uV.find(([t]) => t === e)?.[0] ?? "";
+function dV(e) {
let t = new URLSearchParams(e);
return {
- kind: $De(t.get("type")),
+ kind: ZDe(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function uV(e = "", t = "pending") {
+function fV(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 dV(e) {
+function pV(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: uV("", "pending")
+ href: fV("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: uV("", "dismissed")
+ href: fV("", "dismissed")
};
}
-var fV = (e) => e === "dismissed" ? "已排除" : "待判断", pV = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function eOe({ kind: e, view: t }) {
- let n = cV.map(([n, r, i]) => `<a href="${uV(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${pV(i)}${z(r)}</a>`).join(""), r = dV(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${tL(fV(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\"" : ""}>${pV(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var mV = (e) => e === "dismissed" ? "已排除" : "待判断", hV = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function QDe({ kind: e, view: t }) {
+ let n = uV.map(([n, r, i]) => `<a href="${fV(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${hV(i)}${z(r)}</a>`).join(""), r = pV(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${rL(mV(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\"" : ""}>${hV(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function mV({ name: e }) {
+function gV({ 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 hV({ scope: e, count: t }) {
+function _V({ 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 tOe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = hL(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = UA(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? cV.map(([e]) => aV(t, e)).join(",") : ""}`), l = dV(s), u = (e) => {
+function $De({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = _L(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = GA(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? uV.map(([e]) => sV(t, e)).join(",") : ""}`), l = pV(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") || uV()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || fV()));
}, 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)(Fz, {
- label: fV(s),
+ children: /* @__PURE__ */ (0, x.jsx)(Lz, {
+ label: mV(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -60345,17 +60345,17 @@ function tOe({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- cV.map(([e, n, r]) => /* @__PURE__ */ (0, x.jsxs)("a", {
- href: uV(e, s),
+ uV.map(([e, n, r]) => /* @__PURE__ */ (0, x.jsxs)("a", {
+ href: fV(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, x.jsx)(mV, { name: r }),
+ /* @__PURE__ */ (0, x.jsx)(gV, { name: r }),
n,
- /* @__PURE__ */ (0, x.jsx)(hV, {
+ /* @__PURE__ */ (0, x.jsx)(_V, {
scope: e,
- count: t ? aV(t, e) : 0
+ count: t ? sV(t, e) : 0
})
]
}, e || "all")),
@@ -60369,9 +60369,9 @@ function tOe({ 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)(mV, { name: l.glyph }),
+ /* @__PURE__ */ (0, x.jsx)(gV, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, x.jsx)(hV, {
+ /* @__PURE__ */ (0, x.jsx)(_V, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -60384,33 +60384,33 @@ function tOe({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var nOe = FN("check"), rOe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function iOe(e) {
+var eOe = LN("check"), tOe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function nOe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = ut({
- queryKey: JDe(t, e.revision),
- queryFn: ({ signal: e }) => XDe(t, e),
- placeholderData: (e, n) => n && rOe(n.queryKey, t) ? e : void 0
+ queryKey: KDe(t, e.revision),
+ queryFn: ({ signal: e }) => JDe(t, e),
+ placeholderData: (e, n) => n && tOe(n.queryKey, t) ? e : void 0
});
(0, b.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = aOe(e.countRow), i = n.isPending;
+ let r = rOe(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 && fo(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(tOe, {
+ let { navigate: a } = e.actions, o = r ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)($De, {
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)(oOe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(iOe, {
props: e,
data: n.data,
pending: i,
@@ -60418,7 +60418,7 @@ function iOe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function aOe(e) {
+function rOe(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!e) return;
@@ -60428,8 +60428,8 @@ function aOe(e) {
};
}, [e]), t;
}
-function oOe({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = DP(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 iOe({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = kP(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", {
@@ -60437,14 +60437,14 @@ function oOe({ 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)(OP, {
+ if (!t) return /* @__PURE__ */ (0, x.jsx)(AP, {
message: Tt(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: nOe,
+ return /* @__PURE__ */ (0, x.jsx)(Yk, {
+ icon: eOe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -60454,7 +60454,7 @@ function oOe({ 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)(QDe, {
+ children: u.map((t) => /* @__PURE__ */ (0, x.jsx)(XDe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -60463,7 +60463,7 @@ function oOe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(sOe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(aOe, { 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",
@@ -60473,7 +60473,7 @@ function oOe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function sOe({ onMore: e }) {
+function aOe({ onMore: e }) {
let t = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
let n = t.current;
@@ -60491,9 +60491,9 @@ function sOe({ onMore: e }) {
}
//#endregion
//#region src/react/jav/discovery-faces.tsx
-function cOe({ item: e }) {
+function oOe({ item: e }) {
let t = e.performer_refs?.length ? e.performer_refs : [...new Set(e.performers.split(/[,,、;/]/).filter(Boolean))].map((e) => ({ name: e })), n = t.slice(0, 5).map((t) => {
- let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, x.jsx)(vz, {
+ let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, x.jsx)(bz, {
code: e.code,
person: t
}) } : { dangerouslySetInnerHTML: { __html: aa(t.name, t, null) } };
@@ -60515,18 +60515,18 @@ function cOe({ item: e }) {
}
//#endregion
//#region src/react/jav/jav-navigation.ts
-var gV = [
+var vV = [
["library", "馆藏"],
["discover", "发现"],
["wants", "想要"]
-], _V = (e) => gV.some(([t]) => t === e) ? e : "library", lOe = (e) => _V(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function uOe(e) {
+], yV = (e) => vV.some(([t]) => t === e) ? e : "library", sOe = (e) => yV(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function cOe(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
//#endregion
//#region src/react/jav/discovery-sorts.ts
-var vV = [
+var bV = [
[
"taste",
"口味",
@@ -60534,7 +60534,7 @@ var vV = [
],
[
"release_date",
- lT[1],
+ uT[1],
"按发行日期排序"
],
[
@@ -60553,10 +60553,10 @@ var vV = [
"按番号排序"
]
];
-function yV(e) {
+function xV(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function dOe(e) {
+function lOe(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -60582,8 +60582,8 @@ function dOe(e) {
}
//#endregion
//#region src/jav-skeleton.ts
-var bV = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, fOe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, xV = "w-full min-w-0";
-function SV() {
+var SV = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, uOe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, CV = "w-full min-w-0";
+function wV() {
return [
"w-20",
"w-16",
@@ -60593,68 +60593,68 @@ function SV() {
"w-24"
].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-7.5 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");
}
-function CV(e, t = qT()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${bV("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${fOe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${bV("80%")}${bV("60%")}${bV("40%")}</div></div>`).join("")}</div>`;
- let n = tE({
- ...eE({
+function TV(e, t = JT()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${SV("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${uOe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${SV("80%")}${SV("60%")}${SV("40%")}</div></div>`).join("")}</div>`;
+ let n = nE({
+ ...tE({
active: !0,
home: !1,
portrait: !1
}),
size: t
});
- return `<div data-media-grid class="${xV}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">
+ return `<div data-media-grid class="${CV}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">
<span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span>
<div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>
- <div data-media-title>${bV("85%")}${bV("65%")}</div><div data-media-byline>${bV("55%")}</div>
+ <div data-media-title>${SV("85%")}${SV("65%")}</div><div data-media-byline>${SV("55%")}</div>
<div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div>
</div></div>
<div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div>
</div>`).join("")}</div>`;
}
-function pOe(e) {
+function dOe(e) {
let t = e === "wants" ? "筛选想要" : "筛选推荐";
return `<div class="peach-react"><div class="flex w-full flex-col gap-6">
- <div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${$I({
+ <div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${tL({
variant: "primary",
label: "查找资源",
attrs: "disabled data-skeleton-action"
})}</div>
- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${gV.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
- <form aria-label="${t}">${QI("筛选番号、女优或标题", "", t)}</form>
- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${bV("100%")}</div>${CV(e)}` : `<section class="flex min-w-0 flex-col gap-4">${mOe()}${CV(e)}</section>`}</div></div>`;
+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${vV.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
+ <form aria-label="${t}">${eL("筛选番号、女优或标题", "", t)}</form>
+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${SV("100%")}</div>${TV(e)}` : `<section class="flex min-w-0 flex-col gap-4">${fOe()}${TV(e)}</section>`}</div></div>`;
}
-function mOe() {
- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${qT() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${ZI(t, "size-4")}</span>`;
+function fOe() {
+ let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${JT() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${$I(t, "size-4")}</span>`;
return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">
- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${SV()}</div></div>
+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${wV()}</div></div>
</div>
<div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2">
<span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>
- <span data-entity-sorts><button type="button" data-entity-batch data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${ZI("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>
- ${vV.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? ZI("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ <span data-entity-sorts><button type="button" data-entity-batch data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${$I("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>
+ ${bV.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? $I("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
//#endregion
//#region src/react/activity/work-code.ts
-var wV = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), TV = (e, t) => !!wV(e) && wV(e) === wV(t);
+var EV = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), DV = (e, t) => !!EV(e) && EV(e) === EV(t);
//#endregion
//#region src/react/activity/resource-search.tsx
-function hOe({ className: e }) {
+function pOe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: eo("") }
});
}
-function gOe(e) {
+function mOe(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => gOe(t)), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), y = Qk(), S = (0, b.useRef)(null);
+function hOe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => mOe(t)), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), y = eA(), S = (0, b.useRef)(null);
(0, b.useEffect)(() => () => S.current?.abort(), []);
let C = () => {
if (!a.trim() || y.busy) return;
@@ -60670,7 +60670,7 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
let e = new AbortController();
S.current = e, V(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => TV(e.code, t));
+ let r = (n.items || []).find((e) => DV(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -60691,18 +60691,18 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
"aria-busy": !!y.busy,
className: "flex min-w-0 flex-col gap-4",
children: [
- t ? /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ t ? /* @__PURE__ */ (0, x.jsxs)(cA, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "按番号查找资源",
value: a,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? hOe : _k,
+ leadingIcon: y.busy ? pOe : yk,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -60712,7 +60712,7 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(cA, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(CL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(uA, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(TL, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -60720,15 +60720,15 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, x.jsx)(wL, {
+ /* @__PURE__ */ (0, x.jsx)(EL, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, x.jsx)(wL, {
+ /* @__PURE__ */ (0, x.jsx)(EL, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, x.jsx)(wL, {
+ /* @__PURE__ */ (0, x.jsx)(EL, {
id: "uncensored",
children: "无码"
})
@@ -60737,32 +60737,32 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, x.jsx)(jN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(NN, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
- }), /* @__PURE__ */ (0, x.jsx)(jN, {
+ }), /* @__PURE__ */ (0, x.jsx)(NN, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: d,
onChange: f
})]
}),
- y.busy ? /* @__PURE__ */ (0, x.jsx)(oA, {
+ y.busy ? /* @__PURE__ */ (0, x.jsx)(cA, {
role: "status",
children: "正在搜索资源"
}) : null,
- y.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: y.error }) : null,
- p?.error ? /* @__PURE__ */ (0, x.jsx)(oA, {
+ y.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: y.error }) : null,
+ p?.error ? /* @__PURE__ */ (0, x.jsx)(cA, {
role: "status",
children: p.error
}) : null,
- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, x.jsx)(oA, {
+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, x.jsx)(cA, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- p?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(oA, { children: e }, e)),
+ p?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(cA, { children: e }, e)),
p?.items.length ? /* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: p.items.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
@@ -60772,7 +60772,7 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
className: "break-words text-body-2-medium text-text-primary",
children: e.name
}),
- /* @__PURE__ */ (0, x.jsx)(oA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(cA, { children: [
e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",
e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",
e.resolution ? `${e.resolution}p` : "",
@@ -60797,19 +60797,19 @@ function _Oe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}
//#endregion
//#region src/react/activity/cloud-download-dialog.tsx
-var vOe = {
+var gOe = {
submitted: "已提交离线下载,进度在任务中心",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "远端已有同一任务,已接管"
};
-function EV({ prefill: e, close: t, receipt: n, provider: r }) {
- return /* @__PURE__ */ (0, x.jsx)(MN, {
+function OV({ prefill: e, close: t, receipt: n, provider: r }) {
+ return /* @__PURE__ */ (0, x.jsx)(PN, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, x.jsx)(yOe, {
+ children: e ? /* @__PURE__ */ (0, x.jsx)(_Oe, {
prefill: e,
close: t,
receipt: n,
@@ -60817,26 +60817,26 @@ function EV({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function yOe({ prefill: e, close: t, receipt: n, provider: r }) {
+function _Oe({ prefill: e, close: t, receipt: n, provider: r }) {
let i = ut({
- queryKey: OA,
- queryFn: ({ signal: e }) => V(`${DA}?limit=50`, e),
- refetchInterval: (e) => kA(e.state.data)
+ queryKey: AA,
+ queryFn: ({ signal: e }) => V(`${kA}?limit=50`, e),
+ refetchInterval: (e) => jA(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
- children: [/* @__PURE__ */ (0, x.jsx)(uj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(fj, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: ck,
+ leadingIcon: uk,
"aria-label": "关闭资源面板",
onClick: t
})]
});
- return a ? /* @__PURE__ */ (0, x.jsx)(bOe, {
+ return a ? /* @__PURE__ */ (0, x.jsx)(vOe, {
header: o,
snapshot: a,
prefill: e,
@@ -60865,8 +60865,8 @@ function yOe({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
- let o = C(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, b.useState)(c?.key || "pikpak"), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(n.code ?? ""), [h, g] = (0, b.useState)(c?.target || ""), [_, v] = (0, b.useState)(n.code ? n : null), [y, S] = (0, b.useState)(""), w = t.available && s.some((e) => e.key === l), T = Qk(), E = (0, b.useRef)(null), D = (e) => {
+function vOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
+ let o = C(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, b.useState)(c?.key || "pikpak"), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(n.code ?? ""), [h, g] = (0, b.useState)(c?.target || ""), [_, v] = (0, b.useState)(n.code ? n : null), [y, S] = (0, b.useState)(""), w = t.available && s.some((e) => e.key === l), T = eA(), E = (0, b.useRef)(null), D = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
return /* @__PURE__ */ (0, x.jsxs)("form", {
@@ -60882,14 +60882,14 @@ function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
title: _?.title,
origin: _?.origin
};
- S(""), T.run("submit", (e) => H(DA, t, "POST", e), (e) => {
- o.invalidateQueries({ queryKey: OA });
- let t = vOe[e.outcome];
+ S(""), T.run("submit", (e) => H(kA, t, "POST", e), (e) => {
+ o.invalidateQueries({ queryKey: AA });
+ let t = gOe[e.outcome];
if (e.ok && t) {
i(t), r();
return;
}
- let n = AA(e.task);
+ let n = MA(e.task);
S(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");
});
},
@@ -60913,7 +60913,7 @@ function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: [/* @__PURE__ */ (0, x.jsx)("p", {
className: "break-words text-body-medium text-text-primary",
children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"
- }), _ ? /* @__PURE__ */ (0, x.jsx)(oA, { children: [
+ }), _ ? /* @__PURE__ */ (0, x.jsx)(cA, { children: [
_.performers,
_.studio,
_.release_date,
@@ -60921,22 +60921,22 @@ function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(_Oe, {
+ /* @__PURE__ */ (0, x.jsx)(hOe, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- TV(e, _?.code) || (v(TV(e, n.code) ? n : null), f("")), m(e);
+ DV(e, _?.code) || (v(DV(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? TV(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? DV(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : TV(t?.code, n.code) ? t : null),
+ } : e : DV(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), E.current?.focus();
}
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
ref: E,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -60948,24 +60948,24 @@ function bOe({ 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)(cA, { children: "下载到" }),
- /* @__PURE__ */ (0, x.jsx)(CL, {
+ /* @__PURE__ */ (0, x.jsx)(uA, { children: "下载到" }),
+ /* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": "下载到",
selectedKey: l,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && D(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ children: s.map((e) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, x.jsx)(EA, {
+ children: /* @__PURE__ */ (0, x.jsx)(OA, {
source: e.key,
label: e.label
})
}, e.key))
}),
- l === "115" ? /* @__PURE__ */ (0, x.jsx)(oA, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
+ l === "115" ? /* @__PURE__ */ (0, x.jsx)(cA, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
]
}),
t.available ? null : /* @__PURE__ */ (0, x.jsx)(K, {
@@ -60979,7 +60979,7 @@ function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: "下载渠道设置"
})]
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "目标目录",
placeholder: "/云下载",
autoComplete: "off",
@@ -60987,17 +60987,17 @@ function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
value: h,
onChange: g
}),
- n.code ? null : /* @__PURE__ */ (0, x.jsx)(jN, {
+ n.code ? null : /* @__PURE__ */ (0, x.jsx)(NN, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), TV(e, _?.code) || v(null);
+ m(e), DV(e, _?.code) || v(null);
}
}),
- y || T.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: y || T.error }) : null
+ y || T.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: y || T.error }) : null
]
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -61018,18 +61018,18 @@ function bOe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
}
//#endregion
//#region src/react/wants/wants.ts
-var DV = "/api/wants", OV = ["wants"], xOe = (e) => [
+var kV = "/api/wants", AV = ["wants"], yOe = (e) => [
"wants",
"follow",
e
-], SOe = [
+], bOe = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], kV = (e) => V(DV, e);
-function COe(e, t) {
- U.setQueryData(OV, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+], jV = (e) => V(kV, e);
+function xOe(e, t) {
+ U.setQueryData(AV, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -61037,26 +61037,26 @@ function COe(e, t) {
} : n)
} : n);
}
-var wOe = (e, t) => V(`${DV}?follow=${encodeURIComponent(e)}`, t), AV = (e, t) => H(DV, {
+var SOe = (e, t) => V(`${kV}?follow=${encodeURIComponent(e)}`, t), MV = (e, t) => H(kV, {
action: "add",
...e
-}, "POST", t), jV = (e, t) => H(DV, {
+}, "POST", t), NV = (e, t) => H(kV, {
action: "remove",
ids: e
-}, "POST", t), TOe = (e, t) => H(DV, {
+}, "POST", t), COe = (e, t) => H(kV, {
action: "reset",
ids: e
-}, "POST", t), MV = () => U.invalidateQueries({ queryKey: OV }), NV = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function EOe(e) {
+}, "POST", t), PV = () => U.invalidateQueries({ queryKey: AV }), FV = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function wOe(e) {
return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";
}
//#endregion
//#region src/react/publication-cache.ts
-var PV = 864e5, FV = (e) => {
+var IV = 864e5, LV = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function IV(e) {
+function RV(e) {
let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");
if (!t) return;
let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));
@@ -61064,26 +61064,26 @@ function IV(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function DOe(e, t = Date.now()) {
- let n = IV(e);
- return n !== void 0 && FV(t) > n ? Infinity : PV;
+function TOe(e, t = Date.now()) {
+ let n = RV(e);
+ return n !== void 0 && LV(t) > n ? Infinity : IV;
}
-function LV(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : DOe(t, n) === Infinity ? FV(e) > IV(t) : n - e < PV;
+function zV(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : TOe(t, n) === Infinity ? LV(e) > RV(t) : n - e < IV;
}
//#endregion
//#region src/react/wants/resource-cache.ts
-var RV = "peach.want-resources.v1";
-function zV(e) {
+var BV = "peach.want-resources.v1";
+function VV(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function BV(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !zV(e) ? Date.now() - t < 6e4 : LV(t, n));
+function HV(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !VV(e) ? Date.now() - t < 6e4 : zV(t, n));
}
-function VV() {
+function UV() {
try {
- let e = JSON.parse(localStorage.getItem(RV) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && zV(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem(BV) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && VV(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -61092,23 +61092,23 @@ function VV() {
return [];
}
}
-function OOe(e, t) {
- let n = VV().find((t) => t.code === e);
- return n && LV(n.saved, t) ? n : void 0;
+function EOe(e, t) {
+ let n = UV().find((t) => t.code === e);
+ return n && zV(n.saved, t) ? n : void 0;
}
-function kOe(e) {
- let t = new Map(VV().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function DOe(e) {
+ let t = new Map(UV().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
for (let r of e) {
if (!r.code) continue;
let e = t.get(`all-sources:${r.code}`);
- e && LV(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && zV(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function AOe(e, t) {
- if (t.state === "ready" && zV(t)) try {
- let n = VV().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(RV, JSON.stringify([{
+function OOe(e, t) {
+ if (t.state === "ready" && VV(t)) try {
+ let n = UV().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(BV, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -61117,16 +61117,16 @@ function AOe(e, t) {
}
//#endregion
//#region src/react/wants/resource-display.ts
-function jOe(e) {
+function kOe(e) {
let t = /^([\d,]+)\s*B$/i.exec(e.trim());
return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? Xt(Number(t[1].replaceAll(",", ""))) : e || "大小未知";
}
-function MOe(e) {
+function AOe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
//#endregion
//#region src/react/wants/want-magnets.tsx
-function HV({ icon: e, children: t, title: n }) {
+function WV({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -61136,8 +61136,8 @@ function HV({ icon: e, children: t, title: n }) {
}), t]
});
}
-function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, b.useRef)(null), [c, l] = (0, b.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, b.useState)([]), f = Qk(), p = C(), m = (0, b.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, b.useMemo)(() => OOe(h, e.release_date), [h, e.release_date]);
+function GV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
+ let s = (0, b.useRef)(null), [c, l] = (0, b.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, b.useState)([]), f = eA(), p = C(), m = (0, b.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, b.useMemo)(() => EOe(h, e.release_date), [h, e.release_date]);
(0, b.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -61157,22 +61157,22 @@ function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
],
queryFn: async ({ signal: t }) => {
let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await V(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);
- return m.current = n && i.state === "busy", AOe(h, i), i;
+ return m.current = n && i.state === "busy", OOe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => BV(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => HV(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !BV(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !HV(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
refetchOnWindowFocus: !1,
refetchInterval: (e) => e.state.data?.state === "busy" && 3e3
});
(0, b.useEffect)(() => {
_.data?.source_url && a?.(_.data.source_url);
}, [_.data?.source_url, a]), (0, b.useEffect)(() => {
- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && COe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && xOe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
}, [
_.data,
o,
@@ -61180,7 +61180,7 @@ function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
]);
let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {
!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {
- let n = await H(DA, {
+ let n = await H(kA, {
magnet: r.uri,
provider: v.key,
target: v.target,
@@ -61191,7 +61191,7 @@ function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
if (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");
return n;
}, (e) => {
- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: OA });
+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: AA });
});
}, S = (e) => {
f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -61209,7 +61209,7 @@ function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: gk,
+ leadingIcon: vk,
...q(w),
onClick: () => {
w || (m.current = !0, _.refetch());
@@ -61217,7 +61217,7 @@ function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
children: "重新查询"
})]
}),
- w ? /* @__PURE__ */ (0, x.jsx)(Jk, { label: "正在查找资源链接…" }) : null,
+ w ? /* @__PURE__ */ (0, x.jsx)(Xk, { label: "正在查找资源链接…" }) : null,
T ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "资源链接未取得",
@@ -61225,13 +61225,13 @@ function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}) : null,
_.data?.warnings?.map((e) => /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
- children: MOe(e)
+ children: AOe(e)
}, e)),
- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, x.jsx)(Gk, {
+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, x.jsx)(qk, {
variant: "secondary",
size: "small",
className: "self-start",
- trailingIcon: fk,
+ trailingIcon: mk,
href: _.data.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -61256,7 +61256,7 @@ function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
className: "flex min-w-0 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)(Uk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"
@@ -61270,26 +61270,26 @@ function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
"data-resource-facts": "",
className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",
children: [
- /* @__PURE__ */ (0, x.jsx)(HV, {
- icon: Gme,
+ /* @__PURE__ */ (0, x.jsx)(WV, {
+ icon: Ume,
children: e.source
}),
- /* @__PURE__ */ (0, x.jsx)(HV, {
- icon: pk,
+ /* @__PURE__ */ (0, x.jsx)(WV, {
+ icon: hk,
title: `来源大小:${e.size}`,
- children: jOe(e.size)
+ children: kOe(e.size)
}),
- e.files ? /* @__PURE__ */ (0, x.jsx)(HV, {
- icon: Ime,
+ e.files ? /* @__PURE__ */ (0, x.jsx)(WV, {
+ icon: Pme,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, x.jsx)(HV, {
- icon: Ome,
+ /* @__PURE__ */ (0, x.jsx)(WV, {
+ icon: Eme,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, x.jsx)(HV, {
- icon: hk,
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, x.jsx)(WV, {
+ icon: _k,
children: e
}, e))
]
@@ -61301,7 +61301,7 @@ function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
e.protocol === "magnet" ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
size: "small",
- leadingIcon: v ? TA[v.key] : Mme,
+ leadingIcon: v ? DA[v.key] : Ame,
title: v ? `下载到 ${v.label}` : void 0,
disabled: t || !n?.available || !v || r,
...q(f.busy === e.id),
@@ -61311,16 +61311,16 @@ function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
/* @__PURE__ */ (0, x.jsx)(G, {
variant: e.protocol === "magnet" ? "secondary" : "primary",
size: "small",
- leadingIcon: Fme,
+ leadingIcon: Nme,
...q(f.busy === `copy:${e.id}`),
onClick: () => S(e),
children: "复制链接"
}),
- /* @__PURE__ */ (0, x.jsx)(Gk, {
+ /* @__PURE__ */ (0, x.jsx)(qk, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: fk,
+ trailingIcon: mk,
href: e.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -61333,7 +61333,7 @@ function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
return /* @__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)(fA, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, x.jsx)(mA, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -61346,21 +61346,21 @@ function UV({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}
//#endregion
//#region src/react/wants/want-list.tsx
-var NOe = {
+var jOe = {
code: "手动添加",
feed: "订阅新作",
follow: "关注"
-}, POe = [
+}, MOe = [
["all", "全部"],
["available", "有磁链"],
["missing", "没磁链"]
-], WV = (e) => [
+], KV = (e) => [
e.release_date,
e.studio,
e.performers,
- NOe[e.origin]
+ jOe[e.origin]
].filter(Boolean).join(" · ");
-function FOe({ want: e }) {
+function NOe({ 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", {
@@ -61376,39 +61376,39 @@ function FOe({ want: e }) {
}) : null]
});
}
-function IOe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
+function POe({ 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: Kk({
+ className: Jk({
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)(FOe, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(NOe, { 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: NV(e)
+ children: FV(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]
}),
- WV(e) ? /* @__PURE__ */ (0, x.jsx)("p", {
+ KV(e) ? /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: WV(e)
+ children: KV(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: EOe(e)
+ children: wOe(e)
}) : null,
- e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(Jz, {
+ e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(Xz, {
text: e.scrape_error,
prefix: "资料未取得:",
tone: "muted"
@@ -61433,17 +61433,17 @@ function IOe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: dk,
+ leadingIcon: pk,
disabled: t,
...q(n === `remove:${e.id}`),
onClick: i,
children: "移除"
}),
- d ? /* @__PURE__ */ (0, x.jsx)(Gk, {
+ d ? /* @__PURE__ */ (0, x.jsx)(qk, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: fk,
+ trailingIcon: mk,
href: d,
target: "_blank",
rel: "noopener noreferrer",
@@ -61453,7 +61453,7 @@ function IOe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
})
]
})]
- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(UV, {
+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(GV, {
want: e,
readOnly: t,
downloads: o,
@@ -61463,8 +61463,8 @@ function IOe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
}) : null]
});
}
-function LOe({ phase: e, label: t, rows: n, row: r }) {
- let [i, a] = (0, b.useState)(1), [o, s] = (0, b.useState)("all"), c = kOe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = sr(d.length, 20, i);
+function FOe({ phase: e, label: t, rows: n, row: r }) {
+ let [i, a] = (0, b.useState)(1), [o, s] = (0, b.useState)("all"), c = DOe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = sr(d.length, 20, i);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": t,
"data-want-phase": e,
@@ -61478,19 +61478,19 @@ function LOe({ phase: e, label: t, rows: n, row: r }) {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: n.length.toLocaleString()
})]
- }), e === "searching" ? /* @__PURE__ */ (0, x.jsx)(XN, {
+ }), e === "searching" ? /* @__PURE__ */ (0, x.jsx)(QN, {
name: "want-magnet-filter",
"aria-label": "待找磁链筛选",
orientation: "horizontal",
value: o,
- className: ZN,
+ className: $N,
onChange: (e) => {
s(e), a(1);
},
- children: POe.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(YM, {
+ children: MOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(ZM, {
value: e,
"aria-label": t,
- className: QN,
+ className: eP,
children: [t, /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular tabular-nums text-text-tertiary",
children: (e === "all" ? n.length : e === "available" ? u.length : n.length - u.length).toLocaleString()
@@ -61498,9 +61498,9 @@ function LOe({ phase: e, label: t, rows: n, row: r }) {
}, e))
}) : null]
}),
- d.length ? null : /* @__PURE__ */ (0, x.jsx)(qk, {
+ d.length ? null : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: Jme,
+ icon: Kme,
title: "暂无符合条件的作品",
children: null
}),
@@ -61514,7 +61514,7 @@ function LOe({ phase: e, label: t, rows: n, row: r }) {
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${(f.start + 1).toLocaleString()}–${f.end.toLocaleString()} / ${f.total.toLocaleString()} 条`
- }), /* @__PURE__ */ (0, x.jsx)(JB, {
+ }), /* @__PURE__ */ (0, x.jsx)(XB, {
label: `${t}分页`,
page: f.page,
pages: f.pages,
@@ -61524,34 +61524,34 @@ function LOe({ phase: e, label: t, rows: n, row: r }) {
]
});
}
-function ROe({ readOnly: e, toast: t, query: n = "" }) {
- let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), s = Qk(), c = ut({
- queryKey: OV,
- queryFn: ({ signal: e }) => kV(e),
+function IOe({ readOnly: e, toast: t, query: n = "" }) {
+ let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), s = eA(), c = ut({
+ queryKey: AV,
+ queryFn: ({ signal: e }) => jV(e),
staleTime: 3e4,
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), l = () => {
let n = r.trim();
- n && !e && s.run("add", (e) => AV({ code: n }, e), (e) => {
- t(e.created ? `已加入想要:${NV(e.want)}` : `${NV(e.want)} 已经在想要里`), i(""), MV();
+ n && !e && s.run("add", (e) => MV({ code: n }, e), (e) => {
+ t(e.created ? `已加入想要:${FV(e.want)}` : `${FV(e.want)} 已经在想要里`), i(""), PV();
});
}, u = (e) => {
e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), l());
}, d = (e) => {
- s.run(`remove:${e.id}`, (t) => jV([e.id], t), () => {
- t(`已移除:${NV(e)}`), MV();
+ s.run(`remove:${e.id}`, (t) => NV([e.id], t), () => {
+ t(`已移除:${FV(e)}`), PV();
});
}, f = (e) => {
- s.run(`reset:${e.id}`, (t) => TOe([e.id], t), () => {
- t(`${NV(e)} 回到待找`), MV();
+ s.run(`reset:${e.id}`, (t) => COe([e.id], t), () => {
+ t(`${FV(e)} 回到待找`), PV();
});
}, p = c.data, m = (p?.items || []).filter((e) => !n || [
e.code,
e.title,
e.performers
].join(" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())), h = ut({
- queryKey: OA,
- queryFn: ({ signal: e }) => V(`${DA}?limit=100`, e),
+ queryKey: AA,
+ queryFn: ({ signal: e }) => V(`${kA}?limit=100`, e),
enabled: m.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))
}), g = h.data?.providers.filter((e) => e.configured) || [], _ = g[0]?.key || "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -61559,7 +61559,7 @@ function ROe({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-col gap-8",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: Jk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -61572,7 +61572,7 @@ function ROe({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-64 grow max-sm:min-w-0",
- children: /* @__PURE__ */ (0, x.jsx)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(NN, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -61603,9 +61603,9 @@ function ROe({ readOnly: e, toast: t, query: n = "" }) {
c.isPending ? /* @__PURE__ */ (0, x.jsx)("div", {
role: "status",
"aria-label": "正在读取想要",
- dangerouslySetInnerHTML: { __html: CV("wants") }
+ dangerouslySetInnerHTML: { __html: TV("wants") }
}) : null,
- p?.scraping ? /* @__PURE__ */ (0, x.jsx)(oA, {
+ p?.scraping ? /* @__PURE__ */ (0, x.jsx)(cA, {
role: "status",
children: "正在给刚加入的番号取资料与封面。"
}) : null,
@@ -61625,19 +61625,19 @@ function ROe({ readOnly: e, toast: t, query: n = "" }) {
tone: "neutral",
children: "云下载只在账本写入端可用。"
}) : null,
- p && !m.length ? /* @__PURE__ */ (0, x.jsx)(qk, {
+ p && !m.length ? /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: Jme,
+ icon: Kme,
title: n ? "没有符合条件的作品" : "还没有想要的作品",
children: n ? "试试其他番号、女优或标题。" : "输入番号,添加想看的作品。"
}) : null,
- SOe.map(([n, r]) => {
+ bOe.map(([n, r]) => {
let i = m.filter((e) => e.phase === n);
- return i.length ? /* @__PURE__ */ (0, x.jsx)(LOe, {
+ return i.length ? /* @__PURE__ */ (0, x.jsx)(FOe, {
phase: n,
label: r,
rows: i,
- row: (n) => /* @__PURE__ */ (0, x.jsx)(IOe, {
+ row: (n) => /* @__PURE__ */ (0, x.jsx)(POe, {
want: n,
readOnly: e,
busy: s.busy,
@@ -61658,7 +61658,7 @@ function ROe({ readOnly: e, toast: t, query: n = "" }) {
}, n.id)
}, n) : null;
}),
- /* @__PURE__ */ (0, x.jsx)(EV, {
+ /* @__PURE__ */ (0, x.jsx)(OV, {
prefill: a,
close: () => o(null),
receipt: t,
@@ -61669,13 +61669,13 @@ function ROe({ readOnly: e, toast: t, query: n = "" }) {
}
//#endregion
//#region src/react/jav/jav.ts
-var GV = (e, t = "taste", n = "desc") => [
+var qV = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function KV(e, t, n = {}) {
+function JV(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -61684,29 +61684,29 @@ function KV(e, t, n = {}) {
});
return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), V(`/api/jav/discoveries?${r}`, t);
}
-function qV(e, t, n) {
+function YV(e, t, n) {
let r = fa({
...e,
is_jav: !0
}, t, !1, n);
return r.html || !e.cover_url ? r.html : ua(e, t).replace(/ src="[^"]*"/, ` src="${z(e.cover_url)}" referrerpolicy="no-referrer" data-jav-image="${e.id}" data-jav-cover="${z(e.cover_url)}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`);
}
-async function zOe(e, t) {
+async function LOe(e, t) {
e === "wants" ? await U.ensureQueryData({
- queryKey: OV,
- queryFn: () => kV(t),
+ queryKey: AV,
+ queryFn: () => jV(t),
staleTime: 3e4,
revalidateIfStale: !0
}) : e === "discover" && await U.ensureQueryData({
- queryKey: GV("external"),
- queryFn: () => KV("external", t),
+ queryKey: qV("external"),
+ queryFn: () => JV("external", t),
staleTime: 3e4,
revalidateIfStale: !0
});
}
//#endregion
//#region src/react/jav/jav-header.tsx
-function JV({ tab: e, navigate: t, find: n }) {
+function XV({ tab: e, navigate: t, find: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex w-full flex-col gap-4",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -61720,25 +61720,25 @@ function JV({ tab: e, navigate: t, find: n }) {
onClick: n,
children: "查找资源"
})]
- }), /* @__PURE__ */ (0, x.jsx)(nV, {
- tabs: gV.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, x.jsx)(iV, {
+ tabs: vV.map(([e, t]) => ({
value: e,
label: t
})),
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(lOe(e))
+ onChange: (e) => t(sOe(e))
})]
});
}
-function BOe({ navigate: e, receipt: t }) {
+function ROe({ navigate: e, receipt: t }) {
let [n, r] = (0, b.useState)(null);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(JV, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(XV, {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, x.jsx)(EV, {
+ }), /* @__PURE__ */ (0, x.jsx)(OV, {
prefill: n,
close: () => r(null),
receipt: t
@@ -61746,23 +61746,23 @@ function BOe({ navigate: e, receipt: t }) {
}
//#endregion
//#region src/react/jav/jav-page.tsx
-var VOe = FN("search");
-function YV(e) {
+var zOe = LN("search");
+function ZV(e) {
let t = new URLSearchParams(location.search);
for (let [n, r] of Object.entries(e)) r ? t.set(n, r) : t.delete(n);
- ek(location.pathname + (t.size ? `?${t}` : ""), {
+ nk(location.pathname + (t.size ? `?${t}` : ""), {
replace: !0,
- state: $O.navigation.location.state
+ state: tk.navigation.location.state
});
}
-function HOe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
+function BOe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
let [i, a] = (0, b.useState)(null), [o, s] = (0, b.useState)(() => new URLSearchParams(location.search).get("q") || ""), c = (e) => {
- s(e), YV({ q: e });
+ s(e), ZV({ q: e });
};
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex w-full flex-col gap-6",
children: [
- /* @__PURE__ */ (0, x.jsx)(JV, {
+ /* @__PURE__ */ (0, x.jsx)(XV, {
tab: e,
navigate: n,
find: () => a({})
@@ -61772,29 +61772,29 @@ function HOe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
onSubmit: (e) => {
e.preventDefault();
},
- children: /* @__PURE__ */ (0, x.jsx)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(NN, {
type: "search",
"aria-label": e === "discover" ? "筛选推荐" : "筛选想要",
placeholder: "筛选番号、女优或标题",
- leadingIcon: VOe,
+ leadingIcon: zOe,
value: o,
onChange: c,
enterKeyHint: "search"
})
}),
- e === "discover" ? /* @__PURE__ */ (0, x.jsx)(UOe, {
+ e === "discover" ? /* @__PURE__ */ (0, x.jsx)(VOe, {
readOnly: t,
receipt: r,
resource: a,
query: o.trim(),
navigate: n,
clearText: () => c("")
- }) : /* @__PURE__ */ (0, x.jsx)(ROe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(IOe, {
readOnly: t,
toast: r,
query: o.trim()
}),
- /* @__PURE__ */ (0, x.jsx)(EV, {
+ /* @__PURE__ */ (0, x.jsx)(OV, {
prefill: i,
close: () => a(null),
receipt: r
@@ -61802,33 +61802,33 @@ function HOe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
]
});
}
-function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
- let o = new URLSearchParams(location.search), [s, c] = (0, b.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, b.useState)(() => o.get("tag") || ""), [d, f] = (0, b.useState)(() => vV.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, b.useState)(() => o.get("dir") === "asc"), h = (e) => {
- c(e), YV({ scope: e === "external" ? "" : e });
+function VOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
+ let o = new URLSearchParams(location.search), [s, c] = (0, b.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, b.useState)(() => o.get("tag") || ""), [d, f] = (0, b.useState)(() => bV.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, b.useState)(() => o.get("dir") === "asc"), h = (e) => {
+ c(e), ZV({ scope: e === "external" ? "" : e });
}, g = (e) => {
- u(e), YV({ tag: e });
+ u(e), ZV({ tag: e });
}, _ = (e) => {
- f(e), YV({ sort: e === "taste" ? "" : e });
+ f(e), ZV({ sort: e === "taste" ? "" : e });
}, v = (e) => {
- m(e), YV({ dir: e ? "asc" : "" });
+ m(e), ZV({ dir: e ? "asc" : "" });
}, y = (0, b.useRef)(null);
(0, b.useEffect)(() => {
let e = [...y.current?.querySelectorAll("[data-catalog-scroll],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => Fo(e, { drag: !0 }));
return () => e.forEach((e) => e.destroy());
}, []);
- let S = IT();
+ let S = LT();
(0, b.useSyncExternalStore)(S.subscribe, S.version, S.version);
- let C = qT(), w = tE(eE({
+ let C = JT(), w = nE(tE({
active: !0,
home: !1,
portrait: !1
})), T = (0, b.useRef)({}), E = (0, b.useRef)(!1), D = (0, b.useRef)(!1), O = p ? "asc" : "desc", k = ut({
- queryKey: GV(s, d, O),
+ queryKey: qV(s, d, O),
retry: !1,
refetchOnWindowFocus: !1,
queryFn: ({ signal: e }) => {
let t = E.current, n = D.current;
- return E.current = !1, D.current = !1, KV(s, e, {
+ return E.current = !1, D.current = !1, JV(s, e, {
sort: d,
direction: O,
jobId: t ? void 0 : T.current[s],
@@ -61841,7 +61841,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
(0, b.useEffect)(() => {
A?.job_id && (T.current[s] = A.job_id);
}, [s, A?.job_id]);
- let j = Qk(), M = Qk(), N = (e) => {
+ let j = eA(), M = eA(), N = (e) => {
M.run(e, async () => (D.current = e === "stop", E.current = e !== "stop", k.refetch({
cancelRefetch: !0,
throwOnError: !0
@@ -61860,7 +61860,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"aria-busy": te,
className: "flex min-w-0 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(RA, {
+ /* @__PURE__ */ (0, x.jsx)(BA, {
label: "发现筛选与排序",
topLabel: "发现范围与标签",
attrs: {
@@ -61875,7 +61875,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-catalog-scroll": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-catalog-views": "",
- children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(zA, {
+ children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(VA, {
"data-entity-tag": e,
"data-entity-press": "",
pressed: s === e,
@@ -61889,8 +61889,8 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
})]
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-catalog-tags": "",
- dangerouslySetInnerHTML: te ? { __html: SV() } : void 0,
- children: te ? null : ee.map((e) => /* @__PURE__ */ (0, x.jsxs)(zA, {
+ dangerouslySetInnerHTML: te ? { __html: wV() } : void 0,
+ children: te ? null : ee.map((e) => /* @__PURE__ */ (0, x.jsxs)(VA, {
"data-catalog-tag": e,
"data-entity-press": "",
pressed: l === e,
@@ -61911,8 +61911,8 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
className: "relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"
}) : `${F.length} 部`
}),
- /* @__PURE__ */ (0, x.jsx)(qN, { currentHref: () => location.pathname + location.search }),
- r || l ? /* @__PURE__ */ (0, x.jsx)(BA, {
+ /* @__PURE__ */ (0, x.jsx)(YN, { currentHref: () => location.pathname + location.search }),
+ r || l ? /* @__PURE__ */ (0, x.jsx)(HA, {
onPress: () => {
g(""), a();
},
@@ -61932,14 +61932,14 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
onClick: () => N(A?.status === "running" ? "stop" : "update"),
dangerouslySetInnerHTML: { __html: M.busy ? eo("正在更新资料") : R(A?.status === "running" ? "x" : "refresh-cw") }
}) : null,
- /* @__PURE__ */ (0, x.jsx)(xP, {
+ /* @__PURE__ */ (0, x.jsx)(CP, {
label: "JAV 卡片版式",
value: C,
- options: HT,
- onChange: nE
+ options: UT,
+ onChange: rE
}),
- /* @__PURE__ */ (0, x.jsx)(CP, {
- sorts: vV.map(([e, t, n]) => ({
+ /* @__PURE__ */ (0, x.jsx)(TP, {
+ sorts: bV.map(([e, t, n]) => ({
key: e,
label: t,
ariaLabel: n,
@@ -61957,7 +61957,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
te ? /* @__PURE__ */ (0, x.jsx)("div", {
role: "status",
"aria-label": "正在读取推荐",
- dangerouslySetInnerHTML: { __html: CV("discover", C) }
+ dangerouslySetInnerHTML: { __html: TV("discover", C) }
}) : null,
k.error ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -61967,7 +61967,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
s === "external" && A?.status === "running" ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-jav-metadata": "",
className: "min-w-0",
- children: /* @__PURE__ */ (0, x.jsx)(yL, {
+ children: /* @__PURE__ */ (0, x.jsx)(xL, {
embedded: !0,
label: `正在读取作品资料 · ${A.completed} / ${A.total} 部`,
value: A.completed,
@@ -61988,11 +61988,11 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
tone: "error",
children: M.error
}) : null,
- !te && !k.error && !F.length ? /* @__PURE__ */ (0, x.jsx)(qk, {
+ !te && !k.error && !F.length ? /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: lk,
+ icon: dk,
title: r || l ? "没有符合条件的推荐" : "暂无匹配口味的作品",
- actions: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ actions: /* @__PURE__ */ (0, x.jsx)(qk, {
href: "/taste",
variant: "secondary",
children: "查看口味"
@@ -62005,13 +62005,13 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
"data-media-grid": "",
- className: xV,
+ className: CV,
style: { "--card-ratio": w },
children: F.map((r) => {
- let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = qV(r, C, S.value.javImage), s = dOe(r.taste_score ?? r.score), c = [
+ let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = YV(r, C, S.value.javImage), s = lOe(r.taste_score ?? r.score), c = [
s.label,
- `口味 ${yV(r.taste_score ?? r.score)}`,
- k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${yV(r.ranking_score)}` : "",
+ `口味 ${xV(r.taste_score ?? r.score)}`,
+ k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${xV(r.ranking_score)}` : "",
r.source_score == null ? "" : `来源评分 ${r.source_score.toFixed(1)} / 5`,
...r.reasons || []
].filter(Boolean).join(" · ");
@@ -62031,12 +62031,12 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-media-pic": "",
"data-jav-cover-box": "",
className: "relative inline-grid place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",
- children: o ? /* @__PURE__ */ (0, x.jsx)(kP, {
+ children: o ? /* @__PURE__ */ (0, x.jsx)(jP, {
artwork: {
kind: "cover",
html: o
},
- identity: qV(r, "small", S.value.javImage),
+ identity: YV(r, "small", S.value.javImage),
relayout: (e) => Vs(e, C)
}) : /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-nopic": "",
@@ -62045,7 +62045,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-meta": "",
- children: [/* @__PURE__ */ (0, x.jsx)(cOe, { item: r }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(oOe, { item: r }), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-text": "",
children: [
/* @__PURE__ */ (0, x.jsxs)("h3", {
@@ -62107,7 +62107,7 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
title: c,
"aria-label": `推荐分 ${s.score},${s.label}`,
className: "rounded-md outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, x.jsx)(Uk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Gk, {
color: s.color,
children: s.label
})
@@ -62140,16 +62140,16 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
disabled: e || r.wanted || !!r.asset_id,
...q(j.busy === String(r.id)),
onClick: () => {
- j.run(String(r.id), (e) => AV({ code: r.code }, e), () => {
- t("已加入想要"), MV(), k.refetch();
+ j.run(String(r.id), (e) => MV({ code: r.code }, e), () => {
+ t("已加入想要"), PV(), k.refetch();
});
},
children: r.asset_id ? "已入库" : r.wanted ? "已加入想要" : "想要"
}),
- r.link ? /* @__PURE__ */ (0, x.jsx)(Gk, {
+ r.link ? /* @__PURE__ */ (0, x.jsx)(qk, {
"data-button-link": "",
variant: "secondary",
- trailingIcon: fk,
+ trailingIcon: mk,
href: r.link,
target: "_blank",
rel: "noopener noreferrer",
@@ -62166,12 +62166,12 @@ function UOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var XV = "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", WOe = {
- gray: `${XV} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${XV} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${XV} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var QV = "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", HOe = {
+ gray: `${QV} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${QV} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${QV} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function GOe({ value: e, max: t }) {
+function UOe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, x.jsxs)("svg", {
role: "progressbar",
@@ -62199,16 +62199,16 @@ function GOe({ value: e, max: t }) {
})]
});
}
-function KOe(e) {
- let { job: t } = bL(e), n = t.data, r = t.isError ? n ? EF : B(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function WOe(e) {
+ let { job: t } = SL(e), n = t.data, r = t.isError ? n ? OF : B(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 ? "扫描与资料采集未完成" : OF(n) + (c ? ` · ${xA(l, c)}` : "")), d = s === "gray" ? Hme : Nme;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : AF(n) + (c ? ` · ${CA(l, c)}` : "")), d = s === "gray" ? Bme : jme;
return /* @__PURE__ */ (0, x.jsxs)("aside", {
role: a ? "alert" : "status",
- className: WOe[s],
+ className: HOe[s],
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && c ? /* @__PURE__ */ (0, x.jsx)(GOe, {
+ children: [o && c ? /* @__PURE__ */ (0, x.jsx)(UOe, {
value: l,
max: c
}) : /* @__PURE__ */ (0, x.jsx)(d, {
@@ -62218,42 +62218,42 @@ function KOe(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, x.jsx)(tA, {
+ }), /* @__PURE__ */ (0, x.jsx)(rA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: ok,
+ trailingIcon: ck,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var qOe = "/api/playlists", ZV = "/api/playlist", QV = ["playlists"], $V = (e) => V(qOe, e);
-async function JOe(e) {
+var GOe = "/api/playlists", $V = "/api/playlist", eH = ["playlists"], tH = (e) => V(GOe, e);
+async function KOe(e) {
await U.fetchQuery({
- queryKey: QV,
- queryFn: () => $V(e),
+ queryKey: eH,
+ queryFn: () => tH(e),
staleTime: 0
});
}
-var eH = () => U.invalidateQueries({
- queryKey: QV,
+var nH = () => U.invalidateQueries({
+ queryKey: eH,
exact: !0
-}), YOe = (e) => e.current_asset_id || e.preview_asset_id || null, tH = (e) => `/poster?id=${e}&c=4`, XOe = (e) => H(ZV, {
+}), qOe = (e) => e.current_asset_id || e.preview_asset_id || null, rH = (e) => `/poster?id=${e}&c=4`, JOe = (e) => H($V, {
action: "create",
name: e,
asset_ids: []
-}), nH = (e, t) => H(ZV, {
+}), iH = (e, t) => H($V, {
action: "rename",
id: e,
name: t
-}), rH = (e) => H(ZV, {
+}), aH = (e) => H($V, {
action: "delete",
id: e
-}), ZOe = (e) => V(`${ZV}?id=${e}`).catch(() => null);
-function QOe(e) {
+}), YOe = (e) => V(`${$V}?id=${e}`).catch(() => null);
+function XOe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return H(ZV, {
+ return H($V, {
action: "create",
name: e.name,
asset_ids: t,
@@ -62263,18 +62263,18 @@ function QOe(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var $Oe = FN("ellipsis"), eke = FN("pencil"), tke = FN("trash"), nke = FN("playlist"), iH = Bk(JI, YI, "text-body-2-medium"), aH = "播放列表名称不能为空", oH = (e) => async () => {
+var ZOe = LN("ellipsis"), QOe = LN("pencil"), $Oe = LN("trash"), eke = LN("playlist"), oH = Hk(XI, ZI, "text-body-2-medium"), sH = "播放列表名称不能为空", cH = (e) => async () => {
try {
await e();
} finally {
- eH();
+ nH();
}
};
-function rke({ toast: e }) {
+function tke({ toast: e }) {
let [t, n] = (0, b.useState)(""), [r, i] = (0, b.useState)(""), a = dt({
- mutationFn: (e) => XOe(e),
+ mutationFn: (e) => JOe(e),
onSuccess: (t) => {
- n(""), i(""), eH(), e("已新建播放列表", { undo: oH(() => rH(t.playlist.id)) });
+ n(""), i(""), nH(), e("已新建播放列表", { undo: cH(() => aH(t.playlist.id)) });
},
onError: (e) => i(B(e) || "新建失败")
});
@@ -62282,12 +62282,12 @@ function rke({ toast: e }) {
"data-playlist-create": "",
"aria-label": "新建播放列表",
onSubmit: (e) => {
- e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(aH));
+ e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(sH));
},
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)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(NN, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -62306,7 +62306,7 @@ function rke({ toast: e }) {
})]
});
}
-function ike({ target: e, close: t, toast: n }) {
+function nke({ 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;
@@ -62317,13 +62317,13 @@ function ike({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = dt({
- mutationFn: ({ row: e, value: t }) => nH(e.id, t),
+ mutationFn: ({ row: e, value: t }) => iH(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), eH(), n("已重命名播放列表", { undo: oH(() => nH(r.id, r.name)) });
+ t(), nH(), n("已重命名播放列表", { undo: cH(() => iH(r.id, r.name)) });
},
onError: (e) => o(B(e))
});
- return /* @__PURE__ */ (0, x.jsx)(MN, {
+ return /* @__PURE__ */ (0, x.jsx)(PN, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -62337,16 +62337,16 @@ function ike({ target: e, close: t, toast: n }) {
n ? c.mutate({
row: e,
value: n
- }) : o(aH);
+ }) : o(sH);
},
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)(uj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(fj, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, x.jsx)(jN, {
+ }), /* @__PURE__ */ (0, x.jsx)(NN, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -62374,7 +62374,7 @@ function ike({ target: e, close: t, toast: n }) {
})
});
}
-function ake({ name: e, onRename: t, onDelete: n }) {
+function rke({ name: e, onRename: t, onDelete: n }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -62388,33 +62388,33 @@ function ake({ 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)($Oe, {
+ children: /* @__PURE__ */ (0, x.jsx)(ZOe, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ }), /* @__PURE__ */ (0, x.jsx)(jM, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: qI,
- children: /* @__PURE__ */ (0, x.jsxs)(KI, {
+ className: YI,
+ children: /* @__PURE__ */ (0, x.jsxs)(JI, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: iH,
+ className: oH,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, x.jsx)(eke, {
+ children: [/* @__PURE__ */ (0, x.jsx)(QOe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: iH,
+ className: oH,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, x.jsx)(tke, {
+ children: [/* @__PURE__ */ (0, x.jsx)($Oe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -62422,13 +62422,13 @@ function ake({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function oke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
+function ike({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
let a = ut({
- queryKey: QV,
- queryFn: ({ signal: e }) => $V(e)
+ queryKey: eH,
+ queryFn: ({ signal: e }) => tH(e)
}), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(i);
(0, b.useEffect)(() => {
- c.current !== i && (c.current = i, eH());
+ c.current !== i && (c.current = i, nH());
}, [i]);
let l = a.data, u = l?.items ?? [], d = (e) => {
ls({
@@ -62437,8 +62437,8 @@ function oke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await ZOe(e.id);
- await rH(e.id), eH(), r("已删除播放列表", t ? { undo: oH(() => QOe(t)) } : void 0);
+ let t = await YOe(e.id);
+ await aH(e.id), nH(), r("已删除播放列表", t ? { undo: cH(() => XOe(t)) } : void 0);
}
});
};
@@ -62453,7 +62453,7 @@ function oke({ 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)(rke, { toast: r })]
+ })] }), /* @__PURE__ */ (0, x.jsx)(tke, { toast: r })]
}),
/* @__PURE__ */ (0, x.jsx)("div", {
className: "mx-auto w-full max-w-board",
@@ -62461,36 +62461,36 @@ function oke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: u.map((r) => {
- let i = YOe(r), a = r.name.trim() || "未命名播放列表";
- return /* @__PURE__ */ (0, x.jsx)(HP, {
+ let i = qOe(r), a = r.name.trim() || "未命名播放列表";
+ return /* @__PURE__ */ (0, x.jsx)(WP, {
"data-playlist-card": String(r.id),
name: a,
caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: r.item_count,
- poster: r.preview_asset_id ? tH(r.preview_asset_id) : null,
- flipImages: async () => (r.preview_ids || []).map(tH),
+ poster: r.preview_asset_id ? rH(r.preview_asset_id) : null,
+ flipImages: async () => (r.preview_ids || []).map(rH),
canFlip: n,
faces: r.faces || [],
onOpenEntity: t,
...i ? { onOpen: () => e(r.id, i) } : {},
openLabel: `打开播放列表 ${a}`,
- menu: /* @__PURE__ */ (0, x.jsx)(ake, {
+ menu: /* @__PURE__ */ (0, x.jsx)(rke, {
name: a,
onRename: () => s(r),
onDelete: () => d(r)
})
}, r.id);
})
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: nke,
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
+ icon: eke,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
- }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(OP, {
+ }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(AP, {
message: B(a.error) || "播放列表读取失败",
onRetry: () => void a.refetch()
}) : null
}),
- /* @__PURE__ */ (0, x.jsx)(ike, {
+ /* @__PURE__ */ (0, x.jsx)(nke, {
target: o,
close: () => s(null),
toast: r
@@ -62500,11 +62500,11 @@ function oke({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function ske({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function ake({ 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: Kk({
+ className: Jk({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -62520,7 +62520,7 @@ function ske({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, x.jsx)("img", {
- src: RF(e),
+ src: BF(e),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -62568,7 +62568,7 @@ function ske({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
origin: `asset:${e.id}`,
searchReason: e.reason || "",
duration: e.duration,
- cover: RF(e)
+ cover: BF(e)
}),
children: "查找资源"
}) : null, /* @__PURE__ */ (0, x.jsx)(G, {
@@ -62580,26 +62580,26 @@ function ske({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
})]
});
}
-function cke({ toast: e, ...t }) {
+function oke({ toast: e, ...t }) {
let [n, r] = (0, b.useState)(null), i = ut({
- queryKey: IF,
- queryFn: ({ signal: e }) => LF(e)
+ queryKey: RF,
+ queryFn: ({ signal: e }) => zF(e)
}), a = i.data;
- if (!a) return /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!a) return /* @__PURE__ */ (0, x.jsx)(Zk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "高清版目标读取失败",
children: i.error ? B(i.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let o = a.items || [];
- return o.length ? /* @__PURE__ */ (0, x.jsxs)(Yk, { children: [
- /* @__PURE__ */ (0, x.jsx)(Fz, {
+ return o.length ? /* @__PURE__ */ (0, x.jsxs)(Zk, { children: [
+ /* @__PURE__ */ (0, x.jsx)(Lz, {
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)(ske, {
+ children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(ake, {
item: e,
...t,
searchResources: r
@@ -62609,22 +62609,22 @@ function cke({ 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)(EV, {
+ /* @__PURE__ */ (0, x.jsx)(OV, {
prefill: n,
close: () => r(null),
receipt: e
})
- ] }) : /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsx)(qk, {
+ ] }) : /* @__PURE__ */ (0, x.jsx)(Zk, { children: /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: the,
+ icon: $me,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function lke(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 = Zbe(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), S = y.length ? "统一选择来源" : "所选项目无共同来源";
+function ske(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 = Ybe(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": "复核筛选",
@@ -62632,29 +62632,29 @@ function lke(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(CL, {
+ /* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, x.jsxs)(CL, {
+ i.length > 1 ? /* @__PURE__ */ (0, x.jsxs)(TL, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, x.jsx)(wL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(EL, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -62662,7 +62662,7 @@ function lke(e) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Ame,
+ leadingIcon: Ome,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -62673,12 +62673,12 @@ function lke(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), /* @__PURE__ */ (0, x.jsxs)(nT, {
+ }), /* @__PURE__ */ (0, x.jsxs)(rT, {
label: "复核所选项目",
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, x.jsxs)(CL, {
+ b ? /* @__PURE__ */ (0, x.jsxs)(TL, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -62686,10 +62686,10 @@ function lke(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, x.jsx)(wL, {
+ children: [/* @__PURE__ */ (0, x.jsx)(EL, {
id: "",
children: S
- }), y.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ }), y.map((e) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e,
children: e
}, e))]
@@ -62725,7 +62725,7 @@ function lke(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var uke = {
+var cke = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -62735,14 +62735,14 @@ var uke = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, sH = "reviewgenretags";
-function dke({ tags: e }) {
+}, lH = "reviewgenretags";
+function lke({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("datalist", {
- id: sH,
+ id: lH,
children: e.map((e) => /* @__PURE__ */ (0, x.jsx)("option", { value: e }, e))
}) : null;
}
-function cH({ candidate: e, selectable: t = !1 }) {
+function uH({ 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",
@@ -62779,7 +62779,7 @@ function cH({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, x.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: uke[e] || e
+ children: cke[e] || e
}),
/* @__PURE__ */ (0, x.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -62794,32 +62794,32 @@ function cH({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function fke({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function uke({ 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)(cH, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, x.jsx)(JM, {
+ children: /* @__PURE__ */ (0, x.jsx)(uH, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, x.jsx)(XM, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(YM, {
+ children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(ZM, {
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)(cH, {
+ children: /* @__PURE__ */ (0, x.jsx)(uH, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function pke({ genre: e, tags: t, locked: n, toast: r }) {
+function dke({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), c = dt({
- mutationFn: (t) => axe(e, t),
+ mutationFn: (t) => rxe(e, t),
onSuccess: async (t, n) => {
- t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await sxe()) : s(t.error || "服务端拒绝了这次收录");
+ t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await axe()) : s(t.error || "服务端拒绝了这次收录");
},
onError: (e) => s(B(e))
}), l = () => {
@@ -62834,16 +62834,16 @@ function pke({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, x.jsx)(ON, {
+ /* @__PURE__ */ (0, x.jsx)(AN, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(AN, {
+ children: /* @__PURE__ */ (0, x.jsx)(MN, {
size: "small",
- list: t.length ? sH : void 0,
+ list: t.length ? lH : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -62875,8 +62875,8 @@ function pke({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function mke({ row: e, tags: t, locked: n, toast: r }) {
- let i = nxe(e);
+function fke({ row: e, tags: t, locked: n, toast: r }) {
+ let i = exe(e);
return i.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -62884,7 +62884,7 @@ function mke({ 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)(pke, {
+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(dke, {
genre: e,
tags: t,
locked: n,
@@ -62894,12 +62894,12 @@ function mke({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var lH = (e = "") => /^https?:\/\//i.test(e) ? e : "", hke = (e = "") => lH(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function uH({ url: e }) {
- let t = hke(e || "");
- return /* @__PURE__ */ (0, x.jsx)(gke, { source: t }, t);
+var dH = (e = "") => /^https?:\/\//i.test(e) ? e : "", pke = (e = "") => dH(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function fH({ url: e }) {
+ let t = pke(e || "");
+ return /* @__PURE__ */ (0, x.jsx)(mke, { source: t }, t);
}
-function gke({ source: e }) {
+function mke({ source: e }) {
let [t, n] = (0, b.useState)("idle");
return (0, b.useEffect)(() => {
if (t !== "loading") return;
@@ -62936,7 +62936,7 @@ function gke({ source: e }) {
})]
});
}
-function dH({ asset: e, openItem: t }) {
+function pH({ 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",
@@ -62952,7 +62952,7 @@ function dH({ asset: e, openItem: t }) {
}) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, x.jsx)(Rb, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, x.jsx)(zb, { children: `打开原视频 ${n}` })]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
children: [/* @__PURE__ */ (0, x.jsx)("b", {
@@ -62962,21 +62962,21 @@ function dH({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Kme,
+ leadingIcon: Wme,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function _ke({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function hke({ 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 ${GB}`,
+ 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 ${qB}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -62992,8 +62992,8 @@ function _ke({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function vke({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = lH(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function gke({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = dH(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: [
@@ -63003,10 +63003,10 @@ function vke({ 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)(Gk, {
+ children: [o ? /* @__PURE__ */ (0, x.jsx)(qk, {
variant: "secondary",
size: "small",
- trailingIcon: fk,
+ trailingIcon: mk,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -63018,7 +63018,7 @@ function vke({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, x.jsx)(uH, { url: e.preview_url }),
+ /* @__PURE__ */ (0, x.jsx)(fH, { url: e.preview_url }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -63061,7 +63061,7 @@ function vke({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function yke({ assets: e, picked: t, onPicked: n, locked: r }) {
+function _ke({ 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);
@@ -63117,7 +63117,7 @@ function yke({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, x.jsx)(kL, {
+ children: /* @__PURE__ */ (0, x.jsx)(jL, {
size: "sm",
state: {
isSelected: n,
@@ -63128,7 +63128,7 @@ function yke({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, x.jsx)(Rb, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, x.jsx)(zb, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -63137,22 +63137,22 @@ function yke({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var bke = Kk({
+var vke = Jk({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), fH = "flex min-h-6 min-w-0 items-center", pH = 2, xke = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function Ske(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 = hL(), h = hL(), g = t === "metadata_fields", _ = qbe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = $be(t, n), C = KF(t, n), w = GF(t, n), T = exe(n), E = txe(n), D = WF(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", {
+}), mH = "flex min-h-6 min-w-0 items-center", hH = 2, yke = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function bke(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 = _L(), h = _L(), g = t === "metadata_fields", _ = Gbe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = Zbe(t, n), C = JF(t, n), w = qF(t, n), T = Qbe(n), E = $be(n), D = KF(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, pH).map((e) => /* @__PURE__ */ (0, x.jsx)(dH, {
+ children: [O.slice(0, hH).map((e) => /* @__PURE__ */ (0, x.jsx)(pH, {
asset: e,
openItem: f.openItem
- }, e.id)), O.length > pH ? /* @__PURE__ */ (0, x.jsx)("p", {
+ }, e.id)), O.length > hH ? /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: `另有 ${(O.length - pH).toLocaleString()} 部对照作品`
+ children: `另有 ${(O.length - hH).toLocaleString()} 部对照作品`
}) : null]
- }) : y ? /* @__PURE__ */ (0, x.jsx)(_ke, {
+ }) : y ? /* @__PURE__ */ (0, x.jsx)(hke, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -63163,14 +63163,14 @@ function Ske(e) {
image_version: n.image_version,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(dH, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(pH, {
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)(fke, {
+ }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(uke, {
row: n,
fieldName: C,
value: r.candidateKey,
@@ -63179,7 +63179,7 @@ function Ske(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(yke, {
+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(_ke, {
assets: k,
picked: r.assets,
locked: s,
@@ -63187,24 +63187,24 @@ function Ske(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "inset",
- icon: Bme,
+ icon: Rme,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(vke, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(gke, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, x.jsx)(uH, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {
- className: `${fH} flex-wrap gap-2`,
+ }) : /* @__PURE__ */ (0, x.jsx)(fH, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {
+ className: `${mH} 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)(Uk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: "blue",
children: C
@@ -63215,7 +63215,7 @@ function Ske(e) {
children: w
})]
}) : /* @__PURE__ */ (0, x.jsx)("h4", {
- className: fH,
+ className: mH,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: S,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -63225,20 +63225,20 @@ function Ske(e) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": S,
"data-review-key": n.item_key,
- className: `${bke} ${xke(t)} overflow-hidden`,
+ className: `${vke} ${yke(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: `${fH} shrink-0`,
+ className: `${mH} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, x.jsx)(AL, {
+ children: /* @__PURE__ */ (0, x.jsx)(ML, {
isSelected: a,
"aria-label": `选择 ${S}`,
onChange: (e) => o(p.current, e)
@@ -63248,7 +63248,7 @@ function Ske(e) {
className: "min-w-0 flex-1",
children: N
}),
- A ? /* @__PURE__ */ (0, x.jsx)(Uk, {
+ A ? /* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -63272,7 +63272,7 @@ function Ske(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)(Uk, {
+ children: E.length ? E.map((e) => /* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: "soft",
children: e
@@ -63282,7 +63282,7 @@ function Ske(e) {
})
}) : null,
M,
- /* @__PURE__ */ (0, x.jsx)(mke, {
+ /* @__PURE__ */ (0, x.jsx)(fke, {
row: n,
tags: u,
locked: s,
@@ -63345,8 +63345,8 @@ function Ske(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var Cke = "flex cursor-pointer items-center justify-between gap-2";
-function wke({ page: e, pages: t, onPage: n }) {
+var xke = "flex cursor-pointer items-center justify-between gap-2";
+function Ske({ 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",
@@ -63383,34 +63383,34 @@ function wke({ page: e, pages: t, onPage: n }) {
]
});
}
-function Tke(e) {
+function Cke(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)(HF(e.category) ? e.category : Kbe), [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)(WF(e.category) ? e.category : Wbe), [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 = ut({
- queryKey: BF,
- queryFn: ({ signal: e }) => JF(e)
+ queryKey: HF,
+ queryFn: ({ signal: e }) => XF(e)
}), F = ee.data || {
sections: {},
counts: {}
- }, te = F.sections[d] || [], I = d === "metadata_fields", ne = c, re = Jbe(te, I), ie = re.some(([e]) => e === p) ? p : "candidates", ae = UF(te, ie), oe = ae.some((e) => e.key === h) ? h : "", se = Xbe(Ybe(te, ie, oe), _), ce = se.rows.map((e) => e.item_key), le = new Set(ce), ue = ae.map((e) => ({
+ }, te = F.sections[d] || [], I = d === "metadata_fields", ne = c, re = Kbe(te, I), ie = re.some(([e]) => e === p) ? p : "candidates", ae = GF(te, ie), oe = ae.some((e) => e.key === h) ? h : "", se = Jbe(qbe(te, ie, oe), _), ce = se.rows.map((e) => e.item_key), le = new Set(ce), ue = ae.map((e) => ({
...e,
rows: e.rows.filter((e) => le.has(e.item_key))
- })).filter((e) => e.rows.length), de = (e) => C.get(e.item_key) || rxe(e), fe = te.filter((e) => y.has(e.item_key)), pe = (e) => {
+ })).filter((e) => e.rows.length), de = (e) => C.get(e.item_key) || txe(e), fe = te.filter((e) => y.has(e.item_key)), pe = (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))));
}, me = (e, t) => E((n) => new Map(n).set(e, t)), he = (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 });
}, ge = dt({
- mutationFn: ({ row: e, status: t }) => YF(qF(d, e, t, de(e))),
+ mutationFn: ({ row: e, status: t }) => ZF(YF(d, e, t, de(e))),
onSuccess: (e, { row: t, status: n }) => {
- e.ok ? (XF(d, [t.item_key]), pe([t.item_key]), s(ixe(n))) : me(t.item_key, e.error || "服务端拒绝了这次判定");
+ e.ok ? (QF(d, [t.item_key]), pe([t.item_key]), s(nxe(n))) : me(t.item_key, e.error || "服务端拒绝了这次判定");
},
onError: (e, { row: t }) => me(t.item_key, B(e))
}), _e = dt({
@@ -63420,7 +63420,7 @@ function Tke(e) {
if (!P.current) break;
O(`正在处理 ${i} / ${t.length}`);
try {
- let t = await YF(qF(d, a, e, de(a)));
+ let t = await ZF(YF(d, a, e, de(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -63434,7 +63434,7 @@ function Tke(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- XF(d, t), pe(t), n.forEach(([e, t]) => me(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ QF(d, t), pe(t), n.forEach(([e, t]) => me(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
O(B(e));
@@ -63458,7 +63458,7 @@ function Tke(e) {
j(e), N("");
let t = await o(e);
P.current && (j(0), N(t));
- }, xe = cxe(F.mirror, l), Se = F.genre_tags || [], Ce = {
+ }, xe = oxe(F.mirror, l), Se = F.genre_tags || [], Ce = {
openItem: i,
openEntity: a,
onReveal: be,
@@ -63466,7 +63466,7 @@ function Tke(e) {
revealNote: M,
toast: s
};
- return /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsxs)("div", {
+ return /* @__PURE__ */ (0, x.jsx)(Zk, { children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
ne ? /* @__PURE__ */ (0, x.jsx)(K, {
@@ -63482,13 +63482,13 @@ function Tke(e) {
}) : void 0,
children: xe
}) : null,
- /* @__PURE__ */ (0, x.jsx)(dke, { tags: Se }),
- /* @__PURE__ */ (0, x.jsxs)(CN, {
+ /* @__PURE__ */ (0, x.jsx)(lke, { tags: Se }),
+ /* @__PURE__ */ (0, x.jsxs)(TN, {
orientation: t ? "horizontal" : "vertical",
selectedKey: d,
onSelectionChange: (e) => {
let t = String(e);
- HF(t) && he(t);
+ WF(t) && he(t);
},
className: "flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -63497,27 +63497,27 @@ function Tke(e) {
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, x.jsx)(wN, {
+ }), /* @__PURE__ */ (0, x.jsx)(EN, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: Gbe.map((e) => {
+ children: Ube.map((e) => {
let t = Number(F.counts[e] || 0);
- return /* @__PURE__ */ (0, x.jsxs)(TN, {
+ return /* @__PURE__ */ (0, x.jsxs)(DN, {
id: e,
- className: Cke,
- children: [VF[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {
+ className: xke,
+ children: [UF[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)(EN, {
+ }), /* @__PURE__ */ (0, x.jsxs)(ON, {
id: d,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- te.length && !ne ? /* @__PURE__ */ (0, x.jsx)(lke, {
+ te.length && !ne ? /* @__PURE__ */ (0, x.jsx)(ske, {
groupOptions: re,
groupBy: ie,
onGroupBy: (e) => {
@@ -63533,7 +63533,7 @@ function Tke(e) {
onSelected: S,
selectedRows: fe,
metadata: I,
- approvable: fe.every((e) => WF(d, e)),
+ approvable: fe.every((e) => KF(d, e)),
busy: _e.isPending,
feedback: D,
onUnifySource: ye,
@@ -63558,7 +63558,7 @@ function Tke(e) {
})]
}) : null, /* @__PURE__ */ (0, x.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(Ske, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(bke, {
category: d,
row: e,
choice: de(e),
@@ -63566,7 +63566,7 @@ function Tke(e) {
selected: y.has(e.item_key),
onSelect: (t, n) => S((r) => {
let i = new Set(r);
- return k.current = Qbe(i, ce, k.current, e.item_key, t, n), i;
+ return k.current = Xbe(i, ce, k.current, e.item_key, t, n), i;
}),
locked: ne,
busy: ge.isPending && ge.variables?.row.item_key === e.item_key,
@@ -63592,12 +63592,12 @@ function Tke(e) {
children: "重试"
}),
children: B(ee.error)
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
- icon: jme,
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
+ icon: kme,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, x.jsx)(wke, {
+ /* @__PURE__ */ (0, x.jsx)(Ske, {
page: se.page,
pages: se.pages,
onPage: v
@@ -63610,42 +63610,42 @@ function Tke(e) {
}
//#endregion
//#region src/react/scraping/custom-source-data.ts
-var mH = "/api/custom-metadata", hH = ["custom-metadata"], gH = (e) => V(mH, e), Eke = "/api/scraping", Dke = "/api/scraping/settings", Oke = "/api/scraping/check", _H = "/api/scraping/cover", kke = "/api/scraping/amane-bridge", Ake = "/api/scraping/amane-bridge/check", jke = "/api/scraping/amane-bridge/rebuild", vH = ["scraping"], yH = ["scraping", "cover"], bH = ["scraping", "amane-bridge"], xH = (e) => V(Eke, e), SH = (e) => V(_H, e), CH = (e) => V(kke, e);
-async function Mke(e) {
+var gH = "/api/custom-metadata", _H = ["custom-metadata"], vH = (e) => V(gH, e), wke = "/api/scraping", Tke = "/api/scraping/settings", Eke = "/api/scraping/check", yH = "/api/scraping/cover", Dke = "/api/scraping/amane-bridge", Oke = "/api/scraping/amane-bridge/check", kke = "/api/scraping/amane-bridge/rebuild", bH = ["scraping"], xH = ["scraping", "cover"], SH = ["scraping", "amane-bridge"], CH = (e) => V(wke, e), wH = (e) => V(yH, e), TH = (e) => V(Dke, e);
+async function Ake(e) {
await Promise.all([
U.fetchQuery({
- queryKey: vH,
- queryFn: () => xH(e)
+ queryKey: bH,
+ queryFn: () => CH(e)
}),
U.fetchQuery({
- queryKey: yH,
- queryFn: () => SH(e)
+ queryKey: xH,
+ queryFn: () => wH(e)
}),
U.fetchQuery({
- queryKey: bH,
- queryFn: () => CH(e)
+ queryKey: SH,
+ queryFn: () => TH(e)
}),
U.fetchQuery({
- queryKey: hH,
- queryFn: () => gH(e)
+ queryKey: _H,
+ queryFn: () => vH(e)
})
]);
}
-function Nke(e, t) {
+function jke(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");
}
//#endregion
//#region src/react/settings-panel/legacy-controls.tsx
-var wH = (e) => e.map(([e, t, n]) => n ? [
+var EH = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function TH({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function DH({ 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 = $o(t, n, wH(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = $o(t, n, EH(r), i, {
attr: a,
className: o,
text: s
@@ -63663,13 +63663,13 @@ function TH({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function EH({ 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 OH({ 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 = qa(wH(n), r, { label: t });
+ e.innerHTML = qa(EH(n), r, { label: t });
let i = Ja(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -63682,7 +63682,7 @@ function EH({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function Pke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function Mke({ 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
@@ -63717,7 +63717,7 @@ function Pke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
}
//#endregion
//#region src/react/scraping/custom-sources.tsx
-var Fke = [
+var Nke = [
["code", "番号"],
["title", "标题"],
["studio", "厂牌"],
@@ -63725,7 +63725,7 @@ var Fke = [
["release_date", "发行日期"],
["performers", "演员(文本数组)"],
["tags", "标签(文本数组)"]
-], Ike = [
+], Pke = [
["censored", "有码"],
["amateur", "素人"],
["uncensored", "无码"],
@@ -63734,7 +63734,7 @@ var Fke = [
["other", "其他"],
["unsure", "待核番号"],
["unknown", "未知"]
-], Lke = () => ({
+], Fke = () => ({
name: "",
endpoint: "",
enabled: !1,
@@ -63744,20 +63744,20 @@ var Fke = [
},
content_types: ["censored"]
});
-function Rke({ receipt: e }) {
+function Ike({ receipt: e }) {
let [t, n] = (0, b.useState)(null), r = ut({
- queryKey: hH,
- queryFn: ({ signal: e }) => gH(e)
- }), i = Qk(), a = (e) => U.setQueryData(hH, e);
- return /* @__PURE__ */ (0, x.jsx)(nA, {
+ queryKey: _H,
+ queryFn: ({ signal: e }) => vH(e)
+ }), i = eA(), a = (e) => U.setQueryData(_H, e);
+ return /* @__PURE__ */ (0, x.jsx)(iA, {
title: "自定义元数据来源",
- children: /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
+ children: /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
r.isPending ? /* @__PURE__ */ (0, x.jsx)("div", {
"aria-busy": "true",
"data-skeleton": "",
"aria-label": "读取自定义来源"
}) : null,
- r.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: B(r.error) }) : null,
+ r.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: B(r.error) }) : null,
r.data?.items.map((t) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [
@@ -63777,7 +63777,7 @@ function Rke({ receipt: e }) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
...q(i.busy === t.id),
- onClick: () => void i.run(t.id, (e) => H(mH, {
+ onClick: () => void i.run(t.id, (e) => H(gH, {
...t,
enabled: !t.enabled
}, "POST", e), (n) => {
@@ -63792,7 +63792,7 @@ function Rke({ receipt: e }) {
body: `删除「${z(t.name)}」后,采集将不再查询这个来源。`,
confirmLabel: "删除来源",
onConfirm: async () => {
- a(await H(mH, {
+ a(await H(gH, {
action: "delete",
id: t.id
})), n(null), e("已删除来源");
@@ -63802,13 +63802,13 @@ function Rke({ receipt: e }) {
})
]
}, t.id)),
- i.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: i.error }) : null,
+ i.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: i.error }) : null,
t ? null : /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- onClick: () => n(Lke()),
+ onClick: () => n(Fke()),
children: "添加来源"
}),
- t ? /* @__PURE__ */ (0, x.jsx)(zke, {
+ t ? /* @__PURE__ */ (0, x.jsx)(Lke, {
initial: t,
cancel: () => n(null),
saved: (t) => {
@@ -63818,8 +63818,8 @@ function Rke({ receipt: e }) {
] })
});
}
-function zke({ initial: e, cancel: t, saved: n }) {
- let [r, i] = (0, b.useState)(e), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), l = (0, b.useRef)(0), u = Qk(), d = (e) => {
+function Lke({ initial: e, cancel: t, saved: n }) {
+ let [r, i] = (0, b.useState)(e), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), l = (0, b.useRef)(0), u = eA(), d = (e) => {
l.current++, i((t) => ({
...t,
...e
@@ -63829,16 +63829,16 @@ function zke({ initial: e, cancel: t, saved: n }) {
"aria-label": "元数据来源配置",
"aria-busy": u.busy === "preview",
onSubmit: (e) => {
- e.preventDefault(), u.run("save", (e) => H(mH, r, "POST", e), n);
+ e.preventDefault(), u.run("save", (e) => H(gH, r, "POST", e), n);
},
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "来源名称",
value: r.name,
maxLength: 80,
onChange: (e) => d({ name: e })
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "JSON 接口地址",
value: r.endpoint,
maxLength: 2048,
@@ -63847,7 +63847,7 @@ function zke({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(cA, { children: "来源连接方式" }), /* @__PURE__ */ (0, x.jsx)(EH, {
+ children: [/* @__PURE__ */ (0, x.jsx)(uA, { children: "来源连接方式" }), /* @__PURE__ */ (0, x.jsx)(OH, {
id: "custom-source-network",
label: "来源连接方式",
epoch: 0,
@@ -63858,7 +63858,7 @@ function zke({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(cA, { children: "接口番号格式" }), /* @__PURE__ */ (0, x.jsx)(EH, {
+ children: [/* @__PURE__ */ (0, x.jsx)(uA, { children: "接口番号格式" }), /* @__PURE__ */ (0, x.jsx)(OH, {
id: "custom-source-code-format",
label: "接口番号格式",
epoch: 0,
@@ -63872,8 +63872,8 @@ function zke({ initial: e, cancel: t, saved: n }) {
onPick: (e) => d({ code_format: e })
})]
}),
- /* @__PURE__ */ (0, x.jsx)(oA, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),
- Fke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(cA, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),
+ Nke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(NN, {
label: `${t}字段路径`,
value: r.fields[e] || "",
onChange: (t) => {
@@ -63885,18 +63885,18 @@ function zke({ initial: e, cancel: t, saved: n }) {
className: "flex flex-wrap gap-3",
role: "group",
"aria-label": "适用内容类型",
- children: Ike.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(AL, {
+ children: Pke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ML, {
isSelected: r.content_types.includes(e),
onChange: (t) => d({ content_types: t ? [...r.content_types, e] : r.content_types.filter((t) => t !== e) }),
children: t
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(AL, {
+ /* @__PURE__ */ (0, x.jsx)(ML, {
isSelected: r.enabled,
onChange: (e) => d({ enabled: e }),
children: "启用来源"
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "试查番号(回车查询)",
value: a,
onChange: (e) => {
@@ -63906,7 +63906,7 @@ function zke({ initial: e, cancel: t, saved: n }) {
if (e.key !== "Enter" || e.nativeEvent.isComposing) return;
e.preventDefault();
let t = l.current;
- u.run("preview", (e) => H(mH, {
+ u.run("preview", (e) => H(gH, {
...r,
code: a,
action: "preview"
@@ -63917,7 +63917,7 @@ function zke({ initial: e, cancel: t, saved: n }) {
});
}
}),
- u.busy === "preview" ? /* @__PURE__ */ (0, x.jsxs)(oA, {
+ u.busy === "preview" ? /* @__PURE__ */ (0, x.jsxs)(cA, {
role: "status",
children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: eo("正在试查来源") } }), "正在试查来源…"]
}) : null,
@@ -63925,8 +63925,8 @@ function zke({ initial: e, cancel: t, saved: n }) {
className: "whitespace-pre-wrap break-all",
children: s
}) : null,
- u.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: u.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsxs)(aA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ u.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: u.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(sA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
type: "button",
onClick: t,
@@ -63940,20 +63940,20 @@ function zke({ initial: e, cancel: t, saved: n }) {
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var DH = [["peach", "Peach 代理"], ["direct", "直接连接"]];
-function Bke(e) {
- return DH.some(([t]) => t === e) || !e ? [...DH] : [...DH, [e, e]];
+var kH = [["peach", "Peach 代理"], ["direct", "直接连接"]];
+function Rke(e) {
+ return kH.some(([t]) => t === e) || !e ? [...kH] : [...kH, [e, e]];
}
-function Vke(e) {
+function zke(e) {
try {
return new URL(e).host || e;
} catch {
return e;
}
}
-var OH = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function kH({ source: e }) {
- if (e === "makers") return /* @__PURE__ */ (0, x.jsx)(Dme, {
+var AH = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function jH({ source: e }) {
+ if (e === "makers") return /* @__PURE__ */ (0, x.jsx)(Tme, {
"aria-hidden": !0,
className: "size-4 shrink-0"
});
@@ -63974,16 +63974,16 @@ function kH({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function Hke() {
- return /* @__PURE__ */ (0, x.jsx)(kH, { source: "github" });
+function Bke() {
+ return /* @__PURE__ */ (0, x.jsx)(jH, { source: "github" });
}
-function Uke({ 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)(OH[0][0]), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(""), m = (0, b.useRef)(null);
+function Vke({ 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)(AH[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 = dt({
- mutationFn: (t) => H(Dke, {
+ mutationFn: (t) => H(Tke, {
source: e.source,
network: n,
cookie: i,
@@ -63991,12 +63991,12 @@ function Uke({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- U.setQueryData(vH, (t) => t && {
+ U.setQueryData(bH, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = dt({ mutationFn: () => H(Oke, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = dt({ mutationFn: () => H(Eke, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, S = () => {
v || (_.reset(), g.mutate(!0));
@@ -64015,27 +64015,27 @@ function Uke({ source: e, toast: t }) {
}
}
let T = f || (g.error ? B(g.error) : "") || (_.error ? B(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || e.browser || !!T || E.length > 0;
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
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)(kH, { source: e.source }), e.login ? /* @__PURE__ */ (0, x.jsx)(lA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(jH, { source: e.source }), e.login ? /* @__PURE__ */ (0, x.jsx)(dA, {
href: e.login,
- children: Vke(e.login)
+ children: zke(e.login)
}) : null]
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(rA, { children: /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(tA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: /* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": "连接方式",
className: "w-44 min-w-0",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: Bke(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ children: Rke(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e,
children: t
}, e))
@@ -64045,15 +64045,15 @@ function Uke({ source: e, toast: t }) {
tone: "warning",
children: ["来源正在冷却,截止 ", (/* @__PURE__ */ new Date(e.cooldown_until * 1e3)).toLocaleString("zh-CN")]
}) : null,
- D ? /* @__PURE__ */ (0, x.jsxs)(iA, {
+ D ? /* @__PURE__ */ (0, x.jsxs)(oA, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, x.jsx)(tA, {
+ children: /* @__PURE__ */ (0, x.jsx)(rA, {
href: "/settings/library#peachProxy",
size: "small",
- trailingIcon: ok,
+ trailingIcon: ck,
children: "配置 Peach 代理"
})
}) : null,
@@ -64066,20 +64066,20 @@ function Uke({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, x.jsx)(XN, {
+ /* @__PURE__ */ (0, x.jsx)(QN, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: ZN,
- children: OH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(YM, {
+ className: $N,
+ children: AH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZM, {
value: e,
- className: QN,
+ className: eP,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, x.jsx)(jN, {
+ c === "paste" ? /* @__PURE__ */ (0, x.jsx)(NN, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -64088,7 +64088,7 @@ function Uke({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(cA, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, x.jsx)(uA, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
@@ -64114,14 +64114,14 @@ function Uke({ source: e, toast: t }) {
]
})
] }) : null,
- T ? /* @__PURE__ */ (0, x.jsx)(sA, { children: T }) : null,
+ T ? /* @__PURE__ */ (0, x.jsx)(lA, { children: T }) : null,
E.map((t) => /* @__PURE__ */ (0, x.jsx)(K, {
tone: t.ok ? "success" : "error",
- children: Nke(t, e.label)
+ children: jke(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(sA, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: S,
@@ -64143,26 +64143,26 @@ function Uke({ source: e, toast: t }) {
]
});
}
-function Wke({ toast: e }) {
- let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = EL({
- queryKey: yH,
- queryFn: ({ signal: e }) => SH(e),
- start: () => H(_H, { code: t }),
+function Hke({ toast: e }) {
+ let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = OL({
+ queryKey: xH,
+ queryFn: ({ signal: e }) => wH(e),
+ start: () => H(yH, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? B(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, x.jsx)(nA, {
+ return /* @__PURE__ */ (0, x.jsx)(iA, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
+ children: /* @__PURE__ */ (0, x.jsxs)(oA, { 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)(jN, {
+ children: /* @__PURE__ */ (0, x.jsx)(NN, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -64177,7 +64177,7 @@ function Wke({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, x.jsx)(Jk, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, x.jsx)(Xk, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: s
@@ -64189,11 +64189,11 @@ function Wke({ toast: e }) {
] })
});
}
-function Gke({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = EL({
- queryKey: bH,
- queryFn: ({ signal: e }) => CH(e),
- start: () => H(jke, {}),
+function Uke({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = OL({
+ queryKey: SH,
+ queryFn: ({ signal: e }) => TH(e),
+ start: () => H(kke, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -64202,52 +64202,52 @@ function Gke({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = dt({ mutationFn: () => H(Ake, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(nA, {
+ }), a = dt({ mutationFn: () => H(Oke, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(iA, {
title: "amane",
- children: /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: B(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? B(i.error) : a.error ? B(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "amane",
- aside: /* @__PURE__ */ (0, x.jsx)(lA, {
+ aside: /* @__PURE__ */ (0, x.jsx)(dA, {
href: o.repository,
- leadingIcon: Hke,
+ leadingIcon: Bke,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, x.jsxs)(uA, { children: [
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsxs)(fA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(pA, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsx)(pA, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsx)(pA, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, x.jsxs)(dA, {
+ /* @__PURE__ */ (0, x.jsxs)(pA, {
term: "内置站点",
children: [o.sites.length.toLocaleString(), " 个"]
})
] }),
- /* @__PURE__ */ (0, x.jsxs)(iA, {
+ /* @__PURE__ */ (0, x.jsxs)(oA, {
divided: !0,
children: [
- o.sites.length ? /* @__PURE__ */ (0, x.jsx)(fA, {
+ o.sites.length ? /* @__PURE__ */ (0, x.jsx)(mA, {
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)(oA, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(cA, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -64256,7 +64256,7 @@ function Gke({ toast: e }) {
o.version,
" 版本,不随上游自动升级。"
] }),
- n ? /* @__PURE__ */ (0, x.jsx)(Jk, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, x.jsx)(Xk, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: c
@@ -64267,7 +64267,7 @@ function Gke({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(aA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsxs)(sA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -64284,24 +64284,24 @@ function Gke({ toast: e }) {
]
});
}
-function Kke({ toast: e }) {
+function Wke({ toast: e }) {
let t = ut({
- queryKey: vH,
- queryFn: ({ signal: e }) => xH(e)
+ queryKey: bH,
+ queryFn: ({ signal: e }) => CH(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, x.jsxs)(Yk, { children: [
+ return n ? /* @__PURE__ */ (0, x.jsxs)(Zk, { children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, x.jsx)(Wke, { toast: e }),
- /* @__PURE__ */ (0, x.jsx)(Rke, { receipt: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(Uke, {
+ /* @__PURE__ */ (0, x.jsx)(Hke, { toast: e }),
+ /* @__PURE__ */ (0, x.jsx)(Ike, { receipt: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(Vke, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, x.jsx)(Gke, { toast: e })
- ] }) : /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ /* @__PURE__ */ (0, x.jsx)(Uke, { toast: e })
+ ] }) : /* @__PURE__ */ (0, x.jsx)(Zk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? B(t.error) : "读取采集来源失败"
@@ -64309,31 +64309,61 @@ function Kke({ toast: e }) {
}
//#endregion
//#region src/react/search/search.ts
-var AH = /* @__PURE__ */ new Set([
+var MH = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), jH = /* @__PURE__ */ new Set(["asset"]), MH = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function qke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
- let s = 0, c = [], l = (e) => {
+]), NH = /* @__PURE__ */ new Set([
+ "asset",
+ "jav",
+ "post",
+ "release"
+]), PH = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function Gke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
+ let c = 0, l = [], u = (e) => {
let t = {
...e,
- index: s++
+ index: c++
};
- return c.push(t), t;
- }, u = t.filter((t) => !e || MH(t).includes(MH(e)));
+ return l.push(t), t;
+ }, d = t.filter((t) => !e || PH(t).includes(PH(e)));
if (!e) {
- let e = u.length ? {
+ if (s.length) {
+ let e = s.map((e) => ({
+ ...e,
+ options: e.items.map((t) => u({
+ type: "suggest",
+ value: t.value,
+ kind: e.kind,
+ item: t
+ }))
+ }));
+ return {
+ tabs: null,
+ recent: d.length ? {
+ label: "搜索记录",
+ options: d.map((e) => u({
+ type: "history",
+ value: e
+ }))
+ } : null,
+ left: e.filter((e) => !NH.has(e.kind)),
+ right: e.filter((e) => NH.has(e.kind)),
+ empty: !1,
+ options: l
+ };
+ }
+ let e = d.length ? {
label: "搜索记录",
- options: u.map((e) => l({
+ options: d.map((e) => u({
type: "history",
value: e
}))
} : null, t = n.length ? {
label: "推荐",
- options: n.map((e) => l({
+ options: n.map((e) => u({
type: "pick",
value: e
}))
@@ -64344,22 +64374,22 @@ function qke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
left: e ? [e] : [],
right: t ? [t] : [],
empty: !1,
- options: c
+ options: l
};
}
- let d = r === e, f = !o && u.length ? {
+ let f = r === e, p = !o && d.length ? {
label: "搜索记录",
- options: u.map((e) => l({
+ options: d.map((e) => u({
type: "history",
value: e
}))
- } : null, p = (d ? i : []).filter((e) => !o || e.kind === o), m = (t) => {
- let n = t.items.map((e) => l({
+ } : null, m = (f ? i : []).filter((e) => !o || e.kind === o), h = (t) => {
+ let n = t.items.map((e) => u({
type: "suggest",
value: e.value,
kind: t.kind,
item: e
- })), r = t.kind === "asset" && (t.total ?? 0) > n.length ? l({
+ })), r = t.kind === "asset" && (t.total ?? 0) > n.length ? u({
type: "more",
value: e,
total: t.total
@@ -64370,30 +64400,32 @@ function qke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, h = p.filter((e) => !jH.has(e.kind)).map(m), g = p.filter((e) => jH.has(e.kind)).map(m), _ = d && !p.some((e) => e.items.length);
+ }, g = m.filter((e) => !NH.has(e.kind)).map(h), _ = m.filter((e) => NH.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
return {
- tabs: d && a.length > 1 ? [...a] : null,
- recent: f,
- left: h,
- right: g,
- empty: _,
- options: c
+ tabs: f && a.length > 1 ? [...a] : null,
+ recent: p,
+ left: g,
+ right: _,
+ empty: v,
+ options: l
};
}
-function Jke(e, t, n = Math.random) {
+function Kke(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) => MH(t) === MH(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => PH(t) === PH(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
-var Yke = () => ({
+var qke = () => ({
history: [],
pool: [],
poolRequest: 0,
+ recommendations: [],
+ recommendationRequest: 0,
query: "",
picks: [],
suggestFor: "",
@@ -64406,39 +64438,40 @@ var Yke = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), NH = (e) => qke({
+}), FH = (e) => Gke({
query: e.query,
history: e.history,
picks: e.picks,
suggestFor: e.suggestFor,
groups: e.groups,
tabs: e.tabs,
- kind: e.kind
-}), Xke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), PH = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+ kind: e.kind,
+ recommendations: e.recommendations
+}), Jke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), IH = ({ 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 Zke(e) {
+function Yke(e) {
let t = (0, b.useRef)(e);
t.current = e;
let n = (0, b.useRef)(null);
- n.current ??= Yke();
+ n.current ??= qke();
let r = n.current, i = (0, b.useRef)(null), [, a] = (0, b.useReducer)((e) => e + 1, 0), o = (0, b.useRef)(null);
- o.current ??= Qke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= Xke(() => 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();
e.addEventListener("input", n), e.addEventListener("compositionend", n), e.addEventListener("compositionstart", i), e.addEventListener("keydown", a), e.addEventListener("focus", o);
let c = { close: s.close };
return t.current.expose(c), () => {
- e.removeEventListener("input", n), e.removeEventListener("compositionend", n), e.removeEventListener("compositionstart", i), e.removeEventListener("keydown", a), e.removeEventListener("focus", o), clearTimeout(r.timer), t.current.expose(null);
+ e.removeEventListener("input", n), e.removeEventListener("compositionend", n), e.removeEventListener("compositionstart", i), e.removeEventListener("keydown", a), e.removeEventListener("focus", o), clearTimeout(r.timer), r.recommendationRequest++, t.current.expose(null);
};
}, [s, r]), (0, b.useLayoutEffect)(() => {
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 = NH(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(eAe, {
+ let c = FH(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(Qke, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -64449,7 +64482,14 @@ function Zke(e) {
"data-search-group": "",
"data-kind": e.kind,
children: [
- /* @__PURE__ */ (0, x.jsx)("h3", { children: e.label }),
+ /* @__PURE__ */ (0, x.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, x.jsx)("a", {
+ href: e.href,
+ onMouseDown: LH,
+ onClick: (t) => {
+ t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));
+ },
+ children: e.action || "查看全部"
+ }) : null] }),
e.kind ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-search-items": "",
children: e.options.map(u)
@@ -64460,15 +64500,16 @@ function Zke(e) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
ref: i,
"data-search-root": "",
+ "data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, x.jsx)($ke, {
+ c.tabs ? /* @__PURE__ */ (0, x.jsx)(Zke, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
wire: e.helpers.wireScroller
}) : null,
- c.recent ? d(c.recent) : null,
+ r.query && c.recent ? d(c.recent) : null,
((e, t) => e.length || t.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
"data-search-results": "",
"data-split": e.length && t.length ? "" : void 0,
@@ -64480,6 +64521,7 @@ function Zke(e) {
children: t.map(d)
}) : null]
}) : null)(c.left, c.right),
+ !r.query && c.recent ? d(c.recent) : null,
c.empty ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-search-empty": "",
role: "status",
@@ -64488,7 +64530,7 @@ function Zke(e) {
]
});
}
-function Qke(e, t, n, r) {
+function Xke(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 () => {
@@ -64499,7 +64541,7 @@ function Qke(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) => MH(e) !== MH(t))]), H("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => PH(e) !== PH(t))]), H("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -64512,7 +64554,15 @@ function Qke(e, t, n, r) {
let a = i[Math.floor(Math.random() * i.length)] || "";
r.dataset.suggestion = a, r.placeholder = a || "搜索馆藏";
} catch {}
- }, d = async (e, n = "") => {
+ }, d = async () => {
+ if (!e().helpers.recommendations) return;
+ let n = ++t.recommendationRequest;
+ try {
+ let r = await e().helpers.recommendations();
+ if (n !== t.recommendationRequest) return;
+ t.recommendations = r, a() && !i().value.trim() && h();
+ } catch {}
+ }, f = async (e, n = "") => {
let r = ++t.suggestRequest;
n || (t.asked = e);
try {
@@ -64529,86 +64579,90 @@ function Qke(e, t, n, r) {
} catch {
r === t.suggestRequest && (t.suggestFor = e, t.groups = []);
}
- }, f = () => {
+ }, p = () => {
let e = n();
return !!e && !e.hidden;
- }, p = () => {
+ }, m = () => {
+ t.recommendationRequest++;
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
- }, m = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : Jke(t.pool, o()), t.active = -1;
- let a = n();
- a && (Xke(NH(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, h = () => {
+ t.query = i().value.trim(), t.picks = t.query ? [] : Kke(t.pool, o()), t.active = -1;
+ let a = n();
+ a && (Jke(FH(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ }, g = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
- e || (t.suggestFor = "", t.groups = []), f() && m(), e && (t.timer = window.setTimeout(() => void d(e).then(() => {
- a() && m();
+ e || (t.suggestFor = "", t.groups = []), p() && h(), e && (t.timer = window.setTimeout(() => void f(e).then(() => {
+ a() && h();
}), 150));
- }, g = (e) => {
+ }, _ = (e) => {
let n = i().value.trim();
- n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), m(), t.rewind = !0, d(n, e).then(() => {
- a() && t.kind === e && m();
+ n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {
+ a() && t.kind === e && h();
}));
- }, _ = () => f() ? NH(t).options : [], v = (e) => {
- let n = _();
+ }, v = () => p() ? FH(t).options : [], y = (e) => {
+ let n = v();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
- }, y = (t, n) => {
+ }, b = (t, n) => {
let r = i(), a = r.value.trim();
t && !a && (a = r.dataset.suggestion || "", r.value = a), n && l(a), e().actions.search(a);
- }, b = (t, n) => {
+ }, x = (t, n) => {
i().blur(), l(n), e().actions.openEntity(t, n);
- }, x = (t) => {
- t.type === "more" ? (y(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && AH.has(t.kind) ? b(t.kind, t.value) : (i().value = t.value, y(!1, !0));
+ }, S = (t) => {
+ t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && MH.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
+ }, C = (t) => {
+ m(), i().blur(), e().actions.openPath?.(t);
};
return {
input: (t) => {
- t.isComposing || (e().helpers.typed(i()), h());
+ t.isComposing || (e().helpers.typed(i()), g());
},
key: (n) => {
if (n.isComposing) return;
let r = i();
if (n.key === "Escape") {
- if (f()) {
- p(), n.preventDefault();
+ if (p()) {
+ m(), n.preventDefault();
return;
}
if (r.value) {
- e().helpers.clearField(r), t.active = -1, n.preventDefault(), h();
+ e().helpers.clearField(r), t.active = -1, n.preventDefault(), g();
return;
}
}
if (n.key === "ArrowDown" || n.key === "ArrowUp") {
- v(n.key === "ArrowDown" ? 1 : -1) && n.preventDefault();
+ y(n.key === "ArrowDown" ? 1 : -1) && n.preventDefault();
return;
}
if (n.key !== "Enter") return;
n.preventDefault();
- let a = _()[t.active];
- p(), a ? (x(a), (a.type !== "suggest" || a.kind !== "asset") && r.blur()) : (y(!0, !0), r.blur());
+ let a = v()[t.active];
+ m(), a ? (S(a), (a.type !== "suggest" || a.kind !== "asset") && r.blur()) : (b(!0, !0), r.blur());
},
focus: () => {
- Promise.all([c(), u()]).then(() => {
- a() && (m(), i().value.trim() !== t.asked && h());
+ d(), Promise.all([c(), u()]).then(() => {
+ a() && (h(), i().value.trim() !== t.asked && g());
});
},
- close: p,
+ close: m,
pick: (e) => {
- p(), x(e);
+ m(), S(e);
},
peek: (t) => {
- p(), i().blur(), e().actions.openItem(t.id);
+ m(), i().blur(), e().actions.openItem(t.id);
},
remove: async (e) => {
await H("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => MH(t) !== MH(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => PH(t) !== PH(e))), t.active = -1, r();
},
- pickKind: g
+ pickKind: _,
+ openPath: C
};
}
-function $ke({ tabs: e, kind: t, onPick: n, wire: r }) {
+function Zke({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => {
r(i.current);
@@ -64620,7 +64674,7 @@ function $ke({ 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)(tV, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, x.jsx)(rV, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, x.jsxs)("div", {
ref: i,
@@ -64630,8 +64684,8 @@ function $ke({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var FH = (e) => e.preventDefault();
-function eAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var LH = (e) => e.preventDefault();
+function Qke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -64643,40 +64697,47 @@ function eAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: FH,
+ onMouseDown: LH,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, x.jsx)(PH, { name: "chevron-right" })
+ /* @__PURE__ */ (0, x.jsx)(IH, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, x.jsx)(PH, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, x.jsx)(IH, { 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: FH,
+ onMouseDown: LH,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, x.jsx)(PH, { name: "x" })
+ children: /* @__PURE__ */ (0, x.jsx)(IH, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = AH.has(c) ? c : void 0;
- if (c === "asset") {
+ let { item: s, kind: c } = e, l = MH.has(c) ? c : void 0;
+ if ([
+ "asset",
+ "jav",
+ "post",
+ "release"
+ ].includes(c)) {
let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, x.jsxs)("div", {
+ return /* @__PURE__ */ (0, x.jsxs)("button", {
+ type: "button",
"data-search-option": "work",
- "data-open-item": s.id,
+ "data-open-item": c === "asset" ? s.id : void 0,
...o,
- children: [/* @__PURE__ */ (0, x.jsx)(IH, {
+ onMouseDown: LH,
+ children: [/* @__PURE__ */ (0, x.jsx)(RH, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -64695,19 +64756,23 @@ function eAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-matched": "",
children: s.matched
}) : null;
- if (c === "performer" || c === "creator") {
- let e = s.works ?? [], t = [`${(s.n ?? 0).toLocaleString()} 个视频`, s.agency].filter(Boolean).join(" · ");
+ if (c === "performer" || c === "creator" || c === "author") {
+ let e = s.works ?? [], t = s.subtitle || [`${(s.n ?? 0).toLocaleString()} 个视频`, s.agency].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-search-option": "person",
"data-open-entity": l,
...o,
+ onMouseDown: LH,
children: [
- /* @__PURE__ */ (0, x.jsx)(LH, {
+ /* @__PURE__ */ (0, x.jsx)(zH, {
item: s,
kind: c
}),
- /* @__PURE__ */ (0, x.jsxs)("span", {
+ /* @__PURE__ */ (0, x.jsxs)("button", {
+ type: "button",
+ "data-search-person": "",
"data-search-meta": "",
+ "aria-label": `查看 ${s.value}`,
children: [/* @__PURE__ */ (0, x.jsxs)("span", {
"data-search-name": "",
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: s.value }), u]
@@ -64722,11 +64787,11 @@ function eAe({ 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: FH,
+ onMouseDown: LH,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, x.jsx)(IH, {
+ children: /* @__PURE__ */ (0, x.jsx)(RH, {
card: e,
helpers: n
})
@@ -64740,7 +64805,7 @@ function eAe({ 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)(LH, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, x.jsx)(zH, {
item: s,
kind: c
}) : null,
@@ -64753,13 +64818,17 @@ function eAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function IH({ card: e, helpers: t }) {
+function RH({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function LH({ item: e, kind: t }) {
+function zH({ item: e, kind: t }) {
+ if (e.avatarHtml) return /* @__PURE__ */ (0, x.jsx)("span", {
+ "data-search-face": "",
+ dangerouslySetInnerHTML: { __html: e.avatarHtml }
+ });
let n = {
id: e.entity_id,
has_image: e.has_image,
@@ -64775,45 +64844,45 @@ function LH({ item: e, kind: t }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var RH = "/api/configuration", tAe = "/api/pick-folder", zH = ["configuration"], BH = (e) => V(RH, e);
-async function nAe(e) {
+var BH = "/api/configuration", $ke = "/api/pick-folder", VH = ["configuration"], HH = (e) => V(BH, e);
+async function eAe(e) {
await U.fetchQuery({
- queryKey: zH,
- queryFn: () => BH(e)
+ queryKey: VH,
+ queryFn: () => HH(e)
});
}
//#endregion
//#region src/react/settings/configuration-panel.ts
-var VH = "flex flex-col gap-6";
-function HH(e) {
+var UH = "flex flex-col gap-6";
+function WH(e) {
return e ? {
- className: e.active ? `${VH} ui-board-group-active` : VH,
+ className: e.active ? `${UH} ui-board-group-active` : UH,
"data-board-group": String(e.index),
id: e.id,
role: "tabpanel",
"aria-labelledby": e.labelledBy
- } : { className: VH };
+ } : { className: UH };
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var rAe = "/api/configuration/downloads", UH = "/api/configuration/downloads/check", iAe = "/api/configuration/downloads/folder", aAe = "/api/configuration/downloads/pikpak/login", oAe = "/api/configuration/downloads/pikpak/logout", WH = "/api/configuration/downloads/pikpak/browser-login", GH = 2e3;
-function sAe({ initial: e, receipt: t, panel: n }) {
+var tAe = "/api/configuration/downloads", GH = "/api/configuration/downloads/check", nAe = "/api/configuration/downloads/folder", rAe = "/api/configuration/downloads/pikpak/login", iAe = "/api/configuration/downloads/pikpak/logout", KH = "/api/configuration/downloads/pikpak/browser-login", qH = 2e3;
+function aAe({ initial: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- ...HH(n),
- children: /* @__PURE__ */ (0, x.jsx)(cAe, {
+ ...WH(n),
+ children: /* @__PURE__ */ (0, x.jsx)(oAe, {
initial: e,
receipt: t
})
});
}
-function cAe({ initial: e, receipt: t }) {
+function oAe({ 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)(lAe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(sAe, {
state: n,
settle: r,
receipt: t,
pikpakAccount: o
- }), /* @__PURE__ */ (0, x.jsx)(dAe, {
+ }), /* @__PURE__ */ (0, x.jsx)(lAe, {
state: n,
settle: r,
receipt: t,
@@ -64821,8 +64890,8 @@ function cAe({ initial: e, receipt: t }) {
setUsername: a
})] });
}
-function lAe({ 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)(KH), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = Qk(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({
+function sAe({ 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)(JH), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = eA(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -64851,8 +64920,8 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- S.run("auto", (e) => V(UH, e), (e) => E(e, t), (e) => _(B(e)));
- }, []), /* @__PURE__ */ (0, x.jsxs)(nA, {
+ S.run("auto", (e) => V(GH, e), (e) => E(e, t), (e) => _(B(e)));
+ }, []), /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "云下载",
onSubmit: (e) => {
if (e.preventDefault(), T) {
@@ -64865,18 +64934,18 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
token: o,
pikpak_account: r
};
- S.run("save", (e) => H(rAe, f, "POST", e), (e) => {
+ S.run("save", (e) => H(tAe, 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(KH), y(!1), _("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(JH), y(!1), _("")), n("已保存配置");
}, (e) => _(B(e)));
},
children: [
- /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "CloudDrive2 地址",
placeholder: "留空自动查找",
autoComplete: "off",
@@ -64888,7 +64957,7 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -64899,8 +64968,8 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
- label: /* @__PURE__ */ (0, x.jsx)(EA, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
+ label: /* @__PURE__ */ (0, x.jsx)(OA, {
source: "115",
label: "115 目标目录"
}),
@@ -64914,8 +64983,8 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => w("115", e)
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
- label: /* @__PURE__ */ (0, x.jsx)(EA, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
+ label: /* @__PURE__ */ (0, x.jsx)(OA, {
source: "pikpak",
label: "PikPak 目标目录"
}),
@@ -64929,10 +64998,10 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(cA, { children: /* @__PURE__ */ (0, x.jsx)(EA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(uA, { children: /* @__PURE__ */ (0, x.jsx)(OA, {
source: "pikpak",
label: "PikPak 根目录对应的媒体文件夹"
- }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(CL, {
+ }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": "PikPak 根目录对应的媒体文件夹",
selectedKey: i.pikpak_root || null,
isDisabled: !e.available,
@@ -64941,13 +65010,13 @@ function lAe({ 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)(wL, {
+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e,
children: e
}, e))
- }) : /* @__PURE__ */ (0, x.jsx)(oA, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
+ }) : /* @__PURE__ */ (0, x.jsx)(cA, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -64958,11 +65027,11 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: l
})
] }),
- S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)(oA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(Jk, { label: "正在检查 CloudDrive2" })
+ children: /* @__PURE__ */ (0, x.jsx)(Xk, { label: "正在检查 CloudDrive2" })
}) : null,
- u ? /* @__PURE__ */ (0, x.jsx)(uAe, {
+ u ? /* @__PURE__ */ (0, x.jsx)(cAe, {
report: u,
detected: f,
suggested: m,
@@ -64974,7 +65043,7 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- S.run("folder", (e) => H(iAe, t, "POST", e), (t) => {
+ S.run("folder", (e) => H(nAe, t, "POST", e), (t) => {
d(t), h((t) => ({
...t,
target: {
@@ -64986,11 +65055,11 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
} : void 0,
creating: S.busy === "folder"
}) : null,
- g || S.error ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ g || S.error ? /* @__PURE__ */ (0, x.jsx)(oA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: g || S.error })
+ children: /* @__PURE__ */ (0, x.jsx)(lA, { children: g || S.error })
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(aA, {
+ /* @__PURE__ */ (0, x.jsxs)(sA, {
status: e.available ? void 0 : "云下载只在账本写入端可用。",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -65006,7 +65075,7 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- S.run("check", (e) => H(UH, t, "POST", e), (t) => E(t, e), (e) => _(B(e)));
+ S.run("check", (e) => H(GH, t, "POST", e), (t) => E(t, e), (e) => _(B(e)));
},
disabled: !e.available,
...q(S.busy === "check"),
@@ -65021,29 +65090,29 @@ function lAe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var KH = {
+var JH = {
target: null,
root: "",
saved: !1
};
-function uAe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function cAe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target;
- return /* @__PURE__ */ (0, x.jsxs)(iA, {
+ return /* @__PURE__ */ (0, x.jsxs)(oA, {
divided: !0,
- children: [/* @__PURE__ */ (0, x.jsxs)(uA, { children: [
- t ? /* @__PURE__ */ (0, x.jsx)(dA, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(fA, { children: [
+ t ? /* @__PURE__ */ (0, x.jsx)(pA, {
term: "CloudDrive2 地址",
children: `探测到 ${t},保存配置后生效`
}) : null,
- a?.exists ? /* @__PURE__ */ (0, x.jsx)(dA, {
- term: /* @__PURE__ */ (0, x.jsx)(EA, {
+ a?.exists ? /* @__PURE__ */ (0, x.jsx)(pA, {
+ term: /* @__PURE__ */ (0, x.jsx)(OA, {
source: "115",
label: "115 目标目录"
}),
children: n.saved ? `已按推送发现填入 ${a.path}` : `按推送发现填入 ${a.path},保存配置后生效`
}) : null,
- a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(dA, {
- term: /* @__PURE__ */ (0, x.jsx)(EA, {
+ a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(pA, {
+ term: /* @__PURE__ */ (0, x.jsx)(OA, {
source: "115",
label: "115 目标目录"
}),
@@ -65055,55 +65124,55 @@ function uAe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
children: "新建这个目录"
}) : null]
}) : null,
- n.root ? /* @__PURE__ */ (0, x.jsx)(dA, {
- term: /* @__PURE__ */ (0, x.jsx)(EA, {
+ n.root ? /* @__PURE__ */ (0, x.jsx)(pA, {
+ term: /* @__PURE__ */ (0, x.jsx)(OA, {
source: "pikpak",
label: "PikPak 根目录"
}),
children: `按推送发现填入 ${n.root},保存配置后生效`
}) : null,
- e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(dA, {
+ e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(pA, {
term: "离线权限",
children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"
}) : null,
- e.folder ? /* @__PURE__ */ (0, x.jsx)(dA, {
+ e.folder ? /* @__PURE__ */ (0, x.jsx)(pA, {
term: "目标目录",
children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`
}) : null,
- e.quota ? /* @__PURE__ */ (0, x.jsx)(dA, {
- term: /* @__PURE__ */ (0, x.jsx)(EA, {
+ e.quota ? /* @__PURE__ */ (0, x.jsx)(pA, {
+ term: /* @__PURE__ */ (0, x.jsx)(OA, {
source: "115",
label: "115 离线配额"
}),
children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`
}) : null
- ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(sA, { children: e }, e))]
+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(lA, { children: e }, e))]
});
}
-function dAe({ 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 = Qk(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
+function lAe({ 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 = eA(), 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 V(WH, e.signal);
+ let r = await V(KH, 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(B(t));
}
- r = setTimeout(i, GH);
+ r = setTimeout(i, qH);
};
- return r = setTimeout(i, GH), () => {
+ return r = setTimeout(i, qH), () => {
e.abort(), clearTimeout(r);
};
}, [v]);
let y = () => {
- m(""), h.run("browser", (e) => H(WH, {}, "POST", e), (e) => {
+ m(""), h.run("browser", (e) => H(KH, {}, "POST", e), (e) => {
t(e), f("");
}, (e) => f(B(e)));
}, S = () => {
- h.run("cancel", (e) => H(`${WH}/cancel`, {}, "POST", e), (e) => {
+ h.run("cancel", (e) => H(`${KH}/cancel`, {}, "POST", e), (e) => {
t(e), f(""), m(e.pikpak_browser.message);
}, (e) => f(B(e)));
}, C = (e) => {
@@ -65113,15 +65182,15 @@ function dAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
password: a,
remember: s
};
- h.run("login", (e) => H(aAe, i, "POST", e), (e) => {
+ h.run("login", (e) => H(rAe, i, "POST", e), (e) => {
t(e.settings), f(""), e.ok ? (u(""), o(""), n("已登录 PikPak")) : u(e.captcha_url ?? "");
}, (e) => f(B(e)));
}, w = () => {
- h.run("logout", (e) => H(oAe, {}, "POST", e), (e) => {
+ h.run("logout", (e) => H(iAe, {}, "POST", e), (e) => {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(B(e)));
}, T = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -65130,7 +65199,7 @@ function dAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -65139,7 +65208,7 @@ function dAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, x.jsx)(AL, {
+ /* @__PURE__ */ (0, x.jsx)(ML, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -65150,7 +65219,7 @@ function dAe({ 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)(lA, {
+ children: /* @__PURE__ */ (0, x.jsx)(dA, {
href: l,
children: "打开 PikPak 验证页"
})
@@ -65163,24 +65232,24 @@ function dAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
...q(h.busy === "login"),
children: "登录"
}), D = _.state === "timeout" || _.state === "failed";
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "PikPak 账号",
- icon: /* @__PURE__ */ (0, x.jsx)(TA.pikpak, {}),
+ icon: /* @__PURE__ */ (0, x.jsx)(DA.pikpak, {}),
onSubmit: C,
children: [
- g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(uA, { children: [/* @__PURE__ */ (0, x.jsx)(dA, {
+ g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(fA, { children: [/* @__PURE__ */ (0, x.jsx)(pA, {
term: "账号",
children: g.username || "已登录"
- }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(dA, {
+ }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(pA, {
term: "登录方式",
children: "浏览器登录,由 Peach 续期"
- }) : /* @__PURE__ */ (0, x.jsx)(dA, {
+ }) : /* @__PURE__ */ (0, x.jsx)(pA, {
term: "密码",
children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"
- })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)(iA, { children: [p ? D ? /* @__PURE__ */ (0, x.jsx)(sA, { children: p }) : /* @__PURE__ */ (0, x.jsx)(oA, {
+ })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)(oA, { children: [p ? D ? /* @__PURE__ */ (0, x.jsx)(lA, { children: p }) : /* @__PURE__ */ (0, x.jsx)(cA, {
role: "status",
children: p
- }) : null, /* @__PURE__ */ (0, x.jsx)(fA, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(mA, {
summary: "用账号密码登录",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4",
@@ -65189,13 +65258,13 @@ function dAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
children: E
})]
})
- })] }) : /* @__PURE__ */ (0, x.jsx)(iA, { children: T }),
- d || h.error ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ })] }) : /* @__PURE__ */ (0, x.jsx)(oA, { children: T }),
+ d || h.error ? /* @__PURE__ */ (0, x.jsx)(oA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: d || h.error })
+ children: /* @__PURE__ */ (0, x.jsx)(lA, { children: d || h.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(aA, {
- status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(Jk, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(sA, {
+ status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(Xk, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
children: g.logged_in ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: w,
@@ -65221,33 +65290,33 @@ function dAe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var fAe = [
+var uAe = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function pAe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
+function dAe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...HH(r),
+ ...WH(r),
children: [
- /* @__PURE__ */ (0, x.jsx)(gAe, { facts: e.facts }),
- /* @__PURE__ */ (0, x.jsx)(mAe, {
+ /* @__PURE__ */ (0, x.jsx)(mAe, { facts: e.facts }),
+ /* @__PURE__ */ (0, x.jsx)(fAe, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, x.jsx)(_Ae, {
+ e.uninstall ? /* @__PURE__ */ (0, x.jsx)(hAe, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function mAe({ receipt: e, reopenTutorial: t }) {
- let n = Qk();
+function fAe({ receipt: e, reopenTutorial: t }) {
+ let n = eA();
return /* @__PURE__ */ (0, x.jsx)("section", {
"aria-label": "安装教程",
className: "w-full",
- children: /* @__PURE__ */ (0, x.jsxs)(Tge, { children: [/* @__PURE__ */ (0, x.jsx)(rA, { children: /* @__PURE__ */ (0, x.jsx)($k, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Cge, { children: [/* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(tA, {
label: "安装教程",
children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -65255,61 +65324,61 @@ function mAe({ receipt: e, reopenTutorial: t }) {
...q(n.busy === "reopen"),
children: "重新打开教程"
})
- }) }), n.error ? /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(sA, { children: n.error }) }) : null] })
+ }) }), n.error ? /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(lA, { children: n.error }) }) : null] })
});
}
-function hAe({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = Qk(e.error), s = (r) => {
+function pAe({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = eA(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => H("/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)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, x.jsxs)(rA, { children: [
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, x.jsx)(WB, {
+ children: /* @__PURE__ */ (0, x.jsx)(KB, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, x.jsx)(WB, {
+ children: /* @__PURE__ */ (0, x.jsx)(KB, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: /* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: fAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ children: uAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ o.error ? /* @__PURE__ */ (0, x.jsx)(oA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: o.error })
+ children: /* @__PURE__ */ (0, x.jsx)(lA, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
disabled: !e.available,
...q(o.busy === "save"),
@@ -65318,18 +65387,18 @@ function hAe({ initial: e, receipt: t }) {
]
});
}
-function gAe({ facts: e }) {
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+function mAe({ facts: e }) {
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "运行信息",
- children: [/* @__PURE__ */ (0, x.jsx)(uA, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(dA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(fA, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(pA, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(lA, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(dA, {
href: e.download_url,
children: e.download_label
}) : null]
- }, e.term)) }), /* @__PURE__ */ (0, x.jsx)(rA, { children: /* @__PURE__ */ (0, x.jsx)($k, {
+ }, e.term)) }), /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(tA, {
label: "系统诊断",
- children: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ children: /* @__PURE__ */ (0, x.jsx)(qk, {
variant: "secondary",
href: "/diagnostics",
children: "打开系统诊断"
@@ -65337,7 +65406,7 @@ function gAe({ facts: e }) {
}) })]
});
}
-function _Ae({ uninstall: e, receipt: t }) {
+function hAe({ uninstall: e, receipt: t }) {
let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), o = () => void ls({
title: "卸载 Peach",
danger: !0,
@@ -65351,30 +65420,30 @@ function _Ae({ 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)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- e.available ? /* @__PURE__ */ (0, x.jsx)(oA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, x.jsx)($k, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ e.available ? /* @__PURE__ */ (0, x.jsx)(cA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "完全卸载",
description: "同时删除设置、本地数据库、观看记录、凭据和缓存",
- children: /* @__PURE__ */ (0, x.jsx)(WB, {
+ children: /* @__PURE__ */ (0, x.jsx)(KB, {
"aria-label": "完全卸载",
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r
})
}),
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(mA, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(vL, {
+ children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(bL, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, x.jsx)(aA, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(sA, {
status: s ? /* @__PURE__ */ (0, x.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -65390,23 +65459,23 @@ function _Ae({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var qH = /* @__PURE__ */ new Set([
+var YH = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), vAe = [
+]), gAe = [
65,
67,
90
-], JH = 120;
-function yAe({ initial: e, initialJob: t }) {
+], XH = 120;
+function _Ae({ 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 = Qk(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = qH.has(i.state);
+ }), [o, s] = (0, b.useState)(""), c = eA(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = YH.has(i.state);
(0, b.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -65423,7 +65492,7 @@ function yAe({ 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 = qH.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = YH.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await V("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -65436,9 +65505,9 @@ function yAe({ initial: e, initialJob: t }) {
let n = await V("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= JH && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= XH && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < JH && (n = setTimeout(c, t));
+ !e.signal.aborted && o < XH && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -65452,57 +65521,57 @@ function yAe({ initial: e, initialJob: t }) {
state: "error"
}), c.setError(B(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)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, x.jsxs)(uA, { children: [
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsxs)(fA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(pA, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsx)(pA, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsx)(pA, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, x.jsx)(dA, {
+ /* @__PURE__ */ (0, x.jsx)(pA, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)(iA, {
+ n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)(oA, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(oA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(cA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !g ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : g || n.state === "error" ? /* @__PURE__ */ (0, x.jsx)(sA, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(oA, {
+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, x.jsx)(lA, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(cA, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(sA, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(lA, { 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)(Zk, {
+ /* @__PURE__ */ (0, x.jsx)($k, {
label: "更新准备进度",
value: i.progress,
- stops: vAe
+ stops: gAe
}),
- /* @__PURE__ */ (0, x.jsxs)(oA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, x.jsx)(oA, { children: _ })
+ /* @__PURE__ */ (0, x.jsxs)(cA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, x.jsx)(cA, { children: _ })
]
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(aA, {
- status: /* @__PURE__ */ (0, x.jsx)(lA, {
+ /* @__PURE__ */ (0, x.jsxs)(sA, {
+ status: /* @__PURE__ */ (0, x.jsx)(dA, {
href: n.release_url,
children: "查看发布页"
}),
@@ -65530,28 +65599,28 @@ function yAe({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function bAe({ data: e, receipt: t, panel: n }) {
+function vAe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...HH(n),
+ ...WH(n),
children: [
- e.startup ? /* @__PURE__ */ (0, x.jsx)(xAe, {
+ e.startup ? /* @__PURE__ */ (0, x.jsx)(yAe, {
startup: e.startup,
receipt: t
}) : null,
- e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(hAe, {
+ e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(pAe, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, x.jsx)(yAe, {
+ e.updates ? /* @__PURE__ */ (0, x.jsx)(_Ae, {
initial: e.updates,
initialJob: e.update_job
}) : null
]
});
}
-function xAe({ 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 = Qk(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+function yAe({ 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 = eA(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => H("/api/configuration/startup", {
@@ -65561,29 +65630,29 @@ function xAe({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, x.jsxs)(rA, { children: [
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, x.jsx)(WB, {
+ children: /* @__PURE__ */ (0, x.jsx)(KB, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "只启动托盘,不打开网页",
- children: /* @__PURE__ */ (0, x.jsx)(WB, {
+ children: /* @__PURE__ */ (0, x.jsx)(KB, {
"aria-label": "只启动托盘,不打开网页",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "在桌面创建快捷方式",
description: e.desktop_message || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(WB, {
+ children: /* @__PURE__ */ (0, x.jsx)(KB, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -65591,11 +65660,11 @@ function xAe({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)(iA, {
+ e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)(oA, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, x.jsx)(oA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, x.jsx)(cA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
disabled: !e.available,
...q(c.busy === "save"),
@@ -65606,7 +65675,7 @@ function xAe({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/restart-redirect.ts
-var YH = 8e3, SAe = [
+var ZH = 8e3, bAe = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -65625,33 +65694,33 @@ var YH = 8e3, SAe = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], CAe = [
+], xAe = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function wAe() {
+function SAe() {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "@container flex flex-col gap-3",
- children: /* @__PURE__ */ (0, x.jsxs)(fA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(mA, {
summary: "CloudDrive 设置帮助",
children: [
- /* @__PURE__ */ (0, x.jsxs)(oA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(lA, {
+ /* @__PURE__ */ (0, x.jsxs)(cA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(dA, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
})] }),
- /* @__PURE__ */ (0, x.jsx)(oA, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, x.jsx)(cA, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, x.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: SAe.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
+ children: bAe.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: CAe.map(([t, n]) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: xAe.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",
@@ -65672,7 +65741,7 @@ function wAe() {
/* @__PURE__ */ (0, x.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(lA, {
+ /* @__PURE__ */ (0, x.jsx)(cA, { children: /* @__PURE__ */ (0, x.jsx)(dA, {
href: "https://github.com/peach-mitao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "完整配置与调优说明"
}) })
@@ -65682,7 +65751,7 @@ function wAe() {
}
//#endregion
//#region src/react/settings/folder-rows.tsx
-function TAe({ className: e }) {
+function CAe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -65695,12 +65764,12 @@ function TAe({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-search" })
});
}
-var XH = [
+var QH = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], ZH = (e) => Ya[e] || "database", EAe = (e) => e === "115" || e === "pikpak";
-function DAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
+], $H = (e) => Ya[e] || "database", wAe = (e) => e === "115" || e === "pikpak";
+function TAe({ 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));
@@ -65743,7 +65812,7 @@ function DAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:
}
};
}
-function OAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
+function EAe({ 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);
@@ -65756,7 +65825,7 @@ function OAe({ 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)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
className: "min-w-0 flex-1",
"aria-label": e,
placeholder: "本机文件夹路径",
@@ -65774,8 +65843,8 @@ function OAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
className: "flex h-9 shrink-0 items-center",
children: c
}) : null,
- /* @__PURE__ */ (0, x.jsx)(_L, {
- icon: TAe,
+ /* @__PURE__ */ (0, x.jsx)(yL, {
+ icon: CAe,
"aria-label": "选择文件夹",
onClick: o,
...q(a)
@@ -65783,7 +65852,7 @@ function OAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
s ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
iconOnly: !0,
- leadingIcon: dk,
+ leadingIcon: pk,
"aria-label": "移除这个文件夹",
onClick: s
}) : null
@@ -65794,23 +65863,23 @@ function OAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
})]
});
}
-function kAe({ index: e, value: t, onChange: n, options: r = XH }) {
- return /* @__PURE__ */ (0, x.jsx)(CL, {
+function DAe({ index: e, value: t, onChange: n, options: r = QH }) {
+ return /* @__PURE__ */ (0, x.jsx)(TL, {
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)(wL, {
+ children: r.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(EL, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, x.jsx)(pA, { mark: ZH(e) }), t]
+ children: [/* @__PURE__ */ (0, x.jsx)(hA, { mark: $H(e) }), t]
}, e))
});
}
-function AAe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
- return /* @__PURE__ */ (0, x.jsx)(jN, {
+function OAe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
+ return /* @__PURE__ */ (0, x.jsx)(NN, {
label: n,
placeholder: r,
value: e,
@@ -65819,7 +65888,7 @@ function AAe({ value: e, onChange: t, label: n = "Windows 中的对应路径", p
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var QH = [
+var eU = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -65863,13 +65932,13 @@ var QH = [
["star", "收藏"],
["tags", "主题"]
];
-function jAe(e) {
+function kAe(e) {
let t = e === "local" ? "" : Ya[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var $H = "auto";
-function MAe({ 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] = jAe(n);
+var tU = "auto";
+function AAe({ 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] = kAe(n);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
ref: i,
variant: "secondary",
@@ -65883,35 +65952,35 @@ function MAe({ 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)(pA, { mark: e || l }), ((e) => e && QH.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, x.jsx)(hA, { mark: e || l }), ((e) => e && eU.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ }), /* @__PURE__ */ (0, x.jsx)(jM, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: qI,
- children: /* @__PURE__ */ (0, x.jsxs)(VM, {
+ className: YI,
+ children: /* @__PURE__ */ (0, x.jsxs)(UM, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, x.jsx)(uj, {
+ /* @__PURE__ */ (0, x.jsx)(fj, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, x.jsx)(JM, {
+ /* @__PURE__ */ (0, x.jsx)(XM, {
"aria-label": "候选图标",
- value: s || $H,
- onChange: (e) => c(e === $H ? "" : e),
+ value: s || tU,
+ onChange: (e) => c(e === tU ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: QH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(YM, {
- value: e || $H,
+ children: eU.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZM, {
+ value: e || tU,
"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)(pA, { mark: e || l })
- }, e || $H))
+ children: /* @__PURE__ */ (0, x.jsx)(hA, { mark: e || l })
+ }, e || tU))
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -65933,9 +66002,9 @@ function MAe({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var NAe = "/api/configuration/push-discovery", PAe = "/api/configuration/push-discovery/secret";
-function FAe({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = Qk(), l = hL(), u = n.media_roots, [d, f] = (0, b.useState)(e), p = (e, n) => {
+var jAe = "/api/configuration/push-discovery", MAe = "/api/configuration/push-discovery/secret";
+function NAe({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = eA(), l = _L(), 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,
@@ -65948,21 +66017,21 @@ function FAe({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => H(NAe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(B(e)));
+ c.run("save", (e) => H(jAe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(B(e)));
}, g = () => {
- c.run("secret", (e) => H(PAe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(B(e)));
+ c.run("secret", (e) => H(MAe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(B(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)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "推送发现",
onSubmit: h,
children: [
- /* @__PURE__ */ (0, x.jsxs)(rA, { children: [
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "新文件落地就入库",
description: d.enabled ? v : void 0,
- children: /* @__PURE__ */ (0, x.jsx)(WB, {
+ children: /* @__PURE__ */ (0, x.jsx)(KB, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -65972,10 +66041,10 @@ function FAe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "监视本机文件夹",
description: d.enabled && d.watch_local ? y : void 0,
- children: /* @__PURE__ */ (0, x.jsx)(WB, {
+ children: /* @__PURE__ */ (0, x.jsx)(KB, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -65985,9 +66054,9 @@ function FAe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "接收 CloudDrive2 通知",
- children: /* @__PURE__ */ (0, x.jsx)(WB, {
+ children: /* @__PURE__ */ (0, x.jsx)(KB, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -65997,7 +66066,7 @@ function FAe({ initial: e, receipt: t }) {
})
})
}),
- d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)($k, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)(tA, {
label: "Webhook 配置",
description: d.config_toml ? "贴进 CloudDrive2「设置 → Webhooks」,需要会员;更换密钥后要重贴。" : d.origin ? "还没有共享密钥,保存配置后生成。" : "要先有 CloudDrive2 能访问的 HTTPS 地址才能生成。",
children: d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
@@ -66008,11 +66077,11 @@ function FAe({ initial: e, receipt: t }) {
}) : null
}) : null
] }),
- d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(oA, {
divided: !0,
children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-3",
- children: /* @__PURE__ */ (0, x.jsxs)(fA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(mA, {
summary: "查看配置",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "relative",
@@ -66022,16 +66091,16 @@ function FAe({ 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)(oA, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]
+ }), /* @__PURE__ */ (0, x.jsx)(cA, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]
})
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)(oA, {
divided: !0,
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(cA, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, x.jsx)(uA, { children: "云端路径前缀" }),
/* @__PURE__ */ (0, x.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -66039,7 +66108,7 @@ function FAe({ 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)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -66048,13 +66117,13 @@ function FAe({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, x.jsx)(CL, {
+ /* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ children: u.map((e) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e,
children: e
}, e))
@@ -66062,7 +66131,7 @@ function FAe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
iconOnly: !0,
- leadingIcon: dk,
+ leadingIcon: pk,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -66081,11 +66150,11 @@ function FAe({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ o || c.error ? /* @__PURE__ */ (0, x.jsx)(oA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: o || c.error })
+ children: /* @__PURE__ */ (0, x.jsx)(lA, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(aA, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsxs)(sA, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: g,
disabled: !n.available,
@@ -66102,79 +66171,79 @@ function FAe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/application/initial-follow-ranges.ts
-var eU = [
+var nU = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
-], IAe = [
+], PAe = [
["off", "关闭"],
["precise", "每 10 秒一张"],
["coarse", "每 30 秒一张"]
];
-function LAe({ epoch: e = 0 }) {
+function FAe({ epoch: e = 0 }) {
let t = ut({
- queryKey: pI,
- queryFn: ({ signal: e }) => hxe(e),
+ queryKey: hI,
+ queryFn: ({ signal: e }) => pxe(e),
refetchOnMount: "always"
- }), n = vxe(), r = n.reset;
+ }), n = gxe(), r = n.reset;
(0, b.useEffect)(() => {
r();
}, [e, r]);
let i = t.data, a = n.error || t.error;
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "时间轴缩略图",
children: [
- /* @__PURE__ */ (0, x.jsx)(rA, { children: /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(tA, {
label: "采集间隔",
description: "仅采集本机磁盘上的视频。",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "videoThumbnailSetting",
- children: /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: /* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": "缩略图采集间隔",
selectedKey: i?.mode || "off",
isDisabled: !i || t.isFetching || n.isPending,
onSelectionChange: (e) => {
e !== null && n.mutate(String(e));
},
- children: IAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ children: PAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e,
children: t
}, e))
})
})
}) }),
- n.isPending || i?.status === "running" ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ n.isPending || i?.status === "running" ? /* @__PURE__ */ (0, x.jsx)(oA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(oA, {
+ children: /* @__PURE__ */ (0, x.jsx)(cA, {
role: "status",
children: n.isPending ? "正在保存…" : "正在采集,进度在活动页查看。"
})
}) : null,
- a ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ a ? /* @__PURE__ */ (0, x.jsx)(oA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: B(a) })
+ children: /* @__PURE__ */ (0, x.jsx)(lA, { children: B(a) })
}) : null
]
});
}
-function RAe({ receipt: e }) {
- let t = IT();
+function IAe({ receipt: e }) {
+ let t = LT();
(0, b.useSyncExternalStore)(t.subscribe, t.version);
let n = ut({
- queryKey: dI,
- queryFn: ({ signal: e }) => mI(e),
+ queryKey: pI,
+ queryFn: ({ signal: e }) => gI(e),
refetchOnMount: "always"
- }), r = hI(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ }), r = _I(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "关注采集",
- children: [/* @__PURE__ */ (0, x.jsxs)(rA, { children: [
- /* @__PURE__ */ (0, x.jsx)(zAe, {}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(aA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(LAe, {}),
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "首次采集范围",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "followInitialDaysSetting",
- children: /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: /* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": "首次采集范围",
selectedKey: String(i),
isDisabled: n.isFetching || r.isPending,
@@ -66183,33 +66252,33 @@ function RAe({ receipt: e }) {
typeof n.followInitialDays == "number" && (t.value.followInitialDays = n.followInitialDays), t.save(), e("已保存首次采集范围");
} });
},
- children: eU.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ children: nU.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e,
children: t
}, e))
})
})
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "头像刷新",
children: "每 3 个月"
}),
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "favicon 刷新",
children: "每年"
})
- ] }), a ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ ] }), a ? /* @__PURE__ */ (0, x.jsx)(oA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: B(a) })
+ children: /* @__PURE__ */ (0, x.jsx)(lA, { children: B(a) })
}) : null]
});
}
-function zAe() {
+function LAe() {
let e = ut({
- queryKey: fI,
- queryFn: ({ signal: e }) => mxe(e),
+ queryKey: mI,
+ queryFn: ({ signal: e }) => fxe(e),
refetchOnMount: "always"
- }), t = _xe(), n = e.data, r = (0, b.useRef)(sT(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, b.useState)("60"), [o, s] = (0, b.useState)(!1);
+ }), t = hxe(), n = e.data, r = (0, b.useRef)(cT(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, b.useState)("60"), [o, s] = (0, b.useState)(!1);
(0, b.useEffect)(() => {
n?.enabled && (r.current = n.interval_minutes, a(String(n.interval_minutes)));
}, [n]);
@@ -66218,12 +66287,12 @@ function zAe() {
!Number.isInteger(e) || e < 15 || e > 10080 ? s(!0) : (s(!1), n?.enabled && !c && e !== n.interval_minutes && (r.current = e, localStorage.setItem("peach.number.followScheduleSetting", String(e)), t.mutate(e)));
}, u = t.error || e.error;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(tA, {
label: "自动检查更新",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
id: "followScheduleSetting",
className: "flex min-w-0 flex-wrap items-center justify-end gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(WB, {
+ children: [/* @__PURE__ */ (0, x.jsx)(KB, {
"aria-label": "自动检查更新",
isSelected: n?.enabled === !0,
isDisabled: c,
@@ -66232,7 +66301,7 @@ function zAe() {
}
}), n?.enabled ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(jN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(NN, {
type: "number",
inputMode: "numeric",
name: "follow-interval",
@@ -66257,39 +66326,39 @@ function zAe() {
}) : null]
})
}),
- o ? /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(sA, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
- t.isPending || n?.running ? /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(oA, {
+ o ? /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(lA, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
+ t.isPending || n?.running ? /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(cA, {
role: "status",
children: t.isPending ? "正在保存…" : "正在检查来源更新…"
}) }) : null,
- u ? /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsx)(sA, { children: B(u) }) }) : null
+ u ? /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsx)(lA, { children: B(u) }) }) : null
] });
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var BAe = (e) => XH.find(([t]) => t === e)?.[1] ?? e, VAe = async (e) => (await H(tAe, { initial: e })).path, tU = (e = "") => ({
+var RAe = (e) => QH.find(([t]) => t === e)?.[1] ?? e, zAe = async (e) => (await H($ke, { initial: e })).path, rU = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function HAe(e) {
- let t = e.media_sources?.filter((e) => XH.some(([t]) => t === e.location));
+function BAe(e) {
+ let t = e.media_sources?.filter((e) => QH.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) => tU(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => rU(e));
}
-var UAe = (e) => !(e instanceof sn) || e.status !== 400 ? null : e.body?.errors ?? null;
-function WAe({ data: e, receipt: t, panel: n }) {
+var VAe = (e) => !(e instanceof sn) || e.status !== 400 ? null : e.body?.errors ?? null;
+function HAe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...HH(n),
+ ...WH(n),
children: [
- e.editable ? /* @__PURE__ */ (0, x.jsx)(GAe, {
+ e.editable ? /* @__PURE__ */ (0, x.jsx)(UAe, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, x.jsx)(K, {
@@ -66297,29 +66366,29 @@ function WAe({ data: e, receipt: t, panel: n }) {
title: "只读",
children: e.notice
}),
- e.editable ? null : /* @__PURE__ */ (0, x.jsx)(KAe, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, x.jsx)(FAe, {
+ e.editable ? null : /* @__PURE__ */ (0, x.jsx)(WAe, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, x.jsx)(NAe, {
initial: e.push_discovery,
receipt: t
}) : null,
- /* @__PURE__ */ (0, x.jsx)(LAe, {})
+ /* @__PURE__ */ (0, x.jsx)(FAe, {})
]
});
}
-function GAe({ data: e, receipt: t }) {
- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = DAe({
- initial: () => HAe(e),
- blank: () => tU(),
- pickFolder: VAe,
+function UAe({ data: e, receipt: t }) {
+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = TAe({
+ initial: () => BAe(e),
+ blank: () => rU(),
+ pickFolder: zAe,
describe: B
- }), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(null), _ = (0, b.useRef)(e.revision), v = Qk();
+ }), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(null), _ = (0, b.useRef)(e.revision), v = eA();
(0, b.useEffect)(() => {
if (!h) return;
- let e = setTimeout(() => location.assign(h.url), YH);
+ let e = setTimeout(() => location.assign(h.url), ZH);
return () => clearTimeout(e);
}, [h]);
let y = (r) => {
- r.preventDefault(), m(""), v.run("save", (t) => H(RH, {
+ r.preventDefault(), m(""), v.run("save", (t) => H(BH, {
revision: _.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -66328,18 +66397,18 @@ function GAe({ data: e, receipt: t }) {
}, "POST", t), (e) => {
_.current = e.revision, s([]), t("已保存配置"), g(e);
}, (e) => {
- let t = UAe(e);
+ let t = VAe(e);
s(t?.media_dirs ?? []), (!t || t.port) && m(t?.port || B(e));
});
};
- if (h) return /* @__PURE__ */ (0, x.jsx)(nA, {
+ if (h) return /* @__PURE__ */ (0, x.jsx)(iA, {
title: "媒体文件夹",
- children: /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, x.jsx)(tA, {
+ /* @__PURE__ */ (0, x.jsx)(rA, {
href: h.url,
size: "small",
children: "进入馆藏"
@@ -66348,20 +66417,20 @@ function GAe({ data: e, receipt: t }) {
]
}) })
});
- let S = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, C = n.some((e) => EAe(e.location)), w = C ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ let S = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, C = n.some((e) => wAe(e.location)), w = C ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "媒体文件夹",
onSubmit: y,
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [
+ children: [/* @__PURE__ */ (0, x.jsxs)(oA, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(cA, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, x.jsx)(uA, { 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)(OAe, {
+ children: n.map((t, i) => /* @__PURE__ */ (0, x.jsxs)(EAe, {
label: `媒体文件夹 ${i + 1}`,
path: t.path,
onPath: (e) => r(i, { path: e }),
@@ -66370,14 +66439,14 @@ function GAe({ data: e, receipt: t }) {
picking: c === i,
onPick: () => void l(i),
onRemove: n.length > 1 ? () => a(i) : void 0,
- status: S(t.path) ? /* @__PURE__ */ (0, x.jsx)(nU, { online: S(t.path)?.online }) : null,
+ status: S(t.path) ? /* @__PURE__ */ (0, x.jsx)(iU, { online: S(t.path)?.online }) : null,
children: [
- /* @__PURE__ */ (0, x.jsx)(kAe, {
+ /* @__PURE__ */ (0, x.jsx)(DAe, {
index: i,
value: t.location,
onChange: (e) => r(i, { location: e })
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
className: "min-w-40 flex-1",
"aria-label": `媒体库名称 ${i + 1}`,
maxLength: 80,
@@ -66385,13 +66454,13 @@ function GAe({ data: e, receipt: t }) {
value: t.library,
onChange: (e) => r(i, { library: e })
}),
- /* @__PURE__ */ (0, x.jsx)(MAe, {
+ /* @__PURE__ */ (0, x.jsx)(AAe, {
label: `媒体库图标 ${i + 1}`,
value: t.library_icon,
kind: t.location,
onChange: (e) => r(i, { library_icon: e })
}),
- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(AAe, {
+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(OAe, {
value: t.root,
onChange: (e) => r(i, { root: e })
}) : null
@@ -66406,18 +66475,18 @@ function GAe({ data: e, receipt: t }) {
})
]
}),
- C ? /* @__PURE__ */ (0, x.jsx)(wAe, {}) : null,
- w.map((e) => /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ C ? /* @__PURE__ */ (0, x.jsx)(SAe, {}) : null,
+ w.map((e) => /* @__PURE__ */ (0, x.jsxs)(cA, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, x.jsxs)(lA, {
+ /* @__PURE__ */ (0, x.jsxs)(dA, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(oA, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,
- /* @__PURE__ */ (0, x.jsx)(AL, {
+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(cA, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(ML, {
isSelected: d,
onChange: f,
children: "保存后扫描并补全资料"
@@ -66427,7 +66496,7 @@ function GAe({ data: e, receipt: t }) {
title: "没有保存",
children: p
}) : null
- ] }), /* @__PURE__ */ (0, x.jsx)(aA, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(sA, {
status: "保存后 Peach 会重新启动。",
children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
@@ -66437,7 +66506,7 @@ function GAe({ data: e, receipt: t }) {
})]
});
}
-function nU({ online: e }) {
+function iU({ 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",
@@ -66461,22 +66530,22 @@ function nU({ online: e }) {
}), "未检测"]
});
}
-function KAe({ data: e }) {
- let t = e.media_sources, n = Qk();
- return t ? /* @__PURE__ */ (0, x.jsxs)(nA, {
+function WAe({ data: e }) {
+ let t = e.media_sources, n = eA();
+ return t ? /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, x.jsx)(uA, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(dA, {
- term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(pA, { mark: ZH(e.location) }), BAe(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(nU, { online: e.online })]
+ /* @__PURE__ */ (0, x.jsx)(fA, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(pA, {
+ term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(hA, { mark: $H(e.location) }), RAe(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(iU, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, x.jsx)(iA, {
+ n.error ? /* @__PURE__ */ (0, x.jsx)(oA, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(sA, { children: n.error })
+ children: /* @__PURE__ */ (0, x.jsx)(lA, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- onClick: () => void n.run("refresh", (e) => BH(e), (e) => U.setQueryData(zH, e)),
+ onClick: () => void n.run("refresh", (e) => HH(e), (e) => U.setQueryData(VH, e)),
...q(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -66485,8 +66554,8 @@ function KAe({ data: e }) {
}
//#endregion
//#region src/react/settings/password-pair.tsx
-function qAe({ 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)(jN, {
+function GAe({ 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)(NN, {
id: "access-password",
type: "password",
label: e,
@@ -66499,7 +66568,7 @@ function qAe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
validationBehavior: "aria",
isInvalid: !a && !!o,
hint: a ? s : o || s
- }), /* @__PURE__ */ (0, x.jsx)(jN, {
+ }), /* @__PURE__ */ (0, x.jsx)(NN, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -66516,13 +66585,13 @@ function qAe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var JAe = {
+var KAe = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function YAe({ 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 = Qk(), g = (e) => {
+function qAe({ 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 = eA(), 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) => H("/api/configuration/access", {
@@ -66538,25 +66607,25 @@ function YAe({ initial: e, receipt: t }) {
let t = e instanceof sn ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(B(e));
});
- }, _ = JAe[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ }, _ = KAe[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- _ ? /* @__PURE__ */ (0, x.jsx)(oA, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ _ ? /* @__PURE__ */ (0, x.jsx)(cA, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, x.jsx)(AL, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, x.jsx)(ML, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(jN, {
+ n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(NN, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -66569,7 +66638,7 @@ function YAe({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, x.jsx)(qAe, {
+ v ? /* @__PURE__ */ (0, x.jsx)(GAe, {
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
password: o,
confirmation: c,
@@ -66585,9 +66654,9 @@ function YAe({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ }), v ? /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(h.busy === "save"),
children: "保存配置"
@@ -66596,27 +66665,27 @@ function YAe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/port-settings.tsx
-function XAe({ data: e, receipt: t }) {
- let [n, r] = (0, b.useState)(String(e.port)), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(null), c = Qk();
+function JAe({ data: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(String(e.port)), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(null), c = eA();
return (0, b.useEffect)(() => {
if (!o) return;
- let e = setTimeout(() => location.assign(o.url), YH);
+ let e = setTimeout(() => location.assign(o.url), ZH);
return () => clearTimeout(e);
- }, [o]), o ? /* @__PURE__ */ (0, x.jsx)(nA, {
+ }, [o]), o ? /* @__PURE__ */ (0, x.jsx)(iA, {
title: "本机访问端口",
- children: /* @__PURE__ */ (0, x.jsx)(iA, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(oA, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
tone: "success",
title: "配置已保存",
- children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, x.jsx)(tA, {
+ children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, x.jsx)(rA, {
href: o.url,
size: "small",
children: "进入馆藏"
})]
}) })
- }) : /* @__PURE__ */ (0, x.jsxs)(nA, {
+ }) : /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "本机访问端口",
onSubmit: (r) => {
- r.preventDefault(), a(""), c.run("save", (t) => H(RH, {
+ r.preventDefault(), a(""), c.run("save", (t) => H(BH, {
revision: e.revision,
media_dirs: e.media_dirs,
...e.media_sources ? { media_sources: e.media_sources } : {},
@@ -66629,7 +66698,7 @@ function XAe({ data: e, receipt: t }) {
t?.port ? a(t.port) : c.setError(B(e));
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [/* @__PURE__ */ (0, x.jsx)(jN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(oA, { children: [/* @__PURE__ */ (0, x.jsx)(NN, {
id: "configPort",
label: "端口",
inputMode: "numeric",
@@ -66642,7 +66711,7 @@ function XAe({ data: e, receipt: t }) {
tone: "error",
title: "没有保存",
children: c.error
- }) : null] }), /* @__PURE__ */ (0, x.jsx)(aA, {
+ }) : null] }), /* @__PURE__ */ (0, x.jsx)(sA, {
status: "保存后 Peach 会重启,并跳转到新地址。",
children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
@@ -66654,19 +66723,19 @@ function XAe({ data: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var ZAe = 2e3, QAe = [["quick", "临时链接"], ["named", "命名隧道"]], $Ae = {
+var YAe = 2e3, XAe = [["quick", "临时链接"], ["named", "命名隧道"]], ZAe = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function eje({ 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 = Qk(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function QAe({ 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 = eA(), 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(() => {
- BH(e.signal).then((t) => {
- !e.signal.aborted && t.tunnel && (U.setQueryData(zH, t), i(t.tunnel), o(t.revision));
+ HH(e.signal).then((t) => {
+ !e.signal.aborted && t.tunnel && (U.setQueryData(VH, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, ZAe);
+ }, YAe);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -66685,26 +66754,26 @@ function eje({ revision: e, initial: t, receipt: n }) {
n ? m(n) : h.setError(B(e));
});
};
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- r.named_available ? /* @__PURE__ */ (0, x.jsx)(XN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ r.named_available ? /* @__PURE__ */ (0, x.jsx)(QN, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: ZN,
- children: QAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(YM, {
+ className: $N,
+ children: XAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZM, {
value: e,
- className: QN,
+ className: eP,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(oA, { children: $Ae[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(cA, { children: ZAe[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(NN, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -66715,7 +66784,7 @@ function eje({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"
- }), /* @__PURE__ */ (0, x.jsx)(jN, {
+ }), /* @__PURE__ */ (0, x.jsx)(NN, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -66735,7 +66804,7 @@ function eje({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, x.jsx)(lA, {
+ children: /* @__PURE__ */ (0, x.jsx)(dA, {
href: r.url,
children: r.url
})
@@ -66745,9 +66814,9 @@ function eje({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsxs)(aA, {
+ r.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(sA, {
status: r.enabled ? "Peach 重启后自动恢复。" : void 0,
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: r.named_available ? "secondary" : "primary",
@@ -66764,28 +66833,28 @@ function eje({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var tje = [
+var $Ae = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function nje({ data: e, receipt: t, panel: n }) {
+function eje({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...HH(n),
+ ...WH(n),
children: [
- e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, x.jsx)(XAe, {
+ e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, x.jsx)(JAe, {
data: e,
receipt: t
}) : null,
- e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(rje, {
+ e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(tje, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, x.jsx)(YAe, {
+ e.access ? /* @__PURE__ */ (0, x.jsx)(qAe, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, x.jsx)(eje, {
+ e.tunnel ? /* @__PURE__ */ (0, x.jsx)(QAe, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -66793,9 +66862,9 @@ function nje({ data: e, receipt: t, panel: n }) {
]
});
}
-function rje({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = Qk();
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+function tje({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = eA();
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -66807,24 +66876,24 @@ function rje({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, x.jsx)(rA, { children: /* @__PURE__ */ (0, x.jsx)($k, {
+ /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(tA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, x.jsx)(CL, {
+ children: /* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: tje.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ children: $Ae.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(iA, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(oA, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(jN, {
+ i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(NN, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -66838,10 +66907,10 @@ function rje({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(c.busy === "save"),
children: "保存配置"
@@ -66851,24 +66920,24 @@ function rje({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var ije = "将清除这个来源在本机和共享副本中的登录凭据。", aje = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function oje(e, t) {
+var nje = "将清除这个来源在本机和共享副本中的登录凭据。", rje = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function ije(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function sje({ row: e }) {
- if (Ur(e)) return /* @__PURE__ */ (0, x.jsx)(Uk, {
+function aje({ row: e }) {
+ if (Ur(e)) return /* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, x.jsx)(Uk, {
+ return /* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: t,
children: Hr[e.requirement] || ""
});
}
-function cje({ row: e, readOnly: t, toast: n }) {
+function oje({ row: e, readOnly: t, toast: n }) {
let [r, i] = (0, b.useState)({}), [a, o] = (0, b.useState)(""), s = Ur(e), c = dt({
mutationFn: (t) => Sr(e.provider, t),
onSuccess: (e, t) => {
@@ -66885,17 +66954,17 @@ function cje({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsxs)(oA, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(lA, {
+ /* @__PURE__ */ (0, x.jsxs)(cA, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(dA, {
href: e.where,
children: "获取凭据"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, x.jsx)(oA, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, x.jsx)(cA, { 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)(jN, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)(NN, {
type: "password",
label: n,
- placeholder: oje(e, n),
+ placeholder: ije(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -66923,7 +66992,7 @@ function cje({ row: e, readOnly: t, toast: n }) {
...q(c.isPending),
onClick: () => void ls({
title: "清除来源凭据",
- body: ije,
+ body: nje,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -66931,11 +67000,11 @@ function cje({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, x.jsx)(sA, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(oA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, x.jsx)(fA, {
+ a ? /* @__PURE__ */ (0, x.jsx)(lA, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(cA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, x.jsx)(mA, {
summary: "凭据文件",
- children: /* @__PURE__ */ (0, x.jsx)(vL, {
+ children: /* @__PURE__ */ (0, x.jsx)(bL, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -66944,20 +67013,20 @@ function cje({ row: e, readOnly: t, toast: n }) {
]
});
}
-function lje({ row: e, readOnly: t, toast: n }) {
+function sje({ 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)(Wz, { provider: e.provider })
+ children: /* @__PURE__ */ (0, x.jsx)(Kz, { 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)(sje, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, x.jsx)(Uk, {
+ /* @__PURE__ */ (0, x.jsx)(aje, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, x.jsx)(Gk, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -66966,15 +67035,15 @@ function lje({ 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)(oA, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, x.jsx)(cA, { 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)(fA, {
+ /* @__PURE__ */ (0, x.jsx)(mA, {
summary: Ur(e) ? "修改凭据" : "填写凭据",
defaultOpen: e.requirement === "required" && !Ur(e),
- children: /* @__PURE__ */ (0, x.jsx)(cje, {
+ children: /* @__PURE__ */ (0, x.jsx)(oje, {
row: e,
readOnly: t,
toast: n
@@ -66983,15 +67052,15 @@ function lje({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "凭据文件权限过宽",
- children: aje
+ children: rje
}) : null
]
});
}
-function uje({ data: e, readOnly: t, toast: n }) {
+function cje({ data: e, readOnly: t, toast: n }) {
let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !Ur(e));
return r.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: Kk({
+ className: Jk({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -67024,36 +67093,36 @@ function uje({ data: e, readOnly: t, toast: n }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, x.jsx)("div", {
- className: Kk({
+ className: Jk({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(lje, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(sje, {
row: e,
readOnly: t,
toast: n
}, e.provider))
})]
}, e.title))]
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: Ume,
+ icon: Vme,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region src/configuration-copy.ts
-var dje = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", fje = "只填域名,留空用默认地址";
+var lje = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", uje = "只填域名,留空用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function pje({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.sites), i = Qk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function dje({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.sites), i = eA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "作品资料站点",
onSubmit: (e) => {
e.preventDefault();
@@ -67062,9 +67131,9 @@ function pje({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- /* @__PURE__ */ (0, x.jsx)(oA, { children: dje }),
- n.map((e) => /* @__PURE__ */ (0, x.jsx)(jN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(cA, { children: lje }),
+ n.map((e) => /* @__PURE__ */ (0, x.jsx)(NN, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -67073,10 +67142,10 @@ function pje({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: fje
+ hint: uje
}, e.key)),
- i.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsx)(aA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsx)(sA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(i.busy === "save"),
children: "保存配置"
@@ -67085,46 +67154,46 @@ function pje({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/indexer-settings.tsx
-var rU = "/api/configuration/indexers";
-function mje({ receipt: e }) {
+var aU = "/api/configuration/indexers";
+function fje({ receipt: e }) {
let t = ut({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => V(rU, e),
+ queryFn: ({ signal: e }) => V(aU, e),
refetchOnMount: "always"
});
- return t.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: B(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(Jk, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)(hje, {
+ return t.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: B(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(Xk, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)(pje, {
initial: t.data,
receipt: e
}) : null;
}
-function hje({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.indexers), i = Qk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function pje({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.indexers), i = eA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, x.jsxs)(nA, {
+ return /* @__PURE__ */ (0, x.jsxs)(iA, {
title: "资源搜索",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => H(rU, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => H(aU, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- /* @__PURE__ */ (0, x.jsx)(fA, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(mA, {
summary: "索引器连接帮助",
- children: /* @__PURE__ */ (0, x.jsx)(oA, { children: "填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。" })
+ children: /* @__PURE__ */ (0, x.jsx)(cA, { children: "填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。" })
}),
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)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: `索引器 ${t + 1} 名称`,
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { name: t })
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: `索引器 ${t + 1} Torznab 地址`,
value: e.url,
type: "url",
@@ -67133,7 +67202,7 @@ function hje({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { url: t })
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: `索引器 ${t + 1} API key`,
type: "password",
autoComplete: "new-password",
@@ -67142,13 +67211,13 @@ function hje({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { api_key: t })
}),
- /* @__PURE__ */ (0, x.jsx)(AL, {
+ /* @__PURE__ */ (0, x.jsx)(ML, {
isSelected: e.enabled,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { enabled: t }),
children: "启用"
}),
- e.api_key_set ? /* @__PURE__ */ (0, x.jsx)(AL, {
+ e.api_key_set ? /* @__PURE__ */ (0, x.jsx)(ML, {
isSelected: !!e.clear_api_key,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { clear_api_key: t }),
@@ -67163,8 +67232,8 @@ function hje({ initial: e, receipt: t }) {
}) })
]
}, e.key)),
- i.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsxs)(aA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(sA, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
type: "button",
disabled: !!i.busy || n.length >= e.max_indexers,
@@ -67185,7 +67254,7 @@ function hje({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/source-settings.tsx
-function gje({ data: e, receipt: t, panel: n }) {
+function mje({ data: e, receipt: t, panel: n }) {
let r = ut({
queryKey: Ln,
queryFn: ({ signal: e }) => fr(e),
@@ -67193,14 +67262,14 @@ function gje({ data: e, receipt: t, panel: n }) {
refetchOnMount: "always"
});
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...HH(n),
+ ...WH(n),
children: [
- /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(qk, {
href: "/sources",
variant: "secondary",
children: "采集来源与登录状态"
}) }),
- r.data ? /* @__PURE__ */ (0, x.jsx)(uje, {
+ r.data ? /* @__PURE__ */ (0, x.jsx)(cje, {
data: r.data,
readOnly: !!e.ledger_read_only,
toast: t
@@ -67208,24 +67277,24 @@ function gje({ data: e, receipt: t, panel: n }) {
tone: "error",
title: "来源凭据未取得",
children: B(r.error)
- }) : n?.active === !1 ? null : /* @__PURE__ */ (0, x.jsx)(Jk, { label: "正在读取来源凭据" }),
- e.entry_links ? /* @__PURE__ */ (0, x.jsx)(pje, {
+ }) : n?.active === !1 ? null : /* @__PURE__ */ (0, x.jsx)(Xk, { label: "正在读取来源凭据" }),
+ e.entry_links ? /* @__PURE__ */ (0, x.jsx)(dje, {
initial: e.entry_links,
receipt: t
}) : null,
- /* @__PURE__ */ (0, x.jsx)(mje, { receipt: t }),
- /* @__PURE__ */ (0, x.jsx)(RAe, { receipt: t })
+ /* @__PURE__ */ (0, x.jsx)(fje, { receipt: t }),
+ /* @__PURE__ */ (0, x.jsx)(IAe, { receipt: t })
]
});
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function _je({ receipt: e, reopenTutorial: t, section: n = "" }) {
+function hje({ receipt: e, reopenTutorial: t, section: n = "" }) {
let r = ut({
- queryKey: zH,
- queryFn: ({ signal: e }) => BH(e)
+ queryKey: VH,
+ queryFn: ({ signal: e }) => HH(e)
}), i = r.data;
- return i ? /* @__PURE__ */ (0, x.jsx)(yje, {
+ return i ? /* @__PURE__ */ (0, x.jsx)(_je, {
data: i,
receipt: e,
reopenTutorial: t,
@@ -67239,16 +67308,16 @@ function _je({ receipt: e, reopenTutorial: t, section: n = "" }) {
})
});
}
-var vje = 0;
-function yje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
- let [i] = (0, b.useState)(() => `board-tabs-${++vje}`), [a, o] = (0, b.useState)(r);
+var gje = 0;
+function _je({ data: e, receipt: t, reopenTutorial: n, section: r }) {
+ let [i] = (0, b.useState)(() => `board-tabs-${++gje}`), [a, o] = (0, b.useState)(r);
(0, b.useEffect)(() => {
o(r);
}, [r]);
let s = (e) => {
- o(e), ek(SO(e), {
+ o(e), nk(wO(e), {
replace: !0,
- state: $O.navigation.location.state
+ state: tk.navigation.location.state
});
}, [c, l] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);
(0, b.useEffect)(() => {
@@ -67261,21 +67330,21 @@ function yje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}, f = !!(e.peach_proxy || e.access || e.tunnel || e.editable && e.port_editable !== !1), p = e.downloads, m = [
{
title: "媒体库与入库",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(WAe, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(HAe, {
...d,
panel: e
})
},
{
title: "来源与订阅",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(gje, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(mje, {
...d,
panel: e
})
},
...p ? [{
title: "下载渠道",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(sAe, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(aAe, {
initial: p,
receipt: t,
panel: e
@@ -67283,7 +67352,7 @@ function yje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}] : [],
...f ? [{
title: "网络与访问",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(nje, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(eje, {
...d,
panel: e
})
@@ -67291,8 +67360,8 @@ function yje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
{
title: "应用与维护",
body: (e) => /* @__PURE__ */ (0, x.jsxs)("div", {
- ...HH(e),
- children: [/* @__PURE__ */ (0, x.jsx)(bAe, { ...d }), /* @__PURE__ */ (0, x.jsx)(pAe, {
+ ...WH(e),
+ children: [/* @__PURE__ */ (0, x.jsx)(vAe, { ...d }), /* @__PURE__ */ (0, x.jsx)(dAe, {
...d,
reopenTutorial: n
})]
@@ -67343,7 +67412,7 @@ function yje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var bje = [
+var vje = [
[
"strength",
"强度",
@@ -67370,8 +67439,8 @@ var bje = [
100
]
];
-function xje({ host: e, spot: t, index: n, glow: r }) {
- let i = Tce[n], a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)("all");
+function yje({ host: e, spot: t, index: n, glow: r }) {
+ let i = wce[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] = [
a.current,
@@ -67384,7 +67453,7 @@ function xje({ host: e, spot: t, index: n, glow: r }) {
}, []);
let u = r[t].color, d = (n) => {
let r = e.store.value.homeGlow;
- r[t].color = OT(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), za(), o.current?.focus();
+ r[t].color = kT(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), za(), o.current?.focus();
};
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-glow-stop": t,
@@ -67409,7 +67478,7 @@ function xje({ host: e, spot: t, index: n, glow: r }) {
children: u
})]
}),
- /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-down" })
+ /* @__PURE__ */ (0, x.jsx)(KD, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "popmenu",
@@ -67421,7 +67490,7 @@ function xje({ host: e, spot: t, index: n, glow: r }) {
"data-glow-pills": "",
role: "group",
"aria-label": "色系",
- children: Oce.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)("button", {
+ children: Dce.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-glow-pill": e,
"aria-pressed": e === c,
@@ -67432,7 +67501,7 @@ function xje({ host: e, spot: t, index: n, glow: r }) {
"data-glow-palette": "",
role: "radiogroup",
"aria-label": `${i}颜色`,
- children: kce.map(([e, t, n]) => /* @__PURE__ */ (0, x.jsx)("button", {
+ children: Oce.map(([e, t, n]) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
role: "radio",
"aria-checked": n === u,
@@ -67448,8 +67517,8 @@ function xje({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function Sje({ host: e }) {
- let t = e.store.value.homeGlow, n = xT(t.preset);
+function bje({ host: e }) {
+ let t = e.store.value.homeGlow, n = ST(t.preset);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"data-glow-setting": "",
id: "homeGlowControls",
@@ -67464,10 +67533,10 @@ function Sje({ host: e }) {
"data-glow-current": "",
children: ["当前配色", /* @__PURE__ */ (0, x.jsx)("b", {
"data-glow-preset-name": "",
- children: Ece(t.preset)
+ children: Tce(t.preset)
})]
}),
- /* @__PURE__ */ (0, x.jsx)(gE, {
+ /* @__PURE__ */ (0, x.jsx)(_E, {
store: e.store,
label: "光晕配色"
}),
@@ -67478,7 +67547,7 @@ function Sje({ host: e }) {
}),
/* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-fields": "",
- children: bje.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(Pke, {
+ children: vje.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(Mke, {
field: r,
label: i,
max: a,
@@ -67500,7 +67569,7 @@ function Sje({ host: e }) {
hidden: n,
children: [/* @__PURE__ */ (0, x.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-stops": "",
- children: vT.map((n, r) => /* @__PURE__ */ (0, x.jsx)(xje, {
+ children: yT.map((n, r) => /* @__PURE__ */ (0, x.jsx)(yje, {
host: e,
spot: n,
index: r,
@@ -67515,7 +67584,7 @@ function Sje({ host: e }) {
className: "geist-button",
"data-glow-reset": "",
onClick: () => {
- e.store.value.homeGlow = AT(null), e.store.save(), e.changed("glow");
+ e.store.value.homeGlow = jT(null), e.store.save(), e.changed("glow");
},
children: "恢复默认"
})
@@ -67525,7 +67594,7 @@ function Sje({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var Cje = {
+var xje = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -67566,22 +67635,22 @@ var Cje = {
optional: !0,
fallback: 60
}
-}, iU = (e) => `peach.number.${e}`;
-function aU(e, t) {
+}, oU = (e) => `peach.number.${e}`;
+function sU(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function oU({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = Cje[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);
- d.current ||= sT(Number(localStorage.getItem(iU(e))), o, s, n && n > 0 ? n : l);
+function cU({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = xje[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);
+ d.current ||= cT(Number(localStorage.getItem(oU(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(iU(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(oU(e), String(d.current)), y.current(d.current)));
}, C = (0, b.useRef)(S);
C.current = S, (0, b.useEffect)(() => {
let e = v.current;
@@ -67591,7 +67660,7 @@ function oU({ 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(iU(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(oU(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": "",
@@ -67628,7 +67697,7 @@ function oU({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, x.jsxs)("span", {
"aria-hidden": "true",
- children: [c, aU(Number(m), c) ? ` · ${aU(Number(m), c)}` : ""]
+ children: [c, sU(Number(m), c) ? ` · ${sU(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, x.jsx)("small", {
id: `${e}-error`,
@@ -67642,13 +67711,13 @@ function oU({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
//#endregion
//#region src/react/sidebar/sidebar-order.ts
-function sU(e) {
- let { mutate: t } = hI();
+function lU(e) {
+ let { mutate: t } = _I();
return (0, b.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function cU(e, t, n, r) {
+function uU(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -67658,17 +67727,17 @@ function cU(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var wje = "__home__", lU = (e) => e === "" ? wje : e;
-function Tje({ host: e }) {
- let t = sU(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 = cU(n, e, r, i);
+var Sje = "__home__", dU = (e) => e === "" ? Sje : e;
+function Cje({ host: e }) {
+ let t = lU(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 = uU(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]) => lU(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => dU(e) === o) ?? a[0], y = () => {
h.current && Ha(h.current), l(!1);
}, S = () => {
let e = h.current;
@@ -67689,7 +67758,7 @@ function Tje({ host: e }) {
}, T = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", lU(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", dU(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -67721,9 +67790,9 @@ function Tje({ host: e }) {
/* @__PURE__ */ (0, x.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(WD, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, x.jsx)(KD, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, x.jsx)(WD, { name: a ?? "" }),
+ /* @__PURE__ */ (0, x.jsx)(KD, { name: a ?? "" }),
/* @__PURE__ */ (0, x.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -67737,7 +67806,7 @@ function Tje({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => _(e, -1),
- children: /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, x.jsx)(KD, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -67747,7 +67816,7 @@ function Tje({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => _(e, 1),
- children: /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(KD, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -67759,11 +67828,11 @@ function Tje({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, x.jsx)(WD, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, x.jsx)(KD, { name: "eye-off" })
})
]
})]
- }, lU(e))), /* @__PURE__ */ (0, x.jsxs)("div", {
+ }, dU(e))), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -67779,13 +67848,13 @@ function Tje({ host: e }) {
ref: m,
onClick: S,
children: v ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(WD, { name: v[2] ?? "" }),
+ /* @__PURE__ */ (0, x.jsx)(KD, { name: v[2] ?? "" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-add-label": "",
children: v[1]
}),
- /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(WD, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, x.jsx)(KD, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(KD, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -67796,15 +67865,15 @@ function Tje({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": lU(e),
+ "data-sidebar-add-option": dU(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: C,
onClick: () => {
- s(lU(e)), y(), m.current?.focus();
+ s(dU(e)), y(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, x.jsx)(WD, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
- }, lU(e)))
+ children: [/* @__PURE__ */ (0, x.jsx)(KD, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
+ }, dU(e)))
}) : null]
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -67821,13 +67890,13 @@ function Tje({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/settings-panel.tsx
-var uU = [
+var fU = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], Eje = [
+], wje = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -67836,7 +67905,7 @@ var uU = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], Dje = [["desc", "降序"], ["asc", "升序"]], Oje = [[
+], Tje = [["desc", "降序"], ["asc", "升序"]], Eje = [[
"cover",
"官方封面",
""
@@ -67844,7 +67913,7 @@ var uU = [
"thumbnail",
"预览图",
""
-]], kje = [
+]], Dje = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -67863,88 +67932,88 @@ var uU = [
"切片",
"隐藏切片"
]
-], Aje = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", dU = null, fU = {
+], Oje = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", pU = null, mU = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, pU = 0, mU = null, hU = /* @__PURE__ */ new Set();
-function jje(e) {
- return hU.add(e), () => {
- hU.delete(e);
+}, hU = 0, gU = null, _U = /* @__PURE__ */ new Set();
+function kje(e) {
+ return _U.add(e), () => {
+ _U.delete(e);
};
}
-function Mje() {
- for (let e of [...hU]) e();
+function Aje() {
+ for (let e of [..._U]) e();
}
-function gU(e) {
- fU = {
- ...fU,
+function vU(e) {
+ mU = {
+ ...mU,
...e
- }, (0, pt.flushSync)(Mje);
+ }, (0, pt.flushSync)(Aje);
}
-async function Nje(e) {
- let t = fU.epoch, n = await e.configurable();
- fU.open && fU.epoch === t && gU({ configurable: n });
+async function jje(e) {
+ let t = mU.epoch, n = await e.configurable();
+ mU.open && mU.epoch === t && vU({ configurable: n });
}
-function Pje(e = "") {
- let t = dU;
+function Mje(e = "") {
+ let t = pU;
if (!t) return;
- let n = uU.findIndex(([t]) => t === e);
- if (fU.open && !fU.closing) {
- n >= 0 && n !== fU.tab && gU({ tab: n });
+ let n = fU.findIndex(([t]) => t === e);
+ if (mU.open && !mU.closing) {
+ n >= 0 && n !== mU.tab && vU({ tab: n });
return;
}
- za(), pU += 1, mU ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = gxe();
- gU({
+ za(), hU += 1, gU ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let r = mxe();
+ vU({
open: !0,
closing: !1,
configurable: null,
- epoch: fU.epoch + 1,
- tab: n >= 0 ? n : fU.tab
+ epoch: mU.epoch + 1,
+ tab: n >= 0 ? n : mU.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), Nje(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), jje(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function _U(e = !0) {
- if (!fU.open || fU.closing) return;
- let t = ++pU;
- e && dU?.closed?.(), gU({ closing: !0 });
+function yU(e = !0) {
+ if (!mU.open || mU.closing) return;
+ let t = ++hU;
+ e && pU?.closed?.(), vU({ closing: !0 });
let n = () => {
- t === pU && fU.closing && (gU({
+ t === hU && mU.closing && (vU({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), mU instanceof HTMLElement && document.contains(mU) && mU.focus(), mU = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), gU instanceof HTMLElement && document.contains(gU) && gU.focus(), gU = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
-var Fje = {
- open: Pje,
- close: _U,
- isOpen: () => fU.open,
+var Nje = {
+ open: Mje,
+ close: yU,
+ isOpen: () => mU.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function Ije(e) {
- return dU = e, Fje;
+function Pje(e) {
+ return pU = e, Nje;
}
-function Lje() {
- let e = (0, b.useSyncExternalStore)(jje, () => fU);
- return dU ? /* @__PURE__ */ (0, x.jsx)(Bje, {
- host: dU,
+function Fje() {
+ let e = (0, b.useSyncExternalStore)(kje, () => mU);
+ return pU ? /* @__PURE__ */ (0, x.jsx)(Rje, {
+ host: pU,
view: e
}) : null;
}
-function Rje(e) {
+function Ije(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(Aje)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(Oje)].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 vU = (e) => `settings-tab-${e}`, yU = (e) => `settings-group-${e}`;
-function zje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var bU = (e) => `settings-tab-${e}`, xU = (e) => `settings-group-${e}`;
+function Lje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(e), l = (0, b.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -67972,7 +68041,7 @@ function zje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
c.current = e, d.current(l.current[e], t);
}, [e, t]);
let f = (e, t) => {
- let n = uU.length, r = t;
+ let n = fU.length, r = t;
if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;
else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;
else if (e.key === "Home") r = 0;
@@ -68001,11 +68070,11 @@ function zje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- uU.map(([t, n], r) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ fU.map(([t, n], r) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "tab",
- id: vU(r),
- "aria-controls": yU(r),
+ id: bU(r),
+ "aria-controls": xU(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -68016,7 +68085,7 @@ function zje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onPointerEnter: (e) => {
e.pointerType !== "touch" && u(e.currentTarget, !0);
},
- children: [n === "jav" ? /* @__PURE__ */ (0, x.jsx)(WD, { name: n }) : /* @__PURE__ */ (0, x.jsx)(pfe, { name: n }), t]
+ children: [n === "jav" ? /* @__PURE__ */ (0, x.jsx)(KD, { name: n }) : /* @__PURE__ */ (0, x.jsx)(dfe, { name: n }), t]
}, t)),
/* @__PURE__ */ (0, x.jsx)("div", {
"data-settings-service": "",
@@ -68027,26 +68096,26 @@ function zje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onClick: r,
title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(WD, { name: "folder-cog" }),
+ /* @__PURE__ */ (0, x.jsx)(KD, { name: "folder-cog" }),
"Peach 配置",
- /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-right" })
+ /* @__PURE__ */ (0, x.jsx)(KD, { name: "chevron-right" })
]
})
})
]
});
}
-function bU({ index: e, tab: t, children: n }) {
+function SU({ index: e, tab: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
"data-setting-group": "",
- id: yU(e),
+ id: xU(e),
role: "tabpanel",
- "aria-labelledby": vU(e),
+ "aria-labelledby": bU(e),
hidden: e !== t,
- children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: uU[e][0] }), n]
+ children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: fU[e][0] }), n]
});
}
-function xU({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function CU({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, x.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, x.jsxs)("span", { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, x.jsx)("small", {
@@ -68063,7 +68132,7 @@ function xU({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function SU({ title: e, description: t, kind: n, children: r }) {
+function wU({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -68071,7 +68140,7 @@ function SU({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, x.jsxs)("span", { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, x.jsx)("small", { children: t }) : t] }), r]
});
}
-function Bje({ host: e, view: t }) {
+function Rje({ 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];
@@ -68092,7 +68161,7 @@ function Bje({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (t) => {
- t !== fU.tab && (gU({ tab: t }), e.selectSection?.(uU[t][0]));
+ t !== mU.tab && (vU({ tab: t }), e.selectSection?.(fU[t][0]));
}, p = () => e.store.save();
return /* @__PURE__ */ (0, x.jsx)("section", {
"data-settings-panel": "",
@@ -68103,9 +68172,9 @@ function Bje({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: Rje,
+ onKeyDown: Ije,
onClick: (e) => {
- e.target === e.currentTarget && _U();
+ e.target === e.currentTarget && yU();
},
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-settings-card": "",
@@ -68116,33 +68185,33 @@ function Bje({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
id: "settingsTitle",
- children: uU[t.tab][0]
- }), /* @__PURE__ */ (0, x.jsx)(IN, {
+ children: fU[t.tab][0]
+ }), /* @__PURE__ */ (0, x.jsx)(RN, {
id: "settingsClose",
label: "关闭设置",
- onPress: () => _U()
+ onPress: () => yU()
})]
}),
- /* @__PURE__ */ (0, x.jsx)(zje, {
+ /* @__PURE__ */ (0, x.jsx)(Lje, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- _U(!1), e.openConfiguration();
+ yU(!1), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, x.jsxs)(bU, {
+ /* @__PURE__ */ (0, x.jsxs)(SU, {
index: 0,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, x.jsx)(SU, {
+ /* @__PURE__ */ (0, x.jsx)(wU, {
title: "主题",
- children: /* @__PURE__ */ (0, x.jsx)(TH, {
+ children: /* @__PURE__ */ (0, x.jsx)(DH, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -68170,7 +68239,7 @@ function Bje({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(CU, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -68178,7 +68247,7 @@ function Bje({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(CU, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -68186,40 +68255,40 @@ function Bje({ host: e, view: t }) {
n.homeGlow.on = t, p(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, x.jsx)(Sje, { host: e }),
+ /* @__PURE__ */ (0, x.jsx)(bje, { host: e }),
/* @__PURE__ */ (0, x.jsxs)("section", {
"data-sidebar-setting": "",
"aria-labelledby": "sidebarOrderTitle",
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: /* @__PURE__ */ (0, x.jsx)("b", {
id: "sidebarOrderTitle",
children: "导航入口与顺序"
- }) }), /* @__PURE__ */ (0, x.jsx)(Tje, { host: e })]
+ }) }), /* @__PURE__ */ (0, x.jsx)(Cje, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(Hje, {
+ /* @__PURE__ */ (0, x.jsx)(Bje, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsx)(Uje, {
+ /* @__PURE__ */ (0, x.jsx)(Vje, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsxs)(bU, {
+ /* @__PURE__ */ (0, x.jsxs)(SU, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, x.jsx)(Kje, {
+ /* @__PURE__ */ (0, x.jsx)(Wje, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsx)(SU, {
+ /* @__PURE__ */ (0, x.jsx)(wU, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, x.jsx)(oU, {
+ children: /* @__PURE__ */ (0, x.jsx)(cU, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -68229,24 +68298,24 @@ function Bje({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, x.jsx)(SU, {
+ /* @__PURE__ */ (0, x.jsx)(wU, {
title: "口味与记录",
children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ children: /* @__PURE__ */ (0, x.jsx)(qk, {
variant: "secondary",
href: "/taste",
- onClick: () => _U(!1),
+ onClick: () => yU(!1),
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(bU, {
+ /* @__PURE__ */ (0, x.jsx)(SU, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, x.jsx)(xU, {
+ children: /* @__PURE__ */ (0, x.jsx)(CU, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -68261,7 +68330,7 @@ function Bje({ host: e, view: t }) {
})
});
}
-function Vje(e, t) {
+function zje(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = ao("arrow-up", "arrow-down", "a", {
@@ -68271,17 +68340,17 @@ function Vje(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function Hje({ host: e, tab: t, epoch: n }) {
+function Bje({ 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)(bU, {
+ return /* @__PURE__ */ (0, x.jsxs)(SU, {
index: 1,
tab: t,
children: [
- /* @__PURE__ */ (0, x.jsx)(SU, {
+ /* @__PURE__ */ (0, x.jsx)(wU, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, x.jsx)(oU, {
+ children: /* @__PURE__ */ (0, x.jsx)(cU, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -68291,24 +68360,24 @@ function Hje({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, x.jsx)(SU, {
+ /* @__PURE__ */ (0, x.jsx)(wU, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, x.jsx)(EH, {
+ children: [/* @__PURE__ */ (0, x.jsx)(OH, {
id: "defaultSortSetting",
label: "默认排序",
- options: Eje,
+ options: wje,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, x.jsx)(EH, {
+ }), /* @__PURE__ */ (0, x.jsx)(OH, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: Dje,
+ options: Tje,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -68316,13 +68385,13 @@ function Hje({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => Vje(e, o)
+ decorate: (e) => zje(e, o)
})]
})
}),
- /* @__PURE__ */ (0, x.jsx)(SU, {
+ /* @__PURE__ */ (0, x.jsx)(wU, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, x.jsx)(TH, {
+ children: /* @__PURE__ */ (0, x.jsx)(DH, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -68335,16 +68404,16 @@ function Hje({ host: e, tab: t, epoch: n }) {
onChoose: (t) => e.setVideoLayout(t)
})
}),
- /* @__PURE__ */ (0, x.jsx)(Gje, {
+ /* @__PURE__ */ (0, x.jsx)(Uje, {
host: e,
epoch: n
})
]
});
}
-function Uje({ host: e, tab: t, epoch: n }) {
+function Vje({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, x.jsxs)(bU, {
+ return /* @__PURE__ */ (0, x.jsxs)(SU, {
index: 2,
tab: t,
children: [
@@ -68352,13 +68421,13 @@ function Uje({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, x.jsx)(SU, {
+ /* @__PURE__ */ (0, x.jsx)(wU, {
title: "默认图片",
- children: /* @__PURE__ */ (0, x.jsx)(TH, {
+ children: /* @__PURE__ */ (0, x.jsx)(DH, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: Oje,
+ options: Eje,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -68386,7 +68455,7 @@ function Uje({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(CU, {
id: "feedAutoScrollSetting",
title: "新作自动滚动",
checked: r.feedAutoScroll,
@@ -68394,7 +68463,7 @@ function Uje({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- kje.map(([t, n, r, i]) => /* @__PURE__ */ (0, x.jsx)(Wje, {
+ Dje.map(([t, n, r, i]) => /* @__PURE__ */ (0, x.jsx)(Hje, {
host: e,
id: t,
settingKey: n,
@@ -68404,8 +68473,8 @@ function Uje({ host: e, tab: t, epoch: n }) {
]
});
}
-function Wje({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = hI(), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(null), l = e.store.value, u = (t) => {
+function Hje({ host: e, id: t, settingKey: n, label: r, title: i }) {
+ let a = _I(), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(null), l = e.store.value, u = (t) => {
s(t), Xo(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -68429,24 +68498,24 @@ function Wje({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function Gje({ host: e, epoch: t }) {
+function Uje({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(SU, {
+ /* @__PURE__ */ (0, x.jsx)(wU, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, x.jsx)(oU, {
+ children: /* @__PURE__ */ (0, x.jsx)(cU, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: n.hoverDelaySeconds,
onApply: (t) => {
- n.hoverDelaySeconds = sT(t, 0, 60, 5), r(), e.changed("hoverDelay");
+ n.hoverDelaySeconds = cT(t, 0, 60, 5), r(), e.changed("hoverDelay");
}
}, t)
})
}),
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(CU, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -68454,7 +68523,7 @@ function Gje({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, x.jsx)(xU, {
+ /* @__PURE__ */ (0, x.jsx)(CU, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -68462,11 +68531,11 @@ function Gje({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, x.jsx)(SU, {
+ /* @__PURE__ */ (0, x.jsx)(wU, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, x.jsx)(oU, {
+ children: /* @__PURE__ */ (0, x.jsx)(cU, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -68478,18 +68547,18 @@ function Gje({ host: e, epoch: t }) {
})
] });
}
-function Kje({ host: e, epoch: t }) {
- let n = e.store.value, r = hI();
- return /* @__PURE__ */ (0, x.jsx)(SU, {
+function Wje({ host: e, epoch: t }) {
+ let n = e.store.value, r = _I();
+ return /* @__PURE__ */ (0, x.jsx)(wU, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, x.jsx)(oU, {
+ children: /* @__PURE__ */ (0, x.jsx)(cU, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
onApply: (t) => {
- n.searchHistoryLimit = sT(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
+ n.searchHistoryLimit = cT(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
}
}, t)
})
@@ -68497,68 +68566,68 @@ function Kje({ host: e, epoch: t }) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var CU = "__home__", qje = {
+var TU = "__home__", Gje = {
creator: 26,
tag: 30,
tech: 16
-}, wU = 180, TU = null, EU = {
+}, EU = 180, DU = null, OU = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, DU = /* @__PURE__ */ new Set();
-function Jje(e) {
- return DU.add(e), () => {
- DU.delete(e);
+}, kU = /* @__PURE__ */ new Set();
+function Kje(e) {
+ return kU.add(e), () => {
+ kU.delete(e);
};
}
-function OU() {
- for (let e of [...DU]) e();
+function AU() {
+ for (let e of [...kU]) e();
}
-var Yje = {
+var qje = {
render(e) {
- EU = {
- ...EU,
+ OU = {
+ ...OU,
props: e
- }, (0, pt.flushSync)(OU);
+ }, (0, pt.flushSync)(AU);
},
navChanged() {
- EU = {
- ...EU,
- epoch: EU.epoch + 1
- }, (0, pt.flushSync)(OU);
+ OU = {
+ ...OU,
+ epoch: OU.epoch + 1
+ }, (0, pt.flushSync)(AU);
}
};
-function Xje(e) {
- return TU = e, EU = {
- ...EU,
+function Jje(e) {
+ return DU = e, OU = {
+ ...OU,
props: {
content: null,
filters: {},
latest: null
}
- }, Yje;
+ }, qje;
}
-function Zje() {
- let e = (0, b.useSyncExternalStore)(Jje, () => EU);
- return TU ? /* @__PURE__ */ (0, x.jsx)(Qje, {
- host: TU,
+function Yje() {
+ let e = (0, b.useSyncExternalStore)(Kje, () => OU);
+ return DU ? /* @__PURE__ */ (0, x.jsx)(Xje, {
+ host: DU,
props: e.props,
epoch: e.epoch
}) : null;
}
-function Qje({ host: e, props: t, epoch: n }) {
+function Xje({ 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)($je, {
+ /* @__PURE__ */ (0, x.jsx)(Zje, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, x.jsx)(tMe, {
+ t.content ? /* @__PURE__ */ (0, x.jsx)($je, {
host: e,
content: t.content,
filters: t.filters,
@@ -68566,8 +68635,8 @@ function Qje({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function $je({ host: e, epoch: t, version: n }) {
- let r = sU(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 = UA(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || CU : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function Zje({ host: e, epoch: t, version: n }) {
+ let r = lU(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 = GA(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || TU : "").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 [
@@ -68585,7 +68654,7 @@ function $je({ host: e, epoch: t, version: n }) {
}, _ = (e) => ({
draggable: !0,
onDragStart: (t) => {
- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || CU);
+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || TU);
},
onDragOver: (t) => {
if (f === null || f === e) return;
@@ -68600,7 +68669,7 @@ function $je({ host: e, epoch: t, version: n }) {
t.preventDefault();
let n = f, a = m?.key === e && m.after;
g();
- let o = n === null ? null : cU(i, n, e, a);
+ let o = n === null ? null : uU(i, n, e, a);
o && r(o);
},
onDragEnd: g
@@ -68623,16 +68692,16 @@ function $je({ host: e, epoch: t, version: n }) {
"data-sidebar-home-logo": "",
src: "/peach-logo.png",
alt: ""
- }) : /* @__PURE__ */ (0, x.jsx)(WD, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
- }, t || CU))
+ }) : /* @__PURE__ */ (0, x.jsx)(KD, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
+ }, t || TU))
}), v ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-glide": "",
"aria-hidden": "true",
ref: l
}), v) : null] });
}
-var kU = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function eMe(e) {
+var jU = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function Qje(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -68645,7 +68714,7 @@ function eMe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function tMe({ host: e, content: t, filters: n, latest: r }) {
+function $je({ 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" && fo(e.scroll, "drawer");
@@ -68654,8 +68723,8 @@ function tMe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? nMe(e, t.facets, n, r, i) : rMe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)(iMe, {
+ let a = t.kind === "catalog" ? eMe(e, t.facets, n, r, i) : tMe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)(nMe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -68664,11 +68733,11 @@ function tMe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function nMe(e, t, n, r, i) {
- let a = eMe(r), o = (t, r, i) => {
+function eMe(e, t, n, r, i) {
+ let a = Qje(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = kU(n, r);
- return /* @__PURE__ */ (0, x.jsx)(MU, {
+ let o = jU(n, r);
+ return /* @__PURE__ */ (0, x.jsx)(PU, {
rows: t,
filterKey: r,
multi: i,
@@ -68678,7 +68747,7 @@ function nMe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = kU(n, l), p = c.some((e) => f.includes(e.value));
+ let f = jU(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -68690,12 +68759,12 @@ function nMe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, x.jsx)(oMe, {
+ body: /* @__PURE__ */ (0, x.jsx)(iMe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: qje[d],
+ limit: Gje[d],
filterKey: l,
selected: f,
counts: a,
@@ -68710,7 +68779,7 @@ function nMe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(FU, {
+ body: /* @__PURE__ */ (0, x.jsx)(LU, {
host: e,
filters: n
})
@@ -68724,7 +68793,7 @@ function nMe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(NU, {
+ body: /* @__PURE__ */ (0, x.jsx)(FU, {
rows: t.followTags,
host: e,
selected: null,
@@ -68733,14 +68802,14 @@ function nMe(e, t, n, r, i) {
} : null
];
}
-function rMe(e, t, n) {
- let r = t.providers || [], i = kU(n, "provider"), a = new Set(t.selected);
+function tMe(e, t, n) {
+ let r = t.providers || [], i = jU(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)(MU, {
+ body: /* @__PURE__ */ (0, x.jsx)(PU, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -68754,7 +68823,7 @@ function rMe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(FU, {
+ body: /* @__PURE__ */ (0, x.jsx)(LU, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -68764,7 +68833,7 @@ function rMe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, x.jsx)(NU, {
+ body: /* @__PURE__ */ (0, x.jsx)(FU, {
rows: t.tags,
host: e,
selected: a,
@@ -68773,19 +68842,19 @@ function rMe(e, t, n) {
} : null
];
}
-function AU(e, t) {
+function MU(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function iMe({ 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)(() => AU(e, n)), u = (0, b.useRef)(!1);
+function nMe({ 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)(() => MU(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 ? AU(e, n) : c;
+ let i = u.current ? MU(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) => {
@@ -68806,7 +68875,7 @@ function iMe({ 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)(WD, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, x.jsx)(KD, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, x.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -68817,7 +68886,7 @@ function iMe({ 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)(jU.Provider, {
+ children: /* @__PURE__ */ (0, x.jsx)(NU.Provider, {
value: d,
children: a
})
@@ -68826,15 +68895,15 @@ function iMe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var jU = (0, b.createContext)(() => {});
-function aMe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(WD, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, x.jsx)("img", {
+var NU = (0, b.createContext)(() => {});
+function rMe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(KD, { 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 MU({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function PU({ 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) => {
@@ -68851,7 +68920,7 @@ function MU({ 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)(aMe, { dot: e.dot }),
+ /* @__PURE__ */ (0, x.jsx)(rMe, { dot: e.dot }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -68866,8 +68935,8 @@ function MU({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function oMe({ 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)(jU), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(e);
+function iMe({ 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)(NU), [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)(() => {
@@ -68882,7 +68951,7 @@ function oMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), Ca(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(MU, {
+ }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(PU, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -68907,10 +68976,10 @@ function oMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !_
}), _ && u());
},
- children: /* @__PURE__ */ (0, x.jsx)(WD, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(KD, { name: "chevron-down" })
}) : null] });
}
-function NU({ rows: e, host: t, selected: n, badges: r }) {
+function FU({ 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", {
@@ -68932,10 +69001,10 @@ function NU({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var PU = (e, t) => e ? Math.min(wU, Number(e) / 60) : t;
-function FU({ 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)(() => [PU(t.dur_min, 0), PU(t.dur_max, wU)]), [c, l] = (0, b.useState)("max");
- i !== r && (a(r), s([PU(t.dur_min, 0), PU(t.dur_max, wU)]));
+var IU = (e, t) => e ? Math.min(EU, Number(e) / 60) : t;
+function LU({ 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)(() => [IU(t.dur_min, 0), IU(t.dur_max, EU)]), [c, l] = (0, b.useState)("max");
+ i !== r && (a(r), s([IU(t.dur_min, 0), IU(t.dur_max, EU)]));
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) => {
@@ -68948,11 +69017,11 @@ function FU({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, b.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / wU * 100}%`), e.style.setProperty("--hi", `${d / wU * 100}%`);
+ e.style.setProperty("--lo", `${u / EU * 100}%`), e.style.setProperty("--hi", `${d / EU * 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 / wU * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / EU * 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`);
});
@@ -68962,7 +69031,7 @@ function FU({ 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 >= wU ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= EU ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-duration": "",
@@ -68977,7 +69046,7 @@ function FU({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: wU,
+ max: EU,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -68988,7 +69057,7 @@ function FU({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: wU,
+ max: EU,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -69003,23 +69072,23 @@ function FU({ host: e, filters: t, commit: n = e.setDuration }) {
}
//#endregion
//#region src/configuration-skeleton.ts
-var sMe = (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">${$I({
+var aMe = (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">${tL({
label: "保存配置",
attrs: "disabled data-skeleton-action"
-})}</div></div></section>`, IU = (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 cMe() {
+})}</div></div></section>`, RU = (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 oMe() {
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">${sMe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${IU("媒体文件夹", "", "ui-configuration-skeleton-select")}${IU("媒体库名称", "", "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">${aMe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${RU("媒体文件夹", "", "ui-configuration-skeleton-select")}${RU("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
}
//#endregion
//#region src/management-skeletons.ts
-var LU = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", RU = (e = "60%") => `<span class="${LU} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, zU = "disabled data-skeleton-action", BU = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function lMe() {
+var zU = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", BU = (e = "60%") => `<span class="${zU} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, VU = "disabled data-skeleton-action", HU = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function sMe() {
let e = [
"馆藏视频",
"看过",
@@ -69027,27 +69096,27 @@ function lMe() {
"使用空间"
].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="${LU} 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">${RU("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">${RU("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${BU}" 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">${RU("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="${zU} 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">${BU("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">${BU("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${HU}" 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">${BU("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">${RU()}</span><b class="text-title-2-medium">${RU("3em")}</b><small class="text-caption-1-regular">${RU()}</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">${BU()}</span><b class="text-title-2-medium">${BU("3em")}</b><small class="text-caption-1-regular">${BU()}</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">账本当前快照 · ${RU("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${BU("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="${BU}"><h3 class="text-title-2-medium">${e}</h3><div class="${LU} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${HU}"><h3 class="text-title-2-medium">${e}</h3><div class="${zU} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -69056,11 +69125,11 @@ function lMe() {
"最近看过",
"标签来源"
].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="${LU} 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="${zU} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function uMe() {
+function cMe() {
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 = [
"浏览记录",
"口味维度",
@@ -69068,20 +69137,20 @@ function uMe() {
"私有导出"
].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="${LU} 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">${RU("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">${RU("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${LU} h-6"></div>`).join(""), r = (e) => `<section class="${BU}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${LU} 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="${zU} 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">${BU("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">${BU("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${zU} h-6"></div>`).join(""), r = (e) => `<section class="${HU}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${zU} 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">${eL("全部时间")}<span data-button-group data-split-button data-variant="primary">${$I({
+ <div class="flex flex-wrap items-center gap-2">${nL("全部时间")}<span data-button-group data-split-button data-variant="primary">${tL({
glyph: "compass",
label: "读取浏览器历史",
- attrs: zU
- })}${$I({
+ attrs: VU
+ })}${tL({
glyph: "chevron-down",
- attrs: zU
+ attrs: VU
})}</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>
@@ -69099,11 +69168,11 @@ function uMe() {
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">${RU("8em")}</small></div>
+ <small class="text-caption-1-regular">${BU("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="${BU}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${LU} h-72 max-sm:h-48"></div></section>
+ <section class="${HU}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${zU} 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([
"标签",
@@ -69111,128 +69180,128 @@ function uMe() {
"常访问网站",
"浏览候选"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${LU} 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="${zU} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function dMe() {
+function lMe() {
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="${LU} 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">${RU("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${RU("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">${RU("75%")}</span>
+ <span class="${zU} 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">${BU("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${BU("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">${BU("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">${RU("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${RU("8em")}</span>
+ <b class="text-title-2-medium">${BU("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${BU("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
"整组回收"
- ].map((e) => $I({
+ ].map((e) => tL({
variant: "secondary",
size: "small",
label: e,
- attrs: zU
+ attrs: VU
})).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">${RU("4em")}</strong></div><p class="text-body-regular text-text-secondary">${RU("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">${BU("4em")}</strong></div><p class="text-body-regular text-text-secondary">${BU("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 ${zU} 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 ${VU} 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 fMe() {
+function uMe() {
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="${LU} 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">${RU("80%")}</h3><p class="text-body-2-regular">${RU("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${zU} 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">${BU("80%")}</h3><p class="text-body-2-regular">${BU("60%")}</p></div>
</div>
- <footer class="flex justify-end">${$I({
+ <footer class="flex justify-end">${tL({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: zU
+ attrs: VU
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- ${tL("待升级")}
+ ${rL("待升级")}
<ul class="card-grid-cover gap-5">${e.repeat(6)}</ul>
</div></div>`;
}
//#endregion
//#region src/board-skeleton.ts
-var VU = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, HU = () => `${VU("80%")}${VU("48%")}`, UU = (e, t) => e.repeat(t), WU = "disabled data-skeleton-action", GU = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, KU = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, pMe = "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", qU = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var UU = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, WU = () => `${UU("80%")}${UU("48%")}`, GU = (e, t) => e.repeat(t), KU = "disabled data-skeleton-action", qU = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, JU = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, dMe = "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", YU = () => `<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="${pMe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${GU("3em")}</b></div>`).join("")}</div>`, JU = [
+].map((e) => `<div class="${dMe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${qU("3em")}</b></div>`).join("")}</div>`, XU = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], mMe = (e = "") => JU.some(([t]) => t === e) ? e : "list", YU = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${JU.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, XU = (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>`, hMe = ({ table: e, sort: t, dir: n }) => {
+], fMe = (e = "") => XU.some(([t]) => t === e) ? e : "list", ZU = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${XU.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, QU = (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>`, pMe = ({ table: e, sort: t, dir: n }) => {
let r = ln.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">${GU("132px")}</span></span>${$I({
+ 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">${qU("132px")}</span></span>${tL({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: WU
- })}<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">${$I({
+ attrs: KU
+ })}<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">${tL({
variant: "ghost",
glyph: "layout-grid",
attrs: `aria-pressed="${!e}"`
- })}${$I({
+ })}${tL({
variant: "ghost",
glyph: "table",
attrs: `aria-pressed="${e}"`
- })}</span>${eL(r)}${$I({
+ })}</span>${nL(r)}${tL({
variant: "secondary",
glyph: n === "asc" ? "arrow-up" : "arrow-down"
- })}${e ? "" : $I({
+ })}${e ? "" : tL({
variant: "secondary",
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: WU
+ attrs: KU
})}</span></div>`;
-}, ZU = () => `<span class="flex shrink-0 items-center gap-1">${$I({
+}, $U = () => `<span class="flex shrink-0 items-center gap-1">${tL({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: WU
-})}${$I({
+ attrs: KU
+})}${tL({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: WU
-})}</span>`, gMe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${XU()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${GU("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${KU(14, 14)}</span>${KU(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">${GU("113px")}</span>${ZU()}</span></div>`, QU = (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>${KU(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${GU("92px")}</b>${$I({
+ attrs: KU
+})}</span>`, mMe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${QU()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${qU("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${JU(14, 14)}</span>${JU(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">${qU("113px")}</span>${$U()}</span></div>`, eW = (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>${JU(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${qU("92px")}</b>${tL({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: WU
-})}<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">${KU(14, 14)}${KU(14, 14)}</span>${$I({
+ attrs: KU
+})}<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">${JU(14, 14)}${JU(14, 14)}</span>${tL({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: WU
-})}${$I({
+ attrs: KU
+})}${tL({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: WU
-})}</span></div><div data-source-divider>${UU(gMe(), e)}</div></section>`, _Me = () => {
+ attrs: KU
+})}</span></div><div data-source-divider>${GU(mMe(), e)}</div></section>`, hMe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, vMe = [
+}, gMe = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -69240,64 +69309,64 @@ var VU = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, HU
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], yMe = {
+], _Me = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, bMe = "<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>", xMe = (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>${vMe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${yMe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${bMe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${UU(`<tr>${[
- XU(),
- `<span class="flex min-w-0 items-center gap-2">${KU(32, 32, !0)}${GU("5em")}</span>`,
- GU("10em"),
- `<span class="flex items-center gap-1.5">${KU(14, 14)}${GU("4em")}</span>`,
- KU(48, 24),
- GU("113px"),
- ZU()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, SMe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${GU("111px")}</span>${eL(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${KU(204, 32)}</div>`, CMe = () => `<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">${GU("120px")}</h3>${[
+}, vMe = "<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>", yMe = (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>${gMe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${_Me[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${vMe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${GU(`<tr>${[
+ QU(),
+ `<span class="flex min-w-0 items-center gap-2">${JU(32, 32, !0)}${qU("5em")}</span>`,
+ qU("10em"),
+ `<span class="flex items-center gap-1.5">${JU(14, 14)}${qU("4em")}</span>`,
+ JU(48, 24),
+ qU("113px"),
+ $U()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, bMe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${qU("111px")}</span>${nL(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${JU(204, 32)}</div>`, xMe = () => `<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">${qU("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${GU(e)}</span>`).join("")}</div>`, wMe = (e) => {
- let t = mMe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${qU()}<div class="flex flex-col gap-6">${YU(t)}<div class="flex flex-col gap-4">${CMe()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = pn(e.followSort, e.followDir), i = e.followPageSize || _Me(), a = n ? xMe(i, r) : `${XU("全选本页")}<div class="flex flex-col gap-3">${QU(3)}${QU(4)}${QU(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${qU()}<div class="flex flex-col gap-6">${YU(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"}">${hMe({
+].map((e) => `<span class="text-body-medium">${qU(e)}</span>`).join("")}</div>`, SMe = (e) => {
+ let t = fMe(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${YU()}<div class="flex flex-col gap-6">${ZU(t)}<div class="flex flex-col gap-4">${xMe()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = pn(e.followSort, e.followDir), i = e.followPageSize || hMe(), a = n ? yMe(i, r) : `${QU("全选本页")}<div class="flex flex-col gap-3">${eW(3)}${eW(4)}${eW(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${YU()}<div class="flex flex-col gap-6">${ZU(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"}">${pMe({
table: n,
...r
- })}${a}${SMe(n, i)}</div></div></div></div></div>`;
+ })}${a}${bMe(n, i)}</div></div></div></div></div>`;
};
-function TMe() {
- 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">${VU("85%")}${VU("65%")}${UU(HU(), 4)}</div></aside></div>`;
+function CMe() {
+ 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">${UU("85%")}${UU("65%")}${GU(WU(), 4)}</div></aside></div>`;
}
-function EMe(e, t = {}) {
+function wMe(e, t = {}) {
let n = "";
- if (e === "/stats") n = lMe();
- else if (e === "/jav") n = pOe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = uMe();
- else if (e === "/subscriptions") n = wMe(t);
- else if (e === "/settings/library") n = cMe();
+ if (e === "/stats") n = sMe();
+ else if (e === "/jav") n = dOe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = cMe();
+ else if (e === "/subscriptions") n = SMe(t);
+ else if (e === "/settings/library") n = oMe();
else if (e === "/tasks") 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">${VU("35%")}${HU()}</div></article></div></section>`).join("")}</div>`;
- else if (e === "/duplicates") n = dMe();
- else if (e === "/quality-goals") n = fMe();
- 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>${VU("200px")}</div></header><div class="ui-playlistcards">${UU(`<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">${HU()}</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">${UU("35%")}${WU()}</div></article></div></section>`).join("")}</div>`;
+ else if (e === "/duplicates") n = lMe();
+ else if (e === "/quality-goals") n = uMe();
+ 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>${UU("200px")}</div></header><div class="ui-playlistcards">${GU(`<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">${WU()}</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 $U = (e) => ["follow-item", e], DMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, OMe = "/api/follow/save", kMe = "/api/follow/media/hide", eW = class extends Error {
+var tW = (e) => ["follow-item", e], TMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, EMe = "/api/follow/save", DMe = "/api/follow/media/hide", nW = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function tW(e, t) {
- let n = await V(DMe(e), t);
+async function rW(e, t) {
+ let n = await V(TMe(e), t);
for (let t of n.groups || []) {
let r = ni(t).find((t) => t.id === e);
if (r) return {
@@ -69307,9 +69376,9 @@ async function tW(e, t) {
aliases: n.author_aliases || []
};
}
- throw new eW();
+ throw new nW();
}
-function AMe(e) {
+function OMe(e) {
for (let [, t] of U.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = ni(t.group).find((t) => t.id === e);
@@ -69320,20 +69389,20 @@ function AMe(e) {
}
return null;
}
-async function nW(e, t) {
- let n = $U(e.id), r = ri(e.id), i = U.getQueryData(Zr) ? null : U.fetchQuery({
+async function iW(e, t) {
+ let n = tW(e.id), r = ri(e.id), i = U.getQueryData(Zr) ? null : U.fetchQuery({
queryKey: Zr,
queryFn: () => Qr(t)
}), a = r ? {
...r,
item: r.item
- } : U.getQueryData(n) ?? AMe(e.id);
+ } : U.getQueryData(n) ?? OMe(e.id);
a ? U.setQueryData(n, a) : await U.fetchQuery({
queryKey: n,
- queryFn: () => tW(e.id, t)
+ queryFn: () => rW(e.id, t)
}), await i;
}
-function jMe(e, t, n, r) {
+function kMe(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 && di(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,
@@ -69348,32 +69417,32 @@ function jMe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var MMe = (e) => ni(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), NMe = {
+var AMe = (e) => ni(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), jMe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, PMe = {
+}, MMe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function FMe(e) {
+function NMe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return NMe[t] || t;
+ return jMe[t] || t;
} catch {
return "外部文件页";
}
}
-function rW(e, t) {
- return PMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function aW(e, t) {
+ return MMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function IMe(e, t, n = "") {
+function PMe(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;
@@ -69382,54 +69451,54 @@ function IMe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var LMe = (e) => String(e.name || "").trim(), iW = (e, t) => e.tag_types?.[t] || "unknown", RMe = /* @__PURE__ */ new Set([
+var FMe = (e) => String(e.name || "").trim(), oW = (e, t) => e.tag_types?.[t] || "unknown", IMe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function zMe(e, t) {
- let n = iW(e, t);
- return `r34-${RMe.has(n) ? n : "general"}`;
+function LMe(e, t) {
+ let n = oW(e, t);
+ return `r34-${IMe.has(n) ? n : "general"}`;
}
-var aW = [
+var sW = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function BMe(e, t) {
+function RMe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = aW.indexOf(iW(e, t));
- return n < 0 ? aW.length : n;
+ let n = sW.indexOf(oW(e, t));
+ return n < 0 ? sW.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function oW(e, t) {
+function cW(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 VMe = (e, t) => ({
+var zMe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), sW = (e) => e?.size ? { size: e.size } : {};
-function HMe(e, t) {
+}), lW = (e) => e?.size ? { size: e.size } : {};
+function BMe(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: rW(t, e),
- ...sW(t)
+ source: aW(t, e),
+ ...lW(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: rW(a, e),
- ...sW(a)
+ source: aW(a, e),
+ ...lW(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -69437,7 +69506,7 @@ function HMe(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var UMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", cW = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => go(e, {
+var VMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", uW = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => go(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -69445,7 +69514,7 @@ var UMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", cW
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), WMe = [
+}), HMe = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -69455,41 +69524,41 @@ var UMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", cW
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], GMe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
+], UMe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
<div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>
- <div class="reviewtabs" data-section-items>${WMe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
+ <div class="reviewtabs" data-section-items>${HMe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(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>`, KMe = {
- ...Object.fromEntries(Object.keys(yO).map((e) => [`/settings/${e}`, () => ho()])),
- "/data-cleanup": () => lL(),
- "/resource-sync": () => lL(),
- "/review": () => GMe(),
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, WMe = {
+ ...Object.fromEntries(Object.keys(xO).map((e) => [`/settings/${e}`, () => ho()])),
+ "/data-cleanup": () => dL(),
+ "/resource-sync": () => dL(),
+ "/review": () => UMe(),
"/diagnostics": () => ho(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${cW("正在读取采集来源", {
+ ${uW("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function lW(e, { followLayout: t, followSort: n, followDir: r }) {
- return EMe(e, {
+function dW(e, { followLayout: t, followSort: n, followDir: r }) {
+ return wMe(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (KMe[e] ?? (() => cW("正在读取页面")))();
+ }) || (WMe[e] ?? (() => uW("正在读取页面")))();
}
-var uW = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function dW(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = uW(t);
+var fW = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function pW(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = fW(t);
(!r || r !== n) && (e.innerHTML = t, wo(e));
}
//#endregion
//#region src/react/components/related-section.tsx
-function fW({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {
+function mW({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {
let s = (0, b.useCallback)((e) => {
e && (wo(e), t(e));
}, [t]);
@@ -69502,15 +69571,15 @@ function fW({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
children: "接着看"
}), i ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, x.jsx)(OP, {
+ children: /* @__PURE__ */ (0, x.jsx)(AP, {
message: i,
onRetry: a || (() => {})
})
}) : r && !n ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, x.jsx)(qk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: ehe,
+ icon: Qme,
title: "暂无接着看的内容",
children: "可以回到列表挑选其他作品。"
})
@@ -69524,14 +69593,14 @@ function fW({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
}
//#endregion
//#region src/react/components/detail-continuation.tsx
-function pW({ queue: e, children: t, editionCards: n }) {
+function hW({ queue: e, children: t, editionCards: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-detail-continuation": "",
"data-edition-cards": n == null ? void 0 : Math.min(3, n),
children: [e, t]
});
}
-function mW({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
+function gW({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
let a = (0, b.useRef)(null), [o, s] = (0, b.useState)(!0), c = e.some((e) => e.video), l = !!i;
if ((0, b.useEffect)(() => {
let e = a.current?.querySelector("[data-media-thumbnails]"), t = Fo(e, { fade: !1 });
@@ -69597,7 +69666,7 @@ function mW({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
"data-media-thumbnails": "",
role: "group",
"aria-label": "媒体缩略图",
- children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)(qMe, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)(GMe, {
item: e,
selected: r === t,
label: e.label || `第 ${r + 1} 张`,
@@ -69619,7 +69688,7 @@ function mW({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function qMe({ item: e, selected: t, label: n, onSelect: r, render: i }) {
+function GMe({ item: e, selected: t, label: n, onSelect: r, render: i }) {
let a = (0, b.useRef)(null), [o, s] = (0, b.useState)(typeof IntersectionObserver > "u");
return (0, b.useEffect)(() => {
if (!a.current || o) return;
@@ -69644,14 +69713,14 @@ function qMe({ item: e, selected: t, label: n, onSelect: r, render: i }) {
}
//#endregion
//#region src/react/follow-detail/follow-related.ts
-var JMe = (e, t, n) => [
+var KMe = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function hW(e, t, n, r) {
+function _W(e, t, n, r) {
let i = new Set((t.group ? ni(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));
return e.flatMap((e) => e.groups || []).filter((e) => {
let t = ni(e);
@@ -69666,7 +69735,7 @@ function hW(e, t, n, r) {
};
}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);
}
-async function YMe(e, t, n, r) {
+async function qMe(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...ui(i),
status: "new",
@@ -69680,29 +69749,29 @@ async function YMe(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return hW(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && hW(o, e, t, n).length < n && await s("", 0), {
+ return _W(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && _W(o, e, t, n).length < n && await s("", 0), {
pages: o,
pageParams: o.map((e) => e.offset || 0)
};
}
//#endregion
//#region src/react/follow-detail/follow-detail-page.tsx
-var gW = (e) => Number(e) > 0, XMe = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var vW = (e) => Number(e) > 0, JMe = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), _W = R("external-link", "ui-externalmark");
-function ZMe(e) {
+}), yW = R("external-link", "ui-externalmark");
+function YMe(e) {
let { id: t, actions: n } = e, r = ut({
- queryKey: $U(t),
- queryFn: ({ signal: e }) => tW(t, e)
+ queryKey: tW(t),
+ queryFn: ({ signal: e }) => rW(t, e)
}), i = ut({
queryKey: Zr,
queryFn: ({ signal: e }) => Qr(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)(eNe, {
+ return r.data ? /* @__PURE__ */ (0, x.jsx)(QMe, {
...e,
data: r.data,
- context: VMe(r.data, a),
+ context: zMe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, x.jsx)("div", {
@@ -69711,9 +69780,9 @@ function ZMe(e) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, x.jsx)(vW, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(bW, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? QMe(r.error) ? /* @__PURE__ */ (0, x.jsx)($Me, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(OP, {
+ children: r.isError ? XMe(r.error) ? /* @__PURE__ */ (0, x.jsx)(ZMe, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(AP, {
message: Tt(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -69721,8 +69790,8 @@ function ZMe(e) {
})
});
}
-var QMe = (e) => e instanceof eW || e instanceof sn && e.status === 404;
-function $Me({ onBack: e }) {
+var XMe = (e) => e instanceof nW || e instanceof sn && e.status === 404;
+function ZMe({ onBack: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -69731,7 +69800,7 @@ function $Me({ onBack: e }) {
dangerouslySetInnerHTML: { __html: $a("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var vW = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
+var bW = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -69740,8 +69809,8 @@ var vW = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function eNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = jMe(c, l, n, i), d = oNe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, b.useState)({
+function QMe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = kMe(c, l, n, i), d = iNe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, b.useState)({
key: "",
kind: ""
}), h = {
@@ -69761,20 +69830,20 @@ function eNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? MMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(SW, {
+ let g = !u.embedded.length && u.collection ? AMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(wW, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, x.jsx)(SW, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, x.jsx)(wW, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, x.jsx)(rNe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(tNe, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -69784,14 +69853,14 @@ function eNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
"data-stage-grid": "",
"data-with-queue": _ ? "" : void 0,
"data-follow-detail": "",
- children: [/* @__PURE__ */ (0, x.jsx)(nNe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(eNe, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, x.jsx)(iNe, {
+ }, f), /* @__PURE__ */ (0, x.jsx)(nNe, {
item: c,
data: e,
context: t,
@@ -69801,9 +69870,9 @@ function eNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, x.jsx)(pW, {
+ }), /* @__PURE__ */ (0, x.jsx)(hW, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, x.jsx)(tNe, {
+ children: a > 0 ? /* @__PURE__ */ (0, x.jsx)($Me, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -69813,23 +69882,23 @@ function eNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function tNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function $Me({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = ut({
- queryKey: JMe(e.item.id, t, n),
- queryFn: ({ signal: r }) => YMe(e, t, n, r)
- }), [s] = (0, b.useState)(() => cW("正在读取推荐", {
+ queryKey: KMe(e.item.id, t, n),
+ queryFn: ({ signal: r }) => qMe(e, t, n, r)
+ }), [s] = (0, b.useState)(() => uW("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, b.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
canFlip: () => !1
- }), [a]), l = hW(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
+ }), [a]), l = _W(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
...r,
sources: u,
aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases
};
- return /* @__PURE__ */ (0, x.jsx)(fW, {
+ return /* @__PURE__ */ (0, x.jsx)(mW, {
"data-follow-related": "",
wireDrag: i.wireDrag,
busy: o.isPending,
@@ -69838,11 +69907,11 @@ function tNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
onRetry: () => {
o.refetch();
},
- children: o.data ? l.map((e) => /* @__PURE__ */ (0, x.jsx)(BR, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, x.jsx)(HR, {
variant: "next",
group: e,
media: t,
- authorSources: oW(e.primary, u),
+ authorSources: cW(e.primary, u),
context: d,
selected: !1,
selectMode: !1,
@@ -69855,8 +69924,8 @@ function tNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function nNe({ 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 = HMe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, b.useState)(g), S = (0, b.useRef)({
+function eNe({ 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 = BMe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, b.useState)(g), S = (0, b.useRef)({
item: e,
selected: o
}), C = (0, b.useRef)(i.failed);
@@ -69870,14 +69939,14 @@ function nNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-framed": d ? "" : void 0,
style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },
children: [
- /* @__PURE__ */ (0, x.jsx)(vW, { onClose: n.close }),
+ /* @__PURE__ */ (0, x.jsx)(bW, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, x.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
src: v,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: p.length ? () => void jR(Math.max(0, l), p) : void 0,
+ onClick: p.length ? () => void NR(Math.max(0, l), p) : void 0,
onError: () => {
_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();
}
@@ -69885,10 +69954,10 @@ function nNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: rP(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: aP(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, x.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, x.jsx)(mW, {
+ u ? /* @__PURE__ */ (0, x.jsx)(gW, {
items: c,
position: l,
onSelect: r
@@ -69896,11 +69965,11 @@ function nNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var yW = ({ kind: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var xW = ({ kind: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }
});
-function bW({ src: e }) {
+function SW({ src: e }) {
let [t, n] = (0, b.useState)(!1);
return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {
src: e,
@@ -69910,27 +69979,27 @@ function bW({ src: e }) {
onError: () => n(!0)
});
}
-function xW(e) {
+function CW(e) {
return (0, b.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function rNe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = di(e), a = xW(n);
- return /* @__PURE__ */ (0, x.jsx)(sF, {
+function tNe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = di(e), a = CW(n);
+ return /* @__PURE__ */ (0, x.jsx)(lF, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${aP(e.primary)} · ${i.length} 个视频`,
+ summary: `${sP(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = IMe(e, n, i ? n.provider_label : ""), o = i ? rP(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, x.jsxs)(cF, {
+ let i = e.duplicates.includes(n), a = PMe(e, n, i ? n.provider_label : ""), o = i ? aP(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, x.jsxs)(uF, {
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)(bW, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(yW, { kind: "video" }), gW(n.duration) ? /* @__PURE__ */ (0, x.jsx)("i", {
+ pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(SW, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(xW, { kind: "video" }), vW(n.duration) ? /* @__PURE__ */ (0, x.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Jt(n.duration)
@@ -69948,15 +70017,15 @@ function rNe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, x.jsx)("time", {
dateTime: n.published_at || "",
- children: mP(n)
+ children: gP(n)
})]
})]
}, n.id);
})
});
}
-function SW({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = xW(r), c = [];
+function wW({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = CW(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -69966,26 +70035,26 @@ function SW({ 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)(sF, {
+ return /* @__PURE__ */ (0, x.jsx)(lF, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${aP(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(obe, {
+ summary: `${sP(e)} · ${o.length} 个媒体`,
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(ibe, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, x.jsxs)(cF, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, x.jsxs)(uF, {
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)(bW, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(yW, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(SW, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(xW, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, x.jsx)("b", {
"data-middle-truncate": "",
- children: LMe(n)
+ children: FMe(n)
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -69993,13 +70062,13 @@ function SW({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function nNe({ 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 = dP(d, e), p = lP(e, oW(e, t.sources), n), m = p.credited ? "" : e.author && Ut(e.author) !== Ut(p.author) ? e.author : "", h = fP(e, n), g = BMe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = pP(d, e), p = dP(e, cW(e, t.sources), n), m = p.credited ? "" : e.author && Ut(e.author) !== Ut(p.author) ? e.author : "", h = mP(e, n), g = RMe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -70015,7 +70084,7 @@ function iNe({ 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: uP(d, e) + z(aP(e)) }
+ dangerouslySetInnerHTML: { __html: fP(d, e) + z(sP(e)) }
}), e.url ? /* @__PURE__ */ (0, x.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -70023,7 +70092,7 @@ function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: _W }
+ dangerouslySetInnerHTML: { __html: yW }
}) : null]
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -70031,8 +70100,8 @@ function iNe({ 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: mP(e) }),
- gW(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Jt(e.duration) }) : null,
+ /* @__PURE__ */ (0, x.jsx)("span", { children: gP(e) }),
+ vW(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Jt(e.duration) }) : null,
f ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -70049,7 +70118,7 @@ function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: "创作者"
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-id-row": "",
- children: p.entityName ? /* @__PURE__ */ (0, x.jsxs)(RR, {
+ children: p.entityName ? /* @__PURE__ */ (0, x.jsxs)(BR, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -70081,7 +70150,7 @@ function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, x.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, x.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, x.jsx)(aNe, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, x.jsx)(rNe, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -70104,9 +70173,9 @@ function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [FMe(e), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [NMe(e), /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: _W }
+ dangerouslySetInnerHTML: { __html: yW }
})]
}, e))
}) : null,
@@ -70206,7 +70275,7 @@ function iNe({ 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)(bW, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(XMe, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, x.jsx)(SW, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(JMe, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -70220,7 +70289,7 @@ function iNe({ 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": zMe(e, t),
+ "data-tag-cat": LMe(e, t),
"data-follow-tag": t,
onClick: () => s.openTag(t),
children: o.tagLabel(t)
@@ -70230,7 +70299,7 @@ function iNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function aNe({ text: e }) {
+function rNe({ 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;
@@ -70253,8 +70322,8 @@ function aNe({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function oNe(e, t, n) {
- let r = e.id, i = $U(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), l = (e, t) => o((n) => {
+function iNe(e, t, n) {
+ let r = e.id, i = tW(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) => {
@@ -70273,7 +70342,7 @@ function oNe(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && MV(), t.toast(UMe(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && PV(), t.toast(VMe(n), { undo: i === "saved" ? void 0 : async () => {
await H(jn, {
item: r,
to: i
@@ -70283,7 +70352,7 @@ function oNe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = dt({
- mutationFn: () => H(OMe, { item: r }),
+ mutationFn: () => H(EMe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
@@ -70291,7 +70360,7 @@ function oNe(e, t, n) {
onSettled: () => l("save", !1)
}), m = dt({
mutationFn: async ({ index: e, hidden: t }) => {
- await H(kMe, {
+ await H(DMe, {
item: r,
media: e,
hidden: t
@@ -70307,12 +70376,12 @@ function oNe(e, t, n) {
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = ut({
- queryKey: xOe(r),
- queryFn: ({ signal: e }) => wOe(r, e)
+ queryKey: yOe(r),
+ queryFn: ({ signal: e }) => SOe(r, e)
}).data?.want ?? null, g = dt({
- mutationFn: async (e) => (e ? await jV([e.id]) : await AV({ follow: r }), !e),
+ mutationFn: async (e) => (e ? await NV([e.id]) : await MV({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), MV();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), PV();
},
onError: d,
onSettled: () => l("want", !1)
@@ -70352,7 +70421,7 @@ function oNe(e, t, n) {
}
//#endregion
//#region src/react/components/identity-cell.tsx
-function CW({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
+function TW({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${z($t(t.name))}</span>` + ia({
@@ -70395,7 +70464,7 @@ function CW({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })
children: s
});
}
-function wW({ people: e, onOpen: t }) {
+function EW({ people: e, onOpen: t }) {
if (!e.length) return null;
let n = (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
@@ -70429,7 +70498,7 @@ function wW({ people: e, onOpen: t }) {
}
//#endregion
//#region src/react/components/folded-title.ts
-function TW(e) {
+function DW(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;
@@ -70447,7 +70516,7 @@ function TW(e) {
}
//#endregion
//#region src/react/components/source-picture.tsx
-function EW({ item: e, image: t, thumbnail: n = !1 }) {
+function OW({ item: e, image: t, thumbnail: n = !1 }) {
let r = t === "cover" && e.has_cover, i = !r && (t !== "cover" || e.source_image), a = ut({
queryKey: [
"jav-image",
@@ -70490,9 +70559,9 @@ function EW({ item: e, image: t, thumbnail: n = !1 }) {
}
//#endregion
//#region src/react/item-detail/catalog-picture.tsx
-function DW({ item: e, image: t, thumbnail: n = !1, source: r = !1 }) {
+function kW({ item: e, image: t, thumbnail: n = !1, source: r = !1 }) {
let [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(0);
- if (r && t > 0 && e.code) return /* @__PURE__ */ (0, x.jsx)(EW, {
+ if (r && t > 0 && e.code) return /* @__PURE__ */ (0, x.jsx)(OW, {
item: {
code: e.code,
has_cover: !1,
@@ -70521,47 +70590,47 @@ function DW({ item: e, image: t, thumbnail: n = !1, source: r = !1 }) {
}
//#endregion
//#region src/react/jav-detail/jav-detail.ts
-var OW = (e) => ["jav-detail", e], kW = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), sNe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), AW = (e, t) => U.ensureQueryData({
- queryKey: OW(e.code),
- queryFn: () => kW(e.code, t),
+var AW = (e) => ["jav-detail", e], jW = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), aNe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), MW = (e, t) => U.ensureQueryData({
+ queryKey: AW(e.code),
+ queryFn: () => jW(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function cNe(e, t) {
+function oNe(e, t) {
if (!e.ok || !e.more) return;
let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));
return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;
}
//#endregion
//#region src/react/item-detail/external-playback.tsx
-var jW = "peach.external-player.v1", MW = [
+var NW = "peach.external-player.v1", PW = [
["m3u", "M3U 播放列表"],
["vlc-ios", "VLC(iPhone / iPad)"],
["iina", "IINA(Mac)"]
];
-function lNe(e, t, n) {
+function sNe(e, t, n) {
return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;
}
-function uNe({ id: e }) {
+function cNe({ id: e }) {
let [t, n] = (0, b.useState)(() => {
try {
- return MW.find(([e]) => e === localStorage.getItem(jW))?.[0] || "m3u";
+ return PW.find(([e]) => e === localStorage.getItem(NW))?.[0] || "m3u";
} catch {
return "m3u";
}
- }), [r, i] = (0, b.useState)(null), a = Qk();
- return /* @__PURE__ */ (0, x.jsxs)("details", { children: [/* @__PURE__ */ (0, x.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, x.jsxs)(iA, { children: [
- /* @__PURE__ */ (0, x.jsx)(EH, {
+ }), [r, i] = (0, b.useState)(null), a = eA();
+ return /* @__PURE__ */ (0, x.jsxs)("details", { children: [/* @__PURE__ */ (0, x.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, x.jsxs)(oA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(OH, {
id: `external-player-${e}`,
label: "此设备的外部播放器",
- options: MW,
+ options: PW,
value: t,
epoch: 0,
onPick: (e) => {
- let t = MW.find(([t]) => t === e)?.[0] || "m3u";
+ let t = PW.find(([t]) => t === e)?.[0] || "m3u";
n(t);
try {
- localStorage.setItem(jW, t);
+ localStorage.setItem(NW, t);
} catch {}
}
}),
@@ -70574,43 +70643,43 @@ function uNe({ id: e }) {
})),
children: "生成播放链接"
}),
- a.error ? /* @__PURE__ */ (0, x.jsx)(sA, { children: a.error }) : null,
+ a.error ? /* @__PURE__ */ (0, x.jsx)(lA, { children: a.error }) : null,
r ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("a", {
- href: lNe(t, r.url, r.playlist),
+ href: sNe(t, r.url, r.playlist),
rel: "noreferrer",
- children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${MW.find(([e]) => e === t)?.[1]}`
+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${PW.find(([e]) => e === t)?.[1]}`
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "网络播放地址",
value: r.url,
isReadOnly: !0
}),
- /* @__PURE__ */ (0, x.jsx)(oA, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })
+ /* @__PURE__ */ (0, x.jsx)(cA, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })
] }) : null
] })] }, e);
}
//#endregion
//#region src/react/components/overlay-host.ts
-function dNe(e) {
+function lNe(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 fNe(e) {
+function uNe(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return dNe(n ?? t.body);
+ return lNe(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var pNe = "/api/cover-crop", mNe = (e, t) => H(pNe, {
+var dNe = "/api/cover-crop", fNe = (e, t) => H(dNe, {
code: e,
box: t
});
//#endregion
//#region src/react/cover-crop/cover-crop-page.tsx
-function NW({ className: e }) {
+function FW({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -70623,7 +70692,7 @@ function NW({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-crop" })
});
}
-function hNe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function pNe({ 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,
@@ -70634,15 +70703,15 @@ function hNe({ 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)(NW, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, x.jsx)(Yx, {
- getContainer: () => fNe(o.current),
- children: /* @__PURE__ */ (0, x.jsx)(MN, {
+ children: /* @__PURE__ */ (0, x.jsx)(FW, { className: "size-3.75" })
+ }), /* @__PURE__ */ (0, x.jsx)(Xx, {
+ getContainer: () => uNe(o.current),
+ children: /* @__PURE__ */ (0, x.jsx)(PN, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, x.jsx)(gNe, {
+ children: /* @__PURE__ */ (0, x.jsx)(mNe, {
code: e,
coverUrl: t,
box: n,
@@ -70652,9 +70721,9 @@ function hNe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function gNe({ 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 = hL(), f = dt({
- mutationFn: (t) => mNe(e, t),
+function mNe({ 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 = _L(), f = dt({
+ mutationFn: (t) => fNe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -70666,19 +70735,19 @@ function gNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : Mwe(e, Ji);
- c(XR(t, e, null));
+ } : Awe(e, Ji);
+ c(QR(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)(NN, { children: /* @__PURE__ */ (0, x.jsx)(NW, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, x.jsx)(FN, { children: /* @__PURE__ */ (0, x.jsx)(FW, { className: "size-6" }) }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(uj, {
+ /* @__PURE__ */ (0, x.jsx)(fj, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -70693,8 +70762,8 @@ function gNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(_L, {
- icon: ck,
+ /* @__PURE__ */ (0, x.jsx)(yL, {
+ icon: uk,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -70704,24 +70773,24 @@ function gNe({ 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)(tz, {
+ children: /* @__PURE__ */ (0, x.jsx)(rz, {
src: t,
aspect: l ? Ji : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- JR(e) && p(e);
+ XR(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)(WB, {
+ children: [/* @__PURE__ */ (0, x.jsx)(KB, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(XR(s, a, Ji));
+ u(e), e && s && a && c(QR(s, a, Ji));
},
children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -70750,21 +70819,21 @@ function gNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/item-detail/item-detail-page.tsx
-var PW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var IW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), FW = ({ html: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+}), LW = ({ html: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), IW = (e) => Number(e) > 0 ? Xt(Number(e)) : "大小未知";
-function _Ne(e) {
+}), RW = (e) => Number(e) > 0 ? Xt(Number(e)) : "大小未知";
+function hNe(e) {
let { queue: t, actions: n } = e, r = ut({
- queryKey: t ? eD(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => aD(t, e.helpers, n),
+ queryKey: t ? nD(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => sD(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? oD(i, e.id) : t ? null : e.id, o = ut({
- queryKey: $E(a ?? 0),
- queryFn: ({ signal: e }) => iD(a, e),
+ }), i = t && r.data || null, a = i ? cD(i, e.id) : t ? null : e.id, o = ut({
+ queryKey: tD(a ?? 0),
+ queryFn: ({ signal: e }) => oD(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -70775,9 +70844,9 @@ function _Ne(e) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, x.jsx)(LW, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(zW, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, x.jsx)(OP, {
+ children: e ? /* @__PURE__ */ (0, x.jsx)(AP, {
message: Tt(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -70787,13 +70856,13 @@ function _Ne(e) {
})
});
}
- return /* @__PURE__ */ (0, x.jsx)(vNe, {
+ return /* @__PURE__ */ (0, x.jsx)(gNe, {
...e,
- item: Rue(o.data, i),
+ item: Iue(o.data, i),
queue: i
}, o.data.id);
}
-var LW = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
+var zW = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -70802,23 +70871,23 @@ var LW = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function vNe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = PNe(t, r, i.tagLabel), o = (0, b.useRef)(t);
+function gNe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = MNe(t, r, i.tagLabel), o = (0, b.useRef)(t);
(0, b.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, b.useEffect)(() => {
- n?.kind === "playlist" && H(tD, {
+ n?.kind === "playlist" && H(rD, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = ide(t, i.sourceOffline(t.location || "")), c = zue(n, t.id);
+ let s = nde(t, i.sourceOffline(t.location || "")), c = Lue(n, t.id);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, x.jsx)(yNe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(_Ne, {
item: t,
gate: s,
helpers: i,
@@ -70831,22 +70900,22 @@ function vNe(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, x.jsx)(wNe, {
+ }), /* @__PURE__ */ (0, x.jsx)(SNe, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, x.jsx)(pW, {
+ }), /* @__PURE__ */ (0, x.jsx)(hW, {
editionCards: n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, x.jsx)(xNe, {
+ queue: n ? /* @__PURE__ */ (0, x.jsx)(yNe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, x.jsx)(NNe, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, x.jsx)(jNe, {
...e,
item: n ? {
...t,
@@ -70855,12 +70924,12 @@ function vNe(e) {
}) : null
})] });
}
-function yNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function _Ne({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, b.useState)(t ? "" : "auto"), c = (0, b.useRef)(null), [l, u] = (0, b.useState)(-2), d = (0, b.useRef)(!1), f = ut({
- queryKey: OW(e.code || ""),
+ queryKey: AW(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, kW(e.code, t, n);
+ return d.current = !1, jW(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -70905,26 +70974,26 @@ function yNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
"data-item-gallery": h ? "" : void 0,
"data-item-picture": l === -2 ? void 0 : "",
children: [
- /* @__PURE__ */ (0, x.jsx)(LW, { onClose: r.close }),
+ /* @__PURE__ */ (0, x.jsx)(zW, { onClose: r.close }),
h ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => g(l === -2 ? m[0].index : -2),
- children: [/* @__PURE__ */ (0, x.jsx)(PW, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, x.jsx)(IW, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}),
- l === -2 ? null : /* @__PURE__ */ (0, x.jsx)(DW, {
+ l === -2 ? null : /* @__PURE__ */ (0, x.jsx)(kW, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
}, l),
- /* @__PURE__ */ (0, x.jsx)(mW, {
+ /* @__PURE__ */ (0, x.jsx)(gW, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, x.jsx)(DW, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, x.jsx)(kW, {
item: e,
image: t.index === -2 ? m[0].index : t.index,
source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,
@@ -70949,7 +71018,7 @@ function yNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "重试样图"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, x.jsx)(bNe, {
+ t === "offline" ? /* @__PURE__ */ (0, x.jsx)(vNe, {
item: e,
badge: y,
helpers: n,
@@ -70959,7 +71028,7 @@ function yNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, x.jsx)(FW, { html: y }),
+ /* @__PURE__ */ (0, x.jsx)(LW, { html: y }),
/* @__PURE__ */ (0, x.jsx)("b", { children: "在线资产" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -70974,12 +71043,12 @@ function yNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
id: "gate",
"data-item-gate": "metered",
onClick: () => s("clicked"),
- children: [/* @__PURE__ */ (0, x.jsx)(FW, { html: y }), /* @__PURE__ */ (0, x.jsxs)("span", { children: ["点此开始拉流 · ", IW(e.size)] })]
+ children: [/* @__PURE__ */ (0, x.jsx)(LW, { html: y }), /* @__PURE__ */ (0, x.jsxs)("span", { children: ["点此开始拉流 · ", RW(e.size)] })]
}) : null
]
});
}
-function bNe({ item: e, badge: t, helpers: n, actions: r }) {
+function vNe({ 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);
@@ -70990,7 +71059,7 @@ function bNe({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, x.jsx)(FW, { html: t }),
+ /* @__PURE__ */ (0, x.jsx)(LW, { html: t }),
/* @__PURE__ */ (0, x.jsx)("b", { children: "脱盘模式" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: n.offlineReason(e.location || "") }),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -71004,8 +71073,8 @@ function bNe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function xNe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = ede(e), a = (0, b.useRef)(null), o = CNe(e, t, r), s = (0, b.useRef)(o);
+function yNe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = Que(e), a = (0, b.useRef)(null), o = xNe(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, {
@@ -71013,7 +71082,7 @@ function xNe({ 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 = SNe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)("button", {
+ }, [n, e.kind]), l = bNe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -71032,7 +71101,7 @@ function xNe({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, x.jsx)(sF, {
+ return /* @__PURE__ */ (0, x.jsx)(lF, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -71041,11 +71110,11 @@ function xNe({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: c,
children: e.items.map((i) => {
let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, x.jsx)("i", {
- className: `javedition ${Que[i.edition_label] || "censored"}`,
+ className: `javedition ${Xue[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && Lue(i);
- return /* @__PURE__ */ (0, x.jsxs)(cF, {
+ }) : null, s = e.kind === "playlist" && Fue(i);
+ return /* @__PURE__ */ (0, x.jsxs)(uF, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -71055,25 +71124,25 @@ function xNe({ 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)(FW, { html: uee(i, n.javImage()) }), /* @__PURE__ */ (0, x.jsx)("i", {
+ pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(LW, { html: uee(i, n.javImage()) }), /* @__PURE__ */ (0, x.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Jt(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, x.jsx)(FW, { html: _a(i) }),
+ lead: /* @__PURE__ */ (0, x.jsx)(LW, { html: _a(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)(PW, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { 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)(PW, { name: "x" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, x.jsxs)("span", {
@@ -71084,14 +71153,14 @@ function xNe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? lD(i.part_label) : va(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? dD(i.part_label) : va(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function SNe(e, t) {
- let n = dt({ mutationFn: (t) => H(tD, {
+function bNe(e, t) {
+ let n = dt({ mutationFn: (t) => H(rD, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -71104,11 +71173,11 @@ function SNe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function CNe(e, t, n) {
- let r = eD({
+function xNe(e, t, n) {
+ let r = nD({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (U.setQueryData(r, Iue(e)), e), a = (t) => H(tD, {
+ }), i = (e) => (U.setQueryData(r, Pue(e)), e), a = (t) => H(rD, {
id: e.playlistId,
...t
}).then((e) => e.playlist), o = dt({
@@ -71124,8 +71193,8 @@ function CNe(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = nde(s, t, r, c);
- if (rde(l, s)) return;
+ let l = ede(s, t, r, c);
+ if (tde(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -71167,7 +71236,7 @@ function CNe(e, t, n) {
}
};
}
-function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function SNe({ 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": "",
@@ -71175,7 +71244,7 @@ function wNe({ 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)(TNe, {
+ /* @__PURE__ */ (0, x.jsx)(CNe, {
item: e,
queue: t,
helpers: r,
@@ -71187,7 +71256,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, x.jsx)(DNe, {
+ /* @__PURE__ */ (0, x.jsx)(TNe, {
item: e,
write: n
}),
@@ -71198,7 +71267,7 @@ function wNe({ 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)(PW, { name: "monitor" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, x.jsx)(IW, { name: "monitor" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -71206,11 +71275,11 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, x.jsx)(PW, { name: "hard-drive" }), /* @__PURE__ */ (0, x.jsx)("span", { children: IW(e.size) })]
+ children: [/* @__PURE__ */ (0, x.jsx)(IW, { name: "hard-drive" }), /* @__PURE__ */ (0, x.jsx)("span", { children: RW(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, x.jsx)(PW, { name: "calendar" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, x.jsx)(IW, { name: "calendar" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
@@ -71218,23 +71287,23 @@ function wNe({ 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)(PW, { name: "globe" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, x.jsx)(IW, { name: "globe" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(ONe, {
+ /* @__PURE__ */ (0, x.jsx)(ENe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, x.jsx)(kNe, {
+ /* @__PURE__ */ (0, x.jsx)(DNe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, x.jsx)(jNe, { item: e }),
- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, x.jsx)(uNe, { id: e.id }, e.id) : null,
+ /* @__PURE__ */ (0, x.jsx)(kNe, { item: e }),
+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, x.jsx)(cNe, { id: e.id }, e.id) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -71248,7 +71317,7 @@ function wNe({ 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)(PW, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71260,7 +71329,7 @@ function wNe({ 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)(PW, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71271,7 +71340,7 @@ function wNe({ 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)(PW, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71282,7 +71351,7 @@ function wNe({ 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)(PW, { name: "eye" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: "eye" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71293,7 +71362,7 @@ function wNe({ 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)(PW, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71302,7 +71371,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "playlist" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: "playlist" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71313,7 +71382,7 @@ function wNe({ 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)(PW, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: "sparkles" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -71324,11 +71393,11 @@ function wNe({ 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)(PW, { name: "trash" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(MNe, {
+ /* @__PURE__ */ (0, x.jsx)(ANe, {
item: e,
open: s,
write: n
@@ -71339,7 +71408,7 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, x.jsx)(PW, { name: "sperm" }),
+ /* @__PURE__ */ (0, x.jsx)(IW, { name: "sperm" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, x.jsx)("b", {
className: "mono",
@@ -71352,8 +71421,8 @@ function wNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function TNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = TW(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + tde(e, t);
+function CNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = DW(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + $ue(e, t);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -71380,23 +71449,23 @@ function TNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: c,
- children: /* @__PURE__ */ (0, x.jsx)(PW, { name: o ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { 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)(hNe, {
+ children: /* @__PURE__ */ (0, x.jsx)(pNe, {
code: e.cover_key || e.code || "",
coverUrl: ea(e),
box: e.poster_box || null,
onSaved: (t) => {
U.invalidateQueries({
- queryKey: $E(e.id),
+ queryKey: tD(e.id),
exact: !0
- }), Oue((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
+ }), Eue((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, x.jsx)(ENe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, x.jsx)(wNe, {
id: e.id,
actions: r,
onStatus: i
@@ -71406,7 +71475,7 @@ function TNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function ENe({ id: e, actions: t, onStatus: n }) {
+function wNe({ 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 () => {
@@ -71436,17 +71505,17 @@ function ENe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: "folder-sync" })
})] });
}
-function DNe({ item: e, write: t }) {
- let n = sD(e.rating);
+function TNe({ item: e, write: t }) {
+ let n = lD(e.rating);
return /* @__PURE__ */ (0, x.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": Hue(e.rating),
+ "data-value": Bue(e.rating),
children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-rating-stars": "",
children: [
@@ -71463,19 +71532,19 @@ function DNe({ item: e, write: t }) {
"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,
...t.busyAttrs(`rate:${e}`),
onClick: () => t.rate(e),
- children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "star" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: "star" })
}, e))
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: Uue(e.rating)
+ children: Vue(e.rating)
})]
});
}
-function ONe({ item: e, actions: t }) {
- let n = (0, b.useMemo)(() => Vue(e), [e]), [r, i] = (0, b.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function ENe({ item: e, actions: t }) {
+ let n = (0, b.useMemo)(() => zue(e), [e]), [r, i] = (0, b.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
- return /* @__PURE__ */ (0, x.jsx)(CW, {
+ return /* @__PURE__ */ (0, x.jsx)(TW, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -71507,7 +71576,7 @@ function ONe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "user-round" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: "user-round" })
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -71519,7 +71588,7 @@ function ONe({ item: e, actions: t }) {
size: "small",
id: "castMore",
"data-cast-more": "",
- trailingIcon: ak,
+ trailingIcon: sk,
"aria-expanded": !1,
onClick: () => i(!0),
children: [
@@ -71538,14 +71607,14 @@ function ONe({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, x.jsx)(wW, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(EW, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function kNe({ item: e, write: t, helpers: n, actions: r }) {
- let i = Gue(e, n);
+function DNe({ item: e, write: t, helpers: n, actions: r }) {
+ let i = Uue(e, n);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-tags": "",
id: "detailTags",
@@ -71565,16 +71634,16 @@ function kNe({ 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)(PW, { name: "x" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, x.jsx)(ANe, {
+ }, e.k)), /* @__PURE__ */ (0, x.jsx)(ONe, {
item: e,
write: t,
helpers: n
})]
});
}
-function ANe({ item: e, write: t, helpers: n }) {
+function ONe({ 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 && Ha(i.current), c(!1);
}, []);
@@ -71588,7 +71657,7 @@ function ANe({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [s, h]);
- let g = s ? Zue(d, n.tagCandidates(), Yue()) : {
+ let g = s ? Yue(d, n.tagCandidates(), que()) : {
recent: [],
results: [],
create: ""
@@ -71611,12 +71680,12 @@ function ANe({ item: e, write: t, helpers: n }) {
} else if (n.key === "Enter") {
n.preventDefault();
let r = p >= 0 ? _[p] : null;
- r ? v(r, r.n !== -1 && cD(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
+ r ? v(r, r.n !== -1 && uD(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
}
}
}, S = -1, C = (t) => {
S += 1;
- let r = S, i = cD(e, t.k);
+ let r = S, i = uD(e, t.k);
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -71624,7 +71693,7 @@ function ANe({ item: e, write: t, helpers: n }) {
"aria-pressed": i,
onClick: () => v(t, i),
children: [
- /* @__PURE__ */ (0, x.jsx)(PW, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, x.jsx)(IW, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-pick-name": "",
children: n.tagLabel(t.k)
@@ -71647,7 +71716,7 @@ function ANe({ item: e, write: t, helpers: n }) {
onClick: () => {
i.current && (Va(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));
},
- children: /* @__PURE__ */ (0, x.jsx)(PW, { name: "plus" })
+ children: /* @__PURE__ */ (0, x.jsx)(IW, { name: "plus" })
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: i,
id: "tagPicker",
@@ -71657,7 +71726,7 @@ function ANe({ item: e, write: t, helpers: n }) {
hidden: !0,
children: [/* @__PURE__ */ (0, x.jsxs)("label", {
"data-tag-search": "",
- children: [/* @__PURE__ */ (0, x.jsx)(PW, { name: "search" }), /* @__PURE__ */ (0, x.jsx)("input", {
+ children: [/* @__PURE__ */ (0, x.jsx)(IW, { name: "search" }), /* @__PURE__ */ (0, x.jsx)("input", {
ref: a,
id: "tagPickSearch",
maxLength: 80,
@@ -71698,7 +71767,7 @@ function ANe({ item: e, write: t, helpers: n }) {
onClick: () => {
h(), t.addTag(g.create);
},
- children: [/* @__PURE__ */ (0, x.jsx)(PW, { name: "plus" }), /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(IW, { name: "plus" }), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -71713,8 +71782,8 @@ function ANe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function jNe({ item: e }) {
- let t = ade(e);
+function kNe({ item: e }) {
+ let t = rde(e);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -71748,7 +71817,7 @@ function jNe({ item: e }) {
})]
});
}
-function MNe({ item: e, open: t, write: n }) {
+function ANe({ 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();
@@ -71787,12 +71856,12 @@ function MNe({ item: e, open: t, write: n }) {
})]
});
}
-function NNe(e) {
+function jNe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = ut({
- queryKey: kue(t.id, n),
- queryFn: async ({ signal: e }) => (await V(jue(t.id, n), e)).items || []
+ queryKey: Due(t.id, n),
+ queryFn: async ({ signal: e }) => (await V(kue(t.id, n), e)).items || []
}), [o] = (0, b.useState)(() => r.relatedSkeletonHtml());
- return /* @__PURE__ */ (0, x.jsx)(fW, {
+ return /* @__PURE__ */ (0, x.jsx)(mW, {
wireDrag: r.wireDrag,
busy: a.isPending,
empty: a.data?.length === 0,
@@ -71800,7 +71869,7 @@ function NNe(e) {
onRetry: () => {
a.refetch();
},
- children: a.data ? /* @__PURE__ */ (0, x.jsx)(fF, {
+ children: a.data ? /* @__PURE__ */ (0, x.jsx)(mF, {
mode: "items",
variant: "next",
items: a.data,
@@ -71813,11 +71882,11 @@ function NNe(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, x.jsx)(FW, { html: o })
+ }) : /* @__PURE__ */ (0, x.jsx)(LW, { html: o })
});
}
-function PNe(e, t, n) {
- let r = e.id, i = $E(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = (e, t) => o((n) => {
+function MNe(e, t, n) {
+ let r = e.id, i = tD(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;
}), f = () => U.getQueryData(i) || e, p = (e) => {
@@ -71833,7 +71902,7 @@ function PNe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return QE(r, n), t;
+ return eD(r, n), t;
}, m = (e, t) => H(e, {
id: r,
...t
@@ -71848,7 +71917,7 @@ function PNe(e, t, n) {
run: n
}));
}, _ = async (e, t) => {
- let n = await m(Mue, t === void 0 ? { kind: e } : {
+ let n = await m(Aue, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -71868,21 +71937,21 @@ function PNe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = Wue(n, e);
- await _("rate", r), t.toast(r ? `已评 ${sD(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = Hue(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${lD(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(ode(e, r), { undo: async () => {
+ t.toast(ide(e, r), { undo: async () => {
e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
later: () => g("later", "更新稍后看", async () => {
- let e = await m(Nue, {});
+ let e = await m(jue, {});
p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- p({ watch_later: (await m(Nue, {})).watch_later });
+ p({ watch_later: (await m(jue, {})).watch_later });
} });
}),
quality: () => g("quality", "更新版本需求", async () => {
@@ -71892,9 +71961,9 @@ function PNe(e, t, n) {
}, n = (e) => p({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await m(Pue, { wanted: !e.wanted });
+ }), r = await m(Mue, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await m(Pue, e));
+ n(await m(Mue, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -71908,7 +71977,7 @@ function PNe(e, t, n) {
});
u("保存中…");
try {
- o(await m(Fue, {
+ o(await m(Nue, {
liked: a,
reason: i
}));
@@ -71918,7 +71987,7 @@ function PNe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await m(Fue, r));
+ o(await m(Nue, r));
} });
});
},
@@ -71927,30 +71996,30 @@ function PNe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => Kue(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await m(nD, {
+ p((t) => Wue(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await m(iD, {
operation: "add",
tag: e.k
- }), p((t) => que(t, e));
+ }), p((t) => Gue(t, e));
} });
}),
addTag: (e) => {
let r = e.trim();
r && g(`add:${r}`, "添加标签", async () => {
- let e = await m(nD, {
+ let e = await m(iD, {
operation: "add",
tag: r
});
if (!e.ok) return;
let i = e.tag || r;
- cD(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => que(e, {
+ uD(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => Gue(e, {
k: i,
cat: "general"
- })), Xue(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
- await m(nD, {
+ })), Jue(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
+ await m(iD, {
operation: "remove",
tag: i
- }), p((e) => Kue(e, i));
+ }), p((e) => Wue(e, i));
} }));
});
}
@@ -71958,10 +72027,10 @@ function PNe(e, t, n) {
}
//#endregion
//#region src/react/jav-detail/review-cache.ts
-var RW = "peach.jav-reviews.v1";
-function zW() {
+var BW = "peach.jav-reviews.v1";
+function VW() {
try {
- let e = localStorage.getItem(RW) || "[]";
+ let e = localStorage.getItem(BW) || "[]";
if (e.length > 2e6) return [];
let t = JSON.parse(e);
return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];
@@ -71969,21 +72038,21 @@ function zW() {
return [];
}
}
-function FNe(e, t) {
+function NNe(e, t) {
if (t.ok && !t.cache_stale) try {
let n = Date.parse(t.checked_at || ""), r = [{
code: e,
saved: Number.isFinite(n) ? n : Date.now(),
result: t
- }, ...zW().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(RW, i);
+ }, ...VW().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(BW, i);
} catch {}
}
-function INe(e, t) {
- let n = zW(), r = [], i = Infinity;
+function PNe(e, t) {
+ let n = VW(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !LV(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !zV(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -71991,17 +72060,17 @@ function INe(e, t) {
saved: i
} : void 0;
}
-function LNe(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && LV(Date.parse(e.checked_at || "") || t, n));
+function FNe(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && zV(Date.parse(e.checked_at || "") || t, n));
}
//#endregion
//#region src/react/jav-detail/jav-detail-page.tsx
-function RNe(e) {
+function INe(e) {
let t = (0, b.useRef)(!1), n = ut({
- queryKey: OW(e.code),
+ queryKey: AW(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, kW(e.code, n, r);
+ return t.current = !1, jW(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -72011,21 +72080,21 @@ function RNe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, x.jsx)(zNe, {
+ children: n.data ? /* @__PURE__ */ (0, x.jsx)(LNe, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, x.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, x.jsx)(BW, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, x.jsx)(OP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(HW, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, x.jsx)(AP, {
message: B(n.error),
onRetry: r
}) : null]
})
});
}
-var BW = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
+var HW = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -72034,7 +72103,7 @@ var BW = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function LNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, b.useEffect)(() => {
n.canonicalCode?.(t.code);
}, [n, t.code]), (0, b.useEffect)(() => {
@@ -72054,13 +72123,13 @@ function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
label: "视频预览",
video: !0
}] : []
- ], [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(t.want_id), p = Qk(), m = () => {
- p.run("want", async (e) => d ? (await jV([d], e), null) : (await AV({ code: t.code }, e)).want.id, (t) => {
- f(t), U.setQueryData(OW(e), (e) => e && {
+ ], [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(t.want_id), p = eA(), m = () => {
+ p.run("want", async (e) => d ? (await NV([d], e), null) : (await MV({ code: t.code }, e)).want.id, (t) => {
+ f(t), U.setQueryData(AW(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
- }), n.receipt(t ? "已加入想要" : "已取消想要"), MV(), U.invalidateQueries({ queryKey: ["feed-new"] }), U.invalidateQueries({ queryKey: ["jav-discoveries"] });
+ }), n.receipt(t ? "已加入想要" : "已取消想要"), PV(), U.invalidateQueries({ queryKey: ["feed-new"] }), U.invalidateQueries({ queryKey: ["jav-discoveries"] });
});
};
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
@@ -72069,24 +72138,24 @@ function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-jav-art": "",
"data-jav-playing": o === -2 ? "" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(BW, { close: n.close }),
+ /* @__PURE__ */ (0, x.jsx)(HW, { close: n.close }),
t.preview_video_url ? /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": o === -2,
onClick: () => s(o === -2 ? -1 : -2),
- children: [/* @__PURE__ */ (0, x.jsx)(VW, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, x.jsx)(UW, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, x.jsx)(HNe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, x.jsx)(EW, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, x.jsx)(BNe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, x.jsx)(OW, {
item: t,
image: o === -1 ? "cover" : String(o)
}, o),
- /* @__PURE__ */ (0, x.jsx)(mW, {
+ /* @__PURE__ */ (0, x.jsx)(gW, {
items: c,
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
below: !0,
- renderThumbnail: (e) => /* @__PURE__ */ (0, x.jsx)(EW, {
+ renderThumbnail: (e) => /* @__PURE__ */ (0, x.jsx)(OW, {
item: t,
image: e.index < 0 ? "cover" : String(e.index),
thumbnail: !0
@@ -72100,32 +72169,32 @@ function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(BNe, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(UW, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, x.jsx)(RNe, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(GW, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
- children: [/* @__PURE__ */ (0, x.jsx)(HW, {
+ children: [/* @__PURE__ */ (0, x.jsx)(WW, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, x.jsx)(HW, {
+ }), /* @__PURE__ */ (0, x.jsx)(WW, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, x.jsx)(VNe, {
+ /* @__PURE__ */ (0, x.jsx)(zNe, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, x.jsx)(HW, {
+ children: [/* @__PURE__ */ (0, x.jsx)(WW, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, x.jsx)(HW, {
+ }), /* @__PURE__ */ (0, x.jsx)(WW, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -72189,7 +72258,7 @@ function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
}),
t.source_url ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- trailingIcon: fk,
+ trailingIcon: mk,
onClick: () => window.open(t.source_url, "_blank", "noopener,noreferrer"),
children: "作品来源"
}) : null
@@ -72199,12 +72268,12 @@ function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, x.jsx)(UNe, {
+ /* @__PURE__ */ (0, x.jsx)(VNe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, x.jsx)(WNe, {
+ /* @__PURE__ */ (0, x.jsx)(HNe, {
item: t,
actions: n,
readOnly: r
@@ -72212,24 +72281,24 @@ function zNe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, x.jsx)(EV, {
+ /* @__PURE__ */ (0, x.jsx)(OV, {
prefill: l,
close: () => u(null),
receipt: n.receipt
})
] });
}
-var VW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var UW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: R(e) }
-}), HW = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, x.jsxs)("span", {
+}), WW = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, x.jsx)(VW, { name: e }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, x.jsx)(UW, { name: e }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
}) : null;
-function BNe({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = TW(e.title), a = e.title === e.code ? "" : e.title;
+function RNe({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = DW(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, x.jsx)("h1", {
@@ -72255,12 +72324,12 @@ function BNe({ item: e }) {
"aria-label": n ? "收起标题" : "展开标题",
title: n ? "收起标题" : "展开完整标题",
onClick: i,
- children: /* @__PURE__ */ (0, x.jsx)(VW, { name: n ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(UW, { name: n ? "chevron-up" : "chevron-down" })
})
})]
});
}
-function UW({ score: e, review: t = !1 }) {
+function GW({ score: e, review: t = !1 }) {
let n = Math.max(0, Math.min(5, e));
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-rating": "",
@@ -72284,10 +72353,10 @@ function UW({ score: e, review: t = !1 }) {
"data-on": String(t === 1),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
"data-rating-icon": "",
- children: [/* @__PURE__ */ (0, x.jsx)(VW, { name: "star" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(UW, { name: "star" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-rating-fill": "",
style: { width: `${t * 100}%` },
- children: /* @__PURE__ */ (0, x.jsx)(VW, { name: "star" })
+ children: /* @__PURE__ */ (0, x.jsx)(UW, { name: "star" })
})]
})
}, e);
@@ -72298,7 +72367,7 @@ function UW({ score: e, review: t = !1 }) {
})]
});
}
-function VNe({ item: e, navigate: t }) {
+function zNe({ item: e, navigate: t }) {
let n = (e, n) => t(Ft(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, x.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -72307,14 +72376,14 @@ function VNe({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, x.jsx)(CW, {
+ children: i.map((r) => /* @__PURE__ */ (0, x.jsx)(TW, {
kind: t,
person: {
...r,
id: r.id ?? null
},
onOpen: n,
- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, x.jsx)(vz, {
+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, x.jsx)(bz, {
code: e.code,
person: r,
detail: !0
@@ -72331,7 +72400,7 @@ function VNe({ item: e, navigate: t }) {
r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),
r("studio", "厂牌", e.studio_refs)
]
- }), /* @__PURE__ */ (0, x.jsx)(wW, {
+ }), /* @__PURE__ */ (0, x.jsx)(EW, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -72340,11 +72409,11 @@ function VNe({ item: e, navigate: t }) {
})]
});
}
-function HNe({ src: e }) {
+function BNe({ src: e }) {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(0);
return (0, b.useLayoutEffect)(() => {
let n = t.current, i = document.createElement("video");
- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), fue(i, {
+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), uue(i, {
src: e,
type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"
}, () => r(!0));
@@ -72364,8 +72433,8 @@ function HNe({ src: e }) {
}) : null
});
}
-function UNe({ code: e, count: t, released: n }) {
- let r = C(), [i, a] = (0, b.useState)(!1), o = (0, b.useMemo)(() => INe(e, n), [e, n]), s = (0, b.useRef)(!1), c = ft({
+function VNe({ code: e, count: t, released: n }) {
+ let r = C(), [i, a] = (0, b.useState)(!1), o = (0, b.useMemo)(() => PNe(e, n), [e, n]), s = (0, b.useRef)(!1), c = ft({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -72374,12 +72443,12 @@ function UNe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => LNe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => FNe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await sNe(e, n, t, s.current);
- if (FNe(e, i), !i.ok || i.cache_stale) {
+ let i = await aNe(e, n, t, s.current);
+ if (NNe(e, i), !i.ok || i.cache_stale) {
let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);
if (t?.ok) return {
...t,
@@ -72389,7 +72458,7 @@ function UNe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: cNe
+ getNextPageParam: oNe
});
(0, b.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -72397,10 +72466,10 @@ function UNe({ code: e, count: t, released: n }) {
let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? B(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;
return /* @__PURE__ */ (0, x.jsx)("section", {
"data-jav-reviews": "",
- children: /* @__PURE__ */ (0, x.jsxs)(fA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(mA, {
trailing: !0,
summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(kme, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, x.jsx)(Dme, { "aria-hidden": !0 }),
"评论",
t > 0 ? ` · ${t}` : ""
] }),
@@ -72437,7 +72506,7 @@ function UNe({ code: e, count: t, released: n }) {
"data-jav-review-meta": "",
children: [
/* @__PURE__ */ (0, x.jsx)("b", { children: e.username }),
- Number(e.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(UW, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(GW, {
score: Number(e.score),
review: !0
}) : null,
@@ -72492,21 +72561,21 @@ function UNe({ code: e, count: t, released: n }) {
})
});
}
-function WNe({ item: e, actions: t, readOnly: n }) {
+function HNe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, b.useState)(!1), a = ut({
- queryKey: OA,
+ queryKey: AA,
enabled: r,
- queryFn: ({ signal: e }) => V(`${DA}?limit=50`, e)
+ queryFn: ({ signal: e }) => V(`${kA}?limit=50`, e)
}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("section", {
"data-jav-resources": "",
- children: /* @__PURE__ */ (0, x.jsx)(fA, {
+ children: /* @__PURE__ */ (0, x.jsx)(mA, {
trailing: !0,
- summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(VW, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(UW, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, x.jsx)(UV, {
+ children: s ? /* @__PURE__ */ (0, x.jsx)(GV, {
want: {
id: 0,
code: e.code,
@@ -72524,31 +72593,31 @@ function WNe({ item: e, actions: t, readOnly: n }) {
}
//#endregion
//#region src/react/stage/stage-player.ts
-var WW = null, GW = null, KW = null, qW = null, JW = null, YW = !1, XW = 0, ZW = null, QW = () => !1, $W = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function GNe(e, t) {
- WW = e, QW = () => t.isOpen(), ZW = () => t.requestClose(), sle({
+var KW = null, qW = null, JW = null, YW = null, XW = null, ZW = !1, QW = 0, $W = null, eG = () => !1, tG = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function UNe(e, t) {
+ KW = e, eG = () => t.isOpen(), $W = () => t.requestClose(), ole({
...e.player,
stage: () => document.getElementById("stage")
- }), cle({
- inMiniplayer: (e) => GW?.player === e,
- kind: (e) => GW?.player === e ? GW.kind : KW?.kind ?? qW?.kind ?? "item",
- expand: () => yG(),
- toMiniplayer: () => bG()
- }), eG || (eG = !0, addEventListener("pagehide", () => VE()));
-}
-var eG = !1;
-function tG() {
- if (!WW) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return WW;
-}
-function nG(e) {
- qW = e;
-}
-var KNe = () => qW;
-function rG(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = $W(n, r.id, i?.index ?? null);
- if (GW && GW.key === a) return JNe(e, GW);
- GW && vG();
+ }), sle({
+ inMiniplayer: (e) => qW?.player === e,
+ kind: (e) => qW?.player === e ? qW.kind : JW?.kind ?? YW?.kind ?? "item",
+ expand: () => xG(),
+ toMiniplayer: () => SG()
+ }), nG || (nG = !0, addEventListener("pagehide", () => UE()));
+}
+var nG = !1;
+function rG() {
+ if (!KW) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return KW;
+}
+function iG(e) {
+ YW = e;
+}
+var WNe = () => YW;
+function aG(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = tG(n, r.id, i?.index ?? null);
+ if (qW && qW.key === a) return KNe(e, qW);
+ qW && bG();
let o = {
player: null,
kind: n,
@@ -72556,52 +72625,52 @@ function rG(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- KW = o;
+ JW = 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 = JE(s, {
+ let c = XE(s, {
kind: n,
item: r,
media: i,
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- KW === o && (o.player = e);
+ JW === o && (o.player = e);
},
- handedOff: (e) => GW?.player === e
+ handedOff: (e) => qW?.player === e
});
return () => {
- let e = !!o.player && GW?.player === o.player;
- KW === o && (KW = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), VE());
+ let e = !!o.player && qW?.player === o.player;
+ JW === o && (JW = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), UE());
};
}
-async function qNe(e, t, n) {
+async function GNe(e, t, n) {
let r = await Et(`/api/item?id=${e.id}`, { signal: n });
if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");
if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");
if (r.location === "online") throw Error("请打开详情播放在线作品");
if (r.cost === "metered") throw Error("请打开详情确认计费来源");
- let i = await tG().player.loadSourceStatus();
- if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error(tG().player.offlineReason(String(r.location || "")));
+ let i = await rG().player.loadSourceStatus();
+ if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error(rG().player.offlineReason(String(r.location || "")));
let a = {
kind: "item",
item: r,
title: String(r.title || r.name || ""),
sub: String(r.performers?.[0] || r.creator || "未归属")
};
- nG(a);
- let o = rG(t, {
+ iG(a);
+ let o = aG(t, {
kind: "item",
item: r,
autoplay: !0
}), s = !1;
return (e = !1) => {
- s || (s = !0, e && qW === a && aG(!0), o(), qW === a && nG(null));
+ s || (s = !0, e && YW === a && sG(!0), o(), YW === a && iG(null));
};
}
-function JNe(e, t) {
+function KNe(e, t) {
let { player: n } = t;
- gG(t), GW = null, _G(), n.el().classList.remove("vjs-peach-mini"), lue(e), e.append(n.el()), TE(n);
+ vG(t), qW = null, yG(), n.el().classList.remove("vjs-peach-mini"), sue(e), e.append(n.el()), DE(n);
let r = {
player: n,
kind: t.kind,
@@ -72609,23 +72678,23 @@ function JNe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- KW = r;
- let i = uue(n, e);
- return EE(n), () => {
- KW === r && (KW = null), i(), GW?.player !== n && (wE() === n && TE(null), LE(n), VE());
+ JW = r;
+ let i = cue(n, e);
+ return OE(n), () => {
+ JW === r && (JW = null), i(), qW?.player !== n && (EE() === n && DE(null), zE(n), UE());
};
}
-var iG = () => {
- let e = KW?.player;
+var oG = () => {
+ let e = JW?.player;
return e && !e.isDisposed() ? e : null;
};
-function aG(e) {
- let t = YW;
- YW = !1, GW?.pending && vG();
- let n = KW, r = n?.player, i = qW;
- if (!n || !r || r.isDisposed() || !i || !JW) return;
- let a = tG().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && QNe({
+function sG(e) {
+ let t = ZW;
+ ZW = !1, qW?.pending && bG();
+ let n = JW, r = n?.player, i = YW;
+ if (!n || !r || r.isDisposed() || !i || !XW) return;
+ let a = rG().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && XNe({
player: r,
kind: n.kind,
item: n.item,
@@ -72633,46 +72702,46 @@ function aG(e) {
key: n.key
}, i);
}
-function oG(e, t) {
- YW = !1, GW && (GW.kind === e && GW.item.id === t ? (GW.pending = !0, _G()) : vG());
+function cG(e, t) {
+ ZW = !1, qW && (qW.kind === e && qW.item.id === t ? (qW.pending = !0, yG()) : bG());
}
-function sG(e) {
- JW = e, JW && mG();
+function lG(e) {
+ XW = e, XW && gG();
}
-var cG = () => !!GW && !GW.pending && !GW.player.isDisposed();
-function YNe() {
- return cG() ? JW?.frame.querySelector("video") ?? null : null;
+var uG = () => !!qW && !qW.pending && !qW.player.isDisposed();
+function qNe() {
+ return uG() ? XW?.frame.querySelector("video") ?? null : null;
}
-function XNe() {
- return QW() ? document.getElementById("stage")?.querySelector("video") ?? null : iG()?.el().querySelector("video") ?? YNe();
+function JNe() {
+ return eG() ? document.getElementById("stage")?.querySelector("video") ?? null : oG()?.el().querySelector("video") ?? qNe();
}
-function lG(e) {
- JW && (JW.title.textContent = e.title || "", JW.sub.textContent = e.sub || "", JW.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function dG(e) {
+ XW && (XW.title.textContent = e.title || "", XW.sub.textContent = e.sub || "", XW.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function uG(e = GW?.item) {
- if (!JW) return;
- let t = JW.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- JW.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function fG(e = qW?.item) {
+ if (!XW) return;
+ let t = XW.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ XW.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
-function dG() {
- let e = GW?.player;
- if (!e || e.isDisposed() || !JW) return;
+function pG() {
+ let e = qW?.player;
+ if (!e || e.isDisposed() || !XW) return;
let t = e.paused();
- JW.play.setAttribute("aria-label", t ? "播放" : "暂停"), JW.play.querySelector("[data-icon-swap]") || (JW.play.innerHTML = ao("player-pause", "player-play", t ? "b" : "a")), oo(JW.play, t ? "b" : "a");
-}
-function fG() {
- let e = GW?.player;
- if (!e || e.isDisposed() || !JW) return;
- let t = qt(GW?.item.duration) || qt(e.duration());
- JW.time.textContent = `${Yt(e.currentTime())} / ${t ? Yt(t) : "0:00"}`;
+ XW.play.setAttribute("aria-label", t ? "播放" : "暂停"), XW.play.querySelector("[data-icon-swap]") || (XW.play.innerHTML = ao("player-pause", "player-play", t ? "b" : "a")), oo(XW.play, t ? "b" : "a");
}
-var pG = () => Math.max(1, Number(tG().player.settings().seekSeconds) || 10);
function mG() {
- if (!JW || !WW) return;
- let e = pG();
- for (let [t, n] of [[JW.back, `后退 ${e} 秒`], [JW.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function hG(e) {
+ let e = qW?.player;
+ if (!e || e.isDisposed() || !XW) return;
+ let t = qt(qW?.item.duration) || qt(e.duration());
+ XW.time.textContent = `${Yt(e.currentTime())} / ${t ? Yt(t) : "0:00"}`;
+}
+var hG = () => Math.max(1, Number(rG().player.settings().seekSeconds) || 10);
+function gG() {
+ if (!XW || !KW) return;
+ let e = hG();
+ for (let [t, n] of [[XW.back, `后退 ${e} 秒`], [XW.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function _G(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -72684,17 +72753,17 @@ function hG(e) {
"play",
"pause",
"ended"
- ], dG), t([
+ ], pG), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], fG), t("loadedmetadata", () => uG()), dG(), fG(), uG(), mG();
+ ], mG), t("loadedmetadata", () => fG()), pG(), mG(), fG(), gG();
}
-function gG(e) {
+function vG(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function ZNe() {
- let e = JW?.root;
+function YNe() {
+ let e = XW?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -72702,8 +72771,8 @@ function ZNe() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function _G() {
- let e = JW?.root;
+function yG() {
+ let e = XW?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -72714,73 +72783,73 @@ function _G() {
e.style.transform = "";
}
}
-function QNe(e, t) {
- if (!JW) return;
+function XNe(e, t) {
+ if (!XW) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- GW = n, XW++, e.player.el().classList.add("vjs-peach-mini"), JW.frame.prepend(e.player.el()), lG(t), hG(n), ZNe(), EE(e.player);
+ qW = n, QW++, e.player.el().classList.add("vjs-peach-mini"), XW.frame.prepend(e.player.el()), dG(t), _G(n), YNe(), OE(e.player);
}
-function vG() {
- let e = GW;
- e && gG(e), GW = null, XW++;
+function bG() {
+ let e = qW;
+ e && vG(e), qW = null, QW++;
let t = e?.player ?? null;
- t && wE() === t && TE(null), LE(t), t && VE(), JW?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), CE(), _G();
+ t && EE() === t && DE(null), zE(t), t && UE(), XW?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), wE(), yG();
}
-function yG() {
- if (!cG() || !GW) return;
- let { kind: e, item: t, mediaIndex: n } = GW;
- tG().expand(e, t.id, n);
+function xG() {
+ if (!uG() || !qW) return;
+ let { kind: e, item: t, mediaIndex: n } = qW;
+ rG().expand(e, t.id, n);
}
-function bG() {
- cG() && !QW() ? yG() : QW() && iG() && ZW && (YW = !0, ZW());
+function SG() {
+ uG() && !eG() ? xG() : eG() && oG() && $W && (ZW = !0, $W());
}
-function $Ne() {
- let e = GW?.player;
+function ZNe() {
+ let e = qW?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function xG(e) {
- let t = GW?.player;
+function CG(e) {
+ let t = qW?.player;
if (!t || t.isDisposed()) return;
- let n = qt(t.duration()) || qt(GW?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + pG() * e);
+ let n = qt(t.duration()) || qt(qW?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + hG() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function SG(e) {
- return !(!cG() || !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 || tG().sourceOffline(String(e.location ?? "")));
+function wG(e) {
+ return !(!uG() || !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 || rG().sourceOffline(String(e.location ?? "")));
}
-async function ePe(e) {
- if (!cG() || !GW || !JW) return;
- let t = ++XW, n = await Et(`/api/item?id=${e}`).catch(() => null);
- if (t !== XW || !cG() || !GW || !JW || !n || n.error) return;
- if (!SG(n)) {
- tG().openItem(e);
+async function QNe(e) {
+ if (!uG() || !qW || !XW) return;
+ let t = ++QW, n = await Et(`/api/item?id=${e}`).catch(() => null);
+ if (t !== QW || !uG() || !qW || !XW || !n || n.error) return;
+ if (!wG(n)) {
+ rG().openItem(e);
return;
}
- let r = GW;
- gG(r), wE() === r.player && TE(null), LE(r.player), VE(), JW.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = qW;
+ vG(r), EE() === r.player && DE(null), zE(r.player), UE(), XW.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", JW.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", XW.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- lG(a), JE(i, {
+ dG(a), XE(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== XW) {
- r && wE() === r && TE(null), LE(r);
+ if (t !== QW) {
+ r && EE() === r && DE(null), zE(r);
return;
}
if (!r) {
- vG(), tG().openItem(e);
+ bG(), rG().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -72789,26 +72858,26 @@ async function ePe(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: $W("item", n.id, null),
+ key: tG("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- GW = i, hG(i);
+ qW = i, _G(i);
}
- }), uG(n);
+ }), fG(n);
}
//#endregion
//#region src/react/stage/miniplayer.tsx
-var CG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+var TG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
-}), tPe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, wG = (e) => (t) => {
+}), $Ne = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, EG = (e) => (t) => {
t.stopPropagation(), e();
-}, nPe = (0, b.memo)(function() {
+}, ePe = (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)(() => (sG({
+ return (0, b.useLayoutEffect)(() => (lG({
root: e.current,
frame: n.current,
play: r.current,
@@ -72818,7 +72887,7 @@ var CG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => sG(null)), []), (0, b.useEffect)(() => iPe(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {
+ }), () => lG(null)), []), (0, b.useEffect)(() => nPe(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -72842,24 +72911,24 @@ var CG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: wG(yG),
- children: /* @__PURE__ */ (0, x.jsx)(CG, { name: "maximize-2" })
+ onClick: EG(xG),
+ children: /* @__PURE__ */ (0, x.jsx)(TG, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: wG(vG),
- children: /* @__PURE__ */ (0, x.jsx)(CG, { name: "x" })
+ onClick: EG(bG),
+ children: /* @__PURE__ */ (0, x.jsx)(TG, { name: "x" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: wG(() => xG(-1)),
- children: /* @__PURE__ */ (0, x.jsx)(CG, { name: "rotate-ccw" })
+ onClick: EG(() => CG(-1)),
+ children: /* @__PURE__ */ (0, x.jsx)(TG, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
ref: r,
@@ -72868,16 +72937,16 @@ var CG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: wG($Ne),
- dangerouslySetInnerHTML: tPe
+ onClick: EG(ZNe),
+ dangerouslySetInnerHTML: $Ne
}),
/* @__PURE__ */ (0, x.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: wG(() => xG(1)),
- children: /* @__PURE__ */ (0, x.jsx)(CG, { name: "rotate-cw" })
+ onClick: EG(() => CG(1)),
+ children: /* @__PURE__ */ (0, x.jsx)(TG, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, x.jsx)("span", {
ref: i,
@@ -72894,7 +72963,7 @@ var CG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => yG(),
+ onClick: () => xG(),
children: [/* @__PURE__ */ (0, x.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -72908,7 +72977,7 @@ var CG = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
})
});
});
-function rPe(e, t, n) {
+function tPe(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
@@ -72930,7 +72999,7 @@ function rPe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function iPe(e, t) {
+function nPe(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 = {
@@ -72956,7 +73025,7 @@ function iPe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), rPe(e, i.dx, i.dy));
+ }, 0), tPe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -72968,49 +73037,49 @@ function iPe(e, t) {
}
//#endregion
//#region src/react/stage/stage.tsx
-var TG = null, EG = null, DG = /* @__PURE__ */ new Set(), OG = 0, kG = null, AG = !1, jG = !1, MG = () => {
+var DG = null, OG = null, kG = /* @__PURE__ */ new Set(), AG = 0, jG = null, MG = !1, NG = !1, PG = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function NG() {
- if (!TG) throw Error("舞台还没有接上宿主(configureStage)");
- return TG;
+function FG() {
+ if (!DG) throw Error("舞台还没有接上宿主(configureStage)");
+ return DG;
}
-function aPe(e) {
- return DG.add(e), () => {
- DG.delete(e);
+function rPe(e) {
+ return kG.add(e), () => {
+ kG.delete(e);
};
}
-function oPe() {
- for (let e of [...DG]) e();
+function iPe() {
+ for (let e of [...kG]) e();
}
-function PG() {
- (0, pt.flushSync)(oPe);
+function IG() {
+ (0, pt.flushSync)(iPe);
}
-function sPe({ view: e }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(cPe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(nPe, {})] });
+function aPe({ view: e }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(oPe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(ePe, {})] });
}
-var FG = () => /* @__PURE__ */ (0, x.jsx)("div", {
+var LG = () => /* @__PURE__ */ (0, x.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: TMe() }
+ dangerouslySetInnerHTML: { __html: CMe() }
});
-function IG(e) {
+function RG(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 cPe({ view: e }) {
+function oPe({ view: e }) {
let t = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
- e.preventDefault(), LG();
+ e.preventDefault(), zG();
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, x.jsx)(_Ne, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, x.jsx)(RNe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, x.jsx)(ZMe, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, x.jsx)(hNe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, x.jsx)(INe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, x.jsx)(YMe, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, x.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -73018,20 +73087,20 @@ function cPe({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), LG());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), zG());
},
onPointerDown: (e) => {
- jG = IG(e);
+ NG = RG(e);
},
onClick: (e) => {
- jG && IG(e) && LG();
+ NG && RG(e) && zG();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, x.jsx)(FG, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, x.jsx)(LG, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(FG, {})
+ children: /* @__PURE__ */ (0, x.jsx)(LG, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, x.jsx)("div", {
"data-stage-scroll": "",
@@ -73043,14 +73112,14 @@ function cPe({ view: e }) {
]
});
}
-function LG() {
- EG && !AG && (AG = !0, EG.request.actions.close());
+function zG() {
+ OG && !MG && (MG = !0, OG.request.actions.close());
}
-function RG(e, t) {
- let n = MG();
+function BG(e, t) {
+ let n = PG();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function zG(e) {
+function VG(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -73058,30 +73127,30 @@ function zG(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: LG
+ close: zG
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => NG().player.settings(), i = () => EG?.request === e;
+ }, r = () => FG().player.settings(), i = () => OG?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: LG,
+ close: zG,
present: (e, t) => {
let n = e.performers;
- nG({
+ iG({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), RG(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), BG(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => rG(e, {
+ mountPlayer: (e, t, r, i) => aG(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -73099,18 +73168,18 @@ function zG(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: LG,
+ close: zG,
present: (e, t) => {
- nG({
+ iG({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), RG(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), BG(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => rG(e, {
+ mountPlayer: (e, t, r, i) => aG(e, {
kind: "follow",
item: t,
media: r,
@@ -73127,78 +73196,78 @@ function zG(e) {
}
};
}
-function lPe(e, t) {
+function sPe(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"), EG?.generation === t && EG.phase === "reveal" && (EG = {
- ...EG,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), OG?.generation === t && OG.phase === "reveal" && (OG = {
+ ...OG,
phase: "content"
- }, PG());
+ }, IG());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function BG(e) {
- let t = MG();
- return !EG || EG.content.kind !== e || AG || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function HG(e) {
+ let t = PG();
+ return !OG || OG.content.kind !== e || MG || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function uPe(e) {
- let t = BG(e.kind);
+async function cPe(e) {
+ let t = HG(e.kind);
if (t) {
- await dPe(e, t);
+ await lPe(e, t);
return;
}
- EG && VG({ miniplayer: !1 });
- let n = ++OG, r = new AbortController();
- kG = r, AG = !1, jG = !1, e.kind === "jav" ? vG() : oG(e.kind, e.id ?? NaN), EG = {
+ OG && UG({ miniplayer: !1 });
+ let n = ++AG, r = new AbortController();
+ jG = r, MG = !1, NG = !1, e.kind === "jav" ? bG() : cG(e.kind, e.id ?? NaN), OG = {
generation: n,
request: e,
- content: zG(e),
+ content: VG(e),
phase: "skeleton"
- }, PG();
- let i = MG();
+ }, IG();
+ let i = PG();
if (!i) return;
wo(i), document.body.setAttribute("data-detail-open", ""), i.open || i.showModal();
- let a = EG.content;
+ let a = OG.content;
try {
- a.kind === "item" ? await Bue(a.props, r.signal) : a.kind === "jav" ? await AW(a.props, r.signal) : await nW(a.props, r.signal);
+ a.kind === "item" ? await Rue(a.props, r.signal) : a.kind === "jav" ? await MW(a.props, r.signal) : await iW(a.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== OG || !EG) return;
+ if (n !== AG || !OG) return;
let o = !!i.querySelector(".skeleton-awaiting");
- EG = {
- ...EG,
+ OG = {
+ ...OG,
phase: o ? "content" : "reveal"
- }, PG(), o || lPe(i, n), po(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, IG(), o || sPe(i, n), po(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let s = document.activeElement;
(s === i || !i.contains(s)) && i.querySelector("#closeStage")?.focus();
}
-async function dPe(e, t) {
- let n = ++OG;
- kG?.abort();
+async function lPe(e, t) {
+ let n = ++AG;
+ jG?.abort();
let r = new AbortController();
- kG = r, jG = !1;
- let i = zG(e);
+ jG = r, NG = !1;
+ let i = VG(e);
try {
- i.kind === "item" ? await Bue(i.props, r.signal) : i.kind === "jav" ? await AW(i.props, r.signal) : await nW(i.props, r.signal);
+ i.kind === "item" ? await Rue(i.props, r.signal) : i.kind === "jav" ? await MW(i.props, r.signal) : await iW(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== OG || !EG || BG(e.kind) !== t) return;
- e.kind === "jav" ? vG() : oG(e.kind, e.id ?? NaN), Js(t), CE(), EG = {
- ...EG,
+ if (n !== AG || !OG || HG(e.kind) !== t) return;
+ e.kind === "jav" ? bG() : cG(e.kind, e.id ?? NaN), Js(t), wE(), OG = {
+ ...OG,
request: e,
content: i,
phase: "content"
- }, PG(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), po(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, IG(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), po(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 fPe() {
- let e = MG();
+function uPe() {
+ let e = PG();
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();
@@ -73208,85 +73277,85 @@ function fPe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function VG({ miniplayer: e = !0 } = {}) {
- if (OG++, kG?.abort(), kG = null, aG(e), !EG) return;
- let t = MG();
- t && Js(t), CE(), t?.open && t.close(), EG = null, AG = !1, jG = !1, PG(), nG(null), document.body.removeAttribute("data-detail-open");
+function UG({ miniplayer: e = !0 } = {}) {
+ if (AG++, jG?.abort(), jG = null, sG(e), !OG) return;
+ let t = PG();
+ t && Js(t), wE(), t?.open && t.close(), OG = null, MG = !1, NG = !1, IG(), iG(null), document.body.removeAttribute("data-detail-open");
}
-function pPe(e) {
- EG && (EG = {
- ...EG,
- content: EG.content.kind === "item" ? {
+function dPe(e) {
+ OG && (OG = {
+ ...OG,
+ content: OG.content.kind === "item" ? {
kind: "item",
props: {
- ...EG.content.props,
+ ...OG.content.props,
...e
}
- } : EG.content.kind === "jav" ? EG.content : {
+ } : OG.content.kind === "jav" ? OG.content : {
kind: "follow",
props: {
- ...EG.content.props,
+ ...OG.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, PG());
+ }, IG());
}
-function mPe() {
- let e = KNe(), t = e?.kind === "item" ? e.item : null, n = t ? ha(t, NG().player.settings().javImage) : "";
+function fPe() {
+ let e = WNe(), t = e?.kind === "item" ? e.item : null, n = t ? ha(t, FG().player.settings().javImage) : "";
if (!n) return;
- let r = iG();
+ let r = oG();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var hPe = {
- open: uPe,
- update: pPe,
- exit: fPe,
- dispose: VG,
- requestClose: LG,
- repaintPoster: mPe,
- isOpen: () => !!EG,
- showing: () => EG && BG(EG.content.kind) ? EG.content.kind : null,
- activeVideo: () => XNe(),
- mountWallPlayer: qNe,
+var pPe = {
+ open: cPe,
+ update: dPe,
+ exit: uPe,
+ dispose: UG,
+ requestClose: zG,
+ repaintPoster: fPe,
+ isOpen: () => !!OG,
+ showing: () => OG && HG(OG.content.kind) ? OG.content.kind : null,
+ activeVideo: () => JNe(),
+ mountWallPlayer: GNe,
toggleTheater: () => {
- EG && kle(!NG().player.settings().theaterMode);
+ OG && Dle(!FG().player.settings().theaterMode);
},
- toggleMiniplayer: () => bG(),
- closeMiniplayer: () => vG(),
- miniplayerActive: () => cG(),
- miniplayerTakesCard: (e) => SG(e),
+ toggleMiniplayer: () => SG(),
+ closeMiniplayer: () => bG(),
+ miniplayerActive: () => uG(),
+ miniplayerTakesCard: (e) => wG(e),
miniplayerPlay: (e) => {
- ePe(e);
+ QNe(e);
}
};
-function gPe(e) {
- return TG = e, GNe(e, {
- isOpen: () => !!EG,
- requestClose: LG
- }), hPe;
+function mPe(e) {
+ return DG = e, UNe(e, {
+ isOpen: () => !!OG,
+ requestClose: zG
+ }), pPe;
}
-function _Pe() {
- let e = (0, b.useSyncExternalStore)(aPe, () => EG);
- return TG ? /* @__PURE__ */ (0, x.jsx)(sPe, { view: e }) : null;
+function hPe() {
+ let e = (0, b.useSyncExternalStore)(rPe, () => OG);
+ return DG ? /* @__PURE__ */ (0, x.jsx)(aPe, { view: e }) : null;
}
//#endregion
//#region src/react/stats/stats.ts
-var vPe = "/api/stats", HG = ["stats"], UG = (e) => V(vPe, e);
-async function yPe(e) {
+var gPe = "/api/stats", WG = ["stats"], GG = (e) => V(gPe, e);
+async function _Pe(e) {
await U.fetchQuery({
- queryKey: HG,
- queryFn: () => UG(e)
+ queryKey: WG,
+ queryFn: () => GG(e)
});
}
-var WG = (e) => e != null && Number.isFinite(e), GG = (e) => WG(e) ? e.toLocaleString() : "未取得", bPe = (e, t) => WG(e) && WG(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, KG = (e, t) => {
- let n = bPe(e, t);
- return !n && WG(e) && e > 0 && WG(t) && t > 0 ? "<1%" : `${n}%`;
-}, qG = (e) => {
- if (!WG(e)) return "未取得";
+var KG = (e) => e != null && Number.isFinite(e), qG = (e) => KG(e) ? e.toLocaleString() : "未取得", vPe = (e, t) => KG(e) && KG(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, JG = (e, t) => {
+ let n = vPe(e, t);
+ return !n && KG(e) && e > 0 && KG(t) && t > 0 ? "<1%" : `${n}%`;
+}, YG = (e) => {
+ if (!KG(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)} 分钟`;
-}, JG = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, YG = (e) => (e.max_reached || 0) * 100, xPe = (e) => e.kind === "online" ? "在线直接观看" : JG(e) < YG(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", SPe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function CPe(e, t = 6) {
+}, XG = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, ZG = (e) => (e.max_reached || 0) * 100, yPe = (e) => e.kind === "online" ? "在线直接观看" : XG(e) < ZG(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", bPe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function xPe(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);
@@ -73296,7 +73365,7 @@ function CPe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var wPe = (e) => Math.max(1, ...e) * 1.1, TPe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, EPe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), DPe = {
+var SPe = (e) => Math.max(1, ...e) * 1.1, CPe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, wPe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), TPe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -73304,18 +73373,18 @@ var wPe = (e) => Math.max(1, ...e) * 1.1, TPe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, OPe = (e) => e.map((e) => ({
- name: DPe[e.k] ?? e.k,
+}, EPe = (e) => e.map((e) => ({
+ name: TPe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), kPe = {
+})).sort((e, t) => t.value - e.value), DPe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, XG = (e, t = {}) => e.map((e) => ({
+}, QG = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), APe = (e) => XG(e, kPe), jPe = [
+})), OPe = (e) => QG(e, DPe), kPe = [
[
1,
1,
@@ -73351,49 +73420,49 @@ var wPe = (e) => Math.max(1, ...e) * 1.1, TPe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], MPe = (e) => jPe.map(([t, n, r]) => ({
+], APe = (e) => kPe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), NPe = /* @__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 ZG(e) {
- return typeof e == "string" && NPe.includes(e);
+})), jPe = /* @__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 $G(e) {
+ return typeof e == "string" && jPe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var PPe = /* @__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 QG(e) {
- return typeof e == "string" && PPe.has(e);
+var MPe = /* @__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 eK(e) {
+ return typeof e == "string" && MPe.has(e);
}
-function $G(e) {
+function tK(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function eK(e) {
+function nK(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (QG(n) || $G(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (eK(n) || tK(n)) && (t[n] = e[n]);
return t;
}
-function tK(e) {
+function rK(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, b.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return eK(t);
+ return nK(t);
}
- return typeof e == "object" && !Array.isArray(e) ? eK(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? nK(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function nK(e) {
+function iK(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (QG(n) || $G(n) || ZG(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (eK(n) || tK(n) || $G(n)) && (t[n] = e[n]);
return t;
}
-function FPe(e) {
- return e == null ? null : /*#__PURE__*/ (0, b.isValidElement)(e) ? nK(e.props) : typeof e == "object" && !Array.isArray(e) ? nK(e) : null;
+function NPe(e) {
+ return e == null ? null : /*#__PURE__*/ (0, b.isValidElement)(e) ? iK(e.props) : typeof e == "object" && !Array.isArray(e) ? iK(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var IPe = [
+var PPe = [
"children",
"width",
"height",
@@ -73403,25 +73472,25 @@ var IPe = [
"title",
"desc"
];
-function rK() {
- return rK = Object.assign ? Object.assign.bind() : function(e) {
+function aK() {
+ return aK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, rK.apply(null, arguments);
+ }, aK.apply(null, arguments);
}
-function LPe(e, t) {
+function FPe(e, t) {
if (e == null) return {};
- var n, r, i = RPe(e, t);
+ var n, r, i = IPe(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 RPe(e, t) {
+function IPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -73430,14 +73499,14 @@ function RPe(e, t) {
}
return n;
}
-var iK = /*#__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 = LPe(e, IPe), d = a || {
+var oK = /*#__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 = FPe(e, PPe), d = a || {
width: r,
height: i,
x: 0,
y: 0
- }, f = wv("recharts-surface", o);
- return /*#__PURE__*/ b.createElement("svg", rK({}, nK(u), {
+ }, f = Tv("recharts-surface", o);
+ return /*#__PURE__*/ b.createElement("svg", aK({}, iK(u), {
className: f,
width: r,
height: i,
@@ -73445,26 +73514,26 @@ var iK = /*#__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);
-}), zPe = ["children", "className"];
-function aK() {
- return aK = Object.assign ? Object.assign.bind() : function(e) {
+}), LPe = ["children", "className"];
+function sK() {
+ return sK = 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;
- }, aK.apply(null, arguments);
+ }, sK.apply(null, arguments);
}
-function BPe(e, t) {
+function RPe(e, t) {
if (e == null) return {};
- var n, r, i = VPe(e, t);
+ var n, r, i = zPe(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 VPe(e, t) {
+function zPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -73473,54 +73542,54 @@ function VPe(e, t) {
}
return n;
}
-var oK = /*#__PURE__*/ b.forwardRef((e, t) => {
- var n = e.children, r = e.className, i = BPe(e, zPe), a = wv("recharts-layer", r);
- return /*#__PURE__*/ b.createElement("g", aK({ className: a }, nK(i), { ref: t }), n);
+var cK = /*#__PURE__*/ b.forwardRef((e, t) => {
+ var n = e.children, r = e.className, i = RPe(e, LPe), a = Tv("recharts-layer", r);
+ return /*#__PURE__*/ b.createElement("g", sK({ className: a }, iK(i), { ref: t }), n);
});
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function sK(e) {
+function lK(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var HPe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function cK(e) {
+var BPe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function uK(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : HPe.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : BPe.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function lK(e) {
+function dK(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 uK(e) {
+function fK(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function UPe(e) {
- return e == null ? "" : dK(e);
+function VPe(e) {
+ return e == null ? "" : pK(e);
}
-function dK(e) {
+function pK(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(dK).join(",");
- if (uK(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(pK).join(",");
+ if (fK(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 fK(e) {
- if (Array.isArray(e)) return e.map(lK);
+function mK(e) {
+ if (Array.isArray(e)) return e.map(dK);
if (typeof e == "symbol") return [e];
- e = UPe(e);
+ e = VPe(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -73548,86 +73617,86 @@ function fK(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function pK(e, t, n) {
+function hK(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (sK(t)) return n;
+ if (lK(t)) return n;
let r = e[t];
- return r === void 0 ? cK(t) && !Object.hasOwn(e, t) ? pK(e, fK(t), n) : n : r;
+ return r === void 0 ? uK(t) && !Object.hasOwn(e, t) ? hK(e, mK(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = lK(t));
+ typeof t == "number" && (t = dK(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return WPe(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), sK(t)) return n;
+ if (Array.isArray(t)) return HPe(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), lK(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function WPe(e, t, n) {
+function HPe(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || sK(t[e])) return n;
+ if (r == null || lK(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var GPe = 4;
-function mK(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : GPe), n = Math.round(e * t) / t;
+var UPe = 4;
+function gK(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : UPe), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function hK(e) {
+function _K(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 + mK(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + gK(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var gK = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, _K = (e) => typeof e == "number" && e != +e, vK = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, yK = (e) => (typeof e == "number" || e instanceof Number) && !_K(e), bK = (e) => yK(e) || typeof e == "string", KPe = 0, xK = (e) => {
- var t = ++KPe;
+var vK = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, yK = (e) => typeof e == "number" && e != +e, bK = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, xK = (e) => (typeof e == "number" || e instanceof Number) && !yK(e), SK = (e) => xK(e) || typeof e == "string", WPe = 0, CK = (e) => {
+ var t = ++WPe;
return `${e || ""}${t}`;
-}, SK = function(e, t) {
+}, wK = 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 (!yK(e) && typeof e != "string") return n;
+ if (!xK(e) && typeof e != "string") return n;
var i;
- if (vK(e)) {
+ if (bK(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return _K(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, CK = (e) => {
+ return yK(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, TK = (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 wK(e, t, n) {
- return yK(e) && yK(t) ? mK(e + n * (t - e)) : t;
+function EK(e, t, n) {
+ return xK(e) && xK(t) ? gK(e + n * (t - e)) : t;
}
-function TK(e, t, n) {
- if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : pK(e, t)) === n);
+function DK(e, t, n) {
+ if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : hK(e, t)) === n);
}
-var EK = (e) => e == null, DK = (e) => EK(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function OK(e) {
+var OK = (e) => e == null, kK = (e) => OK(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function AK(e) {
return e != null;
}
-function kK() {}
+function jK() {}
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js
-function AK(e) {
+function MK(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -73639,7 +73708,7 @@ function AK(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function jK(e, t) {
+function NK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -73649,30 +73718,30 @@ function jK(e, t) {
}
return n;
}
-function MK(e) {
+function PK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? jK(Object(n), !0).forEach(function(t) {
- qPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jK(Object(n)).forEach(function(t) {
+ t % 2 ? NK(Object(n), !0).forEach(function(t) {
+ GPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qPe(e, t, n) {
- return (t = JPe(t)) in e ? Object.defineProperty(e, t, {
+function GPe(e, t, n) {
+ return (t = KPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JPe(e) {
- var t = YPe(e, "string");
+function KPe(e) {
+ var t = qPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YPe(e, t) {
+function qPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -73682,8 +73751,8 @@ function YPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var NK = (e) => {
- var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = AK(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 FK = (e) => {
+ var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = MK(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,
@@ -73724,98 +73793,98 @@ var NK = (e) => {
width: g,
height: u
} : {};
- return n === "insideLeft" ? MK({
+ return n === "insideLeft" ? PK({
x: h + C,
y: l + u / 2,
horizontalAnchor: T,
verticalAnchor: "middle"
- }, j) : n === "insideRight" ? MK({
+ }, j) : n === "insideRight" ? PK({
x: h + g - C,
y: l + u / 2,
horizontalAnchor: w,
verticalAnchor: "middle"
- }, j) : n === "insideTop" ? MK({
+ }, j) : n === "insideTop" ? PK({
x: p + d / 2,
y: l + y,
horizontalAnchor: "middle",
verticalAnchor: x
- }, j) : n === "insideBottom" ? MK({
+ }, j) : n === "insideBottom" ? PK({
x: m + f / 2,
y: l + u - y,
horizontalAnchor: "middle",
verticalAnchor: b
- }, j) : n === "insideTopLeft" ? MK({
+ }, j) : n === "insideTopLeft" ? PK({
x: p + C,
y: l + y,
horizontalAnchor: T,
verticalAnchor: x
- }, j) : n === "insideTopRight" ? MK({
+ }, j) : n === "insideTopRight" ? PK({
x: p + d - C,
y: l + y,
horizontalAnchor: w,
verticalAnchor: x
- }, j) : n === "insideBottomLeft" ? MK({
+ }, j) : n === "insideBottomLeft" ? PK({
x: m + C,
y: l + u - y,
horizontalAnchor: T,
verticalAnchor: b
- }, j) : n === "insideBottomRight" ? MK({
+ }, j) : n === "insideBottomRight" ? PK({
x: m + f - C,
y: l + u - y,
horizontalAnchor: w,
verticalAnchor: b
- }, j) : n && typeof n == "object" && (yK(n.x) || vK(n.x)) && (yK(n.y) || vK(n.y)) ? MK({
- x: c + SK(n.x, g),
- y: l + SK(n.y, u),
+ }, j) : n && typeof n == "object" && (xK(n.x) || bK(n.x)) && (xK(n.y) || bK(n.y)) ? PK({
+ x: c + wK(n.x, g),
+ y: l + wK(n.y, u),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, j) : MK({
+ }, j) : PK({
x: _,
y: l + u / 2,
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, j);
-}, XPe = [
+}, JPe = [
"top",
"left",
"right",
"bottom"
];
-function PK(e) {
- return e == null ? !1 : typeof e == "object" || XPe.includes(e);
+function IK(e) {
+ return e == null ? !1 : typeof e == "object" || JPe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/context/legendPortalContext.js
-var FK = /*#__PURE__*/ (0, b.createContext)(null), ZPe = () => (0, b.useContext)(FK);
+var LK = /*#__PURE__*/ (0, b.createContext)(null), YPe = () => (0, b.useContext)(LK);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function IK(e) {
+function RK(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var LK = Math.cos, RK = Math.sin, zK = Math.sqrt, BK = Math.PI;
-BK / 2;
-var VK = 2 * BK, HK = Math.PI, UK = 2 * HK, WK = 1e-6, QPe = UK - WK;
-function GK(e) {
+var zK = Math.cos, BK = Math.sin, VK = Math.sqrt, HK = Math.PI;
+HK / 2;
+var UK = 2 * HK, WK = Math.PI, GK = 2 * WK, KK = 1e-6, XPe = GK - KK;
+function qK(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function $Pe(e) {
+function ZPe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return GK;
+ if (t > 15) return qK;
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 KK = class {
+var JK = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? GK : $Pe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? qK : ZPe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -73836,18 +73905,18 @@ var KK = 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 > WK) {
- if (!(Math.abs(u * s - c * l) > WK) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > KK) {
+ if (!(Math.abs(u * s - c * l) > KK) || !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((HK - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > WK && 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((WK - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > KK && 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) > WK || Math.abs(this._y1 - l) > WK) && this._append`L${c},${l}`, n && (d < 0 && (d = d % UK + UK), d > QPe ? 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 > WK && this._append`A${n},${n},0,${+(d >= HK)},${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) > KK || Math.abs(this._y1 - l) > KK) && this._append`L${c},${l}`, n && (d < 0 && (d = d % GK + GK), d > XPe ? 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 > KK && this._append`A${n},${n},0,${+(d >= WK)},${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`;
@@ -73856,10 +73925,10 @@ var KK = class {
return this._;
}
};
-KK.prototype;
+JK.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function qK(e) {
+function YK(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -73870,18 +73939,18 @@ function qK(e) {
t = e;
}
return e;
- }, () => new KK(t);
+ }, () => new JK(t);
}
Array.prototype.slice;
-function JK(e) {
+function XK(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 YK(e) {
+function ZK(e) {
this._context = e;
}
-YK.prototype = {
+ZK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -73904,33 +73973,33 @@ YK.prototype = {
}
}
};
-function XK(e) {
- return new YK(e);
+function QK(e) {
+ return new ZK(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function ZK(e) {
+function $K(e) {
return e[0];
}
-function QK(e) {
+function eq(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function $K(e, t) {
- var n = IK(!0), r = null, i = XK, a = null, o = qK(s);
- e = typeof e == "function" ? e : e === void 0 ? ZK : IK(e), t = typeof t == "function" ? t : t === void 0 ? QK : IK(t);
+function tq(e, t) {
+ var n = RK(!0), r = null, i = QK, a = null, o = YK(s);
+ e = typeof e == "function" ? e : e === void 0 ? $K : RK(e), t = typeof t == "function" ? t : t === void 0 ? eq : RK(t);
function s(s) {
- var c, l = (s = JK(s)).length, u, d = !1, f;
+ var c, l = (s = XK(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 : IK(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RK(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : IK(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : RK(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : IK(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : RK(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -73939,11 +74008,11 @@ function $K(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function eq(e, t, n) {
- var r = null, i = IK(!0), a = null, o = XK, s = null, c = qK(l);
- e = typeof e == "function" ? e : e === void 0 ? ZK : IK(+e), t = typeof t == "function" ? t : IK(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? QK : IK(+n);
+function nq(e, t, n) {
+ var r = null, i = RK(!0), a = null, o = QK, s = null, c = YK(l);
+ e = typeof e == "function" ? e : e === void 0 ? $K : RK(+e), t = typeof t == "function" ? t : RK(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? eq : RK(+n);
function l(l) {
- var u, d, f, p = (l = JK(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = XK(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();
@@ -73957,20 +74026,20 @@ function eq(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return $K().defined(i).curve(o).context(a);
+ return tq().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : IK(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RK(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : IK(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RK(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : IK(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : RK(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : IK(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : RK(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : IK(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : RK(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : IK(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : RK(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -73978,7 +74047,7 @@ function eq(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : IK(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : RK(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -73987,7 +74056,7 @@ function eq(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var tq = class {
+var rq = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -74014,70 +74083,70 @@ var tq = class {
this._x0 = e, this._y0 = t;
}
};
-function eFe(e) {
- return new tq(e, !0);
+function QPe(e) {
+ return new rq(e, !0);
}
-function tFe(e) {
- return new tq(e, !1);
+function $Pe(e) {
+ return new rq(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var nq = { draw(e, t) {
- let n = zK(t / BK);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, VK);
-} }, nFe = { draw(e, t) {
- let n = zK(t / 5) / 2;
+var iq = { draw(e, t) {
+ let n = VK(t / HK);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, UK);
+} }, eFe = { draw(e, t) {
+ let n = VK(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();
-} }, rq = zK(1 / 3), rFe = rq * 2, iFe = { draw(e, t) {
- let n = zK(t / rFe), r = n * rq;
+} }, aq = VK(1 / 3), tFe = aq * 2, nFe = { draw(e, t) {
+ let n = VK(t / tFe), r = n * aq;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, aFe = { draw(e, t) {
- let n = zK(t), r = -n / 2;
+} }, rFe = { draw(e, t) {
+ let n = VK(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, oFe = .8908130915292852, iq = RK(BK / 10) / RK(7 * BK / 10), sFe = RK(VK / 10) * iq, cFe = -LK(VK / 10) * iq, lFe = { draw(e, t) {
- let n = zK(t * oFe), r = sFe * n, i = cFe * n;
+} }, iFe = .8908130915292852, oq = BK(HK / 10) / BK(7 * HK / 10), aFe = BK(UK / 10) * oq, oFe = -zK(UK / 10) * oq, sFe = { draw(e, t) {
+ let n = VK(t * iFe), r = aFe * n, i = oFe * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = VK * t / 5, o = LK(a), s = RK(a);
+ let a = UK * t / 5, o = zK(a), s = BK(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, aq = zK(3), uFe = { draw(e, t) {
- let n = -zK(t / (aq * 3));
- e.moveTo(0, n * 2), e.lineTo(-aq * n, -n), e.lineTo(aq * n, -n), e.closePath();
-} }, oq = -.5, sq = zK(3) / 2, cq = 1 / zK(12), dFe = (cq / 2 + 1) * 3, fFe = { draw(e, t) {
- let n = zK(t / dFe), r = n / 2, i = n * cq, a = r, o = n * cq + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(oq * r - sq * i, sq * r + oq * i), e.lineTo(oq * a - sq * o, sq * a + oq * o), e.lineTo(oq * s - sq * c, sq * s + oq * c), e.lineTo(oq * r + sq * i, oq * i - sq * r), e.lineTo(oq * a + sq * o, oq * o - sq * a), e.lineTo(oq * s + sq * c, oq * c - sq * s), e.closePath();
+} }, sq = VK(3), cFe = { draw(e, t) {
+ let n = -VK(t / (sq * 3));
+ e.moveTo(0, n * 2), e.lineTo(-sq * n, -n), e.lineTo(sq * n, -n), e.closePath();
+} }, cq = -.5, lq = VK(3) / 2, uq = 1 / VK(12), lFe = (uq / 2 + 1) * 3, uFe = { draw(e, t) {
+ let n = VK(t / lFe), r = n / 2, i = n * uq, a = r, o = n * uq + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(cq * r - lq * i, lq * r + cq * i), e.lineTo(cq * a - lq * o, lq * a + cq * o), e.lineTo(cq * s - lq * c, lq * s + cq * c), e.lineTo(cq * r + lq * i, cq * i - lq * r), e.lineTo(cq * a + lq * o, cq * o - lq * a), e.lineTo(cq * s + lq * c, cq * c - lq * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function pFe(e, t) {
- let n = null, r = qK(i);
- e = typeof e == "function" ? e : IK(e || nq), t = typeof t == "function" ? t : IK(t === void 0 ? 64 : +t);
+function dFe(e, t) {
+ let n = null, r = YK(i);
+ e = typeof e == "function" ? e : RK(e || iq), t = typeof t == "function" ? t : RK(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 : IK(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RK(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : IK(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : RK(+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 lq() {}
+function dq() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function uq(e, t, n) {
+function fq(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 dq(e) {
+function pq(e) {
this._context = e;
}
-dq.prototype = {
+pq.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -74089,7 +74158,7 @@ dq.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: uq(this, this._x1, this._y1);
+ case 3: fq(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;
@@ -74103,22 +74172,22 @@ dq.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: uq(this, e, t);
+ default: fq(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function mFe(e) {
- return new dq(e);
+function fFe(e) {
+ return new pq(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function fq(e) {
+function mq(e) {
this._context = e;
}
-fq.prototype = {
- areaStart: lq,
- areaEnd: lq,
+mq.prototype = {
+ areaStart: dq,
+ areaEnd: dq,
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;
},
@@ -74144,20 +74213,20 @@ fq.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: uq(this, e, t);
+ default: fq(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function hFe(e) {
- return new fq(e);
+function pFe(e) {
+ return new mq(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function pq(e) {
+function hq(e) {
this._context = e;
}
-pq.prototype = {
+hq.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -74184,22 +74253,22 @@ pq.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: uq(this, e, t);
+ default: fq(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function gFe(e) {
- return new pq(e);
+function mFe(e) {
+ return new hq(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function mq(e) {
+function gq(e) {
this._context = e;
}
-mq.prototype = {
- areaStart: lq,
- areaEnd: lq,
+gq.prototype = {
+ areaStart: dq,
+ areaEnd: dq,
lineStart: function() {
this._point = 0;
},
@@ -74210,30 +74279,30 @@ mq.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function _Fe(e) {
- return new mq(e);
+function hFe(e) {
+ return new gq(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function hq(e) {
+function _q(e) {
return e < 0 ? -1 : 1;
}
-function gq(e, t, n) {
+function vq(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 (hq(a) + hq(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (_q(a) + _q(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function _q(e, t) {
+function yq(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function vq(e, t, n) {
+function bq(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 yq(e) {
+function xq(e) {
this._context = e;
}
-yq.prototype = {
+xq.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -74248,7 +74317,7 @@ yq.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: vq(this, this._t0, _q(this, this._t0));
+ case 3: bq(this, this._t0, yq(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -74263,24 +74332,24 @@ yq.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, vq(this, _q(this, n = gq(this, e, t)), n);
+ this._point = 3, bq(this, yq(this, n = vq(this, e, t)), n);
break;
- default: vq(this, this._t0, n = gq(this, e, t));
+ default: bq(this, this._t0, n = vq(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function bq(e) {
- this._context = new xq(e);
+function Sq(e) {
+ this._context = new Cq(e);
}
-(bq.prototype = Object.create(yq.prototype)).point = function(e, t) {
- yq.prototype.point.call(this, t, e);
+(Sq.prototype = Object.create(xq.prototype)).point = function(e, t) {
+ xq.prototype.point.call(this, t, e);
};
-function xq(e) {
+function Cq(e) {
this._context = e;
}
-xq.prototype = {
+Cq.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -74294,18 +74363,18 @@ xq.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function vFe(e) {
- return new yq(e);
+function gFe(e) {
+ return new xq(e);
}
-function yFe(e) {
- return new bq(e);
+function _Fe(e) {
+ return new Sq(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function Sq(e) {
+function wq(e) {
this._context = e;
}
-Sq.prototype = {
+wq.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -74319,7 +74388,7 @@ Sq.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 = Cq(e), i = Cq(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 = Tq(e), i = Tq(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;
},
@@ -74327,7 +74396,7 @@ Sq.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function Cq(e) {
+function Tq(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];
@@ -74335,15 +74404,15 @@ function Cq(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 bFe(e) {
- return new Sq(e);
+function vFe(e) {
+ return new wq(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function wq(e, t) {
+function Eq(e, t) {
this._context = e, this._t = t;
}
-wq.prototype = {
+Eq.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -74371,78 +74440,78 @@ wq.prototype = {
this._x = e, this._y = t;
}
};
-function xFe(e) {
- return new wq(e, .5);
+function yFe(e) {
+ return new Eq(e, .5);
}
-function SFe(e) {
- return new wq(e, 0);
+function bFe(e) {
+ return new Eq(e, 0);
}
-function CFe(e) {
- return new wq(e, 1);
+function xFe(e) {
+ return new Eq(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function Tq(e, t) {
+function Dq(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 Eq(e) {
+function Oq(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 wFe(e, t) {
+function SFe(e, t) {
return e[t];
}
-function TFe(e) {
+function CFe(e) {
let t = [];
return t.key = e, t;
}
-function EFe() {
- var e = IK([]), t = Eq, n = Tq, r = wFe;
+function wFe() {
+ var e = RK([]), t = Oq, n = Dq, r = SFe;
function i(i) {
- var a = Array.from(e.apply(this, arguments), TFe), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), CFe), 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 = JK(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = XK(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 : IK(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RK(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : IK(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : RK(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? Eq : typeof e == "function" ? e : IK(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? Oq : typeof e == "function" ? e : RK(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? Tq, i) : n;
+ return arguments.length ? (n = e ?? Dq, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function DFe(e, t) {
+function TFe(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;
}
- Tq(e, t);
+ Dq(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function OFe(e, t) {
+function EFe(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;
}
- Tq(e, t);
+ Dq(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function kFe(e, t) {
+function DFe(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) {
@@ -74454,26 +74523,26 @@ function kFe(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, Tq(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, Dq(e, t);
}
}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var AFe = [
+var OFe = [
"type",
"size",
"sizeType"
];
-function Dq() {
- return Dq = Object.assign ? Object.assign.bind() : function(e) {
+function kq() {
+ return kq = 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;
- }, Dq.apply(null, arguments);
+ }, kq.apply(null, arguments);
}
-function Oq(e, t) {
+function Aq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -74483,30 +74552,30 @@ function Oq(e, t) {
}
return n;
}
-function kq(e) {
+function jq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Oq(Object(n), !0).forEach(function(t) {
- jFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Oq(Object(n)).forEach(function(t) {
+ t % 2 ? Aq(Object(n), !0).forEach(function(t) {
+ kFe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Aq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jFe(e, t, n) {
- return (t = MFe(t)) in e ? Object.defineProperty(e, t, {
+function kFe(e, t, n) {
+ return (t = AFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function MFe(e) {
- var t = NFe(e, "string");
+function AFe(e) {
+ var t = jFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function NFe(e, t) {
+function jFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -74516,16 +74585,16 @@ function NFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function PFe(e, t) {
+function MFe(e, t) {
if (e == null) return {};
- var n, r, i = FFe(e, t);
+ var n, r, i = NFe(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 FFe(e, t) {
+function NFe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -74534,68 +74603,68 @@ function FFe(e, t) {
}
return n;
}
-var Aq = {
- symbolCircle: nq,
- symbolCross: nFe,
- symbolDiamond: iFe,
- symbolSquare: aFe,
- symbolStar: lFe,
- symbolTriangle: uFe,
- symbolWye: fFe
-}, IFe = Math.PI / 180, LFe = (e) => Aq[`symbol${DK(e)}`] || nq, RFe = (e, t, n) => {
+var Mq = {
+ symbolCircle: iq,
+ symbolCross: eFe,
+ symbolDiamond: nFe,
+ symbolSquare: rFe,
+ symbolStar: sFe,
+ symbolTriangle: cFe,
+ symbolWye: uFe
+}, PFe = Math.PI / 180, FFe = (e) => Mq[`symbol${kK(e)}`] || iq, IFe = (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 * IFe;
+ var r = 18 * PFe;
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;
}
-}, zFe = (e, t) => {
- Aq[`symbol${DK(e)}`] = t;
-}, jq = (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 = kq(kq({}, PFe(e, AFe)), {}, {
+}, LFe = (e, t) => {
+ Mq[`symbol${kK(e)}`] = t;
+}, Nq = (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 = jq(jq({}, MFe(e, OFe)), {}, {
type: n,
size: i,
sizeType: o
}), c = "circle";
typeof n == "string" && (c = n);
var l = () => {
- var e = LFe(c), t = pFe().type(e).size(RFe(i, o, c))();
+ var e = FFe(c), t = dFe().type(e).size(IFe(i, o, c))();
if (t !== null) return t;
- }, u = s.className, d = s.cx, f = s.cy, p = nK(s);
- return yK(d) && yK(f) && yK(i) ? /*#__PURE__*/ b.createElement("path", Dq({}, p, {
- className: wv("recharts-symbols", u),
+ }, u = s.className, d = s.cx, f = s.cy, p = iK(s);
+ return xK(d) && xK(f) && xK(i) ? /*#__PURE__*/ b.createElement("path", kq({}, p, {
+ className: Tv("recharts-symbols", u),
transform: `translate(${d}, ${f})`,
d: l()
})) : null;
};
-jq.registerSymbol = zFe;
+Nq.registerSymbol = LFe;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var Mq = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, Nq = (e, t) => {
+var Pq = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, Fq = (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) => {
- ZG(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ $G(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, BFe = (e, t, n) => (r) => (e(t, n, r), null), Pq = (e, t, n) => {
+}, RFe = (e, t, n) => (r) => (e(t, n, r), null), Iq = (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];
- ZG(i) && typeof a == "function" && (r ||= {}, r[i] = BFe(a, t, n));
+ $G(i) && typeof a == "function" && (r ||= {}, r[i] = RFe(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function Fq(e, t) {
+function Lq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -74605,30 +74674,30 @@ function Fq(e, t) {
}
return n;
}
-function VFe(e) {
+function zFe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Fq(Object(n), !0).forEach(function(t) {
- HFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Fq(Object(n)).forEach(function(t) {
+ t % 2 ? Lq(Object(n), !0).forEach(function(t) {
+ BFe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Lq(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 BFe(e, t, n) {
+ return (t = VFe(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");
+function VFe(e) {
+ var t = HFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WFe(e, t) {
+function HFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -74638,22 +74707,22 @@ function WFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Iq(e, t) {
- var n = VFe({}, e), r = t;
+function Rq(e, t) {
+ var n = zFe({}, 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 Lq() {
- return Lq = Object.assign ? Object.assign.bind() : function(e) {
+function zq() {
+ return zq = 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;
- }, Lq.apply(null, arguments);
+ }, zq.apply(null, arguments);
}
-function Rq(e, t) {
+function Bq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -74663,30 +74732,30 @@ function Rq(e, t) {
}
return n;
}
-function zq(e) {
+function Vq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Rq(Object(n), !0).forEach(function(t) {
- GFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Rq(Object(n)).forEach(function(t) {
+ t % 2 ? Bq(Object(n), !0).forEach(function(t) {
+ UFe(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 GFe(e, t, n) {
- return (t = KFe(t)) in e ? Object.defineProperty(e, t, {
+function UFe(e, t, n) {
+ return (t = WFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KFe(e) {
- var t = qFe(e, "string");
+function WFe(e) {
+ var t = GFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qFe(e, t) {
+function GFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -74696,7 +74765,7 @@ function qFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Bq = 32, JFe = {
+var Hq = 32, KFe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -74704,20 +74773,20 @@ var Bq = 32, JFe = {
verticalAlign: "middle",
labelStyle: {}
};
-function YFe(e) {
+function qFe(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function XFe(e) {
- var t = e.data, n = e.iconType, r = e.inactiveColor, i = Bq / 2, a = Bq / 6, o = Bq / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function JFe(e) {
+ var t = e.data, n = e.iconType, r = e.inactiveColor, i = Hq / 2, a = Hq / 6, o = Hq / 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: YFe(t.payload),
+ strokeDasharray: qFe(t.payload),
x1: 0,
y1: i,
- x2: Bq,
+ x2: Hq,
y2: i,
className: "recharts-legend-icon"
});
@@ -74727,35 +74796,35 @@ function XFe(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${Bq}M${2 * o},${i}
+ H${Hq}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,${Bq / 8}h${Bq}v${Bq * 3 / 4}h${-Bq}z`,
+ d: `M0,${Hq / 8}h${Hq}v${Hq * 3 / 4}h${-Hq}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ b.isValidElement(t.legendIcon)) {
- var l = zq({}, t);
+ var l = Vq({}, t);
return delete l.legendIcon, /*#__PURE__*/ b.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ b.createElement(jq, {
+ return /*#__PURE__*/ b.createElement(Nq, {
fill: s,
cx: i,
cy: i,
- size: Bq,
+ size: Hq,
sizeType: "diameter",
type: c
});
}
-function ZFe(e) {
+function YFe(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: Bq,
- height: Bq
+ width: Hq,
+ height: Hq
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10,
@@ -74766,26 +74835,26 @@ function ZFe(e) {
marginRight: 4
};
return t.map((t, r) => {
- var d = t.formatter || i, f = wv({
+ var d = t.formatter || i, f = Tv({
"recharts-legend-item": !0,
[`legend-item-${r}`]: !0,
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? zq({}, s) : {};
+ var p = typeof s == "object" ? Vq({}, 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", Lq({
+ return /*#__PURE__*/ b.createElement("li", zq({
className: f,
style: l,
key: `legend-item-${r}`
- }, Pq(e, t, r)), /*#__PURE__*/ b.createElement(iK, {
+ }, Iq(e, t, r)), /*#__PURE__*/ b.createElement(oK, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": t.value == null ? "legend icon" : `${t.value} legend icon`
- }, /*#__PURE__*/ b.createElement(XFe, {
+ }, /*#__PURE__*/ b.createElement(JFe, {
data: t,
iconType: o,
inactiveColor: a
@@ -74795,8 +74864,8 @@ function ZFe(e) {
}, m));
});
}
-var QFe = (e) => {
- var t = Iq(e, JFe), n = t.payload, r = t.layout, i = t.align;
+var XFe = (e) => {
+ var t = Rq(e, KFe), n = t.payload, r = t.layout, i = t.align;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -74806,11 +74875,11 @@ var QFe = (e) => {
return /*#__PURE__*/ b.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ b.createElement(ZFe, Lq({}, t, { payload: n })));
+ }, /*#__PURE__*/ b.createElement(YFe, zq({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function $Fe(e, t) {
+function ZFe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -74820,77 +74889,77 @@ function $Fe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function eIe(e, t) {
+function QFe(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function Vq(e) {
+function Uq(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function tIe(e) {
+function $Fe(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function Hq(e) {
- return e != null && typeof e != "function" && tIe(e.length);
+function Wq(e) {
+ return e != null && typeof e != "function" && $Fe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function nIe(e) {
+function eIe(e) {
return function(t) {
- return pK(t, e);
+ return hK(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function Uq(e) {
+function Gq(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function rIe(e) {
+function tIe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function Wq(e) {
+function Kq(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 Gq(e) {
+function qq(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 Kq = "[object RegExp]", qq = "[object String]", Jq = "[object Number]", Yq = "[object Boolean]", Xq = "[object Arguments]", Zq = "[object Symbol]", Qq = "[object Date]", $q = "[object Map]", eJ = "[object Set]", tJ = "[object Array]", iIe = "[object Function]", nJ = "[object ArrayBuffer]", rJ = "[object Object]", aIe = "[object Error]", iJ = "[object DataView]", aJ = "[object Uint8Array]", oJ = "[object Uint8ClampedArray]", sJ = "[object Uint16Array]", cJ = "[object Uint32Array]", oIe = "[object BigUint64Array]", lJ = "[object Int8Array]", uJ = "[object Int16Array]", dJ = "[object Int32Array]", sIe = "[object BigInt64Array]", fJ = "[object Float32Array]", pJ = "[object Float64Array]", mJ = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var Jq = "[object RegExp]", Yq = "[object String]", Xq = "[object Number]", Zq = "[object Boolean]", Qq = "[object Arguments]", $q = "[object Symbol]", eJ = "[object Date]", tJ = "[object Map]", nJ = "[object Set]", rJ = "[object Array]", nIe = "[object Function]", iJ = "[object ArrayBuffer]", aJ = "[object Object]", rIe = "[object Error]", oJ = "[object DataView]", sJ = "[object Uint8Array]", cJ = "[object Uint8ClampedArray]", lJ = "[object Uint16Array]", uJ = "[object Uint32Array]", iIe = "[object BigUint64Array]", dJ = "[object Int8Array]", fJ = "[object Int16Array]", pJ = "[object Int32Array]", aIe = "[object BigInt64Array]", mJ = "[object Float32Array]", hJ = "[object Float64Array]", gJ = 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 hJ(e) {
- return mJ.Buffer !== void 0 && mJ.Buffer.isBuffer(e);
+function _J(e) {
+ return gJ.Buffer !== void 0 && gJ.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function cIe(e, t) {
- return gJ(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function oIe(e, t) {
+ return vJ(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function gJ(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function vJ(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (Uq(e)) return e;
+ if (Gq(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] = gJ(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = vJ(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());
@@ -74901,132 +74970,132 @@ function gJ(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, gJ(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, vJ(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(gJ(a, void 0, n, r, i));
+ for (let a of e) t.add(vJ(a, void 0, n, r, i));
return t;
}
- if (hJ(e)) return e.subarray();
- if (rIe(e)) {
+ if (_J(e)) return e.subarray();
+ if (tIe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = gJ(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = vJ(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), _J(t, e, n, r, i), t;
+ return r.set(e, t), yJ(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), _J(t, e, n, r, i), t;
+ return r.set(e, t), yJ(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), _J(t, e, n, r, i), t;
+ return r.set(e, t), yJ(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, _J(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, yJ(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), _J(t, e, n, r, i), t;
+ return r.set(e, t), yJ(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), _J(t, e, n, r, i), t;
+ return r.set(e, t), yJ(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), _J(t, e, n, r, i), t;
+ return r.set(e, t), yJ(t, e, n, r, i), t;
}
- if (typeof e == "object" && lIe(e)) {
+ if (typeof e == "object" && sIe(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), _J(t, e, n, r, i), t;
+ return r.set(e, t), yJ(t, e, n, r, i), t;
}
return e;
}
-function _J(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...Wq(t)];
+function yJ(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...Kq(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = gJ(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = vJ(t[s], s, n, r, i));
}
}
-function lIe(e) {
- switch (Gq(e)) {
- case Xq:
- case tJ:
- case nJ:
- case iJ:
- case Yq:
+function sIe(e) {
+ switch (qq(e)) {
case Qq:
- case fJ:
- case pJ:
- case lJ:
- case uJ:
- case dJ:
- case $q:
- case Jq:
case rJ:
- case Kq:
- case eJ:
- case qq:
+ case iJ:
+ case oJ:
case Zq:
+ case eJ:
+ case mJ:
+ case hJ:
+ case dJ:
+ case fJ:
+ case pJ:
+ case tJ:
+ case Xq:
case aJ:
- case oJ:
+ case Jq:
+ case nJ:
+ case Yq:
+ case $q:
case sJ:
- case cJ: return !0;
+ case cJ:
+ case lJ:
+ case uJ: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function uIe(e) {
- return gJ(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function cIe(e) {
+ return vJ(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function vJ(e, t) {
+function bJ(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function yJ(e) {
+function xJ(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function bJ(e, t, n) {
- return typeof n == "function" ? xJ(e, t, function e(t, r, i, a, o, s) {
+function SJ(e, t, n) {
+ return typeof n == "function" ? CJ(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? xJ(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : bJ(e, t, () => void 0);
+ return c === void 0 ? CJ(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : SJ(e, t, () => void 0);
}
-function xJ(e, t, n, r, i = !1) {
+function CJ(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return dIe(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? xJ(e, { ...t }, n, r, i) : vJ(e, t);
- default: return yJ(e) && i ? typeof t != "string" || t === "" : vJ(e, t);
+ case "object": return lIe(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? CJ(e, { ...t }, n, r, i) : bJ(e, t);
+ default: return xJ(e) && i ? typeof t != "string" || t === "" : bJ(e, t);
}
}
-function dIe(e, t, n, r, i = !1) {
+function lIe(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return SJ(e, t, n, r);
- if (t instanceof Map) return fIe(e, t, n, r);
- if (t instanceof Set) return pIe(e, t, n, r);
+ if (Array.isArray(t)) return wJ(e, t, n, r);
+ if (t instanceof Map) return uIe(e, t, n, r);
+ if (t instanceof Set) return dIe(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) Uq(e) && (e = Object(e));
+ if (i) Gq(e) && (e = Object(e));
else {
- let t = Gq(e);
+ let t = qq(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -75042,13 +75111,13 @@ function dIe(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function fIe(e, t, n, r) {
+function uIe(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 SJ(e, t, n, r) {
+function wJ(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -75066,40 +75135,40 @@ function SJ(e, t, n, r) {
}
return !0;
}
-function pIe(e, t, n, r) {
- return t.size === 0 || e instanceof Set && SJ([...e], [...t], n, r);
+function dIe(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && wJ([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function CJ(e, t) {
- return bJ(e, t, () => void 0);
+function TJ(e, t) {
+ return SJ(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function mIe(e) {
- return e = uIe(e), (t) => CJ(t, e);
+function fIe(e) {
+ return e = cIe(e), (t) => TJ(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function hIe(e, t) {
- return cIe(e, (n, r, i, a) => {
+function pIe(e, t) {
+ return oIe(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (Gq(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (qq(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), _J(t, e, i, a), t;
+ return a.set(e, t), yJ(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
- case Jq:
- case qq:
- case Yq: {
+ case Xq:
+ case Yq:
+ case Zq: {
let t = new e.constructor(e?.valueOf());
- return _J(t, e), t;
+ return yJ(t, e), t;
}
- case Xq: {
+ case Qq: {
let t = {};
- return _J(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return yJ(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -75108,80 +75177,80 @@ function hIe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function gIe(e) {
- return hIe(e);
+function mIe(e) {
+ return pIe(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var _Ie = /^(?:0|[1-9]\d*)$/;
-function wJ(e, t = 2 ** 53 - 1) {
+var hIe = /^(?:0|[1-9]\d*)$/;
+function EJ(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 _Ie.test(e);
+ case "string": return hIe.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function vIe(e) {
- return typeof e == "object" && !!e && Gq(e) === "[object Arguments]";
+function gIe(e) {
+ return typeof e == "object" && !!e && qq(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function yIe(e, t) {
+function _Ie(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && cK(t) && !(t in Object(e)) ? fK(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && uK(t) && !(t in Object(e)) ? mK(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = lK(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || vIe(r)) && wJ(t) && Number(t) < r.length)) return !1;
+ let t = dK(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || gIe(r)) && EJ(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function bIe(e, t) {
+function vIe(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = lK(e);
+ case "number": e = dK(e);
}
- return t = gIe(t), function(n) {
- let r = pK(n, e);
- return r === void 0 ? yIe(n, e) : t === void 0 ? r === void 0 : CJ(r, t);
+ return t = mIe(t), function(n) {
+ let r = hK(n, e);
+ return r === void 0 ? _Ie(n, e) : t === void 0 ? r === void 0 : TJ(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function TJ(e) {
- if (e == null) return Vq;
+function DJ(e) {
+ if (e == null) return Uq;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? bIe(e[0], e[1]) : mIe(e);
- default: return nIe(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? vIe(e[0], e[1]) : fIe(e);
+ default: return eIe(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function xIe(e) {
+function yIe(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function EJ(e, t = Vq) {
- return Hq(e) ? $Fe(Array.from(e), eIe(TJ(t), 1)).map(xIe) : [];
+function OJ(e, t = Uq) {
+ return Wq(e) ? ZFe(Array.from(e), QFe(DJ(t), 1)).map(yIe) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function DJ(e, t, n) {
- return t === !0 ? EJ(e, n) : typeof t == "function" ? EJ(e, t) : e;
+function kJ(e, t, n) {
+ return t === !0 ? OJ(e, n) : typeof t == "function" ? OJ(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var SIe = /* @__PURE__ */ o(((e) => {
- var t = d(), n = Iv();
+var bIe = /* @__PURE__ */ o(((e) => {
+ var t = d(), n = Lv();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -75225,60 +75294,60 @@ var SIe = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), CIe = /* @__PURE__ */ o(((e, t) => {
- t.exports = SIe();
-})), OJ = /*#__PURE__*/ (0, b.createContext)(null), wIe = CIe(), TIe = (e) => e, kJ = () => {
- var e = (0, b.useContext)(OJ);
- return e ? e.store.dispatch : TIe;
-}, AJ = () => {}, EIe = () => AJ, DIe = (e, t) => e === t;
+})), xIe = /* @__PURE__ */ o(((e, t) => {
+ t.exports = bIe();
+})), AJ = /*#__PURE__*/ (0, b.createContext)(null), SIe = xIe(), CIe = (e) => e, jJ = () => {
+ var e = (0, b.useContext)(AJ);
+ return e ? e.store.dispatch : CIe;
+}, MJ = () => {}, wIe = () => MJ, TIe = (e, t) => e === t;
function J(e) {
- var t = (0, b.useContext)(OJ), n = (0, b.useMemo)(() => t ? (t) => {
+ var t = (0, b.useContext)(AJ), n = (0, b.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : AJ, [t, e]);
- return (0, wIe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : EIe, t ? t.store.getState : AJ, t ? t.store.getState : AJ, n, DIe);
+ } : MJ, [t, e]);
+ return (0, SIe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : wIe, t ? t.store.getState : MJ, t ? t.store.getState : MJ, n, TIe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function OIe(e, t = `expected a function, instead received ${typeof e}`) {
+function EIe(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function kIe(e, t = "expected all items to be functions, instead received the following types: ") {
+function DIe(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 jJ = (e) => Array.isArray(e) ? e : [e];
-function AIe(e) {
+var NJ = (e) => Array.isArray(e) ? e : [e];
+function OIe(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return kIe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return DIe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function jIe(e, t) {
+function kIe(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var MIe = class {
+var AIe = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, MJ = typeof WeakRef > "u" ? MIe : WeakRef, NIe = 0, NJ = 1;
-function PJ() {
+}, PJ = typeof WeakRef > "u" ? AIe : WeakRef, jIe = 0, FJ = 1;
+function IJ() {
return {
- s: NIe,
+ s: jIe,
v: void 0,
o: null,
p: null
};
}
-function PIe(e) {
- return e instanceof MJ ? e.deref() : e;
+function MIe(e) {
+ return e instanceof PJ ? e.deref() : e;
}
-function FJ(e, t = {}) {
- let n = PJ(), { resultEqualityCheck: r } = t, i, a = 0;
+function LJ(e, t = {}) {
+ let n = IJ(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -75287,43 +75356,43 @@ function FJ(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = PJ(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = IJ(), 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 = PJ(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = IJ(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === NJ) c = t.v;
+ if (t.s === FJ) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
- let e = PIe(i);
- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new MJ(c) : c;
+ let e = MIe(i);
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new PJ(c) : c;
}
- return s.s = NJ, s.v = c, c;
+ return s.s = FJ, s.v = c, c;
}
return o.clearCache = () => {
- n = PJ(), o.resetResultsCount();
+ n = IJ(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function FIe(e, ...t) {
+function NIe(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()), OIe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = FJ, argsMemoizeOptions: u = [] } = {
+ typeof o == "object" && (a = o, o = e.pop()), EIe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = LJ, argsMemoizeOptions: u = [] } = {
...n,
...a
- }, d = jJ(c), f = jJ(u), p = AIe(e), m = s(function() {
+ }, d = NJ(c), f = NJ(u), p = OIe(e), m = s(function() {
return t++, o.apply(null, arguments);
}, ...d), h = l(function() {
r++;
- let e = jIe(p, arguments);
+ let e = kIe(p, arguments);
return i = m.apply(null, e), i;
}, ...f);
return Object.assign(h, {
@@ -75345,10 +75414,10 @@ function FIe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var Y = /* @__PURE__ */ FIe(FJ);
+var Y = /* @__PURE__ */ NIe(LJ);
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function IIe(e, t = 1) {
+function PIe(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -75359,17 +75428,17 @@ function IIe(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function IJ(e, t, n) {
- return yJ(n) && (typeof t == "number" && Hq(n) && wJ(t) && t < n.length || typeof t == "string" && t in n) ? vJ(n[t], e) : !1;
+function RJ(e, t, n) {
+ return xJ(n) && (typeof t == "number" && Wq(n) && EJ(t) && t < n.length || typeof t == "string" && t in n) ? bJ(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function LJ(e) {
+function zJ(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var LIe = (e, t, n) => {
+var FIe = (e, t, n) => {
if (e !== t) {
- let r = LJ(e), i = LJ(t);
+ let r = zJ(e), i = zJ(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -75377,15 +75446,15 @@ var LIe = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, RIe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, zIe = /^\w*$/;
-function BIe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || uK(e) ? !0 : typeof e == "string" && (zIe.test(e) || !RIe.test(e)) || t != null && Object.hasOwn(t, e);
+}, IIe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, LIe = /^\w*$/;
+function RIe(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || fK(e) ? !0 : typeof e == "string" && (LIe.test(e) || !IIe.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function VIe(e, t, n, r) {
+function zIe(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = Hq(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 = Wq(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]];
@@ -75393,16 +75462,16 @@ function VIe(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) || BIe(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || RIe(e) ? e : {
key: e,
- path: fK(e)
+ path: mK(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 = LIe(e.criteria[r], t.criteria[r], n[r]);
+ let i = FIe(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -75410,42 +75479,42 @@ function VIe(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function RJ(e, ...t) {
+function BJ(e, ...t) {
let n = t.length;
- return n > 1 && IJ(e, t[0], t[1]) ? t = [] : n > 2 && IJ(t[0], t[1], t[2]) && (t = [t[0]]), VIe(e, IIe(t), ["asc"]);
+ return n > 1 && RJ(e, t[0], t[1]) ? t = [] : n > 2 && RJ(t[0], t[1], t[2]) && (t = [t[0]]), zIe(e, PIe(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var zJ = (e) => e.legend.settings, HIe = (e) => e.legend.size, UIe = Y([(e) => e.legend.payload, zJ], (e, t) => {
+var VJ = (e) => e.legend.settings, BIe = (e) => e.legend.size, VIe = Y([(e) => e.legend.payload, VJ], (e, t) => {
var n = t.itemSorter, r = e.flat(1);
- return n ? RJ(r, n) : r;
+ return n ? BJ(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function WIe() {
- return J(UIe);
+function HIe() {
+ return J(VIe);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-function GIe(e, t) {
- return YIe(e) || JIe(e, t) || qIe(e, t) || KIe();
+function UIe(e, t) {
+ return qIe(e) || KIe(e, t) || GIe(e, t) || WIe();
}
-function KIe() {
+function WIe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function qIe(e, t) {
+function GIe(e, t) {
if (e) {
- if (typeof e == "string") return BJ(e, t);
+ if (typeof e == "string") return HJ(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) ? BJ(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) ? HJ(e, t) : void 0;
}
}
-function BJ(e, t) {
+function HJ(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 KIe(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;
@@ -75466,14 +75535,14 @@ function JIe(e, t) {
return s;
}
}
-function YIe(e) {
+function qIe(e) {
if (Array.isArray(e)) return e;
}
-var VJ = 1;
-function HJ(e, t) {
- return Math.abs(e.height - t.height) > VJ || Math.abs(e.left - t.left) > VJ || Math.abs(e.top - t.top) > VJ || Math.abs(e.width - t.width) > VJ;
+var UJ = 1;
+function WJ(e, t) {
+ return Math.abs(e.height - t.height) > UJ || Math.abs(e.left - t.left) > UJ || Math.abs(e.top - t.top) > UJ || Math.abs(e.width - t.width) > UJ;
}
-function UJ(e) {
+function GJ(e) {
var t = e.getBoundingClientRect();
return {
height: t.height,
@@ -75482,8 +75551,8 @@ function UJ(e) {
width: t.width
};
}
-function WJ() {
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = GIe((0, b.useState)({
+function KJ() {
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = UIe((0, b.useState)({
height: 0,
left: 0,
top: 0,
@@ -75492,11 +75561,11 @@ function WJ() {
a.current = n;
var o = (0, b.useCallback)((e) => {
if (i.current != null && (i.current.disconnect(), i.current = null), e != null) {
- var t = UJ(e);
- if (HJ(t, a.current) && r(t), typeof ResizeObserver < "u") {
+ var t = GJ(e);
+ if (WJ(t, a.current) && r(t), typeof ResizeObserver < "u") {
var n = new ResizeObserver(() => {
- var t = UJ(e);
- HJ(t, a.current) && r(t);
+ var t = GJ(e);
+ WJ(t, a.current) && r(t);
});
n.observe(e), i.current = n;
}
@@ -75509,26 +75578,26 @@ function WJ() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function GJ(e) {
+function qJ(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 KJ = typeof Symbol == "function" && Symbol.observable || "@@observable", qJ = () => Math.random().toString(36).substring(7).split("").join("."), JJ = {
- INIT: `@@redux/INIT${/* @__PURE__ */ qJ()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ qJ()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${qJ()}`
+var JJ = typeof Symbol == "function" && Symbol.observable || "@@observable", YJ = () => Math.random().toString(36).substring(7).split("").join("."), XJ = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ YJ()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ YJ()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${YJ()}`
};
-function YJ(e) {
+function ZJ(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 XJ(e, t, n) {
- if (typeof e != "function") throw Error(GJ(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(GJ(0));
+function QJ(e, t, n) {
+ if (typeof e != "function") throw Error(qJ(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(qJ(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(GJ(1));
- return n(XJ)(e, t);
+ if (typeof n != "function") throw Error(qJ(1));
+ return n(QJ)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -75537,27 +75606,27 @@ function XJ(e, t, n) {
}));
}
function u() {
- if (c) throw Error(GJ(3));
+ if (c) throw Error(qJ(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(GJ(4));
- if (c) throw Error(GJ(5));
+ if (typeof e != "function") throw Error(qJ(4));
+ if (c) throw Error(qJ(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(GJ(6));
+ if (c) throw Error(qJ(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!YJ(e)) throw Error(GJ(7));
- if (e.type === void 0) throw Error(GJ(8));
- if (typeof e.type != "string") throw Error(GJ(17));
- if (c) throw Error(GJ(9));
+ if (!ZJ(e)) throw Error(qJ(7));
+ if (e.type === void 0) throw Error(qJ(8));
+ if (typeof e.type != "string") throw Error(qJ(17));
+ if (c) throw Error(qJ(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -75568,41 +75637,41 @@ function XJ(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(GJ(10));
- r = e, f({ type: JJ.REPLACE });
+ if (typeof e != "function") throw Error(qJ(10));
+ r = e, f({ type: XJ.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(GJ(11));
+ if (typeof t != "object" || !t) throw Error(qJ(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [KJ]() {
+ [JJ]() {
return this;
}
};
}
- return f({ type: JJ.INIT }), {
+ return f({ type: XJ.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [KJ]: m
+ [JJ]: m
};
}
-function XIe(e) {
+function JIe(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: JJ.INIT }) === void 0) throw Error(GJ(12));
- if (n(void 0, { type: JJ.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(GJ(13));
+ if (n(void 0, { type: XJ.INIT }) === void 0) throw Error(qJ(12));
+ if (n(void 0, { type: XJ.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(qJ(13));
});
}
-function ZJ(e) {
+function $J(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -75610,7 +75679,7 @@ function ZJ(e) {
}
let r = Object.keys(n), i;
try {
- XIe(n);
+ JIe(n);
} catch (e) {
i = e;
}
@@ -75619,124 +75688,124 @@ function ZJ(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(GJ(14));
+ if (u === void 0) throw t && t.type, Error(qJ(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function QJ(...e) {
+function eY(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function ZIe(...e) {
+function YIe(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(GJ(15));
+ throw Error(qJ(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = QJ(...e.map((e) => e(o)))(i.dispatch), {
+ return a = eY(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function $J(e) {
- return YJ(e) && "type" in e && typeof e.type == "string";
+function tY(e) {
+ return ZJ(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/immer/dist/immer.mjs
-var eY = Symbol.for("immer-nothing"), tY = Symbol.for("immer-draftable"), nY = Symbol.for("immer-state");
-function rY(e, ...t) {
+var nY = Symbol.for("immer-nothing"), rY = Symbol.for("immer-draftable"), iY = Symbol.for("immer-state");
+function aY(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var iY = Object, aY = iY.getPrototypeOf, oY = "constructor", sY = "prototype", cY = "configurable", lY = "enumerable", uY = "writable", dY = "value", fY = (e) => !!e && !!e[nY];
-function pY(e) {
- return e ? hY(e) || xY(e) || !!e[tY] || !!e[oY]?.[tY] || SY(e) || CY(e) : !1;
-}
-var QIe = iY[sY][oY].toString(), mY = /* @__PURE__ */ new WeakMap();
+var oY = Object, sY = oY.getPrototypeOf, cY = "constructor", lY = "prototype", uY = "configurable", dY = "enumerable", fY = "writable", pY = "value", mY = (e) => !!e && !!e[iY];
function hY(e) {
- if (!e || !wY(e)) return !1;
- let t = aY(e);
- if (t === null || t === iY[sY]) return !0;
- let n = iY.hasOwnProperty.call(t, oY) && t[oY];
+ return e ? _Y(e) || CY(e) || !!e[rY] || !!e[cY]?.[rY] || wY(e) || TY(e) : !1;
+}
+var XIe = oY[lY][cY].toString(), gY = /* @__PURE__ */ new WeakMap();
+function _Y(e) {
+ if (!e || !EY(e)) return !1;
+ let t = sY(e);
+ if (t === null || t === oY[lY]) return !0;
+ let n = oY.hasOwnProperty.call(t, cY) && t[cY];
if (n === Object) return !0;
- if (!TY(n)) return !1;
- let r = mY.get(n);
- return r === void 0 && (r = Function.toString.call(n), mY.set(n, r)), r === QIe;
+ if (!DY(n)) return !1;
+ let r = gY.get(n);
+ return r === void 0 && (r = Function.toString.call(n), gY.set(n, r)), r === XIe;
}
-function gY(e, t, n = !0) {
- _Y(e) === 0 ? (n ? Reflect.ownKeys(e) : iY.keys(e)).forEach((n) => {
+function vY(e, t, n = !0) {
+ yY(e) === 0 ? (n ? Reflect.ownKeys(e) : oY.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function _Y(e) {
- let t = e[nY];
- return t ? t.type_ : xY(e) ? 1 : SY(e) ? 2 : CY(e) ? 3 : 0;
+function yY(e) {
+ let t = e[iY];
+ return t ? t.type_ : CY(e) ? 1 : wY(e) ? 2 : TY(e) ? 3 : 0;
}
-var vY = (e, t, n = _Y(e)) => n === 2 ? e.has(t) : iY[sY].hasOwnProperty.call(e, t), yY = (e, t, n = _Y(e)) => n === 2 ? e.get(t) : e[t], bY = (e, t, n, r = _Y(e)) => {
+var bY = (e, t, n = yY(e)) => n === 2 ? e.has(t) : oY[lY].hasOwnProperty.call(e, t), xY = (e, t, n = yY(e)) => n === 2 ? e.get(t) : e[t], SY = (e, t, n, r = yY(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function $Ie(e, t) {
+function ZIe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var xY = Array.isArray, SY = (e) => e instanceof Map, CY = (e) => e instanceof Set, wY = (e) => typeof e == "object", TY = (e) => typeof e == "function", EY = (e) => typeof e == "boolean";
-function eLe(e) {
+var CY = Array.isArray, wY = (e) => e instanceof Map, TY = (e) => e instanceof Set, EY = (e) => typeof e == "object", DY = (e) => typeof e == "function", OY = (e) => typeof e == "boolean";
+function QIe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var DY = (e) => e.copy_ || e.base_, OY = (e) => e.modified_ ? e.copy_ : e.base_;
-function kY(e, t) {
- if (SY(e)) return new Map(e);
- if (CY(e)) return new Set(e);
- if (xY(e)) return Array[sY].slice.call(e);
- let n = hY(e);
+var kY = (e) => e.copy_ || e.base_, AY = (e) => e.modified_ ? e.copy_ : e.base_;
+function jY(e, t) {
+ if (wY(e)) return new Map(e);
+ if (TY(e)) return new Set(e);
+ if (CY(e)) return Array[lY].slice.call(e);
+ let n = _Y(e);
if (t === !0 || t === "class_only" && !n) {
- let t = iY.getOwnPropertyDescriptors(e);
- delete t[nY];
+ let t = oY.getOwnPropertyDescriptors(e);
+ delete t[iY];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[uY] === !1 && (a[uY] = !0, a[cY] = !0), (a.get || a.set) && (t[i] = {
- [cY]: !0,
+ a[fY] === !1 && (a[fY] = !0, a[uY] = !0), (a.get || a.set) && (t[i] = {
[uY]: !0,
- [lY]: a[lY],
- [dY]: e[i]
+ [fY]: !0,
+ [dY]: a[dY],
+ [pY]: e[i]
});
}
- return iY.create(aY(e), t);
+ return oY.create(sY(e), t);
}
{
- let t = aY(e);
+ let t = sY(e);
if (t !== null && n) return { ...e };
- let r = iY.create(t);
- return iY.assign(r, e);
- }
-}
-function AY(e, t = !1) {
- return MY(e) || fY(e) || !pY(e) || (_Y(e) > 1 && iY.defineProperties(e, {
- set: jY,
- add: jY,
- clear: jY,
- delete: jY
- }), iY.freeze(e), t && gY(e, (e, t) => {
- AY(t, !0);
+ let r = oY.create(t);
+ return oY.assign(r, e);
+ }
+}
+function MY(e, t = !1) {
+ return PY(e) || mY(e) || !hY(e) || (yY(e) > 1 && oY.defineProperties(e, {
+ set: NY,
+ add: NY,
+ clear: NY,
+ delete: NY
+ }), oY.freeze(e), t && vY(e, (e, t) => {
+ MY(t, !0);
}, !1)), e;
}
-function tLe() {
- rY(2);
+function $Ie() {
+ aY(2);
}
-var jY = { [dY]: tLe };
-function MY(e) {
- return e === null || !wY(e) || iY.isFrozen(e);
+var NY = { [pY]: $Ie };
+function PY(e) {
+ return e === null || !EY(e) || oY.isFrozen(e);
}
-var NY = "MapSet", PY = "Patches", FY = "ArrayMethods", IY = {};
-function LY(e) {
- let t = IY[e];
- return t || rY(0, e), t;
+var FY = "MapSet", IY = "Patches", LY = "ArrayMethods", RY = {};
+function zY(e) {
+ let t = RY[e];
+ return t || aY(0, e), t;
}
-var RY = (e) => !!IY[e], zY, BY = () => zY, nLe = (e, t) => ({
+var BY = (e) => !!RY[e], VY, HY = () => VY, eLe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -75744,114 +75813,114 @@ var RY = (e) => !!IY[e], zY, BY = () => zY, nLe = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: RY(NY) ? LY(NY) : void 0,
- arrayMethodsPlugin_: RY(FY) ? LY(FY) : void 0
+ mapSetPlugin_: BY(FY) ? zY(FY) : void 0,
+ arrayMethodsPlugin_: BY(LY) ? zY(LY) : void 0
});
-function VY(e, t) {
- t && (e.patchPlugin_ = LY(PY), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function UY(e, t) {
+ t && (e.patchPlugin_ = zY(IY), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function HY(e) {
- UY(e), e.drafts_.forEach(rLe), e.drafts_ = null;
+function WY(e) {
+ GY(e), e.drafts_.forEach(tLe), e.drafts_ = null;
}
-function UY(e) {
- e === zY && (zY = e.parent_);
+function GY(e) {
+ e === VY && (VY = e.parent_);
}
-var WY = (e) => zY = nLe(zY, e);
-function rLe(e) {
- let t = e[nY];
+var KY = (e) => VY = eLe(VY, e);
+function tLe(e) {
+ let t = e[iY];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function GY(e, t) {
+function qY(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[nY].modified_ && (HY(t), rY(4)), pY(e) && (e = KY(t, e));
+ n[iY].modified_ && (WY(t), aY(4)), hY(e) && (e = JY(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[nY].base_, e, t);
- } else e = KY(t, n);
- return iLe(t, e, !0), HY(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === eY ? void 0 : e;
-}
-function KY(e, t) {
- if (MY(t)) return t;
- let n = t[nY];
- if (!n) return ZY(t, e.handledSet_, e);
- if (!JY(n, e)) return t;
+ r && r.generateReplacementPatches_(n[iY].base_, e, t);
+ } else e = JY(t, n);
+ return nLe(t, e, !0), WY(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === nY ? void 0 : e;
+}
+function JY(e, t) {
+ if (PY(t)) return t;
+ let n = t[iY];
+ if (!n) return $Y(t, e.handledSet_, e);
+ if (!XY(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);
- XY(n, e);
+ QY(n, e);
}
return n.copy_;
}
-function iLe(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && AY(t, n);
+function nLe(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && MY(t, n);
}
-function qY(e) {
+function YY(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var JY = (e, t) => e.scope_ === t, aLe = [];
-function YY(e, t, n, r) {
- let i = DY(e), a = e.type_;
- if (r !== void 0 && yY(i, r, a) === t) {
- bY(i, r, n, a);
+var XY = (e, t) => e.scope_ === t, rLe = [];
+function ZY(e, t, n, r) {
+ let i = kY(e), a = e.type_;
+ if (r !== void 0 && xY(i, r, a) === t) {
+ SY(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- gY(i, (e, n) => {
- if (fY(n)) {
+ vY(i, (e, n) => {
+ if (mY(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? aLe;
- for (let e of o) bY(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? rLe;
+ for (let e of o) SY(i, e, n, a);
}
-function oLe(e, t, n) {
+function iLe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !JY(i, r)) return;
+ if (!i || !XY(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = OY(i);
- YY(e, i.draft_ ?? i, a, n), XY(i, r);
+ let a = AY(i);
+ ZY(e, i.draft_ ?? i, a, n), QY(i, r);
});
}
-function XY(e, t) {
+function QY(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);
}
- qY(e);
+ YY(e);
}
}
-function sLe(e, t, n) {
+function aLe(e, t, n) {
let { scope_: r } = e;
- if (fY(n)) {
- let i = n[nY];
- JY(i, r) && i.callbacks_.push(function() {
- rX(e), YY(e, n, OY(i), t);
+ if (mY(n)) {
+ let i = n[iY];
+ XY(i, r) && i.callbacks_.push(function() {
+ aX(e), ZY(e, n, AY(i), t);
});
- } else pY(n) && e.callbacks_.push(function() {
- let i = DY(e);
- e.type_ === 3 ? i.has(n) && ZY(n, r.handledSet_, r) : yY(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && ZY(yY(e.copy_, t, e.type_), r.handledSet_, r);
+ } else hY(n) && e.callbacks_.push(function() {
+ let i = kY(e);
+ e.type_ === 3 ? i.has(n) && $Y(n, r.handledSet_, r) : xY(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && $Y(xY(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function ZY(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || fY(e) || t.has(e) || !pY(e) || MY(e) || (t.add(e), gY(e, (r, i) => {
- if (fY(i)) {
- let t = i[nY];
- JY(t, n) && (bY(e, r, OY(t), e.type_), qY(t));
- } else pY(i) && ZY(i, t, n);
+function $Y(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || mY(e) || t.has(e) || !hY(e) || PY(e) || (t.add(e), vY(e, (r, i) => {
+ if (mY(i)) {
+ let t = i[iY];
+ XY(t, n) && (SY(e, r, AY(t), e.type_), YY(t));
+ } else hY(i) && $Y(i, t, n);
})), e;
}
-function cLe(e, t) {
- let n = xY(e), r = {
+function oLe(e, t) {
+ let n = CY(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : BY(),
+ scope_: t ? t.scope_ : HY(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -75862,108 +75931,108 @@ function cLe(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = QY;
- n && (i = [r], a = $Y);
+ }, i = r, a = eX;
+ n && (i = [r], a = tX);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var QY = {
+var eX = {
get(e, t) {
- if (t === nY) return e;
+ if (t === iY) 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 = DY(e);
- if (!vY(i, t, e.type_)) return uLe(e, i, t);
+ let i = kY(e);
+ if (!bY(i, t, e.type_)) return cLe(e, i, t);
let a = i[t];
- if (e.finalized_ || !pY(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && eLe(t)) return a;
- if (a === eX(e.base_, t) || lLe(e, t, a)) {
- rX(e);
- let n = e.type_ === 1 ? +t : t, r = iX(e.scope_, a, e, n);
+ if (e.finalized_ || !hY(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && QIe(t)) return a;
+ if (a === nX(e.base_, t) || sLe(e, t, a)) {
+ aX(e);
+ let n = e.type_ === 1 ? +t : t, r = oX(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in DY(e);
+ return t in kY(e);
},
ownKeys(e) {
- return Reflect.ownKeys(DY(e));
+ return Reflect.ownKeys(kY(e));
},
set(e, t, n) {
- let r = tX(DY(e), t);
+ let r = rX(kY(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = eX(DY(e), t), i = r?.[nY];
+ let r = nX(kY(e), t), i = r?.[iY];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.delete(t), !0;
- if ($Ie(n, r) && (n !== void 0 || vY(e.base_, t, e.type_))) return !0;
- rX(e), nX(e);
+ if (ZIe(n, r) && (n !== void 0 || bY(e.base_, t, e.type_))) return !0;
+ aX(e), iX(e);
}
- return e.copy_[t] === n && (n !== void 0 || vY(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), sLe(e, t, n)), !0;
+ return e.copy_[t] === n && (n !== void 0 || bY(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), aLe(e, t, n)), !0;
},
deleteProperty(e, t) {
- return rX(e), eX(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), nX(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return aX(e), nX(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), iX(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = DY(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = kY(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [uY]: !0,
- [cY]: e.type_ !== 1 || t !== "length",
- [lY]: r[lY],
- [dY]: n[t]
+ [fY]: !0,
+ [uY]: e.type_ !== 1 || t !== "length",
+ [dY]: r[dY],
+ [pY]: n[t]
};
},
defineProperty() {
- rY(11);
+ aY(11);
},
getPrototypeOf(e) {
- return aY(e.base_);
+ return sY(e.base_);
},
setPrototypeOf() {
- rY(12);
+ aY(12);
}
-}, $Y = {};
-for (let e in QY) {
- let t = QY[e];
- $Y[e] = function() {
+}, tX = {};
+for (let e in eX) {
+ let t = eX[e];
+ tX[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-$Y.deleteProperty = function(e, t) {
- return $Y.set.call(this, e, t, void 0);
-}, $Y.set = function(e, t, n) {
- return QY.set.call(this, e[0], t, n, e[0]);
+tX.deleteProperty = function(e, t) {
+ return tX.set.call(this, e, t, void 0);
+}, tX.set = function(e, t, n) {
+ return eX.set.call(this, e[0], t, n, e[0]);
};
-function eX(e, t) {
- let n = e[nY];
- return (n ? DY(n) : e)[t];
+function nX(e, t) {
+ let n = e[iY];
+ return (n ? kY(n) : e)[t];
}
-function lLe(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !pY(n) || n[nY] ? !1 : e.baseRefs_.has(n);
+function sLe(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !hY(n) || n[iY] ? !1 : e.baseRefs_.has(n);
}
-function uLe(e, t, n) {
- let r = tX(t, n);
- return r ? dY in r ? r[dY] : r.get?.call(e.draft_) : void 0;
+function cLe(e, t, n) {
+ let r = rX(t, n);
+ return r ? pY in r ? r[pY] : r.get?.call(e.draft_) : void 0;
}
-function tX(e, t) {
+function rX(e, t) {
if (!(t in e)) return;
- let n = aY(e);
+ let n = sY(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = aY(n);
+ n = sY(n);
}
}
-function nX(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && nX(e.parent_));
+function iX(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && iX(e.parent_));
}
-function rX(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), kY(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+function aX(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), jY(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var dLe = class {
+var lLe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (TY(e) && !TY(t)) {
+ if (DY(e) && !DY(t)) {
let n = t;
t = e;
let r = this;
@@ -75971,30 +76040,30 @@ var dLe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- TY(t) || rY(6), n !== void 0 && !TY(n) && rY(7);
+ DY(t) || aY(6), n !== void 0 && !DY(n) && aY(7);
let r;
- if (pY(e)) {
- let i = WY(this), a = iX(i, e, void 0), o = !0;
+ if (hY(e)) {
+ let i = KY(this), a = oX(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? HY(i) : UY(i);
+ o ? WY(i) : GY(i);
}
- return VY(i, n), GY(r, i);
+ return UY(i, n), qY(r, i);
}
- if (!e || !wY(e)) {
- if (r = t(e), r === void 0 && (r = e), r === eY && (r = void 0), this.autoFreeze_ && AY(r, !0), n) {
+ if (!e || !EY(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === nY && (r = void 0), this.autoFreeze_ && MY(r, !0), n) {
let t = [], i = [];
- LY(PY).generateReplacementPatches_(e, r, {
+ zY(IY).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- rY(1, e);
+ aY(1, e);
}, this.produceWithPatches = (e, t) => {
- if (TY(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (DY(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -76003,18 +76072,18 @@ var dLe = class {
n,
r
];
- }, EY(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), EY(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), EY(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, OY(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), OY(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), OY(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- pY(e) || rY(8), fY(e) && (e = aX(e));
- let t = WY(this), n = iX(t, e, void 0);
- return n[nY].isManual_ = !0, UY(t), n;
+ hY(e) || aY(8), mY(e) && (e = sX(e));
+ let t = KY(this), n = oX(t, e, void 0);
+ return n[iY].isManual_ = !0, GY(t), n;
}
finishDraft(e, t) {
- let n = e && e[nY];
- (!n || !n.isManual_) && rY(9);
+ let n = e && e[iY];
+ (!n || !n.isManual_) && aY(9);
let { scope_: r } = n;
- return VY(r, t), GY(void 0, r);
+ return UY(r, t), qY(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -76038,48 +76107,48 @@ var dLe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = LY(PY).applyPatches_;
- return fY(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = zY(IY).applyPatches_;
+ return mY(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function iX(e, t, n, r) {
- let [i, a] = SY(t) ? LY(NY).proxyMap_(t, n) : CY(t) ? LY(NY).proxySet_(t, n) : cLe(t, n);
- return (n?.scope_ ?? BY()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? oLe(n, a, r) : a.callbacks_.push(function(e) {
+function oX(e, t, n, r) {
+ let [i, a] = wY(t) ? zY(FY).proxyMap_(t, n) : TY(t) ? zY(FY).proxySet_(t, n) : oLe(t, n);
+ return (n?.scope_ ?? HY()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? iLe(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 aX(e) {
- return fY(e) || rY(10, e), oX(e);
+function sX(e) {
+ return mY(e) || aY(10, e), cX(e);
}
-function oX(e) {
- if (!pY(e) || MY(e)) return e;
- let t = e[nY], n, r = !0;
+function cX(e) {
+ if (!hY(e) || PY(e)) return e;
+ let t = e[iY], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = kY(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = kY(e, !0);
- return gY(n, (e, t) => {
- bY(n, e, oX(t));
+ t.finalized_ = !0, n = jY(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = jY(e, !0);
+ return vY(n, (e, t) => {
+ SY(n, e, cX(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var sX = new dLe().produce, cX = (e) => e;
+var lX = new lLe().produce, uX = (e) => e;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function lX(e) {
+function dX(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var fLe = lX(), pLe = lX, mLe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? QJ : QJ.apply(null, arguments);
+var uLe = dX(), dLe = dX, fLe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? eY : eY.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function uX(e, t) {
+function fX(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(GX(0));
+ if (!r) throw Error(qX(0));
return {
type: e,
payload: r.payload,
@@ -76092,9 +76161,9 @@ function uX(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => $J(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => tY(t) && t.type === e, n;
}
-var dX = class e extends Array {
+var pX = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -76108,29 +76177,29 @@ var dX = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function fX(e) {
- return pY(e) ? sX(e, () => {}) : e;
+function mX(e) {
+ return hY(e) ? lX(e, () => {}) : e;
}
-function pX(e, t, n) {
+function hX(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function hLe(e) {
+function pLe(e) {
return typeof e == "boolean";
}
-var gLe = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new dX();
- return t && (hLe(t) ? a.push(fLe) : a.push(pLe(t.extraArgument))), a;
-}, mX = "RTK_autoBatch", hX = () => (e) => ({
+var mLe = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new pX();
+ return t && (pLe(t) ? a.push(uLe) : a.push(dLe(t.extraArgument))), a;
+}, gX = "RTK_autoBatch", _X = () => (e) => ({
payload: e,
- meta: { [mX]: !0 }
-}), gX = (e) => (t) => {
+ meta: { [gX]: !0 }
+}), vX = (e) => (t) => {
setTimeout(t, e);
-}, _Le = (e, t) => (n) => {
+}, hLe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, _X = (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 ? _Le(window.requestAnimationFrame, 100) : gX(10) : e.type === "callback" ? e.queueNotification : gX(e.timeout), l = () => {
+}, yX = (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 ? hLe(window.requestAnimationFrame, 100) : vX(10) : e.type === "callback" ? e.queueNotification : vX(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -76142,37 +76211,37 @@ var gLe = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[mX], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[gX], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, vLe = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new dX(e);
- return n && r.push(_X(typeof n == "object" ? n : void 0)), r;
+}, gLe = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new pX(e);
+ return n && r.push(yX(typeof n == "object" ? n : void 0)), r;
};
-function yLe(e) {
- let t = gLe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function _Le(e) {
+ let t = mLe(), { 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 (YJ(n)) c = ZJ(n);
- else throw Error(GX(1));
+ else if (ZJ(n)) c = $J(n);
+ else throw Error(qX(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = QJ;
- i && (u = mLe({
+ let u = eY;
+ i && (u = fLe({
trace: !1,
...typeof i == "object" && i
}));
- let d = vLe(ZIe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return XJ(c, o, p);
+ let d = gLe(YIe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return QJ(c, o, p);
}
-function vX(e) {
+function bX(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(GX(28));
- if (r in t) throw Error(GX(29));
+ if (!r) throw Error(qX(28));
+ if (r in t) throw Error(qX(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -76197,25 +76266,25 @@ function vX(e) {
r
];
}
-function bLe(e) {
+function vLe(e) {
return typeof e == "function";
}
-function xLe(e, t) {
- let [n, r, i] = vX(t), a;
- if (bLe(e)) a = () => fX(e());
+function yLe(e, t) {
+ let [n, r, i] = bX(t), a;
+ if (vLe(e)) a = () => mX(e());
else {
- let t = fX(e);
+ let t = mX(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 (fY(e)) {
+ if (mY(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (pY(e)) return sX(e, (e) => n(e, t));
+ if (hY(e)) return lX(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -76230,20 +76299,20 @@ function xLe(e, t) {
}
return o.getInitialState = a, o;
}
-var SLe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", CLe = (e = 21) => {
+var bLe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", xLe = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += SLe[Math.random() * 64 | 0];
+ for (; n--;) t += bLe[Math.random() * 64 | 0];
return t;
-}, wLe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function TLe(e, t) {
+}, SLe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function CLe(e, t) {
return `${e}/${t}`;
}
-function ELe({ creators: e } = {}) {
- let t = e?.asyncThunk?.[wLe];
+function wLe({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[SLe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(GX(11));
- let i = (typeof e.reducers == "function" ? e.reducers(OLe()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(qX(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(ELe()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -76251,8 +76320,8 @@ function ELe({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(GX(12));
- if (n in o.sliceCaseReducersByType) throw Error(GX(13));
+ if (!n) throw Error(qX(12));
+ if (n in o.sliceCaseReducersByType) throw Error(qX(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -76271,17 +76340,17 @@ function ELe({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: TLe(n, r),
+ type: CLe(n, r),
createNotation: typeof e.reducers == "function"
};
- ALe(a) ? MLe(o, a, s, t) : kLe(o, a, s);
+ OLe(a) ? ALe(o, a, s, t) : DLe(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? vX(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? bX(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return xLe(e.initialState, (e) => {
+ return yLe(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);
@@ -76298,12 +76367,12 @@ function ELe({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = pX(d, r, m)), i;
+ return i === void 0 && n && (i = hX(d, r, m)), i;
}
function i(t = l) {
- return pX(pX(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return hX(hX(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = DLe(a, t, () => pX(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = TLe(a, t, () => hX(d, t, m), n);
return r;
});
}
@@ -76337,15 +76406,15 @@ function ELe({ creators: e } = {}) {
return g;
};
}
-function DLe(e, t, n, r) {
+function TLe(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 yX = /* @__PURE__ */ ELe();
-function OLe() {
+var xX = /* @__PURE__ */ wLe();
+function ELe() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -76369,53 +76438,53 @@ function OLe() {
asyncThunk: e
};
}
-function kLe({ type: e, reducerName: t, createNotation: n }, r, i) {
+function DLe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !jLe(r)) throw Error(GX(17));
+ if (n && !kLe(r)) throw Error(qX(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? uX(e, o) : uX(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? fX(e, o) : fX(e));
}
-function ALe(e) {
+function OLe(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function jLe(e) {
+function kLe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function MLe({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(GX(18));
+function ALe({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(qX(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 || bX,
- pending: s || bX,
- rejected: c || bX,
- settled: l || bX
+ fulfilled: o || SX,
+ pending: s || SX,
+ rejected: c || SX,
+ settled: l || SX
});
}
-function bX() {}
-var NLe = "task", xX = "listener", SX = "completed", CX = "cancelled", PLe = `task-${CX}`, FLe = `task-${SX}`, wX = `${xX}-${CX}`, ILe = `${xX}-${SX}`, TX = class {
+function SX() {}
+var jLe = "task", CX = "listener", wX = "completed", TX = "cancelled", MLe = `task-${TX}`, NLe = `task-${wX}`, EX = `${CX}-${TX}`, PLe = `${CX}-${wX}`, DX = class {
constructor(e) {
- this.code = e, this.message = `${NLe} ${CX} (reason: ${e})`;
+ this.code = e, this.message = `${jLe} ${TX} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, EX = (e, t) => {
- if (typeof e != "function") throw TypeError(GX(32));
-}, DX = () => {}, OX = (e, t = DX) => (e.catch(t), e), kX = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), AX = (e) => {
- if (e.aborted) throw new TX(e.reason);
+}, OX = (e, t) => {
+ if (typeof e != "function") throw TypeError(qX(32));
+}, kX = () => {}, AX = (e, t = kX) => (e.catch(t), e), jX = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), MX = (e) => {
+ if (e.aborted) throw new DX(e.reason);
};
-function jX(e, t) {
- let n = DX;
+function NX(e, t) {
+ let n = kX;
return new Promise((r, i) => {
- let a = () => i(new TX(e.reason));
- e.aborted ? a() : (n = kX(e, a), t.finally(() => n()).then(r, i));
+ let a = () => i(new DX(e.reason));
+ e.aborted ? a() : (n = jX(e, a), t.finally(() => n()).then(r, i));
}).finally(() => {
- n = DX;
+ n = kX;
});
}
-var LLe = async (e, t) => {
+var FLe = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -76423,40 +76492,40 @@ var LLe = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof TX ? "cancelled" : "rejected",
+ status: e instanceof DX ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, MX = (e) => (t) => OX(jX(e, t).then((t) => (AX(e), t))), NX = (e) => {
- let t = MX(e);
+}, PX = (e) => (t) => AX(NX(e, t).then((t) => (MX(e), t))), FX = (e) => {
+ let t = PX(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: PX } = Object, FX = {}, IX = "listenerMiddleware", RLe = (e, t) => {
- let n = (t) => kX(e, () => t.abort(e.reason));
+}, { assign: IX } = Object, LX = {}, RX = "listenerMiddleware", ILe = (e, t) => {
+ let n = (t) => jX(e, () => t.abort(e.reason));
return (r, i) => {
- EX(r, "taskExecutor");
+ OX(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = LLe(async () => {
- AX(e), AX(a.signal);
+ let o = FLe(async () => {
+ MX(e), MX(a.signal);
let t = await r({
- pause: MX(a.signal),
- delay: NX(a.signal),
+ pause: PX(a.signal),
+ delay: FX(a.signal),
signal: a.signal
});
- return AX(a.signal), t;
- }, () => a.abort(FLe));
- return i?.autoJoin && t.push(o.catch(DX)), {
- result: MX(e)(o),
+ return MX(a.signal), t;
+ }, () => a.abort(NLe));
+ return i?.autoJoin && t.push(o.catch(kX)), {
+ result: PX(e)(o),
cancel() {
- a.abort(PLe);
+ a.abort(MLe);
}
};
};
-}, zLe = (e, t) => {
+}, LLe = (e, t) => {
let n = async (n, r) => {
- AX(t);
+ MX(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -76474,47 +76543,47 @@ var LLe = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await jX(t, Promise.race(a));
- return AX(t), e;
+ let e = await NX(t, Promise.race(a));
+ return MX(t), e;
} finally {
i();
}
};
- return ((e, t) => OX(n(e, t)));
-}, LX = (e) => {
+ return ((e, t) => AX(n(e, t)));
+}, zX = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = uX(t).match;
+ if (t) i = fX(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(GX(21));
- return EX(a, "options.listener"), {
+ else if (!i) throw Error(qX(21));
+ return OX(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, RX = /* @__PURE__ */ PX((e) => {
- let { type: t, predicate: n, effect: r } = LX(e);
+}, BX = /* @__PURE__ */ IX((e) => {
+ let { type: t, predicate: n, effect: r } = zX(e);
return {
- id: CLe(),
+ id: xLe(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(GX(22));
+ throw Error(qX(22));
}
};
-}, { withTypes: () => RX }), zX = (e, t) => {
- let { type: n, effect: r, predicate: i } = LX(t);
+}, { withTypes: () => BX }), VX = (e, t) => {
+ let { type: n, effect: r, predicate: i } = zX(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, BX = (e) => {
+}, HX = (e) => {
e.pending.forEach((e) => {
- e.abort(wX);
+ e.abort(EX);
});
-}, BLe = (e, t) => () => {
- for (let e of t.keys()) BX(e);
+}, RLe = (e, t) => () => {
+ for (let e of t.keys()) HX(e);
e.clear();
-}, VX = (e, t, n) => {
+}, UX = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -76522,74 +76591,74 @@ var LLe = async (e, t) => {
throw e;
}, 0);
}
-}, HX = /* @__PURE__ */ PX(/* @__PURE__ */ uX(`${IX}/add`), { withTypes: () => HX }), VLe = /* @__PURE__ */ uX(`${IX}/removeAll`), UX = /* @__PURE__ */ PX(/* @__PURE__ */ uX(`${IX}/remove`), { withTypes: () => UX }), HLe = (...e) => {
- console.error(`${IX}/error`, ...e);
-}, WX = (e = {}) => {
+}, WX = /* @__PURE__ */ IX(/* @__PURE__ */ fX(`${RX}/add`), { withTypes: () => WX }), zLe = /* @__PURE__ */ fX(`${RX}/removeAll`), GX = /* @__PURE__ */ IX(/* @__PURE__ */ fX(`${RX}/remove`), { withTypes: () => GX }), BLe = (...e) => {
+ console.error(`${RX}/error`, ...e);
+}, KX = (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 = HLe } = e;
- EX(o, "onError");
+ }, { extra: a, onError: o = BLe } = e;
+ OX(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && BX(e);
+ e.unsubscribe(), t?.cancelActive && HX(e);
}), c = ((e) => {
- let n = zX(t, e) ?? RX(e);
+ let n = VX(t, e) ?? BX(e);
return s(n);
});
- PX(c, { withTypes: () => c });
+ IX(c, { withTypes: () => c });
let l = (e) => {
- let n = zX(t, e);
- return n && (n.unsubscribe(), e.cancelActive && BX(n)), !!n;
+ let n = VX(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && HX(n)), !!n;
};
- PX(l, { withTypes: () => l });
+ IX(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = zLe(c, u.signal), f = [];
+ let u = new AbortController(), d = LLe(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, PX({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, IX({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: NX(u.signal),
- pause: MX(u.signal),
+ delay: FX(u.signal),
+ pause: PX(u.signal),
extra: a,
signal: u.signal,
- fork: RLe(u.signal, f),
+ fork: ILe(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(wX), n.delete(e));
+ e !== u && (e.abort(EX), n.delete(e));
});
},
cancel: () => {
- u.abort(wX), e.pending.delete(u);
+ u.abort(EX), e.pending.delete(u);
},
throwIfCancelled: () => {
- AX(u.signal);
+ MX(u.signal);
}
})));
} catch (e) {
- e instanceof TX || VX(o, e, { raisedBy: "effect" });
+ e instanceof DX || UX(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(ILe), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(PLe), i(e), e.pending.delete(u);
}
- }, d = BLe(t, n);
+ }, d = RLe(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!$J(r)) return n(r);
- if (HX.match(r)) return c(r.payload);
- if (VLe.match(r)) {
+ if (!tY(r)) return n(r);
+ if (WX.match(r)) return c(r.payload);
+ if (zLe.match(r)) {
d();
return;
}
- if (UX.match(r)) return l(r.payload);
+ if (GX.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === FX) throw Error(GX(23));
+ if (i === LX) throw Error(qX(23));
return i;
}, s;
try {
@@ -76600,13 +76669,13 @@ var LLe = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, VX(o, e, { raisedBy: "predicate" });
+ s = !1, UX(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = FX;
+ i = LX;
}
return s;
},
@@ -76615,12 +76684,12 @@ var LLe = async (e, t) => {
clearListeners: d
};
};
-function GX(e) {
+function qX(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 KX = yX({
+var JX = xX({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -76648,23 +76717,23 @@ var KX = yX({
e.scale = t.payload;
}
}
-}), qX = KX.actions, ULe = qX.setMargin, WLe = qX.setLayout, GLe = qX.setChartSize, KLe = qX.setScale, qLe = KX.reducer;
+}), YX = JX.actions, VLe = YX.setMargin, HLe = YX.setLayout, ULe = YX.setChartSize, WLe = YX.setScale, GLe = JX.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function JX(e, t, n) {
+function XX(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 YX(e) {
+function ZX(e) {
return Number.isFinite(e);
}
-function XX(e) {
+function QX(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function ZX(e, t) {
+function $X(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -76674,30 +76743,30 @@ function ZX(e, t) {
}
return n;
}
-function QX(e) {
+function eZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? ZX(Object(n), !0).forEach(function(t) {
- JLe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZX(Object(n)).forEach(function(t) {
+ t % 2 ? $X(Object(n), !0).forEach(function(t) {
+ KLe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $X(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function JLe(e, t, n) {
- return (t = YLe(t)) in e ? Object.defineProperty(e, t, {
+function KLe(e, t, n) {
+ return (t = qLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function YLe(e) {
- var t = XLe(e, "string");
+function qLe(e) {
+ var t = JLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function XLe(e, t) {
+function JLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -76707,72 +76776,72 @@ function XLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function $X(e, t, n) {
- return EK(e) || EK(t) ? n : bK(t) ? pK(e, t, n) : typeof t == "function" ? t(e) : n;
+function tZ(e, t, n) {
+ return OK(e) || OK(t) ? n : SK(t) ? hK(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var ZLe = (e, t, n) => {
+var YLe = (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 (PK(c)) {
- if (c === "top" && yK(e.top)) return QX(QX({}, e), {}, { top: e.top + (i || 0) + u });
- if (c === "bottom" && yK(e.bottom)) return QX(QX({}, e), {}, { bottom: e.bottom + (i || 0) + u });
- if (c === "left" && yK(e.left)) return QX(QX({}, e), {}, { left: e.left + (r || 0) + u });
- if (c === "right" && yK(e.right)) return QX(QX({}, e), {}, { right: e.right + (r || 0) + u });
+ if (IK(c)) {
+ if (c === "top" && xK(e.top)) return eZ(eZ({}, e), {}, { top: e.top + (i || 0) + u });
+ if (c === "bottom" && xK(e.bottom)) return eZ(eZ({}, e), {}, { bottom: e.bottom + (i || 0) + u });
+ if (c === "left" && xK(e.left)) return eZ(eZ({}, e), {}, { left: e.left + (r || 0) + u });
+ if (c === "right" && xK(e.right)) return eZ(eZ({}, e), {}, { right: e.right + (r || 0) + u });
}
return e;
}
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && yK(e[a])) return QX(QX({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && yK(e[o])) return QX(QX({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && xK(e[a])) return eZ(eZ({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && xK(e[o])) return eZ(eZ({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, eZ = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", tZ = (e, t, n, r) => {
+}, nZ = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", rZ = (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;
-}, nZ = (e, t, n) => {
+}, iZ = (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 ? gK(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? vK(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 YX(i) ? {
+ return ZX(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(OK) : c && l ? l.map((e, t) => {
+ }).filter(AK) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return YX(n) ? {
+ return ZX(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(OK) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(AK) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return YX(n) ? {
+ return ZX(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(OK) : o.domain().map((e, t) => {
+ }).filter(AK) : o.domain().map((e, t) => {
var n = o.map(e);
- return YX(n) ? {
+ return ZX(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(OK);
-}, rZ = (e, t) => {
- if (!t || t.length !== 2 || !yK(t[0]) || !yK(t[1])) return e;
+ }).filter(AK);
+}, aZ = (e, t) => {
+ if (!t || t.length !== 2 || !xK(t[0]) || !xK(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 (!yK(e[0]) || e[0] < n) && (i[0] = n), (!yK(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, QLe = {
+ return (!xK(e[0]) || e[0] < n) && (i[0] = n), (!xK(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
+}, XLe = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -76780,16 +76849,16 @@ var ZLe = (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 = _K(c) ? l : c;
+ var c = s[1], l = s[0], u = yK(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: DFe,
- none: Tq,
- silhouette: OFe,
- wiggle: kFe,
+ expand: TFe,
+ none: Dq,
+ silhouette: EFe,
+ wiggle: DFe,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -76797,70 +76866,70 @@ var ZLe = (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 = _K(o[1]) ? o[0] : o[1];
+ var s = yK(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, $Le = (e, t, n) => {
- var r = QLe[n] ?? Tq, i = EFe().keys(t).value((e, t) => Number($X(e, t, 0))).order(Eq).offset(r)(e);
+}, ZLe = (e, t, n) => {
+ var r = XLe[n] ?? Dq, i = wFe().keys(t).value((e, t) => Number(tZ(e, t, 0))).order(Oq).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = $X(e[i], t[r], 0);
- Array.isArray(a) && a.length === 2 && yK(a[0]) && yK(a[1]) && (n[0] = a[0], n[1] = a[1]);
+ var a = tZ(e[i], t[r], 0);
+ Array.isArray(a) && a.length === 2 && xK(a[0]) && xK(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
-function iZ(e) {
+function oZ(e) {
return e == null ? void 0 : String(e);
}
-function aZ(e) {
+function sZ(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 && !EK(i[t.dataKey])) {
- var s = TK(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !OK(i[t.dataKey])) {
+ var s = DK(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 = $X(i, EK(o) ? t.dataKey : o), l = t.scale.map(c);
- return yK(l) ? l : null;
+ var c = tZ(i, OK(o) ? t.dataKey : o), l = t.scale.map(c);
+ return xK(l) ? l : null;
}
-var oZ = (e) => {
+var cZ = (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 = $X(a, t.dataKey, t.scale.domain()[o]);
- if (EK(s)) return null;
+ var s = tZ(a, t.dataKey, t.scale.domain()[o]);
+ if (OK(s)) return null;
var c = t.scale.map(s);
- return yK(c) ? c - i / 2 + r : null;
-}, sZ = (e) => {
+ return xK(c) ? c - i / 2 + r : null;
+}, lZ = (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];
-}, eRe = (e) => {
- var t = e.flat(2).filter(yK);
+}, QLe = (e) => {
+ var t = e.flat(2).filter(xK);
return [Math.min(...t), Math.max(...t)];
-}, tRe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], nRe = (e, t, n) => {
- if (e != null && Object.keys(e).length !== 0) return tRe(Object.keys(e).reduce((r, i) => {
+}, $Le = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], eRe = (e, t, n) => {
+ if (e != null && Object.keys(e).length !== 0) return $Le(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var o = a.stackedData.reduce((e, r) => {
- var i = eRe(JX(r, t, n));
- return !YX(i[0]) || !YX(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = QLe(XX(r, t, n));
+ return !ZX(i[0]) || !ZX(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]));
-}, cZ = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, lZ = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, uZ = (e, t, n) => {
+}, uZ = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, dZ = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, fZ = (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 = RJ(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {
+ for (var i = BJ(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);
}
@@ -76870,26 +76939,26 @@ var oZ = (e) => {
}
return n ? void 0 : 0;
};
-function dZ(e) {
+function pZ(e) {
var t = e.tooltipEntrySettings, n = e.dataKey, r = e.payload, i = e.value, a = e.name;
- return QX(QX({}, t), {}, {
+ return eZ(eZ({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function fZ(e, t) {
+function mZ(e, t) {
if (e != null) return String(e);
if (typeof t == "string") return t;
}
-var rRe = (e, t) => {
+var tRe = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, iRe = (e, t) => t === "centric" ? e.angle : e.radius, pZ = (e) => e.layout.width, mZ = (e) => e.layout.height, aRe = (e) => e.layout.scale, hZ = (e) => e.layout.margin, gZ = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), _Z = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), oRe = "data-recharts-item-index";
+}, nRe = (e, t) => t === "centric" ? e.angle : e.radius, hZ = (e) => e.layout.width, gZ = (e) => e.layout.height, rRe = (e) => e.layout.scale, _Z = (e) => e.layout.margin, vZ = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), yZ = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), iRe = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function vZ(e, t) {
+function bZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -76899,30 +76968,30 @@ function vZ(e, t) {
}
return n;
}
-function yZ(e) {
+function xZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? vZ(Object(n), !0).forEach(function(t) {
- sRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vZ(Object(n)).forEach(function(t) {
+ t % 2 ? bZ(Object(n), !0).forEach(function(t) {
+ aRe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function sRe(e, t, n) {
- return (t = cRe(t)) in e ? Object.defineProperty(e, t, {
+function aRe(e, t, n) {
+ return (t = oRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function cRe(e) {
- var t = lRe(e, "string");
+function oRe(e) {
+ var t = sRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function lRe(e, t) {
+function sRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -76932,67 +77001,67 @@ function lRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var uRe = (e) => e.brush.height;
-function dRe(e) {
- return _Z(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+var cRe = (e) => e.brush.height;
+function lRe(e) {
+ return yZ(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function fRe(e) {
- return _Z(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+function uRe(e) {
+ return yZ(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function pRe(e) {
- return gZ(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
+function dRe(e) {
+ return vZ(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
}
-function mRe(e) {
- return gZ(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
+function fRe(e) {
+ return vZ(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
}
-var bZ = Y([
- pZ,
- mZ,
+var SZ = Y([
hZ,
+ gZ,
+ _Z,
+ cRe,
+ lRe,
uRe,
dRe,
fRe,
- pRe,
- mRe,
- zJ,
- HIe
+ VJ,
+ BIe
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = yZ(yZ({}, {
+ }, d = xZ(xZ({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = ZLe(d, c, l);
+ d.bottom += r, d = YLe(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return yZ(yZ({ brushBottom: f }, d), {}, {
+ return xZ(xZ({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), xZ = Y(bZ, (e) => ({
+}), CZ = Y(SZ, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), SZ = Y(pZ, mZ, (e, t) => ({
+})), wZ = Y(hZ, gZ, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), hRe = /*#__PURE__*/ (0, b.createContext)(null), CZ = () => (0, b.useContext)(hRe) != null, wZ = (e) => e.brush, TZ = Y([
- wZ,
- bZ,
- hZ
+})), pRe = /*#__PURE__*/ (0, b.createContext)(null), TZ = () => (0, b.useContext)(pRe) != null, EZ = (e) => e.brush, DZ = Y([
+ EZ,
+ SZ,
+ _Z
], (e, t, n) => ({
height: e.height,
- x: yK(e.x) ? e.x : t.left,
- y: yK(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
- width: yK(e.width) ? e.width : t.width
+ x: xK(e.x) ? e.x : t.left,
+ y: xK(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
+ width: xK(e.width) ? e.width : t.width
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function gRe(e, t, { signal: n, edges: r } = {}) {
+function mRe(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 = () => {
@@ -77017,11 +77086,11 @@ function gRe(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function _Re(e, t = 0, n = {}) {
+function hRe(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 = gRe(function(...t) {
+ let s, c = null, l = mRe(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);
@@ -77030,9 +77099,9 @@ function _Re(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function vRe(e, t = 0, n = {}) {
+function gRe(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return _Re(e, t, {
+ return hRe(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -77040,7 +77109,7 @@ function vRe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var EZ = function(e, t) {
+var OZ = 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.");
@@ -77049,7 +77118,7 @@ var EZ = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, DZ = {
+}, kZ = {
width: "100%",
height: "100%",
debounce: 0,
@@ -77058,36 +77127,36 @@ var EZ = function(e, t) {
width: -1,
height: -1
}
-}, OZ = (e, t, n) => {
- var r = n.width, i = r === void 0 ? DZ.width : r, a = n.height, o = a === void 0 ? DZ.height : a, s = n.aspect, c = n.maxHeight, l = vK(i) ? e : Number(i), u = vK(o) ? t : Number(o);
+}, AZ = (e, t, n) => {
+ var r = n.width, i = r === void 0 ? kZ.width : r, a = n.height, o = a === void 0 ? kZ.height : a, s = n.aspect, c = n.maxHeight, l = bK(i) ? e : Number(i), u = bK(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
};
-}, yRe = {
+}, _Re = {
width: 0,
height: 0,
overflow: "visible"
-}, bRe = {
+}, vRe = {
width: 0,
overflowX: "visible"
-}, xRe = {
+}, yRe = {
height: 0,
overflowY: "visible"
-}, SRe = {}, CRe = (e) => {
- var t = e.width, n = e.height, r = vK(t), i = vK(n);
- return r && i ? yRe : r ? bRe : i ? xRe : SRe;
+}, bRe = {}, xRe = (e) => {
+ var t = e.width, n = e.height, r = bK(t), i = bK(n);
+ return r && i ? _Re : r ? vRe : i ? yRe : bRe;
};
-function wRe(e) {
+function SRe(e) {
var t = e.width, n = e.height, r = e.aspect, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = DZ.width, a = DZ.height) : i === void 0 ? i = r && r > 0 ? void 0 : DZ.width : a === void 0 && (a = r && r > 0 ? void 0 : DZ.height), {
+ return i === void 0 && a === void 0 ? (i = kZ.width, a = kZ.height) : i === void 0 ? i = r && r > 0 ? void 0 : kZ.width : a === void 0 && (a = r && r > 0 ? void 0 : kZ.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-var TRe = [
+var CRe = [
"aspect",
"initialDimension",
"width",
@@ -77102,16 +77171,16 @@ var TRe = [
"onResize",
"style"
];
-function kZ() {
- return kZ = Object.assign ? Object.assign.bind() : function(e) {
+function jZ() {
+ return jZ = 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;
- }, kZ.apply(null, arguments);
+ }, jZ.apply(null, arguments);
}
-function AZ(e, t) {
+function MZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77121,30 +77190,30 @@ function AZ(e, t) {
}
return n;
}
-function jZ(e) {
+function NZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? AZ(Object(n), !0).forEach(function(t) {
- ERe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AZ(Object(n)).forEach(function(t) {
+ t % 2 ? MZ(Object(n), !0).forEach(function(t) {
+ wRe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ERe(e, t, n) {
- return (t = DRe(t)) in e ? Object.defineProperty(e, t, {
+function wRe(e, t, n) {
+ return (t = TRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function DRe(e) {
- var t = ORe(e, "string");
+function TRe(e) {
+ var t = ERe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ORe(e, t) {
+function ERe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77154,25 +77223,25 @@ function ORe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function kRe(e, t) {
- return NRe(e) || MRe(e, t) || jRe(e, t) || ARe();
+function DRe(e, t) {
+ return jRe(e) || ARe(e, t) || kRe(e, t) || ORe();
}
-function ARe() {
+function ORe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function jRe(e, t) {
+function kRe(e, t) {
if (e) {
- if (typeof e == "string") return MZ(e, t);
+ if (typeof e == "string") return PZ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? MZ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? PZ(e, t) : void 0;
}
}
-function MZ(e, t) {
+function PZ(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 MRe(e, t) {
+function ARe(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;
@@ -77193,19 +77262,19 @@ function MRe(e, t) {
return s;
}
}
-function NRe(e) {
+function jRe(e) {
if (Array.isArray(e)) return e;
}
-function PRe(e, t) {
+function MRe(e, t) {
if (e == null) return {};
- var n, r, i = FRe(e, t);
+ var n, r, i = NRe(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 FRe(e, t) {
+function NRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -77214,21 +77283,21 @@ function FRe(e, t) {
}
return n;
}
-var NZ = /*#__PURE__*/ (0, b.createContext)(DZ.initialDimension);
-function IRe(e) {
- return XX(e.width) && XX(e.height);
+var FZ = /*#__PURE__*/ (0, b.createContext)(kZ.initialDimension);
+function PRe(e) {
+ return QX(e.width) && QX(e.height);
}
-function PZ(e) {
+function IZ(e) {
var t = e.children, n = e.width, r = e.height, i = (0, b.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return IRe(i) ? /*#__PURE__*/ b.createElement(NZ.Provider, { value: i }, t) : null;
+ return PRe(i) ? /*#__PURE__*/ b.createElement(FZ.Provider, { value: i }, t) : null;
}
-var FZ = () => (0, b.useContext)(NZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.aspect, r = e.initialDimension, i = r === void 0 ? DZ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? DZ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? DZ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = PRe(e, TRe), x = (0, b.useRef)(null), S = (0, b.useRef)();
+var LZ = () => (0, b.useContext)(FZ), FRe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.aspect, r = e.initialDimension, i = r === void 0 ? kZ.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? kZ.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? kZ.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = MRe(e, CRe), x = (0, b.useRef)(null), S = (0, b.useRef)();
S.current = g, (0, b.useImperativeHandle)(t, () => x.current);
- var C = kRe((0, b.useState)({
+ var C = DRe((0, b.useState)({
containerWidth: i.width,
containerHeight: i.height
}), 2), w = C[0], T = C[1], E = (0, b.useCallback)((e, t) => {
@@ -77241,7 +77310,7 @@ var FZ = () => (0, b.useContext)(NZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
});
}, []);
(0, b.useEffect)(() => {
- if (x.current == null || typeof ResizeObserver > "u") return kK;
+ if (x.current == null || typeof ResizeObserver > "u") return jK;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -77249,7 +77318,7 @@ var FZ = () => (0, b.useContext)(NZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
E(i, a), (t = S.current) == null || t.call(S, i, a);
}
};
- p > 0 && (e = vRe(e, p, {
+ p > 0 && (e = gRe(e, p, {
trailing: !0,
leading: !1
}));
@@ -77259,17 +77328,17 @@ var FZ = () => (0, b.useContext)(NZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
};
}, [E, p]);
var D = w.containerWidth, O = w.containerHeight;
- EZ(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var k = OZ(D, O, {
+ OZ(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var k = AZ(D, O, {
width: a,
height: o,
aspect: n,
maxHeight: u
}), A = k.calculatedWidth, j = k.calculatedHeight;
- return EZ(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", kZ({
+ return OZ(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", jZ({
id: m ? `${m}` : void 0,
- className: wv("recharts-responsive-container", h),
- style: jZ(jZ({}, v), {}, {
+ className: Tv("recharts-responsive-container", h),
+ style: NZ(NZ({}, v), {}, {
width: a,
height: o,
minWidth: c,
@@ -77277,43 +77346,43 @@ var FZ = () => (0, b.useContext)(NZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
maxHeight: u
}),
ref: x
- }, y), /*#__PURE__*/ b.createElement("div", { style: CRe({
+ }, y), /*#__PURE__*/ b.createElement("div", { style: xRe({
width: a,
height: o
- }) }, /*#__PURE__*/ b.createElement(PZ, {
+ }) }, /*#__PURE__*/ b.createElement(IZ, {
width: A,
height: j
}, d)));
-}), IZ = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = FZ();
- if (XX(n.width) && XX(n.height)) return e.children;
- var r = wRe({
+}), RZ = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = LZ();
+ if (QX(n.width) && QX(n.height)) return e.children;
+ var r = SRe({
width: e.width,
height: e.height,
aspect: e.aspect
- }), i = r.width, a = r.height, o = OZ(void 0, void 0, {
+ }), i = r.width, a = r.height, o = AZ(void 0, void 0, {
width: i,
height: a,
aspect: e.aspect,
maxHeight: e.maxHeight
}), s = o.calculatedWidth, c = o.calculatedHeight;
- return yK(s) && yK(c) ? /*#__PURE__*/ b.createElement(PZ, {
+ return xK(s) && xK(c) ? /*#__PURE__*/ b.createElement(IZ, {
width: s,
height: c
- }, e.children) : /*#__PURE__*/ b.createElement(LRe, kZ({}, e, {
+ }, e.children) : /*#__PURE__*/ b.createElement(FRe, jZ({}, e, {
width: i,
height: a,
ref: t
}));
-}), LZ = () => {
- var e = CZ(), t = J(xZ), n = J(TZ), r = J(wZ)?.padding;
+}), zZ = () => {
+ var e = TZ(), t = J(CZ), n = J(DZ), r = J(EZ)?.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
};
-}, RRe = {
+}, IRe = {
top: 0,
bottom: 0,
left: 0,
@@ -77321,16 +77390,16 @@ var FZ = () => (0, b.useContext)(NZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
width: 0,
height: 0,
brushBottom: 0
-}, RZ = () => J(bZ) ?? RRe, zZ = () => J(pZ), BZ = () => J(mZ), zRe = () => J((e) => e.layout.margin), VZ = (e) => e.layout.layoutType, HZ = () => J(VZ), UZ = () => {
- var e = HZ();
+}, BZ = () => J(SZ) ?? IRe, VZ = () => J(hZ), HZ = () => J(gZ), LRe = () => J((e) => e.layout.margin), UZ = (e) => e.layout.layoutType, WZ = () => J(UZ), GZ = () => {
+ var e = WZ();
if (e === "horizontal" || e === "vertical") return e;
-}, WZ = (e) => {
+}, KZ = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, GZ = () => J(WZ), BRe = () => HZ() !== void 0, KZ = (e) => {
- var t = kJ(), n = CZ(), r = e.width, i = e.height, a = FZ(), o = r, s = i;
+}, qZ = () => J(KZ), RRe = () => WZ() !== void 0, JZ = (e) => {
+ var t = jJ(), n = TZ(), r = e.width, i = e.height, a = LZ(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, b.useEffect)(() => {
- !n && XX(o) && XX(s) && t(GLe({
+ !n && QX(o) && QX(s) && t(ULe({
width: o,
height: s
}));
@@ -77340,7 +77409,7 @@ var FZ = () => (0, b.useContext)(NZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
o,
s
]), null;
-}, qZ = yX({
+}, YZ = xX({
name: "legend",
initialState: {
settings: {
@@ -77366,43 +77435,43 @@ var FZ = () => (0, b.useContext)(NZ), LRe = /*#__PURE__*/ (0, b.forwardRef)((e,
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(cX(t.payload));
+ e.payload.push(uX(t.payload));
},
- prepare: hX()
+ prepare: _X()
},
replaceLegendPayload: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = aX(e).payload.indexOf(cX(r));
- a > -1 && (e.payload[a] = cX(i));
+ var n = t.payload, r = n.prev, i = n.next, a = sX(e).payload.indexOf(uX(r));
+ a > -1 && (e.payload[a] = uX(i));
},
- prepare: hX()
+ prepare: _X()
},
removeLegendPayload: {
reducer(e, t) {
- var n = aX(e).payload.indexOf(cX(t.payload));
+ var n = sX(e).payload.indexOf(uX(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: hX()
+ prepare: _X()
}
}
-}), JZ = qZ.actions, YZ = JZ.setLegendSize, VRe = JZ.setLegendSettings, XZ = JZ.addLegendPayload, ZZ = JZ.replaceLegendPayload, QZ = JZ.removeLegendPayload, HRe = qZ.reducer, URe = /* @__PURE__ */ o(((e) => {
+}), XZ = YZ.actions, ZZ = XZ.setLegendSize, zRe = XZ.setLegendSettings, QZ = XZ.addLegendPayload, $Z = XZ.replaceLegendPayload, eQ = XZ.removeLegendPayload, BRe = YZ.reducer, VRe = /* @__PURE__ */ o(((e) => {
var t = d();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ o(((e, t) => {
- t.exports = URe();
+ t.exports = VRe();
})))();
-function WRe(e) {
+function HRe(e) {
e();
}
-function GRe() {
+function URe() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- WRe(() => {
+ HRe(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -77424,12 +77493,12 @@ function GRe() {
}
};
}
-var $Z = {
+var tQ = {
notify() {},
get: () => []
};
-function KRe(e, t) {
- let n, r = $Z, i = 0, a = !1;
+function WRe(e, t) {
+ let n, r = tQ, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -77447,10 +77516,10 @@ function KRe(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = GRe());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = URe());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = $Z);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = tQ);
}
function f() {
a || (a = !0, u());
@@ -77469,44 +77538,44 @@ function KRe(e, t) {
};
return m;
}
-var qRe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, JRe = typeof navigator < "u" && navigator.product === "ReactNative", YRe = qRe || JRe ? b.useLayoutEffect : b.useEffect;
-function eQ(e, t) {
+var GRe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, KRe = typeof navigator < "u" && navigator.product === "ReactNative", qRe = GRe || KRe ? b.useLayoutEffect : b.useEffect;
+function nQ(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function XRe(e, t) {
- if (eQ(e, t)) return !0;
+function JRe(e, t) {
+ if (nQ(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]) || !eQ(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !nQ(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var ZRe = /* @__PURE__ */ Symbol.for("react-redux-context"), QRe = typeof globalThis < "u" ? globalThis : {};
-function $Re() {
+var YRe = /* @__PURE__ */ Symbol.for("react-redux-context"), XRe = typeof globalThis < "u" ? globalThis : {};
+function ZRe() {
if (!b.createContext) return {};
- let e = QRe[ZRe] ??= /* @__PURE__ */ new Map(), t = e.get(b.createContext);
+ let e = XRe[YRe] ??= /* @__PURE__ */ new Map(), t = e.get(b.createContext);
return t || (t = b.createContext(null), e.set(b.createContext, t)), t;
}
-var eze = /* @__PURE__ */ $Re();
-function tze(e) {
+var QRe = /* @__PURE__ */ ZRe();
+function $Re(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = b.useMemo(() => {
- let e = KRe(i);
+ let e = WRe(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = b.useMemo(() => i.getState(), [i]);
- YRe(() => {
+ qRe(() => {
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 || eze;
+ let s = n || QRe;
return /* @__PURE__ */ b.createElement(s.Provider, { value: a }, t);
}
-var nze = tze, rze = /* @__PURE__ */ new Set([
+var eze = $Re, tze = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -77529,22 +77598,22 @@ var nze = tze, rze = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function ize(e, t) {
+function nze(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function tQ(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (rze.has(n)) {
+function rQ(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (tze.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!XRe(e[n], t[n])) return !1;
- } else if (!ize(e[n], t[n])) return !1;
+ if (!JRe(e[n], t[n])) return !1;
+ } else if (!nze(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectLegendArea.js
-var aze = Y([
- pZ,
- mZ,
- hZ
+var rze = Y([
+ hZ,
+ gZ,
+ _Z
], (e, t, n) => ({
x: n.left || 0,
y: n.top || 0,
@@ -77553,7 +77622,7 @@ var aze = Y([
}));
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianPositionToCSSTranslate.js
-function oze(e, t) {
+function ize(e, t) {
return e === "start" && t === "start" ? "" : `translate(${e === "inherit" ? "0" : {
start: "0",
middle: "-50%",
@@ -77566,35 +77635,35 @@ function oze(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var sze = ["contextPayload"];
-function nQ() {
- return nQ = Object.assign ? Object.assign.bind() : function(e) {
+var aze = ["contextPayload"];
+function iQ() {
+ return iQ = 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;
- }, nQ.apply(null, arguments);
+ }, iQ.apply(null, arguments);
}
-function cze(e, t) {
- return fze(e) || dze(e, t) || uze(e, t) || lze();
+function oze(e, t) {
+ return uze(e) || lze(e, t) || cze(e, t) || sze();
}
-function lze() {
+function sze() {
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 cze(e, t) {
if (e) {
- if (typeof e == "string") return rQ(e, t);
+ if (typeof e == "string") return aQ(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) ? rQ(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) ? aQ(e, t) : void 0;
}
}
-function rQ(e, t) {
+function aQ(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 dze(e, t) {
+function lze(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;
@@ -77615,10 +77684,10 @@ function dze(e, t) {
return s;
}
}
-function fze(e) {
+function uze(e) {
if (Array.isArray(e)) return e;
}
-function iQ(e, t) {
+function oQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77628,30 +77697,30 @@ function iQ(e, t) {
}
return n;
}
-function aQ(e) {
+function sQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? iQ(Object(n), !0).forEach(function(t) {
- pze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iQ(Object(n)).forEach(function(t) {
+ t % 2 ? oQ(Object(n), !0).forEach(function(t) {
+ dze(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pze(e, t, n) {
- return (t = mze(t)) in e ? Object.defineProperty(e, t, {
+function dze(e, t, n) {
+ return (t = fze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mze(e) {
- var t = hze(e, "string");
+function fze(e) {
+ var t = pze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hze(e, t) {
+function pze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77661,16 +77730,16 @@ function hze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function gze(e, t) {
+function mze(e, t) {
if (e == null) return {};
- var n, r, i = _ze(e, t);
+ var n, r, i = hze(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function _ze(e, t) {
+function hze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -77679,30 +77748,30 @@ function _ze(e, t) {
}
return n;
}
-function vze(e) {
+function gze(e) {
return e.value;
}
-function yze(e) {
- var t = e.contextPayload, n = gze(e, sze), r = DJ(t, e.payloadUniqBy, vze), i = aQ(aQ({}, 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(QFe, i);
+function _ze(e) {
+ var t = e.contextPayload, n = mze(e, aze), r = kJ(t, e.payloadUniqBy, gze), i = sQ(sQ({}, 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(XFe, i);
}
-function bze(e) {
+function vze(e) {
return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";
}
-function xze(e, t) {
- return t == null ? null : PK(t) ? aze(e) : xZ(e);
+function yze(e, t) {
+ return t == null ? null : IK(t) ? rze(e) : CZ(e);
}
-function Sze(e, t, n) {
+function bze(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 Cze(e, t, n, r, i, a) {
+function xze(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 }), aQ(aQ({}, 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 }), sQ(sQ({}, l), u);
}
-function wze(e) {
- var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = kJ();
+function Sze(e) {
+ var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = jJ();
return (0, b.useLayoutEffect)(() => {
- s(VRe({
+ s(zRe({
align: t,
layout: n,
verticalAlign: r,
@@ -77720,10 +77789,10 @@ function wze(e) {
o
]), null;
}
-function Tze(e) {
- var t = e.width, n = e.height, r = kJ();
+function Cze(e) {
+ var t = e.width, n = e.height, r = jJ();
return (0, b.useLayoutEffect)(() => {
- r(YZ({
+ r(ZZ({
width: t,
height: n
}));
@@ -77732,16 +77801,16 @@ function Tze(e) {
t,
n
]), (0, b.useLayoutEffect)(() => () => {
- r(YZ({
+ r(ZZ({
width: 0,
height: 0
}));
}, [r]), null;
}
-function Eze(e, t, n, r) {
+function wze(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var Dze = {
+var Tze = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -77751,10 +77820,10 @@ var Dze = {
verticalAlign: "bottom",
offset: 0
};
-function Oze(e) {
- var t = Iq(e, Dze), n = e.layout && e.layout !== "auto" ? e.layout : bze(t.position), r = WIe(), i = ZPe(), a = zRe(), o = J((e) => xze(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || PK(t.position)), f = cze(WJ([r]), 2), p = f[0], m = f[1], h = zZ(), g = BZ();
+function Eze(e) {
+ var t = Rq(e, Tze), n = e.layout && e.layout !== "auto" ? e.layout : vze(t.position), r = HIe(), i = YPe(), a = LRe(), o = J((e) => yze(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || IK(t.position)), f = oze(KJ([r]), 2), p = f[0], m = f[1], h = VZ(), g = HZ();
if (h == null || g == null || t.position != null && o == null) return null;
- var _ = Eze(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : NK({
+ var _ = wze(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : FK({
viewBox: o ?? {
x: 0,
y: 0,
@@ -77763,7 +77832,7 @@ function Oze(e) {
},
position: t.position,
offset: t.offset ?? 0
- }), y = Sze(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 = bze(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,
@@ -77771,8 +77840,8 @@ function Oze(e) {
overflowY: "auto",
top: v.y + (y.top ?? 0),
left: v.x + (y.left ?? 0),
- transform: oze(v.horizontalAnchor, v.verticalAnchor)
- } : Cze(l, t, a, h, g, p), w = u ? l : aQ(aQ({
+ transform: ize(v.horizontalAnchor, v.verticalAnchor)
+ } : xze(l, t, a, h, g, p), w = u ? l : sQ(sQ({
position: "absolute",
width: _?.width || s || "auto",
height: _?.height || c || "auto"
@@ -77782,14 +77851,14 @@ function Oze(e) {
className: "recharts-legend-wrapper",
style: w,
ref: m
- }, /*#__PURE__*/ b.createElement(wze, {
+ }, /*#__PURE__*/ b.createElement(Sze, {
layout: n,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter,
position: t.position,
offset: t.offset
- }), d && /*#__PURE__*/ b.createElement(Tze, p), /*#__PURE__*/ b.createElement(yze, nQ({}, t, { layout: n }, _, {
+ }), d && /*#__PURE__*/ b.createElement(Cze, p), /*#__PURE__*/ b.createElement(_ze, iQ({}, t, { layout: n }, _, {
margin: a,
chartWidth: h,
chartHeight: g,
@@ -77797,20 +77866,20 @@ function Oze(e) {
})));
return /*#__PURE__*/ (0, pt.createPortal)(E, T);
}
-var oQ = /*#__PURE__*/ b.memo(Oze, tQ);
-oQ.displayName = "Legend";
+var cQ = /*#__PURE__*/ b.memo(Eze, rQ);
+cQ.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function sQ() {
- return sQ = Object.assign ? Object.assign.bind() : function(e) {
+function lQ() {
+ return lQ = 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;
- }, sQ.apply(null, arguments);
+ }, lQ.apply(null, arguments);
}
-function cQ(e, t) {
+function uQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77820,30 +77889,30 @@ function cQ(e, t) {
}
return n;
}
-function lQ(e) {
+function dQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? cQ(Object(n), !0).forEach(function(t) {
- kze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cQ(Object(n)).forEach(function(t) {
+ t % 2 ? uQ(Object(n), !0).forEach(function(t) {
+ Dze(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kze(e, t, n) {
- return (t = Aze(t)) in e ? Object.defineProperty(e, t, {
+function Dze(e, t, n) {
+ return (t = Oze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Aze(e) {
- var t = jze(e, "string");
+function Oze(e) {
+ var t = kze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jze(e, t) {
+function kze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77853,25 +77922,25 @@ function jze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Mze(e, t) {
- return Ize(e) || Fze(e, t) || Pze(e, t) || Nze();
+function Aze(e, t) {
+ return Pze(e) || Nze(e, t) || Mze(e, t) || jze();
}
-function Nze() {
+function jze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Pze(e, t) {
+function Mze(e, t) {
if (e) {
- if (typeof e == "string") return uQ(e, t);
+ if (typeof e == "string") return fQ(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) ? uQ(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) ? fQ(e, t) : void 0;
}
}
-function uQ(e, t) {
+function fQ(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 Nze(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;
@@ -77892,13 +77961,13 @@ function Fze(e, t) {
return s;
}
}
-function Ize(e) {
+function Pze(e) {
if (Array.isArray(e)) return e;
}
-function Lze(e) {
- return Array.isArray(e) && bK(e[0]) && bK(e[1]) ? e.join(" ~ ") : e;
+function Fze(e) {
+ return Array.isArray(e) && SK(e[0]) && SK(e[1]) ? e.join(" ~ ") : e;
}
-var dQ = {
+var pQ = {
separator: " : ",
contentStyle: {
margin: 0,
@@ -77916,32 +77985,32 @@ var dQ = {
labelStyle: {},
accessibilityLayer: !1
};
-function Rze(e, t) {
- return t == null ? e : RJ(e, t);
+function Ize(e, t) {
+ return t == null ? e : BJ(e, t);
}
-var zze = (e) => {
- var t = e.separator, n = t === void 0 ? dQ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? dQ.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 ? dQ.accessibilityLayer : m, g = () => {
+var Lze = (e) => {
+ var t = e.separator, n = t === void 0 ? pQ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? pQ.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 ? pQ.accessibilityLayer : m, g = () => {
if (s && s.length) {
var e = {
padding: 0,
margin: 0
- }, t = Rze(s, l).map((e, t) => {
+ }, t = Ize(s, l).map((e, t) => {
if (!e || e.type === "none") return null;
- var r = e.formatter || c || Lze, a = e.value, o = e.name, l = a, u = o;
+ var r = e.formatter || c || Fze, 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 = Mze(d, 2);
+ var f = Aze(d, 2);
l = f[0], u = f[1];
} else if (d != null) l = d;
else return null;
}
- var p = lQ(lQ({}, dQ.itemStyle), {}, { color: e.color || dQ.itemStyle.color }, i);
+ var p = dQ(dQ({}, pQ.itemStyle), {}, { color: e.color || pQ.itemStyle.color }, i);
return /*#__PURE__*/ b.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${t}`,
style: p
- }, bK(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, bK(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 || ""));
+ }, SK(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, SK(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",
@@ -77949,44 +78018,44 @@ var zze = (e) => {
}, t);
}
return null;
- }, _ = lQ(lQ({}, dQ.contentStyle), r), v = lQ({ margin: 0 }, o), y = !EK(f), x = y ? f : "", S = wv("recharts-default-tooltip", u), C = wv("recharts-tooltip-label", d);
+ }, _ = dQ(dQ({}, pQ.contentStyle), r), v = dQ({ margin: 0 }, o), y = !OK(f), x = y ? f : "", S = Tv("recharts-default-tooltip", u), C = Tv("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", sQ({
+ return /*#__PURE__*/ b.createElement("div", lQ({
className: S,
style: _
}, w), /*#__PURE__*/ b.createElement("p", {
className: C,
style: v
}, /*#__PURE__*/ b.isValidElement(x) ? x : `${x}`), g());
-}, fQ = "recharts-tooltip-wrapper", Bze = { visibility: "hidden" };
-function Vze(e) {
+}, mQ = "recharts-tooltip-wrapper", Rze = { visibility: "hidden" };
+function zze(e) {
var t = e.coordinate, n = e.translateX, r = e.translateY;
- return wv(fQ, {
- [`${fQ}-right`]: yK(n) && t && yK(t.x) && n >= t.x,
- [`${fQ}-left`]: yK(n) && t && yK(t.x) && n < t.x,
- [`${fQ}-bottom`]: yK(r) && t && yK(t.y) && r >= t.y,
- [`${fQ}-top`]: yK(r) && t && yK(t.y) && r < t.y
+ return Tv(mQ, {
+ [`${mQ}-right`]: xK(n) && t && xK(t.x) && n >= t.x,
+ [`${mQ}-left`]: xK(n) && t && xK(t.x) && n < t.x,
+ [`${mQ}-bottom`]: xK(r) && t && xK(t.y) && r >= t.y,
+ [`${mQ}-top`]: xK(r) && t && xK(t.y) && r < t.y
});
}
-function pQ(e) {
+function hQ(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 && yK(a[r])) return a[r];
+ if (a && xK(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
if (t[r]) return o[r] ? u : d;
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function Hze(e) {
+function Bze(e) {
var t = e.translateX, n = e.translateY;
return { transform: e.useTranslate3d ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function Uze(e) {
+function Vze(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 = pQ({
+ return s && s.height > 0 && s.width > 0 && n ? (d = hQ({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -77996,7 +78065,7 @@ function Uze(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = pQ({
+ }), f = hQ({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -78006,44 +78075,44 @@ function Uze(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = Hze({
+ }), u = Bze({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = Bze, {
+ })) : u = Rze, {
cssProperties: u,
- cssClasses: Vze({
+ cssClasses: zze({
translateX: d,
translateY: f,
coordinate: n
})
};
}
-var mQ = {
+var gQ = {
devToolsEnabled: !0,
isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function Wze(e, t) {
- return Jze(e) || qze(e, t) || Kze(e, t) || Gze();
+function Hze(e, t) {
+ return Kze(e) || Gze(e, t) || Wze(e, t) || Uze();
}
-function Gze() {
+function Uze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Kze(e, t) {
+function Wze(e, t) {
if (e) {
- if (typeof e == "string") return hQ(e, t);
+ if (typeof e == "string") return _Q(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) ? hQ(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) ? _Q(e, t) : void 0;
}
}
-function hQ(e, t) {
+function _Q(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function qze(e, t) {
+function Gze(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;
@@ -78064,11 +78133,11 @@ function qze(e, t) {
return s;
}
}
-function Jze(e) {
+function Kze(e) {
if (Array.isArray(e)) return e;
}
-function gQ() {
- var e = Wze((0, b.useState)(() => mQ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];
+function vQ() {
+ var e = Hze((0, b.useState)(() => gQ.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 = () => {
@@ -78082,7 +78151,7 @@ function gQ() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function _Q(e, t) {
+function yQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78092,30 +78161,30 @@ function _Q(e, t) {
}
return n;
}
-function vQ(e) {
+function bQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? _Q(Object(n), !0).forEach(function(t) {
- Yze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _Q(Object(n)).forEach(function(t) {
+ t % 2 ? yQ(Object(n), !0).forEach(function(t) {
+ qze(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Yze(e, t, n) {
- return (t = Xze(t)) in e ? Object.defineProperty(e, t, {
+function qze(e, t, n) {
+ return (t = Jze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Xze(e) {
- var t = Zze(e, "string");
+function Jze(e) {
+ var t = Yze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Zze(e, t) {
+function Yze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78125,25 +78194,25 @@ function Zze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Qze(e, t) {
- return nBe(e) || tBe(e, t) || eBe(e, t) || $ze();
+function Xze(e, t) {
+ return eBe(e) || $ze(e, t) || Qze(e, t) || Zze();
}
-function $ze() {
+function Zze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function eBe(e, t) {
+function Qze(e, t) {
if (e) {
- if (typeof e == "string") return yQ(e, t);
+ if (typeof e == "string") return xQ(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) ? yQ(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) ? xQ(e, t) : void 0;
}
}
-function yQ(e, t) {
+function xQ(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 tBe(e, t) {
+function $ze(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;
@@ -78164,17 +78233,17 @@ function tBe(e, t) {
return s;
}
}
-function nBe(e) {
+function eBe(e) {
if (Array.isArray(e)) return e;
}
-function rBe(e) {
+function tBe(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 iBe(e) {
- var t = gQ(), n = Qze(b.useState(() => ({
+function nBe(e) {
+ var t = vQ(), n = Xze(b.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -78194,8 +78263,8 @@ function iBe(e) {
return document.addEventListener("keydown", t), () => {
document.removeEventListener("keydown", t);
};
- }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(vQ(vQ({}, r), {}, { dismissed: !1 }));
- var a = Uze({
+ }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(bQ(bQ({}, r), {}, { dismissed: !1 }));
+ var a = Vze({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -78205,7 +78274,7 @@ function iBe(e) {
tooltipBox: e.lastBoundingBox,
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = a.cssClasses, s = a.cssProperties, c = vQ(vQ({}, e.hasPortalFromProps ? {} : vQ(vQ({ transition: rBe({
+ }), o = a.cssClasses, s = a.cssProperties, c = bQ(bQ({}, e.hasPortalFromProps ? {} : bQ(bQ({ transition: tBe({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -78225,19 +78294,19 @@ function iBe(e) {
ref: e.innerRef
}, e.children);
}
-var aBe = /*#__PURE__*/ b.memo(iBe), bQ = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;
+var rBe = /*#__PURE__*/ b.memo(nBe), SQ = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
-function xQ() {
- return xQ = Object.assign ? Object.assign.bind() : function(e) {
+function CQ() {
+ return CQ = 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;
- }, xQ.apply(null, arguments);
+ }, CQ.apply(null, arguments);
}
-function SQ(e, t) {
+function wQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78247,30 +78316,30 @@ function SQ(e, t) {
}
return n;
}
-function CQ(e) {
+function TQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? SQ(Object(n), !0).forEach(function(t) {
- oBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SQ(Object(n)).forEach(function(t) {
+ t % 2 ? wQ(Object(n), !0).forEach(function(t) {
+ iBe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oBe(e, t, n) {
- return (t = sBe(t)) in e ? Object.defineProperty(e, t, {
+function iBe(e, t, n) {
+ return (t = aBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sBe(e) {
- var t = cBe(e, "string");
+function aBe(e) {
+ var t = oBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cBe(e, t) {
+function oBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78280,40 +78349,40 @@ function cBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var wQ = {
- curveBasisClosed: hFe,
- curveBasisOpen: gFe,
- curveBasis: mFe,
- curveBumpX: eFe,
- curveBumpY: tFe,
- curveLinearClosed: _Fe,
- curveLinear: XK,
- curveMonotoneX: vFe,
- curveMonotoneY: yFe,
- curveNatural: bFe,
- curveStep: xFe,
- curveStepAfter: CFe,
- curveStepBefore: SFe
-}, TQ = (e) => YX(e.x) && YX(e.y), EQ = (e) => e.base != null && TQ(e.base) && TQ(e), DQ = (e) => e.x, OQ = (e) => e.y, lBe = (e, t) => {
+var EQ = {
+ curveBasisClosed: pFe,
+ curveBasisOpen: mFe,
+ curveBasis: fFe,
+ curveBumpX: QPe,
+ curveBumpY: $Pe,
+ curveLinearClosed: hFe,
+ curveLinear: QK,
+ curveMonotoneX: gFe,
+ curveMonotoneY: _Fe,
+ curveNatural: vFe,
+ curveStep: yFe,
+ curveStepAfter: xFe,
+ curveStepBefore: bFe
+}, DQ = (e) => ZX(e.x) && ZX(e.y), OQ = (e) => e.base != null && DQ(e.base) && DQ(e), kQ = (e) => e.x, AQ = (e) => e.y, sBe = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${DK(e)}`;
+ var n = `curve${kK(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = wQ[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = EQ[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return wQ[n] || XK;
-}, kQ = {
+ return EQ[n] || QK;
+}, jQ = {
connectNulls: !1,
type: "linear"
-}, uBe = (e) => {
- var t = e.type, n = t === void 0 ? kQ.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? kQ.connectNulls : s, l = lBe(n, o), u = c ? i.filter(TQ) : i;
+}, cBe = (e) => {
+ var t = e.type, n = t === void 0 ? jQ.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? jQ.connectNulls : s, l = sBe(n, o), u = c ? i.filter(DQ) : i;
if (Array.isArray(a)) {
- var d, f = i.map((e, t) => CQ(CQ({}, e), {}, { base: a[t] }));
- return d = o === "vertical" ? eq().y(OQ).x1(DQ).x0((e) => e.base.x) : eq().x(DQ).y1(OQ).y0((e) => e.base.y), d.defined(EQ).curve(l)(c ? f.filter(EQ) : f);
+ var d, f = i.map((e, t) => TQ(TQ({}, e), {}, { base: a[t] }));
+ return d = o === "vertical" ? nq().y(AQ).x1(kQ).x0((e) => e.base.x) : nq().x(kQ).y1(AQ).y0((e) => e.base.y), d.defined(OQ).curve(l)(c ? f.filter(OQ) : f);
}
- return (o === "vertical" && yK(a) ? eq().y(OQ).x1(DQ).x0(a) : yK(a) ? eq().x(DQ).y1(OQ).y0(a) : $K().x(DQ).y(OQ)).defined(TQ).curve(l)(u);
-}, AQ = (e) => {
- var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = HZ();
+ return (o === "vertical" && xK(a) ? nq().y(AQ).x1(kQ).x0(a) : xK(a) ? nq().x(kQ).y1(AQ).y0(a) : tq().x(kQ).y(AQ)).defined(DQ).curve(l)(u);
+}, MQ = (e) => {
+ var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = WZ();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -78321,13 +78390,13 @@ var wQ = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? uBe(o) : r;
- return /*#__PURE__*/ b.createElement("path", xQ({}, eK(e), Nq(e), {
- className: wv("recharts-curve", t),
+ }, s = n && n.length ? cBe(o) : r;
+ return /*#__PURE__*/ b.createElement("path", CQ({}, nK(e), Fq(e), {
+ className: Tv("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, dBe = [
+}, lBe = [
"x",
"y",
"top",
@@ -78336,16 +78405,16 @@ var wQ = {
"height",
"className"
];
-function jQ() {
- return jQ = Object.assign ? Object.assign.bind() : function(e) {
+function NQ() {
+ return NQ = 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;
- }, jQ.apply(null, arguments);
+ }, NQ.apply(null, arguments);
}
-function MQ(e, t) {
+function PQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78355,30 +78424,30 @@ function MQ(e, t) {
}
return n;
}
-function fBe(e) {
+function uBe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? MQ(Object(n), !0).forEach(function(t) {
- pBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MQ(Object(n)).forEach(function(t) {
+ t % 2 ? PQ(Object(n), !0).forEach(function(t) {
+ dBe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pBe(e, t, n) {
- return (t = mBe(t)) in e ? Object.defineProperty(e, t, {
+function dBe(e, t, n) {
+ return (t = fBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mBe(e) {
- var t = hBe(e, "string");
+function fBe(e) {
+ var t = pBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hBe(e, t) {
+function pBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78388,16 +78457,16 @@ function hBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function gBe(e, t) {
+function mBe(e, t) {
if (e == null) return {};
- var n, r, i = _Be(e, t);
+ var n, r, i = hBe(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 _Be(e, t) {
+function hBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -78406,8 +78475,8 @@ function _Be(e, t) {
}
return n;
}
-var vBe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, yBe = (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 = gBe(e, dBe), h = fBe({
+var gBe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, _Be = (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 = mBe(e, lBe), h = uBe({
x: n,
y: i,
top: o,
@@ -78415,14 +78484,14 @@ var vBe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, yBe = (e) => {
width: u,
height: f
}, m);
- return !yK(n) || !yK(i) || !yK(u) || !yK(f) || !yK(o) || !yK(c) ? null : /*#__PURE__*/ b.createElement("path", jQ({}, nK(h), {
- className: wv("recharts-cross", p),
- d: vBe(n, i, u, f, o, c)
+ return !xK(n) || !xK(i) || !xK(u) || !xK(f) || !xK(o) || !xK(c) ? null : /*#__PURE__*/ b.createElement("path", NQ({}, iK(h), {
+ className: Tv("recharts-cross", p),
+ d: gBe(n, i, u, f, o, c)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function bBe(e, t, n, r) {
+function vBe(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -78433,12 +78502,12 @@ function bBe(e, t, n, r) {
height: e === "horizontal" ? n.height - 1 : r
};
}
-var NQ = (e, t) => [
+var FQ = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], PQ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), FQ = (e, t) => (n) => PQ(NQ(e, t), n), xBe = (e, t) => (n) => PQ([...NQ(e, t).map((e, t) => e * t).slice(1), 0], n), SBe = (e) => {
+], IQ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), LQ = (e, t) => (n) => IQ(FQ(e, t), n), yBe = (e, t) => (n) => IQ([...FQ(e, t).map((e, t) => e * t).slice(1), 0], n), bBe = (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(",");
@@ -78450,7 +78519,7 @@ var NQ = (e, t) => [
i[2],
i[3]
];
-}, CBe = function() {
+}, xBe = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -78484,7 +78553,7 @@ var NQ = (e, t) => [
1
];
default:
- var t = SBe(e[0]);
+ var t = bBe(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -78493,8 +78562,8 @@ var NQ = (e, t) => [
1,
1
];
-}, wBe = (e, t, n, r) => {
- var i = FQ(e, n), a = FQ(t, r), o = xBe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, SBe = (e, t, n, r) => {
+ var i = LQ(e, n), a = LQ(t, r), o = yBe(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);
@@ -78503,9 +78572,9 @@ var NQ = (e, t) => [
return a(n);
};
return c.isStepper = !1, c;
-}, IQ = function() {
- return wBe(...CBe(...arguments));
-}, TBe = function() {
+}, RQ = function() {
+ return SBe(...xBe(...arguments));
+}, CBe = 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;
@@ -78519,18 +78588,18 @@ var NQ = (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;
};
-}, EBe = (e) => {
+}, wBe = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return IQ(e);
- case "spring": return TBe();
- default: if (e.split("(")[0] === "cubic-bezier") return IQ(e);
+ case "linear": return RQ(e);
+ case "spring": return CBe();
+ default: if (e.split("(")[0] === "cubic-bezier") return RQ(e);
}
return typeof e == "function" ? e : null;
-}, LQ = /*#__PURE__*/ (0, b.createContext)((e, t, n) => {
+}, zQ = /*#__PURE__*/ (0, b.createContext)((e, t, n) => {
var r, i = (a) => {
var o = t.tick(a);
if (t.getState() === "active") {
@@ -78543,26 +78612,26 @@ var NQ = (e, t) => [
};
return r = e.setTimeout(i, 0), () => r?.();
});
-LQ.Provider;
-function DBe(e) {
- var t = (0, b.useContext)(LQ);
+zQ.Provider;
+function TBe(e) {
+ var t = (0, b.useContext)(zQ);
return (0, b.useMemo)(() => e ?? t, [e, t]);
}
//#endregion
//#region node_modules/recharts/es6/animation/AnimationHandle.js
-function OBe(e, t, n) {
- return (t = kBe(t)) in e ? Object.defineProperty(e, t, {
+function EBe(e, t, n) {
+ return (t = DBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kBe(e) {
- var t = ABe(e, "string");
+function DBe(e) {
+ var t = OBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ABe(e, t) {
+function OBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78572,11 +78641,11 @@ function ABe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var RQ = "init", zQ = "pending", BQ = "active", jBe = "completed";
-function VQ(e) {
+var BQ = "init", VQ = "pending", HQ = "active", kBe = "completed";
+function UQ(e) {
return Math.max(0, e);
}
-var MBe = class {
+var ABe = class {
getAnimationStartedTime() {
return this.animationStartedTime;
}
@@ -78585,7 +78654,7 @@ var MBe = class {
}
constructor(e) {
var t;
- OBe(this, "state", RQ), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = VQ(e.animationDuration), this.animationBegin = VQ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);
+ EBe(this, "state", BQ), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = UQ(e.animationDuration), this.animationBegin = UQ(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;
@@ -78597,13 +78666,13 @@ var MBe = class {
return this.animationDuration;
}
tick(e) {
- if (this.getState() === RQ) return this.state = zQ, this.beginStartedTime = e, this.animationBegin;
- if (this.getState() === zQ) {
+ if (this.getState() === BQ) return this.state = VQ, this.beginStartedTime = e, this.animationBegin;
+ if (this.getState() === VQ) {
if (this.beginStartedTime == null) throw Error();
var t = e - this.beginStartedTime;
- return t >= this.animationBegin ? (this.state = BQ, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : VQ(this.animationBegin - t);
+ return t >= this.animationBegin ? (this.state = HQ, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : UQ(this.animationBegin - t);
}
- if (this.getState() === BQ) {
+ if (this.getState() === HQ) {
if (this.animationStartedTime == null) throw Error();
var n = e - this.animationStartedTime;
return this.setProgress(n / this.animationDuration), this.nextAnimationUpdate(n);
@@ -78621,7 +78690,7 @@ var MBe = class {
var e;
(e = this.onAnimationEnd) == null || e.call(this);
}
- this.state = jBe;
+ this.state = kBe;
}
getFrom() {
return this.from;
@@ -78635,14 +78704,14 @@ var MBe = class {
getAnimationBegin() {
return this.animationBegin;
}
-}, NBe = class extends MBe {
+}, jBe = class extends ABe {
nextAnimationUpdate() {
return 0;
}
getInterpolated() {
- return this.easing(wK(this.getFrom(), this.getTo(), this.getProgress()));
+ return this.easing(EK(this.getFrom(), this.getTo(), this.getProgress()));
}
-}, PBe = class {
+}, MBe = 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);
@@ -78654,25 +78723,25 @@ var MBe = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-function FBe(e, t) {
- return zBe(e) || RBe(e, t) || LBe(e, t) || IBe();
+function NBe(e, t) {
+ return LBe(e) || IBe(e, t) || FBe(e, t) || PBe();
}
-function IBe() {
+function PBe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function LBe(e, t) {
+function FBe(e, t) {
if (e) {
- if (typeof e == "string") return HQ(e, t);
+ if (typeof e == "string") return WQ(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) ? HQ(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) ? WQ(e, t) : void 0;
}
}
-function HQ(e, t) {
+function WQ(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 RBe(e, t) {
+function IBe(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;
@@ -78693,10 +78762,10 @@ function RBe(e, t) {
return s;
}
}
-function zBe(e) {
+function LBe(e) {
if (Array.isArray(e)) return e;
}
-var BBe = {
+var RBe = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -78704,22 +78773,22 @@ var BBe = {
canBegin: !0,
onAnimationEnd: () => {},
onAnimationStart: () => {}
-}, UQ = 0, WQ = 1;
-function GQ(e) {
- var t = Iq(e, BBe), 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 = gQ(), f = r === "auto" ? !mQ.isSsr && !d : r, p = DBe(t.animationController), m = FBe((0, b.useState)(f ? UQ : WQ), 2), h = m[0], g = m[1];
+}, GQ = 0, KQ = 1;
+function qQ(e) {
+ var t = Rq(e, RBe), 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 = vQ(), f = r === "auto" ? !gQ.isSsr && !d : r, p = TBe(t.animationController), m = NBe((0, b.useState)(f ? GQ : KQ), 2), h = m[0], g = m[1];
return (0, b.useEffect)(() => {
- f || g(WQ);
+ f || g(KQ);
}, [f]), (0, b.useEffect)(() => {
- var e = EBe(o);
- return !f || !i || e == null ? kK : p(new PBe(), new NBe({
+ var e = wBe(o);
+ return !f || !i || e == null ? jK : p(new MBe(), new jBe({
animationId: n,
easing: e,
animationDuration: a,
animationBegin: s,
onAnimationStart: l,
onAnimationEnd: c,
- from: UQ,
- to: WQ
+ from: GQ,
+ to: KQ
}), g);
}, [
p,
@@ -78735,14 +78804,14 @@ function GQ(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function KQ(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, b.useRef)(xK(t)), r = (0, b.useRef)(e);
- return r.current !== e && (n.current = xK(t), r.current = e), n.current;
+function JQ(e) {
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, b.useRef)(CK(t)), r = (0, b.useRef)(e);
+ return r.current !== e && (n.current = CK(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-var VBe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), HBe = (e, t, n) => e.map((e) => `${VBe(e)} ${t}ms ${n}`).join(","), UBe = ["radius"], WBe = ["radius"], GBe, KBe, qBe, JBe, YBe, XBe, ZBe, QBe, $Be, eVe;
-function qQ(e, t) {
+var zBe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), BBe = (e, t, n) => e.map((e) => `${zBe(e)} ${t}ms ${n}`).join(","), VBe = ["radius"], HBe = ["radius"], UBe, WBe, GBe, KBe, qBe, JBe, YBe, XBe, ZBe, QBe;
+function YQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78752,30 +78821,30 @@ function qQ(e, t) {
}
return n;
}
-function JQ(e) {
+function XQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? qQ(Object(n), !0).forEach(function(t) {
- tVe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : qQ(Object(n)).forEach(function(t) {
+ t % 2 ? YQ(Object(n), !0).forEach(function(t) {
+ $Be(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tVe(e, t, n) {
- return (t = nVe(t)) in e ? Object.defineProperty(e, t, {
+function $Be(e, t, n) {
+ return (t = eVe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nVe(e) {
- var t = rVe(e, "string");
+function eVe(e) {
+ var t = tVe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rVe(e, t) {
+function tVe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78785,25 +78854,25 @@ function rVe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function YQ() {
- return YQ = Object.assign ? Object.assign.bind() : function(e) {
+function ZQ() {
+ return ZQ = 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;
- }, YQ.apply(null, arguments);
+ }, ZQ.apply(null, arguments);
}
-function XQ(e, t) {
+function QQ(e, t) {
if (e == null) return {};
- var n, r, i = iVe(e, t);
+ var n, r, i = nVe(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 iVe(e, t) {
+function nVe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -78812,25 +78881,25 @@ function iVe(e, t) {
}
return n;
}
-function aVe(e, t) {
- return lVe(e) || cVe(e, t) || sVe(e, t) || oVe();
+function rVe(e, t) {
+ return sVe(e) || oVe(e, t) || aVe(e, t) || iVe();
}
-function oVe() {
+function iVe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function sVe(e, t) {
+function aVe(e, t) {
if (e) {
- if (typeof e == "string") return ZQ(e, t);
+ if (typeof e == "string") return $Q(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) ? ZQ(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) ? $Q(e, t) : void 0;
}
}
-function ZQ(e, t) {
+function $Q(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 cVe(e, t) {
+function oVe(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;
@@ -78851,14 +78920,14 @@ function cVe(e, t) {
return s;
}
}
-function lVe(e) {
+function sVe(e) {
if (Array.isArray(e)) return e;
}
-function QQ(e, t) {
+function e$(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var $Q = (e, t, n, r, i) => {
- var a = mK(n), o = mK(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 cVe = (e, t, n, r, i) => {
+ var a = gK(n), o = gK(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,
@@ -78869,44 +78938,44 @@ var $Q = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = hK(GBe ||= QQ([
+ d = _K(UBe ||= e$([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += hK(KBe ||= QQ([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += _K(WBe ||= e$([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += hK(qBe ||= QQ([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += _K(GBe ||= e$([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += hK(JBe ||= QQ([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += _K(KBe ||= e$([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += hK(YBe ||= QQ([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += _K(qBe ||= e$([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += hK(XBe ||= QQ([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += _K(JBe ||= e$([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += hK(ZBe ||= QQ([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += _K(YBe ||= e$([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += hK(QBe ||= QQ([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += _K(XBe ||= e$([
"A ",
",",
",0,0,",
@@ -78916,8 +78985,8 @@ var $Q = (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 = hK($Be ||= QQ(/* @__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 = hK(eVe ||= QQ([
+ d = _K(ZBe ||= e$(/* @__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 = _K(QBe ||= e$([
"M ",
",",
" h ",
@@ -78926,7 +78995,7 @@ var $Q = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, e$ = {
+}, lVe = {
x: 0,
y: 0,
width: 0,
@@ -78938,14 +79007,14 @@ var $Q = (e, t, n, r, i) => {
animationDuration: 1500,
animationEasing: "ease"
}, t$ = (e) => {
- var t = Iq(e, e$), n = (0, b.useRef)(null), r = aVe((0, b.useState)(-1), 2), i = r[0], a = r[1];
+ var t = Rq(e, lVe), n = (0, b.useRef)(null), r = rVe((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 = KQ((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 = JQ((0, b.useMemo)(() => ({
x: o,
y: s,
width: c,
@@ -78959,23 +79028,23 @@ var $Q = (e, t, n, r, i) => {
u
]), "rectangle-");
if (o !== +o || s !== +s || c !== +c || l !== +l || c === 0 || l === 0) return null;
- var C = wv("recharts-rectangle", d);
+ var C = Tv("recharts-rectangle", d);
if (!g) {
- var w = nK(t);
+ var w = iK(t);
w.radius;
- var T = XQ(w, UBe);
- return /*#__PURE__*/ b.createElement("path", YQ({}, T, {
- x: mK(o),
- y: mK(s),
- width: mK(c),
- height: mK(l),
+ var T = QQ(w, VBe);
+ return /*#__PURE__*/ b.createElement("path", ZQ({}, T, {
+ x: gK(o),
+ y: gK(s),
+ width: gK(c),
+ height: gK(l),
radius: typeof u == "number" ? u : void 0,
className: C,
- d: $Q(o, s, c, l, u)
+ d: cVe(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 = HBe(["strokeDasharray"], p, typeof f == "string" ? f : e$.animationEasing);
- return /*#__PURE__*/ b.createElement(GQ, {
+ 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 = BBe(["strokeDasharray"], p, typeof f == "string" ? f : lVe.animationEasing);
+ return /*#__PURE__*/ b.createElement(qQ, {
animationId: S,
key: S,
canBegin: i > 0,
@@ -78984,20 +79053,20 @@ var $Q = (e, t, n, r, i) => {
isActive: g,
begin: m
}, (e) => {
- var r = wK(E, c, e), i = wK(D, l, e), a = wK(O, o, e), d = wK(k, s, e);
+ var r = EK(E, c, e), i = EK(D, l, e), a = EK(O, o, e), d = EK(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 = nK(t);
+ } : { strokeDasharray: A } : { strokeDasharray: j }, p = iK(t);
p.radius;
- var m = XQ(p, WBe);
- return /*#__PURE__*/ b.createElement("path", YQ({}, m, {
+ var m = QQ(p, HBe);
+ return /*#__PURE__*/ b.createElement("path", ZQ({}, m, {
radius: typeof u == "number" ? u : void 0,
className: C,
- d: $Q(a, d, r, i, u),
+ d: cVe(a, d, r, i, u),
ref: n,
- style: JQ(JQ({}, f), t.style)
+ style: XQ(XQ({}, f), t.style)
}));
});
};
@@ -79139,7 +79208,7 @@ function a$() {
function o$(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var AVe = (e, t) => gK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) => {
+var AVe = (e, t) => vK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (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) / n$, d = c ? i : i + a * u, f = i$(t, n, l, d), p = i$(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
@@ -79148,7 +79217,7 @@ var AVe = (e, t) => gK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
theta: u
};
}, jVe = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = AVe(a, o), c = a + s, l = i$(t, n, i, a), u = i$(t, n, i, c), d = hK(CVe ||= o$([
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = AVe(a, o), c = a + s, l = i$(t, n, i, a), u = i$(t, n, i, c), d = _K(CVe ||= o$([
"M ",
",",
"\n A ",
@@ -79161,7 +79230,7 @@ var AVe = (e, t) => gK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
var f = i$(t, n, r, a), p = i$(t, n, r, c);
- d += hK(wVe ||= o$([
+ d += _K(wVe ||= o$([
"L ",
",",
"\n A ",
@@ -79172,14 +79241,14 @@ var AVe = (e, t) => gK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += hK(TVe ||= o$([
+ } else d += _K(TVe ||= o$([
"L ",
",",
" Z"
]), t, n);
return d;
}, MVe = (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 = gK(l - c), d = s$({
+ 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 = vK(l - c), d = s$({
cx: t,
cy: n,
radius: i,
@@ -79196,7 +79265,7 @@ var AVe = (e, t) => gK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (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 ? hK(EVe ||= o$([
+ if (y < 0) return o ? _K(EVe ||= o$([
"M ",
",",
"\n a",
@@ -79214,7 +79283,7 @@ var AVe = (e, t) => gK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
startAngle: c,
endAngle: l
});
- var b = hK(DVe ||= o$([
+ var b = _K(DVe ||= o$([
"M ",
",",
"\n A",
@@ -79256,7 +79325,7 @@ var AVe = (e, t) => gK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (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 += hK(OVe ||= o$([
+ b += _K(OVe ||= o$([
"L",
",",
"\n A",
@@ -79277,7 +79346,7 @@ var AVe = (e, t) => gK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (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 += hK(kVe ||= o$([
+ } else b += _K(kVe ||= o$([
"L",
",",
"Z"
@@ -79294,9 +79363,9 @@ var AVe = (e, t) => gK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
forceCornerRadius: !1,
cornerIsExternal: !1
}, c$ = (e) => {
- var t = Iq(e, NVe), 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;
+ var t = Rq(e, NVe), 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 = wv("recharts-sector", d), p = a - i, m = SK(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? MVe({
+ var f = Tv("recharts-sector", d), p = a - i, m = wK(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? MVe({
cx: n,
cy: r,
innerRadius: i,
@@ -79314,7 +79383,7 @@ var AVe = (e, t) => gK(t - e) * Math.min(Math.abs(t - e), 359.999), s$ = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ b.createElement("path", a$({}, nK(t), {
+ return /*#__PURE__*/ b.createElement("path", a$({}, iK(t), {
className: f,
d: h
}));
@@ -79336,7 +79405,7 @@ function PVe(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (Mq(t)) {
+ if (Pq(t)) {
if (e === "centric") {
var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = i$(r, i, a, s), l = i$(r, i, o, s);
return [{
@@ -79353,7 +79422,7 @@ function PVe(e, t, n) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
function FVe(e) {
- return uK(e) ? NaN : Number(e);
+ return fK(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
@@ -79363,7 +79432,7 @@ function l$(e) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
function IVe(e, t, n) {
- n && typeof n != "number" && IJ(e, t, n) && (t = n = void 0), e = l$(e), t === void 0 ? (t = e, e = 0) : t = l$(t), n = n === void 0 ? e < t ? 1 : -1 : l$(n);
+ n && typeof n != "number" && RJ(e, t, n) && (t = n = void 0), e = l$(e), t === void 0 ? (t = e, e = 0) : t = l$(t), n = n === void 0 ? e < t ? 1 : -1 : l$(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;
@@ -79435,7 +79504,7 @@ function GVe(e) {
function m$(e) {
if (Array.isArray(e) && e.length === 2) {
var t = p$(e, 2), n = t[0], r = t[1];
- if (YX(n) && YX(r)) return !0;
+ if (ZX(n) && ZX(r)) return !0;
}
return !1;
}
@@ -79445,9 +79514,9 @@ function KVe(e, t, n) {
function qVe(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var n = p$(e, 2), r = n[0], i = n[1], a, o;
- if (YX(r)) a = r;
+ if (ZX(r)) a = r;
else if (typeof r == "function") return;
- if (YX(i)) o = i;
+ if (ZX(i)) o = i;
else if (typeof i == "function") return;
var s = [a, o];
if (m$(s)) return s;
@@ -79462,12 +79531,12 @@ function JVe(e, t, n) {
if (Array.isArray(e) && e.length === 2) {
var i = p$(e, 2), a = i[0], o = i[1], s, c;
if (a === "auto") t != null && (s = Math.min(...t));
- else if (yK(a)) s = a;
+ else if (xK(a)) s = a;
else if (typeof a == "function") try {
t != null && (s = a(t?.[0]));
} catch {}
- else if (typeof a == "string" && cZ.test(a)) {
- var l = cZ.exec(a);
+ else if (typeof a == "string" && uZ.test(a)) {
+ var l = uZ.exec(a);
if (l == null || l[1] == null || t == null) s = void 0;
else {
var u = +l[1];
@@ -79475,12 +79544,12 @@ function JVe(e, t, n) {
}
} else s = t?.[0];
if (o === "auto") t != null && (c = Math.max(...t));
- else if (yK(o)) c = o;
+ else if (xK(o)) c = o;
else if (typeof o == "function") try {
t != null && (c = o(t?.[1]));
} catch {}
- else if (typeof o == "string" && lZ.test(o)) {
- var d = lZ.exec(o);
+ else if (typeof o == "string" && dZ.test(o)) {
+ var d = dZ.exec(o);
if (d == null || d[1] == null || t == null) c = void 0;
else {
var f = +d[1];
@@ -80046,7 +80115,7 @@ var nHe = (e) => {
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
function k$(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return eZ(e, t) ? "category" : "number";
+ if (e != null) return nZ(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
@@ -80129,22 +80198,22 @@ var gHe = {
niceTicks: "auto"
}, j$ = Y([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, WZ], (e, t) => {
+}, KZ], (e, t) => {
if (e != null) return e;
var n = k$(t, "angleAxis", gHe.type) ?? "category";
return A$(A$({}, gHe), {}, { type: n });
-}), M$ = Y([(e, t) => e.polarAxis.radiusAxis[t], WZ], (e, t) => {
+}), M$ = Y([(e, t) => e.polarAxis.radiusAxis[t], KZ], (e, t) => {
if (e != null) return e;
var n = k$(t, "radiusAxis", _He.type) ?? "category";
return A$(A$({}, _He), {}, { type: n });
}), N$ = (e) => e.polarOptions, P$ = Y([
- pZ,
- mZ,
- bZ
+ hZ,
+ gZ,
+ SZ
], gVe), vHe = Y([N$, P$], (e, t) => {
- if (e != null) return SK(e.innerRadius, t, 0);
+ if (e != null) return wK(e.innerRadius, t, 0);
}), yHe = Y([N$, P$], (e, t) => {
- if (e != null) return SK(e.outerRadius, t, t * .8);
+ if (e != null) return wK(e.outerRadius, t, t * .8);
}), bHe = Y([N$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), xHe = Y([j$, bHe], O$), SHe = Y([
P$,
vHe,
@@ -80152,18 +80221,18 @@ var gHe = {
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
}), CHe = Y([M$, SHe], O$), F$ = Y([
- VZ,
+ UZ,
N$,
vHe,
yHe,
- pZ,
- mZ
+ hZ,
+ gZ
], (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: SK(o, i, i / 2),
- cy: SK(s, a, a / 2),
+ cx: wK(o, i, i / 2),
+ cy: wK(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -80186,7 +80255,7 @@ function z$(e, t, n) {
if (t != null && t.length !== 0) {
var n = R$(e);
t.forEach((t, r) => {
- var i = o == null || a ? r : String($X(t, o, null)), c = $X(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};
+ var i = o == null || a ? r : String(tZ(t, o, null)), c = tZ(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};
Object.assign(l, { [n]: c }), s.set(i, l);
});
}
@@ -80215,7 +80284,7 @@ function wHe(e, t) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
var U$ = (e) => {
- var t = VZ(e);
+ var t = UZ(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
}, W$ = (e) => e.tooltip.settings.axisId;
//#endregion
@@ -80267,7 +80336,7 @@ var THe = (e, t) => {
if (!m$(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- YX(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ ZX(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;
}
@@ -82602,7 +82671,7 @@ var lKe = /* @__PURE__ */ s({
function uKe(e) {
var t = lKe;
if (e in t && typeof t[e] == "function") return t[e]();
- var n = `scale${DK(e)}`;
+ var n = `scale${kK(e)}`;
if (n in t && typeof t[n] == "function") return t[n]();
}
function dKe(e, t, n) {
@@ -82618,7 +82687,7 @@ function z0(e, t, n, r) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
function fKe(e) {
- return `scale${DK(e)}`;
+ return `scale${kK(e)}`;
}
function pKe(e) {
return fKe(e) in lKe;
@@ -82857,9 +82926,9 @@ var X0 = (e) => e.graphicalItems.cartesianItems, NKe = Y([I$, L$], Y0), Z0 = (e,
], Z0, { memoizeOptions: { resultEqualityCheck: H$ } }), PKe = Y([Q0], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(B$)), FKe = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), IKe = Y([Q0], FKe), $0 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), LKe = Y([Q0], (e) => e.some((e) => !e.data)), RKe = Y([Q0], $0, { memoizeOptions: { resultEqualityCheck: H$ } }), e2 = (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);
-}, t2 = Y([RKe, f$], e2), zKe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: $X(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: $X(e, t.dataKey) })), BKe = (e, t, n, r, i, a) => {
+}, t2 = Y([RKe, f$], e2), zKe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: tZ(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: tZ(e, t.dataKey) })), BKe = (e, t, n, r, i, a) => {
var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = zKe(e, t, n);
- return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: $X(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;
+ return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: tZ(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;
}, n2 = Y([
t2,
q0,
@@ -82869,9 +82938,9 @@ var X0 = (e) => e.graphicalItems.cartesianItems, NKe = Y([I$, L$], Y0), Z0 = (e,
RKe
], BKe);
function r2(e) {
- if (bK(e) || e instanceof Date) {
+ if (SK(e) || e instanceof Date) {
var t = Number(e);
- if (YX(t)) return t;
+ if (ZX(t)) return t;
}
}
function VKe(e) {
@@ -82883,7 +82952,7 @@ function VKe(e) {
if (n != null) return [n, n];
}
function i2(e) {
- return e.map(r2).filter(OK);
+ return e.map(r2).filter(AK);
}
function HKe(e, t) {
var n = r2(e), r = r2(t);
@@ -82900,18 +82969,18 @@ function WKe(e, t) {
function GKe(e, t, n) {
if (!n || !n.length) return [];
var r;
- if (typeof t == "number" && !_K(t)) r = t;
+ if (typeof t == "number" && !yK(t)) r = t;
else if (Array.isArray(t)) {
var i = i2(t);
i.length > 0 && (r = Math.max(...i));
}
return r == null ? [] : i2(n.flatMap((t) => {
- var n = $X(e, t.dataKey), i, a;
+ var n = tZ(e, t.dataKey), i, a;
if (Array.isArray(n)) {
var o = SKe(n, 2);
i = o[0], a = o[1];
} else i = a = n;
- if (YX(i) && YX(a)) return [r - i, r + a];
+ if (ZX(i) && ZX(a)) return [r - i, r + a];
}));
}
var a2 = (e) => J0(e, U$(e), W$(e)), o2 = Y([a2], (e) => e?.dataKey), KKe = Y([
@@ -82927,7 +82996,7 @@ var a2 = (e) => J0(e, U$(e), W$(e)), o2 = Y([a2], (e) => e?.dataKey), KKe = Y([
return Object.fromEntries(Object.entries(i).map((t) => {
var i = SKe(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;
return [a, {
- stackedData: $Le(e, s.map(R$), n),
+ stackedData: ZLe(e, s.map(R$), n),
graphicalItems: s
}];
}));
@@ -82938,7 +83007,7 @@ var a2 = (e) => J0(e, U$(e), W$(e)), o2 = Y([a2], (e) => e?.dataKey), KKe = Y([
x$
], s2), qKe = (e, t, n, r) => {
var i = t.dataStartIndex, a = t.dataEndIndex;
- if (r == null && n !== "zAxis") return nRe(e, i, a);
+ if (r == null && n !== "zAxis") return eRe(e, i, a);
}, JKe = Y([q0], (e) => e.allowDataOverflow), l2 = (e) => {
if (e == null || !("domain" in e)) return V0;
if (e.domain != null) return e.domain;
@@ -82966,7 +83035,7 @@ var a2 = (e) => J0(e, U$(e), W$(e)), o2 = Y([a2], (e) => e?.dataKey), KKe = Y([
if (n.length > 0 && n.forEach((e) => {
var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => WKe(i, e));
n.forEach((n) => {
- var r = $X(n, t.dataKey ?? e.dataKey), i = GKe(n, r, c);
+ var r = tZ(n, t.dataKey ?? e.dataKey), i = GKe(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);
@@ -82975,9 +83044,9 @@ var a2 = (e) => J0(e, U$(e), W$(e)), o2 = Y([a2], (e) => e?.dataKey), KKe = Y([
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 = VKe($X(e, t.dataKey));
+ var n = VKe(tZ(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]));
- }), YX(o) && YX(s)) return [o, s];
+ }), ZX(o) && ZX(s)) return [o, s];
}, ZKe = Y([
t2,
q0,
@@ -82988,11 +83057,11 @@ var a2 = (e) => J0(e, U$(e), W$(e)), o2 = Y([a2], (e) => e?.dataKey), KKe = Y([
], m2, { memoizeOptions: { resultEqualityCheck: V$ } });
function QKe(e) {
var t = e.value;
- if (bK(t) || t instanceof Date) return t;
+ if (SK(t) || t instanceof Date) return t;
}
var $Ke = (e, t, n) => {
var r = e.map(QKe).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && CK(r)) ? IVe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && TK(r)) ? IVe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
}, eqe = (e) => e.referenceElements.dots, h2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), tqe = Y([
eqe,
I$,
@@ -83042,7 +83111,7 @@ var fqe = (e, t) => {
YKe,
ZKe,
pqe,
- VZ,
+ UZ,
I$,
Y([q0], (e) => {
if (e != null && e.type === "number" && "ticks" in e && e.ticks != null) {
@@ -83052,12 +83121,12 @@ var fqe = (e, t) => {
}, { memoizeOptions: { resultEqualityCheck: V$ } })
], g2, { memoizeOptions: { resultEqualityCheck: V$ } }), hqe = [0, 1], _2 = (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 = eZ(t, a);
+ var s = e.dataKey, c = e.type, l = nZ(t, a);
return l && s == null ? IVe(0, n?.length ?? 0) : c === "category" ? $Ke(r, e, l) : i === "expand" && !l ? hqe : o;
}
}, v2 = Y([
q0,
- VZ,
+ UZ,
t2,
n2,
b$,
@@ -83110,12 +83179,12 @@ var fqe = (e, t) => {
}
return n / o;
}
-}), VZ, y$, bZ, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!YX(e)) return 0;
+}), UZ, y$, SZ, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!ZX(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = SK(n, e * a), s = e * a / 2;
+ var o = wK(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
@@ -83152,20 +83221,20 @@ var fqe = (e, t) => {
bottom: (n.bottom ?? 0) + t
};
}), Sqe = Y([
- bZ,
+ SZ,
bqe,
- TZ,
- wZ,
+ DZ,
+ EZ,
(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];
}), Cqe = Y([
- bZ,
- VZ,
+ SZ,
+ UZ,
xqe,
- TZ,
- wZ,
+ DZ,
+ EZ,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var o = i.padding;
@@ -83187,10 +83256,10 @@ var fqe = (e, t) => {
], z0), T2 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var i = n.type, a = n.scale;
- if (eZ(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ if (nZ(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
}, E2 = Y([
- VZ,
+ UZ,
n2,
J0,
I$
@@ -83203,7 +83272,7 @@ Y([w2], _Ke), Y([w2, UKe], gKe), Y([
function Tqe(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var O2 = (e, t) => t, k2 = (e, t, n) => n, Eqe = Y(gZ, O2, k2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(Tqe)), Dqe = Y(_Z, O2, k2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(Tqe)), Oqe = (e, t) => {
+var O2 = (e, t) => t, k2 = (e, t, n) => n, Eqe = Y(vZ, O2, k2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(Tqe)), Dqe = Y(yZ, O2, k2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(Tqe)), Oqe = (e, t) => {
var n = typeof t.height == "number" ? t.height : 30;
return {
width: e.width,
@@ -83212,7 +83281,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Eqe = Y(gZ, O2, k2, (e, t, n) => e.fi
}, kqe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), Aqe = Y(bZ, U0, Oqe), jqe = (e, t, n) => {
+}), Aqe = Y(SZ, U0, Oqe), jqe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
@@ -83224,7 +83293,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Eqe = Y(gZ, O2, k2, (e, t, n) => e.fi
case "right": return n - e.right;
default: return 0;
}
-}, Nqe = Y(mZ, bZ, Eqe, O2, k2, (e, t, n, r, i) => {
+}, Nqe = Y(gZ, SZ, Eqe, O2, k2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = Oqe(t, n);
@@ -83232,7 +83301,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Eqe = Y(gZ, O2, k2, (e, t, n) => e.fi
var c = r === "top" && !i || r === "bottom" && i;
a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;
}), a;
-}), Pqe = Y(pZ, bZ, Dqe, O2, k2, (e, t, n, r, i) => {
+}), Pqe = Y(hZ, SZ, Dqe, O2, k2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = kqe(t, n);
@@ -83241,7 +83310,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Eqe = Y(gZ, O2, k2, (e, t, n) => e.fi
a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;
}), a;
}), Fqe = Y([
- bZ,
+ SZ,
U0,
(e, t) => {
var n = U0(e, t);
@@ -83260,7 +83329,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Eqe = Y(gZ, O2, k2, (e, t, n) => e.fi
};
}
}), Iqe = Y([
- bZ,
+ SZ,
G0,
(e, t) => {
var n = G0(e, t);
@@ -83278,7 +83347,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Eqe = Y(gZ, O2, k2, (e, t, n) => e.fi
y: e.top
};
}
-}), Lqe = Y(bZ, G0, (e, t) => ({
+}), Lqe = Y(SZ, G0, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
})), Rqe = (e, t, n) => {
@@ -83289,16 +83358,16 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Eqe = Y(gZ, O2, k2, (e, t, n) => e.fi
}
}, zqe = (e, t, n, r) => {
if (n != null) {
- var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = eZ(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);
- if (o && s && a === "category" && i && CK(l)) return c;
+ var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = nZ(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);
+ if (o && s && a === "category" && i && TK(l)) return c;
}
}, A2 = Y([
- VZ,
+ UZ,
n2,
q0,
I$
], zqe), Bqe = Y([
- VZ,
+ UZ,
jKe,
y2,
D2,
@@ -83309,7 +83378,7 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Eqe = Y(gZ, O2, k2, (e, t, n) => e.fi
I$
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = eZ(e, c);
+ var l = nZ(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -83333,45 +83402,45 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Eqe = Y(gZ, O2, k2, (e, t, n) => e.fi
}
}), Vqe = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = eZ(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 ? gK(a[0] - a[1]) * 2 * m : m;
+ var l = nZ(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 ? vK(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 YX(i) ? {
+ return ZX(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(OK) : l && s ? s.map((e, t) => {
+ }).filter(AK) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return YX(n) ? {
+ return ZX(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(OK) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(AK) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return YX(n) ? {
+ return ZX(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(OK) : r.domain().map((e, t) => {
+ }).filter(AK) : r.domain().map((e, t) => {
var n = r.map(e);
- return YX(n) ? {
+ return ZX(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(OK);
+ }).filter(AK);
}
}, Hqe = Y([
- VZ,
+ UZ,
J0,
y2,
D2,
@@ -83382,35 +83451,35 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, Eqe = Y(gZ, O2, k2, (e, t, n) => e.fi
I$
], Vqe), Uqe = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = eZ(e, o), c = t.tickCount, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? gK(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = nZ(e, o), c = t.tickCount, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? vK(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return YX(r) ? {
+ return ZX(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(OK) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(AK) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return YX(r) ? {
+ return ZX(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(OK) : n.domain().map((e, t) => {
+ }).filter(AK) : n.domain().map((e, t) => {
var r = n.map(e);
- return YX(r) ? {
+ return ZX(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(OK);
+ }).filter(AK);
}
}, j2 = Y([
- VZ,
+ UZ,
J0,
D2,
C2,
@@ -83429,9 +83498,9 @@ Y((e, t, n) => K0(e, n), Y([Y([
if (e != null && t != null) return B0(B0({}, e), {}, { scale: t });
});
var Wqe = Y([
- VZ,
- gZ,
- _Z
+ UZ,
+ vZ,
+ yZ
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -83469,14 +83538,14 @@ function Jqe(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
var Yqe = (e, t) => {
var n, r = Number(t);
- if (!(_K(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+ if (!(yK(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
}, Xqe = (e) => e.tooltip.settings, P2 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, Zqe = yX({
+}, Zqe = xX({
name: "tooltip",
initialState: {
itemInteraction: {
@@ -83509,23 +83578,23 @@ var Yqe = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(cX(t.payload));
+ e.tooltipItemPayloads.push(uX(t.payload));
},
- prepare: hX()
+ prepare: _X()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = aX(e).tooltipItemPayloads.indexOf(cX(r));
- a > -1 && (e.tooltipItemPayloads[a] = cX(i));
+ var n = t.payload, r = n.prev, i = n.next, a = sX(e).tooltipItemPayloads.indexOf(uX(r));
+ a > -1 && (e.tooltipItemPayloads[a] = uX(i));
},
- prepare: hX()
+ prepare: _X()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = aX(e).tooltipItemPayloads.indexOf(cX(t.payload));
+ var n = sX(e).tooltipItemPayloads.indexOf(uX(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: hX()
+ prepare: _X()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -83643,14 +83712,14 @@ function _Je(e, t) {
}
function vJe(e, t, n) {
if (n == null || t == null) return !0;
- var r = $X(e, t);
+ var r = tZ(e, t);
return r == null || !m$(n) || _Je(r, n);
}
var z2 = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!YX(a)) return i;
+ if (!ZX(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];
@@ -83757,27 +83826,27 @@ var NJe = (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 = MJe(d, s), m = Array.isArray(p) ? JX(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
- return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = TK(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
+ var d = n.dataDefinedOnItem, f = n.settings, p = MJe(d, s), m = Array.isArray(p) ? XX(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
+ return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = DK(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
var n = jJe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = CJe(CJe({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(dZ({
+ e.push(pZ({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: $X(a, i),
+ value: tZ(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(dZ({
+ }) : e.push(pZ({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: $X(_, h),
- name: $X(_, g) ?? f?.name
+ value: tZ(_, h),
+ name: tZ(_, g) ?? f?.name
})), e;
}, []);
}
@@ -83827,7 +83896,7 @@ var NJe = (e, t, n, r, i, a, o) => {
W$
], h2), U$], cqe), G2 = Y([
a2,
- VZ,
+ UZ,
U2,
W2,
b$,
@@ -83847,7 +83916,7 @@ var NJe = (e, t, n, r, i, a, o) => {
], h2), U$], fqe),
UJe
], p2),
- VZ,
+ UZ,
U$
], g2)
], _2), WJe = Y([
@@ -83865,19 +83934,19 @@ var NJe = (e, t, n, r, i, a, o) => {
WJe,
KJe
], z0)], G$), K2 = Y([
- VZ,
+ UZ,
a2,
V2,
qJe,
GJe,
Y([
- VZ,
+ UZ,
W2,
a2,
U$
], zqe),
Y([
- VZ,
+ UZ,
W2,
a2,
U$
@@ -83885,26 +83954,26 @@ var NJe = (e, t, n, r, i, a, o) => {
U$
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var c = t.type, l = eZ(e, s);
+ var c = t.type, l = nZ(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 ? gK(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? vK(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return YX(n) ? {
+ return ZX(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(OK) : r.domain().map((e, t) => {
+ }).filter(AK) : r.domain().map((e, t) => {
var n = r.map(e);
- return YX(n) ? {
+ return ZX(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(OK);
+ }).filter(AK);
}
}
}), q2 = Y([
@@ -83931,10 +84000,10 @@ var NJe = (e, t, n, r, i, a, o) => {
JJe,
J2
], bJe), $Je = Y([Y2, Y([
- pZ,
- mZ,
- VZ,
- bZ,
+ hZ,
+ gZ,
+ UZ,
+ SZ,
K2,
J2,
QJe
@@ -83999,7 +84068,7 @@ function oYe(e, t) {
}
var sYe = () => J(a2), cYe = () => {
var e = sYe(), t = J(K2), n = J(qJe);
- return uZ(!e || !n ? void 0 : rYe(rYe({}, e), {}, { scale: n }), t);
+ return fZ(!e || !n ? void 0 : rYe(rYe({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
@@ -84106,9 +84175,9 @@ var gYe = (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 (gK(u - l) !== gK(d - u)) {
+ if (vK(u - l) !== vK(d - u)) {
var p = [];
- if (gK(d - u) === gK(i[1] - i[0])) {
+ if (vK(d - u) === vK(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);
@@ -84133,7 +84202,7 @@ var gYe = (e, t, n, r, i) => {
}
}
return -1;
-}, _Ye = () => J(S$), Q2 = (e, t) => t, vYe = (e, t, n) => n, $2 = (e, t, n, r) => r, yYe = Y(K2, (e) => RJ(e, (e) => e.coordinate)), e4 = Y([
+}, _Ye = () => J(S$), Q2 = (e, t) => t, vYe = (e, t, n) => n, $2 = (e, t, n, r) => r, yYe = Y(K2, (e) => BJ(e, (e) => e.coordinate)), e4 = Y([
B2,
Q2,
vYe,
@@ -84154,10 +84223,10 @@ var gYe = (e, t, n, r, i) => {
vYe,
$2
], bJe), n4 = Y([
- pZ,
- mZ,
- VZ,
- bZ,
+ hZ,
+ gZ,
+ UZ,
+ SZ,
K2,
$2,
xYe
@@ -84174,7 +84243,7 @@ var gYe = (e, t, n, r, i) => {
activeIndex: t
})), EYe = (e, t, n, r, i, a, o) => {
if (e && n && r && i && hYe(e, o)) {
- var s = gYe(rRe(e, t), a, i, n, r), c = pYe(t, i, s, e);
+ var s = gYe(tRe(e, t), a, i, n, r), c = pYe(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
@@ -84184,7 +84253,7 @@ var gYe = (e, t, n, r, i) => {
if (e && r && i && a && n) {
var s = xVe(e, n);
if (s) {
- var c = gYe(iRe(s, t), o, a, r, i), l = mYe(t, a, c, s);
+ var c = gYe(nRe(s, t), o, a, r, i), l = mYe(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
@@ -84255,7 +84324,7 @@ var IYe = { zIndexMap: Object.values(T$).reduce((e, t) => MYe(MYe({}, e), {}, {
function RYe(e) {
return LYe.has(e);
}
-var zYe = yX({
+var zYe = xX({
name: "zIndex",
initialState: IYe,
reducers: {
@@ -84268,39 +84337,39 @@ var zYe = yX({
panoramaElement: void 0
};
},
- prepare: hX()
+ prepare: _X()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var n = t.payload.zIndex;
e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !RYe(n) && delete e.zIndexMap[n]);
},
- prepare: hX()
+ prepare: _X()
},
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 = cX(i) : e.zIndexMap[r].element = cX(i) : e.zIndexMap[r] = {
+ e.zIndexMap[r] ? a ? e.zIndexMap[r].panoramaElement = uX(i) : e.zIndexMap[r].element = uX(i) : e.zIndexMap[r] = {
consumers: 0,
- element: a ? void 0 : cX(i),
- panoramaElement: a ? cX(i) : void 0
+ element: a ? void 0 : uX(i),
+ panoramaElement: a ? uX(i) : void 0
};
},
- prepare: hX()
+ prepare: _X()
},
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: hX()
+ prepare: _X()
}
}
}), r4 = zYe.actions, BYe = r4.registerZIndexPortal, i4 = r4.unregisterZIndexPortal, VYe = r4.registerZIndexPortalElement, HYe = r4.unregisterZIndexPortalElement, UYe = zYe.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function a4(e) {
- var t = e.zIndex, n = e.children, r = BRe() && t !== void 0 && t !== 0, i = CZ(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = kJ(), c = J((e) => kYe(e, t, i));
+ var t = e.zIndex, n = e.children, r = RRe() && t !== void 0 && t !== 0, i = TZ(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = jJ(), c = J((e) => kYe(e, t, i));
if ((0, b.useLayoutEffect)(() => {
if (!r) {
var e = o.current;
@@ -84392,9 +84461,9 @@ function YYe(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 = yBe, h = T$.cursorLine;
- else if (l === "BarChart") p = bBe(o, u, i, a), m = t$, h = T$.cursorRectangle;
- else if (o === "radial" && Mq(u)) {
+ if (l === "ScatterChart") p = u, m = _Be, h = T$.cursorLine;
+ else if (l === "BarChart") p = vBe(o, u, i, a), m = t$, h = T$.cursorRectangle;
+ else if (o === "radial" && Pq(u)) {
var g = SVe(u), _ = g.cx, v = g.cy, y = g.radius;
p = {
cx: _,
@@ -84404,14 +84473,14 @@ function YYe(e) {
innerRadius: y,
outerRadius: y
}, m = c$, h = T$.cursorLine;
- } else p = { points: PVe(o, u, i) }, m = AQ, h = T$.cursorLine;
+ } else p = { points: PVe(o, u, i) }, m = MQ, h = T$.cursorLine;
var x = typeof s == "object" && "className" in s ? s.className : void 0, S = s4(s4(s4(s4({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), tK(s)), {}, {
+ }, i), p), rK(s)), {}, {
payload: d,
payloadIndex: f,
- className: wv("recharts-tooltip-cursor", x)
+ className: Tv("recharts-tooltip-cursor", x)
});
return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ b.createElement(JYe, {
cursor: s,
@@ -84420,7 +84489,7 @@ function YYe(e) {
}));
}
function XYe(e) {
- var t = cYe(), n = RZ(), r = HZ(), i = _Ye();
+ var t = cYe(), n = BZ(), r = WZ(), i = _Ye();
return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ b.createElement(YYe, o4({}, e, {
offset: n,
layout: r,
@@ -84520,9 +84589,9 @@ var ZYe = /*#__PURE__*/ (0, b.createContext)(null), QYe = () => (0, b.useContext
})))(), 1)).default, c4 = new $Ye(), l4 = "recharts.syncEvent.tooltip", eXe = "recharts.syncEvent.brush", u4 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!_K(n)) return e[n];
+ if (!yK(n)) return e[n];
}
-}, tXe = yX({
+}, tXe = xX({
name: "options",
initialState: {
chartName: "",
@@ -84539,7 +84608,7 @@ var ZYe = /*#__PURE__*/ (0, b.createContext)(null), QYe = () => (0, b.useContext
function iXe(e) {
return e.tooltip.syncInteraction;
}
-var aXe = yX({
+var aXe = xX({
name: "chartData",
initialState: {
chartData: void 0,
@@ -84549,7 +84618,7 @@ var aXe = yX({
},
reducers: {
setChartData(e, t) {
- e.chartData = cX(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 = uX(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;
@@ -84624,9 +84693,9 @@ function hXe(e, t) {
return n;
}
function gXe() {
- var e = J(C$), t = J(w$), n = kJ(), r = J(uHe), i = J(K2), a = HZ(), o = LZ(), s = J((e) => e.rootProps.className);
+ var e = J(C$), t = J(w$), n = jJ(), r = J(uHe), i = J(K2), a = WZ(), o = zZ(), s = J((e) => e.rootProps.className);
(0, b.useEffect)(() => {
- if (e == null) return kK;
+ if (e == null) return jK;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (c.payload.active === !1) n(I2({
@@ -84709,9 +84778,9 @@ function gXe() {
]);
}
function _Xe() {
- var e = J(C$), t = J(w$), n = kJ();
+ var e = J(C$), t = J(w$), n = jJ();
(0, b.useEffect)(() => {
- if (e == null) return kK;
+ if (e == null) return jK;
var r = (r, i, a) => {
t !== a && e === r && n(sXe(i));
};
@@ -84725,13 +84794,13 @@ function _Xe() {
]);
}
function vXe() {
- var e = kJ();
+ var e = jJ();
(0, b.useEffect)(() => {
e(rXe());
}, [e]), gXe(), _Xe();
}
function yXe(e, t, n, r, i, a) {
- var o = J((n) => bYe(n, e, t)), s = J(ZJe), c = J(w$), l = J(C$), u = J(uHe), d = J(iXe)?.sourceViewBox != null, f = LZ();
+ var o = J((n) => bYe(n, e, t)), s = J(ZJe), c = J(w$), l = J(C$), u = J(uHe), d = J(iXe)?.sourceViewBox != null, f = zZ();
(0, b.useEffect)(() => {
if (!d && l != null && c != null) {
var e = I2({
@@ -84850,7 +84919,7 @@ function jXe(e) {
return e.dataKey;
}
function MXe(e, t) {
- return /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ b.createElement(e, t) : /*#__PURE__*/ b.createElement(zze, t);
+ return /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ b.createElement(e, t) : /*#__PURE__*/ b.createElement(Lze, t);
}
var NXe = [], PXe = {
allowEscapeViewBox: {
@@ -84879,7 +84948,7 @@ var NXe = [], PXe = {
wrapperStyle: {}
};
function FXe(e) {
- var t = Iq(e, PXe), 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 = kJ(), C = typeof v == "number" ? String(v) : v;
+ var t = Rq(e, PXe), 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 = jJ(), C = typeof v == "number" ? String(v) : v;
(0, b.useEffect)(() => {
S(tJe({
shared: g,
@@ -84896,12 +84965,12 @@ function FXe(e) {
n,
C
]);
- var w = LZ(), T = bQ(), E = Jqe(g), D = J((e) => TYe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => wYe(e, E, _, C)), j = J((e) => CYe(e, E, _, C)), M = J((e) => SYe(e, E, _, C)), N = A, P = QYe(), ee = n ?? k ?? !1, F = TXe(WJ([N, ee]), 2), te = F[0], I = F[1], ne = E === "axis" ? j : void 0;
+ var w = zZ(), T = SQ(), E = Jqe(g), D = J((e) => TYe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => wYe(e, E, _, C)), j = J((e) => CYe(e, E, _, C)), M = J((e) => SYe(e, E, _, C)), N = A, P = QYe(), ee = n ?? k ?? !1, F = TXe(KJ([N, ee]), 2), te = F[0], I = F[1], ne = E === "axis" ? j : void 0;
yXe(E, _, M, ne, O, ee);
var re = y ?? P;
if (re == null || w == null || E == null) return null;
var ie = N ?? NXe;
- ee || (ie = NXe), s && ie.length && (ie = DJ(ie.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, jXe));
+ ee || (ie = NXe), s && ie.length && (ie = kJ(ie.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, jXe));
var ae = ie.length > 0, oe = xXe(xXe({}, t), {}, {
payload: ie,
label: ne,
@@ -84909,7 +84978,7 @@ function FXe(e) {
activeIndex: O,
coordinate: M,
accessibilityLayer: T
- }), se = /*#__PURE__*/ b.createElement(aBe, {
+ }), se = /*#__PURE__*/ b.createElement(rBe, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -85063,7 +85132,7 @@ var XXe = (e, t) => {
}
}, m4 = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
- if (e == null || mQ.isSsr) return {
+ if (e == null || gQ.isSsr) return {
width: 0,
height: 0
};
@@ -85167,7 +85236,7 @@ var _4 = class e {
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, _K(e) && (this.unit = ""), t !== "" && !cZe.test(t) && (this.num = NaN, this.unit = ""), fZe(t) && (this.num = pZe(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, yK(e) && (this.unit = ""), t !== "" && !cZe.test(t) && (this.num = NaN, this.unit = ""), fZe(t) && (this.num = pZe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -85185,7 +85254,7 @@ var _4 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return _K(this.num);
+ return yK(this.num);
}
};
ZXe = _4, rZe(_4, "NaN", new ZXe(NaN, ""));
@@ -85317,7 +85386,7 @@ var kZe = /[ \f\n\r\t\v\u2028\u2029]+/, AZe = (e) => {
var t = e.children, n = e.breakAll, r = e.style;
try {
var i = [];
- return EK(t) || (i = n ? t.toString().split("") : t.toString().split(kZe)), {
+ return OK(t) || (i = n ? t.toString().split("") : t.toString().split(kZe)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: m4(e, r).width
@@ -85332,7 +85401,7 @@ function jZe(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
function MZe(e) {
- return EK(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+ return OK(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
var NZe = (e, t, n, r) => e.reduce((e, i) => {
var a = i.word, o = i.width, s = e[e.length - 1];
@@ -85355,7 +85424,7 @@ var NZe = (e, t, n, r) => e.reduce((e, i) => {
var l = NZe(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || PZe(l).width > Number(a), l];
}, LZe = (e, t, n, r, i) => {
- var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = yK(a), u = String(o), d = NZe(t, r, n, i);
+ var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = xK(a), u = String(o), d = NZe(t, r, n, i);
if (!l || i || !(d.length > a || PZe(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), _ = CZe(IZe(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = CZe(IZe(u, g, c, s, a, r, n, i), 1)[0];
@@ -85367,11 +85436,11 @@ var NZe = (e, t, n, r) => e.reduce((e, i) => {
}
return h || d;
}, RZe = (e) => [{
- words: EK(e) ? [] : e.toString().split(kZe),
+ words: OK(e) ? [] : e.toString().split(kZe),
width: void 0
}], zZe = (e) => {
var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, o = e.maxLines;
- if ((t || n) && !mQ.isSsr) {
+ if ((t || n) && !gQ.isSsr) {
var s, c, l = AZe({
breakAll: a,
children: r,
@@ -85401,7 +85470,7 @@ var NZe = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, b4 = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = Iq(e, VZe), 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 = xZe(n, yZe), f = (0, b.useMemo)(() => zZe({
+ var n = Rq(e, VZe), 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 = xZe(n, yZe), f = (0, b.useMemo)(() => zZe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -85416,9 +85485,9 @@ var NZe = (e, t, n, r) => e.reduce((e, i) => {
d.style,
d.width
]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = xZe(d, bZe);
- if (!bK(r) || !bK(i) || f.length === 0) return null;
- var y = Number(r) + (yK(p) ? p : 0), x = Number(i) + (yK(m) ? m : 0);
- if (!YX(y) || !YX(x)) return null;
+ if (!SK(r) || !SK(i) || f.length === 0) return null;
+ var y = Number(r) + (xK(p) ? p : 0), x = Number(i) + (xK(m) ? m : 0);
+ if (!ZX(y) || !ZX(x)) return null;
var S;
switch (u) {
case "start":
@@ -85432,13 +85501,13 @@ var NZe = (e, t, n, r) => e.reduce((e, i) => {
var C = [], w = f[0];
if (c && w != null) {
var T = w.width, E = d.width;
- C.push(`scale(${yK(E) && yK(T) ? E / T : 1})`);
+ C.push(`scale(${xK(E) && xK(T) ? E / T : 1})`);
}
- return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", y4({}, nK(v), {
+ return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", y4({}, iK(v), {
ref: t,
x: y,
y: x,
- className: wv("recharts-text", g),
+ className: Tv("recharts-text", g),
textAnchor: l,
fill: s.includes("url") ? BZe : s
}), f.map((e, t) => {
@@ -85542,8 +85611,8 @@ var XZe = /*#__PURE__*/ (0, b.createContext)(null), ZZe = (e) => {
]);
return /*#__PURE__*/ b.createElement(XZe.Provider, { value: c }, s);
}, QZe = () => {
- var e = (0, b.useContext)(XZe), t = LZ();
- return e || (t ? AK(t) : void 0);
+ var e = (0, b.useContext)(XZe), t = zZ();
+ return e || (t ? MK(t) : void 0);
}, $Ze = /*#__PURE__*/ (0, b.createContext)(null), eQe = (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,
@@ -85567,9 +85636,9 @@ var XZe = /*#__PURE__*/ (0, b.createContext)(null), ZZe = (e) => {
var e = (0, b.useContext)($Ze), t = J(F$);
return e || t;
}, nQe = (e) => {
- var t = e.value, n = e.formatter, r = EK(e.children) ? t : e.children;
+ var t = e.value, n = e.formatter, r = OK(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, C4 = (e) => e != null && typeof e == "function", rQe = (e, t) => gK(t - e) * Math.min(Math.abs(t - e), 360), iQe = (e, t, n, r, i) => {
+}, C4 = (e) => e != null && typeof e == "function", rQe = (e, t) => vK(t - e) * Math.min(Math.abs(t - e), 360), iQe = (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 = rQe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
@@ -85586,10 +85655,10 @@ var XZe = /*#__PURE__*/ (0, b.createContext)(null), ZZe = (e) => {
v = h <= 0 ? v : !v;
var y = i$(s, c, m, _), x = i$(s, c, m, _ + (v ? 1 : -1) * 359), S = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${x.x},${x.y}`, C = EK(e.id) ? xK("recharts-radial-line-") : e.id;
+ ${x.x},${x.y}`, C = OK(e.id) ? CK("recharts-radial-line-") : e.id;
return /*#__PURE__*/ b.createElement("text", S4({}, r, {
dominantBaseline: "central",
- className: wv("recharts-radial-bar-label", o)
+ className: Tv("recharts-radial-bar-label", o)
}), /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("path", {
id: C,
d: S
@@ -85630,7 +85699,7 @@ var XZe = /*#__PURE__*/ (0, b.createContext)(null), ZZe = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, w4 = (e) => e != null && "cx" in e && yK(e.cx), oQe = {
+}, w4 = (e) => e != null && "cx" in e && xK(e.cx), oQe = {
angle: 0,
offset: 5,
zIndex: T$.label,
@@ -85650,12 +85719,12 @@ function sQe(e) {
};
}
function T4(e) {
- var t = Iq(e, oQe), 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 = tQe(), p = QZe(), m = n == null ? i === "center" ? p : f ?? p : w4(n) ? n : AK(n), h, g, _ = sQe(m);
- if (!m || EK(a) && EK(o) && !/*#__PURE__*/ (0, b.isValidElement)(s) && typeof s != "function") return null;
+ var t = Rq(e, oQe), 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 = tQe(), p = QZe(), m = n == null ? i === "center" ? p : f ?? p : w4(n) ? n : MK(n), h, g, _ = sQe(m);
+ if (!m || OK(a) && OK(o) && !/*#__PURE__*/ (0, b.isValidElement)(s) && typeof s != "function") return null;
var v = w4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");
if (w4(m)) v || (g = aQe(m, t.offset, t.position));
else if (_) {
- var y = NK({
+ var y = FK({
viewBox: _,
position: i,
offset: t.offset,
@@ -85680,10 +85749,10 @@ function T4(e) {
var C = WZe(x, UZe);
if (h = /*#__PURE__*/ (0, b.createElement)(s, C), /*#__PURE__*/ (0, b.isValidElement)(h)) return h;
} else h = nQe(t);
- var w = nK(t);
+ var w = iK(t);
return v && w4(m) ? iQe(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(b4, S4({
ref: d,
- className: wv("recharts-label", l)
+ className: Tv("recharts-label", l)
}, w, g, {
textAnchor: jZe(w.textAnchor) ? w.textAnchor : g.textAnchor,
breakAll: u
@@ -85696,7 +85765,7 @@ var cQe = (e, t, n) => {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ b.createElement(T4, S4({ key: "label-implicit" }, r)) : bK(e) ? /*#__PURE__*/ b.createElement(T4, S4({
+ return e === !0 ? /*#__PURE__*/ b.createElement(T4, S4({ key: "label-implicit" }, r)) : SK(e) ? /*#__PURE__*/ b.createElement(T4, S4({
key: "label-implicit",
value: e
}, r)) : /*#__PURE__*/ (0, b.isValidElement)(e) ? e.type === T4 ? /*#__PURE__*/ (0, b.cloneElement)(e, x4({ key: "label-implicit" }, r)) : /*#__PURE__*/ b.createElement(T4, S4({
@@ -85765,9 +85834,9 @@ function O4(e) {
var t = e.valueAccessor, n = t === void 0 ? hQe : t, r = pQe(e, dQe), i = r.dataKey;
r.clockWise;
var a = r.id, o = r.textBreakAll, s = r.zIndex, c = pQe(r, fQe), l = yQe(), u = bQe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s ?? T$.label }, /*#__PURE__*/ b.createElement(oK, { className: "recharts-label-list" }, d.map((e, t) => {
- var s = EK(i) ? n(e, t) : $X(e.payload, i), l = EK(a) ? {} : { id: `${a}-${t}` };
- return /*#__PURE__*/ b.createElement(T4, E4({ key: `label-${t}` }, nK(e), c, l, {
+ return !d || !d.length ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s ?? T$.label }, /*#__PURE__*/ b.createElement(cK, { className: "recharts-label-list" }, d.map((e, t) => {
+ var s = OK(i) ? n(e, t) : tZ(e.payload, i), l = OK(a) ? {} : { id: `${a}-${t}` };
+ return /*#__PURE__*/ b.createElement(T4, E4({ key: `label-${t}` }, iK(e), c, l, {
fill: r.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -85837,7 +85906,7 @@ var EQe = (e) => e != null && e.x === +e.x && e.y === +e.y, DQe = function() {
}, j4 = (e, t) => {
var n = DQe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => hK(SQe ||= TQe([
+ var r = n.map((e) => e.reduce((e, t, n) => _K(SQe ||= TQe([
"",
"",
"",
@@ -85851,23 +85920,23 @@ var EQe = (e) => e != null && e.x === +e.x && e.y === +e.y, DQe = function() {
}, kQe = (e) => {
var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = CQe(e, xQe);
if (!t || !t.length) return null;
- var o = wv("recharts-polygon", n);
+ var o = Tv("recharts-polygon", n);
if (r && r.length) {
var s = a.stroke && a.stroke !== "none", c = OQe(t, r, i);
- return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", A4({}, nK(a), {
+ return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", A4({}, iK(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ b.createElement("path", A4({}, nK(a), {
+ })), s ? /*#__PURE__*/ b.createElement("path", A4({}, iK(a), {
fill: "none",
d: j4(t, i)
- })) : null, s ? /*#__PURE__*/ b.createElement("path", A4({}, nK(a), {
+ })) : null, s ? /*#__PURE__*/ b.createElement("path", A4({}, iK(a), {
fill: "none",
d: j4(r, i)
})) : null);
}
var l = j4(t, i);
- return /*#__PURE__*/ b.createElement("path", A4({}, nK(a), {
+ return /*#__PURE__*/ b.createElement("path", A4({}, iK(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -85885,8 +85954,8 @@ function M4() {
}, M4.apply(null, arguments);
}
var N4 = (e) => {
- var t = e.cx, n = e.cy, r = e.r, i = e.className, a = wv("recharts-dot", i);
- return yK(t) && yK(n) && yK(r) ? /*#__PURE__*/ b.createElement("circle", M4({}, eK(e), Nq(e), {
+ var t = e.cx, n = e.cy, r = e.r, i = e.className, a = Tv("recharts-dot", i);
+ return xK(t) && xK(n) && xK(r) ? /*#__PURE__*/ b.createElement("circle", M4({}, nK(e), Fq(e), {
className: a,
cx: t,
cy: n,
@@ -85906,18 +85975,18 @@ Y([
q0,
F4
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: $X(e, t.dataKey ?? n.dataKey),
+ value: tZ(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: $X(e, t.dataKey),
+ value: tZ(e, t.dataKey),
errorDomain: []
})));
var jQe = () => void 0, MQe = Y([
q0,
- VZ,
+ UZ,
I4,
AQe,
b$,
@@ -85936,7 +86005,7 @@ var jQe = () => void 0, MQe = Y([
zVe
], m2),
jQe,
- VZ,
+ UZ,
I$
], g2)
], _2), NQe = Y([
@@ -85966,12 +86035,12 @@ var jQe = () => void 0, MQe = Y([
PQe,
R4
], z0)], G$), FQe = Y([
- VZ,
+ UZ,
AQe,
J0,
I$
], T2), B4 = Y([
- VZ,
+ UZ,
L4,
y2,
z4,
@@ -85989,7 +86058,7 @@ var jQe = () => void 0, MQe = Y([
}), Array.from(t.values());
}
}), LQe = Y([
- VZ,
+ UZ,
L4,
z4,
R4,
@@ -86092,7 +86161,7 @@ var qQe = (e, t, n, r) => {
}, JQe = (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 = H4({}, eK(e));
+ var s = H4({}, nK(e));
return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = i$(t, n, r, e), o = i$(t, n, i, e);
return /*#__PURE__*/ b.createElement("line", V4({ key: `line-${e}` }, s, {
@@ -86103,17 +86172,17 @@ var qQe = (e, t, n, r) => {
}));
}));
}, YQe = (e) => {
- var t = e.cx, n = e.cy, r = e.radius, i = H4({}, eK(e));
+ var t = e.cx, n = e.cy, r = e.radius, i = H4({}, nK(e));
return /*#__PURE__*/ b.createElement("circle", V4({}, i, {
- className: wv("recharts-polar-grid-concentric-circle", e.className),
+ className: Tv("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
}, XQe = (e) => {
- var t = e.radius, n = H4({}, eK(e));
+ var t = e.radius, n = H4({}, nK(e));
return /*#__PURE__*/ b.createElement("path", V4({}, n, {
- className: wv("recharts-polar-grid-concentric-polygon", e.className),
+ className: Tv("recharts-polar-grid-concentric-polygon", e.className),
d: qQe(t, e.cx, e.cy, e.polarAngles)
}));
}, ZQe = (e) => {
@@ -86140,7 +86209,7 @@ var qQe = (e, t, n, r) => {
strokeWidth: 1,
fill: "none"
}, $Qe = (e) => {
- var t = Iq(e, QQe), 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 = VQe(t, BQe), m = J(F$), h = J((e) => RQe(e, i)), g = J((e) => zQe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ var t = Rq(e, QQe), 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 = VQe(t, BQe), m = J(F$), h = J((e) => RQe(e, i)), g = J((e) => zQe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = H4({
cx: m?.cx ?? o ?? 0,
@@ -86173,11 +86242,11 @@ function U4(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function e$e(e, t = Vq) {
+function e$e(e, t = Uq) {
if (e == null) return;
let n = U4(e);
if (n.length === 0) return;
- let r = TJ(t), i, a;
+ let r = DJ(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);
@@ -86186,11 +86255,11 @@ function e$e(e, t = Vq) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function t$e(e, t = Vq) {
+function t$e(e, t = Uq) {
if (e == null) return;
let n = U4(e);
if (n.length === 0) return;
- let r = TJ(t), i, a;
+ let r = DJ(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);
@@ -86199,7 +86268,7 @@ function t$e(e, t = Vq) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var n$e = yX({
+var n$e = xX({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -86207,13 +86276,13 @@ var n$e = yX({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = cX(t.payload);
+ e.radiusAxis[t.payload.id] = uX(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = cX(t.payload);
+ e.angleAxis[t.payload.id] = uX(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
@@ -86310,11 +86379,11 @@ function h$e(e, t) {
}
var g$e = "radiusAxis";
function _$e(e) {
- var t = kJ(), n = GZ(), r = (0, b.useMemo)(() => {
+ var t = jJ(), n = qZ(), r = (0, b.useMemo)(() => {
var t = e.type, r = J4(e, c$e), i = k$(n, "radiusAxis", t);
if (i != null) return q4(q4({}, r), {}, { type: i });
}, [e, n]);
- return (0, b.useEffect)(() => r == null ? kK : (t(r$e(r)), () => {
+ return (0, b.useEffect)(() => r == null ? jK : (t(r$e(r)), () => {
t(i$e(r));
}), [t, r]), null;
}
@@ -86345,7 +86414,7 @@ var v$e = (e, t, n, r) => {
clockWise: !1
};
}, x$e = (e, t) => {
- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = J4(e, l$e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = i$(n, r, s[0], i), l = i$(n, r, s[1], i), u = q4(q4(q4({}, eK(o)), {}, { fill: "none" }, eK(a)), {}, {
+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = J4(e, l$e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = i$(n, r, s[0], i), l = i$(n, r, s[1], i), u = q4(q4(q4({}, nK(o)), {}, { fill: "none" }, nK(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
@@ -86353,7 +86422,7 @@ var v$e = (e, t, n, r) => {
});
return /*#__PURE__*/ b.createElement("line", K4({ className: "recharts-polar-radius-axis-line" }, u));
}, S$e = (e, t, n) => /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ b.createElement(b4, K4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), C$e = (e, t) => {
- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = J4(e, u$e), s = y$e(e.orientation), c = eK(o), l = tK(a), u = t.map((t, o) => {
+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = J4(e, u$e), s = y$e(e.orientation), c = nK(o), l = rK(a), u = t.map((t, o) => {
var u = v$e(t, e.angle, e.cx, e.cy), d = q4(q4(q4(q4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
@@ -86361,20 +86430,20 @@ var v$e = (e, t, n, r) => {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ b.createElement(oK, K4({
- className: wv("recharts-polar-radius-axis-tick", G4(a)),
+ return /*#__PURE__*/ b.createElement(cK, K4({
+ className: Tv("recharts-polar-radius-axis-tick", G4(a)),
key: `tick-${t.coordinate}`
- }, Pq(e, t, o)), S$e(a, d, r ? r(t.value, o) : t.value));
+ }, Iq(e, t, o)), S$e(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ b.createElement(oK, { className: "recharts-polar-radius-axis-ticks" }, u);
+ return /*#__PURE__*/ b.createElement(cK, { className: "recharts-polar-radius-axis-ticks" }, u);
}, w$e = (e) => {
var t = e.radiusAxisId, n = J(F$), r = J((e) => z4(e, "radiusAxis", t)), i = J((e) => B4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = q4(q4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
- return /*#__PURE__*/ b.createElement(a4, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(oK, { className: wv("recharts-polar-radius-axis", g$e, a.className) }, s && x$e(a, i), o && C$e(a, i), /*#__PURE__*/ b.createElement(eQe, b$e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(uQe, { label: a.label }), a.children)));
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(cK, { className: Tv("recharts-polar-radius-axis", g$e, a.className) }, s && x$e(a, i), o && C$e(a, i), /*#__PURE__*/ b.createElement(eQe, b$e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(uQe, { label: a.label }), a.children)));
};
function T$e(e) {
- var t = Iq(e, D$);
+ var t = Rq(e, D$);
return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(_$e, {
domain: t.domain,
id: t.radiusAxisId,
@@ -86470,12 +86539,12 @@ function N$e(e, t) {
}
var P$e = 1e-5, F$e = Math.cos(r$(45)), I$e = "angleAxis";
function L$e(e) {
- var t = kJ(), n = GZ(), r = (0, b.useMemo)(() => {
+ var t = jJ(), n = qZ(), r = (0, b.useMemo)(() => {
e.children;
var t = e.type, r = M$e(e, E$e), i = k$(n, "angleAxis", t);
if (i != null) return X4(X4({}, r), {}, { type: i });
}, [e, n]), i = r === J((e) => j$(e, r?.id));
- return (0, b.useEffect)(() => r == null ? kK : (t(a$e(r)), () => {
+ return (0, b.useEffect)(() => r == null ? jK : (t(a$e(r)), () => {
t(o$e(r));
}), [t, r]), i ? e.children : null;
}
@@ -86496,7 +86565,7 @@ var R$e = (e, t) => {
}, V$e = (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 = X4(X4({}, eK(e)), {}, { fill: "none" }, eK(a));
+ var s = X4(X4({}, nK(e)), {}, { fill: "none" }, nK(a));
if (i === "circle") return /*#__PURE__*/ b.createElement(N4, Y4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
@@ -86508,9 +86577,9 @@ var R$e = (e, t) => {
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(b4, Y4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
}, U$e = (e) => {
- var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = eK(e);
+ var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = nK(e);
o.ref;
- var s = M$e(o, D$e), c = tK(t), l = X4(X4({}, s), {}, { fill: "none" }, eK(n)), u = a.map((a, o) => {
+ var s = M$e(o, D$e), c = rK(t), l = X4(X4({}, s), {}, { fill: "none" }, nK(n)), u = a.map((a, o) => {
var u = R$e(a, e), d = z$e(a, e.orientation), f = B$e(a), p = X4(X4(X4({}, s), {}, {
textAnchor: d,
verticalAnchor: f,
@@ -86522,27 +86591,27 @@ var R$e = (e, t) => {
x: u.x2,
y: u.y2
});
- return /*#__PURE__*/ b.createElement(oK, Y4({
- className: wv("recharts-polar-angle-axis-tick", G4(t)),
+ return /*#__PURE__*/ b.createElement(cK, Y4({
+ className: Tv("recharts-polar-angle-axis-tick", G4(t)),
key: `tick-${a.coordinate}`
- }, Pq(e, a, o)), n && /*#__PURE__*/ b.createElement("line", Y4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(H$e, {
+ }, Iq(e, a, o)), n && /*#__PURE__*/ b.createElement("line", Y4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(H$e, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ b.createElement(oK, { className: "recharts-polar-angle-axis-ticks" }, u);
+ return /*#__PURE__*/ b.createElement(cK, { className: "recharts-polar-angle-axis-ticks" }, u);
}, W$e = (e) => {
- var t = e.angleAxisId, n = J(F$), r = J((e) => z4(e, "angleAxis", t)), i = CZ(), a = J((e) => IQe(e, "angleAxis", t, i));
+ var t = e.angleAxisId, n = J(F$), r = J((e) => z4(e, "angleAxis", t)), i = TZ(), a = J((e) => IQe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = X4(X4(X4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ b.createElement(a4, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(oK, { className: wv("recharts-polar-angle-axis", I$e, o.className) }, /*#__PURE__*/ b.createElement(V$e, o), /*#__PURE__*/ b.createElement(U$e, o)));
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(cK, { className: Tv("recharts-polar-angle-axis", I$e, o.className) }, /*#__PURE__*/ b.createElement(V$e, o), /*#__PURE__*/ b.createElement(U$e, o)));
};
function Z4(e) {
- var t = Iq(e, E$);
+ var t = Rq(e, E$);
return /*#__PURE__*/ b.createElement(L$e, {
id: t.angleAxisId,
scale: t.scale,
@@ -86600,13 +86669,13 @@ var G$e = /* @__PURE__ */ o(((e) => {
if (e === J$e && Array.isArray(Q4)) return Q4;
var t = [];
return b.Children.forEach(e, (e) => {
- EK(e) || ((0, K$e.isFragment)(e) ? t = t.concat(Y$e(e.props.children)) : t.push(e));
+ OK(e) || ((0, K$e.isFragment)(e) ? t = t.concat(Y$e(e.props.children)) : t.push(e));
}), Q4 = t, J$e = e, t;
};
function X$e(e, t) {
var n = [], r = [];
return r = Array.isArray(t) ? t.map((e) => q$e(e)) : [q$e(t)], Y$e(e).forEach((e) => {
- var t = pK(e, "type.displayName") || pK(e, "type.name");
+ var t = hK(e, "type.displayName") || hK(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
@@ -86676,12 +86745,12 @@ function o1e(e) {
}
function e3(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 = a1e(r), l = /*#__PURE__*/ (0, b.isValidElement)(t) ? i1e(t, r) : t === n ? /*#__PURE__*/ b.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ b.createElement(n, n1e(t, r)) : /*#__PURE__*/ b.createElement(n, r);
- return o1e(r) ? /*#__PURE__*/ b.createElement(oK, { className: a }, l) : /*#__PURE__*/ b.createElement(oK, { className: s }, l);
+ return o1e(r) ? /*#__PURE__*/ b.createElement(cK, { className: a }, l) : /*#__PURE__*/ b.createElement(cK, { className: s }, l);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
var t3 = (e, t, n) => {
- var r = kJ();
+ var r = jJ();
return (i, a) => (o) => {
e?.(i, a, o), r(nJe({
activeIndex: String(a),
@@ -86691,12 +86760,12 @@ var t3 = (e, t, n) => {
}));
};
}, n3 = (e) => {
- var t = kJ();
+ var t = jJ();
return (n, r) => (i) => {
e?.(n, r, i), t(rJe());
};
}, r3 = (e, t, n) => {
- var r = kJ();
+ var r = jJ();
return (i, a) => (o) => {
e?.(i, a, o), r(aJe({
activeIndex: String(a),
@@ -86709,7 +86778,7 @@ var t3 = (e, t, n) => {
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
function i3(e) {
- var t = e.tooltipEntrySettings, n = kJ(), r = CZ(), i = (0, b.useRef)(null);
+ var t = e.tooltipEntrySettings, n = jJ(), r = TZ(), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
r || (i.current === null ? n(Qqe(t)) : i.current !== t && n($qe({
prev: i.current,
@@ -86726,9 +86795,9 @@ function i3(e) {
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
function a3(e) {
- var t = e.legendPayload, n = kJ(), r = CZ(), i = (0, b.useRef)(null);
+ var t = e.legendPayload, n = jJ(), r = TZ(), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- r || (i.current === null ? n(XZ(t)) : i.current !== t && n(ZZ({
+ r || (i.current === null ? n(QZ(t)) : i.current !== t && n($Z({
prev: i.current,
next: t
})), i.current = t);
@@ -86737,13 +86806,13 @@ function a3(e) {
r,
t
]), (0, b.useLayoutEffect)(() => () => {
- i.current &&= (n(QZ(i.current)), null);
+ i.current &&= (n(eQ(i.current)), null);
}, [n]), null;
}
function s1e(e) {
- var t = e.legendPayload, n = kJ(), r = J(VZ), i = (0, b.useRef)(null);
+ var t = e.legendPayload, n = jJ(), r = J(UZ), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(XZ(t)) : i.current !== t && n(ZZ({
+ (r === "centric" || r === "radial") && (i.current === null ? n(QZ(t)) : i.current !== t && n($Z({
prev: i.current,
next: t
})), i.current = t);
@@ -86752,7 +86821,7 @@ function s1e(e) {
r,
t
]), (0, b.useLayoutEffect)(() => () => {
- i.current &&= (n(QZ(i.current)), null);
+ i.current &&= (n(eQ(i.current)), null);
}, [n]), null;
}
//#endregion
@@ -86927,8 +86996,8 @@ function u3(e, t) {
};
}
function d3(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 = KQ(t, n), _ = l3(g, i), v = _.startValue ?? null, y = c3(v, r, f ?? o3);
- return /*#__PURE__*/ b.createElement(GQ, {
+ 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 = JQ(t, n), _ = l3(g, i), v = _.startValue ?? null, y = c3(v, r, f ?? o3);
+ return /*#__PURE__*/ b.createElement(qQ, {
animationId: g,
begin: o,
duration: s,
@@ -86984,7 +87053,7 @@ function k1e(e, t) {
function A1e(e) {
if (Array.isArray(e)) return e;
}
-var j1e = b.useId ?? (() => T1e(b.useState(() => xK("uid-")), 1)[0]);
+var j1e = b.useId ?? (() => T1e(b.useState(() => CK("uid-")), 1)[0]);
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
function M1e(e, t) {
@@ -86996,7 +87065,7 @@ function M1e(e, t) {
var N1e = /*#__PURE__*/ (0, b.createContext)(void 0), f3 = (e) => {
var t = e.id, n = e.type, r = e.children, i = M1e(`recharts-${n}`, t);
return /*#__PURE__*/ b.createElement(N1e.Provider, { value: i }, r(i));
-}, P1e = yX({
+}, P1e = xX({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -87005,47 +87074,47 @@ var N1e = /*#__PURE__*/ (0, b.createContext)(void 0), f3 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(cX(t.payload));
+ e.cartesianItems.push(uX(t.payload));
},
- prepare: hX()
+ prepare: _X()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = aX(e).cartesianItems.indexOf(cX(r));
- a > -1 && (e.cartesianItems[a] = cX(i));
+ var n = t.payload, r = n.prev, i = n.next, a = sX(e).cartesianItems.indexOf(uX(r));
+ a > -1 && (e.cartesianItems[a] = uX(i));
},
- prepare: hX()
+ prepare: _X()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = aX(e).cartesianItems.indexOf(cX(t.payload));
+ var n = sX(e).cartesianItems.indexOf(uX(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: hX()
+ prepare: _X()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(cX(t.payload));
+ e.polarItems.push(uX(t.payload));
},
- prepare: hX()
+ prepare: _X()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = aX(e).polarItems.indexOf(cX(t.payload));
+ var n = sX(e).polarItems.indexOf(uX(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: hX()
+ prepare: _X()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = aX(e).polarItems.indexOf(cX(r));
- a > -1 && (e.polarItems[a] = cX(i));
+ var n = t.payload, r = n.prev, i = n.next, a = sX(e).polarItems.indexOf(uX(r));
+ a > -1 && (e.polarItems[a] = uX(i));
},
- prepare: hX()
+ prepare: _X()
}
}
}), p3 = P1e.actions, F1e = p3.addCartesianGraphicalItem, I1e = p3.replaceCartesianGraphicalItem, L1e = p3.removeCartesianGraphicalItem, R1e = p3.addPolarGraphicalItem, z1e = p3.removePolarGraphicalItem, B1e = p3.replacePolarGraphicalItem, V1e = P1e.reducer, m3 = /*#__PURE__*/ (0, b.memo)((e) => {
- var t = kJ(), n = (0, b.useRef)(null);
+ var t = jJ(), n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
n.current === null ? t(F1e(e)) : n.current !== e && t(I1e({
prev: n.current,
@@ -87055,7 +87124,7 @@ var N1e = /*#__PURE__*/ (0, b.createContext)(void 0), f3 = (e) => {
n.current &&= (t(L1e(n.current)), null);
}, [t]), null;
}), H1e = /*#__PURE__*/ (0, b.memo)((e) => {
- var t = kJ(), n = (0, b.useRef)(null);
+ var t = jJ(), n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
n.current === null ? t(R1e(e)) : n.current !== e && t(B1e({
prev: n.current,
@@ -87073,7 +87142,7 @@ function U1e(e) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
function W1e(e) {
- if (Hq(e) && e.length !== 0) return U1e(U4(e));
+ if (Wq(e) && e.length !== 0) return U1e(U4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
@@ -87152,7 +87221,7 @@ function Q1e(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 = wv(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};
+ var i = Tv(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};
a.points;
var o = X1e(a, G1e);
return /*#__PURE__*/ b.createElement(N4, g3({}, o, { className: i }));
@@ -87163,7 +87232,7 @@ function $1e(e, t) {
function _3(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 ? T$.scatter : l;
if (!$1e(t, n)) return null;
- var d = $4(n), f = FPe(n), p = t.map((e, r) => {
+ var d = $4(n), f = NPe(n), p = t.map((e, r) => {
var s = h3(h3(h3({ r: 3 }, o), f), {}, {
index: r,
cx: e.x ?? void 0,
@@ -87180,7 +87249,7 @@ function _3(e) {
className: i
});
}), m = {};
- return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(a4, { zIndex: u }, /*#__PURE__*/ b.createElement(oK, g3({ className: r }, m), p));
+ return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(a4, { zIndex: u }, /*#__PURE__*/ b.createElement(cK, g3({ className: r }, m), p));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -87227,7 +87296,7 @@ function r0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var i0e = yX({
+var i0e = xX({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -87237,60 +87306,60 @@ var i0e = yX({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = cX(t.payload);
+ e.xAxis[t.payload.id] = uX(t.payload);
},
- prepare: hX()
+ prepare: _X()
},
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] = cX(i));
+ e.xAxis[r.id] !== void 0 && (r.id !== i.id && delete e.xAxis[r.id], e.xAxis[i.id] = uX(i));
},
- prepare: hX()
+ prepare: _X()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: hX()
+ prepare: _X()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = cX(t.payload);
+ e.yAxis[t.payload.id] = uX(t.payload);
},
- prepare: hX()
+ prepare: _X()
},
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] = cX(i));
+ e.yAxis[r.id] !== void 0 && (r.id !== i.id && delete e.yAxis[r.id], e.yAxis[i.id] = uX(i));
},
- prepare: hX()
+ prepare: _X()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: hX()
+ prepare: _X()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = cX(t.payload);
+ e.zAxis[t.payload.id] = uX(t.payload);
},
- prepare: hX()
+ prepare: _X()
},
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] = cX(i));
+ e.zAxis[r.id] !== void 0 && (r.id !== i.id && delete e.zAxis[r.id], e.zAxis[i.id] = uX(i));
},
- prepare: hX()
+ prepare: _X()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: hX()
+ prepare: _X()
},
updateYAxisWidth(e, t) {
var n = t.payload, r = n.id, i = n.width, a = e.yAxis[r];
@@ -87320,14 +87389,14 @@ var i0e = yX({
}), y3 = i0e.actions, a0e = y3.addXAxis, o0e = y3.replaceXAxis, s0e = y3.removeXAxis, c0e = y3.addYAxis, l0e = y3.replaceYAxis, u0e = y3.removeYAxis;
y3.addZAxis, y3.replaceZAxis, y3.removeZAxis;
var d0e = y3.updateYAxisWidth, f0e = y3.updateXAxisHeight, p0e = i0e.reducer, m0e = Y([
- Y([bZ], (e) => ({
+ Y([SZ], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- pZ,
- mZ
+ hZ,
+ gZ
], (e, t, n) => {
if (e && t != null && n != null) return {
x: e.left,
@@ -87395,8 +87464,8 @@ var b0e = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), tK(i)), Nq(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(N4, s);
- return /*#__PURE__*/ b.createElement(oK, {
+ }), rK(i)), Fq(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(N4, s);
+ return /*#__PURE__*/ b.createElement(cK, {
className: "recharts-active-dot",
clipPath: o
}, c);
@@ -87405,7 +87474,7 @@ function S3(e) {
var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? T$.activeDot : o, c = J(X2), l = h0e();
if (t == null || l == null) return null;
var u = t.find((e) => l.includes(e.payload));
- return EK(u) ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s }, /*#__PURE__*/ b.createElement(b0e, {
+ return OK(u) ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s }, /*#__PURE__*/ b.createElement(b0e, {
point: u,
childIndex: Number(c),
mainColor: n,
@@ -87478,12 +87547,12 @@ var T0e = (e, t) => z4(e, "radiusAxis", t), E0e = Y([T0e], (e) => {
cy: n.cy
};
}), P0e = (e, t, n, r, i) => i, F0e = Y([
- VZ,
+ UZ,
D0e,
O0e,
j0e,
M0e
-], (e, t, n, r, i) => eZ(e, "radiusAxis") ? uZ(t, n, !1) : uZ(r, i, !1)), I0e = Y([
+], (e, t, n, r, i) => nZ(e, "radiusAxis") ? fZ(t, n, !1) : fZ(r, i, !1)), I0e = Y([
E0e,
N0e,
d$,
@@ -87581,20 +87650,20 @@ var W0e = (e) => {
dataKey: t,
type: a,
color: E3(r, i),
- value: fZ(n, t),
+ value: mZ(n, t),
payload: e
}];
}, G0e = /*#__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: kK,
+ getPosition: jK,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: fZ(a, t),
+ name: mZ(a, t),
hide: o,
type: s,
color: E3(n, i),
@@ -87607,7 +87676,7 @@ var W0e = (e) => {
function K0e(e) {
var t = e.points, n = e.props, r = n.dot, i = n.dataKey;
n.id;
- var a = eK(H0e(n, L0e));
+ var a = nK(H0e(n, L0e));
return /*#__PURE__*/ b.createElement(_3, {
points: t,
dot: r,
@@ -87620,7 +87689,7 @@ function K0e(e) {
function q0e(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 = $X(e, n.dataKey, r), d = $X(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? W1e(d) : d, m = EK(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = tZ(e, n.dataKey, r), d = tZ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? W1e(d) : d, m = OK(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(T3(T3({}, i$(o, s, m, f)), {}, {
name: a,
value: d,
@@ -87634,7 +87703,7 @@ function q0e(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = EK(n) ? 0 : t.scale.map(n) ?? 0;
+ var n = e.value[0], r = OK(n) ? 0 : t.scale.map(n) ?? 0;
d.push(T3(T3({}, e), {}, { radius: r }, i$(o, s, r, e.angle)));
} else d.push(e);
}), {
@@ -87666,7 +87735,7 @@ function J0e(e) {
function Y0e(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, T3(T3({}, r), {}, { points: t })) : typeof i == "function" ? i(T3(T3({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(kQe, w3({}, nK(r), {
+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ b.isValidElement(i) ? /*#__PURE__*/ b.cloneElement(i, T3(T3({}, r), {}, { points: t })) : typeof i == "function" ? i(T3(T3({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(kQe, w3({}, iK(r), {
onMouseEnter: (e) => {
var t = r.onMouseEnter;
t && t(r, e);
@@ -87679,20 +87748,20 @@ function Y0e(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ b.createElement(oK, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(K0e, {
+ return /*#__PURE__*/ b.createElement(cK, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(K0e, {
props: r,
points: t
}));
}
var X0e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [T3(T3({}, e.next), {}, {
- x: wK(e.prev.x, e.next.x, t),
- y: wK(e.prev.y, e.next.y, t)
+ x: EK(e.prev.x, e.next.x, t),
+ y: EK(e.prev.y, e.next.y, t)
})] : [T3(T3({}, e.next), {}, {
- x: wK(e.next.cx, e.next.x, t),
- y: wK(e.next.cy, e.next.y, t)
+ x: EK(e.next.cx, e.next.x, t),
+ y: EK(e.next.cy, e.next.y, t)
})]);
function Z0e(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 = l3(t, r), h = m.startValue, g = c3(h ?? null, a, u), _ = u3(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = GZ();
+ 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 = l3(t, r), h = m.startValue, g = c3(h ?? null, a, u), _ = u3(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = qZ();
return S == null ? null : /*#__PURE__*/ b.createElement(J0e, {
showLabels: !v,
points: i
@@ -87746,8 +87815,8 @@ var $0e = {
function e2e(e) {
var t = e.hide, n = e.className, r = e.points;
if (t) return null;
- var i = wv("recharts-radar", n);
- return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(oK, { className: i }, /*#__PURE__*/ b.createElement(Q0e, e)), /*#__PURE__*/ b.createElement(S3, {
+ var i = Tv("recharts-radar", n);
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(cK, { className: i }, /*#__PURE__*/ b.createElement(Q0e, e)), /*#__PURE__*/ b.createElement(S3, {
points: r,
mainColor: E3(e.stroke, e.fill),
itemDataKey: e.dataKey,
@@ -87755,7 +87824,7 @@ function e2e(e) {
}));
}
function t2e(e) {
- var t = CZ(), n = J((n) => I0e(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ var t = TZ(), n = J((n) => I0e(n, e.radiusAxisId, e.angleAxisId, t, e.id));
return n?.points == null ? null : /*#__PURE__*/ b.createElement(e2e, w3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
@@ -87763,7 +87832,7 @@ function t2e(e) {
}));
}
function D3(e) {
- var t = Iq(e, $0e);
+ var t = Rq(e, $0e);
return /*#__PURE__*/ b.createElement(f3, {
id: t.id,
type: "radar"
@@ -87866,7 +87935,7 @@ function f2e(e) {
}
var p2e = (e, t, n) => {
var r = n ?? e;
- if (!EK(r)) return SK(r, t, 0);
+ if (!OK(r)) return wK(r, t, 0);
}, m2e = (e, t, n) => {
var r = {}, i = e.filter(B$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
@@ -87933,8 +88002,8 @@ function v2e(e, t) {
function y2e(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = SK(e, n, 0, !0), s, c = [];
- if (YX(r[0]?.barSize)) {
+ var o = wK(e, n, 0, !0), s, c = [];
+ if (ZX(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 = {
@@ -87953,11 +88022,11 @@ function y2e(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = SK(t, n, 0, !0);
+ var p = wK(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 = YX(i) ? Math.min(m, i) : m;
+ var h = ZX(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -87971,7 +88040,7 @@ function y2e(e, t, n, r, i) {
}
}
var b2e = (e, t, n, r, i, a, o) => {
- var s = EK(o) ? t : o, c = y2e(n, r, i === a ? a : i, e, s);
+ var s = OK(o) ? t : o, c = y2e(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => k3(k3({}, e), {}, { position: k3(k3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, x2e = (e, t) => {
var n = R$(t);
@@ -88043,22 +88112,22 @@ var j3 = Y([(e, t) => M$(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
}), P3 = (e, t, n) => B4(e, "angleAxis", n, !1), F3 = Y([P4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
}), D2e = Y([
- VZ,
+ UZ,
j3,
M3,
N3,
P3
-], (e, t, n, r, i) => eZ(e, "radiusAxis") ? uZ(t, n, !1) : uZ(r, i, !1)), O2e = Y([
+], (e, t, n, r, i) => nZ(e, "radiusAxis") ? fZ(t, n, !1) : fZ(r, i, !1)), O2e = Y([
N3,
j3,
- VZ
+ UZ
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return sZ({ numericAxis: r });
+ if (r != null && r.scale != null) return lZ({ numericAxis: r });
}), k2e = (e, t, n, r, i) => i, A2e = (e, t, n, r, i) => n, j2e = (e, t, n, r, i) => t, M2e = (e, t, n, r, i) => r.maxBarSize, N2e = (e) => e.type === "radialBar", P2e = Y([Y([
Y([
Y([
- VZ,
+ UZ,
P4,
A2e,
j2e
@@ -88070,7 +88139,7 @@ var j3 = Y([(e, t) => M$(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
cHe,
y$,
Y([
- VZ,
+ UZ,
v$,
N3,
P3,
@@ -88078,8 +88147,8 @@ var j3 = Y([(e, t) => M$(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
M3,
M2e
], (e, t, n, r, i, a, o) => {
- var s = EK(o) ? t : o;
- return e === "centric" ? uZ(n, r, !0) ?? s ?? 0 : uZ(i, a, !0) ?? s ?? 0;
+ var s = OK(o) ? t : o;
+ return e === "centric" ? fZ(n, r, !0) ?? s ?? 0 : fZ(i, a, !0) ?? s ?? 0;
}),
D2e,
M2e
@@ -88100,12 +88169,12 @@ var j3 = Y([(e, t) => M$(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
u$,
F3,
D2e,
- VZ,
+ UZ,
O2e,
F$,
k2e,
P2e,
- Y([(e, t, n) => VZ(e) === "centric" ? I2e(e, "radiusAxis", t) : I2e(e, "angleAxis", n), F3], x2e)
+ Y([(e, t, n) => UZ(e) === "centric" ? I2e(e, "radiusAxis", t) : I2e(e, "angleAxis", n), F3], x2e)
], (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 [];
@@ -88145,7 +88214,7 @@ var j3 = Y([(e, t) => M$(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
function z2e(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && YX(e.zIndex) ? e.zIndex : t;
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && ZX(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
@@ -88250,12 +88319,12 @@ function Y2e(e) {
return /*#__PURE__*/ b.createElement(vQe, { value: t ? i : void 0 }, r);
}
function X2e(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 = R3(n, B2e), f = eK(d), p = J(X2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = R3(n, V2e), v = t3(m, n.dataKey, u), y = n3(g), x = r3(h, n.dataKey, u);
+ 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 = R3(n, B2e), f = nK(d), p = J(X2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = R3(n, V2e), v = t3(m, n.dataKey, u), y = n3(g), x = r3(h, n.dataKey, u);
return t == null ? null : /*#__PURE__*/ b.createElement(Y2e, {
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 = L3(L3(L3(L3({}, f), {}, { cornerRadius: o2e(l) }, e), Pq(_, e, t)), {}, {
+ var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = x(e, t), h = L3(L3(L3(L3({}, f), {}, { cornerRadius: o2e(l) }, e), Iq(_, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: u,
onClick: m,
@@ -88276,11 +88345,11 @@ function X2e(e) {
}), /*#__PURE__*/ b.createElement(k4, { label: n.label }), n.children);
}
var Z2e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [L3(L3({}, e.next), {}, {
- startAngle: wK(e.prev.startAngle, e.next.startAngle, t),
- endAngle: wK(e.prev.endAngle, e.next.endAngle, t)
-})] : [L3(L3({}, e.next), {}, { endAngle: wK(e.next.startAngle, e.next.endAngle, t) })]);
+ startAngle: EK(e.prev.startAngle, e.next.startAngle, t),
+ endAngle: EK(e.prev.endAngle, e.next.endAngle, t)
+})] : [L3(L3({}, e.next), {}, { endAngle: EK(e.next.startAngle, e.next.endAngle, t) })]);
function Q2e(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 = u3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = GZ();
+ 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 = u3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = qZ();
return m == null ? null : /*#__PURE__*/ b.createElement(d3, {
animationInput: t,
animationIdPrefix: "recharts-radialbar-",
@@ -88318,7 +88387,7 @@ function e4e(e) {
var t4e = /*#__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: kK,
+ getPosition: jK,
settings: {
graphicalItemId: e.id,
stroke: r,
@@ -88326,7 +88395,7 @@ var t4e = /*#__PURE__*/ b.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: fZ(a, t),
+ name: mZ(a, t),
hide: o,
type: c,
color: s,
@@ -88338,14 +88407,14 @@ var t4e = /*#__PURE__*/ b.memo((e) => {
}), n4e = class extends b.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var t = this.props.cornerRadius, n = tK(this.props.background);
+ var t = this.props.cornerRadius, n = rK(this.props.background);
return /*#__PURE__*/ b.createElement(a4, { zIndex: z2e(this.props.background, T$.barBackground) }, e.map((e, r) => {
e.value;
var i = e.background, a = R3(e, H2e);
if (!i) return null;
- var o = L3(L3(L3(L3(L3({ cornerRadius: o2e(t) }, a), {}, { fill: "#eee" }, i), n), Pq(this.props, e, r)), {}, {
+ var o = L3(L3(L3(L3(L3({ cornerRadius: o2e(t) }, a), {}, { fill: "#eee" }, i), n), Iq(this.props, e, r)), {}, {
index: r,
- className: wv("recharts-radial-bar-background-sector", String(n?.className)),
+ className: Tv("recharts-radial-bar-background-sector", String(n?.className)),
option: i,
isActive: !1
});
@@ -88355,8 +88424,8 @@ var t4e = /*#__PURE__*/ b.memo((e) => {
render() {
var e = this.props, t = e.hide, n = e.sectors, r = e.className, i = e.background;
if (t) return null;
- var a = wv("recharts-area", r);
- return /*#__PURE__*/ b.createElement(a4, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(oK, { className: a }, i && /*#__PURE__*/ b.createElement(oK, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(oK, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement($2e, this.props))));
+ var a = Tv("recharts-area", r);
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(cK, { className: a }, i && /*#__PURE__*/ b.createElement(cK, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(cK, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement($2e, this.props))));
}
};
function r4e(e) {
@@ -88366,7 +88435,7 @@ function r4e(e) {
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: iZ(e.stackId),
+ stackId: oZ(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -88419,8 +88488,8 @@ function i4e(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 ? J2e : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = rZ(n[r + t], i) : (b = $X(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 = oZ({
+ if (n ? b = aZ(n[r + t], i) : (b = tZ(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 = cZ({
axis: c,
ticks: l,
bandSize: u,
@@ -88431,7 +88500,7 @@ function i4e(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = gK(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = vK(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -88443,7 +88512,7 @@ function i4e(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = oZ({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = cZ({
axis: f,
ticks: g,
bandSize: u,
@@ -88454,7 +88523,7 @@ function i4e(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = gK(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = vK(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -88471,7 +88540,7 @@ function i4e(e) {
});
}
function B3(e) {
- var t = Iq(e, z3);
+ var t = Rq(e, z3);
return /*#__PURE__*/ b.createElement(f3, {
id: t.id,
type: "radialBar"
@@ -88483,7 +88552,7 @@ function B3(e) {
hide: t.hide ?? z3.hide,
angleAxisId: t.angleAxisId ?? z3.angleAxisId,
radiusAxisId: t.radiusAxisId ?? z3.radiusAxisId,
- stackId: iZ(t.stackId),
+ stackId: oZ(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
@@ -88493,7 +88562,7 @@ B3.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
var a4e = (e) => {
- var t = e.chartData, n = kJ(), r = CZ();
+ var t = e.chartData, n = jJ(), r = TZ();
return (0, b.useEffect)(() => r ? () => {} : (n(oXe(t)), () => {
n(oXe(void 0));
}), [
@@ -88512,7 +88581,7 @@ var a4e = (e) => {
bottom: 0,
left: 0
}
-}, s4e = yX({
+}, s4e = xX({
name: "brush",
initialState: o4e,
reducers: { setBrushSettings(e, t) {
@@ -88544,7 +88613,7 @@ function d4e(e) {
var f4e = function(e) {
var t = e.width, n = e.height, r = d4e(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);
-}, p4e = yX({
+}, p4e = xX({
name: "referenceElements",
initialState: {
dots: [],
@@ -88556,21 +88625,21 @@ var f4e = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = aX(e).dots.findIndex((e) => e === t.payload);
+ var n = sX(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 = aX(e).areas.findIndex((e) => e === t.payload);
+ var n = sX(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(cX(t.payload));
+ e.lines.push(uX(t.payload));
},
removeLine: (e, t) => {
- var n = aX(e).lines.findIndex((e) => e === t.payload);
+ var n = sX(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
@@ -88622,7 +88691,7 @@ function S4e(e) {
if (Array.isArray(e)) return e;
}
var C4e = /*#__PURE__*/ (0, b.createContext)(void 0), w4e = (e) => {
- var t = e.children, n = _4e((0, b.useState)(`${xK("recharts")}-clip`), 1)[0], r = b3();
+ var t = e.children, n = _4e((0, b.useState)(`${CK("recharts")}-clip`), 1)[0], r = b3();
if (r == null) return null;
var i = r.x, a = r.y, o = r.width, s = r.height;
return /*#__PURE__*/ b.createElement(C4e.Provider, { value: n }, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: n }, /*#__PURE__*/ b.createElement("rect", {
@@ -88714,13 +88783,13 @@ var M4e = (e, t) => {
if (/*#__PURE__*/ b.isValidElement(e)) n = /*#__PURE__*/ b.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!YX(t.x1) || !YX(t.y1) || !YX(t.x2) || !YX(t.y2)) return null;
+ if (!ZX(t.x1) || !ZX(t.y1) || !ZX(t.x2) || !ZX(t.y2)) return null;
n = /*#__PURE__*/ b.createElement("line", H3({}, t, { className: "recharts-reference-line-line" }));
}
return n;
}, N4e = (e, t, n, r, i, a) => {
var o = a.x, s = a.width, c = i.map(e, { position: n });
- if (!YX(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!ZX(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -88731,7 +88800,7 @@ var M4e = (e, t) => {
return r === "left" ? l.reverse() : l;
}, P4e = (e, t, n, r, i, a) => {
var o = a.y, s = a.height, c = i.map(e, { position: n });
- if (!YX(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!ZX(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -88750,26 +88819,26 @@ var M4e = (e, t) => {
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
}, I4e = (e, t, n, r, i, a, o) => {
- var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = bK(s);
- return bK(c) ? N4e(c, u, r, a, t, n) : d ? P4e(s, u, r, i, e, n) : l != null && l.length === 2 ? F4e(l, u, r, new E4e({
+ var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = SK(s);
+ return SK(c) ? N4e(c, u, r, a, t, n) : d ? P4e(s, u, r, i, e, n) : l != null && l.length === 2 ? F4e(l, u, r, new E4e({
x: e,
y: t
})) : null;
};
function L4e(e) {
- var t = kJ();
+ var t = jJ();
return (0, b.useEffect)(() => (t(m4e(e)), () => {
t(h4e(e));
})), null;
}
function R4e(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = CZ(), s = T4e(), c = J((e) => U0(e, t)), l = J((e) => G0(e, n)), u = J((e) => D2(e, "xAxis", t, o)), d = J((e) => D2(e, "yAxis", n, o)), f = LZ();
+ var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = TZ(), s = T4e(), c = J((e) => U0(e, t)), l = J((e) => G0(e, n)), u = J((e) => D2(e, "xAxis", t, o)), d = J((e) => D2(e, "yAxis", n, o)), f = zZ();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
var p = I4e(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 = O4e(O4e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, nK(e)), {}, {
+ var g = m.x, _ = m.y, v = h.x, y = h.y, x = O4e(O4e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, iK(e)), {}, {
x1: g,
y1: _,
x2: v,
@@ -88780,7 +88849,7 @@ function R4e(e) {
x2: v,
y2: y
});
- return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(oK, { className: wv("recharts-reference-line", i) }, M4e(r, x), /*#__PURE__*/ b.createElement(ZZe, H3({}, S, {
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(cK, { className: Tv("recharts-reference-line", i) }, M4e(r, x), /*#__PURE__*/ b.createElement(ZZe, H3({}, S, {
lowerWidth: S.width,
upperWidth: S.width
}), /*#__PURE__*/ b.createElement(lQe, { label: e.label }), e.children)));
@@ -88798,7 +88867,7 @@ var z4e = {
zIndex: T$.line
};
function B4e(e) {
- var t = Iq(e, z4e);
+ var t = Rq(e, z4e);
return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(L4e, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
@@ -88841,16 +88910,16 @@ function U3(e, t, n, r, i, a, o) {
}
function W3(e, t, n, r) {
if (Object.is(e, t)) return !0;
- let i = Gq(e), a = Gq(t);
- if (i === "[object Arguments]" && (i = rJ), a === "[object Arguments]" && (a = rJ), i !== a) return !1;
+ let i = qq(e), a = qq(t);
+ if (i === "[object Arguments]" && (i = aJ), a === "[object Arguments]" && (a = aJ), i !== a) return !1;
switch (i) {
- case qq: return e.toString() === t.toString();
- case Jq: return vJ(e.valueOf(), t.valueOf());
- case Yq:
- case Qq:
- case Zq: return Object.is(e.valueOf(), t.valueOf());
- case Kq: return e.source === t.source && e.flags === t.flags;
- case iIe: return e === t;
+ case Yq: return e.toString() === t.toString();
+ case Xq: return bJ(e.valueOf(), t.valueOf());
+ case Zq:
+ case eJ:
+ case $q: return Object.is(e.valueOf(), t.valueOf());
+ case Jq: return e.source === t.source && e.flags === t.flags;
+ case nIe: return e === t;
}
n ??= /* @__PURE__ */ new Map();
let o = n.get(e), s = n.get(t);
@@ -88858,11 +88927,11 @@ function W3(e, t, n, r) {
n.set(e, t), n.set(t, e);
try {
switch (i) {
- case $q:
+ case tJ:
if (e.size !== t.size) return !1;
for (let [i, a] of e.entries()) if (!t.has(i) || !U3(a, t.get(i), i, e, t, n, r)) return !1;
return !0;
- case eJ: {
+ case nJ: {
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++) {
@@ -88872,27 +88941,27 @@ function W3(e, t, n, r) {
}
return !0;
}
- case tJ:
- case aJ:
- case oJ:
+ case rJ:
case sJ:
case cJ:
- case oIe:
case lJ:
case uJ:
+ case iIe:
case dJ:
- case sIe:
case fJ:
case pJ:
- if (hJ(e) !== hJ(t) || e.length !== t.length) return !1;
+ case aIe:
+ case mJ:
+ case hJ:
+ if (_J(e) !== _J(t) || e.length !== t.length) return !1;
for (let i = 0; i < e.length; i++) if (!U3(e[i], t[i], i, e, t, n, r)) return !1;
return !0;
- case nJ: return e.byteLength === t.byteLength && W3(new Uint8Array(e), new Uint8Array(t), n, r);
- case iJ: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : W3(new Uint8Array(e), new Uint8Array(t), n, r);
- case aIe: return e.name === t.name && e.message === t.message;
- case rJ: {
+ case iJ: return e.byteLength === t.byteLength && W3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case oJ: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : W3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case rIe: return e.name === t.name && e.message === t.message;
+ case aJ: {
if (!(W3(e.constructor, t.constructor, n, r) || H4e(e) && H4e(t))) return !1;
- let i = [...Object.keys(e), ...Wq(e)], a = [...Object.keys(t), ...Wq(t)];
+ let i = [...Object.keys(e), ...Kq(e)], a = [...Object.keys(t), ...Kq(t)];
if (i.length !== a.length) return !1;
for (let a = 0; a < i.length; a++) {
let o = i[a], s = e[o];
@@ -89064,7 +89133,7 @@ function n3e(e, t, n, r, i, a) {
function q3(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 (yK(c) || mQ.isSsr) return J4e(i, yK(c) ? c : 0) ?? [];
+ if (xK(c) || gQ.isSsr) return J4e(i, xK(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? m4(u, {
fontSize: t,
letterSpacing: n
@@ -89080,7 +89149,7 @@ function q3(e, t, n) {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? gK(_.coordinate - g.coordinate) : 1, y = q4e(a, v, p);
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? vK(_.coordinate - g.coordinate) : 1, y = q4e(a, v, p);
return c === "equidistantPreserveStart" ? Y4e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? X4e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? n3e(v, y, h, i, o, c === "preserveStartEnd") : t3e(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
@@ -89111,7 +89180,7 @@ var r3e = (e) => {
return Math.round(f);
}
return 0;
-}, a3e = yX({
+}, a3e = xX({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -89120,7 +89189,7 @@ var r3e = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var n = t.payload, r = n.axisType, i = n.axisId, a = n.ticks;
- e[r][i] = cX(a);
+ e[r][i] = uX(a);
},
removeRenderedTicks: (e, t) => {
var n = t.payload, r = n.axisType, i = n.axisId;
@@ -89276,7 +89345,7 @@ var X3 = {
function C3e(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 = Y3(Y3(Y3({}, c), eK(s)), {}, { fill: "none" });
+ var l = Y3(Y3(Y3({}, c), nK(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = Y3(Y3({}, l), {}, {
@@ -89294,10 +89363,10 @@ function C3e(e) {
y2: n + i
});
}
- return /*#__PURE__*/ b.createElement("line", J3({}, l, { className: wv("recharts-cartesian-axis-line", pK(s, "className")) }));
+ return /*#__PURE__*/ b.createElement("line", J3({}, l, { className: Tv("recharts-cartesian-axis-line", hK(s, "className")) }));
}
function w3e(e, t, n, r, i, a, o, s, c) {
- var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = yK(e.tickCoord) ? e.tickCoord : e.coordinate;
+ var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = xK(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
l = u = e.coordinate, f = n + +!s * i, d = f - h * g, m = d - h * c, p = _;
@@ -89339,17 +89408,17 @@ function E3e(e, t) {
}
}
function D3e(e) {
- var t = e.option, n = e.tickProps, r = e.value, i, a = wv(n.className, "recharts-cartesian-axis-tick-value");
+ var t = e.option, n = e.tickProps, r = e.value, i, a = Tv(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ b.isValidElement(t)) i = /*#__PURE__*/ b.cloneElement(t, Y3(Y3({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(Y3(Y3({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = wv(o, G4(t))), i = /*#__PURE__*/ b.createElement(b4, J3({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = Tv(o, G4(t))), i = /*#__PURE__*/ b.createElement(b4, J3({}, n, { className: o }), r);
}
return i;
}
function O3e(e) {
- var t = e.ticks, n = e.axisType, r = e.axisId, i = kJ(), a = (0, b.useRef)(null);
+ var t = e.ticks, n = e.axisType, r = e.axisId, i = jJ(), a = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
if (r != null && n != null) {
var e = t.map((e) => ({
@@ -89373,7 +89442,7 @@ function O3e(e) {
t,
r,
n
- ]), (0, b.useEffect)(() => r == null || n == null ? kK : () => {
+ ]), (0, b.useEffect)(() => r == null || n == null ? jK : () => {
i(c3e({
axisId: r,
axisType: n
@@ -89385,14 +89454,14 @@ function O3e(e) {
]), null;
}
var k3e = /*#__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 = q3(Y3(Y3({}, S), {}, { ticks: r }), y, x), D = eK(S), O = tK(i), k = jZe(D.textAnchor) ? D.textAnchor : T3e(d, f), A = E3e(d, f), j = {};
+ 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 = q3(Y3(Y3({}, S), {}, { ticks: r }), y, x), D = nK(S), O = rK(i), k = jZe(D.textAnchor) ? D.textAnchor : T3e(d, f), A = E3e(d, f), j = {};
typeof a == "object" && (j = a);
var M = Y3(Y3({}, D), {}, { fill: "none" }, j), N = E.map((e) => Y3({ entry: e }, w3e(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {
var t = e.entry, n = e.line;
- return /*#__PURE__*/ b.createElement(oK, {
+ return /*#__PURE__*/ b.createElement(cK, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, a && /*#__PURE__*/ b.createElement("line", J3({}, M, n, { className: wv("recharts-cartesian-axis-tick-line", pK(a, "className")) })));
+ }, a && /*#__PURE__*/ b.createElement("line", J3({}, M, n, { className: Tv("recharts-cartesian-axis-tick-line", hK(a, "className")) })));
}), ee = N.map((e, t) => {
var n = e.entry, r = e.tick, a = Y3(Y3({}, Y3(Y3(Y3(Y3({ verticalAnchor: A }, D), {}, {
textAnchor: k,
@@ -89405,10 +89474,10 @@ var k3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
tickFormatter: s,
padding: l
}, u), {}, { angle: u?.angle ?? D.angle ?? 0 })), O);
- return /*#__PURE__*/ b.createElement(oK, J3({
+ return /*#__PURE__*/ b.createElement(cK, J3({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, Pq(C, n, t)), i && /*#__PURE__*/ b.createElement(D3e, {
+ }, Iq(C, n, t)), i && /*#__PURE__*/ b.createElement(D3e, {
option: i,
tickProps: a,
value: `${typeof s == "function" ? s(n.value, t) : n.value}${c || ""}`
@@ -89451,7 +89520,7 @@ var k3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
}
}
}, [f, h]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(oK, { className: wv("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(C3e, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(cK, { className: Tv("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(C3e, {
x: e.x,
y: e.y,
width: r,
@@ -89459,7 +89528,7 @@ var k3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: eK(e)
+ otherSvgProps: nK(e)
}), /*#__PURE__*/ b.createElement(k3e, {
ref: v,
axisType: c,
@@ -89496,7 +89565,7 @@ var k3e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
labelRef: e.labelRef
}), e.children)));
}), Z3 = /*#__PURE__*/ b.forwardRef((e, t) => {
- var n = Iq(e, X3);
+ var n = Rq(e, X3);
return /*#__PURE__*/ b.createElement(A3e, J3({}, n, { ref: t }));
});
Z3.displayName = "CartesianAxis";
@@ -89605,7 +89674,7 @@ function U3e(e) {
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 = eK(e6(n, N3e)) ?? {};
+ var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = nK(e6(n, N3e)) ?? {};
l.offset;
var u = e6(l, P3e), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;
r = /*#__PURE__*/ b.createElement("line", $3({}, u, {
@@ -89710,8 +89779,8 @@ function q3e(e) {
}
var J3e = (e, t) => {
var n = e.xAxis, r = e.width, i = e.height, a = e.offset;
- return tZ(q3(Q3(Q3(Q3({}, X3), n), {}, {
- ticks: nZ(n, !0),
+ return rZ(q3(Q3(Q3(Q3({}, X3), n), {}, {
+ ticks: iZ(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -89721,8 +89790,8 @@ var J3e = (e, t) => {
})), a.left, a.left + a.width, t);
}, Y3e = (e, t) => {
var n = e.yAxis, r = e.width, i = e.height, a = e.offset;
- return tZ(q3(Q3(Q3(Q3({}, X3), n), {}, {
- ticks: nZ(n, !0),
+ return rZ(q3(Q3(Q3(Q3({}, X3), n), {}, {
+ ticks: iZ(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -89743,18 +89812,18 @@ var J3e = (e, t) => {
zIndex: T$.grid
};
function Z3e(e) {
- var t = zZ(), n = BZ(), r = RZ(), i = Q3(Q3({}, Iq(e, X3e)), {}, {
- x: yK(e.x) ? e.x : r.left,
- y: yK(e.y) ? e.y : r.top,
- width: yK(e.width) ? e.width : r.width,
- height: yK(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 = CZ(), h = J((e) => Bqe(e, "xAxis", a, m)), g = J((e) => Bqe(e, "yAxis", o, m)), _ = M3e(), v = {
+ var t = VZ(), n = HZ(), r = BZ(), i = Q3(Q3({}, Rq(e, X3e)), {}, {
+ x: xK(e.x) ? e.x : r.left,
+ y: xK(e.y) ? e.y : r.top,
+ width: xK(e.width) ? e.width : r.width,
+ height: xK(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 = TZ(), h = J((e) => Bqe(e, "xAxis", a, m)), g = J((e) => Bqe(e, "yAxis", o, m)), _ = M3e(), v = {
stroke: i.stroke ?? _.grid.stroke,
strokeWidth: i.strokeWidth ?? _.grid.strokeWidth,
strokeOpacity: i.strokeOpacity ?? _.grid.strokeOpacity,
strokeDasharray: i.strokeDasharray ?? _.grid.strokeDasharray
};
- if (!XX(l) || !XX(u) || !yK(s) || !yK(c)) return null;
+ if (!QX(l) || !QX(u) || !xK(s) || !xK(c)) return null;
var y = i.verticalCoordinatesGenerator || J3e, x = i.horizontalCoordinatesGenerator || Y3e, S = i.horizontalPoints, C = i.verticalPoints;
if ((!S || !S.length) && typeof x == "function") {
var w = f && f.length, T = x({
@@ -89763,7 +89832,7 @@ function Z3e(e) {
height: n ?? u,
offset: r
}, w ? !0 : d);
- EZ(Array.isArray(T), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof T}]`), Array.isArray(T) && (S = T);
+ OZ(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({
@@ -89772,7 +89841,7 @@ function Z3e(e) {
height: n ?? u,
offset: r
}, E ? !0 : d);
- EZ(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);
+ OZ(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);
}
return /*#__PURE__*/ b.createElement(a4, { zIndex: i.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ b.createElement(H3e, {
fill: i.fill ?? _.grid.fill,
@@ -89876,7 +89945,7 @@ function s6e(e) {
var s = i.pathRef;
o = o6e(n, t6e(s?.current ?? null), t);
} else n != null && (o = String(n));
- return /*#__PURE__*/ b.createElement(AQ, t6({}, i, {
+ return /*#__PURE__*/ b.createElement(MQ, t6({}, i, {
connectNulls: a,
strokeDasharray: o
}));
@@ -89887,13 +89956,13 @@ function c6e(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(mK(t.current + e * i), i);
+ var a = Math.min(gK(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 l6e = yX({
+var l6e = xX({
name: "errorBars",
initialState: {},
reducers: {
@@ -89970,17 +90039,17 @@ function i6(e) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
var g6e = (e, t, n, r) => M2(e, "xAxis", t, r), _6e = (e, t, n, r) => j2(e, "xAxis", t, r), v6e = (e, t, n, r) => M2(e, "yAxis", n, r), y6e = (e, t, n, r) => j2(e, "yAxis", n, r), b6e = Y([
- VZ,
+ UZ,
g6e,
v6e,
_6e,
y6e
-], (e, t, n, r, i) => eZ(e, "xAxis") ? uZ(t, r, !1) : uZ(n, i, !1)), x6e = (e, t, n, r, i) => i;
+], (e, t, n, r, i) => nZ(e, "xAxis") ? fZ(t, r, !1) : fZ(n, i, !1)), x6e = (e, t, n, r, i) => i;
function S6e(e) {
return e.type === "line";
}
var C6e = Y([
- VZ,
+ UZ,
g6e,
v6e,
_6e,
@@ -90007,7 +90076,7 @@ var C6e = Y([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function w6e(e) {
- var t = tK(e), n = 3, r = 2;
+ var t = rK(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), {
@@ -90138,21 +90207,21 @@ var c6 = {
if (t === 1) return e.flatMap((e) => e.status === "removed" ? [] : [e.next]);
var n = P6e(e), r = [];
for (var i of e) if (i.status === "matched") r.push(s6(s6({}, i.next), {}, {
- x: wK(i.prev.x, i.next.x, t),
- y: wK(i.prev.y, i.next.y, t)
+ x: EK(i.prev.x, i.next.x, t),
+ y: EK(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(s6(s6({}, i.next), {}, {
- x: wK(a, i.next.x, t),
+ x: EK(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(s6(s6({}, i.prev), {}, {
- x: wK(i.prev.x, o, t),
+ x: EK(i.prev.x, o, t),
y: i.prev.y
}));
}
@@ -90180,20 +90249,20 @@ var c6 = {
dataKey: t,
type: i,
color: r,
- value: fZ(n, t),
+ value: mZ(n, t),
payload: e
}];
}, I6e = /*#__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: kK,
+ getPosition: jK,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: fZ(o, t),
+ name: mZ(o, t),
hide: s,
type: u,
color: r,
@@ -90207,7 +90276,7 @@ var c6 = {
function L6e(e) {
var t = e.clipPathId, n = e.points, r = e.props, i = r.dot, a = r.dataKey, o = r.needClip;
r.id;
- var s = eK(o6(r, T6e));
+ var s = nK(o6(r, T6e));
return /*#__PURE__*/ b.createElement(_3, {
points: n,
dot: i,
@@ -90240,7 +90309,7 @@ function R6e(e) {
return /*#__PURE__*/ b.createElement(D4, { value: t ? i : void 0 }, n);
}
function z6e(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 = s6(s6({}, nK(o6(i, E6e))), {}, {
+ 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 = s6(s6({}, iK(o6(i, E6e))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: f ? `url(#clipPath-${t})` : void 0,
@@ -90312,13 +90381,13 @@ var H6e = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: $X(e.payload, t)
+ errorVal: tZ(e.payload, t)
}), U6e = 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 = wv("recharts-line", i), h = d, g = w6e(n), _ = g.r, v = g.strokeWidth, y = $4(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ b.createElement(a4, { zIndex: p }, /*#__PURE__*/ b.createElement(oK, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
+ var m = Tv("recharts-line", i), h = d, g = w6e(n), _ = g.r, v = g.strokeWidth, y = $4(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: p }, /*#__PURE__*/ b.createElement(cK, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
clipPathId: h,
xAxisId: a,
yAxisId: o
@@ -90346,7 +90415,7 @@ var H6e = (e, t) => ({
}
};
function W6e(e) {
- var t = Iq(e, c6), 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 = o6(t, D6e), _ = r6(p, m).needClip, v = b3(), y = HZ(), x = CZ(), S = J((e) => C6e(e, p, m, x, h));
+ var t = Rq(e, c6), 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 = o6(t, D6e), _ = r6(p, m).needClip, v = b3(), y = WZ(), x = TZ(), S = J((e) => C6e(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(U6e, a6({}, g, {
@@ -90376,20 +90445,20 @@ function W6e(e) {
function G6e(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 = $X(e, o);
+ var l = tZ(e, o);
if (t === "horizontal") return {
- x: aZ({
+ x: sZ({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (EK(l) ? null : r.scale.map(l)) ?? null,
+ y: (OK(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = EK(l) ? null : n.scale.map(l), d = aZ({
+ var u = OK(l) ? null : n.scale.map(l), d = sZ({
axis: r,
ticks: a,
bandSize: s,
@@ -90405,7 +90474,7 @@ function G6e(e) {
}).filter(Boolean);
}
function K6e(e) {
- var t = Iq(e, c6), n = CZ();
+ var t = Rq(e, c6), n = TZ();
return /*#__PURE__*/ b.createElement(f3, {
id: t.id,
type: "line"
@@ -90433,7 +90502,7 @@ function K6e(e) {
isPanorama: n
}), /*#__PURE__*/ b.createElement(W6e, a6({}, t, { id: e }))));
}
-var q6e = /*#__PURE__*/ b.memo(K6e, tQ);
+var q6e = /*#__PURE__*/ b.memo(K6e, rQ);
q6e.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -90446,13 +90515,13 @@ function u6(e, t) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
var J6e = (e, t, n) => M2(e, "xAxis", l6(e, t), n), Y6e = (e, t, n) => j2(e, "xAxis", l6(e, t), n), X6e = (e, t, n) => M2(e, "yAxis", u6(e, t), n), Z6e = (e, t, n) => j2(e, "yAxis", u6(e, t), n), Q6e = Y([
- VZ,
+ UZ,
J6e,
X6e,
Y6e,
Z6e
-], (e, t, n, r, i) => eZ(e, "xAxis") ? uZ(t, r, !1) : uZ(n, i, !1)), d6 = Y([X0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), $6e = (e) => eZ(VZ(e), "xAxis") ? "yAxis" : "xAxis", e8e = (e, t) => $6e(e) === "yAxis" ? u6(e, t) : l6(e, t), t8e = (e, t, n) => c2(e, $6e(e), e8e(e, t), n), n8e = Y([
- VZ,
+], (e, t, n, r, i) => nZ(e, "xAxis") ? fZ(t, r, !1) : fZ(n, i, !1)), d6 = Y([X0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), $6e = (e) => nZ(UZ(e), "xAxis") ? "yAxis" : "xAxis", e8e = (e, t) => $6e(e) === "yAxis" ? u6(e, t) : l6(e, t), t8e = (e, t, n) => c2(e, $6e(e), e8e(e, t), n), n8e = Y([
+ UZ,
J6e,
X6e,
Y6e,
@@ -90473,7 +90542,7 @@ var J6e = (e, t, n) => M2(e, "xAxis", l6(e, t), n), Y6e = (e, t, n) => j2(e, "xA
Y([d6, t8e], (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(OK);
+ if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(AK);
}
})
], (e, t, n, r, i, a, o, s, c, l, u) => {
@@ -90533,9 +90602,9 @@ function o8e(e, t) {
}
function s8e(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 (!YX(a) || !YX(o)) return null;
+ if (!ZX(a) || !ZX(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
- return yK(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), yK(c) ? /*#__PURE__*/ b.createElement("rect", {
+ return xK(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), xK(c) ? /*#__PURE__*/ b.createElement("rect", {
x: a < o ? a : a - s,
y: 0,
width: s,
@@ -90544,9 +90613,9 @@ function s8e(e) {
}
function c8e(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 (!YX(a) || !YX(o)) return null;
+ if (!ZX(a) || !ZX(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
- return yK(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), yK(c) ? /*#__PURE__*/ b.createElement("rect", {
+ return xK(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), xK(c) ? /*#__PURE__*/ b.createElement("rect", {
x: 0,
y: a < o ? a : a - s,
width: c + (i ? parseInt(`${i}`, 10) : 1),
@@ -90568,14 +90637,14 @@ function l8e(e) {
});
}
function u8e(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 = a8e(e, r8e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = j1e(), h = d.id, g = d.baseLine, _ = eK(a8e(d, i8e)), v = /*#__PURE__*/ b.createElement(AQ, f6({}, d, {
+ 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 = a8e(e, r8e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = j1e(), h = d.id, g = d.baseLine, _ = nK(a8e(d, i8e)), v = /*#__PURE__*/ b.createElement(MQ, f6({}, d, {
id: h,
baseLine: g,
connectNulls: p,
stroke: "none",
className: "recharts-area-area",
layout: f
- })), y = l !== "none" && /*#__PURE__*/ b.createElement(AQ, f6({}, _, {
+ })), y = l !== "none" && /*#__PURE__*/ b.createElement(MQ, f6({}, _, {
className: "recharts-area-curve",
layout: f,
type: d.type,
@@ -90583,7 +90652,7 @@ function u8e(e) {
fill: "none",
stroke: l,
points: d.points
- })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(AQ, f6({}, _, {
+ })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(MQ, f6({}, _, {
className: "recharts-area-curve",
layout: f,
type: d.type,
@@ -90592,13 +90661,13 @@ function u8e(e) {
stroke: l,
points: g
}));
- return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(oK, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(l8e, {
+ return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(cK, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(l8e, {
alpha: n,
points: d.points ?? [],
baseLine: g,
layout: f,
strokeWidth: d.strokeWidth
- }))), /*#__PURE__*/ b.createElement(oK, { clipPath: `url(#${m})` }, v, y, x)) : /*#__PURE__*/ b.createElement(b.Fragment, null, v, y, x);
+ }))), /*#__PURE__*/ b.createElement(cK, { clipPath: `url(#${m})` }, v, y, x)) : /*#__PURE__*/ b.createElement(b.Fragment, null, v, y, x);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Area.js
@@ -90695,8 +90764,8 @@ var y8e = {
animationEasing: "ease",
animationMatchBy: o3,
animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [m6(m6({}, e.next), {}, {
- x: wK(e.prev.x, e.next.x, t),
- y: wK(e.prev.y, e.next.y, t)
+ x: EK(e.prev.x, e.next.x, t),
+ y: EK(e.prev.y, e.next.y, t)
})] : e.status === "added" ? [e.next] : []),
connectNulls: !1,
dot: !1,
@@ -90724,20 +90793,20 @@ var b8e = (e) => {
dataKey: t,
type: a,
color: h6(r, i),
- value: fZ(n, t),
+ value: mZ(n, t),
payload: e
}];
}, x8e = /*#__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: kK,
+ getPosition: jK,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: fZ(o, t),
+ name: mZ(o, t),
hide: s,
type: u,
color: h6(r, a),
@@ -90749,7 +90818,7 @@ var b8e = (e) => {
return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: f });
});
function S8e(e) {
- var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = eK(r);
+ var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = nK(r);
return /*#__PURE__*/ b.createElement(_3, {
points: n,
dot: a,
@@ -90782,7 +90851,7 @@ function C8e(e) {
return /*#__PURE__*/ b.createElement(D4, { value: t ? r : void 0 }, n);
}
function w8e(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 = p8e(a, d8e), _ = m6(m6({}, nK(g)), {}, {
+ 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 = p8e(a, d8e), _ = m6(m6({}, iK(g)), {}, {
id: h,
points: t,
connectNulls: f,
@@ -90795,7 +90864,7 @@ function w8e(e) {
isAnimating: s,
isEntrance: c
});
- return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(oK, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement(e3, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(cK, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement(e3, {
option: m,
DefaultShape: y8e.shape,
shapeProps: _
@@ -90806,13 +90875,13 @@ function w8e(e) {
}));
}
function T8e(e, t, n) {
- return yK(e) ? wK(yK(t) ? t : void 0, e, n) : EK(e) || _K(e) ? wK(yK(t) ? t : void 0, 0, n) : e;
+ return xK(e) ? EK(xK(t) ? t : void 0, e, n) : OK(e) || yK(e) ? EK(xK(t) ? t : void 0, 0, n) : e;
}
function E8e(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 = l3(m, a), g = UZ(), _ = u3(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = h.startValue;
+ }), [o, s]), h = l3(m, a), g = GZ(), _ = u3(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) ? c3(S, s, f) : Array.isArray(s) ? c3(null, s, f) : null;
return /*#__PURE__*/ b.createElement(d3, {
@@ -90860,8 +90929,8 @@ var O8e = 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 = wv("recharts-area", i), g = f, _ = w6e(n), v = _.r, y = _.strokeWidth, x = $4(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;
- return /*#__PURE__*/ b.createElement(a4, { zIndex: m }, /*#__PURE__*/ b.createElement(oK, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
+ var h = Tv("recharts-area", i), g = f, _ = w6e(n), v = _.r, y = _.strokeWidth, x = $4(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;
+ return /*#__PURE__*/ b.createElement(a4, { zIndex: m }, /*#__PURE__*/ b.createElement(cK, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
clipPathId: g,
xAxisId: c,
yAxisId: l
@@ -90890,7 +90959,7 @@ var O8e = class extends b.PureComponent {
}
};
function k8e(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 = p8e(e, f8e), g = HZ(), _ = _Ye(), v = r6(p, m).needClip, y = CZ(), x = J((t) => n8e(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = b3();
+ 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 = p8e(e, f8e), g = WZ(), _ = _Ye(), v = r6(p, m).needClip, y = TZ(), x = J((t) => n8e(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = b3();
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(O8e, p6({}, h, {
@@ -90921,7 +90990,7 @@ function k8e(e) {
}
var A8e = (e, t, n, r, i) => {
var a = n ?? t;
- if (yK(a)) return a;
+ if (xK(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
if (o.type === "number") {
var c = Math.max(s[0], s[1]), l = Math.min(s[0], s[1]);
@@ -90934,12 +91003,12 @@ function j8e(e) {
var r;
if (g) r = a[d + t];
else {
- var o = $X(e, i);
+ var o = tZ(e, i);
Array.isArray(o) ? (r = o, y = !0) : r = [_, o];
}
- var s = r?.[1] ?? null, u = $X(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => $X(e, t) == null), x = s == null || g && !n && u == null || b;
+ var s = r?.[1] ?? null, u = tZ(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => tZ(e, t) == null), x = s == null || g && !n && u == null || b;
return v ? {
- x: aZ({
+ x: sZ({
axis: c,
ticks: f,
bandSize: m,
@@ -90951,7 +91020,7 @@ function j8e(e) {
payload: e
} : {
x: x ? null : c.scale.map(s) ?? null,
- y: aZ({
+ y: sZ({
axis: l,
ticks: p,
bandSize: m,
@@ -90980,7 +91049,7 @@ function j8e(e) {
};
}
function M8e(e) {
- var t = Iq(e, y8e), n = CZ();
+ var t = Rq(e, y8e), n = TZ();
return /*#__PURE__*/ b.createElement(f3, {
id: t.id,
type: "area"
@@ -91004,7 +91073,7 @@ function M8e(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: iZ(t.stackId),
+ stackId: oZ(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
@@ -91012,7 +91081,7 @@ function M8e(e) {
connectNulls: t.connectNulls
}), /*#__PURE__*/ b.createElement(k8e, p6({}, t, { id: e }))));
}
-var N8e = /*#__PURE__*/ b.memo(M8e, tQ);
+var N8e = /*#__PURE__*/ b.memo(M8e, rQ);
N8e.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
@@ -91055,24 +91124,24 @@ function _6(e) {
var z8e = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
- if (yK(e)) return e;
- var i = yK(n) || EK(n);
+ if (xK(e)) return e;
+ var i = xK(n) || OK(n);
return i ? e(n, r) : (!i && F8e(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
}, B8e = (e, t, n) => n, v6 = Y([X0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), V8e = Y([v6], (e) => e?.maxBarSize), H8e = (e, t, n, r) => r, U8e = Y([
- VZ,
+ UZ,
X0,
l6,
u6,
B8e
], (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")), W8e = (e, t, n) => {
- var r = VZ(e), i = l6(e, t), a = u6(e, t);
+ var r = UZ(e), i = l6(e, t), a = u6(e, t);
if (i != null && a != null) return r === "horizontal" ? c2(e, "yAxis", a, n) : c2(e, "xAxis", i, n);
}, G8e = Y([
U8e,
lHe,
(e, t) => {
- var n = VZ(e), r = l6(e, t), i = u6(e, t);
+ var n = UZ(e), r = l6(e, t), i = u6(e, t);
if (r != null && i != null) return n === "horizontal" ? Rqe(e, "xAxis", r) : Rqe(e, "yAxis", i);
}
], m2e), K8e = (e, t, n) => {
@@ -91080,17 +91149,17 @@ var z8e = function(e) {
if (r == null) return 0;
var i = l6(e, t), a = u6(e, t);
if (i == null || a == null) return 0;
- var o = VZ(e), s = v$(e), c = r.maxBarSize, l = EK(c) ? s : c, u, d;
- return o === "horizontal" ? (u = M2(e, "xAxis", i, n), d = j2(e, "xAxis", i, n)) : (u = M2(e, "yAxis", a, n), d = j2(e, "yAxis", a, n)), uZ(u, d, !0) ?? l ?? 0;
+ var o = UZ(e), s = v$(e), c = r.maxBarSize, l = OK(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = M2(e, "xAxis", i, n), d = j2(e, "xAxis", i, n)) : (u = M2(e, "yAxis", a, n), d = j2(e, "yAxis", a, n)), fZ(u, d, !0) ?? l ?? 0;
}, q8e = (e, t, n) => {
- var r = VZ(e), i = l6(e, t), a = u6(e, t);
+ var r = UZ(e), i = l6(e, t), a = u6(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = M2(e, "xAxis", i, n), s = j2(e, "xAxis", i, n)) : (o = M2(e, "yAxis", a, n), s = j2(e, "yAxis", a, n)), uZ(o, s);
+ return r === "horizontal" ? (o = M2(e, "xAxis", i, n), s = j2(e, "xAxis", i, n)) : (o = M2(e, "yAxis", a, n), s = j2(e, "yAxis", a, n)), fZ(o, s);
}
}, J8e = Y([
- bZ,
SZ,
+ wZ,
(e, t, n) => {
var r = l6(e, t);
if (r != null) return M2(e, "xAxis", r, n);
@@ -91116,7 +91185,7 @@ var z8e = function(e) {
q8e,
V8e
], b2e), v6], S2e),
- VZ,
+ UZ,
LVe,
q8e,
Y([W8e, v6], x2e),
@@ -91174,7 +91243,7 @@ function Z8e(e, t) {
var Q8e = /*#__PURE__*/ (0, b.createContext)(void 0), $8e = (e) => {
var t = (0, b.useContext)(Q8e);
if (t != null) return t.stackId;
- if (e != null) return iZ(e);
+ if (e != null) return oZ(e);
}, e5e = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, t5e = (e) => {
var t = (0, b.useContext)(Q8e);
if (t != null) {
@@ -91183,7 +91252,7 @@ var Q8e = /*#__PURE__*/ (0, b.createContext)(void 0), $8e = (e) => {
}
}, n5e = (e) => {
var t = e.index, n = X8e(e, Y8e), r = t5e(t);
- return /*#__PURE__*/ b.createElement(oK, y6({
+ return /*#__PURE__*/ b.createElement(cK, y6({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
@@ -91319,20 +91388,20 @@ var v5e = (e) => {
dataKey: t,
type: i,
color: r,
- value: fZ(n, t),
+ value: mZ(n, t),
payload: e
}];
}, y5e = /*#__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: kK,
+ getPosition: jK,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: fZ(a, t),
+ name: mZ(a, t),
hide: o,
type: l,
color: i,
@@ -91346,7 +91415,7 @@ var v5e = (e) => {
function b5e(e) {
var t = J(X2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = S6(a, r5e), u = t3(o, r, a.id), d = n3(s), f = r3(c, r, a.id);
if (!i || n == null) return null;
- var p = tK(i);
+ var p = rK(i);
return /*#__PURE__*/ b.createElement(a4, { zIndex: z2e(i, T$.barBackground) }, n.map((e, n) => {
e.value;
var a = e.background;
@@ -91356,7 +91425,7 @@ function b5e(e) {
var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = x6(x6(x6(x6(x6({
option: i,
isActive: String(e.originalDataIndex) === t
- }, o), {}, { fill: "#eee" }, a), p), Pq(l, e, n)), {}, {
+ }, o), {}, { fill: "#eee" }, a), p), Iq(l, e, n)), {}, {
onMouseEnter: s,
onMouseLeave: c,
onClick: m,
@@ -91424,12 +91493,12 @@ function C5e(e) {
}));
}
function w5e(e) {
- var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = eK(n) ?? {}, s = o.id, c = S6(o, a5e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = S6(n, o5e), g = t3(f, u, s), _ = n3(m), v = r3(p, u, s);
+ var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = nK(n) ?? {}, s = o.id, c = S6(o, a5e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = S6(n, o5e), g = t3(f, u, s), _ = n3(m), v = r3(p, u, s);
return t ? /*#__PURE__*/ b.createElement(b.Fragment, null, t.map((e, t) => /*#__PURE__*/ b.createElement(n5e, b6({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, Pq(h, e, t), {
+ }, Iq(h, e, t), {
onMouseEnter: g(e, e.originalDataIndex),
onMouseLeave: _(e, e.originalDataIndex),
onClick: v(e, e.originalDataIndex)
@@ -91456,22 +91525,22 @@ function w5e(e) {
}
var T5e = (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" ? [x6(x6({}, e.prev), {}, {
- height: wK(e.prev.height, 0, t),
- y: wK(e.prev.y, e.prev.y + e.prev.height, t)
- })] : [x6(x6({}, e.prev), {}, { width: wK(e.prev.width, 0, t) })];
+ height: EK(e.prev.height, 0, t),
+ y: EK(e.prev.y, e.prev.y + e.prev.height, t)
+ })] : [x6(x6({}, e.prev), {}, { width: EK(e.prev.width, 0, t) })];
if (e.status === "matched") return [x6(x6({}, e.next), {}, {
- x: wK(e.prev.x, e.next.x, t),
- y: wK(e.prev.y, e.next.y, t),
- width: wK(e.prev.width, e.next.width, t),
- height: wK(e.prev.height, e.next.height, t)
+ x: EK(e.prev.x, e.next.x, t),
+ y: EK(e.prev.y, e.next.y, t),
+ width: EK(e.prev.width, e.next.width, t),
+ height: EK(e.prev.height, e.next.height, t)
})];
var r = e.next;
return n === "horizontal" ? [x6(x6({}, r), {}, {
- height: wK(0, r.height, t),
- y: wK(r.stackedBarStart, r.y, t)
+ height: EK(0, r.height, t),
+ y: EK(r.stackedBarStart, r.y, t)
})] : [x6(x6({}, r), {}, {
- width: wK(0, r.width, t),
- x: wK(r.stackedBarStart, r.x, t)
+ width: EK(0, r.width, t),
+ x: EK(r.stackedBarStart, r.x, t)
})];
});
function E5e(e) {
@@ -91493,7 +91562,7 @@ function E5e(e) {
animationInterpolateFn: c,
animationMatchBy: t.animationMatchBy,
layout: l
- }, (e, n, r) => /*#__PURE__*/ b.createElement(oK, null, /*#__PURE__*/ b.createElement(w5e, {
+ }, (e, n, r) => /*#__PURE__*/ b.createElement(cK, null, /*#__PURE__*/ b.createElement(w5e, {
props: t,
data: e,
animationElapsedTime: n,
@@ -91514,21 +91583,21 @@ var O5e = 0, k5e = (e, t) => {
x: e.x,
y: e.y,
value: n,
- errorVal: $X(e, t)
+ errorVal: tZ(e, t)
};
}, A5e = 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 = wv("recharts-bar", i), d = l;
- return /*#__PURE__*/ b.createElement(oK, {
+ var u = Tv("recharts-bar", i), d = l;
+ return /*#__PURE__*/ b.createElement(cK, {
className: u,
id: l
}, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
clipPathId: d,
xAxisId: a,
yAxisId: o
- })), /*#__PURE__*/ b.createElement(oK, {
+ })), /*#__PURE__*/ b.createElement(cK, {
className: "recharts-bar-rectangles",
clipPath: s ? `url(#clipPath-${d})` : void 0
}, /*#__PURE__*/ b.createElement(b5e, {
@@ -91557,7 +91626,7 @@ var O5e = 0, k5e = (e, t) => {
zIndex: T$.bar
};
function M5e(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 = r6(t, n).needClip, f = HZ(), p = CZ(), m = X$e(e.children, p4), h = J((t) => J8e(t, e.id, p, m));
+ 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 = r6(t, n).needClip, f = WZ(), p = TZ(), m = X$e(e.children, p4), h = J((t) => J8e(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(h6e, {
@@ -91583,19 +91652,19 @@ function M5e(e) {
})));
}
function N5e(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 = sZ({ numericAxis: v }), x = v.scale.map(b);
+ 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 = lZ({ 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 = rZ(E, y);
- } else p = $X(e, r), Array.isArray(p) || (p = [b, p]);
+ p = aZ(E, y);
+ } else p = tZ(e, r), Array.isArray(p) || (p = [b, p]);
var D = z8e(i, O5e)(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 = oZ({
+ v = cZ({
axis: c,
ticks: u,
bandSize: s,
@@ -91604,19 +91673,19 @@ function N5e(e) {
index: n
}), S = k ?? O ?? void 0, C = o.size;
var A = O - k;
- if (w = _K(A) ? 0 : A, T = {
+ if (w = yK(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 = gK(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = vK(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 = oZ({
+ if (v = M, S = cZ({
axis: l,
ticks: d,
bandSize: s,
@@ -91629,7 +91698,7 @@ function N5e(e) {
width: m.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var P = gK(C || D) * (Math.abs(D) - Math.abs(C));
+ var P = vK(C || D) * (Math.abs(D) - Math.abs(C));
C += P;
}
}
@@ -91652,7 +91721,7 @@ function N5e(e) {
}).filter(Boolean);
}
function P5e(e) {
- var t = Iq(e, j5e), n = $8e(t.stackId), r = CZ();
+ var t = Rq(e, j5e), n = $8e(t.stackId), r = TZ();
return /*#__PURE__*/ b.createElement(f3, {
id: t.id,
type: "bar"
@@ -91684,7 +91753,7 @@ function P5e(e) {
hasCustomShape: t.shape != null && t.shape !== g6
}), /*#__PURE__*/ b.createElement(a4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(M5e, b6({}, t, { id: e })))));
}
-var C6 = /*#__PURE__*/ b.memo(P5e, tQ);
+var C6 = /*#__PURE__*/ b.memo(P5e, rQ);
C6.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
@@ -91713,7 +91782,7 @@ function z5e(e, t) {
function B5e(e, t) {
if (e === t) return !0;
var n = e.domain, r = e.range, i = L5e(e, F5e), a = t.domain, o = t.range, s = L5e(t, I5e);
- return !z5e(n, a) || !z5e(r, o) ? !1 : tQ(i, s);
+ return !z5e(n, a) || !z5e(r, o) ? !1 : rQ(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
@@ -91793,7 +91862,7 @@ function Y5e(e, t) {
return n;
}
function X5e(e) {
- var t = kJ(), n = (0, b.useRef)(null), r = UZ(), i = e.type, a = T6(e, V5e), o = k$(r, "xAxis", i), s = (0, b.useMemo)(() => {
+ var t = jJ(), n = (0, b.useRef)(null), r = GZ(), i = e.type, a = T6(e, V5e), o = k$(r, "xAxis", i), s = (0, b.useMemo)(() => {
if (o != null) return G5e(G5e({}, a), {}, { type: o });
}, [a, o]);
return (0, b.useLayoutEffect)(() => {
@@ -91806,7 +91875,7 @@ function X5e(e) {
}, [t]), null;
}
var Z5e = (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(SZ), c = CZ(), l = kJ(), u = "xAxis", d = J((e) => Hqe(e, u, t, c)), f = J((e) => Aqe(e, t)), p = J((e) => Fqe(e, t)), m = J((e) => OKe(e, t));
+ 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(wZ), c = TZ(), l = jJ(), u = "xAxis", d = J((e) => Hqe(e, u, t, c)), f = J((e) => Aqe(e, t)), p = J((e) => Fqe(e, t)), m = J((e) => OKe(e, t));
if ((0, b.useLayoutEffect)(() => {
if (!(r !== "auto" || !f || C4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
var e = a.current;
@@ -91838,7 +91907,7 @@ var Z5e = (e) => {
y: p.y,
width: f.width,
height: f.height,
- className: wv(`recharts-${u} ${u}`, n),
+ className: Tv(`recharts-${u} ${u}`, n),
viewBox: s,
ticks: d,
axisType: u,
@@ -91869,7 +91938,7 @@ var Z5e = (e) => {
niceTicks: H0.niceTicks,
xAxisId: 0
}, $5e = /*#__PURE__*/ b.memo((e) => {
- var t = Iq(e, Q5e);
+ var t = Rq(e, Q5e);
return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(X5e, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
@@ -91977,7 +92046,7 @@ function c7e(e, t) {
return n;
}
function l7e(e) {
- var t = kJ(), n = (0, b.useRef)(null), r = UZ(), i = e.type, a = D6(e, e7e), o = k$(r, "yAxis", i), s = (0, b.useMemo)(() => {
+ var t = jJ(), n = (0, b.useRef)(null), r = GZ(), i = e.type, a = D6(e, e7e), o = k$(r, "yAxis", i), s = (0, b.useMemo)(() => {
if (o != null) return i7e(i7e({}, a), {}, { type: o });
}, [o, a]);
return (0, b.useLayoutEffect)(() => {
@@ -91990,7 +92059,7 @@ function l7e(e) {
}, [t]), null;
}
function u7e(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(SZ), c = CZ(), l = kJ(), u = "yAxis", d = J((e) => Lqe(e, t)), f = J((e) => Iqe(e, t)), p = J((e) => Hqe(e, u, t, c)), m = J((e) => kKe(e, t));
+ 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(wZ), c = TZ(), l = jJ(), u = "yAxis", d = J((e) => Lqe(e, t)), f = J((e) => Iqe(e, t)), p = J((e) => Hqe(e, u, t, c)), m = J((e) => kKe(e, t));
if ((0, b.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || C4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
var e = a.current;
@@ -92023,7 +92092,7 @@ function u7e(e) {
tickTextProps: r === "auto" ? { width: void 0 } : { width: r },
width: d.width,
height: d.height,
- className: wv(`recharts-${u} ${u}`, n),
+ className: Tv(`recharts-${u} ${u}`, n),
viewBox: s,
ticks: p,
axisType: u,
@@ -92055,7 +92124,7 @@ var d7e = {
width: W0.width,
yAxisId: 0
}, f7e = /*#__PURE__*/ b.memo((e) => {
- var t = Iq(e, d7e);
+ var t = Rq(e, d7e);
return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(l7e, {
interval: t.interval,
id: t.yAxisId,
@@ -92087,13 +92156,13 @@ var d7e = {
f7e.displayName = "YAxis";
var O6 = Y([
(e, t) => t,
- VZ,
+ UZ,
F$,
U$,
KJe,
K2,
yYe,
- bZ
+ SZ
], OYe);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
@@ -92117,7 +92186,7 @@ function k6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var m7e = uX("mouseClick"), h7e = WX();
+var m7e = fX("mouseClick"), h7e = KX();
h7e.startListening({
actionCreator: m7e,
effect: (e, t) => {
@@ -92129,7 +92198,7 @@ h7e.startListening({
}));
}
});
-var A6 = uX("mouseMove"), g7e = WX(), j6 = null, M6 = null, N6 = null;
+var A6 = fX("mouseMove"), g7e = KX(), j6 = null, M6 = null, N6 = null;
g7e.startListening({
actionCreator: A6,
effect: (e, t) => {
@@ -92172,17 +92241,17 @@ var v7e = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, y7e = yX({
+}, y7e = xX({
name: "rootProps",
initialState: v7e,
reducers: { updateOptions: (e, t) => {
e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? v7e.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;
} }
-}), b7e = y7e.reducer, x7e = y7e.actions.updateOptions, S7e = yX({
+}), b7e = y7e.reducer, x7e = y7e.actions.updateOptions, S7e = xX({
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) }
-}), C7e = S7e.actions.updatePolarOptions, w7e = S7e.reducer, T7e = uX("keyDown"), E7e = uX("focus"), D7e = uX("blur"), P6 = WX(), F6 = null, I6 = null, L6 = null;
+}), C7e = S7e.actions.updatePolarOptions, w7e = S7e.reducer, T7e = fX("keyDown"), E7e = fX("focus"), D7e = fX("blur"), P6 = KX(), F6 = null, I6 = null, L6 = null;
P6.startListening({
actionCreator: T7e,
effect: (e, t) => {
@@ -92287,7 +92356,7 @@ function O7e(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var R6 = uX("externalEvent"), k7e = WX(), z6 = /* @__PURE__ */ new Map(), B6 = /* @__PURE__ */ new Map(), V6 = /* @__PURE__ */ new Map();
+var R6 = fX("externalEvent"), k7e = KX(), z6 = /* @__PURE__ */ new Map(), B6 = /* @__PURE__ */ new Map(), V6 = /* @__PURE__ */ new Map();
k7e.startListening({
actionCreator: R6,
effect: (e, t) => {
@@ -92345,7 +92414,7 @@ var A7e = Y([
if (i != null) return i(t);
}
}
-}), j7e = uX("touchMove"), M7e = WX(), H6 = null, U6 = null, N7e = null, W6 = null;
+}), j7e = fX("touchMove"), M7e = KX(), H6 = null, U6 = null, N7e = null, W6 = null;
M7e.startListening({
actionCreator: j7e,
effect: (e, t) => {
@@ -92378,7 +92447,7 @@ M7e.startListening({
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(oRe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = H2(e).find((e) => e.id === c);
+ var s = o.getAttribute(iRe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = H2(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
var u = l.dataKey, d = A7e(e, s, c);
t.dispatch(nJe({
@@ -92408,21 +92477,21 @@ var G6 = {
"scroll",
"wheel"
]
-}, P7e = yX({
+}, P7e = xX({
name: "eventSettings",
initialState: G6,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = cX(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = uX(t.payload.throttledEvents));
} }
-}), F7e = P7e.actions.setEventSettings, I7e = P7e.reducer, L7e = ZJ({
+}), F7e = P7e.actions.setEventSettings, I7e = P7e.reducer, L7e = $J({
brush: c4e,
cartesianAxis: p0e,
chartData: cXe,
errorBars: u6e,
eventSettings: I7e,
graphicalItems: V1e,
- layout: qLe,
- legend: HRe,
+ layout: GLe,
+ legend: BRe,
options: nXe,
polarAxis: s$e,
polarOptions: w7e,
@@ -92433,7 +92502,7 @@ var G6 = {
zIndex: UYe
}), R7e = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return yLe({
+ return _Le({
reducer: L7e,
preloadedState: e,
middleware: (e) => e({
@@ -92452,9 +92521,9 @@ var G6 = {
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(_X({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(yX({ type: "raf" }));
},
- devTools: mQ.devToolsEnabled && {
+ devTools: gQ.devToolsEnabled && {
serialize: { replacer: _7e },
name: `recharts-${t}`
}
@@ -92463,11 +92532,11 @@ var G6 = {
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
function z7e(e) {
- var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = CZ(), a = (0, b.useRef)(null);
+ var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = TZ(), a = (0, b.useRef)(null);
if (i) return n;
a.current ??= R7e(t, r);
- var o = OJ;
- return /*#__PURE__*/ b.createElement(nze, {
+ var o = AJ;
+ return /*#__PURE__*/ b.createElement(eze, {
context: o,
store: a.current
}, n);
@@ -92475,9 +92544,9 @@ function z7e(e) {
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
function B7e(e) {
- var t = e.layout, n = e.margin, r = kJ(), i = CZ();
+ var t = e.layout, n = e.margin, r = jJ(), i = TZ();
return (0, b.useEffect)(() => {
- i || (r(WLe(t)), r(ULe(n)));
+ i || (r(HLe(t)), r(VLe(n)));
}, [
r,
i,
@@ -92485,25 +92554,25 @@ function B7e(e) {
n
]), null;
}
-var V7e = /*#__PURE__*/ (0, b.memo)(B7e, tQ);
+var V7e = /*#__PURE__*/ (0, b.memo)(B7e, rQ);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function H7e(e) {
- var t = kJ();
+ var t = jJ();
return (0, b.useEffect)(() => {
t(x7e(e));
}, [t, e]), null;
}
var U7e = /*#__PURE__*/ (0, b.memo)((e) => {
- var t = kJ();
+ var t = jJ();
return (0, b.useEffect)(() => {
t(F7e(e));
}, [t, e]), null;
-}, tQ);
+}, rQ);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function W7e(e) {
- var t = e.zIndex, n = e.isPanorama, r = (0, b.useRef)(null), i = kJ();
+ var t = e.zIndex, n = e.isPanorama, r = (0, b.useRef)(null), i = jJ();
return (0, b.useLayoutEffect)(() => (r.current && i(VYe({
zIndex: t,
element: r.current,
@@ -92572,10 +92641,10 @@ var Y7e = {
height: "100%",
display: "block"
}, X7e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = zZ(), r = BZ(), i = bQ();
- if (!XX(n) || !XX(r)) return null;
+ var n = VZ(), r = HZ(), i = SQ();
+ if (!QX(n) || !QX(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(iK, K6({}, 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(oK, K6({}, o, {
title: s,
desc: c,
role: u,
@@ -92586,10 +92655,10 @@ var Y7e = {
ref: t
}), a);
}), Z7e = (e) => {
- var t = e.children, n = J(TZ);
+ var t = e.children, n = J(DZ);
if (!n) return null;
var r = n.width, i = n.height, a = n.y, o = n.x;
- return /*#__PURE__*/ b.createElement(iK, {
+ return /*#__PURE__*/ b.createElement(oK, {
width: r,
height: i,
x: o,
@@ -92597,7 +92666,7 @@ var Y7e = {
}, t);
}, Q7e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = e.children, r = q7e(e, K7e);
- return CZ() ? /*#__PURE__*/ b.createElement(Z7e, null, /*#__PURE__*/ b.createElement(G7e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(X7e, K6({ ref: t }, r), /*#__PURE__*/ b.createElement(G7e, { isPanorama: !1 }, n));
+ return TZ() ? /*#__PURE__*/ b.createElement(Z7e, null, /*#__PURE__*/ b.createElement(G7e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(X7e, K6({ ref: t }, r), /*#__PURE__*/ b.createElement(G7e, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
@@ -92644,11 +92713,11 @@ function i9e(e) {
if (Array.isArray(e)) return e;
}
function a9e() {
- var e = kJ(), t = $7e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J(aRe);
+ var e = jJ(), t = $7e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J(rRe);
return (0, b.useEffect)(() => {
if (n != null) {
var t = n.getBoundingClientRect().width / n.offsetWidth;
- YX(t) && t !== i && e(KLe(t));
+ ZX(t) && t !== i && e(WLe(t));
}
}, [
n,
@@ -92789,7 +92858,7 @@ var _9e = /*#__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(KZ, {
+ }, [o]), /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(JZ, {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ b.createElement("div", q6({ ref: s }, e)));
@@ -92811,13 +92880,13 @@ var _9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
s(r, i);
}
}, [t, s]);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(KZ, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(JZ, {
width: a.containerWidth,
height: a.containerHeight
}), /*#__PURE__*/ b.createElement("div", q6({ ref: c }, e)));
}), y9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = e.width, r = e.height;
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(KZ, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(JZ, {
width: n,
height: r
}), /*#__PURE__*/ b.createElement("div", q6({ ref: t }, e)));
@@ -92827,7 +92896,7 @@ var _9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(KZ, {
+ })) : /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(JZ, {
width: n,
height: r
}), /*#__PURE__*/ b.createElement("div", q6({ ref: t }, e)));
@@ -92836,7 +92905,7 @@ function x9e(e) {
return e ? _9e : b9e;
}
var S9e = /*#__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 = kJ(), w = J6((0, b.useState)(null), 2), T = w[0], E = w[1], D = J6((0, b.useState)(null), 2), O = D[0], k = D[1], A = a9e(), j = FZ(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, b.useCallback)((e) => {
+ 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 = jJ(), w = J6((0, b.useState)(null), 2), T = w[0], E = w[1], D = J6((0, b.useState)(null), 2), O = D[0], k = D[1], A = a9e(), j = LZ(), 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,
@@ -92909,10 +92978,10 @@ var S9e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
reactEvent: e
}));
}, [C, p]), fe = x9e(v);
- return /*#__PURE__*/ b.createElement(ZYe.Provider, { value: T }, /*#__PURE__*/ b.createElement(FK.Provider, { value: O }, /*#__PURE__*/ b.createElement(fe, {
+ return /*#__PURE__*/ b.createElement(ZYe.Provider, { value: T }, /*#__PURE__*/ b.createElement(LK.Provider, { value: O }, /*#__PURE__*/ b.createElement(fe, {
width: M ?? g?.width,
height: N ?? g?.height,
- className: wv("recharts-wrapper", r),
+ className: Tv("recharts-wrapper", r),
style: s9e({
position: "relative",
cursor: "default",
@@ -92965,8 +93034,8 @@ function T9e(e, t) {
return n;
}
var E9e = /*#__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 = eK(w9e(e, C9e));
- return c ? /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(KZ, {
+ 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 = nK(w9e(e, C9e));
+ return c ? /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(JZ, {
width: n,
height: r
}), /*#__PURE__*/ b.createElement(Q7e, {
@@ -93067,7 +93136,7 @@ var M9e = O9e({
stackOffset: "none",
syncMethod: "index"
}, G6), Z6 = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- var n = Iq(e.categoricalChartProps, M9e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
+ var n = Rq(e.categoricalChartProps, M9e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -93114,7 +93183,7 @@ var M9e = O9e({
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
function L9e(e) {
- var t = kJ();
+ var t = jJ();
return (0, b.useEffect)(() => {
t(C7e(e));
}, [t, e]), null;
@@ -93212,7 +93281,7 @@ var $6 = H9e({
innerRadius: 0,
outerRadius: "80%"
}, G6), K9e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- var n = Iq(e.categoricalChartProps, $6), r = n.layout, i = z9e(n, R9e), a = e.chartName, o = {
+ var n = Rq(e.categoricalChartProps, $6), r = n.layout, i = z9e(n, R9e), a = e.chartName, o = {
chartName: a,
defaultTooltipEventType: e.defaultTooltipEventType,
validateTooltipEventTypes: e.validateTooltipEventTypes,
@@ -93299,7 +93368,7 @@ var Q9e = ["axis"], $9e = J9e(J9e({}, $6), {}, {
startAngle: 90,
endAngle: -270
}), eet = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = Iq(e, $9e);
+ var n = Rq(e, $9e);
return /*#__PURE__*/ b.createElement(K9e, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
@@ -93366,7 +93435,7 @@ var cet = ["axis", "item"], uet = iet(iet({}, $6), {}, {
startAngle: 0,
endAngle: 360
}), det = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = Iq(e, uet);
+ var n = Rq(e, uet);
return /*#__PURE__*/ b.createElement(K9e, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
@@ -93379,7 +93448,7 @@ var cet = ["axis", "item"], uet = iet(iet({}, $6), {}, {
//#endregion
//#region src/react/charts/cn.ts
function e8(...e) {
- return Bk(wv(e));
+ return Hk(Tv(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
@@ -93413,7 +93482,7 @@ function r8({ id: e, config: t, initialDimension: n = {
id: c,
config: t
}),
- /* @__PURE__ */ (0, x.jsx)(IZ, {
+ /* @__PURE__ */ (0, x.jsx)(RZ, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -93609,7 +93678,7 @@ function wet(e, t) {
...n
};
}
-var u8 = oQ, d8 = () => null, Tet = {
+var u8 = cQ, d8 = () => null, Tet = {
stiffness: 300,
damping: 35,
mass: .8
@@ -93719,16 +93788,16 @@ function Det({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
f,
M
]);
- let ee = T > 1 ? P.startIndex / (T - 1) * 100 : 0, F = T > 1 ? P.endIndex / (T - 1) * 100 : 100, te = m_(ee), I = m_(F);
+ let ee = T > 1 ? P.startIndex / (T - 1) * 100 : 0, F = T > 1 ? P.endIndex / (T - 1) * 100 : 100, te = h_(ee), I = h_(F);
te.get() !== ee && te.set(ee), I.get() !== F && I.set(F);
- let ne = Fre(te, Tet), re = Fre(I, Tet), ie = h_(ne, (e) => `${e}%`), ae = h_(re, (e) => `${e}%`), oe = h_(ne, (e) => `${e}%`), se = h_(re, (e) => `${Math.max(0, 100 - e)}%`), ce = m_(`${Math.max(0, F - ee)}%`), le = (0, b.useCallback)(() => {
+ let ne = Pre(te, Tet), re = Pre(I, Tet), ie = g_(ne, (e) => `${e}%`), ae = g_(re, (e) => `${e}%`), oe = g_(ne, (e) => `${e}%`), se = g_(re, (e) => `${Math.max(0, 100 - e)}%`), ce = h_(`${Math.max(0, F - ee)}%`), le = (0, b.useCallback)(() => {
ce.set(`${Math.max(0, re.get() - ne.get())}%`);
}, [
ne,
re,
ce
]);
- kre(ne, "change", le), kre(re, "change", le);
+ Ore(ne, "change", le), Ore(re, "change", le);
let ue = (0, b.useCallback)((t) => {
if (!r) return String(t);
let n = e[t]?.[r];
@@ -93763,15 +93832,15 @@ function Det({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
barRadius: u
})
}),
- /* @__PURE__ */ (0, x.jsx)(v_.div, {
+ /* @__PURE__ */ (0, x.jsx)(y_.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 left-0 rounded-l-md backdrop-blur-[2px]",
style: { width: oe }
}),
- /* @__PURE__ */ (0, x.jsx)(v_.div, {
+ /* @__PURE__ */ (0, x.jsx)(y_.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 right-0 rounded-r-md backdrop-blur-[2px]",
style: { width: se }
}),
- /* @__PURE__ */ (0, x.jsx)(v_.div, {
+ /* @__PURE__ */ (0, x.jsx)(y_.div, {
className: "absolute inset-y-0 cursor-grab touch-none rounded-sm border active:cursor-grabbing",
style: {
left: ie,
@@ -93796,7 +93865,7 @@ function Det({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}
function Oet({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
- return /* @__PURE__ */ (0, x.jsxs)(v_.div, {
+ return /* @__PURE__ */ (0, x.jsxs)(y_.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, x.jsx)("div", {
@@ -93876,7 +93945,7 @@ function ket({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, x.jsx)(IZ, {
+ if (r === "line") return /* @__PURE__ */ (0, x.jsx)(RZ, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, x.jsxs)(P9e, {
@@ -93903,7 +93972,7 @@ function ket({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, x.jsx)(IZ, {
+ return /* @__PURE__ */ (0, x.jsx)(RZ, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, x.jsxs)(I9e, {
@@ -93932,7 +94001,7 @@ function ket({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, x.jsx)(IZ, {
+ return /* @__PURE__ */ (0, x.jsx)(RZ, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, x.jsxs)(net, {
@@ -94285,7 +94354,7 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stac
});
}
function Bet({ 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 } = p8(), S = (0, b.useId)().replace(/:/g, ""), C = g_();
+ let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = p8(), S = (0, b.useId)().replace(/:/g, ""), C = __();
if (f) return null;
let w = n ?? p, T = _ === e, E = C ? "none" : r ?? m, D = {
id: S,
@@ -94456,7 +94525,7 @@ var Ket = (e) => {
children: [/* @__PURE__ */ (0, x.jsx)(t$, {
...e,
fill: "transparent"
- }), T ? /* @__PURE__ */ (0, x.jsx)(v_.g, {
+ }), T ? /* @__PURE__ */ (0, x.jsx)(y_.g, {
initial: T.initial,
animate: T.animate,
transition: T.transition,
@@ -94894,7 +94963,7 @@ var ott = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fr
height: "1",
x: "0",
y: "0",
- children: /* @__PURE__ */ (0, x.jsx)(v_.rect, {
+ children: /* @__PURE__ */ (0, x.jsx)(y_.rect, {
y: "0",
width: "1",
height: "1",
@@ -94927,7 +94996,7 @@ var ott = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fr
m8.Bar = Bet, m8.XAxis = Vet, m8.YAxis = Het, m8.Grid = Uet, m8.Tooltip = Wet, m8.Legend = Get, m8.Brush = d8;
//#endregion
//#region src/react/charts/chart-card.tsx
-var h8 = `${Kk({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var h8 = `${Jk({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
function g8({ title: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
className: h8,
@@ -95365,7 +95434,7 @@ function Att({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, x.jsx)(ak, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, x.jsx)(sk, { "aria-hidden": !0 })
}) : null]
});
}
@@ -95579,15 +95648,15 @@ var Ktt = [
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
function Jtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
- let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = CPe(t);
+ let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = xPe(t);
if (!c.length) return /* @__PURE__ */ (0, x.jsx)(g8, {
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 = wPe(c.map((e) => e.value)), m = c.map((e, 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 = SPe(c.map((e) => e.value)), m = c.map((e, t) => ({
slice: C8(t),
value: e.value,
- arc: TPe(e.value, p)
+ arc: CPe(e.value, p)
}));
return /* @__PURE__ */ (0, x.jsxs)("section", {
className: h8,
@@ -95598,7 +95667,7 @@ function Jtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, x.jsxs)("h3", {
className: "flex items-center gap-1.5 text-title-2-medium wrap-anywhere text-text-primary",
- children: [d?.mark ? /* @__PURE__ */ (0, x.jsx)(pA, { mark: d.mark }) : null, d ? d.name : e]
+ children: [d?.mark ? /* @__PURE__ */ (0, x.jsx)(hA, { mark: d.mark }) : null, d ? d.name : e]
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-display-4-medium tabular-nums text-text-primary",
children: (d ? d.value : u).toLocaleString()
@@ -95621,7 +95690,7 @@ function Jtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, x.jsx)(A8.RadialBar, {
dataKey: "arc",
- barSize: EPe(c.length),
+ barSize: wPe(c.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, x.jsx)(c$, {
...e,
@@ -95657,7 +95726,7 @@ function Jtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
className: `mt-0.5 size-3 shrink-0 rounded-sm ${Ktt[t % 6]}`
}), /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex min-w-0 items-start gap-1.5 wrap-anywhere",
- children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(pA, { mark: e.mark }) : null, e.name]
+ children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(hA, { mark: e.mark }) : null, e.name]
})]
}),
/* @__PURE__ */ (0, x.jsx)("b", {
@@ -95676,7 +95745,7 @@ function Jtt({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var Ytt = 10, j8 = x8[5], Xtt = x8[4], Ztt = `${Kk()} flex flex-col gap-4`, M8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", Qtt = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", $tt = "开始播放后,这里会显示最近的真实观看证据。", ent = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", tnt = "添加媒体文件夹后,这里会显示存储空间。", nnt = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", rnt = "探测时长后,这里会显示时长分布。", int = "探测画质后,这里会显示画质分布。", ant = "开始播放后,这里会显示播放落在一周的哪些时段。", ont = "开始播放后,这里会显示每个作品播了几次。", N8 = (e, t) => Math.min(Math.max(e, 0), t);
+var Ytt = 10, j8 = x8[5], Xtt = x8[4], Ztt = `${Jk()} flex flex-col gap-4`, M8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", Qtt = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", $tt = "开始播放后,这里会显示最近的真实观看证据。", ent = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", tnt = "添加媒体文件夹后,这里会显示存储空间。", nnt = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", rnt = "探测时长后,这里会显示时长分布。", int = "探测画质后,这里会显示画质分布。", ant = "开始播放后,这里会显示播放落在一周的哪些时段。", ont = "开始播放后,这里会显示每个作品播了几次。", N8 = (e, t) => Math.min(Math.max(e, 0), t);
function P8({ 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",
@@ -95685,7 +95754,7 @@ function P8({ term: e, value: t }) {
children: e
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-title-3-medium tabular-nums text-text-primary",
- children: GG(t)
+ children: qG(t)
})]
});
}
@@ -95697,14 +95766,14 @@ function F8({ 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: [GG(t), WG(t) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [qG(t), KG(t) ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: KG(t, n)
+ children: JG(t, n)
}) : null]
})]
- }), /* @__PURE__ */ (0, x.jsx)(Zk, {
- label: `${e}:${GG(t)} / ${n.toLocaleString()}`,
- value: WG(t) ? N8(t, r) : 0,
+ }), /* @__PURE__ */ (0, x.jsx)($k, {
+ label: `${e}:${qG(t)} / ${n.toLocaleString()}`,
+ value: KG(t) ? N8(t, r) : 0,
max: r
})]
});
@@ -95769,7 +95838,7 @@ function snt({ data: e, configurable: t, openMediaSettings: n }) {
unit: "个视频",
series: "视频",
color: j8,
- rows: APe(e.by_length),
+ rows: OPe(e.by_length),
empty: rnt
}),
/* @__PURE__ */ (0, x.jsx)(E8, {
@@ -95777,7 +95846,7 @@ function snt({ data: e, configurable: t, openMediaSettings: n }) {
unit: "个视频",
series: "视频",
color: j8,
- rows: XG(e.by_quality),
+ rows: QG(e.by_quality),
empty: int
}),
/* @__PURE__ */ (0, x.jsx)(E8, {
@@ -95786,20 +95855,20 @@ function snt({ data: e, configurable: t, openMediaSettings: n }) {
series: "条目",
color: j8,
layout: "horizontal",
- rows: OPe(e.by_medium),
+ rows: EPe(e.by_medium),
empty: M8
})
]
})]
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: ehe,
+ icon: Qme,
title: "还没有视频",
actions: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [t ? /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
- }) : null, /* @__PURE__ */ (0, x.jsx)(Gk, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(qk, {
variant: "secondary",
href: "/subscriptions?tab=add",
size: "small",
@@ -95825,7 +95894,7 @@ function cnt({ data: e }) {
unit: "个作品",
series: "作品",
color: Xtt,
- rows: MPe(e.replays),
+ rows: APe(e.replays),
empty: ont
})] });
}
@@ -95879,11 +95948,11 @@ function unt({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [Xt(n), /* @__PURE__ */ (0, x.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: KG(n, t)
+ children: JG(n, t)
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, x.jsx)(Zk, {
+ t == null ? null : /* @__PURE__ */ (0, x.jsx)($k, {
label: `${e.label}空间使用率`,
value: N8(n, Math.max(t, 1)),
max: Math.max(t, 1)
@@ -95905,9 +95974,9 @@ function dnt({ 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)(unt, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: pk,
+ icon: hk,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
@@ -95943,11 +96012,11 @@ function fnt({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, `${e.k}:${r}`))
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: hk,
+ icon: _k,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ actions: /* @__PURE__ */ (0, x.jsx)(qk, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
@@ -95960,7 +96029,7 @@ function pnt({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = JG(e);
+ let t = XG(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", {
@@ -95968,7 +96037,7 @@ function pnt({ 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: SPe(e),
+ href: bPe(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
@@ -95978,25 +96047,25 @@ function pnt({ 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: xPe(e) })]
+ }) : null, /* @__PURE__ */ (0, x.jsx)("span", { children: yPe(e) })]
})]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, x.jsx)(Zk, {
+ children: [/* @__PURE__ */ (0, x.jsx)($k, {
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)}% · 到达 ${YG(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${ZG(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: mk,
+ icon: gk,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ actions: /* @__PURE__ */ (0, x.jsx)(qk, {
variant: "secondary",
href: "/",
size: "small",
@@ -96024,7 +96093,7 @@ function mnt({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, x.jsx)(Zk, {
+ /* @__PURE__ */ (0, x.jsx)($k, {
label: `${e.k} 覆盖视频`,
value: N8(e.assets, Math.max(t, 1)),
max: Math.max(t, 1)
@@ -96035,11 +96104,11 @@ function mnt({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: hk,
+ icon: _k,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, x.jsx)(Gk, {
+ actions: /* @__PURE__ */ (0, x.jsx)(qk, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
@@ -96049,13 +96118,13 @@ function mnt({ sources: e, videos: t }) {
});
}
function R8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, x.jsx)(TN, {
+ return /* @__PURE__ */ (0, x.jsx)(DN, {
id: e,
- className: VI({
+ className: UI({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, x.jsx)(GI, {
+ children: /* @__PURE__ */ (0, x.jsx)(qI, {
label: t,
icon: i,
accent: a,
@@ -96066,32 +96135,32 @@ function R8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
}
function hnt(e) {
let t = ut({
- queryKey: HG,
- queryFn: ({ signal: e }) => UG(e)
+ queryKey: WG,
+ queryFn: ({ signal: e }) => GG(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!n) return /* @__PURE__ */ (0, x.jsx)(Zk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? B(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 = WG(n.tag_cov) ? KG(n.tag_cov, n.attribution.videos) : "未取得", c = `${GG(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
- return /* @__PURE__ */ (0, x.jsxs)(Yk, { 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 = KG(n.tag_cov) ? JG(n.tag_cov, n.attribution.videos) : "未取得", c = `${qG(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
+ return /* @__PURE__ */ (0, x.jsxs)(Zk, { children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${Xt(o)}`
}),
- /* @__PURE__ */ (0, x.jsxs)(CN, {
+ /* @__PURE__ */ (0, x.jsxs)(TN, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsxs)(wN, {
+ /* @__PURE__ */ (0, x.jsxs)(EN, {
"aria-label": "统计视图",
- className: HI,
+ className: WI,
children: [
/* @__PURE__ */ (0, x.jsx)(R8, {
id: "inventory",
label: "馆藏视频",
- icon: uk,
+ icon: fk,
accent: 0,
figure: a.toLocaleString(),
detail: Xt(o)
@@ -96099,15 +96168,15 @@ function hnt(e) {
/* @__PURE__ */ (0, x.jsx)(R8, {
id: "viewing",
label: "看过",
- icon: Pme,
+ icon: Mme,
accent: 1,
- figure: GG(r.played),
- detail: qG(r.play_seconds)
+ figure: qG(r.played),
+ detail: YG(r.play_seconds)
}),
/* @__PURE__ */ (0, x.jsx)(R8, {
id: "coverage",
label: "内容标签",
- icon: hk,
+ icon: _k,
accent: 2,
figure: s,
detail: c
@@ -96115,27 +96184,27 @@ function hnt(e) {
/* @__PURE__ */ (0, x.jsx)(R8, {
id: "storage",
label: "使用空间",
- icon: pk,
+ icon: hk,
accent: 3,
figure: `${i.online.toLocaleString()} 个卷`,
detail: i.measured ? `已用 ${Xt(i.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(ON, {
id: "inventory",
children: /* @__PURE__ */ (0, x.jsx)(snt, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, x.jsxs)(EN, {
+ /* @__PURE__ */ (0, x.jsxs)(ON, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, x.jsx)(L8, {
headline: /* @__PURE__ */ (0, x.jsx)(I8, {
term: "观看",
- figure: GG(r.played),
+ figure: qG(r.played),
unit: "个作品有播放记录"
}),
children: /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -96177,7 +96246,7 @@ function hnt(e) {
})
}), /* @__PURE__ */ (0, x.jsx)(cnt, { data: n })]
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(ON, {
id: "coverage",
children: /* @__PURE__ */ (0, x.jsx)(L8, {
headline: /* @__PURE__ */ (0, x.jsx)(I8, {
@@ -96188,7 +96257,7 @@ function hnt(e) {
children: /* @__PURE__ */ (0, x.jsx)(lnt, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(ON, {
id: "storage",
children: /* @__PURE__ */ (0, x.jsx)(L8, {
headline: /* @__PURE__ */ (0, x.jsx)(I8, {
@@ -96204,35 +96273,35 @@ function hnt(e) {
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(CN, {
+ /* @__PURE__ */ (0, x.jsxs)(TN, {
defaultSelectedKey: "tags",
- className: `${Kk({ padding: "none" })} flex flex-col`,
+ className: `${Jk({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, x.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, x.jsxs)(YN, {
+ children: /* @__PURE__ */ (0, x.jsxs)(ZN, {
"aria-label": "统计维度",
- className: ZN,
+ className: $N,
children: [
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(DN, {
id: "tags",
- className: QN,
+ className: eP,
children: "内容标签"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(DN, {
id: "recent",
- className: QN,
+ className: eP,
children: "最近看过"
}),
- /* @__PURE__ */ (0, x.jsx)(TN, {
+ /* @__PURE__ */ (0, x.jsx)(DN, {
id: "sources",
- className: QN,
+ className: eP,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(ON, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, x.jsx)(fnt, {
@@ -96240,12 +96309,12 @@ function hnt(e) {
...e
})
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(ON, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, x.jsx)(pnt, { rows: n.recent })
}),
- /* @__PURE__ */ (0, x.jsx)(EN, {
+ /* @__PURE__ */ (0, x.jsx)(ON, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, x.jsx)(mnt, {
@@ -96652,7 +96721,7 @@ function $nt(e) {
let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;
return !e.range_start && !e.range_end ? t : `${t} · ${q8(e.range_start)}—${q8(e.range_end)}`;
}
-var ert = qG, trt = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), nrt = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+var ert = YG, trt = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), nrt = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
function rrt(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
@@ -97369,7 +97438,7 @@ function Zrt({ browsers: e, range: t }) {
}
});
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: `${Kk()} flex flex-col gap-4`,
+ className: `${Jk()} flex flex-col gap-4`,
"aria-label": "浏览器同步",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -97403,7 +97472,7 @@ function Zrt({ browsers: e, range: t }) {
});
},
children: [
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "浏览器名称",
value: i,
onChange: a,
@@ -97411,7 +97480,7 @@ function Zrt({ browsers: e, range: t }) {
isRequired: !0,
isDisabled: c.isPending
}),
- /* @__PURE__ */ (0, x.jsx)(jN, {
+ /* @__PURE__ */ (0, x.jsx)(NN, {
label: "资料目录或历史文件",
value: o,
onChange: s,
@@ -97488,11 +97557,11 @@ function Zrt({ browsers: e, range: t }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var Qrt = 10, $rt = Bk(JI, YI, "text-body-2-medium"), Z8 = `${Kk()} flex flex-col gap-4`, Q8 = "rounded-xl bg-background-primary-default p-3", eit = "读取运行 Peach 的这台电脑上的浏览记录", tit = "导入或读取浏览记录后,这里会列出已采集设备。", nit = "馆藏里暂时没有对得上浏览信号的标签。", rit = "采集浏览记录后,这里会显示聚合后的口味证据。", iit = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", ait = "采集浏览记录后,这里会列出浏览过的标签。", oit = "采集浏览记录后,这里会列出浏览过的创作者。", sit = "采集浏览记录后,这里会列出常访问的网站。", cit = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", lit = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", uit = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", dit = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", fit = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", pit = "需要刷新时再次读取或导入;数据源可在页面底部移除。", mit = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", hit = "peach-taste-guide-dismissed";
+var Qrt = 10, $rt = Hk(XI, ZI, "text-body-2-medium"), Z8 = `${Jk()} flex flex-col gap-4`, Q8 = "rounded-xl bg-background-primary-default p-3", eit = "读取运行 Peach 的这台电脑上的浏览记录", tit = "导入或读取浏览记录后,这里会列出已采集设备。", nit = "馆藏里暂时没有对得上浏览信号的标签。", rit = "采集浏览记录后,这里会显示聚合后的口味证据。", iit = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", ait = "采集浏览记录后,这里会列出浏览过的标签。", oit = "采集浏览记录后,这里会列出浏览过的创作者。", sit = "采集浏览记录后,这里会列出常访问的网站。", cit = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", lit = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", uit = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", dit = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", fit = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", pit = "需要刷新时再次读取或导入;数据源可在页面底部移除。", mit = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", hit = "peach-taste-guide-dismissed";
function $8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: VI(),
- children: /* @__PURE__ */ (0, x.jsx)(GI, {
+ className: UI(),
+ children: /* @__PURE__ */ (0, x.jsx)(qI, {
label: t,
icon: e,
accent: i,
@@ -97517,14 +97586,14 @@ function git({ name: e, domain: t }) {
}
function _it({ 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 ${GB}`,
+ 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 ${qB}`,
dangerouslySetInnerHTML: { __html: e }
});
}
function vit({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
- if (!e.length) return /* @__PURE__ */ (0, x.jsx)(qk, {
+ if (!e.length) return /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: _k,
+ icon: yk,
title: "暂无足够证据",
children: r
});
@@ -97574,7 +97643,7 @@ function vit({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: rrt(e)
})]
}),
- o ? /* @__PURE__ */ (0, x.jsx)(sk, {
+ o ? /* @__PURE__ */ (0, x.jsx)(lk, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -97595,20 +97664,20 @@ function vit({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
});
}
function yit({ label: e, panels: t, onSignal: n }) {
- return /* @__PURE__ */ (0, x.jsxs)(CN, {
- className: `${Kk({ padding: "none" })} flex flex-col`,
+ return /* @__PURE__ */ (0, x.jsxs)(TN, {
+ className: `${Jk({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, x.jsx)(YN, {
+ children: /* @__PURE__ */ (0, x.jsx)(ZN, {
"aria-label": e,
- className: ZN,
- children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(TN, {
+ className: $N,
+ children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(DN, {
id: e.id,
- className: QN,
+ className: eP,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(EN, {
+ }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(ON, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, x.jsx)(vit, {
@@ -97687,14 +97756,14 @@ function bit({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular wrap-anywhere text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, x.jsx)(sk, {
+ }), /* @__PURE__ */ (0, x.jsx)(lk, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: _k,
+ icon: yk,
title: "还没有可探索的入口",
children: nit
})
@@ -97710,11 +97779,11 @@ function xit({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, x.jsx)("div", {
- className: Kk({
+ className: Jk({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, x.jsxs)(fA, {
+ children: /* @__PURE__ */ (0, x.jsxs)(mA, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
@@ -97783,7 +97852,7 @@ function Sit({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: lk,
+ leadingIcon: dk,
title: eit,
onClick: t,
...q(e),
@@ -97791,7 +97860,7 @@ function Sit({ busy: e, onRefresh: t, onImport: n }) {
}), /* @__PURE__ */ (0, x.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: ak,
+ leadingIcon: sk,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
@@ -97800,21 +97869,21 @@ function Sit({ busy: e, onRefresh: t, onImport: n }) {
e || a(!0);
}
})]
- }), /* @__PURE__ */ (0, x.jsx)(kM, {
+ }), /* @__PURE__ */ (0, x.jsx)(jM, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: qI,
- children: /* @__PURE__ */ (0, x.jsxs)(KI, {
+ className: YI,
+ children: /* @__PURE__ */ (0, x.jsxs)(JI, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
className: $rt,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, x.jsx)(lk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(dk, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -97822,7 +97891,7 @@ function Sit({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: $rt,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, x.jsx)(Qme, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Xme, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -97856,10 +97925,10 @@ function Cit({ sources: e, window: t, toast: n }) {
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)(Qme, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, x.jsx)(Xme, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, x.jsx)(uk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(fk, {
"aria-hidden": !0,
className: "size-4"
})
@@ -97880,7 +97949,7 @@ function Cit({ sources: e, window: t, toast: n }) {
"aria-label": `移除 ${e.profile}`,
className: "shrink-0",
iconOnly: !0,
- leadingIcon: dk,
+ leadingIcon: pk,
...q(r.isPending),
onClick: () => {
r.isPending || ls({
@@ -97893,9 +97962,9 @@ function Cit({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: uk,
+ icon: fk,
title: "还没有数据源",
children: tit
})
@@ -97907,7 +97976,7 @@ function wit(e) {
queryKey: K8(a),
queryFn: ({ signal: e }) => Knt(a, e),
placeholderData: ue
- }), { job: d, running: f, outcome: p, start: m } = EL({
+ }), { job: d, running: f, outcome: p, start: m } = OL({
queryKey: Unt,
queryFn: ({ signal: e }) => qnt(e),
start: () => Ynt(a),
@@ -97926,42 +97995,42 @@ function wit(e) {
}, _ = () => {
f || m.isPending || (m.reset(), m.mutate());
}, v = u.data;
- if (!v) return /* @__PURE__ */ (0, x.jsx)(Yk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!v) return /* @__PURE__ */ (0, x.jsx)(Zk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "口味分析读取失败",
children: u.error ? B(u.error) : "读取口味分析失败"
}) });
let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = trt(C.browser_categories || []), E = ort(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? B(m.error) : h.error ? B(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, x.jsxs)(Yk, { children: [
- /* @__PURE__ */ (0, x.jsxs)(CN, {
+ return /* @__PURE__ */ (0, x.jsxs)(Zk, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(TN, {
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)(YN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(ZN, {
"aria-label": "口味证据来源",
- className: ZN,
- children: [/* @__PURE__ */ (0, x.jsx)(TN, {
+ className: $N,
+ children: [/* @__PURE__ */ (0, x.jsx)(DN, {
id: "browser",
- className: QN,
+ className: eP,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, x.jsx)(TN, {
+ }), /* @__PURE__ */ (0, x.jsx)(DN, {
id: "peach",
- className: QN,
+ className: eP,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(CL, {
+ /* @__PURE__ */ (0, x.jsx)(TL, {
"aria-label": "分析范围",
selectedKey: a,
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: Wnt.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(wL, {
+ children: Wnt.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(EL, {
id: e,
children: t
}, e))
@@ -97990,12 +98059,12 @@ function wit(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- f ? /* @__PURE__ */ (0, x.jsx)(yL, {
+ f ? /* @__PURE__ */ (0, x.jsx)(xL, {
label: d?.message || "正在读取浏览记录并更新口味分析",
value: d?.checked,
total: d?.total
}) : null,
- h.isPending ? /* @__PURE__ */ (0, x.jsx)(yL, { label: "正在导入历史文件" }) : null,
+ h.isPending ? /* @__PURE__ */ (0, x.jsx)(xL, { label: "正在导入历史文件" }) : null,
A ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: A
@@ -98006,36 +98075,36 @@ function wit(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(EN, {
+ /* @__PURE__ */ (0, x.jsxs)(ON, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: HI,
+ className: WI,
children: [
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 0,
- icon: mk,
+ icon: gk,
term: "浏览记录",
figure: Number(y.history_visits || 0).toLocaleString(),
detail: $nt(y)
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 1,
- icon: hk,
+ icon: _k,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 2,
- icon: _k,
+ icon: yk,
term: "浏览候选",
figure: D.length.toLocaleString()
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 3,
- icon: uk,
+ icon: fk,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: Xt(w.bytes || 0)
@@ -98066,9 +98135,9 @@ function wit(e) {
children: T.length ? /* @__PURE__ */ (0, x.jsx)(Yrt, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, x.jsx)(qk, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Yk, {
shell: "plain",
- icon: _k,
+ icon: yk,
title: "暂无口味维度",
children: rit
})
@@ -98145,35 +98214,35 @@ function wit(e) {
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(EN, {
+ /* @__PURE__ */ (0, x.jsxs)(ON, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: HI,
+ className: WI,
children: [
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 0,
- icon: Pme,
+ icon: Mme,
term: "Peach 看过",
figure: Number(y.peach_items || 0).toLocaleString(),
detail: ert(y.peach_seconds || 0)
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 1,
- icon: Zme,
+ icon: Yme,
term: "喜欢",
figure: Number(y.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 2,
- icon: Xme,
+ icon: Jme,
term: "不合口味",
figure: Number(y.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, x.jsx)($8, {
accent: 3,
- icon: hk,
+ icon: _k,
term: "有标签",
figure: O.toLocaleString()
})
@@ -98280,7 +98349,7 @@ function Tit({ term: e, value: t, rest: n }) {
children: `${n.toLocaleString()} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, x.jsx)(Zk, {
+ }), /* @__PURE__ */ (0, x.jsx)($k, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -98379,17 +98448,17 @@ function Fit({ kind: e, q: t, scope: n, view: r, category: i }, a) {
return `<div class="ihead peach-react" data-index-head>
<h2 class="disp indexheading">${o}</h2>
${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}
- ${$I({
+ ${tL({
variant: "secondary",
size: "small",
label: "我的收藏",
attrs: "data-shortcuts-trigger aria-disabled=\"true\" tabindex=\"-1\""
})}
- <div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${QI("", t, "过滤" + o)}</div>
+ <div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${eL("", t, "过滤" + o)}</div>
</div>
${e === "tags" ? t5(kit, n, "词表") : e === "performers" || e === "creators" ? t5(Ait, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? t5(Oit, e, "公司类型") : ""}
${e === "tags" ? Pit(r) : ""}
- ${e === "performers" && n !== "online" ? ECe(i) : ""}
+ ${e === "performers" && n !== "online" ? wCe(i) : ""}
${_o({
kind: e,
layout: a,
@@ -98406,8 +98475,8 @@ function Lit(e, t, n) {
var Rit = () => Oc, zit = () => pc, n5 = () => document.getElementById("index");
function r5(e, t, n = {}) {
let r = (0, b.useSyncExternalStore)(zc, Rit);
- pO();
- let i = TO($O.navigation.location.pathname), a = (0, b.useRef)({
+ hO();
+ let i = DO(tk.navigation.location.pathname), a = (0, b.useRef)({
mounted: !0,
epoch: -1,
opens: -1,
@@ -98432,7 +98501,7 @@ function r5(e, t, n = {}) {
let t = a.current;
if (!t.mounted) return;
let n = t.epoch !== e || t.opens !== Oc, r = t.opens !== Oc;
- if (t.epoch = e, t.opens = Oc, TO($O.navigation.location.pathname)) {
+ if (t.epoch = e, t.opens = Oc, DO(tk.navigation.location.pathname)) {
n && o.current.options.onCovered?.();
return;
}
@@ -98458,8 +98527,8 @@ async function Bit(e, t, n, r) {
if (!i) return;
let a = `/${t}`;
e.surfaceChanged("index", a);
- let o = Nit(t, n), s = Mit(IT().value.peopleLayout);
- Lit(i, o, s), await UO(a, {
+ let o = Nit(t, n), s = Mit(LT().value.peopleLayout);
+ Lit(i, o, s), await GO(a, {
...o,
layout: s,
selectMode: pc,
@@ -98470,19 +98539,19 @@ async function Bit(e, t, n, r) {
}) && r() && e.surfaceShown?.("index", a);
}
function Vit(e) {
- let t = n5(), n = t ? zO(t) : null;
+ let t = n5(), n = t ? VO(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
function Hit({ epoch: e }) {
- let t = (0, b.useContext)(_z), n = pO(), r = n.pathname.split("/").filter(Boolean)[0];
+ let t = (0, b.useContext)(yz), n = hO(), r = n.pathname.split("/").filter(Boolean)[0];
return r5(e, (e, i) => {
t && Bit(t, r, n.search, i);
}, { shown: () => Vit(`/${r}`) }), null;
}
function Uit() {
- let e = gz(), t = (0, b.useSyncExternalStore)(zc, zit), n = (0, b.useRef)(t);
+ let e = vz(), t = (0, b.useSyncExternalStore)(zc, zit), n = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && WO(n5(), { selectMode: t }));
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && KO(n5(), { selectMode: t }));
}, [t]), /* @__PURE__ */ (0, x.jsx)(Hit, { epoch: e }, e);
}
function Wit(e) {
@@ -98514,7 +98583,7 @@ function Kit(e) {
}, Git.set(e, t)), t;
}
function qit() {
- let e = n5(), t = e ? zO(e) : null;
+ let e = n5(), t = e ? VO(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
async function Jit(e, t, n, r, i, a, o) {
@@ -98541,7 +98610,7 @@ async function Jit(e, t, n, r, i, a, o) {
}
}
};
- await UO(`/${c}/*`, g, {
+ await GO(`/${c}/*`, g, {
container: s,
isCurrent: a,
place: (e) => (e.replaceChildren(...f), p.firstElementChild)
@@ -98551,7 +98620,7 @@ async function Jit(e, t, n, r, i, a, o) {
}));
}
function Yit({ target: e }) {
- let t = (0, b.useContext)(_z), n = gz(), r = pO();
+ let t = (0, b.useContext)(yz), n = vz(), r = hO();
return r5(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
@@ -98568,9 +98637,9 @@ function Yit({ target: e }) {
}).catch(() => null);
if (!i()) return;
if (s?.redirect) {
- ek(Ft(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {
+ nk(Ft(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {
replace: !0,
- state: $O.navigation.location.state
+ state: tk.navigation.location.state
});
return;
}
@@ -98582,25 +98651,25 @@ function Yit({ target: e }) {
l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Jit(t, a, {
...e,
name: c
- }, r.pathname, r.search, i, s) : ek(l + r.search + r.hash, {
+ }, r.pathname, r.search, i, s) : nk(l + r.search + r.hash, {
replace: !0,
- state: $O.navigation.location.state
+ state: tk.navigation.location.state
});
})();
}, { shown: () => qit() && !n5()?.hidden }), null;
}
function Xit() {
- let e = Wit(pO().pathname);
+ let e = Wit(hO().pathname);
return e ? /* @__PURE__ */ (0, x.jsx)(Yit, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
//#endregion
//#region src/react/router/pages/catalog.tsx
-var Zit = () => Oc, Qit = $O.navigation.seq, $it = $O.navigation.openEpoch, i5 = $O.navigation.location.pathname, a5 = {
+var Zit = () => Oc, Qit = tk.navigation.seq, $it = tk.navigation.openEpoch, i5 = tk.navigation.location.pathname, a5 = {
seq: Qit,
claimed: !0,
from: i5
};
-$O.listen((e) => {
+tk.listen((e) => {
a5 = {
seq: e.seq,
claimed: e.openEpoch === $it,
@@ -98609,7 +98678,7 @@ $O.listen((e) => {
});
var o5 = !1;
function eat(e) {
- let { seq: t, openEpoch: n, location: r } = $O.navigation, i = TO(r.pathname), a = nk() ?? r, o = W ?? {};
+ let { seq: t, openEpoch: n, location: r } = tk.navigation, i = DO(r.pathname), a = ik() ?? r, o = W ?? {};
return {
seq: t,
epoch: n,
@@ -98631,7 +98700,7 @@ function tat(e, t, n, r) {
state: "trash",
q: ""
};
- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = IT().value;
+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = LT().value;
return {
...i,
loc: a.get("loc") ?? r.defaultLoc(),
@@ -98645,7 +98714,7 @@ function tat(e, t, n, r) {
dur_max: a.get("dur_max") || "",
orient: a.get("orient") || "",
state: At[e] || a.get("state") || "",
- ..._T(a.get("sort"), a.get("dir"), o, s),
+ ...vT(a.get("sort"), a.get("dir"), o, s),
seed: a.get("seed") || (n ? rn() : i.seed || rn()),
q: a.get("q") || "",
jav: a.get("jav") || "",
@@ -98659,7 +98728,7 @@ function nat(e, t) {
let i = t.catalog;
if (!i || r.opens === 0) return;
if (r.covered) {
- nk() || i.fill();
+ ik() || i.fill();
return;
}
let a = !1;
@@ -98669,12 +98738,12 @@ function nat(e, t) {
i.load();
return;
}
- r.epoch !== n.epoch && (a = $O.navigation.action === "POP" && a5.from !== "/");
+ r.epoch !== n.epoch && (a = tk.navigation.action === "POP" && a5.from !== "/");
}
- let { pathname: o, search: s } = $O.navigation.location;
+ let { pathname: o, search: s } = tk.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = lV(s);
- o5 = !0, ek(uV(e, t), { replace: !0 });
+ let { kind: e, view: t } = dV(s);
+ o5 = !0, nk(fV(e, t), { replace: !0 });
return;
}
let c = o5;
@@ -98684,20 +98753,20 @@ function nat(e, t) {
});
}
function rat(e) {
- return Mt(e) || e === "/trash" || TO(e) || e === "/immerse" || !!Wit(e);
+ return Mt(e) || e === "/trash" || DO(e) || e === "/immerse" || !!Wit(e);
}
function iat() {
- let e = (0, b.useContext)(_z), t = gz(), n = (0, b.useSyncExternalStore)(zc, Zit), r = pO(), i = (0, b.useRef)(null), a = (0, b.useRef)({
+ let e = (0, b.useContext)(yz), t = vz(), n = (0, b.useSyncExternalStore)(zc, Zit), r = hO(), 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 = eat(!TO($O.navigation.location.pathname));
+ let n = eat(!DO(tk.navigation.location.pathname));
return !n.covered && n.opens > 0 && (o5 || a5.seq === Qit ? n.opens = -1 : a5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
t.mounted = !1, queueMicrotask(() => {
- e?.catalog && !rat($O.navigation.location.pathname) && e.catalog.release();
+ e?.catalog && !rat(tk.navigation.location.pathname) && e.catalog.release();
});
};
}, []), (0, b.useEffect)(() => {
@@ -98713,7 +98782,7 @@ function iat() {
]), null;
}
function aat() {
- let { pathname: e, search: t } = pO();
+ let { pathname: e, search: t } = hO();
(0, b.useLayoutEffect)(() => {
if (e !== "/wall") return;
document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");
@@ -98726,12 +98795,12 @@ function aat() {
});
};
}, [e]);
- let n = (0, b.useContext)(_z), r = document.getElementById("javLibraryHeader"), i = Mt(e) && new URLSearchParams(t).get("jav") === "1";
+ let n = (0, b.useContext)(yz), r = document.getElementById("javLibraryHeader"), i = Mt(e) && new URLSearchParams(t).get("jav") === "1";
return (0, b.useLayoutEffect)(() => {
if (r) return r.hidden = !i, () => {
r.hidden = !0;
};
- }, [r, i]), TO(e) && !ome(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(iat, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(BOe, {
+ }, [r, i]), DO(e) && !ime(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(iat, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(ROe, {
navigate: n.navigate,
receipt: (e) => n.receipt(e)
}), r) : null] });
@@ -98749,7 +98818,7 @@ async function cat(e, t) {
let n = s5(), r = e.follow;
if (!n || !r || r.refresh()) return;
let i = Nc;
- e.surfaceChanged("follow", "/follow"), dW(n, r.skeleton()), await UO("/follow", r.props(), {
+ e.surfaceChanged("follow", "/follow"), pW(n, r.skeleton()), await GO("/follow", r.props(), {
container: n,
isCurrent: t,
place: sat
@@ -98762,31 +98831,31 @@ async function cat(e, t) {
});
}
function lat() {
- let e = s5(), t = e ? zO(e) : null;
+ let e = s5(), t = e ? VO(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
function uat() {
- let e = (0, b.useContext)(_z);
- return r5(gz(), (t, n) => {
+ let e = (0, b.useContext)(yz);
+ return r5(vz(), (t, n) => {
e && cat(e, n);
}, {
shown: lat,
onCovered: () => {
- $O.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
+ tk.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
function dat(e) {
- let t = e ? zO(e) : null;
+ let t = e ? VO(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
async function fat(e, t) {
let n = s5();
- n && (e.surfaceChanged("playlists", "/playlists"), dW(n, lW("/playlists", {
+ n && (e.surfaceChanged("playlists", "/playlists"), pW(n, dW("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
- })), await UO("/playlists", { revision: Pc }, {
+ })), await GO("/playlists", { revision: Pc }, {
container: n,
isCurrent: t
}), t() && window.scrollTo({
@@ -98795,13 +98864,13 @@ async function fat(e, t) {
}));
}
function pat() {
- let e = (0, b.useContext)(_z), t = (0, b.useSyncExternalStore)(zc, oat), n = (0, b.useRef)(t);
+ let e = (0, b.useContext)(yz), t = (0, b.useSyncExternalStore)(zc, oat), n = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
if (n.current === t) return;
n.current = t;
let e = s5();
- dat(e) && WO(e, { revision: t });
- }, [t]), r5(gz(), (t, n) => {
+ dat(e) && KO(e, { revision: t });
+ }, [t]), r5(vz(), (t, n) => {
e && fat(e, n);
}, { shown: () => {
let e = s5();
@@ -98811,17 +98880,17 @@ function pat() {
//#endregion
//#region src/react/router/pages/immerse.tsx
function mat() {
- let e = new URLSearchParams($O.navigation.location.search).get("id");
+ let e = new URLSearchParams(tk.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
function hat() {
- let e = (0, b.useContext)(_z);
- return mz(() => {
+ let e = (0, b.useContext)(yz);
+ return gz(() => {
e?.openImmerse(mat());
}, !0), null;
}
function gat() {
- return /* @__PURE__ */ (0, x.jsx)(hat, {}, gz());
+ return /* @__PURE__ */ (0, x.jsx)(hat, {}, vz());
}
//#endregion
//#region src/react/router/pages/managed.tsx
@@ -98829,10 +98898,10 @@ var _at = [
"list",
"add",
"feeds"
-], vat = () => Oc > 0, yat = () => (0, b.useSyncExternalStore)(zc, vat), c5 = !1, bat = () => IT().value.followLayout === "table" ? "table" : "default", l5 = () => new URLSearchParams(window.location.search);
+], vat = () => Oc > 0, yat = () => (0, b.useSyncExternalStore)(zc, vat), c5 = !1, bat = () => LT().value.followLayout === "table" ? "table" : "default", l5 = () => new URLSearchParams(window.location.search);
function xat(e) {
let t = l5();
- return lW(e, {
+ return dW(e, {
followLayout: bat(),
followSort: t.get("sort") || "",
followDir: t.get("dir") || ""
@@ -98855,7 +98924,7 @@ async function Cat(e, t) {
if (e === "/jav") {
let e = await u5(t);
return t.live ? {
- tab: _V(l5().get("tab")),
+ tab: yV(l5().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -98866,13 +98935,13 @@ async function Cat(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && Lc({ configurationRequestedSection: "网络与访问" });
- let t = l5().get("section") || Tc || nme(e);
+ let t = l5().get("section") || Tc || eme(e);
return t ? { section: t } : {};
}
if (e === "/review") {
let e = l5().get("category") || "", n = await u5(t);
return t.live ? {
- category: HF(e) ? e : "",
+ category: WF(e) ? e : "",
...Sat(n, "/review")
} : null;
}
@@ -98884,7 +98953,7 @@ async function Cat(e, t) {
dir: e.get("dir") || ""
}, i = await u5(t);
if (!t.live) return null;
- let a = IT().value;
+ let a = LT().value;
return {
...r,
pageSize: Number(a.followPageSize) || 20,
@@ -98908,16 +98977,16 @@ var d5 = () => {
"/subscriptions"
]);
async function Eat(e, t, n) {
- if (e === "/jav" && _V(l5().get("tab")) === "library") {
- $O.replace(uOe(window.location.search));
+ if (e === "/jav" && yV(l5().get("tab")) === "library") {
+ tk.replace(cOe(window.location.search));
return;
}
if (e === "/subscriptions" && l5().get("tab") === "wants") {
- ek("/jav?tab=wants", { replace: !0 });
+ nk("/jav?tab=wants", { replace: !0 });
return;
}
if (e === "/subscriptions" && l5().get("tab") === "source") {
- ek("/settings/subscriptions", { replace: !0 });
+ nk("/settings/subscriptions", { replace: !0 });
return;
}
let r = document.getElementById("stats");
@@ -98941,17 +99010,17 @@ async function Eat(e, t, n) {
jav: ""
} }), t.clearSearch());
let i = e === "/data-cleanup" && c5;
- i && (c5 = !1), dW(r, xat(e));
+ i && (c5 = !1), pW(r, xat(e));
let a = await Cat(e, n);
if (!a) return;
- let o = await UO(e, a, {
+ let o = await GO(e, a, {
container: r,
isCurrent: () => n.live
});
- if (o && (n.revision = zO(r)?.revision ?? 0), e.startsWith("/settings/") && o && Lc({ configurationRequestedSection: "" }), wat.has(e) && d5(), n.live) {
+ if (o && (n.revision = VO(r)?.revision ?? 0), e.startsWith("/settings/") && o && Lc({ configurationRequestedSection: "" }), wat.has(e) && d5(), n.live) {
let { hash: t } = window.location;
Tat.has(e) && d5(), e === "/settings/library" && (t === "#libraryProcessing" ? queueMicrotask(() => {
- n.live && ek("/data-cleanup#libraryProcessing", {
+ n.live && nk("/data-cleanup#libraryProcessing", {
replace: !0,
state: null
});
@@ -98960,9 +99029,9 @@ async function Eat(e, t, n) {
i && f5("resource-sync");
}
function p5({ path: e }) {
- let t = gz();
- pO();
- let n = TO($O.navigation.location.pathname), r = (0, b.useRef)(n ? null : t), i = (0, b.useRef)(n);
+ let t = vz();
+ hO();
+ let n = DO(tk.navigation.location.pathname), r = (0, b.useRef)(n ? null : t), i = (0, b.useRef)(n);
!n && (!i.current || r.current === null) && (r.current = t), i.current = n;
let a = e.startsWith("/settings/") ? "/settings/configuration" : e;
return /* @__PURE__ */ (0, x.jsx)(Dat, {
@@ -98971,9 +99040,9 @@ function p5({ path: e }) {
}, `${a} ${r.current ?? "covered"}`);
}
function Dat({ path: e, covered: t }) {
- let n = (0, b.useContext)(_z), r = yat(), i = (0, b.useRef)(null);
+ let n = (0, b.useContext)(yz), r = yat(), i = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
- e.startsWith("/settings/") && WO(document.getElementById("stats"), { section: nme(e) });
+ e.startsWith("/settings/") && KO(document.getElementById("stats"), { section: eme(e) });
}, [e]), (0, b.useEffect)(() => {
if (t || !n || !r || i.current) return;
let a = {
@@ -98990,18 +99059,18 @@ function Dat({ path: e, covered: t }) {
e.live = !1, e.controller.abort();
let t = document.getElementById("stats");
queueMicrotask(() => {
- t && e.revision && !t.hidden && zO(t)?.revision === e.revision && GO(t);
+ t && e.revision && !t.hidden && VO(t)?.revision === e.revision && qO(t);
});
}, []), null;
}
function Oat() {
let e = yat(), t = (0, b.useRef)(!1);
return (0, b.useEffect)(() => {
- if (!e || t.current || TO($O.navigation.location.pathname)) return;
+ if (!e || t.current || DO(tk.navigation.location.pathname)) return;
t.current = !0;
let n = !0;
return queueMicrotask(() => {
- n && (c5 = !0, ek("/data-cleanup#resource-sync", { replace: !0 }));
+ n && (c5 = !0, nk("/data-cleanup#resource-sync", { replace: !0 }));
}), () => {
n = !1;
};
@@ -99019,8 +99088,8 @@ function kat(e, t, n) {
}
var m5 = (e) => ({
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: e }),
- prefetch: (e, t) => nAe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(_je, {
+ prefetch: (e, t) => eAe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(hje, {
receipt: (e) => t.receipt(e),
reopenTutorial: t.reopenTutorial,
section: e.section ?? ""
@@ -99028,8 +99097,8 @@ var m5 = (e) => ({
}), h5 = {
"/jav": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/jav" }),
- prefetch: (e, t) => zOe(e.tab, t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(HOe, {
+ prefetch: (e, t) => LOe(e.tab, t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(BOe, {
...e,
navigate: t.navigate,
receipt: (e) => t.receipt(e)
@@ -99037,7 +99106,7 @@ var m5 = (e) => ({
},
"/stats": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/stats" }),
- prefetch: (e, t) => yPe(t),
+ prefetch: (e, t) => _Pe(t),
page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(hnt, {
tagLabel: Qs,
onTag: t.openTag,
@@ -99059,8 +99128,8 @@ var m5 = (e) => ({
},
"/review": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/review" }),
- prefetch: (e, t) => oxe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Tke, {
+ prefetch: (e, t) => ixe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Cke, {
...e,
route: t.routeReview,
openItem: t.openItem,
@@ -99071,8 +99140,8 @@ var m5 = (e) => ({
},
"/data-cleanup": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/data-cleanup" }),
- prefetch: (e, t) => Kxe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(gCe, {
+ prefetch: (e, t) => Wxe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(mCe, {
failure: t.failure,
open: (e) => kat(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
@@ -99080,8 +99149,8 @@ var m5 = (e) => ({
},
"/duplicates": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/duplicates" }),
- prefetch: (e, t) => Cbe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(lEe, {
+ prefetch: (e, t) => xbe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(sEe, {
openItem: t.openItem,
failure: t.failure,
toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})
@@ -99089,19 +99158,19 @@ var m5 = (e) => ({
},
"/quality-goals": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/quality-goals" }),
- prefetch: (e, t) => Vbe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(cke, {
+ prefetch: (e, t) => zbe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(oke, {
openItem: t.openItem,
- javTitleHtml: ik,
- javDisplayName: rk,
+ javTitleHtml: ok,
+ javDisplayName: ak,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
})
},
"/sources": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/sources" }),
- prefetch: (e, t) => Mke(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Kke, { toast: (e) => t.toast(e) })
+ prefetch: (e, t) => Ake(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Wke, { toast: (e) => t.toast(e) })
},
"/settings/library": m5("/settings/library"),
"/settings/subscriptions": m5("/settings/subscriptions"),
@@ -99110,25 +99179,25 @@ var m5 = (e) => ({
"/settings/maintenance": m5("/settings/maintenance"),
"/diagnostics": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/diagnostics" }),
- prefetch: (e, t) => uEe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(mEe, {
+ prefetch: (e, t) => cEe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(fEe, {
navigate: n,
openItem: t.openItem,
receipt: (e) => t.receipt(e),
configure: (e) => {
- t.requestConfigurationSection(e), n(SO(e));
+ t.requestConfigurationSection(e), n(wO(e));
}
})
},
"/tasks": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/tasks" }),
- prefetch: (e, t) => Mge(t),
- page: () => /* @__PURE__ */ (0, x.jsx)(Qge, {})
+ prefetch: (e, t) => Age(t),
+ page: () => /* @__PURE__ */ (0, x.jsx)(Xge, {})
},
"/subscriptions": {
element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/subscriptions" }),
prefetch: (e, t) => jr(t, e.tab),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(DDe, {
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(TDe, {
...e,
route: t.routeFollowManage,
savePreference: t.saveFollowPreference,
@@ -99140,8 +99209,8 @@ var m5 = (e) => ({
}, g5 = (e) => Object.hasOwn(h5, e), Aat = { "/resource-sync": { element: /* @__PURE__ */ (0, x.jsx)(Oat, {}) } }, jat = { "/immerse": { element: /* @__PURE__ */ (0, x.jsx)(gat, {}) } }, _5 = {
"/playlists": {
element: /* @__PURE__ */ (0, x.jsx)(pat, {}),
- prefetch: (e, t) => JOe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(oke, {
+ prefetch: (e, t) => KOe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(ike, {
revision: e.revision,
openPlaylist: t.openPlaylist,
openEntity: t.openEntity,
@@ -99152,12 +99221,12 @@ var m5 = (e) => ({
"/follow": {
element: /* @__PURE__ */ (0, x.jsx)(uat, {}),
prefetch: (e, t) => $r(e, t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(_we, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(hwe, { ...e })
}
}, Mat = (e) => Object.hasOwn(_5, e), v5 = {
element: /* @__PURE__ */ (0, x.jsx)(Uit, {}),
- prefetch: (e, t) => LCe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(UDe, {
+ prefetch: (e, t) => FCe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(VDe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -99178,8 +99247,8 @@ var m5 = (e) => ({
"/tags": v5
}, b5 = {
element: /* @__PURE__ */ (0, x.jsx)(Xit, {}),
- prefetch: (e) => TCe(e),
- page: (e) => /* @__PURE__ */ (0, x.jsx)($Te, { ...e })
+ prefetch: (e) => CCe(e),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(ZTe, { ...e })
}, x5 = {
"/performers/*": b5,
"/studios/*": b5,
@@ -99190,59 +99259,59 @@ var m5 = (e) => ({
}, S5 = {
"/": {
element: /* @__PURE__ */ (0, x.jsx)(aat, {}),
- prefetch: (e, t) => bue(e, t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(fF, { ...e })
+ prefetch: (e, t) => vue(e, t),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(mF, { ...e })
},
"/junk-files": {
element: /* @__PURE__ */ (0, x.jsx)(aat, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(iOe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(nOe, { ...e })
}
-}, Nat = (e) => Object.hasOwn(S5, e), Pat = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(KOe, { ...e }) : /* @__PURE__ */ (0, x.jsx)(xL, { ...e }), Fat = {
+}, Nat = (e) => Object.hasOwn(S5, e), Pat = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(WOe, { ...e }) : /* @__PURE__ */ (0, x.jsx)(CL, { ...e }), Fat = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(vye, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(gye, { ...e })
},
"feed-new": {
- prefetch: (e) => xCe(e),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(hEe, { ...e })
+ prefetch: (e) => yCe(e),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(pEe, { ...e })
},
"library-processing": {
- prefetch: (e, t) => TF(t),
+ prefetch: (e, t) => DF(t),
page: (e) => /* @__PURE__ */ (0, x.jsx)(Pat, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Zke, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(Yke, { ...e })
}
}, Iat = (e) => Object.hasOwn(Fat, e), Lat = {
"batch-dock": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(Sce, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(xce, {})
},
"glow-picker": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(ale, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(ile, {})
},
"manage-header": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(vfe, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(gfe, {})
},
immerse: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(ife, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(nfe, {})
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(Lje, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(Fje, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(Zje, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(Yje, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(_Pe, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(hPe, {})
}
}, Rat = (e) => Object.hasOwn(Lat, e), zat = [
"/",
@@ -99948,11 +100017,11 @@ function wot(e) {
};
}
function Tot(e) {
- return D5 && (O5 = e, D5(e), fme(Promise.resolve(Hat))), Promise.resolve();
+ return D5 && (O5 = e, D5(e), ume(Promise.resolve(Hat))), Promise.resolve();
}
async function j5(e, t, n = (e) => e) {
let r = k5;
- if (t.isConnected || A5.add(t), !await UO(e, {}, {
+ if (t.isConnected || A5.add(t), !await GO(e, {}, {
container: t,
resident: !0,
isCurrent: () => !!D5 && r === k5,
@@ -99967,49 +100036,49 @@ function Eot() {
var M5 = null, N5 = null;
function P5(e) {
return M5 ??= (async () => {
- let t = gPe(e), n = document.createElement("div");
+ let t = mPe(e), n = document.createElement("div");
return n.dataset.stageHost = "", await j5("stage", n, (e) => (document.body.append(e), e)), N5 = t, t;
})(), M5;
}
var F5 = () => N5, I5 = null, L5 = null;
function Dot(e) {
return I5 ??= (async () => {
- let t = rfe(e), n = document.createElement("div");
+ let t = tfe(e), n = document.createElement("div");
return n.dataset.immerseHost = "", await j5("immerse", n, (e) => (document.body.append(e), e)), L5 = t, t;
})(), I5;
}
var R5 = () => L5, z5 = null, B5 = null;
function Oot(e) {
return z5 ??= (async () => {
- let t = Ije(e), n = document.createElement("div");
+ let t = Pje(e), n = document.createElement("div");
return n.dataset.settingsHost = "", await j5("settings-panel", n, (e) => (document.body.append(e), e)), B5 = t, t;
})(), z5;
}
var kot = () => B5, V5 = null, H5 = null;
function Aot(e) {
return V5 ??= (async () => {
- let t = Xje(e);
+ let t = Jje(e);
return await j5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), H5 = t, t;
})(), V5;
}
var U5 = () => H5, W5 = null, G5 = null;
function jot(e) {
return W5 ??= (async () => {
- let t = _fe(e);
+ let t = hfe(e);
return await j5("manage-header", e.root, (e) => (e.replaceChildren(), e)), G5 = t, t;
})(), W5;
}
var Mot = () => G5, K5 = null, q5 = null;
function Not(e) {
return K5 ??= (async () => {
- let t = xce(e);
+ let t = bce(e);
return await j5("batch-dock", e.root), q5 = t, t;
})(), K5;
}
var Pot = () => q5, J5 = null;
function Fot(e) {
return J5 ??= (async () => {
- ile(e), await j5("glow-picker", e.root);
+ rle(e), await j5("glow-picker", e.root);
})(), J5;
}
function Iot(e, t, n, r) {
@@ -100177,7 +100246,7 @@ var Bot = [
"jav"
];
function Vot(e, t, n, r = n.defaultSort) {
- return _T(e, t, n.defaultSort, n.defaultSortDirection, r);
+ return vT(e, t, n.defaultSort, n.defaultSortDirection, r);
}
function Hot(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Mt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
@@ -100208,7 +100277,7 @@ function Wot(e) {
let t = kt[e.state ?? ""] || "/", n = new URLSearchParams();
for (let t of Bot) {
let r = e[t];
- r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== mT(e.sort ?? "")) && n.set(t, r);
+ r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== hT(e.sort ?? "")) && n.set(t, r);
}
return !kt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
@@ -100227,7 +100296,7 @@ function Got(e, t, n) {
region: "",
state: "",
sort: t.defaultSort,
- dir: gT(t.defaultSort, t.defaultSort, t.defaultSortDirection),
+ dir: _T(t.defaultSort, t.defaultSort, t.defaultSortDirection),
seed: n(),
q: "",
jav: "",
@@ -100544,18 +100613,18 @@ function mst(e) {
}
//#endregion
//#region src/react/entity-page/entity-route.ts
-var t7 = () => Object.fromEntries(YL.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+var t7 = () => Object.fromEntries(ZL.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
function hst(e, t) {
let n = new URLSearchParams(e), r = t7();
- for (let e of YL) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+ for (let e of ZL) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
- ..._T(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
+ ...vT(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
function gst(e) {
let t = new URLSearchParams();
- for (let n of YL) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== mT(e.sort || "")) && t.set(n, e[n]);
+ for (let n of ZL) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== hT(e.sort || "")) && t.set(n, e[n]);
return t.toString();
}
function _st(e) {
@@ -100653,7 +100722,7 @@ function Cst(e, t, n) {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let n = c(), i = hT(e, n.sort || "new", n.dir || "");
+ let n = c(), i = gT(e, n.sort || "new", n.dir || "");
i && r(t, a, {
...n,
...i
@@ -100782,14 +100851,14 @@ function Ost(e) {
return e.has_cover ? ua(e, "big") : e.cover_url ? ua({ code: e.code }, "big").replace(/ src="[^"]*"/, ` src="${z(e.cover_url)}" referrerpolicy="no-referrer" data-panel-prior="1"`) : "<span class=\"nopic\">无封面</span>";
}
function kst(e) {
- let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = Ost(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? ik({
+ let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = Ost(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? ok({
is_jav: !0,
code: e.code,
name: e.code,
display_title: e.title || ""
}) : z(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${z(r)} 的作品详情"></a>` : "";
return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">
- ${a}<div class="pic" style="--card-ratio:${GT}">${n}
+ ${a}<div class="pic" style="--card-ratio:${KT}">${n}
<div class="hovertools feednewtools">
<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${z(r)}">${R("star")}</button>
<button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${R("x")}</button>
@@ -100802,7 +100871,7 @@ async function r7() {
return e.isActive && t && !t.error && (n7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${Ut(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), i7(location.pathname) && Ast(L("#feedNew"))), n7.entityShapes;
}
function Ast(e) {
- !e || BO(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = n7.feedNewSkeletonHtml())));
+ !e || HO(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = n7.feedNewSkeletonHtml())));
}
function jst(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : $a(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
@@ -100827,7 +100896,7 @@ function Pst(e) {
}
function Fst() {
let e = L("#feedNew");
- BO(e) ? WO(e, { revision: ++n7.feedRevision }) : (Ast(e), UO("feed-new", {
+ HO(e) ? KO(e, { revision: ++n7.feedRevision }) : (Ast(e), GO("feed-new", {
host: e,
revision: n7.feedRevision,
helpers: n7.feedNewHelpers,
@@ -100839,10 +100908,10 @@ function Fst() {
}
function a7() {
let e = L("#feedNew");
- e.querySelectorAll(".feednewrow").forEach(Uo), GO(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
+ e.querySelectorAll(".feednewrow").forEach(Uo), qO(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
}
function Ist() {
- n7.feedRevision += 1, WO(L("#feedNew"), { revision: n7.feedRevision }), c7({ feedRevision: n7.feedRevision });
+ n7.feedRevision += 1, KO(L("#feedNew"), { revision: n7.feedRevision }), c7({ feedRevision: n7.feedRevision });
}
function Lst() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Ho(e) : Uo(e));
@@ -100851,7 +100920,7 @@ function Rst([e]) {
L("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= n7.HERO_WIDE_PX);
}
function zst() {
- n7.FEED_SKELETON_CARDS = 8, n7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${GT}"></div>
+ n7.FEED_SKELETON_CARDS = 8, n7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${KT}"></div>
<div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>
<div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(n7.FEED_SKELETON_CARDS)}</div>`, n7.entityShapes = null, n7.hasEntityPart = (e, t, n) => !!t && !!n7.entityShapes?.get(`${e}/${Ut(t)}`)?.includes(n), n7.feedNewSkeletonSection = () => `<section class="feednew">${n7.feedNewSkeletonHtml()}</section>`, n7.COSTAR_SKELETON_PEOPLE = 12, n7.costarSkeletonFoot = () => `<div class="entityfoot"><div class="relatedpeople">${"<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\">&#8203;</span></span>".repeat(n7.COSTAR_SKELETON_PEOPLE)}</div></div>`, n7.factsSkeleton = () => `<dl class="entityfacts">${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, n7.feedRevision = 0, n7.feedNewHelpers = {
feedRowHtml: Mst,
@@ -100902,11 +100971,11 @@ var o7 = {
application: void 0
};
function s7() {
- let e = zO(L("#index"));
+ let e = VO(L("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
function c7(e) {
- o7.entityPageCurrent() && WO(L("#index"), e);
+ o7.entityPageCurrent() && KO(L("#index"), e);
}
function l7() {
if (lc.type === "item") return lc;
@@ -100924,13 +100993,13 @@ function l7() {
}
function Vst(e, t, n = V7()) {
return Xct(n).map(([n, r]) => {
- let i = e === n, a = hT(n, e, t);
+ let i = e === n, a = gT(n, e, t);
return {
key: n,
label: r,
pressed: i,
- dir: i && pT(n, t) ? t === "asc" ? "asc" : "desc" : "",
- ariaLabel: a ? `按${r}${a.dir ? pT(a.sort, a.dir) : ""}排序` : ""
+ dir: i && mT(n, t) ? t === "asc" ? "asc" : "desc" : "",
+ ariaLabel: a ? `按${r}${a.dir ? mT(a.sort, a.dir) : ""}排序` : ""
};
});
}
@@ -100951,7 +101020,7 @@ function f7() {
o7.photos.sync();
}
function Hst() {
- d7() ? Zce(ZT()) : cE();
+ d7() ? Xce(QT()) : lE();
}
function Ust(e) {
o7.photos.setSize(e);
@@ -101172,12 +101241,12 @@ function tct() {
preferences: () => ({
revision: o7.entityPageRevision,
feedRevision: n7.feedRevision,
- photoSize: ZT(),
- photoLayout: QT(),
- photoLayouts: WT,
+ photoSize: QT(),
+ photoLayout: $T(),
+ photoLayouts: GT,
followImagesOnly: !!Z.appSettings.followImagesOnly,
- javLayout: qT(),
- javLayouts: HT,
+ javLayout: JT(),
+ javLayouts: UT,
states: X.VIEW_PILLS,
peopleLayout: S7.peopleIndexLayout(),
layout: d9(),
@@ -101199,8 +101268,8 @@ function tct() {
W.seed = e, Rc();
},
setJavLayout: Qct,
- javLayout: qT,
- setPhotoLayout: rE,
+ javLayout: JT,
+ setPhotoLayout: iE,
syncPhotoWalls: f7,
openEntity: m7,
photoViewActive: d7,
@@ -101209,7 +101278,7 @@ function tct() {
},
syncDensity: Hst,
scheduleSticky: J7,
- releasePage: () => GO(L("#index")),
+ releasePage: () => qO(L("#index")),
showMissing: Qst,
dropBars: $5
},
@@ -101225,15 +101294,15 @@ function tct() {
},
photos: {
preferences: () => ({
- size: ZT(),
- layout: QT(),
+ size: QT(),
+ layout: $T(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
walls: () => document.querySelectorAll(".followphotowall"),
pushEntity: c7,
pushFollow: I9,
syncDensity: Hst,
- storeSize: Jce
+ storeSize: qce
},
helpers: o7.entityPageHelpers,
actions: {
@@ -101333,14 +101402,14 @@ async function act(e) {
}
function oct() {
Js(), y9(!1), j7();
- let e = zO(L("#stats"));
+ let e = VO(L("#stats"));
e?.path !== "/playlists" || !e.host.isConnected ? Lc({ pageOpens: Oc + 1 }) : (A7({ manage: !1 }), Lc({ playlistsRevision: Pc + 1 }));
}
function sct(e) {
Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));
}
function cct(e) {
- Lc({ configurationRequestedSection: e }), Q.navigatePath(SO(e));
+ Lc({ configurationRequestedSection: e }), Q.navigatePath(wO(e));
}
function lct() {
h7.playlistWrite = (e) => Et("/api/playlist", {
@@ -101362,7 +101431,7 @@ function uct(e, t, n, r, i = !1) {
};
}
function dct(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = zF(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+ let o = n === "follow", s = VF(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
...uct(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
@@ -101373,7 +101442,7 @@ function fct(e, t, n, r) {
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: lV(n).view === "dismissed"
+ junkDismissed: dV(n).view === "dismissed"
};
}
//#endregion
@@ -101633,8 +101702,8 @@ function xct() {
junk: yct,
clear: () => y7(!1, !0)
}, Y5.handler(L("#density"), "onclick", () => {
- d7() ? Ust(ZT() === "big" ? "small" : "big") : Xce();
- }), cE(), Ks({
+ d7() ? Ust(QT() === "big" ? "small" : "big") : Yce();
+ }), lE(), Ks({
selecting: () => pc,
censored: () => g9(),
delaySeconds: () => Z.appSettings.hoverDelaySeconds
@@ -101741,12 +101810,12 @@ function E7(e = "正在读取作品") {
return;
}
let t = L("#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 = eOe(lV(location.search)), wo(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && n9({
+ 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 = QDe(dV(location.search)), wo(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && n9({
count: null,
...Tlt()
})), L("#loadSentinel").hidden = !0, l9()) return;
let r = L("#grid"), i = f9(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== uW(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Llt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), wo(L("#grid")));
+ (a?.dataset.skeleton !== fW(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Llt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), wo(L("#grid")));
}
function D7() {
L("#catalogFilter").style.display = "none", t9();
@@ -101767,7 +101836,7 @@ function Fct() {
else if (/^\/assets\/\d+$/.test(e)) D7();
else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) D7();
else if (e === "/junk-files") E7("正在读取垃圾文件");
- else if (e === "/jav" && _V(new URLSearchParams(location.search).get("tab")) === "library") E7("正在读取馆藏");
+ else if (e === "/jav" && yV(new URLSearchParams(location.search).get("tab")) === "library") E7("正在读取馆藏");
else if (Q.managedPagePath(e)) {
D7();
let t = L("#stats");
@@ -101782,11 +101851,11 @@ function Fct() {
} else Q.routeMeta(e) ? E7() : (s9(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);
}
function Ict() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => cW(t, {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => uW(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
- gridSize: ZT()
+ gridSize: QT()
}), $.followSkeletonHtml = (e = "正在读取关注内容") => `<div class="peach-react"><div class="follow" data-follow-feed>
<div data-follow-head><h2 data-follow-title>关注</h2></div>
<div class="tier followauthors" data-skeleton-tier="av"></div>
@@ -101796,7 +101865,7 @@ function Ict() {
<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>
${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = to("继续载入中…"), T7.setGridCards = (e) => mo(L("#grid"), () => {
L("#grid").innerHTML = `<div class="grid">${e}</div>`;
- }), T7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), T7.managementPlaceholder = (e) => lW(e, {
+ }), T7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), T7.managementPlaceholder = (e) => dW(e, {
followLayout: Cct(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
@@ -101804,7 +101873,7 @@ function Ict() {
followTab: n
}))(wct())
}), T7.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", T7.entityShapesReady = null, T7.ENTITY_SHAPES_WAIT = 400, T7.syncPageTitle = (e) => {
- let t = new URL(e, location.origin), n = FO(decodeURIComponent(t.pathname))?.title;
+ let t = new URL(e, location.origin), n = LO(decodeURIComponent(t.pathname))?.title;
document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, mut();
};
}
@@ -101868,13 +101937,13 @@ var k7 = {
mobileFilterPath: void 0
};
function A7({ manage: e = !0, placeholder: t = "" } = {}) {
- L("#stats").hidden = !1, L("#index").hidden = !0, s9(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? L7() : (R7(""), D9()), t && dW(L("#stats"), t);
+ L("#stats").hidden = !1, L("#index").hidden = !0, s9(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? L7() : (R7(""), D9()), t && pW(L("#stats"), t);
}
function j7() {
X.hideCatalogCombo(), D7(), document.body.classList.remove("entity-open", "index-open");
}
function M7() {
- document.body.classList.remove("entity-open", "index-open"), GO(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, i7(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", t9(), L7(), z7();
+ document.body.classList.remove("entity-open", "index-open"), qO(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, i7(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", t9(), L7(), z7();
}
function zct() {
Q.route("/"), M7();
@@ -101925,22 +101994,22 @@ function Uct() {
}).catch(() => {}));
}
function F7(e = "", t = !1) {
- if (!t && !xO(location.pathname)) {
- let t = $O.navigation;
- $O.push(SO(e), { settingsBackground: {
+ if (!t && !CO(location.pathname)) {
+ let t = tk.navigation;
+ tk.push(wO(e), { settingsBackground: {
pathname: location.pathname,
search: location.search,
state: t.location.state,
seq: t.seq
} });
- } else !t && e && ek(SO(e), {
+ } else !t && e && nk(wO(e), {
replace: !0,
- state: $O.navigation.location.state
+ state: tk.navigation.location.state
});
- return e ||= rme(location.pathname), Oot(k7.settingsHost()).then((t) => (t.open(e), t));
+ return e ||= tme(location.pathname), Oot(k7.settingsHost()).then((t) => (t.open(e), t));
}
function Wct() {
- xO(location.pathname) && (CO($O.navigation.location.state) ? $O.go(-1) : Q.navigatePath("/", !0));
+ CO(location.pathname) && (TO(tk.navigation.location.state) ? tk.go(-1) : Q.navigatePath("/", !0));
}
function Gct() {
return {
@@ -101989,7 +102058,7 @@ async function qct() {
} catch {
return;
}
- e.isActive && LT(t, (e) => Z.settingsEffects[e]?.());
+ e.isActive && RT(t, (e) => Z.settingsEffects[e]?.());
}
function I7() {
return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (W.state === "ads" ? "cleanup" : "");
@@ -102012,10 +102081,10 @@ function R7(e = I7()) {
let t = Jct(e), n = Mot();
if (n) n.render(t);
else {
- let e = dfe(t);
+ let e = lfe(t);
e !== k7.manageHeaderSkeleton && (k7.manageHeaderSkeleton = e, k7.manageHeaderRoot().innerHTML = e);
}
- let r = HD(t)?.title || "";
+ let r = WD(t)?.title || "";
r !== k7.lastManagePageLabel && (k7.lastManagePageLabel = r, r && po(k7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
function Yct() {
@@ -102043,27 +102112,27 @@ function z7() {
}
function B7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", Rc(), Q.route(uV()), M7(), D9(), r9());
+ t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", Rc(), Q.route(fV()), M7(), D9(), r9());
}
function V7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? W.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? W.jav === "1" || Ac : !1;
}
function Xct(e = V7()) {
- let t = cT.filter(([e]) => e !== "seed");
- return e ? [lT, ...t] : t;
+ let t = lT.filter(([e]) => e !== "seed");
+ return e ? [uT, ...t] : t;
}
function H7() {
return decodeURIComponent(location.pathname) === "/" && W.jav !== "1";
}
function U7() {
- return JT(H7());
+ return YT(H7());
}
function Zct(e) {
- Kce(e), W7(), L("#grid").hidden || p9();
+ Gce(e), W7(), L("#grid").hidden || p9();
}
function Qct(e) {
- nE(e), W7(), p9();
+ rE(e), W7(), p9();
}
function W7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
@@ -102071,7 +102140,7 @@ function W7() {
}), X.catalogFilterProps && n9({ layout: wlt() });
}
function $ct(e) {
- qce(e), W7(), p9();
+ Kce(e), W7(), p9();
}
async function G7() {
$5(), X.mixRelatedCache.clear(), await Promise.all([elt(), r9()]);
@@ -102082,7 +102151,7 @@ async function elt() {
return;
}
let e = decodeURIComponent(location.pathname);
- if (FO(e)?.reload === "reopen" || e === "/follow") {
+ if (LO(e)?.reload === "reopen" || e === "/follow") {
Lc({ pageOpens: Oc + 1 });
return;
}
@@ -102159,18 +102228,18 @@ function ilt() {
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
}), Y5.handler(L("#filterBtn"), "onclick", () => P7(!L("#drawer").classList.contains("open"))), k7.SIDEBAR_ITEMS = est, k7.MANAGE_SECTIONS = e7, k7.MANAGE_MENU_SECTIONS = tst, k7.manageMenuSections = () => nst(Ec === !0), k7.OPTIONAL_SIDEBAR_ITEMS = rst, k7.NAV_CATALOG = ist, k7.DIRECT_MANAGE_NAV = ast, k7.settingsHost = () => ({
- selectSection: (e) => ek(SO(e), {
+ selectSection: (e) => nk(wO(e), {
replace: !0,
- state: $O.navigation.location.state
+ state: tk.navigation.location.state
}),
closed: Wct,
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => ja(e),
navCatalog: k7.NAV_CATALOG,
- themeOptions: Vce,
- videoLayouts: HT,
- followInitialRanges: eU,
+ themeOptions: Bce,
+ videoLayouts: UT,
+ followInitialRanges: nU,
videoLayout: () => U7(),
setVideoLayout: $ct,
censored: g9,
@@ -102179,7 +102248,7 @@ function ilt() {
setHighContrast: Xlt,
receipt: (e) => X5.actionReceipt(e),
failure: X5.actionFailure,
- syncRemote: (e) => LT(e, (e) => Z.settingsEffects[e]?.()),
+ syncRemote: (e) => RT(e, (e) => Z.settingsEffects[e]?.()),
openConfiguration: () => Q.navigatePath("/settings/library"),
attached: () => Z.syncGlassOptics(),
configurable: () => Et("/healthz").then((e) => (Lc({ runtimeConfigurable: !!e.configurable }), Ec)).catch(() => null)
@@ -102461,10 +102530,10 @@ function n9(e) {
}, X.catalogFilterProps = {
...X.catalogFilterProps || Slt(),
...e
- }, !X.catalogFilterMounting && (BO(t) ? WO(t, e) : (!t.firstChild && !n && (t.innerHTML = slt(X.catalogViews(), X.catalogFilterProps.state), wo(t)), X.catalogFilterMounting = UO("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (HO(t) ? KO(t, e) : (!t.firstChild && !n && (t.innerHTML = slt(X.catalogViews(), X.catalogFilterProps.state), wo(t)), X.catalogFilterMounting = GO("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
- }).then(() => WO(t, X.catalogFilterProps)).finally(() => {
+ }).then(() => KO(t, X.catalogFilterProps)).finally(() => {
X.catalogFilterMounting = null;
})));
}
@@ -102486,7 +102555,7 @@ function Clt() {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let t = hT(e, W.sort, W.dir);
+ let t = gT(e, W.sort, W.dir);
t && (W.sort = t.sort, W.dir = t.dir, Rc(), h9());
},
reshuffle: () => qlt(),
@@ -102505,13 +102574,13 @@ function wlt() {
return V7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: qT(),
- options: HT
+ value: JT(),
+ options: UT
} : H7() ? {
name: "home-layout",
label: "首页卡片版式",
value: U7(),
- options: HT
+ options: UT
} : null;
}
function Tlt() {
@@ -102670,7 +102739,7 @@ function a9() {
}
async function o9() {
let e = Q.claimSurface(Q.surfacePath());
- if (Pst(location.pathname) && !BO(L("#libraryProcessingNotice")) && UO("library-processing", {
+ if (Pst(location.pathname) && !HO(L("#libraryProcessingNotice")) && GO("library-processing", {
toast: X5.toast,
mode: "notice"
}, {
@@ -102694,7 +102763,7 @@ function Nlt(e) {
}
function s9() {
let e = L("#grid");
- Js(e), GO(e), X.controller.clear(), e.innerHTML = "";
+ Js(e), qO(e), X.controller.clear(), e.innerHTML = "";
}
function Plt(e) {
return Ilt("/", Rlt, e, { place: Eut });
@@ -102703,13 +102772,13 @@ function Flt(e) {
return Ilt("/junk-files", Vlt, e);
}
function c9() {
- return !!zO(L("#grid"));
+ return !!VO(L("#grid"));
}
function l9() {
return X.controller.taken(c9());
}
function u9(e) {
- WO(L("#grid"), e);
+ KO(L("#grid"), e);
}
function Ilt(e, t, n, r = {}) {
let i = L("#grid");
@@ -102717,8 +102786,8 @@ function Ilt(e, t, n, r = {}) {
let a = X.controller.begin(e, c9()), o = t();
if (!a.mount) return u9(o), a.settled;
Js(i);
- let s = () => GO(i);
- return a.signal.addEventListener("abort", s, { once: !0 }), UO(e, o, {
+ let s = () => qO(i);
+ return a.signal.addEventListener("abort", s, { once: !0 }), GO(e, o, {
...r,
container: i,
isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()
@@ -102728,21 +102797,21 @@ function Ilt(e, t, n, r = {}) {
}
function d9() {
let e = H7();
- return eE({
+ return tE({
active: V7() || e,
home: e,
portrait: W.orient === "竖屏"
});
}
function f9(e = "正在读取作品") {
- return cW(e, {
+ return uW(e, {
cards: !0,
className: "catalog-skeleton postercard-skeleton",
cardRatio: Llt()
});
}
function Llt() {
- return W ? tE(d9()) : 16 / 9;
+ return W ? nE(d9()) : 16 / 9;
}
function p9() {
l9() && (Js(L("#grid")), u9({
@@ -102816,7 +102885,7 @@ async function Blt(e, t) {
}
function Vlt() {
return {
- ...lV(location.search),
+ ...dV(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
@@ -102825,7 +102894,7 @@ function Vlt() {
selected: new Set(dc),
countRow: L("#count"),
settled: Nlt,
- skeletonHtml: () => cW("正在读取垃圾文件", {
+ skeletonHtml: () => uW("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
@@ -102861,14 +102930,14 @@ function Ult() {
...o7.activeFilterState(),
jav: V7() ? "1" : ""
};
- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(cbe(void 0, t));
+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(obe(void 0, t));
}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = W.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) => ik(e, t),
- displayName: (e, t) => rk(e, t),
+ titleHtml: (e, t) => ok(e, t),
+ displayName: (e, t) => ak(e, t),
tagLabel: (e) => Qs(e)
}, X.gridActions = {
wallPlayer: async (e, t, n) => {
@@ -102993,9 +103062,9 @@ function h9() {
let e = Q.surfacePath();
if (!Mt(e) || e === "/junk-files") return o9();
let t = Z.nextCatalogLoad();
- return ek(X7(), {
+ return nk(X7(), {
replace: !0,
- state: $O.navigation.location.state
+ state: tk.navigation.location.state
}), t;
}
function Glt(e) {
@@ -103046,7 +103115,7 @@ async function qlt(e = !1) {
return;
}
let n = t === "reopen" ? e : "/stats";
- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, $O.navigation.location.state) : Q.navigatePath(n);
+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, tk.navigation.location.state) : Q.navigatePath(n);
} else if (L("#index").hidden) {
W.sort = "seed", W.dir = "", W.seed = X5.rollSeed(), Rc(), $5(), n9({ refreshing: !0 });
try {
@@ -103088,23 +103157,23 @@ function $lt() {
local: "本地硬盘没有挂载,接上后点重新检测即可播放。",
115: "115 网盘没有挂载,检查 CloudDrive 是否在运行。",
pikpak: "PikPak 没有挂载,检查 CloudDrive 是否在运行。"
- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "这个来源当前没有挂载。", Z.settingsStore = IT(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Aa(Z.appSettings.uiSounds), Ia(), BT(), Wce(), lE(), fE(), pE(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
- theme: () => BT(),
+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "这个来源当前没有挂载。", Z.settingsStore = LT(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Aa(Z.appSettings.uiSounds), Ia(), VT(), Uce(), uE(), pE(), mE(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
+ theme: () => VT(),
uiSounds: () => {
Aa(Z.appSettings.uiSounds), Z.appSettings.uiSounds && ja("toggle-on");
},
- glowFrame: () => dE(),
+ glowFrame: () => fE(),
glow: () => {
- dE(), fE();
+ fE(), pE();
},
batchSize: () => {
location.pathname === "/" && o9();
},
defaultSort: () => {
- W.sort = Z.appSettings.defaultSort, W.dir = gT(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Rc(), location.pathname === "/" && h9();
+ W.sort = Z.appSettings.defaultSort, W.dir = _T(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Rc(), location.pathname === "/" && h9();
},
sortDirection: () => {
- W.dir = gT(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Rc(), location.pathname === "/" && h9();
+ W.dir = _T(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Rc(), location.pathname === "/" && h9();
},
hoverDelay: () => {
Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {
@@ -103121,7 +103190,7 @@ function $lt() {
javImage: () => {
Xi(document, Z.appSettings.javImage), p9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Os), rut();
},
- searchHistoryLimit: () => WO(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
+ searchHistoryLimit: () => KO(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
local: R("hard-drive"),
115: `<img class="source-icon" src="${Ya[115]}" alt="">`,
@@ -103175,7 +103244,7 @@ function rut() {
function b9(e, t, n, r, i = null, a = {}) {
t = +t;
let o = xc?.kind === e && (e === "playlist" ? xc.playlistId : xc.seedId) === t;
- r && !o && Lc({ detailReturnPath: location.pathname + location.search }), r && kO();
+ r && !o && Lc({ detailReturnPath: location.pathname + location.search }), r && jO();
let s = e === "playlist" ? {
kind: e,
playlistId: t,
@@ -103188,7 +103257,7 @@ function b9(e, t, n, r, i = null, a = {}) {
if (a.autoplay && (s.autoplay = !0), r) {
O9();
let e = Q.queueOpenRequest = {
- seq: $O.navigation.seq,
+ seq: tk.navigation.seq,
cancelled: !1
};
Q.requestedQueue = () => x9(n == null ? null : +n, !1, s, i, !0, e), Lc({ queueOpens: kc + 1 });
@@ -103217,7 +103286,7 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
}
Js(), e = e == null ? null : +e;
let o = r?.isConnected ? r : vc?.isConnected ? vc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : yc, c = cut(), l = bc || !t && !c, u = lc.type === "item" ? uc : o7.cloneBarsContext(l7());
- t ? Lc({ detailReturnPath: location.pathname + location.search }) : i || Lc({ detailReturnPath: jO() || _c }), t && kO(), F5()?.showing() !== "item" && y9(!1, !0, {
+ t ? Lc({ detailReturnPath: location.pathname + location.search }) : i || Lc({ detailReturnPath: NO() || _c }), t && jO(), F5()?.showing() !== "item" && y9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), Lc({
@@ -103228,7 +103297,7 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
kind: n.kind,
seedId: n.seedId,
playlistId: n.playlistId
- } }), Lc({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, MO("item"));
+ } }), Lc({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, PO("item"));
let d = await P5(v9.stageHost);
if (a?.cancelled) return;
let f = a ? {
@@ -103260,7 +103329,7 @@ async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
}
async function lut() {
let e = o7.cloneBarsContext(uc), t = _c || "/", n = bc;
- await nut(), y9(!1, !1, { miniplayer: !1 }), Lc({ detailReturnBarsContext: null }), AO(), Lc({ barsContext: e || {
+ await nut(), y9(!1, !1, { miniplayer: !1 }), Lc({ detailReturnBarsContext: null }), MO(), Lc({ barsContext: e || {
type: "home",
filters: W
} }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Lc({ pageOpens: Oc + 1 }) : (r9(), location.pathname === "/playlists" && Lc({ pageOpens: Oc + 1 })));
@@ -103270,14 +103339,14 @@ async function S9(e, t = !0) {
Lc({ detailReturnPath: location.pathname + location.search }), k9("/works/" + encodeURIComponent(e), "jav", () => S9(e, !1));
return;
}
- let n = $O.navigation.seq, r = o7.cloneBarsContext(l7()), i = !cut(), a = jO() || (i ? "/jav?tab=discover" : _c) || "/jav?tab=discover";
+ let n = tk.navigation.seq, r = o7.cloneBarsContext(l7()), i = !cut(), a = NO() || (i ? "/jav?tab=discover" : _c) || "/jav?tab=discover";
F5()?.showing() !== "jav" && y9(!1, !0, { miniplayer: !1 }), Lc({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), Js();
let [o, s] = await Promise.all([P5(v9.stageHost), V("/healthz")]);
- $O.navigation.seq === n && (await o.open({
+ tk.navigation.seq === n && (await o.open({
kind: "jav",
code: e,
readOnly: !!s.ledger_read_only,
@@ -103285,9 +103354,9 @@ async function S9(e, t = !0) {
close: () => void lut(),
navigate: (e) => Q.navigatePath(e),
canonicalCode: (t) => {
- $O.navigation.seq === n && t && t !== e && ek("/works/" + encodeURIComponent(t) + location.search + location.hash, {
+ tk.navigation.seq === n && t && t !== e && nk("/works/" + encodeURIComponent(t) + location.search + location.hash, {
replace: !0,
- state: $O.navigation.location.state
+ state: tk.navigation.location.state
});
},
openTag: (e) => {
@@ -103324,15 +103393,15 @@ function uut() {
function dut() {
v9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
- titleHtml: (e) => ik(e),
- displayName: (e) => rk(e),
+ titleHtml: (e) => ok(e),
+ displayName: (e) => ak(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => Qs(e),
isDurationTag: (e) => an.has(e),
tagCandidates: () => v9.facets && v9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
- relatedSkeletonHtml: () => cW("正在读取推荐", {
+ relatedSkeletonHtml: () => uW("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
@@ -103348,14 +103417,14 @@ function dut() {
type: "item",
id: e.id,
filters: t?.type === "entity" ? { ...t.filters } : o7.emptyEntityFilters()
- } }), Sc && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Sc}`, !1, MO("item")), Lc({ pendingQueueRoute: null })), r9();
+ } }), Sc && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Sc}`, !1, PO("item")), Lc({ pendingQueueRoute: null })), r9();
},
redirect: (e) => {
let t = !!Sc;
e.kind === "follow" ? (Q.queueOpenRequest = null, Lc({
pendingQueueRoute: null,
followDetailReturnPath: _c || "/"
- }), Q.route(`/posts/${e.id}`, !t, MO("follow")), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : oct() : y9(!1);
+ }), Q.route(`/posts/${e.id}`, !t, PO("follow")), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : oct() : y9(!1);
},
openQueueItem: (e, t, n = !0) => void b9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
@@ -103386,7 +103455,7 @@ function dut() {
reveal: (e) => Gst(e),
sync: (e) => Kst(e),
trashChanged: async (e, t) => {
- W.state === "ads" && (t || e === "trash") && (t || (AO(), y9(!0, !1, { miniplayer: !1 })), await o9());
+ W.state === "ads" && (t || e === "trash") && (t || (MO(), y9(!0, !1, { miniplayer: !1 })), await o9());
},
toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
failure: (e, t) => X5.actionFailure(e, t)
@@ -103394,7 +103463,7 @@ function dut() {
filters: () => W,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
- displayName: (e) => rk(e),
+ displayName: (e) => ak(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
closed: () => Z7(),
openItem: (e) => void x9(e),
@@ -103477,16 +103546,16 @@ function put() {
if (Lc({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), w9.postSetupTutorialDone = null, w9.postSetupTutorialNeedsReopen = !1, Dc) {
gs("pending"), w9.postSetupTutorialDone = !1, w9.postSetupTutorialNeedsReopen = !0;
let e = new URL(location.href);
- e.searchParams.delete("onboarding"), ek(e, {
+ e.searchParams.delete("onboarding"), nk(e, {
replace: !0,
- state: $O.navigation.location.state
+ state: tk.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"), ek(e, {
+ t === "on" && localStorage.setItem("peach.agentation", "on"), t === "off" && localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), nk(e, {
replace: !0,
- state: $O.navigation.location.state
+ state: tk.navigation.location.state
})), localStorage.getItem("peach.agentation") === "on" && import("/dev/agentation.js").catch(() => {});
}
w9.postSetupTutorialTasks = async () => {
@@ -103620,24 +103689,24 @@ function O9() {
Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Lc({ pendingQueueRoute: null });
}
function k9(e, t, n) {
- O9(), kO(), Q.requestedOverlay = {
+ O9(), jO(), Q.requestedOverlay = {
path: e,
open: n
- }, Q.route(e, !1, MO(t));
+ }, Q.route(e, !1, PO(t));
}
function A9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, T7.syncPageTitle(location.href), E9(), AO(), T9();
+ Q.surfaceEpoch++, X.barsRequestSeq++, T7.syncPageTitle(location.href), E9(), MO(), T9();
}
function j9(e) {
Q.route(e), Lc({ pageOpens: Oc + 1 });
}
function hut() {
Q.routeMeta = (e) => {
- let t = FO(e);
+ let t = LO(e);
return t ? { route: t } : null;
- }, Q.routePathOf = (e, t) => Object.keys(PO).find((n) => PO[n][e] === t), Q.catalogPage = (e) => Mt(e) || e === "/trash", Q.managedPagePath = (e) => {
- let t = FO(e);
- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !TO(e) && e !== "/immerse";
+ }, Q.routePathOf = (e, t) => Object.keys(IO).find((n) => IO[n][e] === t), Q.catalogPage = (e) => Mt(e) || e === "/trash", Q.managedPagePath = (e) => {
+ let t = LO(e);
+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !DO(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
e === "/immerse" ? C9(Qlt()) : e === "/follow" ? L9() : e === "/playlists" || Q.catalogPage(e) ? j9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? C7() : e) : (y7(!1, !0), j9(Oct({
kind: e.slice(1),
@@ -103653,15 +103722,15 @@ function gut() {
epoch: Q.surfaceEpoch,
path: e,
signal: Q.surfaceRequests?.signal
- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Pst(e) || GO(L("#libraryProcessingNotice")), i7(e) || a7(), GO(L("#stats"), L("#index")), !Mt(e) && e !== "/trash" && s9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
- Q.surfaceEpoch++, X.barsRequestSeq++, ek(e, {
+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Pst(e) || qO(L("#libraryProcessingNotice")), i7(e) || a7(), qO(L("#stats"), L("#index")), !Mt(e) && e !== "/trash" && s9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
+ Q.surfaceEpoch++, X.barsRequestSeq++, nk(e, {
replace: t,
state: n
}), T7.syncPageTitle(e), queueMicrotask(() => {
q7(), z7(), E9(), T9();
});
}, Q.navigatePath = (e, t = !1, n) => {
- t ? $O.replace(e, n) : $O.push(e, n), queueMicrotask(() => {
+ t ? tk.replace(e, n) : tk.push(e, n), queueMicrotask(() => {
q7(), z7();
});
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
@@ -103785,14 +103854,14 @@ function P9(e) {
$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;
}
function Cut() {
- let e = zO(L("#stats"));
+ let e = VO(L("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
function F9() {
return !!Cut();
}
function I9(e) {
- F9() && WO(L("#stats"), e);
+ F9() && KO(L("#stats"), e);
}
function wut(e, t = {}) {
return $.controller.route(e, t);
@@ -103807,7 +103876,7 @@ async function R9(e, t = !0, n = null, r = !1) {
}
Js(), e = +e;
let i = !location.pathname.startsWith("/posts/");
- t && i && !r && Lc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Lc({ followDetailReturnPath: jO() || "/follow" }), t && kO(), F5()?.showing() !== "follow" && y9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, MO("follow")), await (await P5(v9.stageHost)).open({
+ t && i && !r && Lc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Lc({ followDetailReturnPath: NO() || "/follow" }), t && jO(), F5()?.showing() !== "follow" && y9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, PO("follow")), await (await P5(v9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -103819,7 +103888,7 @@ async function R9(e, t = !0, n = null, r = !1) {
}), J7();
}
async function Tut() {
- await nut(), y9(!1, !1, { miniplayer: !1 }), AO(), Q.route(wc || "/follow"), !(o7.entityPageView && o7.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && F9() ? (Sut(), I9({ view: N9() })) : Lc({ pageOpens: Oc + 1 }));
+ await nut(), y9(!1, !1, { miniplayer: !1 }), MO(), Q.route(wc || "/follow"), !(o7.entityPageView && o7.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && F9() ? (Sut(), I9({ view: N9() })) : Lc({ pageOpens: Oc + 1 }));
}
function Eut(e) {
let t = document.createElement("div");
@@ -103847,7 +103916,7 @@ function Dut() {
Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), f7();
},
setPhotoLayout: (e) => {
- rE(e), f7();
+ iE(e), f7();
},
canFlip: () => !pc && !g9() && !window.__scrolling && !X.reduceMotion(),
toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
@@ -103856,7 +103925,7 @@ function Dut() {
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- F5()?.showing() !== "follow" && (Js(), y9(!1), j7(), !F9() && (Q.claimSurface(Q.surfacePath()), A7({ manage: !1 }), L("#stats").querySelector(".peach-react") && GO(L("#stats")), L("#stats").replaceChildren()));
+ F5()?.showing() !== "follow" && (Js(), y9(!1), j7(), !F9() && (Q.claimSurface(Q.surfacePath()), A7({ manage: !1 }), L("#stats").querySelector(".peach-react") && qO(L("#stats")), L("#stats").replaceChildren()));
}
}, $.followDetailActions = cc({
view: N9,
@@ -103889,8 +103958,8 @@ function Out() {
preferences: () => ({
selectMode: pc,
selected: fc,
- photoSize: ZT(),
- photoLayout: QT(),
+ photoSize: QT(),
+ photoLayout: $T(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
live: F9,
@@ -103913,7 +103982,7 @@ function Out() {
//#region src/application/lifecycle.js
var z9 = { overlayScan: void 0 };
function kut() {
- KCe(), Qo(document), ya(document.documentElement, { variant: "page" }), ya(L("#drawerScroll")), z9.overlayScan = 0, Y5.mutation(() => {
+ WCe(), Qo(document), ya(document.documentElement, { variant: "page" }), ya(L("#drawerScroll")), z9.overlayScan = 0, Y5.mutation(() => {
z9.overlayScan ||= Y5.delay(() => {
z9.overlayScan = 0, Yo();
});
@@ -103931,8 +104000,108 @@ function kut() {
], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;
}
//#endregion
+//#region src/react/search/recommendations.ts
+async function Aut(e) {
+ let t = (await Promise.allSettled([
+ e("/api/items?sort=rand&limit=5"),
+ e("/api/jav/discoveries?scope=library&limit=5"),
+ e("/api/follow?status=new&limit=5"),
+ e("/api/feeds/discoveries?limit=5"),
+ e("/api/follow/authors?limit=3")
+ ])).map((e) => e.status === "fulfilled" ? e.value : null), n = (t[0]?.items || []).slice(0, 5), r = (t[1]?.items || []).slice(0, 5), i = t[2], a = t[3]?.items || [], o = (e, t) => ({
+ value: String(e.code || e.display_title || e.title || e.name || "未命名作品"),
+ id: e.id,
+ code: e.code,
+ title: String(e.display_title || e.title || ""),
+ who: String(e.performers || e.creator || ""),
+ card: e,
+ href: t
+ }), s = [], c = {
+ sources: i?.sources || [],
+ aliases: i?.author_aliases || [],
+ credentials: /* @__PURE__ */ new Set()
+ };
+ for (let e of i?.groups || []) {
+ let t = e.primary, n = c.sources.find((e) => e.id === t.source_id), r = dP(t, n?.author_key ? c.sources.filter((e) => e.author_key === n.author_key) : n ? [n] : [], c);
+ s.push({
+ value: sP(t),
+ id: t.id,
+ who: r.author,
+ href: `/posts/${t.id}`,
+ card: {
+ id: t.id,
+ thumb_url: t.thumb_url
+ }
+ });
+ }
+ let l = (t[4]?.items || []).map((e) => ({
+ value: e.k,
+ href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,
+ avatarHtml: uP(c.sources.filter((t) => t.author_key === e.key), e.k),
+ subtitle: "关注中的作者"
+ })), u = /* @__PURE__ */ new Map();
+ for (let e of r) for (let t of e.performer_refs || []) t.id && !u.has(t.name) && u.set(t.name, {
+ value: t.name,
+ entity_id: t.id,
+ has_image: t.has_image,
+ href: `/performers/${t.id}`,
+ image_version: t.image_version,
+ avatar_focus: t.avatar_focus,
+ rep: t.has_avatar ? t.rep : null,
+ works: [e],
+ subtitle: "查看作品与订阅新作"
+ });
+ return [
+ {
+ kind: "performer",
+ label: "艺人与新作",
+ items: [...u.values()].slice(0, 3),
+ href: "/subscriptions?tab=feeds",
+ action: "订阅新作"
+ },
+ {
+ kind: "author",
+ label: "关注作者",
+ items: l,
+ href: "/subscriptions?tab=add",
+ action: "添加关注"
+ },
+ {
+ kind: "asset",
+ label: "作品推荐",
+ items: n.map((e) => o(e)),
+ href: "/",
+ action: "全部作品"
+ },
+ {
+ kind: "jav",
+ label: "JAV 推荐",
+ items: r.map((e) => o(e, `/assets/${e.asset_id || e.id}`)),
+ href: "/jav?tab=discover",
+ action: "发现 JAV"
+ },
+ {
+ kind: "post",
+ label: "关注作品",
+ items: s,
+ href: "/follow",
+ action: "全部关注作品"
+ },
+ {
+ kind: "release",
+ label: "订阅新作",
+ items: a.filter((e) => e.code).map((e) => o({
+ ...e,
+ sourceWork: !0
+ }, `/works/${encodeURIComponent(e.code)}`)),
+ href: "/subscriptions?tab=feeds",
+ action: "管理订阅"
+ }
+ ];
+}
+//#endregion
//#region src/application/search-morph.js
-function Aut(e, t, n, r, i, a, o) {
+function jut(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);
@@ -103958,7 +104127,7 @@ var B9 = {
function V9() {
B9.searchControl?.close();
}
-function jut(e) {
+function Mut(e) {
let t = e ? qi({
...e,
is_jav: !!e.code
@@ -103977,7 +104146,7 @@ function U9(e) {
if (t.classList.toggle("open", e), L("#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 = Go();
t.classList.add("search-morphing");
- let h = t.animate(Aut(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(jut(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
@@ -103986,22 +104155,24 @@ function U9(e) {
B9.searchMorph === h && H9();
});
}
-function Mut() {
+function Nut() {
return v9.immerseOpen() ? R5().activeVideo() : F5()?.activeVideo() || null;
}
-function Nut(e) {
+function Put(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function Put() {
+function Fut() {
B9.searchControl = null, B9.searchActions = {
search: (e) => {
X.rememberSearchValue(), y9(!1), W.q = e, Rc(), Q.route(W.jav === "1" ? X7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);
},
openItem: (e) => x9(e),
- openEntity: (e, t) => m7(e, t)
+ openEntity: (e, t) => m7(e, t),
+ openPath: (e) => Q.route(e, !1)
}, B9.searchHelpers = {
pool: () => llt(W, Et),
- coverHtml: (e) => `<span class="pic">${jut(e)}</span>`,
+ recommendations: () => Aut(Et),
+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? Ost(e) : Mut(e)}</span>`,
present: (e) => Va(e),
dismiss: (e) => Ha(e),
wireScroller: (e) => Fo(e),
@@ -104016,7 +104187,7 @@ function Put() {
text: e.value,
scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft
})
- }, UO("search", {
+ }, GO("search", {
input: L("#q"),
historyLimit: Z.appSettings.searchHistoryLimit,
actions: B9.searchActions,
@@ -104035,7 +104206,7 @@ function Put() {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function Fut() {
+function Iut() {
B9.searchMorph = null, B9.searchMorphViewport = innerWidth, Y5.listen.bind(Y5, window)("resize", () => {
innerWidth !== B9.searchMorphViewport && (B9.searchMorphViewport = innerWidth, H9());
}, { passive: !0 }), Y5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", H9), Y5.handler(L("#searchBtn"), "onclick", () => {
@@ -104043,7 +104214,7 @@ function Fut() {
}), Y5.handler(L("#searchBack"), "onclick", () => {
U9(!1), V9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });
}), Y5.listen(L("#q"), "blur", () => Y5.delay(() => {
- document.activeElement !== L("#q") && (!L("#q").value && !L("#searchMenu").matches(":hover") && U9(!1), V9());
+ document.activeElement !== L("#q") && (L("#searchMenu").contains(document.activeElement) || (!L("#q").value && !L("#searchMenu").matches(":hover") && U9(!1), V9()));
}, 140)), Y5.listen(document, "pointerdown", (e) => {
e.target.closest(".search") || V9();
}, !0), Y5.handler(L("#brandHome"), "onclick", (e) => {
@@ -104077,7 +104248,7 @@ function Fut() {
}
return;
}
- if (Nut(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (Put(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
let t = document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);
if (t) {
@@ -104085,26 +104256,26 @@ function Fut() {
return;
}
}
- let t = Mut();
+ let t = Nut();
if (t) {
if (e.key === "t" || e.key === "T") {
e.preventDefault(), F5()?.toggleTheater();
return;
}
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
- e.preventDefault(), due(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
+ e.preventDefault(), lue(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
return;
}
if (e.key === " " || e.key === "k" || e.key === "K") {
- e.preventDefault(), YE(t);
+ e.preventDefault(), ZE(t);
return;
}
if (e.key === "m" || e.key === "M") {
- e.preventDefault(), Tle(t, ".vjs-mute-control");
+ e.preventDefault(), Cle(t, ".vjs-mute-control");
return;
}
if (e.key === "f" || e.key === "F") {
- e.preventDefault(), Tle(t, ".vjs-fullscreen-control");
+ e.preventDefault(), Cle(t, ".vjs-fullscreen-control");
return;
}
if (e.key === "i" || e.key === "I") {
@@ -104120,7 +104291,7 @@ var W9 = {
shellActions: void 0,
routing: void 0
};
-function Iut() {
+function Lut() {
let e = Y5;
T7.entityShapesReady = r7(), Fct(), Kct(), W9.shellActions = {
openSettings: (e) => F7(e, !0),
@@ -104181,7 +104352,7 @@ function Iut() {
},
openOverlay: (e) => {
let t = Q.requestedOverlay;
- Q.requestedOverlay = null, $O.navigation.claimed && (!tk() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (tk() && (Q.initialOverlayOpened = !0), e.kind === "item" ? x9(e.id, !1) : e.kind === "jav" ? S9(e.code, !1) : e.kind === "follow" ? R9(e.id, !1) : b9(e.queue, e.key, e.item, !1));
+ Q.requestedOverlay = null, tk.navigation.claimed && (!rk() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (rk() && (Q.initialOverlayOpened = !0), e.kind === "item" ? x9(e.id, !1) : e.kind === "jav" ? S9(e.code, !1) : e.kind === "follow" ? R9(e.id, !1) : b9(e.queue, e.key, e.item, !1));
},
closeStage: () => {
v9.stageOpen() && y9(!1);
@@ -104217,16 +104388,16 @@ function Iut() {
Z.handOff(o9());
},
fill: () => {
- if (l9() || !tk() && !L("#grid").querySelector(".catalog-skeleton")) return;
+ if (l9() || !rk() && !L("#grid").querySelector(".catalog-skeleton")) return;
let e = L("#count");
e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), Plt(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
- s9(), a7(), GO(L("#libraryProcessingNotice"));
+ s9(), a7(), qO(L("#libraryProcessingNotice"));
}
}
- }, W9.routing = !1, Y5.own($O.listen((e) => {
- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !TO(e.location.pathname) && y9(!1), W9.routing && !e.claimed && A9();
+ }, W9.routing = !1, Y5.own(tk.listen((e) => {
+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !DO(e.location.pathname) && y9(!1), W9.routing && !e.claimed && A9();
})), Tot(W9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Yct(), bct(), L7(), Promise.all([
m9(),
qct(),
@@ -104240,7 +104411,7 @@ function Iut() {
//#endregion
//#region src/theme-transition.ts
var G9 = !1;
-async function Lut(e, t) {
+async function Rut(e, t) {
if (G9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
@@ -104263,7 +104434,7 @@ async function Lut(e, t) {
}
//#endregion
//#region src/application/chrome.js
-function Rut() {
+function zut() {
(() => {
let e = Y5, t = [
"#brandHome",
@@ -104355,14 +104526,14 @@ function Rut() {
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="浅色主题">${R("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${R("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" && Lut(t, () => {
- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), BT();
+ t.getAttribute("aria-pressed") !== "true" && Rut(t, () => {
+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), VT();
});
- })), BT();
+ })), VT();
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 = Ga(_, y, v);
- e.own(b.dispose), e.own(rle(y)), Fot({
+ e.own(b.dispose), e.own(nle(y)), Fot({
root: v,
store: Z.settingsStore,
openDetails: () => {
@@ -104471,31 +104642,31 @@ function Rut() {
}
//#endregion
//#region src/application/initialize.js
-function zut() {
- kut(), hut(), Ict(), gut(), $lt(), zot(), Hlt(), put(), $st(), uut(), xct(), Ult(), zst(), lct(), Dut(), Mct(), ect(), Out(), Nct(), tct(), ilt(), Wlt(), Put(), dut(), Fut(), eut(), Iut(), Rut(), Y5.own(s9), Y5.own(O9);
+function But() {
+ kut(), hut(), Ict(), gut(), $lt(), zot(), Hlt(), put(), $st(), uut(), xct(), Ult(), zst(), lct(), Dut(), Mct(), ect(), Out(), Nct(), tct(), ilt(), Wlt(), Fut(), dut(), Iut(), eut(), Lut(), zut(), Y5.own(s9), Y5.own(O9);
}
//#endregion
//#region src/ui-kit/middle-truncate.ts
-var But = "…", Vut = 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(), Hut = (e) => Vut ? [...Vut.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
-function Uut(e, t) {
- let n = Hut(e);
+var Vut = "…", Hut = 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(), Uut = (e) => Hut ? [...Hut.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
+function Wut(e, t) {
+ let n = Uut(e);
if (!n.length || t(e)) return String(e ?? "");
- let r = 0, i = Math.max(0, n.length - 1), a = But;
+ let r = 0, i = Math.max(0, n.length - 1), a = Vut;
for (; r <= i;) {
- let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + But + (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("") + Vut + (s ? n.slice(-s).join("") : "");
t(c) ? (a = c, r = e + 1) : i = e - 1;
}
return a;
}
-var Wut = Object.assign((e, t) => {
- let n = getComputedStyle(e), r = (Wut.canvas ||= document.createElement("canvas")).getContext("2d");
+var Gut = Object.assign((e, t) => {
+ let n = getComputedStyle(e), r = (Gut.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, Hut(t).length - 1) * a);
+ Number.isFinite(a) && (i += Math.max(0, Uut(t).length - 1) * a);
let o = parseFloat(n.wordSpacing);
return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;
-}, { canvas: null }), Gut = (e) => {
+}, { canvas: null }), Kut = (e) => {
if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;
let t = e.parentElement;
if (!t) return e.clientWidth;
@@ -104505,40 +104676,40 @@ var Wut = 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);
-}, Kut = (e) => {
+}, qut = (e) => {
let t = K9.get(e);
if (!t || !e.isConnected) return;
- let n = Gut(e), r = n > 0 ? Uut(t.full, (t) => Wut(e, t) <= n) : t.full;
+ let n = Kut(e), r = n > 0 ? Wut(t.full, (t) => Gut(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);
t && !t.raf && (t.raf = requestAnimationFrame(() => {
- t.raf = 0, Kut(e);
+ t.raf = 0, qut(e);
}));
-}, qut = (e) => {
+}, Jut = (e) => {
e instanceof HTMLElement && (K9.has(e) || K9.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));
-}, Jut = (e) => {
+}, Yut = (e) => {
if (e.nodeType !== Node.ELEMENT_NODE) return;
let t = e;
- t.matches("[data-middle-truncate]") && qut(t), t.querySelectorAll("[data-middle-truncate]").forEach(qut);
+ t.matches("[data-middle-truncate]") && Jut(t), t.querySelectorAll("[data-middle-truncate]").forEach(Jut);
};
-function Yut(e = document) {
+function Xut(e = document) {
Y9?.(), q9 = /* @__PURE__ */ new WeakSet(), X9 = /* @__PURE__ */ new Set();
let t = X9, n = !0;
J9 = new ResizeObserver((e) => e.forEach((e) => {
n && (Z9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(Z9));
}));
let r = J9;
- Jut(e.documentElement || e);
+ Yut(e.documentElement || e);
let i = new MutationObserver((e) => e.forEach((e) => {
if (!n) return;
- e.addedNodes.forEach(Jut);
+ e.addedNodes.forEach(Yut);
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);
@@ -104573,50 +104744,50 @@ function Yut(e = document) {
//#endregion
//#region src/react/application.tsx
var Q9 = null;
-function Xut(e) {
+function Zut(e) {
Q9 !== e || e.owners || (Q9 = null, e.effects.dispose());
}
-function Zut() {
+function Qut() {
if (!Q9) {
let e = Rot();
Q9 = {
effects: e,
owners: 0
- }, e.own(Yut(document)), e.own(() => {
+ }, e.own(Xut(document)), e.own(() => {
Js(), U.cancelQueries();
- }), e.own(Eot), e.own(hme), e.own(za);
+ }), e.own(Eot), e.own(pme), e.own(za);
}
return Q9.owners += 1, Q9.effects.resume(), Q9;
}
-function Qut() {
+function $ut() {
let [e, t] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
- let e = Q9 === null, n = Zut(), r = wot(t);
+ let e = Q9 === null, n = Qut(), r = wot(t);
if (e) try {
- zut();
+ But();
} catch (e) {
throw r(), n.effects.dispose(), Q9 = null, e;
}
return () => {
- r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Xut(n)));
+ r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Zut(n)));
};
- }, []), /* @__PURE__ */ (0, x.jsx)(DTe, { actions: e });
+ }, []), /* @__PURE__ */ (0, x.jsx)(TTe, { actions: e });
}
var $9 = /* @__PURE__ */ new WeakMap();
-function $ut(e) {
+function edt(e) {
let t = $9.get(e);
if (t) return t;
- let n = (0, mt.createRoot)(e, OTe);
+ let n = (0, mt.createRoot)(e, ETe);
$9.set(e, n);
let r = n.unmount.bind(n);
return n.unmount = () => {
- $9.get(e) === n && ($9.delete(e), r(), Q9 && Xut(Q9));
- }, (0, pt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(Qut, {}))), n;
+ $9.get(e) === n && ($9.delete(e), r(), Q9 && Zut(Q9));
+ }, (0, pt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)($ut, {}))), n;
}
//#endregion
//#region src/react/bootstrap.tsx
-var edt = document.getElementById("appRoot");
-if (!edt) throw Error("主界面宿主缺失");
-$ut(edt);
+var tdt = document.getElementById("appRoot");
+if (!tdt) throw Error("主界面宿主缺失");
+edt(tdt);
//#endregion
-export { BT as applyTheme, $O as peachHistory, co as popCount, Iot as showToast };
+export { VT as applyTheme, tk as peachHistory, co as popCount, Iot as showToast };