Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 对齐页面加载态与 JAV 推荐卡片

longmeidaoea3911c2e5ae
diff --git a/docs/REUSE.md b/docs/REUSE.md
index 91f9b85bb..dd06340d9 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -34,6 +34,8 @@ FC2 卖家名册复用 `sources/fc2.py` 的 `label`、`seller_url` 来源契约
关注页的创作者行与卡片头像、署名复用 `FollowAuthorLink` 和来源的唯一实体绑定,进入创作者资料页;卡片按实际发布者取身份。未建档作者沿用关注筛选。创作者行横滚访问全部作者。筛选条件与卡片悬停面留 16px;首页、关注页和资料页共用交集条。`useViewGlide` 复用 `ResizeObserver` 监听显隐与相邻控件尺寸,`moveGlidePane` 在重新落位时取消位移和形变动画,无新增依赖。
+JAV 发现卡复用馆藏的 `data-media-card` 悬停面、`coverImage` 封面取景和 `entityAvatar` 身份头像。出演者引用由 `web_catalog.entity_ref` 提供图片版本与取景;标题保留两行,操作区贴底。JAV 与名册的静态搜索框复用 `islandSearchInput`,按 Board Input 的尺寸生成首屏结构。无新增依赖。
+
账号归属复用 `review_decision`、`creator_collection_base`、`write_owned_fields` 和全库归属审计。明确拒绝的资产与账号组合在自动摄取时跳过;用户写入保留复核入口。网黄博主只命中可信个人、内容创作者或发布账号断言,未分类账号保留全部名册入口。`attach_avatar_availability` 集中处理资料页、索引、搜索与统计的作品头像:发布账号缺少本人或出演职业证据时作品帧照常兜底,另标 `avatar_stand_in`,已安装图片独立保留。个人博主的补头像复用 `avatar_cover_face.face_square`、`readable_cut` 与 ADR-0074 的 `agreeing` 两部互证,画面取自接触印相九格(ADR-0099)。来源核查清单、逐关系回执和备份存于 `peach-data/review/`。
`entity_identity_research` 与 `apply_entity_identity_research.py` 复用规范实体写入、字段归属保护、只读预览、SQLite 备份及冻结计划。逐行撤回回执核对后续修改,新增实体有额外引用时拒绝删除;观看历史和人工判断不被回滚覆盖。资料站调研复用 `performer_alias_followup.WikiSitePages`(包着 `sources/seesaa.py` 的 `WikiPages`,加 404 记忆与按站冷却)、作品表解析 `rows()` 与 `person_profile`,以及 EUC-JP 页名直取写法,不新增依赖;`creator_identity_followup` 的后继壳照抄补厂牌、补别名两条。
diff --git a/frontend/e2e/design-cards.test.ts b/frontend/e2e/design-cards.test.ts
index 96de0112e..62b563e36 100644
--- a/frontend/e2e/design-cards.test.ts
+++ b/frontend/e2e/design-cards.test.ts
@@ -363,7 +363,7 @@ describe('设计决定:作品卡、管理页与复核', () => {
tab: getComputedStyle(pressed).color,
fill: getComputedStyle(pressed).backgroundColor,
titleBeforeNav: document.querySelector('[data-manage-title]')!.getBoundingClientRect().bottom <= document.querySelector('[data-manage-bar]')!.getBoundingClientRect().top,
- titleLeft: Math.round(document.querySelector('[data-manage-title]')!.getBoundingClientRect().left - document.querySelector('#main')!.getBoundingClientRect().left),
+ titleLeft: Math.round(document.querySelector('[data-manage-title]')!.getBoundingClientRect().left - document.querySelector('#grid')!.getBoundingClientRect().left),
};
});
assert.deepEqual(read.colors, [muted, ink], '上一级不是 --muted,或当前项没升到 --ink');
@@ -371,7 +371,7 @@ describe('设计决定:作品卡、管理页与复核', () => {
assert.equal(read.gap, '6px');
assert.deepEqual([read.tab, read.fill], [ink, fill]);
assert.equal(read.titleBeforeNav, true);
- assert.equal(read.titleLeft, 16);
+ assert.equal(read.titleLeft, 0);
assert.deepEqual(opened.problems.filter((line) => !line.includes('/api/links/check')), []);
} finally {
await opened.close();
@@ -777,8 +777,8 @@ describe('设计决定:作品卡、管理页与复核', () => {
};
});
assert.ok(box.filters.width > 0, '分类切换被摘要挤成 0 宽,整条在宽屏上看不见');
- assert.equal(box.title.left, box.main.left + 16);
- assert.equal(box.title.width, box.main.width - 32);
+ assert.deepEqual(box.title, box.grid);
+ assert.equal(box.title.width, box.grid.width);
for (const [label, measured] of [['摘要', box.summary], ['分类切换', box.filters]] as const) {
assert.deepEqual(measured, box.grid,
`${label}和正文网格不同宽:${measured.left}+${measured.width} 对 ${box.grid.left}+${box.grid.width}`);
diff --git a/frontend/e2e/design-follow-alignment.test.ts b/frontend/e2e/design-follow-alignment.test.ts
index 4a8cfad11..3a5843ad5 100644
--- a/frontend/e2e/design-follow-alignment.test.ts
+++ b/frontend/e2e/design-follow-alignment.test.ts
@@ -10,6 +10,24 @@ describe('关注与馆藏共用卡片交互', () => {
before(async () => { browser = await launch() });
after(async () => { await browser.close() });
+ for (const viewport of VIEWPORTS) it(`${viewport.name}:关注标题在等待与内容态采用相同几何`, async () => {
+ const opened = await openFollowFeed(browser, '/follow', viewport);
+ try {
+ opened.stub.hold = () => true;
+ await opened.page.reload({ waitUntil: 'domcontentloaded' });
+ const title = opened.page.locator('[data-follow-title]');
+ await title.waitFor();
+ const read = () => title.evaluate(node => {
+ const style = getComputedStyle(node), box = node.getBoundingClientRect();
+ return { size: style.fontSize, line: style.lineHeight, height: box.height, left: box.left };
+ });
+ const pending = await read();
+ await opened.stub.release();
+ await opened.page.locator('[data-follow-list] > [data-follow-item]').first().waitFor();
+ assert.deepEqual(await read(), pending);
+ } finally { await opened.stub.release(); await opened.close() }
+ });
+
it('创作者头像悬停显示描边,键盘焦点可见', async () => {
const opened = await openFollowFeed(browser, '/follow', VIEWPORTS[0]!, { bindAuthors: true });
try {
diff --git a/frontend/e2e/index-people.test.ts b/frontend/e2e/index-people.test.ts
index 94177ee92..3ea27f3ff 100644
--- a/frontend/e2e/index-people.test.ts
+++ b/frontend/e2e/index-people.test.ts
@@ -99,7 +99,7 @@ describe('本地与在线艺人共用名册布局', () => {
assert.deepEqual(await page.locator('#index [role="tab"][aria-selected="true"]').allTextContents(), [selected]);
assert.equal(await page.evaluate(() => document.documentElement.scrollWidth <= innerWidth), true);
const waiting = await headControls(page, {
- search: '#index .geist-search input', icon: '#index .geist-search-prefix svg', layout: '#index .ihead .iconswitch' });
+ search: '#index [data-index-search] [data-rac]', icon: '#index [data-index-search] svg', layout: '#index .ihead .iconswitch' });
release();
await page.locator('#index [data-index-page]').waitFor();
assert.deepEqual(await page.locator('#index [role="tab"]').allTextContents(), ['艺人', '卖家', '在线']);
diff --git a/frontend/e2e/jav-recommendations.test.ts b/frontend/e2e/jav-recommendations.test.ts
index ace7f59bf..de65777d7 100644
--- a/frontend/e2e/jav-recommendations.test.ts
+++ b/frontend/e2e/jav-recommendations.test.ts
@@ -22,23 +22,63 @@ describe('JAV 推荐与加载结构', () => {
});
await page.route('**/api/feeds/discoveries?*', async route => {
await responseReady;
- await route.fulfill({ json: { items: [{ id: 777, code: 'DEMO-777', title: '演示新作', performers: '來源姓名',
- performer_refs: [{ id: 42, name: '规范姓名' }], release_date: '2026-10-01', has_cover: false, wanted: false }] } });
+ await route.fulfill({ json: { items: [
+ { id: 777, code: 'DEMO-777', title: '演示新作', performers: '來源姓名' },
+ { id: 778, code: 'DEMO-778', title: '很长的作品标题用于检查截断与卡片等高'.repeat(8), performers: '來源姓名' },
+ { id: 779, code: 'DEMO-779', title: '短标题', performers: '來源姓名' },
+ ].map(item => ({ ...item, performer_refs: [{ id: 42, name: '规范姓名', has_image: false }],
+ link: 'https://example.com/work', release_date: '2026-10-01', has_cover: false, wanted: false })) } });
});
- await page.getByRole('tab', { name: '发现', exact: true }).click();
+ await page.goto(new URL('/jav?tab=discover', page.url()).href, { waitUntil: 'load' });
await page.locator('[data-jav-skeleton-cover]').first().waitFor();
const cover = await page.locator('[data-jav-skeleton-cover]').first().boundingBox();
assert.ok(cover && cover.width >= 100 && cover.height >= 60, JSON.stringify(cover));
assert.ok(cover && Math.abs(cover.width / cover.height - 1.6) < 0.02, '封面占位应与作品封面同一比例');
const skeletonWidth = await page.locator('[data-skeleton="jav-discover"]').first().boundingBox();
+ const skeletonCard = await page.locator('[data-jav-skeleton-card]').first().boundingBox();
+ const searchBox = await page.locator('input[aria-label="筛选推荐"]').locator('xpath=../../..').boundingBox();
const main = await page.locator('#main').boundingBox();
assert.ok(skeletonWidth && main && skeletonWidth.width >= main.width - 40);
release();
await page.getByRole('heading', { name: 'DEMO-777 · 演示新作', exact: true }).waitFor();
+ const search = page.getByRole('searchbox', { name: '筛选推荐', exact: true });
+ const cards = page.getByRole('region', { name: '为你推荐', exact: true }).locator('article');
+ assert.equal(await cards.count(), 3);
+ const heights = await cards.evaluateAll(nodes => nodes.map(node => node.getBoundingClientRect().height));
+ if (!viewport.mobile) assert.ok(Math.max(...heights) - Math.min(...heights) <= 1, JSON.stringify(heights));
+ assert.ok(skeletonCard && Math.abs(skeletonCard.height - heights[0]!) <= 2, JSON.stringify({ skeletonCard, heights }));
+ assert.deepEqual(await search.locator('xpath=../../..').boundingBox(), searchBox);
+ assert.equal(await cards.nth(1).locator('h3').evaluate(node => getComputedStyle(node).webkitLineClamp), '2');
+ const lookup = page.getByRole('button', { name: '查找资源', exact: true }).first();
+ assert.notEqual(await lookup.evaluate(node => getComputedStyle(node).backgroundColor),
+ await cards.first().getByRole('button', { name: '查找资源', exact: true }).evaluate(node => getComputedStyle(node).backgroundColor));
+ assert.equal(await cards.first().locator('a[data-media-avatar]').getAttribute('aria-label'), '查看 规范姓名');
+ if (!viewport.mobile) {
+ await cards.first().hover();
+ assert.notEqual(await cards.first().evaluate(node => getComputedStyle(node).boxShadow), 'none');
+ }
+ const source = cards.first().getByRole('link', { name: '作品来源', exact: true });
+ const buttonShape = (node: Element) => {
+ const style = getComputedStyle(node);
+ return { height: style.height, border: style.borderWidth, radius: style.borderRadius,
+ background: style.backgroundColor };
+ };
+ assert.deepEqual(await source.evaluate(buttonShape),
+ await cards.first().getByRole('button', { name: '查找资源', exact: true }).evaluate(buttonShape));
+ assert.equal(await source.getAttribute('target'), '_blank');
+ assert.equal(await source.locator('svg').count(), 1);
+ await search.fill('DEMO-777');
+ await search.press('Enter');
+ assert.equal(await cards.count(), 1);
+ await search.fill('');
+ await page.waitForFunction(() => document.querySelectorAll('[aria-label="为你推荐"] article').length === 3);
+ await cards.first().getByRole('button', { name: '查找资源', exact: true }).click();
+ await page.getByRole('dialog').getByRole('button', { name: '关闭资源面板', exact: true }).click();
+ await page.getByRole('dialog').waitFor({ state: 'hidden' });
await settle(page);
assert.equal(await page.locator('[data-jav-skeleton-cover]').count(), 0);
- await page.getByRole('textbox', { name: '筛选推荐', exact: true }).fill('规范姓名');
- await page.getByRole('textbox', { name: '筛选推荐', exact: true }).press('Enter');
+ await search.fill('规范姓名');
+ await search.press('Enter');
await page.getByRole('heading', { name: 'DEMO-777 · 演示新作', exact: true }).waitFor();
const geometry = await layout(page);
assert.ok(geometry.scrollWidth <= geometry.viewportWidth + 1);
diff --git a/frontend/e2e/manage-header.test.ts b/frontend/e2e/manage-header.test.ts
index 0cf501535..50994debf 100644
--- a/frontend/e2e/manage-header.test.ts
+++ b/frontend/e2e/manage-header.test.ts
@@ -72,7 +72,7 @@ describe('管理区页头', () => {
before(async () => { browser = await launch(); });
after(async () => { await browser?.close(); });
- it('管理页标题在内容左上角,导航同列,回收站说明按正文宽度居中', { timeout: 180_000 }, async () => {
+ it('管理页标题、导航与正文同宽居中', { timeout: 180_000 }, async () => {
const opened = await visit(browser, '/stats', WIDE);
try {
for (const [path, title, crumb] of HEADS) {
@@ -84,8 +84,8 @@ describe('管理区页头', () => {
const [left, width] = head.columns[0]!;
const [start, end] = head.main;
assert.ok(head.titleFirst, `${path} 标题没有位于导航之前`);
- assert.equal(left, Math.round(start), `${path} 页头没有对齐内容左边缘`);
- assert.equal(width, Math.round(end - start), `${path} 页头没有使用内容宽度`);
+ assert.equal(width, Math.min(1120, Math.round(end - start)), `${path} 页头没有使用正文宽度`);
+ assert.ok(Math.abs((left - start) - (end - left - width)) <= 1, `${path} 页头没有与正文居中对齐`);
if (head.lede) {
const [ledeLeft, ledeWidth] = head.lede;
assert.equal(Math.round(ledeWidth), Math.min(1120, Math.round(end - start)));
diff --git a/frontend/src/application/loading.js b/frontend/src/application/loading.js
index d86b2543e..7342a0eb1 100644
--- a/frontend/src/application/loading.js
+++ b/frontend/src/application/loading.js
@@ -127,14 +127,14 @@ export function installLoading3() {
followState.followContentSkeletonHtml = (media=new URLSearchParams(location.search).get('media')==='images'?'images':'videos',
label='正在读取关注内容')=>pageSkeletonHtml(label,{cards:true,className:'follow-content-skeleton postercard-skeleton',
gridClass:media==='images'?'followlist followphotowall':'',gridSize:photoSize()});
-followState.followSkeletonHtml = (label='正在读取关注内容')=>`<div class="follow">
- <div class="followhead"><h2 class="pagetitle">关注</h2></div>
+followState.followSkeletonHtml = (label='正在读取关注内容')=>`<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>
<div class="tier followworks" data-skeleton-tier="brandpill"></div>
<div class="board-filter-frame" data-filter-frame>
<div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div>
<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>
- ${followState.followContentSkeletonHtml(undefined,label)}</div>`;
+ ${followState.followContentSkeletonHtml(undefined,label)}</div></div>`;
$('#loadSentinel').innerHTML=loadingDotsHtml('继续载入中…');
loadingState.setGridCards = html=>revealSkeleton($('#grid'),()=>{$('#grid').innerHTML=`<div class="grid">${html}</div>`});
loadingState.gridCards = ()=>document.querySelectorAll(
diff --git a/frontend/src/index-skeleton.ts b/frontend/src/index-skeleton.ts
index 3f7998c0c..52210a0e9 100644
--- a/frontend/src/index-skeleton.ts
+++ b/frontend/src/index-skeleton.ts
@@ -7,8 +7,9 @@
* 每次打开前再铺;屏幕上已经是同一张骨架就不重画。
*
* 版式偏好由调用方读好交进来:这个模块壳与 React 包各带一份,设置 store 只能有一份。 */
-import { boardTabsHtml, fitSkeleton, iconSwitchHtml, indexSkeletonHtml, searchInputHtml } from '@peach/legacy/ui';
+import { boardTabsHtml, fitSkeleton, iconSwitchHtml, indexSkeletonHtml } from '@peach/legacy/ui';
import { identityFilterSkeletonHtml } from './identity-filter';
+import { islandSearchInput } from './island-skeleton';
export type IndexPageKind = 'performers' | 'creators' | 'studios' | 'agencies' | 'tags';
@@ -63,10 +64,10 @@ export function indexPlaceholderHtml({ kind, q, scope, view, category }: IndexPa
const title = INDEX_TITLES[kind] || '标签', people = kind !== 'tags', company = kind === 'studios' || kind === 'agencies';
const switcher = people
? iconSwitchHtml('people-layout', title + '索引版式', company ? COMPANY_LAYOUTS : PEOPLE_LAYOUTS, layout) : '';
- return `<div class="ihead">
+ return `<div class="ihead peach-react">
<h2 class="disp indexheading">${title}</h2>
${people ? '<span class="mono" id="indexCount"><span class="countskeleton"></span></span>' : ''}${switcher}
- ${searchInputHtml({ label: '过滤' + title, value: q || '' })}
+ <div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${islandSearchInput('', q, '过滤' + title)}</div>
</div>
${kind === 'tags' ? tabs(INDEX_SCOPES, scope, '词表') : kind === 'performers' || kind === 'creators'
? tabs(PEOPLE_INDEX_TABS, kind === 'performers' && scope === 'online' ? 'online' : kind, '人物名册')
diff --git a/frontend/src/island-skeleton.ts b/frontend/src/island-skeleton.ts
index b78e6a256..2996e30dd 100644
--- a/frontend/src/island-skeleton.ts
+++ b/frontend/src/island-skeleton.ts
@@ -5,6 +5,8 @@
* 那几项(`frontend/src/react/boardui/components/base/buttons/button.tsx` 的 size / variant /
* icon / label 四张表),悬停、按下、焦点环留给接管后的真按键。 */
+import { esc } from '@peach/legacy/core';
+
type Variant = 'primary' | 'secondary' | 'ghost';
type Size = 'medium' | 'small';
@@ -30,6 +32,11 @@ const VARIANT: Record<Variant, string> = {
export const islandGlyph = (name: string, cls: string): string =>
`<svg class="${cls}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${name}"/></svg>`;
+/** 与 Board Input 的中号外框、前缀和正文使用相同几何。 */
+export function islandSearchInput(placeholder: string, value = '', label = placeholder): string {
+ 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">${islandGlyph('search', 'size-5 shrink-0')}<input type="search" readonly tabindex="-1" aria-label="${esc(label)}" value="${esc(value)}" placeholder="${esc(placeholder)}" 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>`;
+}
+
export interface IslandButton {
variant?: Variant;
size?: Size;
diff --git a/frontend/src/jav-skeleton.ts b/frontend/src/jav-skeleton.ts
index d42eac641..205327f9a 100644
--- a/frontend/src/jav-skeleton.ts
+++ b/frontend/src/jav-skeleton.ts
@@ -1,17 +1,27 @@
-import { islandButton, islandGlyph } from './island-skeleton';
+import { islandButton, islandSearchInput } from './island-skeleton';
import { JAV_TABS } from './react/jav/jav-navigation';
const text = (width: string) => `<span class="skeleton block h-5 rounded-md" style="width:${width}" aria-hidden="true"></span>`;
const cover = (classes: string) => `<span data-jav-skeleton-cover class="skeleton ${classes}"></span>`;
-const search = `<div class="flex h-11 items-center gap-2 rounded-2lg bg-background-tertiary-default px-3">${islandGlyph('search', 'size-5 shrink-0')}<span class="text-body-regular text-text-secondary">筛选番号、女优或标题</span></div>`;
export const JAV_RECOMMENDATION_GRID = 'inline-grid w-full min-w-0 gap-5 sm:grid-cols-2 lg:grid-cols-3';
/** 占位复用推荐卡与想要行的宽度、封面比例和列数。 */
export function javContentSkeleton(tab: string): string {
if (tab === 'wants') return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${text('5em')}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${cover('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">${text('80%')}${text('60%')}${text('40%')}</div></div>`).join('')}</div>`;
- return `<div class="${JAV_RECOMMENDATION_GRID}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div class="flex min-w-0 flex-col gap-3">${cover('block w-full aspect-card-cover rounded-2lg')}${text('85%')}${text('65%')}${text('55%')}<span class="skeleton block h-8 w-32 rounded-md"></span></div>`).join('')}</div>`;
+ return `<div class="${JAV_RECOMMENDATION_GRID}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card class="flex min-w-0 flex-col gap-3">
+ ${cover('block w-full aspect-card-cover rounded-2lg')}
+ <div class="flex h-10 flex-col">${text('85%')}${text('65%')}</div>
+ <div class="flex h-10 items-center gap-2"><span data-jav-skeleton-avatar class="skeleton block size-9 shrink-0 rounded-full"></span>${text('55%')}</div>
+ ${text('55%')}
+ <span data-jav-skeleton-actions class="skeleton block h-9 w-32 rounded-md"></span>
+ </div>`).join('')}</div>`;
}
export function javPageSkeleton(tab: string): string {
- return `<div class="peach-react"><div class="flex w-full flex-col gap-6"><div class="flex 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>${islandButton({ variant: 'secondary', label: '查找资源', attrs: 'disabled data-skeleton-action' })}</div><div class="flex gap-1">${JAV_TABS.map(([key, label]) => `<span class="rounded-md px-3 py-2 text-body-regular ${key === tab ? 'bg-background-tertiary-default text-text-primary' : 'text-text-secondary'}">${label}</span>`).join('')}</div>${search}${tab === '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>${text('100%')}</div>` : ''}${javContentSkeleton(tab)}</div></div>`;
+ const filterLabel = tab === '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>${islandButton({ 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">${JAV_TABS.map(([key, label]) => `<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 ${key === tab ? 'bg-background-tertiary-default text-text-primary' : 'text-text-secondary'}">${label}</span>`).join('')}</div></div>
+ <form aria-label="${filterLabel}">${islandSearchInput('筛选番号、女优或标题', '', filterLabel)}</form>
+ ${tab === '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>${text('100%')}</div>` : ''}${javContentSkeleton(tab)}</div></div>`;
}
diff --git a/frontend/src/react/activity/cloud-download-dialog.tsx b/frontend/src/react/activity/cloud-download-dialog.tsx
index 0db8153c1..76a333f85 100644
--- a/frontend/src/react/activity/cloud-download-dialog.tsx
+++ b/frontend/src/react/activity/cloud-download-dialog.tsx
@@ -3,6 +3,7 @@
import { useRef, useState, type FormEvent, type ReactNode } from 'react';
import { useQuery, useQueryClient } from '@tanstack/react-query';
import { Heading } from 'react-aria-components';
+import { RiCloseLine } from '@remixicon/react';
import { Button } from '@/components/base/buttons/button';
import { Input } from '@/components/base/input/input';
@@ -54,8 +55,9 @@ function Body({ prefill, close, receipt, provider }: {
});
const data = query.data;
const header = (
- <div className="flex flex-col gap-1 px-5 pt-5">
+ <div className="flex items-center justify-between gap-4 px-5 pt-5">
<Heading slot="title" className="text-title-2-semibold text-text-primary">查找资源</Heading>
+ <Button variant="ghost" iconOnly leadingIcon={RiCloseLine} aria-label="关闭资源面板" onClick={close} />
</div>
);
if (data) {
diff --git a/frontend/src/react/follow-feed/follow-feed.css b/frontend/src/react/follow-feed/follow-feed.css
index 3f4ac1543..c2eb4de5c 100644
--- a/frontend/src/react/follow-feed/follow-feed.css
+++ b/frontend/src/react/follow-feed/follow-feed.css
@@ -1,13 +1,13 @@
/* 关注页(`follow-feed-page.tsx`、`follow-card.tsx`)。
*
- * 取值同遗留层:页头与两排取 `web/css/21-online.css` 的 `.follow`/`.followhead`/`.followauthors`/
+ * 取值同遗留层:页头与两排取 `web/css/21-online.css` 的 `.follow`/`.followauthors`/
* `.followworks` 与 `web/board.css` 对 `.av`、`.brandpill` 的覆盖;卡片在作品卡(`../components/
* media-card.css`)之上补关注卡自己多出来的几格,取 `21-online.css` 的 `.followitem` 一族。筛选浮层、
* 状态药丸、读数与排序键、交集条与资料页那一块同一套(`../entity-filter/entity-filter.css`),这里只补
* 来源图标键、类型色标签、「仅显示图片」键与页脚那一行。
*
* 进页整块骨架由壳的 `followSkeletonHtml` 画,用的是遗留类名(`.follow`、`.tier`、`.board-filter-frame`),
- * 几何仍归遗留样式表;这里的高度、内边距要和它对上,骨架换成真内容时版面不跳。
+ * 页头几何共用本文件的 `data-follow-head`、`data-follow-title`;其余骨架由共享布局样式占位。
*
* 选择器全用 `data-*`:遗留样式表不分层、排在后面,写遗留类名会被接管。 */
diff --git a/frontend/src/react/jav/jav-header.tsx b/frontend/src/react/jav/jav-header.tsx
index 3c5a23240..0e10d8854 100644
--- a/frontend/src/react/jav/jav-header.tsx
+++ b/frontend/src/react/jav/jav-header.tsx
@@ -10,7 +10,7 @@ export function JavHeader({ tab, navigate, find }: {
return <div className="flex w-full flex-col gap-4">
<div className="flex flex-wrap items-center justify-between gap-2">
<h2 data-page-title="" className="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>
- <Button variant="secondary" onClick={find}>查找资源</Button>
+ <Button variant="primary" onClick={find}>查找资源</Button>
</div>
<BoardTabs tabs={JAV_TABS.map(([value, label]) => ({ value, label }))} value={tab}
label="JAV 分区" className="" onChange={key => navigate(javPath(key))} />
diff --git a/frontend/src/react/jav/jav-page.tsx b/frontend/src/react/jav/jav-page.tsx
index 12b0c2fe2..f16215ef9 100644
--- a/frontend/src/react/jav/jav-page.tsx
+++ b/frontend/src/react/jav/jav-page.tsx
@@ -1,9 +1,9 @@
import { useState, type FormEvent } from 'react';
import { useQuery } from '@tanstack/react-query';
-import { RiSearchLine, RiCompassLine } from '@remixicon/react';
+import { RiCompassLine, RiExternalLinkLine } from '@remixicon/react';
import { Button, ButtonLink } from '@/components/base/buttons/button';
import { Input } from '@/components/base/input/input';
-import { coverUrl } from '@peach/card-art';
+import { coverUrl, coverImage, entityAvatar } from '@peach/card-art';
import { javContentSkeleton, JAV_RECOMMENDATION_GRID } from '../../jav-skeleton';
import { apiGet, errorMessage } from '../../api';
import { CloudDownloadDialog, type DownloadPrefill } from '../activity/cloud-download-dialog';
@@ -15,28 +15,30 @@ import { addWant, invalidateWants } from '../wants/wants';
import { busyProps, useAction } from '../settings/use-action';
import { rankedDiscoveries, type Discovery } from './jav';
import { JavHeader } from './jav-header';
+import { spriteGlyph } from '../components/sprite-glyph';
+
+const SearchGlyph = spriteGlyph('search');
export function JavPage({ tab, readOnly, navigate, receipt }: {
tab: string; readOnly: boolean; navigate(path: string): void; receipt(message: string): void;
}) {
const [download, setDownload] = useState<DownloadPrefill | null>(null);
const [text, setText] = useState('');
- const [query, setQuery] = useState('');
- const search = (event: FormEvent) => { event.preventDefault(); setQuery(text.trim()) };
+ const search = (event: FormEvent) => { event.preventDefault() };
return <div className="flex w-full flex-col gap-6">
<JavHeader tab={tab} navigate={navigate} find={() => setDownload({})} />
<form aria-label={tab === 'discover' ? '筛选推荐' : '筛选想要'} onSubmit={search}>
- <Input aria-label={tab === 'discover' ? '筛选推荐' : '筛选想要'} placeholder="筛选番号、女优或标题" leadingIcon={RiSearchLine}
+ <Input type="search" aria-label={tab === 'discover' ? '筛选推荐' : '筛选想要'} placeholder="筛选番号、女优或标题" leadingIcon={SearchGlyph}
value={text} onChange={setText} enterKeyHint="search" />
</form>
{tab === 'discover'
- ? <Discover readOnly={readOnly} receipt={receipt} resource={setDownload} query={query} />
- : <WantList readOnly={readOnly} toast={receipt} query={query} />}
+ ? <Discover readOnly={readOnly} receipt={receipt} resource={setDownload} query={text.trim()} navigate={navigate} />
+ : <WantList readOnly={readOnly} toast={receipt} query={text.trim()} />}
<CloudDownloadDialog prefill={download} close={() => setDownload(null)} receipt={receipt} />
</div>;
}
-function Discover({ readOnly, receipt, resource, query }: { readOnly: boolean; receipt(message: string): void; resource(work: DownloadPrefill): void; query: string }) {
+function Discover({ readOnly, receipt, resource, query, navigate }: { readOnly: boolean; receipt(message: string): void; resource(work: DownloadPrefill): void; query: string; navigate(path: string): void }) {
const taste = useQuery({ queryKey: tasteKey('all'), queryFn: ({ signal }) => fetchTaste('all', signal) });
const discoveries = useQuery({ queryKey: ['jav-discoveries'], queryFn: ({ signal }) => apiGet<{ items: Discovery[] }>('/api/feeds/discoveries?limit=100', signal) });
const action = useAction();
@@ -52,23 +54,32 @@ function Discover({ readOnly, receipt, resource, query }: { readOnly: boolean; r
</EmptyState> : null}
{action.error ? <Note tone="error">{action.error}</Note> : null}
<div className={JAV_RECOMMENDATION_GRID}>
- {items.map(item => <article key={item.id} className="flex min-w-0 flex-col gap-3">
- <div className="relative inline-grid aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default">
+ {items.map(item => <article key={item.id} data-media-card="" data-jav-card="">
+ <div data-media-pic="" data-jav-cover="" className="relative inline-grid aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default">
<span className="text-text-secondary">无封面</span>
- {item.has_cover || item.cover_url ? <img alt="" src={item.has_cover ? coverUrl(item, true) : item.cover_url}
- referrerPolicy="no-referrer" onError={event => event.currentTarget.remove()} className="absolute inset-0 size-full object-cover" /> : null}
+ {item.has_cover ? <span className="contents" dangerouslySetInnerHTML={{ __html: coverImage(item, 'big') }} />
+ : item.cover_url ? <img alt="" src={item.cover_url} loading="lazy" decoding="async"
+ referrerPolicy="no-referrer" onError={event => event.currentTarget.remove()} className="absolute inset-0 size-full object-cover" /> : null}
+ </div>
+ <h3 data-jav-title="" title={`${item.code} · ${item.title || '标题未取得'}`}>{item.code} · {item.title || '标题未取得'}</h3>
+ <div data-jav-identity="">
+ <div data-media-avatars="">
+ {(item.performer_refs || []).slice(0, 5).map(ref => <a key={ref.id} data-media-avatar=""
+ href={`/performers/${encodeURIComponent(ref.name)}`} aria-label={`查看 ${ref.name}`} title={ref.name}
+ onClick={event => { event.preventDefault(); navigate(`/performers/${encodeURIComponent(ref.name)}`) }}
+ dangerouslySetInnerHTML={{ __html: entityAvatar(ref.name, ref, 'performer') }} />)}
+ </div>
+ <p className="min-w-0 truncate text-body-2-regular text-text-secondary" title={item.performers}>{[item.performers, item.release_date].filter(Boolean).join(' · ')}</p>
</div>
- <h3 className="break-words text-body-medium text-text-primary">{item.code} · {item.title || '标题未取得'}</h3>
- <p className="break-words text-body-2-regular text-text-secondary">{[item.performers, item.release_date].filter(Boolean).join(' · ')}</p>
- <p className="text-body-2-regular text-text-secondary">你常看的女优:{item.matches.join('、')}</p>
- <div className="flex flex-wrap gap-2">
+ <p className="truncate text-body-2-regular text-text-secondary" title={`你常看的女优:${item.matches.join('、')}`}>你常看的女优:{item.matches.join('、')}</p>
+ <div data-jav-actions="" className="flex flex-wrap gap-2">
<Button variant="secondary" onClick={() => resource({ ...item, cover: item.has_cover ? coverUrl(item, true) : item.cover_url, origin: `feed:${item.id}` })}>查找资源</Button>
- <Button variant="secondary" disabled={readOnly || item.wanted} {...busyProps(action.busy === String(item.id))} onClick={() => {
+ <Button variant="ghost" disabled={readOnly || item.wanted} {...busyProps(action.busy === String(item.id))} onClick={() => {
void action.run(String(item.id), signal => addWant({ code: item.code }, signal), () => {
receipt('已加入想要'); void invalidateWants(); void discoveries.refetch();
});
}}>{item.wanted ? '已加入想要' : '想要'}</Button>
- {item.link ? <ButtonLink variant="secondary" href={item.link} target="_blank" rel="noopener noreferrer">作品来源</ButtonLink> : null}
+ {item.link ? <ButtonLink data-button-link="" variant="secondary" trailingIcon={RiExternalLinkLine} href={item.link} target="_blank" rel="noopener noreferrer">作品来源</ButtonLink> : null}
</div>
</article>)}
</div>
diff --git a/frontend/src/react/jav/jav.css b/frontend/src/react/jav/jav.css
new file mode 100644
index 000000000..474300983
--- /dev/null
+++ b/frontend/src/react/jav/jav.css
@@ -0,0 +1,18 @@
+/* 推荐卡复用馆藏的悬停、封面和身份头像;文字区和操作区保持同一排版高度。 */
+.peach-react [data-jav-card] { align-self: stretch; gap: 12px; cursor: default; }
+.peach-react [data-jav-cover] { aspect-ratio: 1.6; }
+.peach-react [data-jav-skeleton-avatar],
+.peach-react [data-jav-skeleton-actions] { height: 36px; }
+.peach-react [data-jav-title] {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2;
+ overflow: hidden;
+ overflow-wrap: anywhere;
+ min-height: 40px;
+ margin: 0;
+ font: var(--board-body-medium);
+}
+.peach-react [data-jav-identity] { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 40px; }
+.peach-react [data-jav-identity] [data-media-avatars] { max-width: 50%; }
+.peach-react [data-jav-actions] { margin-top: auto; }
diff --git a/frontend/src/react/jav/jav.ts b/frontend/src/react/jav/jav.ts
index 8fbadfc13..25c7ad80b 100644
--- a/frontend/src/react/jav/jav.ts
+++ b/frontend/src/react/jav/jav.ts
@@ -3,12 +3,13 @@ import { fetchTaste, tasteKey } from '../taste/taste';
import { apiGet } from '../../api';
import { queryClient } from '../query';
import { fetchWants, WANTS_KEY } from '../wants/wants';
+import type { FaceRef } from '@peach/card-art';
export { JAV_TABS, javTab, javPath, javLibraryPath } from './jav-navigation';
export interface Discovery {
id: number; code: string; title: string; performers: string; release_date: string;
studio: string; link: string; cover_url: string; has_cover: boolean; wanted: boolean;
- performer_refs?: { id: number; name: string }[];
+ performer_refs?: (FaceRef & { id: number; name: string })[];
}
export async function prefetchJav(tab: string, signal: AbortSignal) {
diff --git a/frontend/src/react/manage-header/manage-header.css b/frontend/src/react/manage-header/manage-header.css
index 10faa8948..24067f82b 100644
--- a/frontend/src/react/manage-header/manage-header.css
+++ b/frontend/src/react/manage-header/manage-header.css
@@ -1,6 +1,6 @@
/* 管理区页头(常驻面 `manage-header`,`frontend/src/react/manage-header/`):管理条、面包屑、页面标题与回收站说明行。
*
- * 标题与导航对齐内容左上角,回收站说明行跟随正文的 `--board-content` 宽度。
+ * 标题、导航与说明行跟随正文的 `--board-content` 宽度。
* `peach-app.css` 先于 `/app.css` 加载,遗留层里同权重的规则会压过这里,所以选择器都比遗留层的
* 元素规则多一级。与遗留层同名的类一条不写(`test/legacy-class-names.test.ts`);扫光占位沿用全站的
* `.skeleton`,只在这里定尺寸与底色。 */
@@ -11,7 +11,7 @@
/* ── 管理条 ──
一排页面去处,当前项使用中性填充。超宽时横滚,
两端渐隐与滚轮转横向由壳的横滚层清单接(`src/ui-kit/scroll.ts` 的 `BOARD_EDGE_SCROLLERS`)。 */
-[data-manage-bar]{display:block;max-width:none;margin-top:0;margin-bottom:24px}
+[data-manage-bar]{display:block;margin-top:0;margin-bottom:24px}
[data-manage-menu]{position:relative;display:flex;flex-wrap:nowrap;gap:4px;margin:0;padding:0;overflow-x:auto;scrollbar-width:none}
[data-manage-menu]::-webkit-scrollbar{display:none}
[data-manage-menu]>button{position:relative;display:inline-flex;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;min-height:36px;border:0;border-radius:var(--control-radius);background:none;color:var(--ink-2);font-size:14px;font-weight:400;white-space:nowrap;cursor:pointer}
@@ -22,7 +22,7 @@
/* ── 面包屑 ──
Geist Breadcrumbs(vercel.com/geist/breadcrumbs 实测):上一级与分隔符 `--muted`、当前页 `--ink`,
悬停同样升亮;分隔符是 16px chevron,钉在 `--muted` 上不随当前项提亮;项与项、字与分隔符都留 6px。 */
-[data-manage-crumb]{display:block;max-width:none;margin-top:0;margin-bottom:12px}
+[data-manage-crumb]{display:block;margin-top:0;margin-bottom:12px}
[data-manage-crumb] ol{display:flex;align-items:center;gap:6px;margin:0;padding:0;list-style:none}
[data-manage-crumb] li{display:flex;align-items:center;gap:6px;font-size:var(--fs-md);line-height:20px;color:var(--muted);transition:color .2s ease}
[data-manage-crumb] li[aria-current]{color:var(--ink)}
@@ -32,7 +32,7 @@
/* ── 页面标题 ──
字形同全站页面标题(Board Title,窄屏 Board Figure);正文是 812px 窄列的那几页在窄屏上再收一档。 */
-h2[data-manage-title]{max-width:none;margin-top:0;margin-bottom:24px;font:var(--board-title);letter-spacing:0}
+h2[data-manage-title]{margin-top:0;margin-bottom:24px;font:var(--board-title);letter-spacing:0}
@media(max-width:760px){
h2[data-manage-title]{font:var(--board-figure)}
h2[data-manage-title][data-compact]{font-size:22px}
diff --git a/frontend/src/react/styles.css b/frontend/src/react/styles.css
index 3f01086d5..8e990acd8 100644
--- a/frontend/src/react/styles.css
+++ b/frontend/src/react/styles.css
@@ -24,6 +24,7 @@
@import "./search/search.css";
@import "./entity-body/entity-body.css";
@import "./follow-feed/follow-feed.css";
+@import "./jav/jav.css";
@import "./follow-detail/follow-detail.css";
@import "./item-detail/item-detail.css";
@import "./photo-lightbox/photo-lightbox.css";
@@ -60,6 +61,8 @@
@source "../management-skeletons.ts";
@source "../catalog-filter-skeleton.ts";
@source "../jav-skeleton.ts";
+@source "../island-skeleton.ts";
+@source "../index-skeleton.ts";
/* 扫描不分代码与注释:这几个词各在注释里出现过,生成出来就和旧样式表的 `.ring`、`.grid`、
* `.sr-only` 同名。React 子树三个类都不用——只读屏的文字走 `VisuallyHidden`,它把样式写在
* 元素上。直接不生成。 */
diff --git a/src/peach/web_feeds.py b/src/peach/web_feeds.py
index 54054a2d7..cd7b6391c 100644
--- a/src/peach/web_feeds.py
+++ b/src/peach/web_feeds.py
@@ -509,7 +509,8 @@ def q_feed_discoveries(contract, args) -> dict:
for name in re.split(r"[,,、;/]", row["performers"] or ""):
found = identities.get(name.strip())
if found and found["id"] not in {ref["id"] for ref in refs}:
- refs.append({"id": int(found["id"]), "name": found["canonical_name"]})
+ refs.append(web_catalog.entity_ref(
+ contract, "performer", int(found["id"]), found["canonical_name"]))
performers[int(row["id"])] = refs
more = len(rows) > limit
# 最近一轮取新作资料里封面断在连接上的部数。只看最近这一轮:换了线路之后下一轮取到,
diff --git a/tests/test_feeds_web.py b/tests/test_feeds_web.py
index 6a0c1e449..b5ada9446 100644
--- a/tests/test_feeds_web.py
+++ b/tests/test_feeds_web.py
@@ -7,6 +7,7 @@ import sys
import tempfile
import time
import unittest
+from unittest.mock import patch
from datetime import datetime, timedelta, timezone
from pathlib import Path
@@ -407,7 +408,16 @@ class FeedWebTest(FeedWebFixture):
self.assertEqual(item["title"], "SSIS-950 的标题")
self.assertEqual(item["studio"], "示例厂牌")
self.assertEqual(item["performers"], "深田えいみ")
- self.assertEqual(item["performer_refs"], [{"id": 1, "name": "深田えいみ"}])
+ self.assertEqual(item["performer_refs"], [{"id": 1, "name": "深田えいみ", "has_image": False}])
+ focus = {"axis": "y", "pct": 20}
+ with (patch.object(WebContract, "has_entity_image", return_value=True),
+ patch.object(WebContract, "entity_image_version", return_value="face-v1"),
+ patch.object(WebContract, "avatar_focus", return_value=focus)):
+ pictured = dispatch_api_get(self.contract, "/api/feeds/discoveries", {})["items"]
+ self.assertEqual(pictured[0]["performer_refs"], [{
+ "id": 1, "name": "深田えいみ", "has_image": True,
+ "image_version": "face-v1", "avatar_focus": focus,
+ }])
# 壳只认已有的人,不新建实体;关联上了人物页那一块才看得到。
self.assertEqual(len(dispatch_api_get(
self.contract, "/api/feeds/discoveries", {"entity": 1})["items"]), 2)
diff --git a/web/board.css b/web/board.css
index 1f6331d16..141eed0a6 100644
--- a/web/board.css
+++ b/web/board.css
@@ -579,14 +579,14 @@ button,input,select,textarea{font-family:inherit}
面板、筛选条、交集条和标签骨架都从它取值,一处改完五处一起走。 */
:root{--tag-radius:8px}
body,.disp{font-family:var(--board-font);letter-spacing:0}body{font:var(--board-body)}button,input,textarea,select{font-family:var(--board-font)}
-.pagetitle,.listtitle,.index .ihead h2,.indexheading{font:var(--board-title);letter-spacing:0}.configfieldset h2,.configfieldset h3,.cleanupfieldset h3{font:var(--board-heading);letter-spacing:0}.board-library-rows button{font:var(--board-body)}
+.listtitle,.index .ihead h2,.indexheading{font:var(--board-title);letter-spacing:0}.configfieldset h2,.configfieldset h3,.cleanupfieldset h3{font:var(--board-heading);letter-spacing:0}.board-library-rows button{font:var(--board-body)}
.geist-button,.resourceaction{background-color:var(--color-background-primary-default);border-color:var(--color-border-button-default);color:var(--color-text-primary);transition:background-color .15s ease,border-color .15s ease,color .15s ease}
/* 悬停只抬填充,那圈线一步不动:按钮静止态已经带一圈 1px,悬停再把它加深,
鼠标扫过一排次级键就是一排边框忽明忽暗,而键本身并没有变化。 */
.geist-button:hover:not(:disabled),.resourceaction:hover:not(:disabled){background-color:var(--color-background-primary-hover);color:var(--color-text-primary)}
/* 强调档那一面连同悬停只在下面 `body :is(…).primary` 一处给出。 */
.geist-button.danger:hover:not(:disabled),.resourceaction.danger:hover:not(:disabled){background:var(--drop);color:#fff}
-@media(max-width:760px){.pagetitle,.listtitle,.index .ihead h2,.indexheading{font:var(--board-figure)}input.geist-input,.geist-search input{font-size:16px}}
+@media(max-width:760px){.listtitle,.index .ihead h2,.indexheading{font:var(--board-figure)}input.geist-input,.geist-search input{font-size:16px}}
/* 每类骨架保留实际内容的列宽、轮廓和留白。 */
.board-page-skeleton{max-width:var(--board-content);width:100%;margin:auto}
diff --git a/web/css/11-identity.css b/web/css/11-identity.css
index 32af6e9c1..9b8e177f9 100644
--- a/web/css/11-identity.css
+++ b/web/css/11-identity.css
@@ -2,7 +2,7 @@
在侧栏里一路点过去就是三种大小;间距由各自的版式决定,字形不再各拍各的。 */
/* 行高 1.25 取自 2026-09-04 实测的 Geist Heading 32(32px/40px/600)。字距那一档
不照抄:Geist 的 -0.04em 是给拉丁字母调的,压在中文标题上会把字挤成一团。 */
-.pagetitle,.listtitle,.index .ihead h2{
+.listtitle,.index .ihead h2{
font-size:var(--fs-3xl);line-height:1.25;letter-spacing:-.01em;font-weight:600}
-.listtitle,.follow>.pagetitle{margin:0 0 20px}
+.listtitle{margin:0 0 20px}
.listtitle[hidden]{display:none}
diff --git a/web/css/19-immersive.css b/web/css/19-immersive.css
index 61d531877..9f15e824d 100644
--- a/web/css/19-immersive.css
+++ b/web/css/19-immersive.css
@@ -71,7 +71,7 @@
.stats h2{font-size:var(--fs-xl)}.stats .insightcopy h2{font-size:var(--fs-3xl)}
/* 窄屏下标题也得一起缩。`/follow` 渲染在 `#stats` 里,上面那条 `.stats h2`
会只把它打到 23px,页面标题要跟它同一档。 */
- .pagetitle,.listtitle,.index .ihead h2{font-size:var(--fs-2xl)}
+ .listtitle,.index .ihead h2{font-size:var(--fs-2xl)}
}
/* 这个 16px 是 iOS 的阈值,不是刻度里的一档:Safari 对小于 16px 的输入框会自动放大页面。
所以它写死,不跟 --fs-lg 走——刻度改一档就把这个防放大保护悄悄破坏掉了。 */
@@ -80,7 +80,7 @@
页面标题压得比它下面 24px 的指标数字还小,层级整个翻过来。24 这一档是 Geist
自己就有的 Heading 24,不是新开的字号。 */
@media (max-width:640px){
- .pagetitle,.listtitle,.index .ihead h2{font-size:var(--fs-xl)}
+ .listtitle,.index .ihead h2{font-size:var(--fs-xl)}
}
#searchBtn{display:none}
.searchback{display:none}
diff --git a/web/css/21-online.css b/web/css/21-online.css
index b203dc33e..fb9b530e8 100644
--- a/web/css/21-online.css
+++ b/web/css/21-online.css
@@ -1,7 +1,5 @@
/* ── 在线追更 ── */
.follow{padding:4px 0 42px}
-.followhead{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}
-.followhead .pagetitle{margin:0}
/* 这个文件只剩进页骨架(`followContentSkeletonHtml`)在用;页面本身归 `follow-feed` 岛
(`frontend/src/react/follow-feed/follow-feed.css`,卡上的站点图标、版本字样与另见徽章也在那里),
详情归 `follow-detail` 岛(`frontend/src/react/follow-detail/follow-detail.css`)。 */
@@ -13,7 +11,7 @@
@media (max-width:1400px){.followlist.followphotowall{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:1000px){.followlist.followphotowall{grid-template-columns:repeat(3,minmax(0,1fr))}}
.followphotowall[data-images-only="true"] .skeletoncard :is(b,em){display:none}
-@media (max-width:640px){.followhead{align-items:center}
+@media (max-width:640px){
.followauthors{margin-right:-12px;padding-top:3px}
.followlist.followphotowall{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}
}
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 804a8d0f3..b18f72841 100644
--- a/web/dist/peach-app.css
+++ b/web/dist/peach-app.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-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-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\: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-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-60{width:calc(var(--spacing) * 60)}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration]){opacity:0}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-company-names]{flex-basis:100%}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]){height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :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,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);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-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-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-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.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 [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :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-top:7px}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;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-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}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]: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}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}[data-settings-panel] [data-settings-service]{z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}[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]{max-width:none;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]{max-width:none;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]{max-width:none;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}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-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-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\: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-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-60{width:calc(var(--spacing) * 60)}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration]){opacity:0}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-company-names]{flex-basis:100%}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]){height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :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,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);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-jav-card]{cursor:default;align-self:stretch;gap:12px}.peach-react [data-jav-cover]{aspect-ratio:1.6}.peach-react [data-jav-skeleton-avatar],.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-title]{-webkit-line-clamp:2;overflow-wrap:anywhere;min-height:40px;font:var(--board-body-medium);-webkit-box-orient:vertical;margin:0;display:-webkit-box;overflow:hidden}.peach-react [data-jav-identity]{align-items:center;gap:8px;min-width:0;min-height:40px;display:flex}.peach-react [data-jav-identity] [data-media-avatars]{max-width:50%}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-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-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.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 [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :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-top:7px}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;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-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}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]: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}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}[data-settings-panel] [data-settings-service]{z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}[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}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index ccb6c2e78..a66901b3b 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -875,9 +875,9 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
switch (Se(Te, t), Se(we, e), Se(Ce, null), t.nodeType) {
case 9:
case 11:
- e = (e = t.documentElement) && (e = e.namespaceURI) ? lp(e) : 0;
+ e = (e = t.documentElement) && (e = e.namespaceURI) ? cp(e) : 0;
break;
- default: if (e = t.tagName, t = t.namespaceURI) t = lp(t), e = up(t, e);
+ default: if (e = t.tagName, t = t.namespaceURI) t = cp(t), e = lp(t, e);
else switch (e) {
case "svg":
e = 1;
@@ -895,12 +895,12 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
function ke(e) {
var t = e.memoizedState;
- t !== null && (Qm._currentValue = t.memoizedState, Se(Ee, e)), t = Ce.current;
- var n = up(t, e.type);
+ t !== null && (th._currentValue = t.memoizedState, Se(Ee, e)), t = Ce.current;
+ var n = lp(t, e.type);
t !== n && (Se(we, e), Se(Ce, n));
}
function Ae(e) {
- we.current === e && (xe(Ce), xe(we)), Ee.current === e && (xe(Ee), Qm._currentValue = _e);
+ we.current === e && (xe(Ce), xe(we)), Ee.current === e && (xe(Ee), th._currentValue = _e);
}
var je, Me;
function Ne(e) {
@@ -1018,18 +1018,18 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
return "\nError generating stack: " + e.message + "\n" + e.stack;
}
}
- var Re = Object.prototype.hasOwnProperty, ze = t.unstable_scheduleCallback, Be = t.unstable_cancelCallback, Ve = t.unstable_shouldYield, He = t.unstable_requestPaint, Ue = t.unstable_now, We = t.unstable_getCurrentPriorityLevel, Ge = t.unstable_ImmediatePriority, Ke = t.unstable_UserBlockingPriority, qe = t.unstable_NormalPriority, eee = t.unstable_LowPriority, Je = t.unstable_IdlePriority, Ye = t.log, Xe = t.unstable_setDisableYieldValue, Ze = null, Qe = null;
+ var Re = Object.prototype.hasOwnProperty, ze = t.unstable_scheduleCallback, Be = t.unstable_cancelCallback, Ve = t.unstable_shouldYield, He = t.unstable_requestPaint, Ue = t.unstable_now, We = t.unstable_getCurrentPriorityLevel, Ge = t.unstable_ImmediatePriority, Ke = t.unstable_UserBlockingPriority, qe = t.unstable_NormalPriority, Je = t.unstable_LowPriority, Ye = t.unstable_IdlePriority, eee = t.log, Xe = t.unstable_setDisableYieldValue, Ze = null, Qe = null;
function $e(e) {
- if (typeof Ye == "function" && Xe(e), Qe && typeof Qe.setStrictMode == "function") try {
+ if (typeof eee == "function" && Xe(e), Qe && typeof Qe.setStrictMode == "function") try {
Qe.setStrictMode(Ze, e);
} catch {}
}
- var et = Math.clz32 ? Math.clz32 : rt, tt = Math.log, nt = Math.LN2;
- function rt(e) {
- return e >>>= 0, e === 0 ? 32 : 31 - (tt(e) / nt | 0) | 0;
+ var et = Math.clz32 ? Math.clz32 : nee, tt = Math.log, tee = Math.LN2;
+ function nee(e) {
+ return e >>>= 0, e === 0 ? 32 : 31 - (tt(e) / tee | 0) | 0;
}
- var it = 256, at = 262144, ot = 4194304;
- function st(e) {
+ var nt = 256, rt = 262144, it = 4194304;
+ function at(e) {
var t = e & 42;
if (t !== 0) return t;
switch (e & -e) {
@@ -1067,18 +1067,18 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
default: return e;
}
}
- function ct(e, t, n) {
+ function ot(e, t, n) {
var r = e.pendingLanes;
if (r === 0) return 0;
var i = 0, a = e.suspendedLanes, o = e.pingedLanes;
e = e.warmLanes;
var s = r & 134217727;
- return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = st(n))) : i = st(o) : i = st(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = st(n))) : i = st(o)) : i = st(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;
+ return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = at(n))) : i = at(o) : i = at(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = at(n))) : i = at(o)) : i = at(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;
}
- function lt(e, t) {
+ function st(e, t) {
return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;
}
- function ut(e, t) {
+ function ct(e, t) {
t & 8 && (t |= t & 32);
var n = e.entangledLanes;
if (n !== 0) for (e = e.entanglements, n &= t; 0 < n;) {
@@ -1087,7 +1087,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return t;
}
- function dt(e, t) {
+ function lt(e, t) {
switch (e) {
case 1:
case 2:
@@ -1123,18 +1123,18 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
default: return -1;
}
}
- function ft() {
- var e = ot;
- return ot <<= 1, !(ot & 62914560) && (ot = 4194304), e;
+ function ut() {
+ var e = it;
+ return it <<= 1, !(it & 62914560) && (it = 4194304), e;
}
- function pt(e) {
+ function dt(e) {
for (var t = [], n = 0; 31 > n; n++) t.push(e);
return t;
}
- function mt(e, t) {
+ function ft(e, t) {
e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);
}
- function ht(e, t, n, r, i, a) {
+ function pt(e, t, n, r, i, a) {
var o = e.pendingLanes;
e.pendingLanes = n, e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0, e.expiredLanes &= n, e.entangledLanes &= n, e.errorRecoveryDisabledLanes &= n, e.shellSuspendCounter = 0;
var s = e.entanglements, c = e.expirationTimes, l = e.hiddenUpdates;
@@ -1148,9 +1148,9 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
n &= ~d;
}
- r !== 0 && gt(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));
+ r !== 0 && mt(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));
}
- function gt(e, t, n) {
+ function mt(e, t, n) {
e.pendingLanes |= t, e.suspendedLanes &= ~t;
var r = 31 - et(t);
e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;
@@ -1162,7 +1162,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
i & t | e[r] & t && (e[r] |= t), n &= ~i;
}
}
- function _t(e, t) {
+ function ht(e, t) {
var n = t & -t;
return n = n & 42 ? 1 : L(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;
}
@@ -1204,14 +1204,14 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return e;
}
- function vt(e) {
+ function gt(e) {
return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;
}
- function yt() {
+ function _t() {
var e = ge.p;
- return e === 0 ? (e = window.event, e === void 0 ? 32 : mh(e.type)) : e;
+ return e === 0 ? (e = window.event, e === void 0 ? 32 : _h(e.type)) : e;
}
- function bt(e, t) {
+ function vt(e, t) {
var n = ge.p;
try {
return ge.p = e, t();
@@ -1219,18 +1219,18 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
ge.p = n;
}
}
- var xt = Math.random().toString(36).slice(2), St = "__reactFiber$" + xt, Ct = "__reactProps$" + xt, wt = "__reactContainer$" + xt, Tt = "__reactEvents$" + xt, Et = "__reactListeners$" + xt, Dt = "__reactHandles$" + xt, Ot = "__reactResources$" + xt, R = "__reactMarker$" + xt, kt = "__reactLoad$" + xt;
- function At(e) {
- delete e[St], delete e[Ct], delete e[Et], delete e[Dt];
+ var yt = Math.random().toString(36).slice(2), bt = "__reactFiber$" + yt, xt = "__reactProps$" + yt, St = "__reactContainer$" + yt, Ct = "__reactEvents$" + yt, wt = "__reactListeners$" + yt, Tt = "__reactHandles$" + yt, Et = "__reactResources$" + yt, R = "__reactMarker$" + yt, Dt = "__reactLoad$" + yt;
+ function Ot(e) {
+ delete e[bt], delete e[xt], delete e[wt], delete e[Tt];
}
- function jt(e) {
+ function kt(e) {
var t;
- if (t = e[St]) return t;
+ if (t = e[bt]) return t;
for (var n = e.parentNode; n;) {
- if (t = n[wt] || n[St]) {
- if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = om(e); e !== null;) {
- if (n = e[St]) return n;
- e = om(e);
+ if (t = n[St] || n[bt]) {
+ if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = lm(e); e !== null;) {
+ if (n = e[bt]) return n;
+ e = lm(e);
}
return t;
}
@@ -1238,49 +1238,49 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return null;
}
- function Mt(e) {
- if (e = e[St] || e[wt]) {
+ function At(e) {
+ if (e = e[bt] || e[St]) {
var t = e.tag;
if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) return e;
}
return null;
}
- function Nt(e) {
+ function jt(e) {
var t = e.tag;
if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;
throw Error(i(33));
}
- function Pt(e) {
- var t = e[Ot];
- return t ||= e[Ot] = {
+ function Mt(e) {
+ var t = e[Et];
+ return t ||= e[Et] = {
hoistableStyles: /* @__PURE__ */ new Map(),
hoistableScripts: /* @__PURE__ */ new Map()
}, t;
}
- function Ft(e) {
+ function Nt(e) {
e[R] = !0;
}
- function It(e) {
- e[kt] = void 0;
+ function Pt(e) {
+ e[Dt] = void 0;
}
- var Lt = /* @__PURE__ */ new Set(), Rt = {};
- function zt(e, t) {
- Bt(e, t), Bt(e + "Capture", t);
+ var Ft = /* @__PURE__ */ new Set(), It = {};
+ function Lt(e, t) {
+ Rt(e, t), Rt(e + "Capture", t);
}
- function Bt(e, t) {
- for (Rt[e] = t, e = 0; e < t.length; e++) Lt.add(t[e]);
+ function Rt(e, t) {
+ for (It[e] = t, e = 0; e < t.length; e++) Ft.add(t[e]);
}
- var Vt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Ht = {}, Ut = {};
- function Wt(e) {
- return Re.call(Ut, e) ? !0 : Re.call(Ht, e) ? !1 : Vt.test(e) ? Ut[e] = !0 : (Ht[e] = !0, !1);
+ var zt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Bt = {}, Vt = {};
+ function Ht(e) {
+ return Re.call(Vt, e) ? !0 : Re.call(Bt, e) ? !1 : zt.test(e) ? Vt[e] = !0 : (Bt[e] = !0, !1);
}
- var Gt = !1;
- function Kt() {
- var e = Gt;
- return Gt = !1, e;
+ var Ut = !1;
+ function Wt() {
+ var e = Ut;
+ return Ut = !1, e;
}
- function qt(e, t, n) {
- if (Wt(t)) {
+ function Gt(e, t, n) {
+ if (Ht(t)) {
if (n === null) e.removeAttribute(t);
else {
switch (typeof n) {
@@ -1300,7 +1300,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
}
}
- function Jt(e, t, n) {
+ function Kt(e, t, n) {
if (n === null) e.removeAttribute(t);
else {
switch (typeof n) {
@@ -1314,7 +1314,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
e.setAttribute(t, n);
}
}
- function Yt(e, t, n, r) {
+ function qt(e, t, n, r) {
if (r === null) e.removeAttribute(n);
else {
switch (typeof r) {
@@ -1328,7 +1328,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
e.setAttributeNS(t, n, r);
}
}
- function Xt(e) {
+ function Jt(e) {
switch (typeof e) {
case "bigint":
case "boolean":
@@ -1339,11 +1339,11 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
default: return "";
}
}
- function Zt(e) {
+ function Yt(e) {
var t = e.type;
return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");
}
- function Qt(e, t, n) {
+ function Xt(e, t, n) {
var r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t);
if (!e.hasOwnProperty(t) && r !== void 0 && typeof r.get == "function" && typeof r.set == "function") {
var i = r.get, a = r.set;
@@ -1368,48 +1368,48 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
};
}
}
- function $t(e) {
+ function Zt(e) {
if (!e._valueTracker) {
- var t = Zt(e) ? "checked" : "value";
- e._valueTracker = Qt(e, t, "" + e[t]);
+ var t = Yt(e) ? "checked" : "value";
+ e._valueTracker = Xt(e, t, "" + e[t]);
}
}
- function en(e) {
+ function Qt(e) {
if (!e) return !1;
var t = e._valueTracker;
if (!t) return !0;
var n = t.getValue(), r = "";
- return e && (r = Zt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);
+ return e && (r = Yt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);
}
- var tn = /[\n"\\]/g;
- function nn(e) {
- return e.replace(tn, function(e) {
+ var $t = /[\n"\\]/g;
+ function en(e) {
+ return e.replace($t, function(e) {
return "\\" + e.charCodeAt(0).toString(16) + " ";
});
}
function z(e, t, n, r, i, a, o, s) {
- e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + Xt(t)) : e.value !== "" + Xt(t) && (e.value = "" + Xt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : V(e, Xt(n)) : o === "number" && e.value == t ? V(e, Xt(e.value)) : V(e, Xt(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + Xt(s) : e.removeAttribute("name");
+ e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + Jt(t)) : e.value !== "" + Jt(t) && (e.value = "" + Jt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : B(e, Jt(n)) : o === "number" && e.value == t ? B(e, Jt(e.value)) : B(e, Jt(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + Jt(s) : e.removeAttribute("name");
}
- function B(e, t, n, r, i, a, o, s) {
+ function tn(e, t, n, r, i, a, o, s) {
if (a != null && typeof a != "function" && typeof a != "symbol" && typeof a != "boolean" && (e.type = a), t != null || n != null) {
if (!(a !== "submit" && a !== "reset" || t != null)) {
- $t(e);
+ Zt(e);
return;
}
- n = n == null ? "" : "" + Xt(n), t = t == null ? n : "" + Xt(t), s || t === e.value || (e.value = t), e.defaultValue = t;
+ n = n == null ? "" : "" + Jt(n), t = t == null ? n : "" + Jt(t), s || t === e.value || (e.value = t), e.defaultValue = t;
}
- r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), $t(e);
+ r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), Zt(e);
}
- function V(e, t) {
+ function B(e, t) {
e.defaultValue !== "" + t && (e.defaultValue = "" + t);
}
- function rn(e, t, n, r) {
+ function nn(e, t, n, r) {
if (e = e.options, t) {
t = {};
for (var i = 0; i < n.length; i++) t["$" + n[i]] = !0;
for (n = 0; n < e.length; n++) i = t.hasOwnProperty("$" + e[n].value), e[n].selected !== i && (e[n].selected = i), i && r && (e[n].defaultSelected = !0);
} else {
- for (n = "" + Xt(n), t = null, i = 0; i < e.length; i++) {
+ for (n = "" + Jt(n), t = null, i = 0; i < e.length; i++) {
if (e[i].value === n) {
e[i].selected = !0, r && (e[i].defaultSelected = !0);
return;
@@ -1419,10 +1419,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
t !== null && (t.selected = !0);
}
}
- function an(e, t, n) {
- t != null && (t = "" + Xt(t), t !== e.value && (e.value = t), n == null) ? e.defaultValue !== t && (e.defaultValue = t) : e.defaultValue = n == null ? "" : "" + Xt(n);
+ function rn(e, t, n) {
+ t != null && (t = "" + Jt(t), t !== e.value && (e.value = t), n == null) ? e.defaultValue !== t && (e.defaultValue = t) : e.defaultValue = n == null ? "" : "" + Jt(n);
}
- function on(e, t, n, r) {
+ function an(e, t, n, r) {
if (t == null) {
if (r != null) {
if (n != null) throw Error(i(92));
@@ -1434,9 +1434,9 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
n ??= "", t = n;
}
- n = Xt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), $t(e);
+ n = Jt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Zt(e);
}
- function sn(e, t) {
+ function on(e, t) {
if (t) {
var n = e.firstChild;
if (n && n === e.lastChild && n.nodeType === 3) {
@@ -1446,19 +1446,19 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
e.textContent = t;
}
- var cn = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));
- function ln(e, t, n) {
+ var sn = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));
+ function cn(e, t, n) {
var r = t.indexOf("--") === 0;
- n == null || typeof n == "boolean" || n === "" ? r ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : r ? e.setProperty(t, n) : typeof n != "number" || n === 0 || cn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";
+ n == null || typeof n == "boolean" || n === "" ? r ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : r ? e.setProperty(t, n) : typeof n != "number" || n === 0 || sn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";
}
- function un(e, t, n) {
+ function ln(e, t, n) {
if (t != null && typeof t != "object") throw Error(i(62));
if (e = e.style, n != null) {
- for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", Gt = !0);
- for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (ln(e, a, r), Gt = !0);
- } else for (var o in t) t.hasOwnProperty(o) && ln(e, o, t[o]);
+ for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", Ut = !0);
+ for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (cn(e, a, r), Ut = !0);
+ } else for (var o in t) t.hasOwnProperty(o) && cn(e, o, t[o]);
}
- function dn(e) {
+ function un(e) {
if (e.indexOf("-") === -1) return !1;
switch (e) {
case "annotation-xml":
@@ -1472,7 +1472,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
default: return !0;
}
}
- var H = /* @__PURE__ */ new Map([
+ var V = /* @__PURE__ */ new Map([
["acceptCharset", "accept-charset"],
["htmlFor", "for"],
["httpEquiv", "http-equiv"],
@@ -1552,9 +1552,9 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
["writingMode", "writing-mode"],
["xmlnsXlink", "xmlns:xlink"],
["xHeight", "x-height"]
- ]), tee = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
+ ]), dn = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
function fn(e) {
- return tee.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;
+ return dn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;
}
function pn() {}
var mn = null;
@@ -1563,28 +1563,28 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
var gn = null, _n = null;
function vn(e) {
- var t = Mt(e);
+ var t = At(e);
if (t && (e = t.stateNode)) {
- var n = e[Ct] || null;
+ var n = e[xt] || null;
a: switch (e = t.stateNode, t.type) {
case "input":
if (z(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {
for (n = e; n.parentNode;) n = n.parentNode;
- for (n = n.querySelectorAll("input[name=\"" + nn("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {
+ for (n = n.querySelectorAll("input[name=\"" + en("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {
var r = n[t];
if (r !== e && r.form === e.form) {
- var a = r[Ct] || null;
+ var a = r[xt] || null;
if (!a) throw Error(i(90));
z(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);
}
}
- for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && en(r);
+ for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && Qt(r);
}
break a;
case "textarea":
- an(e, n.value, n.defaultValue);
+ rn(e, n.value, n.defaultValue);
break a;
- case "select": t = n.value, t != null && rn(e, !!n.multiple, t, !1);
+ case "select": t = n.value, t != null && nn(e, !!n.multiple, t, !1);
}
}
}
@@ -1595,13 +1595,13 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
try {
return e(t);
} finally {
- if (yn = !1, (gn !== null || _n !== null) && (zd(), gn && (t = gn, e = _n, _n = gn = null, vn(t), e))) for (t = 0; t < e.length; t++) vn(e[t]);
+ if (yn = !1, (gn !== null || _n !== null) && (Rd(), gn && (t = gn, e = _n, _n = gn = null, vn(t), e))) for (t = 0; t < e.length; t++) vn(e[t]);
}
}
function xn(e, t) {
var n = e.stateNode;
if (n === null) return null;
- var r = n[Ct] || null;
+ var r = n[xt] || null;
if (r === null) return null;
n = r[t];
a: switch (t) {
@@ -1834,21 +1834,21 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
},
deltaZ: 0,
deltaMode: 0
- })), ir = Mn(D({}, Nn, {
+ })), ree = Mn(D({}, Nn, {
newState: 0,
oldState: 0,
source: 0
- })), ar = [
+ })), ir = [
9,
13,
27,
32
- ], or = Sn && "CompositionEvent" in window, sr = null;
- Sn && "documentMode" in document && (sr = document.documentMode);
- var cr = Sn && "TextEvent" in window && !sr, lr = Sn && (!or || sr && 8 < sr && 11 >= sr), ur = " ", dr = !1;
- function fr(e, t) {
+ ], ar = Sn && "CompositionEvent" in window, or = null;
+ Sn && "documentMode" in document && (or = document.documentMode);
+ var sr = Sn && "TextEvent" in window && !or, cr = Sn && (!ar || or && 8 < or && 11 >= or), lr = " ", ur = !1;
+ function dr(e, t) {
switch (e) {
- case "keyup": return ar.indexOf(t.keyCode) !== -1;
+ case "keyup": return ir.indexOf(t.keyCode) !== -1;
case "keydown": return t.keyCode !== 229;
case "keypress":
case "mousedown":
@@ -1856,20 +1856,20 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
default: return !1;
}
}
- function pr(e) {
+ function fr(e) {
return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;
}
- var mr = !1;
- function hr(e, t) {
+ var pr = !1;
+ function mr(e, t) {
switch (e) {
- case "compositionend": return pr(t);
- case "keypress": return t.which === 32 ? (dr = !0, ur) : null;
- case "textInput": return e = t.data, e === ur && dr ? null : e;
+ case "compositionend": return fr(t);
+ case "keypress": return t.which === 32 ? (ur = !0, lr) : null;
+ case "textInput": return e = t.data, e === lr && ur ? null : e;
default: return null;
}
}
- function gr(e, t) {
- if (mr) return e === "compositionend" || !or && fr(e, t) ? (e = On(), Dn = En = Tn = null, mr = !1, e) : null;
+ function hr(e, t) {
+ if (pr) return e === "compositionend" || !ar && dr(e, t) ? (e = On(), Dn = En = Tn = null, pr = !1, e) : null;
switch (e) {
case "paste": return null;
case "keypress":
@@ -1878,11 +1878,11 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
if (t.which) return String.fromCharCode(t.which);
}
return null;
- case "compositionend": return lr && t.locale !== "ko" ? null : t.data;
+ case "compositionend": return cr && t.locale !== "ko" ? null : t.data;
default: return null;
}
}
- var _r = {
+ var gr = {
color: !0,
date: !0,
datetime: !0,
@@ -1899,64 +1899,64 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
url: !0,
week: !0
};
- function vr(e) {
+ function _r(e) {
var t = e && e.nodeName && e.nodeName.toLowerCase();
- return t === "input" ? !!_r[e.type] : t === "textarea";
+ return t === "input" ? !!gr[e.type] : t === "textarea";
}
- function yr(e, t, n, r) {
- gn ? _n ? _n.push(r) : _n = [r] : gn = r, t = Yf(t, "onChange"), 0 < t.length && (n = new Pn("onChange", "change", null, n, r), e.push({
+ function vr(e, t, n, r) {
+ gn ? _n ? _n.push(r) : _n = [r] : gn = r, t = qf(t, "onChange"), 0 < t.length && (n = new Pn("onChange", "change", null, n, r), e.push({
event: n,
listeners: t
}));
}
- var br = null, xr = null;
- function Sr(e) {
- Vf(e, 0);
+ var yr = null, br = null;
+ function iee(e) {
+ zf(e, 0);
}
- function Cr(e) {
- if (en(Nt(e))) return e;
+ function xr(e) {
+ if (Qt(jt(e))) return e;
}
- function wr(e, t) {
+ function Sr(e, t) {
if (e === "change") return t;
}
- var Tr = !1;
+ var Cr = !1;
if (Sn) {
- var Er;
+ var wr;
if (Sn) {
- var Dr = "oninput" in document;
- if (!Dr) {
- var Or = document.createElement("div");
- Or.setAttribute("oninput", "return;"), Dr = typeof Or.oninput == "function";
+ var Tr = "oninput" in document;
+ if (!Tr) {
+ var Er = document.createElement("div");
+ Er.setAttribute("oninput", "return;"), Tr = typeof Er.oninput == "function";
}
- Er = Dr;
- } else Er = !1;
- Tr = Er && (!document.documentMode || 9 < document.documentMode);
+ wr = Tr;
+ } else wr = !1;
+ Cr = wr && (!document.documentMode || 9 < document.documentMode);
}
- function kr() {
- br && (br.detachEvent("onpropertychange", Ar), xr = br = null);
+ function Dr() {
+ yr && (yr.detachEvent("onpropertychange", Or), br = yr = null);
}
- function Ar(e) {
- if (e.propertyName === "value" && Cr(xr)) {
+ function Or(e) {
+ if (e.propertyName === "value" && xr(br)) {
var t = [];
- yr(t, xr, e, hn(e)), bn(Sr, t);
+ vr(t, br, e, hn(e)), bn(iee, t);
}
}
- function jr(e, t, n) {
- e === "focusin" ? (kr(), br = t, xr = n, br.attachEvent("onpropertychange", Ar)) : e === "focusout" && kr();
+ function kr(e, t, n) {
+ e === "focusin" ? (Dr(), yr = t, br = n, yr.attachEvent("onpropertychange", Or)) : e === "focusout" && Dr();
}
- function Mr(e) {
- if (e === "selectionchange" || e === "keyup" || e === "keydown") return Cr(xr);
+ function Ar(e) {
+ if (e === "selectionchange" || e === "keyup" || e === "keydown") return xr(br);
}
- function Nr(e, t) {
- if (e === "click") return Cr(t);
+ function jr(e, t) {
+ if (e === "click") return xr(t);
}
- function nee(e, t) {
- if (e === "input" || e === "change") return Cr(t);
+ function Mr(e, t) {
+ if (e === "input" || e === "change") return xr(t);
}
- function ree(e, t) {
+ function Nr(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
- var Pr = typeof Object.is == "function" ? Object.is : ree;
+ var Pr = typeof Object.is == "function" ? Object.is : Nr;
function Fr(e, t) {
if (Pr(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
@@ -2036,7 +2036,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
anchorOffset: r.anchorOffset,
focusNode: r.focusNode,
focusOffset: r.focusOffset
- }), Gr && Fr(Gr, r) || (Gr = r, r = Yf(Wr, "onSelect"), 0 < r.length && (t = new Pn("onSelect", "select", null, t, n), e.push({
+ }), Gr && Fr(Gr, r) || (Gr = r, r = qf(Wr, "onSelect"), 0 < r.length && (t = new Pn("onSelect", "select", null, t, n), e.push({
event: t,
listeners: r
}), t.target = Ur)));
@@ -2065,19 +2065,19 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
var $r = Qr("animationend"), ei = Qr("animationiteration"), ti = Qr("animationstart"), ni = Qr("transitionrun"), ri = Qr("transitionstart"), ii = Qr("transitioncancel"), ai = Qr("transitionend"), oi = /* @__PURE__ */ new Map(), si = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
si.push("scrollEnd");
function ci(e, t) {
- oi.set(e, t), zt(t, [e]);
+ oi.set(e, t), Lt(t, [e]);
}
var li = 0;
function ui(e, t) {
if (e.name != null && e.name !== "auto") return e.name;
if (t.autoName !== null) return t.autoName;
- e = bd.identifierPrefix;
+ e = yd.identifierPrefix;
var n = li++;
return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;
}
function di(e) {
if (e == null || typeof e == "string") return e;
- var t = null, n = Od;
+ var t = null, n = Dd;
if (n !== null) for (var r = 0; r < n.length; r++) {
var i = e[n[r]];
if (i != null) {
@@ -2138,7 +2138,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - et(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;
}
function Si(e) {
- if (50 < kd) throw kd = 0, Ad = null, Error(i(185));
+ if (50 < Od) throw Od = 0, kd = null, Error(i(185));
for (var t = e.return; t !== null;) e = t, t = e.return;
return e.tag === 3 ? e.stateNode : null;
}
@@ -2170,7 +2170,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
function ki(e, t, n, r, a, o) {
var s = 0;
if (r = e, typeof r == "function") Ei(r) && (s = 1);
- else if (typeof r == "string") s = vee(e, n, Ce.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
+ else if (typeof r == "string") s = Vm(e, n, Ce.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
else a: switch (r) {
case ae: return e = Ti(31, n, t, a), e.elementType = ae, e.lanes = o, e;
case j: return Ai(n.children, a, o, t);
@@ -2274,39 +2274,39 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
function ra(e) {
var t = e.stateNode, n = e.type, r = e.memoizedProps;
- switch (t[St] = e, t[Ct] = r, n) {
+ switch (t[bt] = e, t[xt] = r, n) {
case "dialog":
- Hf("cancel", t), Hf("close", t);
+ Bf("cancel", t), Bf("close", t);
break;
case "iframe":
case "object":
case "embed":
- Hf("load", t);
+ Bf("load", t);
break;
case "video":
case "audio":
- for (n = 0; n < zf.length; n++) Hf(zf[n], t);
+ for (n = 0; n < Lf.length; n++) Bf(Lf[n], t);
break;
case "source":
- Hf("error", t);
+ Bf("error", t);
break;
case "img":
case "image":
case "link":
- Hf("error", t), Hf("load", t);
+ Bf("error", t), Bf("load", t);
break;
case "details":
- Hf("toggle", t);
+ Bf("toggle", t);
break;
case "input":
- Hf("invalid", t), B(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);
+ Bf("invalid", t), tn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);
break;
case "select":
- Hf("invalid", t);
+ Bf("invalid", t);
break;
- case "textarea": Hf("invalid", t), on(t, r.value, r.defaultValue, r.children);
+ case "textarea": Bf("invalid", t), an(t, r.value, r.defaultValue, r.children);
}
- n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || $f(t.textContent, n) ? (r.popover != null && (Hf("beforetoggle", t), Hf("toggle", t)), r.onScroll != null && Hf("scroll", t), r.onScrollEnd != null && Hf("scrollend", t), r.onClick != null && (t.onclick = pn), t = !0) : t = !1, t || na(e, !0);
+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || Qf(t.textContent, n) ? (r.popover != null && (Bf("beforetoggle", t), Bf("toggle", t)), r.onScroll != null && Bf("scroll", t), r.onScrollEnd != null && Bf("scrollend", t), r.onClick != null && (t.onclick = pn), t = !0) : t = !1, t || na(e, !0);
}
function ia(e) {
for (Xi = e.return; Xi;) switch (Xi.tag) {
@@ -2326,13 +2326,13 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
if (e !== Xi) return !1;
if (!Qi) return ia(e), Qi = !0, !1;
var t = e.tag, n;
- if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || fp(e.type, e.memoizedProps)), n = !n), n && Zi && na(e), ia(e), t === 13) {
+ if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || dp(e.type, e.memoizedProps)), n = !n), n && Zi && na(e), ia(e), t === 13) {
if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));
- Zi = am(e);
+ Zi = cm(e);
} else if (t === 31) {
if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));
- Zi = am(e);
- } else t === 27 ? (t = Zi, xp(e.type) ? (e = im, im = null, Zi = e) : Zi = t) : Zi = Xi ? rm(e.stateNode.nextSibling) : null;
+ Zi = cm(e);
+ } else t === 27 ? (t = Zi, bp(e.type) ? (e = sm, sm = null, Zi = e) : Zi = t) : Zi = Xi ? om(e.stateNode.nextSibling) : null;
return !0;
}
function oa() {
@@ -2340,7 +2340,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
function sa() {
var e = $i;
- return e !== null && (fd === null ? fd = e : fd.push.apply(fd, e), $i = null), e;
+ return e !== null && (dd === null ? dd = e : dd.push.apply(dd, e), $i = null), e;
}
function ca(e) {
$i === null ? $i = [e] : $i.push(e);
@@ -2410,7 +2410,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
} else if (a === Ee.current) {
if (s = a.alternate, s === null) throw Error(i(387));
- s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [Qm] : e.push(Qm));
+ s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [th] : e.push(th));
}
a = a.return;
}
@@ -2459,7 +2459,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
return e();
});
};
- }, Ca = t.unstable_scheduleCallback, wa = t.unstable_NormalPriority, Ta = {
+ }, Ca = t.unstable_scheduleCallback, aee = t.unstable_NormalPriority, wa = {
$$typeof: ee,
Consumer: null,
Provider: null,
@@ -2467,19 +2467,19 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
_currentValue2: null,
_threadCount: 0
};
- function Ea() {
+ function Ta() {
return {
controller: new Sa(),
data: /* @__PURE__ */ new Map(),
refCount: 0
};
}
- function Da(e) {
- e.refCount--, e.refCount === 0 && Ca(wa, function() {
+ function Ea(e) {
+ e.refCount--, e.refCount === 0 && Ca(aee, function() {
e.controller.abort();
});
}
- function Oa(e, t) {
+ function Da(e, t) {
if (e.pendingLanes & 4194048) {
var n = e.transitionTypes;
for (n === null && (n = e.transitionTypes = []), e = 0; e < t.length; e++) {
@@ -2488,16 +2488,16 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
}
}
- var ka = null;
- function Aa(e) {
+ var Oa = null;
+ function ka(e) {
var t = e.transitionTypes;
return e.transitionTypes = null, t;
}
- var ja = null, Ma = 0, Na = 0, Pa = null;
- function Fa(e, t) {
- if (ja === null) {
- var n = ja = [];
- Ma = 0, Na = Pf(), Pa = {
+ var Aa = null, ja = 0, Ma = 0, Na = null;
+ function Pa(e, t) {
+ if (Aa === null) {
+ var n = Aa = [];
+ ja = 0, Ma = Nf(), Na = {
status: "pending",
value: void 0,
then: function(e) {
@@ -2505,17 +2505,17 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
};
}
- return Ma++, t.then(Ia, Ia), t;
+ return ja++, t.then(Fa, Fa), t;
}
- function Ia() {
- if (--Ma === 0 && (ka = null, ja !== null)) {
- Pa !== null && (Pa.status = "fulfilled");
- var e = ja;
- ja = null, Na = 0, Pa = null;
+ function Fa() {
+ if (--ja === 0 && (Oa = null, Aa !== null)) {
+ Na !== null && (Na.status = "fulfilled");
+ var e = Aa;
+ Aa = null, Ma = 0, Na = null;
for (var t = 0; t < e.length; t++) (0, e[t])();
}
}
- function La(e, t) {
+ function Ia(e, t) {
var n = [], r = {
status: "pending",
value: null,
@@ -2531,48 +2531,48 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);
}), r;
}
- var Ra = he.S;
+ var La = he.S;
he.S = function(e, t) {
- if (hd = Ue(), typeof t == "object" && t && typeof t.then == "function" && Fa(e, t), ka !== null) for (var n = bf; n !== null;) Oa(n, ka), n = n.next;
+ if (md = Ue(), typeof t == "object" && t && typeof t.then == "function" && Pa(e, t), Oa !== null) for (var n = bf; n !== null;) Da(n, Oa), n = n.next;
if (n = e.types, n !== null) {
- for (var r = bf; r !== null;) Oa(r, n), r = r.next;
- if (Na !== 0) {
- r = ka, r === null && (r = ka = []);
+ for (var r = bf; r !== null;) Da(r, n), r = r.next;
+ if (Ma !== 0) {
+ r = Oa, r === null && (r = Oa = []);
for (var i = 0; i < n.length; i++) {
var a = n[i];
r.indexOf(a) === -1 && r.push(a);
}
}
}
- Ra !== null && Ra(e, t);
+ La !== null && La(e, t);
};
- var za = be(null);
- function Ba() {
- var e = za.current;
- return e === null ? Xu.pooledCache : e;
+ var Ra = be(null);
+ function za() {
+ var e = Ra.current;
+ return e === null ? Yu.pooledCache : e;
}
- function Va(e, t) {
- t === null ? Se(za, za.current) : Se(za, t.pool);
+ function Ba(e, t) {
+ t === null ? Se(Ra, Ra.current) : Se(Ra, t.pool);
}
- function Ha() {
- var e = Ba();
+ function Va() {
+ var e = za();
return e === null ? null : {
- parent: Ta._currentValue,
+ parent: wa._currentValue,
pool: e
};
}
- var Ua = Error(i(460)), Wa = Error(i(474)), Ga = Error(i(542)), Ka = { then: function() {} };
- function qa(e) {
+ var Ha = Error(i(460)), Ua = Error(i(474)), Wa = Error(i(542)), Ga = { then: function() {} };
+ function Ka(e) {
return e = e.status, e === "fulfilled" || e === "rejected";
}
- function Ja(e, t, n) {
+ function qa(e, t, n) {
switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(pn, pn), t = n), t.status) {
case "fulfilled": return t.value;
- case "rejected": throw e = t.reason, Qa(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;
+ case "rejected": throw e = t.reason, Za(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;
default:
if (typeof t.status == "string") t.then(pn, pn);
else {
- if (e = Xu, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));
+ if (e = Yu, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));
e = t, e.status = "pending", e.then(function(e) {
if (t.status === "pending") {
var n = t;
@@ -2587,40 +2587,40 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
switch (t.status) {
case "fulfilled": return t.value;
- case "rejected": throw e = t.reason, Qa(e), e;
+ case "rejected": throw e = t.reason, Za(e), e;
}
- throw Xa = t, Ua;
+ throw Ya = t, Ha;
}
}
- function Ya(e) {
+ function Ja(e) {
try {
var t = e._init;
return t(e._payload);
} catch (e) {
- throw typeof e == "object" && e && typeof e.then == "function" ? (Xa = e, Ua) : e;
+ throw typeof e == "object" && e && typeof e.then == "function" ? (Ya = e, Ha) : e;
}
}
- var Xa = null;
- function Za() {
- if (Xa === null) throw Error(i(459));
- var e = Xa;
- return Xa = null, e;
+ var Ya = null;
+ function Xa() {
+ if (Ya === null) throw Error(i(459));
+ var e = Ya;
+ return Ya = null, e;
}
- function Qa(e) {
- if (e === Ua || e === Ga) throw Error(i(483));
+ function Za(e) {
+ if (e === Ha || e === Wa) throw Error(i(483));
}
- var $a = null, eo = 0;
- function to(e) {
- var t = eo;
- return eo += 1, $a === null && ($a = []), Ja($a, e, t);
+ var Qa = null, $a = 0;
+ function eo(e) {
+ var t = $a;
+ return $a += 1, Qa === null && (Qa = []), qa(Qa, e, t);
}
- function no(e, t) {
+ function to(e, t) {
t = t.props.ref, e.ref = t === void 0 ? null : t;
}
- function ro(e, t) {
+ function no(e, t) {
throw t.$$typeof === O ? Error(i(525)) : (e = Object.prototype.toString.call(t), Error(i(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)));
}
- function io(e) {
+ function ro(e) {
function t(t, n) {
if (e) {
var r = t.deletions;
@@ -2650,7 +2650,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
function l(e, t, n, r) {
var i = n.type;
- return i === j ? (e = d(e, t, n.props.children, r, n.key), no(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === ie && Ya(i) === t.type) ? (t = a(t, n.props), no(t, n), t.return = e, t) : (t = ki(n.type, n.key, n.props, null, e.mode, r), no(t, n), t.return = e, t);
+ return i === j ? (e = d(e, t, n.props.children, r, n.key), to(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === ie && Ja(i) === t.type) ? (t = a(t, n.props), to(t, n), t.return = e, t) : (t = ki(n.type, n.key, n.props, null, e.mode, r), to(t, n), t.return = e, t);
}
function u(e, t, n, r) {
return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Ni(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);
@@ -2662,14 +2662,14 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = ji("" + t, e.mode, n), t.return = e, t;
if (typeof t == "object" && t) {
switch (t.$$typeof) {
- case k: return n = ki(t.type, t.key, t.props, null, e.mode, n), no(n, t), n.return = e, n;
+ case k: return n = ki(t.type, t.key, t.props, null, e.mode, n), to(n, t), n.return = e, n;
case A: return t = Ni(t, e.mode, n), t.return = e, t;
- case ie: return t = Ya(t), f(e, t, n);
+ case ie: return t = Ja(t), f(e, t, n);
}
if (me(t) || de(t)) return t = Ai(t, e.mode, n, null), t.return = e, t;
- if (typeof t.then == "function") return f(e, to(t), n);
+ if (typeof t.then == "function") return f(e, eo(t), n);
if (t.$$typeof === ee) return f(e, ba(e, t), n);
- ro(e, t);
+ no(e, t);
}
return null;
}
@@ -2680,12 +2680,12 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
switch (n.$$typeof) {
case k: return n.key === i ? l(e, t, n, r) : null;
case A: return n.key === i ? u(e, t, n, r) : null;
- case ie: return n = Ya(n), p(e, t, n, r);
+ case ie: return n = Ja(n), p(e, t, n, r);
}
if (me(n) || de(n)) return i === null ? d(e, t, n, r, null) : null;
- if (typeof n.then == "function") return p(e, t, to(n), r);
+ if (typeof n.then == "function") return p(e, t, eo(n), r);
if (n.$$typeof === ee) return p(e, t, ba(e, n), r);
- ro(e, n);
+ no(e, n);
}
return null;
}
@@ -2695,12 +2695,12 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
switch (r.$$typeof) {
case k: return e = e.get(r.key === null ? n : r.key) || null, l(t, e, r, i);
case A: return e = e.get(r.key === null ? n : r.key) || null, u(t, e, r, i);
- case ie: return r = Ya(r), m(e, t, n, r, i);
+ case ie: return r = Ja(r), m(e, t, n, r, i);
}
if (me(r) || de(r)) return e = e.get(n) || null, d(t, e, r, i, null);
- if (typeof r.then == "function") return m(e, t, n, to(r), i);
+ if (typeof r.then == "function") return m(e, t, n, eo(r), i);
if (r.$$typeof === ee) return m(e, t, n, ba(t, r), i);
- ro(t, r);
+ no(t, r);
}
return null;
}
@@ -2754,11 +2754,11 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
if (r.key === l) {
if (l = o.type, l === j) {
if (r.tag === 7) {
- n(e, r.sibling), c = a(r, o.props.children), no(c, o), c.return = e, e = c;
+ n(e, r.sibling), c = a(r, o.props.children), to(c, o), c.return = e, e = c;
break a;
}
- } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === ie && Ya(l) === r.type) {
- n(e, r.sibling), c = a(r, o.props), no(c, o), c.return = e, e = c;
+ } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === ie && Ja(l) === r.type) {
+ n(e, r.sibling), c = a(r, o.props), to(c, o), c.return = e, e = c;
break a;
}
n(e, r);
@@ -2766,7 +2766,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
t(e, r), r = r.sibling;
}
- o.type === j ? (c = Ai(o.props.children, e.mode, c, o.key), no(c, o), c.return = e, e = c) : (c = ki(o.type, o.key, o.props, null, e.mode, c), no(c, o), c.return = e, e = c);
+ o.type === j ? (c = Ai(o.props.children, e.mode, c, o.key), to(c, o), c.return = e, e = c) : (c = ki(o.type, o.key, o.props, null, e.mode, c), to(c, o), c.return = e, e = c);
}
return s(e);
case A:
@@ -2785,33 +2785,33 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
c = Ni(o, e.mode, c), c.return = e, e = c;
}
return s(e);
- case ie: return o = Ya(o), _(e, r, o, c);
+ case ie: return o = Ja(o), _(e, r, o, c);
}
if (me(o)) return h(e, r, o, c);
if (de(o)) {
if (l = de(o), typeof l != "function") throw Error(i(150));
return o = l.call(o), g(e, r, o, c);
}
- if (typeof o.then == "function") return _(e, r, to(o), c);
+ if (typeof o.then == "function") return _(e, r, eo(o), c);
if (o.$$typeof === ee) return _(e, r, ba(e, o), c);
- ro(e, o);
+ no(e, o);
}
return typeof o == "string" && o !== "" || typeof o == "number" || typeof o == "bigint" ? (o = "" + o, r !== null && r.tag === 6 ? (n(e, r.sibling), c = a(r, o), c.return = e, e = c) : (n(e, r), c = ji(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);
}
return function(e, t, n, r) {
try {
- eo = 0;
+ $a = 0;
var i = _(e, t, n, r);
- return $a = null, i;
+ return Qa = null, i;
} catch (t) {
- if (t === Ua || t === Ga) throw t;
+ if (t === Ha || t === Wa) throw t;
var a = Ti(29, t, null, e.mode);
return a.lanes = r, a.return = e, a;
}
};
}
- var ao = io(!0), oo = io(!1), so = !1;
- function co(e) {
+ var io = ro(!0), ao = ro(!1), oo = !1;
+ function so(e) {
e.updateQueue = {
baseState: e.memoizedState,
firstBaseUpdate: null,
@@ -2824,7 +2824,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
callbacks: null
};
}
- function lo(e, t) {
+ function co(e, t) {
e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {
baseState: e.baseState,
firstBaseUpdate: e.firstBaseUpdate,
@@ -2833,7 +2833,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
callbacks: null
});
}
- function uo(e) {
+ function lo(e) {
return {
lane: e,
tag: 0,
@@ -2842,22 +2842,22 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
next: null
};
}
- function fo(e, t, n) {
+ function uo(e, t, n) {
var r = e.updateQueue;
if (r === null) return null;
- if (r = r.shared, Yu & 2) {
+ if (r = r.shared, Ju & 2) {
var i = r.pending;
return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Si(e), xi(e, null, n), t;
}
return vi(e, r, t, n), Si(e);
}
- function po(e, t, n) {
+ function fo(e, t, n) {
if (t = t.updateQueue, t !== null && (t = t.shared, n & 4194048)) {
var r = t.lanes;
r &= e.pendingLanes, n |= r, t.lanes = n, I(e, n);
}
}
- function mo(e, t) {
+ function po(e, t) {
var n = e.updateQueue, r = e.alternate;
if (r !== null && (r = r.updateQueue, n === r)) {
var i = null, a = null;
@@ -2883,17 +2883,17 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}, e.updateQueue = n;
} else e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;
}
- var ho = !1;
- function go() {
- if (ho) {
- var e = Pa;
+ var mo = !1;
+ function ho() {
+ if (mo) {
+ var e = Na;
if (e !== null) throw e;
}
}
- function _o(e, t, n, r) {
- ho = !1;
+ function go(e, t, n, r) {
+ mo = !1;
var i = e.updateQueue;
- so = !1;
+ oo = !1;
var a = i.firstBaseUpdate, o = i.lastBaseUpdate, s = i.shared.pending;
if (s !== null) {
i.shared.pending = null;
@@ -2907,8 +2907,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
o = 0, u = l = c = null, s = a;
do {
var f = s.lane & -536870913, p = f !== s.lane;
- if (p ? (Qu & f) === f : (r & f) === f) {
- f !== 0 && f === Na && (ho = !0), u !== null && (u = u.next = {
+ if (p ? (Zu & f) === f : (r & f) === f) {
+ f !== 0 && f === Ma && (mo = !0), u !== null && (u = u.next = {
lane: 0,
tag: s.tag,
payload: s.payload,
@@ -2932,7 +2932,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
if (m = h.payload, f = typeof m == "function" ? m.call(g, d, f) : m, f == null) break a;
d = D({}, d, f);
break a;
- case 2: so = !0;
+ case 2: oo = !0;
}
}
f = s.callback, f !== null && (e.flags |= 64, p && (e.flags |= 8192), p = i.callbacks, p === null ? i.callbacks = [f] : p.push(f));
@@ -2948,56 +2948,56 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
p = s, s = p.next, p.next = null, i.lastBaseUpdate = p, i.shared.pending = null;
}
} while (1);
- u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), od |= o, e.lanes = o, e.memoizedState = d;
+ u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), ad |= o, e.lanes = o, e.memoizedState = d;
}
}
- function vo(e, t) {
+ function _o(e, t) {
if (typeof e != "function") throw Error(i(191, e));
e.call(t);
}
- function yo(e, t) {
+ function vo(e, t) {
var n = e.callbacks;
- if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) vo(n[e], t);
+ if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) _o(n[e], t);
}
- var bo = be(null), xo = be(0);
- function So(e, t) {
- e = id, Se(xo, e), Se(bo, t), id = e | t.baseLanes;
+ var yo = be(null), bo = be(0);
+ function xo(e, t) {
+ e = rd, Se(bo, e), Se(yo, t), rd = e | t.baseLanes;
+ }
+ function So() {
+ Se(bo, rd), Se(yo, yo.current);
}
function Co() {
- Se(xo, id), Se(bo, bo.current);
+ rd = bo.current, xe(yo), xe(bo);
}
- function wo() {
- id = xo.current, xe(bo), xe(xo);
+ var wo = be(null), To = null;
+ function Eo(e) {
+ var t = e.alternate;
+ Se(jo, jo.current & 1), Se(wo, e), To === null && (t === null || yo.current !== null || t.memoizedState !== null) && (To = e);
}
- var To = be(null), Eo = null;
function Do(e) {
- var t = e.alternate;
- Se(Mo, Mo.current & 1), Se(To, e), Eo === null && (t === null || bo.current !== null || t.memoizedState !== null) && (Eo = e);
+ Se(jo, jo.current), Se(wo, e), To === null && (To = e);
}
function Oo(e) {
- Se(Mo, Mo.current), Se(To, e), Eo === null && (Eo = e);
+ e.tag === 22 ? (Se(jo, jo.current), Se(wo, e), To === null && (To = e)) : ko();
}
- function ko(e) {
- e.tag === 22 ? (Se(Mo, Mo.current), Se(To, e), Eo === null && (Eo = e)) : Ao();
+ function ko() {
+ Se(jo, jo.current), Se(wo, wo.current);
}
- function Ao() {
- Se(Mo, Mo.current), Se(To, To.current);
+ function Ao(e) {
+ xe(wo), To === e && (To = null), xe(jo);
}
- function jo(e) {
- xe(To), Eo === e && (Eo = null), xe(Mo);
+ var jo = be(0);
+ function Mo(e, t) {
+ Se(wo, wo.current), Se(jo, t);
}
- var Mo = be(0);
- function No(e, t) {
- Se(To, To.current), Se(Mo, t);
+ function No(e) {
+ xe(jo), xe(wo), To === e && (To = null);
}
function Po(e) {
- xe(Mo), xe(To), Eo === e && (Eo = null);
- }
- function Fo(e) {
for (var t = e; t !== null;) {
if (t.tag === 13) {
var n = t.memoizedState;
- if (n !== null && (n = n.dehydrated, n === null || em(n) || tm(n))) return t;
+ if (n !== null && (n = n.dehydrated, n === null || rm(n) || im(n))) return t;
} else if (t.tag === 19 && t.memoizedProps.revealOrder !== "independent") {
if (t.flags & 128) return t;
} else if (t.child !== null) {
@@ -3013,59 +3013,59 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return null;
}
- var Io = 0, Lo = null, Ro = null, zo = null, Bo = !1, Vo = !1, Ho = !1, Uo = 0, Wo = 0, Go = null, Ko = 0;
- function qo() {
+ var Fo = 0, Io = null, Lo = null, Ro = null, zo = !1, Bo = !1, Vo = !1, Ho = 0, Uo = 0, Wo = null, Go = 0;
+ function Ko() {
throw Error(i(321));
}
- function Jo(e, t) {
+ function qo(e, t) {
if (t === null) return !1;
for (var n = 0; n < t.length && n < e.length; n++) if (!Pr(e[n], t[n])) return !1;
return !0;
}
- function Yo(e, t, n, r, i, a) {
- return Io = a, Lo = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, he.H = e === null || e.memoizedState === null ? uc : dc, Ho = !1, a = n(r, i), Ho = !1, Vo && (a = Zo(t, n, r, i)), Xo(e), a;
+ function Jo(e, t, n, r, i, a) {
+ return Fo = a, Io = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, he.H = e === null || e.memoizedState === null ? cc : lc, Vo = !1, a = n(r, i), Vo = !1, Bo && (a = Xo(t, n, r, i)), Yo(e), a;
}
- function Xo(e) {
- he.H = lc;
- var t = Ro !== null && Ro.next !== null;
- if (Io = 0, zo = Ro = Lo = null, Bo = !1, Wo = 0, Go = null, t) throw Error(i(300));
- e === null || Oc || (e = e.dependencies, e !== null && _a(e) && (Oc = !0));
+ function Yo(e) {
+ he.H = sc;
+ var t = Lo !== null && Lo.next !== null;
+ if (Fo = 0, Ro = Lo = Io = null, zo = !1, Uo = 0, Wo = null, t) throw Error(i(300));
+ e === null || Ec || (e = e.dependencies, e !== null && _a(e) && (Ec = !0));
}
- function Zo(e, t, n, r) {
- Lo = e;
+ function Xo(e, t, n, r) {
+ Io = e;
var a = 0;
do {
- if (Vo && (Go = null), Wo = 0, Vo = !1, 25 <= a) throw Error(i(301));
- if (a += 1, zo = Ro = null, e.updateQueue != null) {
+ if (Bo && (Wo = null), Uo = 0, Bo = !1, 25 <= a) throw Error(i(301));
+ if (a += 1, Ro = Lo = null, e.updateQueue != null) {
var o = e.updateQueue;
o.lastEffect = null, o.events = null, o.stores = null, o.memoCache != null && (o.memoCache.index = 0);
}
- he.H = fc, o = t(n, r);
- } while (Vo);
+ he.H = uc, o = t(n, r);
+ } while (Bo);
return o;
}
- function Qo() {
+ function Zo() {
var e = he.H, t = e.useState()[0];
- return t = typeof t.then == "function" ? as(t) : t, e = e.useState()[0], (Ro === null ? null : Ro.memoizedState) !== e && (Lo.flags |= 1024), t;
+ return t = typeof t.then == "function" ? is(t) : t, e = e.useState()[0], (Lo === null ? null : Lo.memoizedState) !== e && (Io.flags |= 1024), t;
}
- function $o() {
- var e = Uo !== 0;
- return Uo = 0, e;
+ function Qo() {
+ var e = Ho !== 0;
+ return Ho = 0, e;
}
- function es(e, t, n) {
+ function $o(e, t, n) {
t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n;
}
- function ts(e) {
- if (Bo) {
+ function es(e) {
+ if (zo) {
for (e = e.memoizedState; e !== null;) {
var t = e.queue;
t !== null && (t.pending = null), e = e.next;
}
- Bo = !1;
+ zo = !1;
}
- Io = 0, zo = Ro = Lo = null, Vo = !1, Wo = Uo = 0, Go = null;
+ Fo = 0, Ro = Lo = Io = null, Bo = !1, Uo = Ho = 0, Wo = null;
}
- function ns() {
+ function ts() {
var e = {
memoizedState: null,
baseState: null,
@@ -3073,28 +3073,28 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
queue: null,
next: null
};
- return zo === null ? Lo.memoizedState = zo = e : zo = zo.next = e, zo;
+ return Ro === null ? Io.memoizedState = Ro = e : Ro = Ro.next = e, Ro;
}
- function rs() {
- if (Ro === null) {
- var e = Lo.alternate;
+ function ns() {
+ if (Lo === null) {
+ var e = Io.alternate;
e = e === null ? null : e.memoizedState;
- } else e = Ro.next;
- var t = zo === null ? Lo.memoizedState : zo.next;
- if (t !== null) zo = t, Ro = e;
+ } else e = Lo.next;
+ var t = Ro === null ? Io.memoizedState : Ro.next;
+ if (t !== null) Ro = t, Lo = e;
else {
- if (e === null) throw Lo.alternate === null ? Error(i(467)) : Error(i(310));
- Ro = e, e = {
- memoizedState: Ro.memoizedState,
- baseState: Ro.baseState,
- baseQueue: Ro.baseQueue,
- queue: Ro.queue,
+ if (e === null) throw Io.alternate === null ? Error(i(467)) : Error(i(310));
+ Lo = e, e = {
+ memoizedState: Lo.memoizedState,
+ baseState: Lo.baseState,
+ baseQueue: Lo.baseQueue,
+ queue: Lo.queue,
next: null
- }, zo === null ? Lo.memoizedState = zo = e : zo = zo.next = e;
+ }, Ro === null ? Io.memoizedState = Ro = e : Ro = Ro.next = e;
}
- return zo;
+ return Ro;
}
- function is() {
+ function rs() {
return {
lastEffect: null,
events: null,
@@ -3102,22 +3102,22 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
memoCache: null
};
}
- function as(e) {
- var t = Wo;
- return Wo += 1, Go === null && (Go = []), e = Ja(Go, e, t), t = Lo, (zo === null ? t.memoizedState : zo.next) === null && (t = t.alternate, he.H = t === null || t.memoizedState === null ? uc : dc), e;
+ function is(e) {
+ var t = Uo;
+ return Uo += 1, Wo === null && (Wo = []), e = qa(Wo, e, t), t = Io, (Ro === null ? t.memoizedState : Ro.next) === null && (t = t.alternate, he.H = t === null || t.memoizedState === null ? cc : lc), e;
}
- function os(e) {
+ function as(e) {
if (typeof e == "object" && e) {
- if (typeof e.then == "function") return as(e);
+ if (typeof e.then == "function") return is(e);
if (e.$$typeof === le) return;
if (e.$$typeof === ee) return ya(e);
}
throw Error(i(438, String(e)));
}
- function ss(e) {
- var t = null, n = Lo.updateQueue;
+ function os(e) {
+ var t = null, n = Io.updateQueue;
if (n !== null && (t = n.memoCache), t == null) {
- var r = Lo.alternate;
+ var r = Io.alternate;
r !== null && (r = r.updateQueue, r !== null && (r = r.memoCache, r != null && (t = {
data: r.data.map(function(e) {
return e.slice();
@@ -3128,16 +3128,16 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
if (t ??= {
data: [],
index: 0
- }, n === null && (n = is(), Lo.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = se;
+ }, n === null && (n = rs(), Io.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = se;
return t.index++, n;
}
- function cs(e, t) {
+ function ss(e, t) {
return typeof t == "function" ? t(e) : t;
}
- function ls(e) {
- return us(rs(), Ro, e);
+ function cs(e) {
+ return ls(ns(), Lo, e);
}
- function us(e, t, n) {
+ function ls(e, t, n) {
var r = e.queue;
if (r === null) throw Error(i(311));
r.lastRenderedReducer = n;
@@ -3155,7 +3155,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
var c = s = null, l = null, u = t, d = !1;
do {
var f = u.lane & -536870913;
- if (f === u.lane ? (Io & f) === f : (Qu & f) === f) {
+ if (f === u.lane ? (Fo & f) === f : (Zu & f) === f) {
var p = u.revertLane;
if (p === 0) l !== null && (l = l.next = {
lane: 0,
@@ -3165,9 +3165,9 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
hasEagerState: u.hasEagerState,
eagerState: u.eagerState,
next: null
- }), f === Na && (d = !0);
- else if ((Io & p) === p) {
- u = u.next, p === Na && (d = !0);
+ }), f === Ma && (d = !0);
+ else if ((Fo & p) === p) {
+ u = u.next, p === Ma && (d = !0);
continue;
} else f = {
lane: 0,
@@ -3177,8 +3177,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
hasEagerState: u.hasEagerState,
eagerState: u.eagerState,
next: null
- }, l === null ? (c = l = f, s = o) : l = l.next = f, Lo.lanes |= p, od |= p;
- f = u.action, Ho && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);
+ }, l === null ? (c = l = f, s = o) : l = l.next = f, Io.lanes |= p, ad |= p;
+ f = u.action, Vo && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);
} else p = {
lane: f,
revertLane: u.revertLane,
@@ -3187,16 +3187,16 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
hasEagerState: u.hasEagerState,
eagerState: u.eagerState,
next: null
- }, l === null ? (c = l = p, s = o) : l = l.next = p, Lo.lanes |= f, od |= f;
+ }, l === null ? (c = l = p, s = o) : l = l.next = p, Io.lanes |= f, ad |= f;
u = u.next;
} while (u !== null && u !== t);
- if (l === null ? s = o : l.next = c, !Pr(o, e.memoizedState) && (Oc = !0, d && (n = Pa, n !== null))) throw n;
+ if (l === null ? s = o : l.next = c, !Pr(o, e.memoizedState) && (Ec = !0, d && (n = Na, n !== null))) throw n;
e.memoizedState = o, e.baseState = s, e.baseQueue = l, r.lastRenderedState = o;
}
return a === null && (r.lanes = 0), [e.memoizedState, r.dispatch];
}
- function ds(e) {
- var t = rs(), n = t.queue;
+ function us(e) {
+ var t = ns(), n = t.queue;
if (n === null) throw Error(i(311));
n.lastRenderedReducer = e;
var r = n.dispatch, a = n.pending, o = t.memoizedState;
@@ -3206,38 +3206,38 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
do
o = e(o, s.action), s = s.next;
while (s !== a);
- Pr(o, t.memoizedState) || (Oc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;
+ Pr(o, t.memoizedState) || (Ec = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;
}
return [o, r];
}
- function fs(e, t, n) {
- var r = Lo, a = rs(), o = Qi;
+ function ds(e, t, n) {
+ var r = Io, a = ns(), o = Qi;
if (o) {
if (n === void 0) throw Error(i(407));
n = n();
} else n = t();
- var s = !Pr((Ro || a).memoizedState, n);
- if (s && (a.memoizedState = n, Oc = !0), a = a.queue, Ls(hs.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || zo !== null && !!(zo.memoizedState.tag & 1), Ms(e ? 9 : 8, { destroy: void 0 }, ms.bind(null, r, a, n, t), null), e) {
- if (r.flags |= 2048, Xu === null) throw Error(i(349));
- o || Io & 127 || ps(r, t, n);
+ var s = !Pr((Lo || a).memoizedState, n);
+ if (s && (a.memoizedState = n, Ec = !0), a = a.queue, Is(ms.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Ro !== null && !!(Ro.memoizedState.tag & 1), js(e ? 9 : 8, { destroy: void 0 }, ps.bind(null, r, a, n, t), null), e) {
+ if (r.flags |= 2048, Yu === null) throw Error(i(349));
+ o || Fo & 127 || fs(r, t, n);
}
return n;
}
- function ps(e, t, n) {
+ function fs(e, t, n) {
e.flags |= 16384, e = {
getSnapshot: t,
value: n
- }, t = Lo.updateQueue, t === null ? (t = is(), Lo.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));
+ }, t = Io.updateQueue, t === null ? (t = rs(), Io.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));
}
- function ms(e, t, n, r) {
- t.value = n, t.getSnapshot = r, gs(t) && _s(e);
+ function ps(e, t, n, r) {
+ t.value = n, t.getSnapshot = r, hs(t) && gs(e);
}
- function hs(e, t, n) {
+ function ms(e, t, n) {
return n(function() {
- gs(t) && _s(e);
+ hs(t) && gs(e);
});
}
- function gs(e) {
+ function hs(e) {
var t = e.getSnapshot;
e = e.value;
try {
@@ -3247,15 +3247,15 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
return !0;
}
}
- function _s(e) {
+ function gs(e) {
var t = bi(e, 2);
- t !== null && Pd(t, e, 2);
+ t !== null && Nd(t, e, 2);
}
- function vs(e) {
- var t = ns();
+ function _s(e) {
+ var t = ts();
if (typeof e == "function") {
var n = e;
- if (e = n(), Ho) {
+ if (e = n(), Vo) {
$e(!0);
try {
n();
@@ -3268,15 +3268,15 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: cs,
+ lastRenderedReducer: ss,
lastRenderedState: e
}, t;
}
- function ys(e, t, n, r) {
- return e.baseState = n, us(e, Ro, typeof r == "function" ? r : cs);
+ function vs(e, t, n, r) {
+ return e.baseState = n, ls(e, Lo, typeof r == "function" ? r : ss);
}
- function bs(e, t, n, r, a) {
- if (sc(e)) throw Error(i(485));
+ function ys(e, t, n, r, a) {
+ if (H(e)) throw Error(i(485));
if (e = t.action, e !== null) {
var o = {
payload: a,
@@ -3291,72 +3291,72 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
o.listeners.push(e);
}
};
- he.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, xs(t, o)) : (o.next = n.next, t.pending = n.next = o);
+ he.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, bs(t, o)) : (o.next = n.next, t.pending = n.next = o);
}
}
- function xs(e, t) {
+ function bs(e, t) {
var n = t.action, r = t.payload, i = e.state;
if (t.isTransition) {
var a = he.T, o = {};
o.types = a === null ? null : a.types, he.T = o;
try {
var s = n(i, r), c = he.S;
- c !== null && c(o, s), Ss(e, t, s);
+ c !== null && c(o, s), xs(e, t, s);
} catch (n) {
- ws(e, t, n);
+ Cs(e, t, n);
} finally {
a !== null && o.types !== null && (a.types = o.types), he.T = a;
}
} else try {
- a = n(i, r), Ss(e, t, a);
+ a = n(i, r), xs(e, t, a);
} catch (n) {
- ws(e, t, n);
+ Cs(e, t, n);
}
}
- function Ss(e, t, n) {
+ function xs(e, t, n) {
typeof n == "object" && n && typeof n.then == "function" ? n.then(function(n) {
- Cs(e, t, n);
+ Ss(e, t, n);
}, function(n) {
- return ws(e, t, n);
- }) : Cs(e, t, n);
+ return Cs(e, t, n);
+ }) : Ss(e, t, n);
}
- function Cs(e, t, n) {
- t.status = "fulfilled", t.value = n, Ts(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, xs(e, n)));
+ function Ss(e, t, n) {
+ t.status = "fulfilled", t.value = n, ws(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, bs(e, n)));
}
- function ws(e, t, n) {
+ function Cs(e, t, n) {
var r = e.pending;
if (e.pending = null, r !== null) {
r = r.next;
do
- t.status = "rejected", t.reason = n, Ts(t), t = t.next;
+ t.status = "rejected", t.reason = n, ws(t), t = t.next;
while (t !== r);
}
e.action = null;
}
- function Ts(e) {
+ function ws(e) {
e = e.listeners;
for (var t = 0; t < e.length; t++) (0, e[t])();
}
- function Es(e, t) {
+ function Ts(e, t) {
return t;
}
- function Ds(e, t) {
+ function Es(e, t) {
if (Qi) {
- var n = Xu.formState;
+ var n = Yu.formState;
if (n !== null) {
a: {
- var r = Lo;
+ var r = Io;
if (Qi) {
if (Zi) {
b: {
- for (var i = Zi, a = ea; i.nodeType !== 8;) if (!a || (i = rm(i.nextSibling), i === null)) {
+ for (var i = Zi, a = ea; i.nodeType !== 8;) if (!a || (i = om(i.nextSibling), i === null)) {
i = null;
break b;
}
a = i.data, i = a === "F!" || a === "F" ? i : null;
}
if (i) {
- Zi = rm(i.nextSibling), r = i.data === "F!";
+ Zi = om(i.nextSibling), r = i.data === "F!";
break a;
}
}
@@ -3367,48 +3367,48 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
r && (t = n[0]);
}
}
- return n = ns(), n.memoizedState = n.baseState = t, r = {
+ return n = ts(), n.memoizedState = n.baseState = t, r = {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: Es,
+ lastRenderedReducer: Ts,
lastRenderedState: t
- }, n.queue = r, n = ic.bind(null, Lo, r), r.dispatch = n, r = vs(!1), a = oc.bind(null, Lo, !1, r.queue), r = ns(), i = {
+ }, n.queue = r, n = nc.bind(null, Io, r), r.dispatch = n, r = _s(!1), a = ic.bind(null, Io, !1, r.queue), r = ts(), i = {
state: t,
dispatch: null,
action: e,
pending: null
- }, r.queue = i, n = bs.bind(null, Lo, i, a, n), i.dispatch = n, r.memoizedState = e, [
+ }, r.queue = i, n = ys.bind(null, Io, i, a, n), i.dispatch = n, r.memoizedState = e, [
t,
n,
!1
];
}
- function Os(e) {
- return ks(rs(), Ro, e);
+ function Ds(e) {
+ return Os(ns(), Lo, e);
}
- function ks(e, t, n) {
- if (t = us(e, t, Es)[0], e = ls(cs)[0], typeof t == "object" && t && typeof t.then == "function") try {
- var r = as(t);
+ function Os(e, t, n) {
+ if (t = ls(e, t, Ts)[0], e = cs(ss)[0], typeof t == "object" && t && typeof t.then == "function") try {
+ var r = is(t);
} catch (e) {
- throw e === Ua ? Ga : e;
+ throw e === Ha ? Wa : e;
}
else r = t;
- t = rs();
+ t = ns();
var i = t.queue, a = i.dispatch;
- return n !== t.memoizedState && (Lo.flags |= 2048, Ms(9, { destroy: void 0 }, As.bind(null, i, n), null)), [
+ return n !== t.memoizedState && (Io.flags |= 2048, js(9, { destroy: void 0 }, ks.bind(null, i, n), null)), [
r,
a,
e
];
}
- function As(e, t) {
+ function ks(e, t) {
e.action = t;
}
- function js(e) {
- var t = rs(), n = Ro;
- if (n !== null) return ks(t, n, e);
- rs(), t = t.memoizedState, n = rs();
+ function As(e) {
+ var t = ns(), n = Lo;
+ if (n !== null) return Os(t, n, e);
+ ns(), t = t.memoizedState, n = ns();
var r = n.queue.dispatch;
return n.memoizedState = e, [
t,
@@ -3416,60 +3416,60 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
!1
];
}
- function Ms(e, t, n, r) {
+ function js(e, t, n, r) {
return e = {
tag: e,
create: n,
deps: r,
inst: t,
next: null
- }, t = Lo.updateQueue, t === null && (t = is(), Lo.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;
+ }, t = Io.updateQueue, t === null && (t = rs(), Io.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;
}
- function Ns() {
- return rs().memoizedState;
+ function Ms() {
+ return ns().memoizedState;
+ }
+ function Ns(e, t, n, r) {
+ var i = ts();
+ Io.flags |= e, i.memoizedState = js(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);
}
function Ps(e, t, n, r) {
var i = ns();
- Lo.flags |= e, i.memoizedState = Ms(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);
- }
- function Fs(e, t, n, r) {
- var i = rs();
r = r === void 0 ? null : r;
var a = i.memoizedState.inst;
- Ro !== null && r !== null && Jo(r, Ro.memoizedState.deps) ? i.memoizedState = Ms(t, a, n, r) : (Lo.flags |= e, i.memoizedState = Ms(1 | t, a, n, r));
+ Lo !== null && r !== null && qo(r, Lo.memoizedState.deps) ? i.memoizedState = js(t, a, n, r) : (Io.flags |= e, i.memoizedState = js(1 | t, a, n, r));
}
- function Is(e, t) {
- Ps(8390656, 8, e, t);
+ function Fs(e, t) {
+ Ns(8390656, 8, e, t);
}
- function Ls(e, t) {
- Fs(2048, 8, e, t);
+ function Is(e, t) {
+ Ps(2048, 8, e, t);
}
- function Rs(e) {
- Lo.flags |= 4;
- var t = Lo.updateQueue;
- if (t === null) t = is(), Lo.updateQueue = t, t.events = [e];
+ function Ls(e) {
+ Io.flags |= 4;
+ var t = Io.updateQueue;
+ if (t === null) t = rs(), Io.updateQueue = t, t.events = [e];
else {
var n = t.events;
n === null ? t.events = [e] : n.push(e);
}
}
- function zs(e) {
- var t = rs().memoizedState;
- return Rs({
+ function Rs(e) {
+ var t = ns().memoizedState;
+ return Ls({
ref: t,
nextImpl: e
}), function() {
- if (Yu & 2) throw Error(i(440));
+ if (Ju & 2) throw Error(i(440));
return t.impl.apply(void 0, arguments);
};
}
+ function zs(e, t) {
+ return Ps(4, 2, e, t);
+ }
function Bs(e, t) {
- return Fs(4, 2, e, t);
+ return Ps(4, 4, e, t);
}
function Vs(e, t) {
- return Fs(4, 4, e, t);
- }
- function Hs(e, t) {
if (typeof t == "function") {
e = e();
var n = t(e);
@@ -3481,22 +3481,22 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
t.current = null;
};
}
- function Us(e, t, n) {
- n = n == null ? null : n.concat([e]), Fs(4, 4, Hs.bind(null, t, e), n);
+ function Hs(e, t, n) {
+ n = n == null ? null : n.concat([e]), Ps(4, 4, Vs.bind(null, t, e), n);
}
- function Ws() {}
- function Gs(e, t) {
- var n = rs();
+ function Us() {}
+ function Ws(e, t) {
+ var n = ns();
t = t === void 0 ? null : t;
var r = n.memoizedState;
- return t !== null && Jo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);
+ return t !== null && qo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);
}
- function Ks(e, t) {
- var n = rs();
+ function Gs(e, t) {
+ var n = ns();
t = t === void 0 ? null : t;
var r = n.memoizedState;
- if (t !== null && Jo(t, r[1])) return r[0];
- if (r = e(), Ho) {
+ if (t !== null && qo(t, r[1])) return r[0];
+ if (r = e(), Vo) {
$e(!0);
try {
e();
@@ -3506,35 +3506,35 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return n.memoizedState = [r, t], r;
}
- function qs(e, t, n) {
- return n === void 0 || Io & 1073741824 && !(Qu & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Md(), Lo.lanes |= e, od |= e, n);
+ function Ks(e, t, n) {
+ return n === void 0 || Fo & 1073741824 && !(Zu & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = jd(), Io.lanes |= e, ad |= e, n);
}
- function Js(e, t, n, r) {
- return Pr(n, t) ? n : bo.current === null ? !(Io & 106) || Io & 1073741824 && !(Qu & 261930) ? (Oc = !0, e.memoizedState = n) : (e = Md(), Lo.lanes |= e, od |= e, t) : (e = qs(e, n, r), Pr(e, t) || (Oc = !0), e);
+ function qs(e, t, n, r) {
+ return Pr(n, t) ? n : yo.current === null ? !(Fo & 106) || Fo & 1073741824 && !(Zu & 261930) ? (Ec = !0, e.memoizedState = n) : (e = jd(), Io.lanes |= e, ad |= e, t) : (e = Ks(e, n, r), Pr(e, t) || (Ec = !0), e);
}
- function Ys(e, t, n, r, i) {
+ function Js(e, t, n, r, i) {
var a = ge.p;
ge.p = a !== 0 && 8 > a ? a : 8;
var o = he.T, s = {};
- s.types = o === null ? null : o.types, he.T = s, oc(e, !1, t, n);
+ s.types = o === null ? null : o.types, he.T = s, ic(e, !1, t, n);
try {
var c = i(), l = he.S;
- l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? ac(e, t, La(c, r), jd(e)) : ac(e, t, r, jd(e));
+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? rc(e, t, Ia(c, r), Ad(e)) : rc(e, t, r, Ad(e));
} catch (n) {
- ac(e, t, {
+ rc(e, t, {
then: function() {},
status: "rejected",
reason: n
- }, jd());
+ }, Ad());
} finally {
ge.p = a, o !== null && s.types !== null && (o.types = s.types), he.T = o;
}
}
- function iee() {}
+ function Ys() {}
function Xs(e, t, n, r) {
if (e.tag !== 5) throw Error(i(476));
var a = Zs(e).queue;
- Ys(e, a, t, _e, n === null ? iee : function() {
+ Js(e, a, t, _e, n === null ? Ys : function() {
return Qs(e), n(r);
});
}
@@ -3549,7 +3549,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: cs,
+ lastRenderedReducer: ss,
lastRenderedState: _e
},
next: null
@@ -3563,7 +3563,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: cs,
+ lastRenderedReducer: ss,
lastRenderedState: n
},
next: null
@@ -3571,33 +3571,33 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
function Qs(e) {
var t = Zs(e);
- t.next === null && (t = e.alternate.memoizedState), ac(e, t.next.queue, {}, jd());
+ t.next === null && (t = e.alternate.memoizedState), rc(e, t.next.queue, {}, Ad());
}
function $s() {
- return ya(Qm);
+ return ya(th);
}
function ec() {
- return rs().memoizedState;
+ return ns().memoizedState;
}
function tc() {
- return rs().memoizedState;
+ return ns().memoizedState;
}
- function nc(e) {
+ function oee(e) {
for (var t = e.return; t !== null;) {
switch (t.tag) {
case 24:
case 3:
- var n = jd();
- e = uo(n);
- var r = fo(t, e, n);
- r !== null && (Pd(r, t, n), po(r, t, n)), t = { cache: Ea() }, e.payload = t;
+ var n = Ad();
+ e = lo(n);
+ var r = uo(t, e, n);
+ r !== null && (Nd(r, t, n), fo(r, t, n)), t = { cache: Ta() }, e.payload = t;
return;
}
t = t.return;
}
}
- function rc(e, t, n) {
- var r = jd();
+ function see(e, t, n) {
+ var r = Ad();
n = {
lane: r,
revertLane: 0,
@@ -3606,12 +3606,12 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
hasEagerState: !1,
eagerState: null,
next: null
- }, sc(e) ? U(t, n) : (n = yi(e, t, n, r), n !== null && (Pd(n, e, r), cc(n, t, r)));
+ }, H(e) ? ac(t, n) : (n = yi(e, t, n, r), n !== null && (Nd(n, e, r), oc(n, t, r)));
}
- function ic(e, t, n) {
- ac(e, t, n, jd());
+ function nc(e, t, n) {
+ rc(e, t, n, Ad());
}
- function ac(e, t, n, r) {
+ function rc(e, t, n, r) {
var i = {
lane: r,
revertLane: 0,
@@ -3621,92 +3621,92 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
eagerState: null,
next: null
};
- if (sc(e)) U(t, i);
+ if (H(e)) ac(t, i);
else {
var a = e.alternate;
if (e.lanes === 0 && (a === null || a.lanes === 0) && (a = t.lastRenderedReducer, a !== null)) try {
var o = t.lastRenderedState, s = a(o, n);
- if (i.hasEagerState = !0, i.eagerState = s, Pr(s, o)) return vi(e, t, i, 0), Xu === null && _i(), !1;
+ if (i.hasEagerState = !0, i.eagerState = s, Pr(s, o)) return vi(e, t, i, 0), Yu === null && _i(), !1;
} catch {}
- if (n = yi(e, t, i, r), n !== null) return Pd(n, e, r), cc(n, t, r), !0;
+ if (n = yi(e, t, i, r), n !== null) return Nd(n, e, r), oc(n, t, r), !0;
}
return !1;
}
- function oc(e, t, n, r) {
+ function ic(e, t, n, r) {
if (r = {
lane: 2,
- revertLane: Pf(),
+ revertLane: Nf(),
gesture: null,
action: r,
hasEagerState: !1,
eagerState: null,
next: null
- }, sc(e)) {
+ }, H(e)) {
if (t) throw Error(i(479));
- } else t = yi(e, n, r, 2), t !== null && Pd(t, e, 2);
+ } else t = yi(e, n, r, 2), t !== null && Nd(t, e, 2);
}
- function sc(e) {
+ function H(e) {
var t = e.alternate;
- return e === Lo || t !== null && t === Lo;
+ return e === Io || t !== null && t === Io;
}
- function U(e, t) {
- Vo = Bo = !0;
+ function ac(e, t) {
+ Bo = zo = !0;
var n = e.pending;
n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t;
}
- function cc(e, t, n) {
+ function oc(e, t, n) {
if (n & 4194048) {
var r = t.lanes;
r &= e.pendingLanes, n |= r, t.lanes = n, I(e, n);
}
}
- var lc = {
+ var sc = {
readContext: ya,
- use: os,
- useCallback: qo,
- useContext: qo,
- useEffect: qo,
- useImperativeHandle: qo,
- useLayoutEffect: qo,
- useInsertionEffect: qo,
- useMemo: qo,
- useReducer: qo,
- useRef: qo,
- useState: qo,
- useDebugValue: qo,
- useDeferredValue: qo,
- useTransition: qo,
- useSyncExternalStore: qo,
- useId: qo,
- useHostTransitionStatus: qo,
- useFormState: qo,
- useActionState: qo,
- useOptimistic: qo,
- useMemoCache: qo,
- useCacheRefresh: qo,
- useEffectEvent: qo
- }, uc = {
+ use: as,
+ useCallback: Ko,
+ useContext: Ko,
+ useEffect: Ko,
+ useImperativeHandle: Ko,
+ useLayoutEffect: Ko,
+ useInsertionEffect: Ko,
+ useMemo: Ko,
+ useReducer: Ko,
+ useRef: Ko,
+ useState: Ko,
+ useDebugValue: Ko,
+ useDeferredValue: Ko,
+ useTransition: Ko,
+ useSyncExternalStore: Ko,
+ useId: Ko,
+ useHostTransitionStatus: Ko,
+ useFormState: Ko,
+ useActionState: Ko,
+ useOptimistic: Ko,
+ useMemoCache: Ko,
+ useCacheRefresh: Ko,
+ useEffectEvent: Ko
+ }, cc = {
readContext: ya,
- use: os,
+ use: as,
useCallback: function(e, t) {
- return ns().memoizedState = [e, t === void 0 ? null : t], e;
+ return ts().memoizedState = [e, t === void 0 ? null : t], e;
},
useContext: ya,
- useEffect: Is,
+ useEffect: Fs,
useImperativeHandle: function(e, t, n) {
- n = n == null ? null : n.concat([e]), Ps(4194308, 4, Hs.bind(null, t, e), n);
+ n = n == null ? null : n.concat([e]), Ns(4194308, 4, Vs.bind(null, t, e), n);
},
useLayoutEffect: function(e, t) {
- return Ps(4194308, 4, e, t);
+ return Ns(4194308, 4, e, t);
},
useInsertionEffect: function(e, t) {
- Ps(4, 2, e, t);
+ Ns(4, 2, e, t);
},
useMemo: function(e, t) {
- var n = ns();
+ var n = ts();
t = t === void 0 ? null : t;
var r = e();
- if (Ho) {
+ if (Vo) {
$e(!0);
try {
e();
@@ -3717,10 +3717,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
return n.memoizedState = [r, t], r;
},
useReducer: function(e, t, n) {
- var r = ns();
+ var r = ts();
if (n !== void 0) {
var i = n(t);
- if (Ho) {
+ if (Vo) {
$e(!0);
try {
n(t);
@@ -3735,54 +3735,54 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
dispatch: null,
lastRenderedReducer: e,
lastRenderedState: i
- }, r.queue = e, e = e.dispatch = rc.bind(null, Lo, e), [r.memoizedState, e];
+ }, r.queue = e, e = e.dispatch = see.bind(null, Io, e), [r.memoizedState, e];
},
useRef: function(e) {
- var t = ns();
+ var t = ts();
return e = { current: e }, t.memoizedState = e;
},
useState: function(e) {
- e = vs(e);
- var t = e.queue, n = ic.bind(null, Lo, t);
+ e = _s(e);
+ var t = e.queue, n = nc.bind(null, Io, t);
return t.dispatch = n, [e.memoizedState, n];
},
- useDebugValue: Ws,
+ useDebugValue: Us,
useDeferredValue: function(e, t) {
- return qs(ns(), e, t);
+ return Ks(ts(), e, t);
},
useTransition: function() {
- var e = vs(!1);
- return e = Ys.bind(null, Lo, e.queue, !0, !1), ns().memoizedState = e, [!1, e];
+ var e = _s(!1);
+ return e = Js.bind(null, Io, e.queue, !0, !1), ts().memoizedState = e, [!1, e];
},
useSyncExternalStore: function(e, t, n) {
- var r = Lo, a = ns();
+ var r = Io, a = ts();
if (Qi) {
if (n === void 0) throw Error(i(407));
n = n();
} else {
- if (n = t(), Xu === null) throw Error(i(349));
- Qu & 127 || ps(r, t, n);
+ if (n = t(), Yu === null) throw Error(i(349));
+ Zu & 127 || fs(r, t, n);
}
a.memoizedState = n;
var o = {
value: n,
getSnapshot: t
};
- return a.queue = o, Is(hs.bind(null, r, o, e), [e]), r.flags |= 2048, Ms(9, { destroy: void 0 }, ms.bind(null, r, o, n, t), null), n;
+ return a.queue = o, Fs(ms.bind(null, r, o, e), [e]), r.flags |= 2048, js(9, { destroy: void 0 }, ps.bind(null, r, o, n, t), null), n;
},
useId: function() {
- var e = ns(), t = Xu.identifierPrefix;
+ var e = ts(), t = Yu.identifierPrefix;
if (Qi) {
var n = Wi, r = Ui;
- n = (r & ~(1 << 32 - et(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Uo++, 0 < n && (t += "H" + n.toString(32)), t += "_";
- } else n = Ko++, t = "_" + t + "r_" + n.toString(32) + "_";
+ n = (r & ~(1 << 32 - et(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Ho++, 0 < n && (t += "H" + n.toString(32)), t += "_";
+ } else n = Go++, t = "_" + t + "r_" + n.toString(32) + "_";
return e.memoizedState = t;
},
useHostTransitionStatus: $s,
- useFormState: Ds,
- useActionState: Ds,
+ useFormState: Es,
+ useActionState: Es,
useOptimistic: function(e) {
- var t = ns();
+ var t = ts();
t.memoizedState = t.baseState = e;
var n = {
pending: null,
@@ -3791,132 +3791,132 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
lastRenderedReducer: null,
lastRenderedState: null
};
- return t.queue = n, t = oc.bind(null, Lo, !0, n), n.dispatch = t, [e, t];
+ return t.queue = n, t = ic.bind(null, Io, !0, n), n.dispatch = t, [e, t];
},
- useMemoCache: ss,
+ useMemoCache: os,
useCacheRefresh: function() {
- return ns().memoizedState = nc.bind(null, Lo);
+ return ts().memoizedState = oee.bind(null, Io);
},
useEffectEvent: function(e) {
- var t = ns(), n = { impl: e };
+ var t = ts(), n = { impl: e };
return t.memoizedState = n, function() {
- if (Yu & 2) throw Error(i(440));
+ if (Ju & 2) throw Error(i(440));
return n.impl.apply(void 0, arguments);
};
}
- }, dc = {
+ }, lc = {
readContext: ya,
- use: os,
- useCallback: Gs,
+ use: as,
+ useCallback: Ws,
useContext: ya,
- useEffect: Ls,
- useImperativeHandle: Us,
- useInsertionEffect: Bs,
- useLayoutEffect: Vs,
- useMemo: Ks,
- useReducer: ls,
- useRef: Ns,
+ useEffect: Is,
+ useImperativeHandle: Hs,
+ useInsertionEffect: zs,
+ useLayoutEffect: Bs,
+ useMemo: Gs,
+ useReducer: cs,
+ useRef: Ms,
useState: function() {
- return ls(cs);
+ return cs(ss);
},
- useDebugValue: Ws,
+ useDebugValue: Us,
useDeferredValue: function(e, t) {
- return Js(rs(), Ro.memoizedState, e, t);
+ return qs(ns(), Lo.memoizedState, e, t);
},
useTransition: function() {
- var e = ls(cs)[0], t = rs().memoizedState;
- return [typeof e == "boolean" ? e : as(e), t];
+ var e = cs(ss)[0], t = ns().memoizedState;
+ return [typeof e == "boolean" ? e : is(e), t];
},
- useSyncExternalStore: fs,
+ useSyncExternalStore: ds,
useId: ec,
useHostTransitionStatus: $s,
- useFormState: Os,
- useActionState: Os,
+ useFormState: Ds,
+ useActionState: Ds,
useOptimistic: function(e, t) {
- return ys(rs(), Ro, e, t);
+ return vs(ns(), Lo, e, t);
},
- useMemoCache: ss,
+ useMemoCache: os,
useCacheRefresh: tc,
- useEffectEvent: zs
- }, fc = {
+ useEffectEvent: Rs
+ }, uc = {
readContext: ya,
- use: os,
- useCallback: Gs,
+ use: as,
+ useCallback: Ws,
useContext: ya,
- useEffect: Ls,
- useImperativeHandle: Us,
- useInsertionEffect: Bs,
- useLayoutEffect: Vs,
- useMemo: Ks,
- useReducer: ds,
- useRef: Ns,
+ useEffect: Is,
+ useImperativeHandle: Hs,
+ useInsertionEffect: zs,
+ useLayoutEffect: Bs,
+ useMemo: Gs,
+ useReducer: us,
+ useRef: Ms,
useState: function() {
- return ds(cs);
+ return us(ss);
},
- useDebugValue: Ws,
+ useDebugValue: Us,
useDeferredValue: function(e, t) {
- var n = rs();
- return Ro === null ? qs(n, e, t) : Js(n, Ro.memoizedState, e, t);
+ var n = ns();
+ return Lo === null ? Ks(n, e, t) : qs(n, Lo.memoizedState, e, t);
},
useTransition: function() {
- var e = ds(cs)[0], t = rs().memoizedState;
- return [typeof e == "boolean" ? e : as(e), t];
+ var e = us(ss)[0], t = ns().memoizedState;
+ return [typeof e == "boolean" ? e : is(e), t];
},
- useSyncExternalStore: fs,
+ useSyncExternalStore: ds,
useId: ec,
useHostTransitionStatus: $s,
- useFormState: js,
- useActionState: js,
+ useFormState: As,
+ useActionState: As,
useOptimistic: function(e, t) {
- var n = rs();
- return Ro === null ? (n.baseState = e, [e, n.queue.dispatch]) : ys(n, Ro, e, t);
+ var n = ns();
+ return Lo === null ? (n.baseState = e, [e, n.queue.dispatch]) : vs(n, Lo, e, t);
},
- useMemoCache: ss,
+ useMemoCache: os,
useCacheRefresh: tc,
- useEffectEvent: zs
+ useEffectEvent: Rs
};
- function pc(e, t, n, r) {
+ function dc(e, t, n, r) {
t = e.memoizedState, n = n(r, t), n = n == null ? t : D({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n);
}
- var mc = {
+ var fc = {
enqueueSetState: function(e, t, n) {
e = e._reactInternals;
- var r = jd(), i = uo(r);
- i.payload = t, n != null && (i.callback = n), t = fo(e, i, r), t !== null && (Pd(t, e, r), po(t, e, r));
+ var r = Ad(), i = lo(r);
+ i.payload = t, n != null && (i.callback = n), t = uo(e, i, r), t !== null && (Nd(t, e, r), fo(t, e, r));
},
enqueueReplaceState: function(e, t, n) {
e = e._reactInternals;
- var r = jd(), i = uo(r);
- i.tag = 1, i.payload = t, n != null && (i.callback = n), t = fo(e, i, r), t !== null && (Pd(t, e, r), po(t, e, r));
+ var r = Ad(), i = lo(r);
+ i.tag = 1, i.payload = t, n != null && (i.callback = n), t = uo(e, i, r), t !== null && (Nd(t, e, r), fo(t, e, r));
},
enqueueForceUpdate: function(e, t) {
e = e._reactInternals;
- var n = jd(), r = uo(n);
- r.tag = 2, t != null && (r.callback = t), t = fo(e, r, n), t !== null && (Pd(t, e, n), po(t, e, n));
+ var n = Ad(), r = lo(n);
+ r.tag = 2, t != null && (r.callback = t), t = uo(e, r, n), t !== null && (Nd(t, e, n), fo(t, e, n));
}
};
- function hc(e, t, n, r, i, a, o) {
+ function pc(e, t, n, r, i, a, o) {
return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !Fr(n, r) || !Fr(i, a) : !0;
}
- function gc(e, t, n, r) {
- e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && mc.enqueueReplaceState(t, t.state, null);
+ function mc(e, t, n, r) {
+ e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && fc.enqueueReplaceState(t, t.state, null);
}
- function _c(e, t) {
+ function hc(e, t) {
var n = t;
if ("ref" in t) for (var r in n = {}, t) r !== "ref" && (n[r] = t[r]);
if (e = e.defaultProps) for (var i in n === t && (n = D({}, n)), e) n[i] === void 0 && (n[i] = e[i]);
return n;
}
- function vc(e) {
+ function gc(e) {
pi(e);
}
- function yc(e) {
+ function _c(e) {
console.error(e);
}
- function bc(e) {
+ function vc(e) {
pi(e);
}
- function xc(e, t) {
+ function yc(e, t) {
try {
var n = e.onUncaughtError;
n(t.value, { componentStack: t.stack });
@@ -3926,7 +3926,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
});
}
}
- function Sc(e, t, n) {
+ function bc(e, t, n) {
try {
var r = e.onCaughtError;
r(n.value, {
@@ -3939,39 +3939,39 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
});
}
}
- function Cc(e, t, n) {
- return n = uo(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {
- xc(e, t);
+ function xc(e, t, n) {
+ return n = lo(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {
+ yc(e, t);
}, n;
}
- function wc(e) {
- return e = uo(e), e.tag = 3, e;
+ function Sc(e) {
+ return e = lo(e), e.tag = 3, e;
}
- function Tc(e, t, n, r) {
+ function Cc(e, t, n, r) {
var i = n.type.getDerivedStateFromError;
if (typeof i == "function") {
var a = r.value;
e.payload = function() {
return i(a);
}, e.callback = function() {
- Sc(t, n, r);
+ bc(t, n, r);
};
}
var o = n.stateNode;
o !== null && typeof o.componentDidCatch == "function" && (e.callback = function() {
- Sc(t, n, r), typeof i != "function" && (vd === null ? vd = /* @__PURE__ */ new Set([this]) : vd.add(this));
+ bc(t, n, r), typeof i != "function" && (_d === null ? _d = /* @__PURE__ */ new Set([this]) : _d.add(this));
var e = r.stack;
this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });
});
}
- function Ec(e, t, n, r, a) {
+ function wc(e, t, n, r, a) {
if (n.flags |= 32768, typeof r == "object" && r && typeof r.then == "function") {
- if (t = n.alternate, t !== null && ga(t, n, a, !0), n = To.current, n !== null) {
+ if (t = n.alternate, t !== null && ga(t, n, a, !0), n = wo.current, n !== null) {
switch (n.tag) {
case 31:
case 13:
- case 19: return Eo === null ? Kd() : n.alternate === null && ad === 0 && (ad = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Ka ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), mf(e, r, a)), !1;
- case 22: return n.flags |= 65536, r === Ka ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {
+ case 19: return To === null ? Gd() : n.alternate === null && id === 0 && (id = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Ga ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), mf(e, r, a)), !1;
+ case 22: return n.flags |= 65536, r === Ga ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {
transitions: null,
markerInstances: null,
retryQueue: /* @__PURE__ */ new Set([r])
@@ -3979,17 +3979,17 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
throw Error(i(435, n.tag));
}
- return mf(e, r, a), Kd(), !1;
+ return mf(e, r, a), Gd(), !1;
}
- if (Qi) return t = To.current, t === null ? (r !== ta && (t = Error(i(423), { cause: r }), ca(Fi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Fi(r, n), a = Cc(e.stateNode, r, a), mo(e, a), ad !== 4 && (ad = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== ta && (e = Error(i(422), { cause: r }), ca(Fi(e, n)))), !1;
+ if (Qi) return t = wo.current, t === null ? (r !== ta && (t = Error(i(423), { cause: r }), ca(Fi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Fi(r, n), a = xc(e.stateNode, r, a), po(e, a), id !== 4 && (id = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== ta && (e = Error(i(422), { cause: r }), ca(Fi(e, n)))), !1;
var o = Error(i(520), { cause: r });
- if (o = Fi(o, n), dd === null ? dd = [o] : dd.push(o), ad !== 4 && (ad = 2), t === null) return !0;
+ if (o = Fi(o, n), ud === null ? ud = [o] : ud.push(o), id !== 4 && (id = 2), t === null) return !0;
r = Fi(r, n), n = t;
do {
switch (n.tag) {
- case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Cc(n.stateNode, r, e), mo(n, e), !1;
+ case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = xc(n.stateNode, r, e), po(n, e), !1;
case 1:
- if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (vd === null || !vd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = wc(a), Tc(a, e, n, r), mo(n, a), !1;
+ if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (_d === null || !_d.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Sc(a), Cc(a, e, n, r), po(n, a), !1;
break;
case 22: if (n.memoizedState !== null) return n.flags |= 65536, !1;
}
@@ -3997,41 +3997,41 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
} while (n !== null);
return !1;
}
- var Dc = Error(i(461)), Oc = !1;
- function kc(e, t, n, r) {
- t.child = e === null ? oo(t, null, n, r) : ao(t, e.child, n, r);
+ var Tc = Error(i(461)), Ec = !1;
+ function Dc(e, t, n, r) {
+ t.child = e === null ? ao(t, null, n, r) : io(t, e.child, n, r);
}
- function Ac(e, t, n, r, i) {
+ function Oc(e, t, n, r, i) {
n = n.render;
var a = t.ref;
if ("ref" in r) {
var o = {};
for (var s in r) s !== "ref" && (o[s] = r[s]);
} else o = r;
- return va(t), r = Yo(e, t, n, o, a, i), s = $o(), e !== null && !Oc ? (es(e, t, i), il(e, t, i)) : (Qi && s && qi(t), t.flags |= 1, kc(e, t, r, i), t.child);
+ return va(t), r = Jo(e, t, n, o, a, i), s = Qo(), e !== null && !Ec ? ($o(e, t, i), nl(e, t, i)) : (Qi && s && qi(t), t.flags |= 1, Dc(e, t, r, i), t.child);
}
- function jc(e, t, n, r, i) {
+ function kc(e, t, n, r, i) {
if (e === null) {
var a = n.type;
- return typeof a == "function" && !Ei(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Mc(e, t, a, r, i)) : (e = ki(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);
+ return typeof a == "function" && !Ei(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Ac(e, t, a, r, i)) : (e = ki(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);
}
- if (a = e.child, !al(e, i)) {
+ if (a = e.child, !rl(e, i)) {
var o = a.memoizedProps;
- if (n = n.compare, n = n === null ? Fr : n, n(o, r) && e.ref === t.ref) return il(e, t, i);
+ if (n = n.compare, n = n === null ? Fr : n, n(o, r) && e.ref === t.ref) return nl(e, t, i);
}
return t.flags |= 1, e = Di(a, r), e.ref = t.ref, e.return = t, t.child = e;
}
- function Mc(e, t, n, r, i) {
+ function Ac(e, t, n, r, i) {
if (e !== null) {
var a = e.memoizedProps;
if (Fr(a, r) && e.ref === t.ref) {
- if (Oc = !1, t.pendingProps = r = a, al(e, i)) e.flags & 131072 && (Oc = !0);
- else return t.lanes = e.lanes, il(e, t, i);
+ if (Ec = !1, t.pendingProps = r = a, rl(e, i)) e.flags & 131072 && (Ec = !0);
+ else return t.lanes = e.lanes, nl(e, t, i);
}
}
- return Bc(e, t, n, r, i);
+ return Rc(e, t, n, r, i);
}
- function Nc(e, t, n, r) {
+ function jc(e, t, n, r) {
var i = r.children, a = e === null ? null : e.memoizedState;
if (e === null && t.stateNode === null && (t.stateNode = {
_visibility: 1,
@@ -4044,17 +4044,17 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
for (r = t.child = e.child, i = 0; r !== null;) i = i | r.lanes | r.childLanes, r = r.sibling;
r = i & ~a;
} else r = 0, t.child = null;
- return Fc(e, t, a, n, r);
+ return Nc(e, t, a, n, r);
}
if (n & 536870912) t.memoizedState = {
baseLanes: 0,
cachePool: null
- }, e !== null && Va(t, a === null ? null : a.cachePool), a === null ? Co() : So(t, a), ko(t);
- else return r = t.lanes = 536870912, Fc(e, t, a === null ? n : a.baseLanes | n, n, r);
- } else a === null ? (e !== null && Va(t, null), Co(), Ao()) : (Va(t, a.cachePool), So(t, a), Ao(), t.memoizedState = null);
- return kc(e, t, i, n), t.child;
+ }, e !== null && Ba(t, a === null ? null : a.cachePool), a === null ? So() : xo(t, a), Oo(t);
+ else return r = t.lanes = 536870912, Nc(e, t, a === null ? n : a.baseLanes | n, n, r);
+ } else a === null ? (e !== null && Ba(t, null), So(), ko()) : (Ba(t, a.cachePool), xo(t, a), ko(), t.memoizedState = null);
+ return Dc(e, t, i, n), t.child;
}
- function Pc(e, t) {
+ function Mc(e, t) {
return e !== null && e.tag === 22 || t.stateNode !== null || (t.stateNode = {
_visibility: 1,
_pendingMarkers: null,
@@ -4062,34 +4062,34 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
_transitions: null
}), t.sibling;
}
- function Fc(e, t, n, r, i) {
- var a = Ba();
+ function Nc(e, t, n, r, i) {
+ var a = za();
return a = a === null ? null : {
- parent: Ta._currentValue,
+ parent: wa._currentValue,
pool: a
}, t.memoizedState = {
baseLanes: n,
cachePool: a
- }, e !== null && Va(t, null), Co(), ko(t), e !== null && ga(e, t, r, !0), t.childLanes = i, null;
+ }, e !== null && Ba(t, null), So(), Oo(t), e !== null && ga(e, t, r, !0), t.childLanes = i, null;
}
- function Ic(e, t) {
- return t = Yc({
+ function Pc(e, t) {
+ return t = qc({
mode: t.mode,
children: t.children
}, e.mode), t.ref = e.ref, e.child = t, t.return = e, t;
}
- function Lc(e, t, n) {
- return ao(t, e.child, null, n), e = Ic(t, t.pendingProps), e.flags |= 2, jo(t), t.memoizedState = null, e;
+ function Fc(e, t, n) {
+ return io(t, e.child, null, n), e = Pc(t, t.pendingProps), e.flags |= 2, Ao(t), t.memoizedState = null, e;
}
- function Rc(e, t, n) {
+ function Ic(e, t, n) {
var r = t.pendingProps, a = !!(t.flags & 128);
if (t.flags &= -129, e === null) {
if (Qi) {
- if (r.mode === "hidden") return e = Ic(t, r), t.lanes = 536870912, e.memoizedState = {
+ if (r.mode === "hidden") return e = Pc(t, r), t.lanes = 536870912, e.memoizedState = {
baseLanes: 0,
cachePool: null
- }, Pc(null, e);
- if (Oo(t), (e = Zi) ? (e = $p(e, ea), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {
+ }, Mc(null, e);
+ if (Do(t), (e = Zi) ? (e = nm(e, ea), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {
dehydrated: e,
treeContext: Hi === null ? null : {
id: Ui,
@@ -4100,22 +4100,22 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}, n = Mi(e), n.return = t, t.child = n, Xi = t, Zi = null)) : e = null, e === null) throw na(t);
return t.lanes = 536870912, null;
}
- return Ic(t, r);
+ return Pc(t, r);
}
var o = e.memoizedState;
if (o !== null) {
var s = o.dehydrated;
- if (Oo(t), a) {
- if (t.flags & 256) t.flags &= -257, t = Lc(e, t, n);
+ if (Do(t), a) {
+ if (t.flags & 256) t.flags &= -257, t = Fc(e, t, n);
else if (t.memoizedState !== null) t.child = e.child, t.flags |= 128, t = null;
else throw Error(i(558));
- } else if (Oc || ga(e, t, n, !1), a = (n & e.childLanes) !== 0, Oc || a) {
- if (bo.current === null) {
- if (r = Xu, r !== null && (s = _t(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, bi(e, s), Pd(r, e, s), Dc;
- Kd();
+ } else if (Ec || ga(e, t, n, !1), a = (n & e.childLanes) !== 0, Ec || a) {
+ if (yo.current === null) {
+ if (r = Yu, r !== null && (s = ht(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, bi(e, s), Nd(r, e, s), Tc;
+ Gd();
}
- t = Lc(e, t, n);
- } else e = o.treeContext, Zi = rm(s.nextSibling), Xi = t, Qi = !0, $i = null, ea = !1, e !== null && Yi(t, e), t = Ic(t, r), t.flags |= 134221824;
+ t = Fc(e, t, n);
+ } else e = o.treeContext, Zi = om(s.nextSibling), Xi = t, Qi = !0, $i = null, ea = !1, e !== null && Yi(t, e), t = Pc(t, r), t.flags |= 134221824;
return t;
}
return e = Di(e.child, {
@@ -4123,7 +4123,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
children: r.children
}), e.ref = t.ref, t.child = e, e.return = t, e;
}
- function zc(e, t) {
+ function Lc(e, t) {
var n = t.ref;
if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816);
else {
@@ -4131,56 +4131,56 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
(e === null || e.ref !== n) && (t.flags |= 4194816);
}
}
- function Bc(e, t, n, r, i) {
- return va(t), n = Yo(e, t, n, r, void 0, i), r = $o(), e !== null && !Oc ? (es(e, t, i), il(e, t, i)) : (Qi && r && qi(t), t.flags |= 1, kc(e, t, n, i), t.child);
+ function Rc(e, t, n, r, i) {
+ return va(t), n = Jo(e, t, n, r, void 0, i), r = Qo(), e !== null && !Ec ? ($o(e, t, i), nl(e, t, i)) : (Qi && r && qi(t), t.flags |= 1, Dc(e, t, n, i), t.child);
}
- function Vc(e, t, n, r, i, a) {
- return va(t), t.updateQueue = null, n = Zo(t, r, n, i), Xo(e), r = $o(), e !== null && !Oc ? (es(e, t, a), il(e, t, a)) : (Qi && r && qi(t), t.flags |= 1, kc(e, t, n, a), t.child);
+ function zc(e, t, n, r, i, a) {
+ return va(t), t.updateQueue = null, n = Xo(t, r, n, i), Yo(e), r = Qo(), e !== null && !Ec ? ($o(e, t, a), nl(e, t, a)) : (Qi && r && qi(t), t.flags |= 1, Dc(e, t, n, a), t.child);
}
- function Hc(e, t, n, r, i) {
+ function Bc(e, t, n, r, i) {
if (va(t), t.stateNode === null) {
var a = Ci, o = n.contextType;
- typeof o == "object" && o && (a = ya(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = mc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, co(t), o = n.contextType, a.context = typeof o == "object" && o ? ya(o) : Ci, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (pc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && mc.enqueueReplaceState(a, a.state, null), _o(t, r, a, i), go(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;
+ typeof o == "object" && o && (a = ya(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = fc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, so(t), o = n.contextType, a.context = typeof o == "object" && o ? ya(o) : Ci, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (dc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && fc.enqueueReplaceState(a, a.state, null), go(t, r, a, i), ho(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;
} else if (e === null) {
a = t.stateNode;
- var s = t.memoizedProps, c = _c(n, s);
+ var s = t.memoizedProps, c = hc(n, s);
a.props = c;
var l = a.context, u = n.contextType;
o = Ci, typeof u == "object" && u && (o = ya(u));
var d = n.getDerivedStateFromProps;
- u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && gc(t, a, r, o), so = !1;
+ u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && mc(t, a, r, o), oo = !1;
var f = t.memoizedState;
- a.state = f, _o(t, r, a, i), go(), l = t.memoizedState, s || f !== l || so ? (typeof d == "function" && (pc(t, n, d, r), l = t.memoizedState), (c = so || hc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);
+ a.state = f, go(t, r, a, i), ho(), l = t.memoizedState, s || f !== l || oo ? (typeof d == "function" && (dc(t, n, d, r), l = t.memoizedState), (c = oo || pc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);
} else {
- a = t.stateNode, lo(e, t), o = t.memoizedProps, u = _c(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Ci, typeof l == "object" && l && (c = ya(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && gc(t, a, r, c), so = !1, f = t.memoizedState, a.state = f, _o(t, r, a, i), go();
+ a = t.stateNode, co(e, t), o = t.memoizedProps, u = hc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Ci, typeof l == "object" && l && (c = ya(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && mc(t, a, r, c), oo = !1, f = t.memoizedState, a.state = f, go(t, r, a, i), ho();
var p = t.memoizedState;
- o !== d || f !== p || so || e !== null && e.dependencies !== null && _a(e.dependencies) ? (typeof s == "function" && (pc(t, n, s, r), p = t.memoizedState), (u = so || hc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && _a(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);
+ o !== d || f !== p || oo || e !== null && e.dependencies !== null && _a(e.dependencies) ? (typeof s == "function" && (dc(t, n, s, r), p = t.memoizedState), (u = oo || pc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && _a(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);
}
- return a = r, zc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = ao(t, e.child, null, i), t.child = ao(t, null, n, i)) : kc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = il(e, t, i), e;
+ return a = r, Lc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = io(t, e.child, null, i), t.child = io(t, null, n, i)) : Dc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = nl(e, t, i), e;
}
- function Uc(e, t, n, r) {
- return oa(), t.flags |= 256, kc(e, t, n, r), t.child;
+ function Vc(e, t, n, r) {
+ return oa(), t.flags |= 256, Dc(e, t, n, r), t.child;
}
- var Wc = {
+ var Hc = {
dehydrated: null,
treeContext: null,
retryLane: 0,
hydrationErrors: null
};
- function Gc(e) {
+ function Uc(e) {
return {
baseLanes: e,
- cachePool: Ha()
+ cachePool: Va()
};
}
- function Kc(e, t, n) {
- return e = e === null ? 0 : e.childLanes & ~n, t && (e |= ld), e;
+ function Wc(e, t, n) {
+ return e = e === null ? 0 : e.childLanes & ~n, t && (e |= cd), e;
}
- function qc(e, t, n) {
+ function Gc(e, t, n) {
var r = t.pendingProps, i = !1, a = !!(t.flags & 128), o;
- if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Mo.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {
+ if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(jo.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {
if (Qi) {
- if (i ? Do(t) : Ao(), (e = Zi) ? (e = $p(e, ea), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {
+ if (i ? Eo(t) : ko(), (e = Zi) ? (e = nm(e, ea), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {
dehydrated: e,
treeContext: Hi === null ? null : {
id: Ui,
@@ -4189,77 +4189,77 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
retryLane: 536870912,
hydrationErrors: null
}, n = Mi(e), n.return = t, t.child = n, Xi = t, Zi = null)) : e = null, e === null) throw na(t);
- return t.lanes = tm(e) ? 32 : 536870912, null;
+ return t.lanes = im(e) ? 32 : 536870912, null;
}
- return a = r.children, r = r.fallback, i ? (Ao(), i = t.mode, a = Yc({
+ return a = r.children, r = r.fallback, i ? (ko(), i = t.mode, a = qc({
mode: "hidden",
children: a
- }, i), r = Ai(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Gc(n), r.childLanes = Kc(e, o, n), t.memoizedState = Wc, Pc(null, r)) : (Do(t), Jc(t, a));
+ }, i), r = Ai(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Uc(n), r.childLanes = Wc(e, o, n), t.memoizedState = Hc, Mc(null, r)) : (Eo(t), Kc(t, a));
}
var s = e.memoizedState;
if (s !== null) {
var c = s.dehydrated;
- if (c !== null) return Zc(e, t, a, o, r, c, s, n);
+ if (c !== null) return Yc(e, t, a, o, r, c, s, n);
}
- return i ? (Ao(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Di(s, {
+ return i ? (ko(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Di(s, {
mode: "hidden",
children: r.children
- }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Ai(i, a, n, null), i.flags |= 2) : i = Di(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Pc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Gc(n) : (a = i.cachePool, a === null ? a = Ha() : (s = Ta._currentValue, a = a.parent === s ? a : {
+ }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Ai(i, a, n, null), i.flags |= 2) : i = Di(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Mc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Uc(n) : (a = i.cachePool, a === null ? a = Va() : (s = wa._currentValue, a = a.parent === s ? a : {
parent: s,
pool: s
}), i = {
baseLanes: i.baseLanes | n,
cachePool: a
- }), r.memoizedState = i, r.childLanes = Kc(e, o, n), t.memoizedState = Wc, Pc(e.child, r)) : (Do(t), n = e.child, e = n.sibling, n = Di(n, {
+ }), r.memoizedState = i, r.childLanes = Wc(e, o, n), t.memoizedState = Hc, Mc(e.child, r)) : (Eo(t), n = e.child, e = n.sibling, n = Di(n, {
mode: "visible",
children: r.children
}), n.return = t, n.sibling = null, e !== null && (o = t.deletions, o === null ? (t.deletions = [e], t.flags |= 16) : o.push(e)), t.child = n, t.memoizedState = null, n);
}
- function Jc(e, t) {
- return t = Yc({
+ function Kc(e, t) {
+ return t = qc({
mode: "visible",
children: t
}, e.mode), t.return = e, e.child = t;
}
- function Yc(e, t) {
+ function qc(e, t) {
return e = Ti(22, e, null, t), e.lanes = 0, e;
}
- function Xc(e, t, n) {
- return ao(t, e.child, null, n), e = Jc(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
+ function Jc(e, t, n) {
+ return io(t, e.child, null, n), e = Kc(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
}
- function Zc(e, t, n, r, a, o, s, c) {
- if (n) return t.flags & 256 ? (Do(t), t.flags &= -257, Xc(e, t, c)) : t.memoizedState === null ? (Ao(), o = a.fallback, s = t.mode, a = Yc({
+ function Yc(e, t, n, r, a, o, s, c) {
+ if (n) return t.flags & 256 ? (Eo(t), t.flags &= -257, Jc(e, t, c)) : t.memoizedState === null ? (ko(), o = a.fallback, s = t.mode, a = qc({
mode: "visible",
children: a.children
- }, s), o = Ai(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, ao(t, e.child, null, c), a = t.child, a.memoizedState = Gc(c), a.childLanes = Kc(e, r, c), t.memoizedState = Wc, Pc(null, a)) : (Ao(), t.child = e.child, t.flags |= 128, null);
- if (Do(t), tm(o)) {
+ }, s), o = Ai(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, io(t, e.child, null, c), a = t.child, a.memoizedState = Uc(c), a.childLanes = Wc(e, r, c), t.memoizedState = Hc, Mc(null, a)) : (ko(), t.child = e.child, t.flags |= 128, null);
+ if (Eo(t), im(o)) {
if (r = o.nextSibling && o.nextSibling.dataset, r) var l = r.dgst;
return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, ca({
value: a,
source: null,
stack: null
- })), Xc(e, t, c);
+ })), Jc(e, t, c);
}
- if (Oc || ga(e, t, c, !1), r = (c & e.childLanes) !== 0, Oc || r) {
- if (bo.current !== null) return Xc(e, t, c);
- if (r = Xu, r !== null && (a = _t(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, bi(e, a), Pd(r, e, a), Dc;
- return em(o) || Kd(), Xc(e, t, c);
+ if (Ec || ga(e, t, c, !1), r = (c & e.childLanes) !== 0, Ec || r) {
+ if (yo.current !== null) return Jc(e, t, c);
+ if (r = Yu, r !== null && (a = ht(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, bi(e, a), Nd(r, e, a), Tc;
+ return rm(o) || Gd(), Jc(e, t, c);
}
- return em(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, Zi = rm(o.nextSibling), Xi = t, Qi = !0, $i = null, ea = !1, e !== null && Yi(t, e), t = Jc(t, a.children), t.flags |= 134221824, t);
+ return rm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, Zi = om(o.nextSibling), Xi = t, Qi = !0, $i = null, ea = !1, e !== null && Yi(t, e), t = Kc(t, a.children), t.flags |= 134221824, t);
}
- function Qc(e, t, n) {
+ function Xc(e, t, n) {
e.lanes |= t;
var r = e.alternate;
r !== null && (r.lanes |= t), ma(e.return, t, n);
}
- function $c(e) {
+ function Zc(e) {
for (var t = null; e !== null;) {
var n = e.alternate;
- n !== null && Fo(n) === null && (t = e), e = e.sibling;
+ n !== null && Po(n) === null && (t = e), e = e.sibling;
}
return t;
}
- function el(e, t, n, r, i, a) {
+ function Qc(e, t, n, r, i, a) {
var o = e.memoizedState;
o === null ? e.memoizedState = {
isBackwards: t,
@@ -4271,22 +4271,22 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
treeForkCount: a
} : (o.isBackwards = t, o.rendering = null, o.renderingStartTime = 0, o.last = r, o.tail = n, o.tailMode = i, o.treeForkCount = a);
}
- function tl(e) {
+ function $c(e) {
var t = e.child;
for (e.child = null; t !== null;) {
var n = t.sibling;
t.sibling = e.child, e.child = t, t = n;
}
}
- function nl(e, t, n) {
+ function el(e, t, n) {
var r = t.pendingProps, i = r.revealOrder, a = r.tail;
r = r.children;
- var o = Mo.current;
- if (t.flags & 128) return No(t, o), null;
+ var o = jo.current;
+ if (t.flags & 128) return Mo(t, o), null;
var s = !!(o & 2);
- if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, No(t, o), i === "backwards" && e !== null ? (tl(e), kc(e, t, r, n), tl(e)) : kc(e, t, r, n), r = Qi ? zi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {
- if (e.tag === 13) e.memoizedState !== null && Qc(e, n, t);
- else if (e.tag === 19) Qc(e, n, t);
+ if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Mo(t, o), i === "backwards" && e !== null ? ($c(e), Dc(e, t, r, n), $c(e)) : Dc(e, t, r, n), r = Qi ? zi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {
+ if (e.tag === 13) e.memoizedState !== null && Xc(e, n, t);
+ else if (e.tag === 19) Xc(e, n, t);
else if (e.child !== null) {
e.child.return = e, e = e.child;
continue;
@@ -4300,34 +4300,34 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
switch (i) {
case "backwards":
- n = $c(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, tl(t)), el(t, !0, i, null, a, r);
+ n = Zc(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, $c(t)), Qc(t, !0, i, null, a, r);
break;
case "unstable_legacy-backwards":
for (n = null, i = t.child, t.child = null; i !== null;) {
- if (e = i.alternate, e !== null && Fo(e) === null) {
+ if (e = i.alternate, e !== null && Po(e) === null) {
t.child = i;
break;
}
e = i.sibling, i.sibling = n, n = i, i = e;
}
- el(t, !0, n, null, a, r);
+ Qc(t, !0, n, null, a, r);
break;
case "together":
- el(t, !1, null, null, void 0, r);
+ Qc(t, !1, null, null, void 0, r);
break;
case "independent":
t.memoizedState = null;
break;
- default: n = $c(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), el(t, !1, i, n, a, r);
+ default: n = Zc(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), Qc(t, !1, i, n, a, r);
}
return t.child;
}
- function rl(e, t, n) {
+ function tl(e, t, n) {
var r = t.pendingProps;
- return fa(t, t.type, r.value), kc(e, t, r.children, n), t.child;
+ return fa(t, t.type, r.value), Dc(e, t, r.children, n), t.child;
}
- function il(e, t, n) {
- if (e !== null && (t.dependencies = e.dependencies), od |= t.lanes, (n & t.childLanes) === 0) {
+ function nl(e, t, n) {
+ if (e !== null && (t.dependencies = e.dependencies), ad |= t.lanes, (n & t.childLanes) === 0) {
if (e !== null) {
if (ga(e, t, n, !1), (n & t.childLanes) === 0) return null;
} else return null;
@@ -4339,13 +4339,13 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return t.child;
}
- function al(e, t) {
+ function rl(e, t) {
return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && _a(e)));
}
- function aee(e, t, n) {
+ function il(e, t, n) {
switch (t.tag) {
case 3:
- De(t, t.stateNode.containerInfo), fa(t, Ta, e.memoizedState.cache), oa();
+ De(t, t.stateNode.containerInfo), fa(t, wa, e.memoizedState.cache), oa();
break;
case 27:
case 5:
@@ -4358,57 +4358,57 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
fa(t, t.type, t.memoizedProps.value);
break;
case 31:
- if (t.memoizedState !== null) return t.flags |= 128, Oo(t), null;
+ if (t.memoizedState !== null) return t.flags |= 128, Do(t), null;
break;
case 13:
var r = t.memoizedState;
if (r !== null) {
- if (r.dehydrated !== null) return Do(t), t.flags |= 128, null;
+ if (r.dehydrated !== null) return Eo(t), t.flags |= 128, null;
r = ga(e, t, n, !1);
var i = t.child.childLanes;
- return r || (n & i) !== 0 ? qc(e, t, n) : (Do(t), e = il(e, t, n), e === null ? null : e.sibling);
+ return r || (n & i) !== 0 ? Gc(e, t, n) : (Eo(t), e = nl(e, t, n), e === null ? null : e.sibling);
}
- Do(t);
+ Eo(t);
break;
case 19:
- if (t.flags & 128) return nl(e, t, n);
+ if (t.flags & 128) return el(e, t, n);
if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (ga(e, t, n, !1), (n & t.childLanes) !== 0), i) {
- if (r) return nl(e, t, n);
+ if (r) return el(e, t, n);
t.flags |= 128;
}
- if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), No(t, Mo.current), r) break;
+ if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Mo(t, jo.current), r) break;
return null;
- case 22: return t.lanes = 0, Nc(e, t, n, t.pendingProps);
- case 24: fa(t, Ta, e.memoizedState.cache);
+ case 22: return t.lanes = 0, jc(e, t, n, t.pendingProps);
+ case 24: fa(t, wa, e.memoizedState.cache);
}
- return il(e, t, n);
+ return nl(e, t, n);
}
- function ol(e, t, n) {
+ function al(e, t, n) {
if (e !== null) {
- if (e.memoizedProps !== t.pendingProps) Oc = !0;
+ if (e.memoizedProps !== t.pendingProps) Ec = !0;
else {
- if (!al(e, n) && !(t.flags & 128)) return Oc = !1, aee(e, t, n);
- Oc = !!(e.flags & 131072);
+ if (!rl(e, n) && !(t.flags & 128)) return Ec = !1, il(e, t, n);
+ Ec = !!(e.flags & 131072);
}
- } else Oc = !1, Qi && t.flags & 1048576 && Ki(t, zi, t.index);
+ } else Ec = !1, Qi && t.flags & 1048576 && Ki(t, zi, t.index);
switch (t.lanes = 0, t.tag) {
case 16:
a: {
var r = t.pendingProps;
- if (e = Ya(t.elementType), t.type = e, typeof e == "function") Ei(e) ? (r = _c(e, r), t.tag = 1, t = Hc(null, t, e, r, n)) : (t.tag = 0, t = Bc(null, t, e, r, n));
+ if (e = Ja(t.elementType), t.type = e, typeof e == "function") Ei(e) ? (r = hc(e, r), t.tag = 1, t = Bc(null, t, e, r, n)) : (t.tag = 0, t = Rc(null, t, e, r, n));
else {
if (e != null) {
var a = e.$$typeof;
if (a === F) {
- t.tag = 11, t = Ac(null, t, e, r, n);
+ t.tag = 11, t = Oc(null, t, e, r, n);
break a;
}
if (a === re) {
- t.tag = 14, t = jc(null, t, e, r, n);
+ t.tag = 14, t = kc(null, t, e, r, n);
break a;
}
if (a === ee) {
- t.tag = 10, t.type = e, t = rl(null, t, n);
+ t.tag = 10, t.type = e, t = tl(null, t, n);
break a;
}
}
@@ -4416,26 +4416,26 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
}
return t;
- case 0: return Bc(e, t, t.type, t.pendingProps, n);
- case 1: return r = t.type, a = _c(r, t.pendingProps), Hc(e, t, r, a, n);
+ case 0: return Rc(e, t, t.type, t.pendingProps, n);
+ case 1: return r = t.type, a = hc(r, t.pendingProps), Bc(e, t, r, a, n);
case 3:
a: {
if (De(t, t.stateNode.containerInfo), e === null) throw Error(i(387));
r = t.pendingProps;
var o = t.memoizedState;
- a = o.element, lo(e, t), _o(t, r, null, n);
+ a = o.element, co(e, t), go(t, r, null, n);
var s = t.memoizedState;
- if (r = s.cache, fa(t, Ta, r), r !== o.cache && ha(t, [Ta], n, !0), go(), r = s.element, o.isDehydrated) {
+ if (r = s.cache, fa(t, wa, r), r !== o.cache && ha(t, [wa], n, !0), ho(), r = s.element, o.isDehydrated) {
if (o = {
element: r,
isDehydrated: !1,
cache: s.cache
}, t.updateQueue.baseState = o, t.memoizedState = o, t.flags & 256) {
- t = Uc(e, t, r, n);
+ t = Vc(e, t, r, n);
break a;
}
if (r !== a) {
- a = Fi(Error(i(424)), t), ca(a), t = Uc(e, t, r, n);
+ a = Fi(Error(i(424)), t), ca(a), t = Vc(e, t, r, n);
break a;
}
switch (e = t.stateNode.containerInfo, e.nodeType) {
@@ -4444,75 +4444,75 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
break;
default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;
}
- for (Zi = rm(e.firstChild), Xi = t, Qi = !0, $i = null, ea = !0, n = oo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;
+ for (Zi = om(e.firstChild), Xi = t, Qi = !0, $i = null, ea = !0, n = ao(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;
} else {
if (oa(), r === a) {
- t = il(e, t, n);
+ t = nl(e, t, n);
break a;
}
- kc(e, t, r, n);
+ Dc(e, t, r, n);
}
t = t.child;
}
return t;
- case 26: return zc(e, t), e === null ? (n = Em(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : Qi || (t.stateNode = dp(t.type, t.pendingProps, Te.current, t)) : t.memoizedState = Em(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;
- case 27: return ke(t), e === null && Qi && (r = t.stateNode = lm(t.type, t.pendingProps, Te.current), Xi = t, ea = !0, a = Zi, xp(t.type) ? (im = a, Zi = rm(r.firstChild)) : Zi = a), kc(e, t, t.pendingProps.children, n), zc(e, t), e === null && (t.flags |= 4194304), t.child;
- case 5: return e === null && Qi && ((a = r = Zi) && (r = Zp(r, t.type, t.pendingProps, ea), r === null ? a = !1 : (t.stateNode = r, Xi = t, Zi = rm(r.firstChild), ea = !1, a = !0)), a || na(t)), ke(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, fp(a, o) ? r = null : s !== null && fp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = Yo(e, t, Qo, null, null, n), Qm._currentValue = a), zc(e, t), kc(e, t, r, n), t.child;
- case 6: return e === null && Qi && ((e = n = Zi) && (n = Qp(n, t.pendingProps, ea), n === null ? e = !1 : (t.stateNode = n, Xi = t, Zi = null, e = !0)), e || na(t)), null;
- case 13: return qc(e, t, n);
- case 4: return De(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = ao(t, null, r, n) : kc(e, t, r, n), t.child;
- case 11: return Ac(e, t, t.type, t.pendingProps, n);
- case 7: return r = t.pendingProps, zc(e, t), kc(e, t, r, n), t.child;
- case 8: return kc(e, t, t.pendingProps.children, n), t.child;
- case 12: return kc(e, t, t.pendingProps.children, n), t.child;
- case 10: return rl(e, t, n);
- case 9: return a = t.type._context, r = t.pendingProps.children, va(t), a = ya(a), r = r(a), t.flags |= 1, kc(e, t, r, n), t.child;
- case 14: return jc(e, t, t.type, t.pendingProps, n);
- case 15: return Mc(e, t, t.type, t.pendingProps, n);
- case 19: return nl(e, t, n);
- case 31: return Rc(e, t, n);
- case 22: return Nc(e, t, n, t.pendingProps);
- case 24: return va(t), r = ya(Ta), e === null ? (a = Ba(), a === null && (a = Xu, o = Ea(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {
+ case 26: return Lc(e, t), e === null ? (n = Dm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : Qi || (t.stateNode = up(t.type, t.pendingProps, Te.current, t)) : t.memoizedState = Dm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;
+ case 27: return ke(t), e === null && Qi && (r = t.stateNode = fm(t.type, t.pendingProps, Te.current), Xi = t, ea = !0, a = Zi, bp(t.type) ? (sm = a, Zi = om(r.firstChild)) : Zi = a), Dc(e, t, t.pendingProps.children, n), Lc(e, t), e === null && (t.flags |= 4194304), t.child;
+ case 5: return e === null && Qi && ((a = r = Zi) && (r = em(r, t.type, t.pendingProps, ea), r === null ? a = !1 : (t.stateNode = r, Xi = t, Zi = om(r.firstChild), ea = !1, a = !0)), a || na(t)), ke(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, dp(a, o) ? r = null : s !== null && dp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = Jo(e, t, Zo, null, null, n), th._currentValue = a), Lc(e, t), Dc(e, t, r, n), t.child;
+ case 6: return e === null && Qi && ((e = n = Zi) && (n = tm(n, t.pendingProps, ea), n === null ? e = !1 : (t.stateNode = n, Xi = t, Zi = null, e = !0)), e || na(t)), null;
+ case 13: return Gc(e, t, n);
+ case 4: return De(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = io(t, null, r, n) : Dc(e, t, r, n), t.child;
+ case 11: return Oc(e, t, t.type, t.pendingProps, n);
+ case 7: return r = t.pendingProps, Lc(e, t), Dc(e, t, r, n), t.child;
+ case 8: return Dc(e, t, t.pendingProps.children, n), t.child;
+ case 12: return Dc(e, t, t.pendingProps.children, n), t.child;
+ case 10: return tl(e, t, n);
+ case 9: return a = t.type._context, r = t.pendingProps.children, va(t), a = ya(a), r = r(a), t.flags |= 1, Dc(e, t, r, n), t.child;
+ case 14: return kc(e, t, t.type, t.pendingProps, n);
+ case 15: return Ac(e, t, t.type, t.pendingProps, n);
+ case 19: return el(e, t, n);
+ case 31: return Ic(e, t, n);
+ case 22: return jc(e, t, n, t.pendingProps);
+ case 24: return va(t), r = ya(wa), e === null ? (a = za(), a === null && (a = Yu, o = Ta(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {
parent: r,
cache: a
- }, co(t), fa(t, Ta, a)) : ((e.lanes & n) !== 0 && (lo(e, t), _o(t, null, null, n), go()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, fa(t, Ta, r), r !== a.cache && ha(t, [Ta], n, !0)) : (a = {
+ }, so(t), fa(t, wa, a)) : ((e.lanes & n) !== 0 && (co(e, t), go(t, null, null, n), ho()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, fa(t, wa, r), r !== a.cache && ha(t, [wa], n, !0)) : (a = {
parent: r,
cache: r
- }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), fa(t, Ta, r))), kc(e, t, t.pendingProps.children, n), t.child;
+ }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), fa(t, wa, r))), Dc(e, t, t.pendingProps.children, n), t.child;
case 30: return t.stateNode === null && (t.stateNode = {
autoName: null,
paired: null,
clones: null,
ref: null
- }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : Qi && qi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : zc(e, t), kc(e, t, r.children, n), t.child;
+ }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : Qi && qi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Lc(e, t), Dc(e, t, r.children, n), t.child;
case 29: throw t.pendingProps;
}
throw Error(i(156, t.tag));
}
- function sl(e) {
+ function ol(e) {
e.flags |= 4;
}
- function cl(e, t, n, r, i) {
+ function sl(e, t, n, r, i) {
var a;
- if ((a = !!(e.mode & 32)) && (a = n === null ? zm(t, r) : zm(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {
+ if ((a = !!(e.mode & 32)) && (a = n === null ? Hm(t, r) : Hm(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {
if (e.flags |= 16777216, (i & 335544128) === i) {
if (e.stateNode.complete) e.flags |= 8192;
- else if (Ud()) e.flags |= 8192;
- else throw Xa = Ka, Wa;
+ else if (Hd()) e.flags |= 8192;
+ else throw Ya = Ga, Ua;
}
} else e.flags &= -16777217;
}
- function ll(e, t) {
+ function cl(e, t) {
if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;
- else if (e.flags |= 16777216, !Bm(t)) {
- if (Ud()) e.flags |= 8192;
- else throw Xa = Ka, Wa;
+ else if (e.flags |= 16777216, !Um(t)) {
+ if (Hd()) e.flags |= 8192;
+ else throw Ya = Ga, Ua;
}
}
- function ul(e, t) {
- t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ft(), e.lanes |= t, ud |= t);
+ function ll(e, t) {
+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ut(), e.lanes |= t, ld |= t);
}
- function dl(e, t) {
+ function ul(e, t) {
if (!Qi) switch (e.tailMode) {
case "visible": break;
case "collapsed":
@@ -4524,13 +4524,13 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
n === null ? e.tail = null : n.sibling = null;
}
}
- function fl(e) {
+ function dl(e) {
var t = e.alternate !== null && e.alternate.child === e.child, n = 0, r = 0;
if (t) for (var i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags & 1206910976, r |= i.flags & 1206910976, i.return = e, i = i.sibling;
else for (i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags, r |= i.flags, i.return = e, i = i.sibling;
return e.subtreeFlags |= r, e.childLanes = n, t;
}
- function pl(e, t, n) {
+ function fl(e, t, n) {
var r = t.pendingProps;
switch (Ji(t), t.tag) {
case 16:
@@ -4541,32 +4541,32 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case 8:
case 12:
case 9:
- case 14: return fl(t), null;
- case 1: return fl(t), null;
- case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), pa(Ta), Oe(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (aa(t) ? sl(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, sa())), fl(t), null;
+ case 14: return dl(t), null;
+ case 1: return dl(t), null;
+ case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), pa(wa), Oe(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (aa(t) ? ol(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, sa())), dl(t), null;
case 26:
var a = t.type, o = t.memoizedState;
- return e === null ? (sl(t), o === null ? (fl(t), cl(t, a, null, r, n)) : (fl(t), ll(t, o))) : o ? o === e.memoizedState ? (fl(t), t.flags &= -16777217) : (sl(t), fl(t), ll(t, o)) : (e = e.memoizedProps, e !== r && sl(t), fl(t), cl(t, a, e, r, n)), null;
+ return e === null ? (ol(t), o === null ? (dl(t), sl(t, a, null, r, n)) : (dl(t), cl(t, o))) : o ? o === e.memoizedState ? (dl(t), t.flags &= -16777217) : (ol(t), dl(t), cl(t, o)) : (e = e.memoizedProps, e !== r && ol(t), dl(t), sl(t, a, e, r, n)), null;
case 27:
- if (Ae(t), n = Te.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && sl(t);
+ if (Ae(t), n = Te.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ol(t);
else {
if (!r) {
if (t.stateNode === null) throw Error(i(166));
- return fl(t), t.subtreeFlags &= -33554433, null;
+ return dl(t), t.subtreeFlags &= -33554433, null;
}
- e = Ce.current, aa(t) ? ra(t, e) : (e = lm(a, r, n), t.stateNode = e, sl(t));
+ e = Ce.current, aa(t) ? ra(t, e) : (e = fm(a, r, n), t.stateNode = e, ol(t));
}
- return fl(t), t.subtreeFlags &= -33554433, null;
+ return dl(t), t.subtreeFlags &= -33554433, null;
case 5:
- if (Ae(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && sl(t);
+ if (Ae(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ol(t);
else {
if (!r) {
if (t.stateNode === null) throw Error(i(166));
- return fl(t), t.subtreeFlags &= -33554433, null;
+ return dl(t), t.subtreeFlags &= -33554433, null;
}
if (o = Ce.current, aa(t)) ra(t, o);
else {
- var s = cp(Te.current);
+ var s = sp(Te.current);
switch (o) {
case 1:
o = s.createElementNS("http://www.w3.org/2000/svg", a);
@@ -4590,7 +4590,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);
}
}
- o[St] = t, o[Ct] = r;
+ o[bt] = t, o[xt] = r;
a: for (s = t.child; s !== null;) {
if (s.tag === 5 || s.tag === 6) o.appendChild(s.stateNode);
else if (s.tag !== 4 && s.tag !== 27 && s.child !== null) {
@@ -4605,7 +4605,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
s.sibling.return = s.return, s = s.sibling;
}
t.stateNode = o;
- a: switch (np(o, a, r), a) {
+ a: switch (tp(o, a, r), a) {
case "button":
case "input":
case "select":
@@ -4617,12 +4617,12 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
break a;
default: r = !1;
}
- r && sl(t);
+ r && ol(t);
}
}
- return fl(t), t.subtreeFlags &= -33554433, cl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;
+ return dl(t), t.subtreeFlags &= -33554433, sl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;
case 6:
- if (e && t.stateNode != null) e.memoizedProps !== r && sl(t);
+ if (e && t.stateNode != null) e.memoizedProps !== r && ol(t);
else {
if (typeof r != "string" && t.stateNode === null) throw Error(i(166));
if (e = Te.current, aa(t)) {
@@ -4630,58 +4630,58 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case 27:
case 5: r = a.memoizedProps;
}
- e[St] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || $f(e.nodeValue, n)), e || na(t, !0);
- } else e = cp(e).createTextNode(r), e[St] = t, t.stateNode = e;
+ e[bt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || Qf(e.nodeValue, n)), e || na(t, !0);
+ } else e = sp(e).createTextNode(r), e[bt] = t, t.stateNode = e;
}
- return fl(t), null;
+ return dl(t), null;
case 31:
if (n = t.memoizedState, e === null || e.memoizedState !== null) {
if (r = aa(t), n !== null) {
if (e === null) {
if (!r) throw Error(i(318));
if (e = t.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(557));
- e[St] = t;
+ e[bt] = t;
} else oa(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
- fl(t), e = !1;
+ dl(t), e = !1;
} else n = sa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;
- if (!e) return t.flags & 256 ? (jo(t), t) : (jo(t), null);
+ if (!e) return t.flags & 256 ? (Ao(t), t) : (Ao(t), null);
if (t.flags & 128) throw Error(i(558));
}
- return fl(t), null;
+ return dl(t), null;
case 13:
if (r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
if (a = aa(t), r !== null && r.dehydrated !== null) {
if (e === null) {
if (!a) throw Error(i(318));
if (a = t.memoizedState, a = a === null ? null : a.dehydrated, !a) throw Error(i(317));
- a[St] = t;
+ a[bt] = t;
} else oa(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
- fl(t), a = !1;
+ dl(t), a = !1;
} else a = sa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;
- if (!a) return t.flags & 256 ? (jo(t), t) : (jo(t), null);
+ if (!a) return t.flags & 256 ? (Ao(t), t) : (Ao(t), null);
}
- return jo(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), ul(t, t.updateQueue), fl(t), null);
- case 4: return Oe(), e === null && Gf(t.stateNode.containerInfo), t.flags |= 67108864, fl(t), null;
- case 10: return pa(t.type), fl(t), null;
+ return Ao(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), ll(t, t.updateQueue), dl(t), null);
+ case 4: return Oe(), e === null && Uf(t.stateNode.containerInfo), t.flags |= 67108864, dl(t), null;
+ case 10: return pa(t.type), dl(t), null;
case 19:
- if (Po(t), r = t.memoizedState, r === null) return fl(t), null;
+ if (No(t), r = t.memoizedState, r === null) return dl(t), null;
if (a = !!(t.flags & 128), o = r.rendering, o === null) {
- if (a) dl(r, !1);
+ if (a) ul(r, !1);
else {
- if (ad !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {
- if (o = Fo(e), o !== null) {
- for (t.flags |= 128, dl(r, !1), e = o.updateQueue, t.updateQueue = e, ul(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Oi(n, e), n = n.sibling;
- return No(t, Mo.current & 1 | 2), Qi && Gi(t, r.treeForkCount), t.child;
+ if (id !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {
+ if (o = Po(e), o !== null) {
+ for (t.flags |= 128, ul(r, !1), e = o.updateQueue, t.updateQueue = e, ll(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Oi(n, e), n = n.sibling;
+ return Mo(t, jo.current & 1 | 2), Qi && Gi(t, r.treeForkCount), t.child;
}
e = e.sibling;
}
- r.tail !== null && Ue() > gd && (t.flags |= 128, a = !0, dl(r, !1), t.lanes = 4194304);
+ r.tail !== null && Ue() > hd && (t.flags |= 128, a = !0, ul(r, !1), t.lanes = 4194304);
}
} else {
if (!a) {
- if (e = Fo(o), e !== null) {
- if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, ul(t, e), dl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !Qi) return fl(t), null;
- } else 2 * Ue() - r.renderingStartTime > gd && n !== 536870912 && (t.flags |= 128, a = !0, dl(r, !1), t.lanes = 4194304);
+ if (e = Po(o), e !== null) {
+ if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, ll(t, e), ul(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !Qi) return dl(t), null;
+ } else 2 * Ue() - r.renderingStartTime > hd && n !== 536870912 && (t.flags |= 128, a = !0, ul(r, !1), t.lanes = 4194304);
}
r.isBackwards ? (o.sibling = t.child, t.child = o) : (e = r.last, e === null ? t.child = o : e.sibling = o, r.last = o);
}
@@ -4697,50 +4697,50 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
n = !0;
}
- return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Ue(), e.sibling = null, o = Mo.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || Qi ? No(t, o) : (n = o, Se(To, t), Se(Mo, n), Eo === null && (Eo = t)), Qi && Gi(t, r.treeForkCount), e;
+ return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Ue(), e.sibling = null, o = jo.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || Qi ? Mo(t, o) : (n = o, Se(wo, t), Se(jo, n), To === null && (To = t)), Qi && Gi(t, r.treeForkCount), e;
}
- return fl(t), null;
+ return dl(t), null;
case 22:
- case 23: return jo(t), wo(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (fl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : fl(t), n = t.updateQueue, n !== null && ul(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && xe(za), null;
- case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), pa(Ta), fl(t), null;
+ case 23: return Ao(t), Co(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (dl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : dl(t), n = t.updateQueue, n !== null && ll(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && xe(Ra), null;
+ case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), pa(wa), dl(t), null;
case 25: return null;
- case 30: return t.flags |= 33554432, fl(t), null;
+ case 30: return t.flags |= 33554432, dl(t), null;
}
throw Error(i(156, t.tag));
}
- function ml(e, t) {
+ function pl(e, t) {
switch (Ji(t), t.tag) {
case 1: return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
- case 3: return pa(Ta), Oe(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
+ case 3: return pa(wa), Oe(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
case 26:
case 27:
case 5: return Ae(t), null;
case 31:
if (t.memoizedState !== null) {
- if (jo(t), t.alternate === null) throw Error(i(340));
+ if (Ao(t), t.alternate === null) throw Error(i(340));
oa();
}
return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
case 13:
- if (jo(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {
+ if (Ao(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {
if (t.alternate === null) throw Error(i(340));
oa();
}
return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
- case 19: return Po(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;
+ case 19: return No(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;
case 4: return Oe(), null;
case 10: return pa(t.type), null;
case 22:
- case 23: return jo(t), wo(), e !== null && xe(za), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
- case 24: return pa(Ta), null;
+ case 23: return Ao(t), Co(), e !== null && xe(Ra), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
+ case 24: return pa(wa), null;
case 25: return null;
default: return null;
}
}
- function hl(e, t) {
+ function ml(e, t) {
switch (Ji(t), t.tag) {
case 3:
- pa(Ta), Oe();
+ pa(wa), Oe();
break;
case 26:
case 27:
@@ -4751,25 +4751,25 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
Oe();
break;
case 31:
- t.memoizedState !== null && jo(t);
+ t.memoizedState !== null && Ao(t);
break;
case 13:
- jo(t);
+ Ao(t);
break;
case 19:
- Po(t);
+ No(t);
break;
case 10:
pa(t.type);
break;
case 22:
case 23:
- jo(t), wo(), e !== null && xe(za);
+ Ao(t), Co(), e !== null && xe(Ra);
break;
- case 24: pa(Ta);
+ case 24: pa(wa);
}
}
- function gl(e, t) {
+ function hl(e, t) {
try {
var n = t.updateQueue, r = n === null ? null : n.lastEffect;
if (r !== null) {
@@ -4788,7 +4788,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
pf(t, t.return, e);
}
}
- function _l(e, t, n) {
+ function gl(e, t, n) {
try {
var r = t.updateQueue, i = r === null ? null : r.lastEffect;
if (i !== null) {
@@ -4814,26 +4814,26 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
pf(t, t.return, e);
}
}
- function vl(e) {
+ function _l(e) {
var t = e.updateQueue;
if (t !== null) {
var n = e.stateNode;
try {
- yo(t, n);
+ vo(t, n);
} catch (t) {
pf(e, e.return, t);
}
}
}
- function yl(e, t, n) {
- n.props = _c(e.type, e.memoizedProps), n.state = e.memoizedState;
+ function vl(e, t, n) {
+ n.props = hc(e.type, e.memoizedProps), n.state = e.memoizedState;
try {
n.componentWillUnmount();
} catch (n) {
pf(e, t, n);
}
}
- function bl(e, t) {
+ function yl(e, t) {
try {
var n = e.ref;
if (n !== null) {
@@ -4845,12 +4845,12 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
break;
case 30:
var i = e.stateNode, a = ui(e.memoizedProps, i);
- (i.ref === null || i.ref.name !== a) && (i.ref = Np(a)), r = i.ref;
+ (i.ref === null || i.ref.name !== a) && (i.ref = jp(a)), r = i.ref;
break;
case 7:
if (e.stateNode === null) {
- var o = new Pp(e);
- m(e.child, !1, Kp, o, void 0, void 0), e.stateNode = o;
+ var o = new Mp(e);
+ m(e.child, !1, Yp, o, void 0, void 0), e.stateNode = o;
}
r = e.stateNode;
break;
@@ -4862,7 +4862,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
pf(e, t, n);
}
}
- function xl(e, t) {
+ function bl(e, t) {
var n = e.ref, r = e.refCleanup;
if (n !== null) {
if (typeof r == "function") try {
@@ -4880,22 +4880,22 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
else n.current = null;
}
}
- function Sl(e, t) {
- if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) Jp(e.stateNode, t[n]);
+ function xl(e, t) {
+ if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) Zp(e.stateNode, t[n]);
+ }
+ function Sl(e) {
+ for (var t = e.return; t !== null && (Tl(t) && Zp(e.stateNode, t.stateNode), !wl(t));) t = t.return;
}
function Cl(e) {
- for (var t = e.return; t !== null && (El(t) && Jp(e.stateNode, t.stateNode), !Tl(t));) t = t.return;
+ for (var t = e.return; t !== null && (Tl(t) && Qp(e.stateNode, t.stateNode), !wl(t));) t = t.return;
}
function wl(e) {
- for (var t = e.return; t !== null && (El(t) && Yp(e.stateNode, t.stateNode), !Tl(t));) t = t.return;
- }
- function Tl(e) {
return e.tag === 5 || e.tag === 3 || e.tag === 27;
}
- function El(e) {
+ function Tl(e) {
return e && e.tag === 7 && e.stateNode !== null;
}
- function Dl(e) {
+ function El(e) {
var t = e.type, n = e.memoizedProps, r = e.stateNode;
try {
a: switch (t) {
@@ -4911,100 +4911,100 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
pf(e, e.return, t);
}
}
- function Ol(e, t, n) {
+ function Dl(e, t, n) {
try {
var r = e.stateNode;
- uee(r, e.type, n, t), r[Ct] = t;
+ np(r, e.type, n, t), r[xt] = t;
} catch (t) {
pf(e, e.return, t);
}
}
- function kl(e) {
- return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && xp(e.type) || e.tag === 4;
+ function Ol(e) {
+ return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && bp(e.type) || e.tag === 4;
}
- function Al(e) {
+ function kl(e) {
a: for (;;) {
for (; e.sibling === null;) {
- if (e.return === null || kl(e.return)) return null;
+ if (e.return === null || Ol(e.return)) return null;
e = e.return;
}
for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18;) {
- if (e.tag === 27 && xp(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;
+ if (e.tag === 27 && bp(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;
e.child.return = e, e = e.child;
}
if (!(e.flags & 2)) return e.stateNode;
}
}
- function jl(e, t, n, r) {
+ function Al(e, t, n, r) {
var i = e.tag;
- if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = pn)), Sl(e, r), Gt = !0;
- else if (i !== 4 && (i === 27 && (Sl(e, r), r = null, xp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (jl(e, t, n, r), e = e.sibling; e !== null;) jl(e, t, n, r), e = e.sibling;
+ if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = pn)), xl(e, r), Ut = !0;
+ else if (i !== 4 && (i === 27 && (xl(e, r), r = null, bp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Al(e, t, n, r), e = e.sibling; e !== null;) Al(e, t, n, r), e = e.sibling;
}
- function Ml(e, t, n, r) {
+ function jl(e, t, n, r) {
var i = e.tag;
- if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Sl(e, r), Gt = !0;
- else if (i !== 4 && (i === 27 && (Sl(e, r), r = null, xp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Ml(e, t, n, r), e = e.sibling; e !== null;) Ml(e, t, n, r), e = e.sibling;
+ if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), xl(e, r), Ut = !0;
+ else if (i !== 4 && (i === 27 && (xl(e, r), r = null, bp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (jl(e, t, n, r), e = e.sibling; e !== null;) jl(e, t, n, r), e = e.sibling;
}
- function Nl(e) {
+ function Ml(e) {
var t = e.stateNode, n = e.memoizedProps;
try {
for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);
- np(t, r, n), t[St] = e, t[Ct] = n;
+ tp(t, r, n), t[bt] = e, t[xt] = n;
} catch (t) {
pf(e, e.return, t);
}
}
- var Pl = !1, Fl = null;
- function Il(e) {
- (e.tag === 30 || e.subtreeFlags & 33554432) && (Pl = !0);
+ var Nl = !1, Pl = null;
+ function Fl(e) {
+ (e.tag === 30 || e.subtreeFlags & 33554432) && (Nl = !0);
}
- var Ll = null;
- function Rl() {
- var e = Ll;
- return Ll = null, e;
+ var Il = null;
+ function Ll() {
+ var e = Il;
+ return Il = null, e;
}
- var zl = 0;
- function Bl(e, t, n, r, i) {
- return zl = 0, Vl(e.child, t, n, r, i);
+ var Rl = 0;
+ function zl(e, t, n, r, i) {
+ return Rl = 0, Bl(e.child, t, n, r, i);
}
- function Vl(e, t, n, r, i) {
+ function Bl(e, t, n, r, i) {
for (var a = !1; e !== null;) {
if (e.tag === 5) {
var o = e.stateNode;
if (r !== null) {
- var s = Dp(o);
+ var s = Ep(o);
r.push(s), s.view && (a = !0);
- } else a || Dp(o).view && (a = !0);
- Pl = !0, wp(o, zl === 0 ? t : t + "_" + zl, n), zl++;
- } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Vl(e.child, t, n, r, i) && (a = !0));
+ } else a || Ep(o).view && (a = !0);
+ Nl = !0, Cp(o, Rl === 0 ? t : t + "_" + Rl, n), Rl++;
+ } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Bl(e.child, t, n, r, i) && (a = !0));
e = e.sibling;
}
return a;
}
- function Hl(e, t) {
- for (; e !== null;) e.tag === 5 ? Tp(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Hl(e.child, t)), e = e.sibling;
+ function Vl(e, t) {
+ for (; e !== null;) e.tag === 5 ? wp(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Vl(e.child, t)), e = e.sibling;
}
- function Ul(e) {
+ function Hl(e) {
if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {
- if ((e.tag !== 22 || e.memoizedState === null) && (Ul(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {
+ if ((e.tag !== 22 || e.memoizedState === null) && (Hl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {
var t = e.memoizedProps;
if (t.name == null || t.name === "auto") throw Error(i(544));
var n = t.name;
- t = fi(t.default, t.share), t !== "none" && (Bl(e, n, t, null, !1) || Hl(e.child, !1));
+ t = fi(t.default, t.share), t !== "none" && (zl(e, n, t, null, !1) || Vl(e.child, !1));
}
e = e.sibling;
}
}
- function Wl(e, t) {
+ function Ul(e, t) {
if (e.tag === 30) {
var n = e.stateNode, r = e.memoizedProps, i = ui(r, n), a = fi(r.default, n.paired ? r.share : r.enter);
- a === "none" ? Ul(e) : Bl(e, i, a, null, !1) ? (Ul(e), n.paired || t || Nd(e, r.onEnter)) : Hl(e.child, !1);
- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Wl(e, t), e = e.sibling;
- else Ul(e);
+ a === "none" ? Hl(e) : zl(e, i, a, null, !1) ? (Hl(e), n.paired || t || Md(e, r.onEnter)) : Vl(e.child, !1);
+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Ul(e, t), e = e.sibling;
+ else Hl(e);
}
- function Gl(e) {
- if (Fl !== null && Fl.size !== 0) {
- var t = Fl;
+ function Wl(e) {
+ if (Pl !== null && Pl.size !== 0) {
+ var t = Pl;
if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {
if (e.tag !== 22 || e.memoizedState === null) {
if (e.tag === 30 && e.flags & 18874368) {
@@ -5013,58 +5013,58 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
var i = t.get(r);
if (i !== void 0) {
var a = fi(n.default, n.share);
- if (a !== "none" && (Bl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Nd(e, n.onShare)) : Hl(e.child, !1)), t.delete(r), t.size === 0) break;
+ if (a !== "none" && (zl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Md(e, n.onShare)) : Vl(e.child, !1)), t.delete(r), t.size === 0) break;
}
}
}
- Gl(e);
+ Wl(e);
}
e = e.sibling;
}
}
}
- function Kl(e) {
+ function Gl(e) {
if (e.tag === 30) {
- var t = e.memoizedProps, n = ui(t, e.stateNode), r = Fl === null ? void 0 : Fl.get(n), i = fi(t.default, r === void 0 ? t.exit : t.share);
- i !== "none" && (Bl(e, n, i, null, !1) ? r === void 0 ? Nd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Fl.delete(n), Nd(e, t.onShare)) : Hl(e.child, !1)), Fl !== null && Gl(e);
- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Kl(e), e = e.sibling;
- else Fl !== null && Gl(e);
+ var t = e.memoizedProps, n = ui(t, e.stateNode), r = Pl === null ? void 0 : Pl.get(n), i = fi(t.default, r === void 0 ? t.exit : t.share);
+ i !== "none" && (zl(e, n, i, null, !1) ? r === void 0 ? Md(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Pl.delete(n), Md(e, t.onShare)) : Vl(e.child, !1)), Pl !== null && Wl(e);
+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Gl(e), e = e.sibling;
+ else Pl !== null && Wl(e);
}
- function ql(e) {
+ function Kl(e) {
for (e = e.child; e !== null;) {
if (e.tag === 30) {
var t = e.memoizedProps, n = ui(t, e.stateNode);
- t = fi(t.default, t.update), e.flags &= -5, t !== "none" && Bl(e, n, t, e.memoizedState = [], !1);
- } else e.subtreeFlags & 33554432 && ql(e);
+ t = fi(t.default, t.update), e.flags &= -5, t !== "none" && zl(e, n, t, e.memoizedState = [], !1);
+ } else e.subtreeFlags & 33554432 && Kl(e);
e = e.sibling;
}
}
- function Jl(e) {
+ function ql(e) {
if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {
if (e.tag !== 22 || e.memoizedState === null) {
if (e.tag === 30 && e.flags & 18874368) {
var t = e.stateNode;
- t.paired !== null && (t.paired = null, Hl(e.child, !1));
+ t.paired !== null && (t.paired = null, Vl(e.child, !1));
}
- Jl(e);
+ ql(e);
}
e = e.sibling;
}
}
- function Yl(e) {
- if (e.tag === 30) e.stateNode.paired = null, Hl(e.child, !1), Jl(e);
- else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Yl(e), e = e.sibling;
- else Jl(e);
+ function Jl(e) {
+ if (e.tag === 30) e.stateNode.paired = null, Vl(e.child, !1), ql(e);
+ else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Jl(e), e = e.sibling;
+ else ql(e);
}
- function Xl(e) {
- for (e = e.child; e !== null;) e.tag === 30 ? Hl(e.child, !1) : e.subtreeFlags & 33554432 && Xl(e), e = e.sibling;
+ function Yl(e) {
+ for (e = e.child; e !== null;) e.tag === 30 ? Vl(e.child, !1) : e.subtreeFlags & 33554432 && Yl(e), e = e.sibling;
}
- function Zl(e, t, n, r, i, a, o) {
+ function Xl(e, t, n, r, i, a, o) {
for (var s = !1; t !== null;) {
if (t.tag === 5) {
var c = t.stateNode;
- if (a !== null && zl < a.length) {
- var l = a[zl], u = Dp(c);
+ if (a !== null && Rl < a.length) {
+ var l = a[Rl], u = Ep(c);
(l.view || u.view) && (s = !0);
var d;
if (d = !(e.flags & 4)) {
@@ -5077,30 +5077,30 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
d && (e.flags |= 4), u.abs ? u = !l.abs : (l = l.rect, u = u.rect, u = l.height !== u.height || l.width !== u.width), u && (e.flags |= 32);
} else e.flags |= 32;
- e.flags & 4 && wp(c, zl === 0 ? n : n + "_" + zl, i), s && e.flags & 4 || (Ll === null && (Ll = []), Ll.push(c, zl === 0 ? r : r + "_" + zl, t.memoizedProps)), zl++;
- } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : Zl(e, t.child, n, r, i, a, o) && (s = !0));
+ e.flags & 4 && Cp(c, Rl === 0 ? n : n + "_" + Rl, i), s && e.flags & 4 || (Il === null && (Il = []), Il.push(c, Rl === 0 ? r : r + "_" + Rl, t.memoizedProps)), Rl++;
+ } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : Xl(e, t.child, n, r, i, a, o) && (s = !0));
t = t.sibling;
}
return s;
}
- function Ql(e, t) {
+ function Zl(e, t) {
for (e = e.child; e !== null;) {
if (e.tag === 30) {
var n = e.memoizedProps, r = e.stateNode, i = ui(n, r), a = fi(n.default, n.update);
if (t) {
r = r.clones;
- var o = r === null ? null : r.map(Op);
+ var o = r === null ? null : r.map(Dp);
} else o = e.memoizedState, e.memoizedState = null;
r = e;
var s = e.child;
- zl = 0, i = Zl(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Nd(e, n.onUpdate));
- } else e.subtreeFlags & 33554432 && Ql(e, t);
+ Rl = 0, i = Xl(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Md(e, n.onUpdate));
+ } else e.subtreeFlags & 33554432 && Zl(e, t);
e = e.sibling;
}
}
- var $l = !1, eu = !1, tu = !1, nu = !1, ru = typeof WeakSet == "function" ? WeakSet : Set, iu = null, au = !1, ou = !1, su = !1, cu = !1;
- function lu(e, t, n) {
- if (e = e.containerInfo, op = sh, e = Br(e), Vr(e)) {
+ var Ql = !1, $l = !1, eu = !1, tu = !1, nu = typeof WeakSet == "function" ? WeakSet : Set, U = null, ru = !1, iu = !1, au = !1, ou = !1;
+ function su(e, t, n) {
+ if (e = e.containerInfo, ap = uh, e = Br(e), Vr(e)) {
if ("selectionStart" in e) var r = {
start: e.selectionStart,
end: e.selectionEnd
@@ -5139,31 +5139,31 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
end: 0
};
} else r = null;
- for (sp = {
+ for (op = {
focusedElem: e,
selectionRange: r
- }, sh = !1, n = (n & 335544064) === n, iu = t, t = n ? 9270 : 1024; iu !== null;) {
- if (e = iu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Kl(r[a]);
- if (e.alternate === null && e.flags & 2) n && Il(e), uu(n);
+ }, uh = !1, n = (n & 335544064) === n, U = t, t = n ? 9270 : 1024; U !== null;) {
+ if (e = U, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Gl(r[a]);
+ if (e.alternate === null && e.flags & 2) n && Fl(e), cu(n);
else {
if (e.tag === 22) {
if (r = e.alternate, e.memoizedState !== null) {
- r !== null && r.memoizedState === null && n && Kl(r), uu(n);
+ r !== null && r.memoizedState === null && n && Gl(r), cu(n);
continue;
}
if (r !== null && r.memoizedState !== null) {
- n && Il(e), uu(n);
+ n && Fl(e), cu(n);
continue;
}
}
- r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, iu = r) : (n && ql(e), uu(n));
+ r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, U = r) : (n && Kl(e), cu(n));
}
}
- Fl = null;
+ Pl = null;
}
- function uu(e) {
- for (; iu !== null;) {
- var t = iu, n = e, r = t.alternate, a = t.flags;
+ function cu(e) {
+ for (; U !== null;) {
+ var t = U, n = e, r = t.alternate, a = t.flags;
switch (t.tag) {
case 0:
case 11:
@@ -5173,7 +5173,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
n = void 0, a = r.memoizedProps, r = r.memoizedState;
var o = t.stateNode;
try {
- var s = _c(t.type, a);
+ var s = hc(t.type, a);
n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;
} catch (e) {
pf(t, t.return, e);
@@ -5182,12 +5182,12 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
break;
case 3:
if (a & 1024) {
- if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) Xp(r);
+ if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) $p(r);
else if (n === 1) switch (r.nodeName) {
case "HEAD":
case "HTML":
case "BODY":
- Xp(r);
+ $p(r);
break;
default: r.textContent = "";
}
@@ -5200,34 +5200,34 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case 4:
case 17: break;
case 30:
- n && r !== null && (n = ui(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = fi(a.default, a.update), a !== "none" && Bl(r, n, a, r.memoizedState = [], !0));
+ n && r !== null && (n = ui(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = fi(a.default, a.update), a !== "none" && zl(r, n, a, r.memoizedState = [], !0));
break;
default: if (a & 1024) throw Error(i(163));
}
if (r = t.sibling, r !== null) {
- r.return = t.return, iu = r;
+ r.return = t.return, U = r;
break;
}
- iu = t.return;
+ U = t.return;
}
}
- function du(e, t, n) {
+ function lu(e, t, n) {
var r = n.flags;
switch (n.tag) {
case 0:
case 11:
case 15:
- ju(e, n), r & 4 && gl(5, n);
+ ku(e, n), r & 4 && hl(5, n);
break;
case 1:
- if (ju(e, n), r & 4) {
+ if (ku(e, n), r & 4) {
if (e = n.stateNode, t === null) try {
e.componentDidMount();
} catch (e) {
pf(n, n.return, e);
}
else {
- var i = _c(n.type, t.memoizedProps);
+ var i = hc(n.type, t.memoizedProps);
t = t.memoizedState;
try {
e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);
@@ -5236,10 +5236,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
}
}
- r & 64 && vl(n), r & 512 && bl(n, n.return);
+ r & 64 && _l(n), r & 512 && yl(n, n.return);
break;
case 3:
- if (ju(e, n), r & 64 && (e = n.updateQueue, e !== null)) {
+ if (ku(e, n), r & 64 && (e = n.updateQueue, e !== null)) {
if (t = null, n.child !== null) switch (n.child.tag) {
case 27:
case 5:
@@ -5248,43 +5248,43 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case 1: t = n.child.stateNode;
}
try {
- yo(e, t);
+ vo(e, t);
} catch (e) {
pf(n, n.return, e);
}
}
break;
- case 27: t === null && r & 4 && Nl(n);
+ case 27: t === null && r & 4 && Ml(n);
case 26:
case 5:
- ju(e, n), t === null && r & 4 && Dl(n), r & 512 && bl(n, n.return);
+ ku(e, n), t === null && r & 4 && El(n), r & 512 && yl(n, n.return);
break;
case 12:
- ju(e, n);
+ ku(e, n);
break;
case 31:
- ju(e, n), r & 4 && bu(e, n);
+ ku(e, n), r & 4 && vu(e, n);
break;
case 13:
- ju(e, n), r & 4 && xu(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = _f.bind(null, n), nm(e, n))));
+ ku(e, n), r & 4 && yu(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = _f.bind(null, n), am(e, n))));
break;
case 22:
- if (r = n.memoizedState !== null || $l, !r) {
- var a = t !== null && t.memoizedState !== null || eu;
- t = $l, i = eu, $l = r, (eu = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Nu(e, n, r)) : ju(e, n), $l = t, eu = i;
+ if (r = n.memoizedState !== null || Ql, !r) {
+ var a = t !== null && t.memoizedState !== null || $l;
+ t = Ql, i = $l, Ql = r, ($l = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), ju(e, n, r)) : ku(e, n), Ql = t, $l = i;
}
break;
case 30:
- ju(e, n), r & 512 && bl(n, n.return);
+ ku(e, n), r & 512 && yl(n, n.return);
break;
- case 7: r & 512 && bl(n, n.return);
- default: ju(e, n);
+ case 7: r & 512 && yl(n, n.return);
+ default: ku(e, n);
}
}
- function fu(e, t) {
- for (e = e.child; e !== null;) pu(e, t), e = e.sibling;
+ function uu(e, t) {
+ for (e = e.child; e !== null;) du(e, t), e = e.sibling;
}
- function pu(e, t) {
+ function du(e, t) {
switch (e.tag) {
case 5:
case 26:
@@ -5300,11 +5300,11 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
} catch (t) {
pf(e, e.return, t);
}
- mu(e, t);
+ fu(e, t);
break;
case 6:
try {
- e.stateNode.nodeValue = t ? "" : e.memoizedProps, Gt = !0;
+ e.stateNode.nodeValue = t ? "" : e.memoizedProps, Ut = !0;
} catch (t) {
pf(e, e.return, t);
}
@@ -5312,131 +5312,131 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case 18:
try {
var s = e.stateNode;
- t ? Cp(s, !0) : Cp(e.stateNode, !1);
+ t ? Sp(s, !0) : Sp(e.stateNode, !1);
} catch (t) {
pf(e, e.return, t);
}
break;
case 22:
case 23:
- e.memoizedState === null && fu(e, t);
+ e.memoizedState === null && uu(e, t);
break;
- default: fu(e, t);
+ default: uu(e, t);
}
}
- function mu(e, t) {
+ function fu(e, t) {
if (e.subtreeFlags & 67108864) for (e = e.child; e !== null;) {
a: {
var n = e, r = t;
switch (n.tag) {
case 4:
- pu(n, r);
+ du(n, r);
break a;
case 22:
- n.memoizedState === null && mu(n, r);
+ n.memoizedState === null && fu(n, r);
break a;
- default: mu(n, r);
+ default: fu(n, r);
}
}
e = e.sibling;
}
}
- function hu(e) {
+ function pu(e) {
var t = e.alternate;
- t !== null && (e.alternate = null, hu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && At(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
+ t !== null && (e.alternate = null, pu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && Ot(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
}
- var gu = null, _u = !1;
- function vu(e, t, n) {
- for (n = n.child; n !== null;) yu(e, t, n), n = n.sibling;
+ var mu = null, hu = !1;
+ function gu(e, t, n) {
+ for (n = n.child; n !== null;) _u(e, t, n), n = n.sibling;
}
- function yu(e, t, n) {
+ function _u(e, t, n) {
if (Qe && typeof Qe.onCommitFiberUnmount == "function") try {
Qe.onCommitFiberUnmount(Ze, n);
} catch {}
switch (n.tag) {
case 26:
- eu || xl(n, t), vu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !eu && (n = n.stateNode, n.parentNode.removeChild(n));
+ $l || bl(n, t), gu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !$l && (n = n.stateNode, n.parentNode.removeChild(n));
break;
case 27:
- eu || xl(n, t), wl(n);
- var r = gu, i = _u;
- xp(n.type) && (gu = n.stateNode, _u = !1), vu(e, t, n), um(n.stateNode, n.type, n.memoizedProps), gu = r, _u = i;
+ $l || bl(n, t), Cl(n);
+ var r = mu, i = hu;
+ bp(n.type) && (mu = n.stateNode, hu = !1), gu(e, t, n), pm(n.stateNode, n.type, n.memoizedProps), mu = r, hu = i;
break;
- case 5: eu || xl(n, t), wl(n);
+ case 5: $l || bl(n, t), Cl(n);
case 6:
- if (n.tag === 6 && wl(n), r = gu, i = _u, gu = null, vu(e, t, n), gu = r, _u = i, gu !== null) {
- if (_u) try {
- (gu.nodeType === 9 ? gu.body : gu.nodeName === "HTML" ? gu.ownerDocument.body : gu).removeChild(n.stateNode), Gt = !0;
+ if (n.tag === 6 && Cl(n), r = mu, i = hu, mu = null, gu(e, t, n), mu = r, hu = i, mu !== null) {
+ if (hu) try {
+ (mu.nodeType === 9 ? mu.body : mu.nodeName === "HTML" ? mu.ownerDocument.body : mu).removeChild(n.stateNode), Ut = !0;
} catch (e) {
pf(n, t, e);
}
else try {
- gu.removeChild(n.stateNode), Gt = !0;
+ mu.removeChild(n.stateNode), Ut = !0;
} catch (e) {
pf(n, t, e);
}
}
break;
case 18:
- gu !== null && (_u ? (e = gu, Sp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Nh(e)) : Sp(gu, n.stateNode));
+ mu !== null && (hu ? (e = mu, xp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Ih(e)) : xp(mu, n.stateNode));
break;
case 4:
- r = gu, i = _u, gu = n.stateNode.containerInfo, _u = !0, vu(e, t, n), gu = r, _u = i;
+ r = mu, i = hu, mu = n.stateNode.containerInfo, hu = !0, gu(e, t, n), mu = r, hu = i;
break;
case 0:
case 11:
case 14:
case 15:
- _l(2, n, t), eu || _l(4, n, t), vu(e, t, n);
+ gl(2, n, t), $l || gl(4, n, t), gu(e, t, n);
break;
case 1:
- eu || (xl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && yl(n, t, r)), vu(e, t, n);
+ $l || (bl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && vl(n, t, r)), gu(e, t, n);
break;
case 21:
- vu(e, t, n);
+ gu(e, t, n);
break;
case 22:
- eu = (r = eu) || n.memoizedState !== null, vu(e, t, n), eu = r;
+ $l = (r = $l) || n.memoizedState !== null, gu(e, t, n), $l = r;
break;
case 30:
- xl(n, t), vu(e, t, n);
+ bl(n, t), gu(e, t, n);
break;
case 7:
- eu || xl(n, t), vu(e, t, n);
+ $l || bl(n, t), gu(e, t, n);
break;
- default: vu(e, t, n);
+ default: gu(e, t, n);
}
}
- function bu(e, t) {
+ function vu(e, t) {
if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {
e = e.dehydrated;
try {
- Nh(e);
+ Ih(e);
} catch (e) {
pf(t, t.return, e);
}
}
}
- function xu(e, t) {
+ function yu(e, t) {
if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {
- Nh(e);
+ Ih(e);
} catch (e) {
pf(t, t.return, e);
}
}
- function Su(e) {
+ function bu(e) {
switch (e.tag) {
case 31:
case 13:
case 19:
var t = e.stateNode;
- return t === null && (t = e.stateNode = new ru()), t;
- case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new ru()), t;
+ return t === null && (t = e.stateNode = new nu()), t;
+ case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new nu()), t;
default: throw Error(i(435, e.tag));
}
}
- function Cu(e, t) {
- var n = Su(e);
+ function xu(e, t) {
+ var n = bu(e);
t.forEach(function(t) {
if (!n.has(t)) {
n.add(t);
@@ -5445,35 +5445,35 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
});
}
- function wu(e, t, n) {
+ function Su(e, t, n) {
var r = t.deletions;
if (r !== null) for (var a = 0; a < r.length; a++) {
var o = r[a], s = e, c = t, l = c;
a: for (; l !== null;) {
switch (l.tag) {
case 27:
- if (xp(l.type)) {
- gu = l.stateNode, _u = !1;
+ if (bp(l.type)) {
+ mu = l.stateNode, hu = !1;
break a;
}
break;
case 5:
- gu = l.stateNode, _u = !1;
+ mu = l.stateNode, hu = !1;
break a;
case 3:
case 4:
- gu = l.stateNode.containerInfo, _u = !0;
+ mu = l.stateNode.containerInfo, hu = !0;
break a;
}
l = l.return;
}
- if (gu === null) throw Error(i(160));
- yu(s, c, o), gu = null, _u = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;
+ if (mu === null) throw Error(i(160));
+ _u(s, c, o), mu = null, hu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;
}
- if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Eu(t, e, n), t = t.sibling;
+ if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) wu(t, e, n), t = t.sibling;
}
- var Tu = null;
- function Eu(e, t, n) {
+ var Cu = null;
+ function wu(e, t, n) {
var r = e.alternate, a = e.flags;
switch (e.tag) {
case 0:
@@ -5484,120 +5484,120 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
var s = r[o];
s.ref.impl = s.nextImpl;
}
- wu(t, e, n), Du(e), a & 4 && (_l(3, e, e.return), gl(3, e), _l(5, e, e.return));
+ Su(t, e, n), Tu(e), a & 4 && (gl(3, e, e.return), hl(3, e), gl(5, e, e.return));
break;
case 1:
- wu(t, e, n), Du(e), a & 512 && (eu || r === null || xl(r, r.return)), a & 64 && $l && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));
+ Su(t, e, n), Tu(e), a & 512 && ($l || r === null || bl(r, r.return)), a & 64 && Ql && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));
break;
case 26:
- if (o = Tu, wu(t, e, n), Du(e), a & 512 && (eu || r === null || xl(r, r.return)), a & 4) {
+ if (o = Cu, Su(t, e, n), Tu(e), a & 512 && ($l || r === null || bl(r, r.return)), a & 4) {
if (a = r === null ? null : r.memoizedState, n = e.memoizedState, r === null) {
if (n === null) {
if (e.stateNode === null) {
- if ($l) e.stateNode = dp(e.type, e.memoizedProps, t.containerInfo, e);
+ if (Ql) e.stateNode = up(e.type, e.memoizedProps, t.containerInfo, e);
else {
a: {
t = e.type, n = e.memoizedProps, a = o.ownerDocument || o;
b: switch (t) {
case "title":
- r = a.getElementsByTagName("title")[0], (!r || r[R] || r[St] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), np(r, t, n), r[St] = e, Ft(r), t = r;
+ r = a.getElementsByTagName("title")[0], (!r || r[R] || r[bt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), tp(r, t, n), r[bt] = e, Nt(r), t = r;
break a;
case "link":
- if (o = Lm("link", "href", a).get(t + (n.href || ""))) {
+ if (o = zm("link", "href", a).get(t + (n.href || ""))) {
for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("href") === (n.href == null || n.href === "" ? null : n.href) && r.getAttribute("rel") === (n.rel == null ? null : n.rel) && r.getAttribute("title") === (n.title == null ? null : n.title) && r.getAttribute("crossorigin") === (n.crossOrigin == null ? null : n.crossOrigin)) {
o.splice(s, 1);
break b;
}
}
- r = a.createElement(t), np(r, t, n), a.head.appendChild(r);
+ r = a.createElement(t), tp(r, t, n), a.head.appendChild(r);
break;
case "meta":
- if (o = Lm("meta", "content", a).get(t + (n.content || ""))) {
+ if (o = zm("meta", "content", a).get(t + (n.content || ""))) {
for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("content") === (n.content == null ? null : "" + n.content) && r.getAttribute("name") === (n.name == null ? null : n.name) && r.getAttribute("property") === (n.property == null ? null : n.property) && r.getAttribute("http-equiv") === (n.httpEquiv == null ? null : n.httpEquiv) && r.getAttribute("charset") === (n.charSet == null ? null : n.charSet)) {
o.splice(s, 1);
break b;
}
}
- r = a.createElement(t), np(r, t, n), a.head.appendChild(r);
+ r = a.createElement(t), tp(r, t, n), a.head.appendChild(r);
break;
default: throw Error(i(468, t));
}
- r[St] = e, Ft(r), t = r;
+ r[bt] = e, Nt(r), t = r;
}
e.stateNode = t;
}
- } else $l || Rm(o, e.type, e.stateNode);
- } else e.stateNode = Mm(o, n, e.memoizedProps);
- } else a === n ? n === null && e.stateNode !== null && Ol(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || eu || t.parentNode.removeChild(t)) : a.count--, n === null ? $l || Rm(o, e.type, e.stateNode) : Mm(o, n, e.memoizedProps));
+ } else Ql || Bm(o, e.type, e.stateNode);
+ } else e.stateNode = Pm(o, n, e.memoizedProps);
+ } else a === n ? n === null && e.stateNode !== null && Dl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || $l || t.parentNode.removeChild(t)) : a.count--, n === null ? Ql || Bm(o, e.type, e.stateNode) : Pm(o, n, e.memoizedProps));
}
break;
case 27:
- wu(t, e, n), Du(e), a & 512 && (eu || r === null || xl(r, r.return)), r !== null && a & 4 && Ol(e, e.memoizedProps, r.memoizedProps);
+ Su(t, e, n), Tu(e), a & 512 && ($l || r === null || bl(r, r.return)), r !== null && a & 4 && Dl(e, e.memoizedProps, r.memoizedProps);
break;
case 5:
- if (o = tu, tu = !1, wu(t, e, n), tu = o, Du(e), a & 512 && (eu || r === null || xl(r, r.return)), e.flags & 32) {
+ if (o = eu, eu = !1, Su(t, e, n), eu = o, Tu(e), a & 512 && ($l || r === null || bl(r, r.return)), e.flags & 32) {
t = e.stateNode;
try {
- sn(t, ""), Gt = !0;
+ on(t, ""), Ut = !0;
} catch (t) {
pf(e, e.return, t);
}
}
- a & 4 && e.stateNode != null && (t = e.memoizedProps, Ol(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (nu = !0);
+ a & 4 && e.stateNode != null && (t = e.memoizedProps, Dl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (tu = !0);
break;
case 6:
- if (wu(t, e, n), Du(e), a & 4) {
+ if (Su(t, e, n), Tu(e), a & 4) {
if (e.stateNode === null) throw Error(i(162));
t = e.memoizedProps, n = e.stateNode;
try {
- n.nodeValue = t, Gt = !0;
+ n.nodeValue = t, Ut = !0;
} catch (t) {
pf(e, e.return, t);
}
}
break;
case 3:
- if (Gt = !1, Im = null, o = Tu, Tu = mm(t.containerInfo), wu(t, e, n), Tu = o, Du(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
- Nh(t.containerInfo);
+ if (Ut = !1, Rm = null, o = Cu, Cu = _m(t.containerInfo), Su(t, e, n), Cu = o, Tu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
+ Ih(t.containerInfo);
} catch (t) {
pf(e, e.return, t);
}
- nu && (nu = !1, Ou(e)), Gt = !1;
+ tu && (tu = !1, Eu(e)), Ut = !1;
break;
case 4:
- a = tu, tu = $l, r = Kt(), o = Tu, Tu = mm(e.stateNode.containerInfo), wu(t, e, n), Du(e), Tu = o, Gt && ou && (su = !0), Gt = r, tu = a;
+ a = eu, eu = Ql, r = Wt(), o = Cu, Cu = _m(e.stateNode.containerInfo), Su(t, e, n), Tu(e), Cu = o, Ut && iu && (au = !0), Ut = r, eu = a;
break;
case 12:
- wu(t, e, n), Du(e);
+ Su(t, e, n), Tu(e);
break;
case 31:
- wu(t, e, n), Du(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Cu(e, t)));
+ Su(t, e, n), Tu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, xu(e, t)));
break;
case 13:
- wu(t, e, n), Du(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (md = Ue()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Cu(e, t)));
+ Su(t, e, n), Tu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (pd = Ue()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, xu(e, t)));
break;
case 22:
o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;
- var c = $l, l = eu, u = tu;
- $l = c || o, tu = u || o, eu = l || s, wu(t, e, n), eu = l, tu = u, $l = c, Du(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || $l || eu || (t = s || eu, n = $l, r = eu, $l = o || $l, eu = t, Mu(e, 2), $l = n, eu = r), !o && tu || fu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, Cu(e, n))));
+ var c = Ql, l = $l, u = eu;
+ Ql = c || o, eu = u || o, $l = l || s, Su(t, e, n), $l = l, eu = u, Ql = c, Tu(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || Ql || $l || (t = s || $l, n = Ql, r = $l, Ql = o || Ql, $l = t, Au(e, 2), Ql = n, $l = r), !o && eu || uu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, xu(e, n))));
break;
case 19:
- wu(t, e, n), Du(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Cu(e, t)));
+ Su(t, e, n), Tu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, xu(e, t)));
break;
case 30:
- a & 512 && (eu || r === null || xl(r, r.return)), a = Kt(), o = ou, s = (n & 335544064) === n, c = e.memoizedProps, ou = s && fi(c.default, c.update) !== "none", wu(t, e, n), Du(e), s && r !== null && Gt && (e.flags |= 4), ou = o, Gt = a;
+ a & 512 && ($l || r === null || bl(r, r.return)), a = Wt(), o = iu, s = (n & 335544064) === n, c = e.memoizedProps, iu = s && fi(c.default, c.update) !== "none", Su(t, e, n), Tu(e), s && r !== null && Ut && (e.flags |= 4), iu = o, Ut = a;
break;
case 21: break;
- case 7: a & 512 && (eu || r === null || xl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);
- default: wu(t, e, n), Du(e);
+ case 7: a & 512 && ($l || r === null || bl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);
+ default: Su(t, e, n), Tu(e);
}
}
- function Du(e) {
+ function Tu(e) {
var t = e.flags;
if (t & 2) {
try {
for (var n, r = e.return; r !== null;) {
- if (kl(r)) {
+ if (Ol(r)) {
n = r;
break;
}
@@ -5605,11 +5605,11 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
r = null;
for (var a = e.return; a !== null;) {
- if (El(a)) {
+ if (Tl(a)) {
var o = a.stateNode;
r === null ? r = [o] : r.push(o);
}
- if (Tl(a)) break;
+ if (wl(a)) break;
a = a.return;
}
var s = r;
@@ -5617,16 +5617,16 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
switch (n.tag) {
case 27:
var c = n.stateNode;
- Ml(e, Al(e), c, s);
+ jl(e, kl(e), c, s);
break;
case 5:
var l = n.stateNode;
- n.flags & 32 && (sn(l, ""), n.flags &= -33), Ml(e, Al(e), l, s);
+ n.flags & 32 && (on(l, ""), n.flags &= -33), jl(e, kl(e), l, s);
break;
case 3:
case 4:
var u = n.stateNode.containerInfo;
- jl(e, Al(e), u, s);
+ Al(e, kl(e), u, s);
break;
default: throw Error(i(161));
}
@@ -5637,26 +5637,26 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
t & 4096 && (e.flags &= -4097);
}
- function Ou(e) {
+ function Eu(e) {
if (e.subtreeFlags & 1024) for (e = e.child; e !== null;) {
var t = e;
- Ou(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, sh = !0, t.reset(), sh = !1), e = e.sibling;
+ Eu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, uh = !0, t.reset(), uh = !1), e = e.sibling;
}
}
- function ku(e, t) {
- if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Au(t, e), t = t.sibling;
- else Ql(t, !1);
+ function Du(e, t) {
+ if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Ou(t, e), t = t.sibling;
+ else Zl(t, !1);
}
- function Au(e, t) {
+ function Ou(e, t) {
var n = e.alternate;
- if (n === null) Wl(e, !1);
+ if (n === null) Ul(e, !1);
else switch (e.tag) {
case 3:
- if (cu = au = !1, Rl(), ku(t, e), !au && !su) {
- if (e = Ll, e !== null) for (var r = 0; r < e.length; r += 3) {
+ if (ou = ru = !1, Ll(), Du(t, e), !ru && !au) {
+ if (e = Il, e !== null) for (var r = 0; r < e.length; r += 3) {
n = e[r];
var i = e[r + 1];
- Tp(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({
+ wp(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({
opacity: [0, 0],
pointerEvents: ["none", "none"]
}, {
@@ -5679,33 +5679,33 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
duration: 0,
fill: "forwards",
pseudoElement: "::view-transition"
- })), cu = !0;
+ })), ou = !0;
}
- Ll = null;
+ Il = null;
break;
case 5:
- ku(t, e);
+ Du(t, e);
break;
case 4:
- r = au, au = !1, ku(t, e), au && (su = !0), au = r;
+ r = ru, ru = !1, Du(t, e), ru && (au = !0), ru = r;
break;
case 22:
- e.memoizedState === null && (n.memoizedState === null ? ku(t, e) : Wl(e, !1));
+ e.memoizedState === null && (n.memoizedState === null ? Du(t, e) : Ul(e, !1));
break;
case 30:
- r = au, i = Rl(), au = !1, ku(t, e), au && (e.flags |= 4);
+ r = ru, i = Ll(), ru = !1, Du(t, e), ru && (e.flags |= 4);
var a = e.memoizedProps, o = e.stateNode;
t = ui(a, o), o = ui(n.memoizedProps, o);
var s = fi(a.default, a.update);
- s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, zl = 0, t = Zl(e, n, t, o, s, a, !0), zl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Nd(e, e.memoizedProps.onUpdate), Ll = i) : i !== null && (i.push.apply(i, Ll), Ll = i), au = e.flags & 32 ? !0 : r;
+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Rl = 0, t = Xl(e, n, t, o, s, a, !0), Rl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Md(e, e.memoizedProps.onUpdate), Il = i) : i !== null && (i.push.apply(i, Il), Il = i), ru = e.flags & 32 ? !0 : r;
break;
- default: ku(t, e);
+ default: Du(t, e);
}
}
- function ju(e, t) {
- if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) du(e, t.alternate, t), t = t.sibling;
+ function ku(e, t) {
+ if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) lu(e, t.alternate, t), t = t.sibling;
}
- function Mu(e, t) {
+ function Au(e, t) {
for (e = e.child; e !== null;) {
var n = e, r = t;
switch (n.tag) {
@@ -5713,46 +5713,46 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case 11:
case 14:
case 15:
- _l(4, n, n.return), Mu(n, r);
+ gl(4, n, n.return), Au(n, r);
break;
case 1:
- xl(n, n.return);
+ bl(n, n.return);
var i = n.stateNode;
- typeof i.componentWillUnmount == "function" && yl(n, n.return, i), Mu(n, r);
+ typeof i.componentWillUnmount == "function" && vl(n, n.return, i), Au(n, r);
break;
- case 27: r & 2 && um(n.stateNode, n.type, n.memoizedProps);
+ case 27: r & 2 && pm(n.stateNode, n.type, n.memoizedProps);
case 5:
- xl(n, n.return), n.tag !== 5 && n.tag !== 27 || wl(n), Mu(n, r);
+ bl(n, n.return), n.tag !== 5 && n.tag !== 27 || Cl(n), Au(n, r);
break;
case 6:
- wl(n);
+ Cl(n);
break;
case 26:
- xl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || eu || i.parentNode.removeChild(i), Mu(n, r);
+ bl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || $l || i.parentNode.removeChild(i), Au(n, r);
break;
case 22:
- n.memoizedState === null && Mu(n, r);
+ n.memoizedState === null && Au(n, r);
break;
case 30:
- xl(n, n.return), Mu(n, r);
+ bl(n, n.return), Au(n, r);
break;
- case 7: xl(n, n.return);
- default: Mu(n, r);
+ case 7: bl(n, n.return);
+ default: Au(n, r);
}
e = e.sibling;
}
}
- function Nu(e, t, n) {
+ function ju(e, t, n) {
for (n = t.subtreeFlags & 8772 ? n : n & -2, t = t.child; t !== null;) {
var r = t.alternate, i = e, a = t, o = a.flags, s = !!(n & 1);
switch (a.tag) {
case 0:
case 11:
case 15:
- Nu(i, a, n), gl(4, a);
+ ju(i, a, n), hl(4, a);
break;
case 1:
- if (Nu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {
+ if (ju(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {
i.componentDidMount();
} catch (e) {
pf(r, r.return, e);
@@ -5761,170 +5761,170 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
var c = r.stateNode;
try {
var l = i.shared.hiddenCallbacks;
- if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) vo(l[i], c);
+ if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) _o(l[i], c);
} catch (e) {
pf(r, r.return, e);
}
}
- s && o & 64 && vl(a), bl(a, a.return);
+ s && o & 64 && _l(a), yl(a, a.return);
break;
- case 27: n & 2 && Nl(a);
+ case 27: n & 2 && Ml(a);
case 5:
- a.tag !== 5 && a.tag !== 27 || Cl(a), Nu(i, a, n), s && r === null && o & 4 && Dl(a), bl(a, a.return);
+ a.tag !== 5 && a.tag !== 27 || Sl(a), ju(i, a, n), s && r === null && o & 4 && El(a), yl(a, a.return);
break;
case 6:
- Cl(a);
+ Sl(a);
break;
case 26:
- c = a.stateNode, a.memoizedState !== null || c === null || $l || Rm(mm(c.ownerDocument), a.type, c), Nu(i, a, n), s && r === null && o & 4 && Dl(a), bl(a, a.return);
+ c = a.stateNode, a.memoizedState !== null || c === null || Ql || Bm(_m(c.ownerDocument), a.type, c), ju(i, a, n), s && r === null && o & 4 && El(a), yl(a, a.return);
break;
case 12:
- Nu(i, a, n);
+ ju(i, a, n);
break;
case 31:
- Nu(i, a, n), s && o & 4 && bu(i, a);
+ ju(i, a, n), s && o & 4 && vu(i, a);
break;
case 13:
- Nu(i, a, n), s && o & 4 && xu(i, a);
+ ju(i, a, n), s && o & 4 && yu(i, a);
break;
case 22:
- a.memoizedState === null && Nu(i, a, n), bl(a, a.return);
+ a.memoizedState === null && ju(i, a, n), yl(a, a.return);
break;
case 30:
- Nu(i, a, n), bl(a, a.return);
+ ju(i, a, n), yl(a, a.return);
break;
- case 7: bl(a, a.return);
- default: Nu(i, a, n);
+ case 7: yl(a, a.return);
+ default: ju(i, a, n);
}
t = t.sibling;
}
}
- function Pu(e, t) {
+ function Mu(e, t) {
var n = null;
- e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && Da(n));
+ e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && Ea(n));
}
- function Fu(e, t) {
- e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && Da(e));
+ function Nu(e, t) {
+ e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && Ea(e));
}
- function Iu(e, t, n, r) {
+ function Pu(e, t, n, r) {
var i = (n & 335544064) === n;
- if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Lu(e, t, n, r), t = t.sibling;
- else i && Xl(t);
+ if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Fu(e, t, n, r), t = t.sibling;
+ else i && Yl(t);
}
- function Lu(e, t, n, r) {
+ function Fu(e, t, n, r) {
var i = (n & 335544064) === n;
- i && t.alternate === null && t.return !== null && t.return.alternate !== null && Yl(t);
+ i && t.alternate === null && t.return !== null && t.return.alternate !== null && Jl(t);
var a = t.flags;
switch (t.tag) {
case 0:
case 11:
case 15:
- Iu(e, t, n, r), a & 2048 && gl(9, t);
+ Pu(e, t, n, r), a & 2048 && hl(9, t);
break;
case 1:
- Iu(e, t, n, r);
+ Pu(e, t, n, r);
break;
case 3:
- Iu(e, t, n, r), i && cu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && Da(a)));
+ Pu(e, t, n, r), i && ou && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && Ea(a)));
break;
case 12:
if (a & 2048) {
- Iu(e, t, n, r), a = t.stateNode;
+ Pu(e, t, n, r), a = t.stateNode;
try {
var o = t.memoizedProps, s = o.id, c = o.onPostCommit;
typeof c == "function" && c(s, t.alternate === null ? "mount" : "update", a.passiveEffectDuration, -0);
} catch (e) {
pf(t, t.return, e);
}
- } else Iu(e, t, n, r);
+ } else Pu(e, t, n, r);
break;
case 31:
- Iu(e, t, n, r);
+ Pu(e, t, n, r);
break;
case 13:
- Iu(e, t, n, r);
+ Pu(e, t, n, r);
break;
case 23: break;
case 22:
- o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && Yl(t), o._visibility & 2 ? Iu(e, t, n, r) : (o._visibility |= 2, Ru(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && Yl(s), o._visibility & 2 ? Iu(e, t, n, r) : zu(e, t)), a & 2048 && Pu(s, t);
+ o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && Jl(t), o._visibility & 2 ? Pu(e, t, n, r) : (o._visibility |= 2, Iu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && Jl(s), o._visibility & 2 ? Pu(e, t, n, r) : Lu(e, t)), a & 2048 && Mu(s, t);
break;
case 24:
- Iu(e, t, n, r), a & 2048 && Fu(t.alternate, t);
+ Pu(e, t, n, r), a & 2048 && Nu(t.alternate, t);
break;
case 30:
- i && (a = t.alternate, a !== null && (Hl(a.child, !0), Hl(t.child, !0))), Iu(e, t, n, r);
+ i && (a = t.alternate, a !== null && (Vl(a.child, !0), Vl(t.child, !0))), Pu(e, t, n, r);
break;
- default: Iu(e, t, n, r);
+ default: Pu(e, t, n, r);
}
}
- function Ru(e, t, n, r, i) {
+ function Iu(e, t, n, r, i) {
for (i &&= !!(t.subtreeFlags & 10256) || !1, t = t.child; t !== null;) {
var a = e, o = t, s = n, c = r, l = o.flags;
switch (o.tag) {
case 0:
case 11:
case 15:
- Ru(a, o, s, c, i), gl(8, o);
+ Iu(a, o, s, c, i), hl(8, o);
break;
case 23: break;
case 22:
var u = o.stateNode;
- o.memoizedState === null ? (u._visibility |= 2, Ru(a, o, s, c, i)) : u._visibility & 2 ? Ru(a, o, s, c, i) : zu(a, o), i && l & 2048 && Pu(o.alternate, o);
+ o.memoizedState === null ? (u._visibility |= 2, Iu(a, o, s, c, i)) : u._visibility & 2 ? Iu(a, o, s, c, i) : Lu(a, o), i && l & 2048 && Mu(o.alternate, o);
break;
case 24:
- Ru(a, o, s, c, i), i && l & 2048 && Fu(o.alternate, o);
+ Iu(a, o, s, c, i), i && l & 2048 && Nu(o.alternate, o);
break;
- default: Ru(a, o, s, c, i);
+ default: Iu(a, o, s, c, i);
}
t = t.sibling;
}
}
- function zu(e, t) {
+ function Lu(e, t) {
if (t.subtreeFlags & 10256) for (t = t.child; t !== null;) {
var n = e, r = t, i = r.flags;
switch (r.tag) {
case 22:
- zu(n, r), i & 2048 && Pu(r.alternate, r);
+ Lu(n, r), i & 2048 && Mu(r.alternate, r);
break;
case 24:
- zu(n, r), i & 2048 && Fu(r.alternate, r);
+ Lu(n, r), i & 2048 && Nu(r.alternate, r);
break;
- default: zu(n, r);
+ default: Lu(n, r);
}
t = t.sibling;
}
}
- var Bu = 8192;
- function Vu(e, t, n) {
- if (e.subtreeFlags & Bu) for (e = e.child; e !== null;) Hu(e, t, n), e = e.sibling;
+ var Ru = 8192;
+ function zu(e, t, n) {
+ if (e.subtreeFlags & Ru) for (e = e.child; e !== null;) Bu(e, t, n), e = e.sibling;
}
- function Hu(e, t, n) {
+ function Bu(e, t, n) {
switch (e.tag) {
case 26:
- Vu(e, t, n), e.flags & Bu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && Hm(n, e)) : Um(n, Tu, e.memoizedState, e.memoizedProps));
+ zu(e, t, n), e.flags & Ru && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && Gm(n, e)) : Km(n, Cu, e.memoizedState, e.memoizedProps));
break;
case 5:
- Vu(e, t, n), e.flags & Bu && (e = e.stateNode, (t & 335544128) === t && Hm(n, e));
+ zu(e, t, n), e.flags & Ru && (e = e.stateNode, (t & 335544128) === t && Gm(n, e));
break;
case 3:
case 4:
- var r = Tu;
- Tu = mm(e.stateNode.containerInfo), Vu(e, t, n), Tu = r;
+ var r = Cu;
+ Cu = _m(e.stateNode.containerInfo), zu(e, t, n), Cu = r;
break;
case 22:
- e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Bu, Bu = 16777216, Vu(e, t, n), Bu = r) : Vu(e, t, n));
+ e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Ru, Ru = 16777216, zu(e, t, n), Ru = r) : zu(e, t, n));
break;
case 30:
- if ((e.flags & Bu) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {
+ if ((e.flags & Ru) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {
var i = e.stateNode;
- i.paired = null, Fl === null && (Fl = /* @__PURE__ */ new Map()), Fl.set(r, i);
+ i.paired = null, Pl === null && (Pl = /* @__PURE__ */ new Map()), Pl.set(r, i);
}
- Vu(e, t, n);
+ zu(e, t, n);
break;
- default: Vu(e, t, n);
+ default: zu(e, t, n);
}
}
- function Uu(e) {
+ function Vu(e) {
var t = e.alternate;
if (t !== null && (e = t.child, e !== null)) {
t.child = null;
@@ -5933,69 +5933,69 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
while (e !== null);
}
}
- function Wu(e) {
+ function Hu(e) {
var t = e.deletions;
if (e.flags & 16) {
if (t !== null) for (var n = 0; n < t.length; n++) {
var r = t[n];
- iu = r, qu(r, e);
+ U = r, Gu(r, e);
}
- Uu(e);
+ Vu(e);
}
- if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Gu(e), e = e.sibling;
+ if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Uu(e), e = e.sibling;
}
- function Gu(e) {
+ function Uu(e) {
switch (e.tag) {
case 0:
case 11:
case 15:
- Wu(e), e.flags & 2048 && _l(9, e, e.return);
+ Hu(e), e.flags & 2048 && gl(9, e, e.return);
break;
case 3:
- Wu(e);
+ Hu(e);
break;
case 12:
- Wu(e);
+ Hu(e);
break;
case 22:
var t = e.stateNode;
- e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, Ku(e)) : Wu(e);
+ e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, Wu(e)) : Hu(e);
break;
- default: Wu(e);
+ default: Hu(e);
}
}
- function Ku(e) {
+ function Wu(e) {
var t = e.deletions;
if (e.flags & 16) {
if (t !== null) for (var n = 0; n < t.length; n++) {
var r = t[n];
- iu = r, qu(r, e);
+ U = r, Gu(r, e);
}
- Uu(e);
+ Vu(e);
}
for (e = e.child; e !== null;) {
switch (t = e, t.tag) {
case 0:
case 11:
case 15:
- _l(8, t, t.return), Ku(t);
+ gl(8, t, t.return), Wu(t);
break;
case 22:
- n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Ku(t));
+ n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Wu(t));
break;
- default: Ku(t);
+ default: Wu(t);
}
e = e.sibling;
}
}
- function qu(e, t) {
- for (; iu !== null;) {
- var n = iu;
+ function Gu(e, t) {
+ for (; U !== null;) {
+ var n = U;
switch (n.tag) {
case 0:
case 11:
case 15:
- _l(8, n, t);
+ gl(8, n, t);
break;
case 23:
case 22:
@@ -6004,63 +6004,63 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
r != null && r.refCount++;
}
break;
- case 24: Da(n.memoizedState.cache);
+ case 24: Ea(n.memoizedState.cache);
}
- if (r = n.child, r !== null) r.return = n, iu = r;
- else a: for (n = e; iu !== null;) {
- r = iu;
+ if (r = n.child, r !== null) r.return = n, U = r;
+ else a: for (n = e; U !== null;) {
+ r = U;
var i = r.sibling, a = r.return;
- if (hu(r), r === n) {
- iu = null;
+ if (pu(r), r === n) {
+ U = null;
break a;
}
if (i !== null) {
- i.return = a, iu = i;
+ i.return = a, U = i;
break a;
}
- iu = a;
+ U = a;
}
}
}
- var oee = {
+ var Ku = {
getCacheForType: function(e) {
- var t = ya(Ta), n = t.data.get(e);
+ var t = ya(wa), n = t.data.get(e);
return n === void 0 && (n = e(), t.data.set(e, n)), n;
},
cacheSignal: function() {
- return ya(Ta).controller.signal;
+ return ya(wa).controller.signal;
}
- }, Ju = typeof WeakMap == "function" ? WeakMap : Map, Yu = 0, Xu = null, Zu = null, Qu = 0, $u = 0, ed = null, td = !1, nd = !1, rd = !1, id = 0, ad = 0, od = 0, sd = 0, cd = 0, ld = 0, ud = 0, dd = null, fd = null, pd = !1, md = 0, hd = 0, gd = Infinity, _d = null, vd = null, yd = 0, bd = null, xd = null, Sd = 0, Cd = 0, wd = null, Td = null, Ed = null, Dd = null, Od = null, kd = 0, Ad = null;
- function jd() {
- return Yu & 2 && Qu !== 0 ? Qu & -Qu : he.T === null ? yt() : Pf();
+ }, qu = typeof WeakMap == "function" ? WeakMap : Map, Ju = 0, Yu = null, Xu = null, Zu = 0, Qu = 0, $u = null, ed = !1, td = !1, nd = !1, rd = 0, id = 0, ad = 0, od = 0, sd = 0, cd = 0, ld = 0, ud = null, dd = null, fd = !1, pd = 0, md = 0, hd = Infinity, gd = null, _d = null, vd = 0, yd = null, bd = null, xd = 0, Sd = 0, Cd = null, wd = null, Td = null, Ed = null, Dd = null, Od = 0, kd = null;
+ function Ad() {
+ return Ju & 2 && Zu !== 0 ? Zu & -Zu : he.T === null ? _t() : Nf();
}
- function Md() {
- if (ld === 0) {
- if (!(Qu & 536870912) || Qi) {
- var e = at;
- at <<= 1, !(at & 3932160) && (at = 262144), ld = e;
- } else ld = 536870912;
+ function jd() {
+ if (cd === 0) {
+ if (!(Zu & 536870912) || Qi) {
+ var e = rt;
+ rt <<= 1, !(rt & 3932160) && (rt = 262144), cd = e;
+ } else cd = 536870912;
}
- return e = To.current, e !== null && (e.flags |= 32), ld;
+ return e = wo.current, e !== null && (e.flags |= 32), cd;
}
- function Nd(e, t) {
+ function Md(e, t) {
if (t != null) {
var n = e.stateNode, r = n.ref;
- r === null && (r = n.ref = Np(ui(e.memoizedProps, n))), Dd === null && (Dd = []), Dd.push(t.bind(null, r));
+ r === null && (r = n.ref = jp(ui(e.memoizedProps, n))), Ed === null && (Ed = []), Ed.push(t.bind(null, r));
}
}
- function Pd(e, t, n) {
- (e === Xu && ($u === 2 || $u === 9) || e.cancelPendingCommit !== null) && (Vd(e, 0), Rd(e, Qu, ld, !1)), mt(e, n), (!(Yu & 2) || e !== Xu) && (e === Xu && (!(Yu & 2) && (sd |= n), ad === 4 && Rd(e, Qu, ld, !1)), Ef(e));
+ function Nd(e, t, n) {
+ (e === Yu && (Qu === 2 || Qu === 9) || e.cancelPendingCommit !== null) && (Bd(e, 0), Ld(e, Zu, cd, !1)), ft(e, n), (!(Ju & 2) || e !== Yu) && (e === Yu && (!(Ju & 2) && (od |= n), id === 4 && Ld(e, Zu, cd, !1)), Ef(e));
}
- function Fd(e, t, n) {
- if (Yu & 6) throw Error(i(327));
- var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || lt(e, t), a = r ? Yd(e, t) : qd(e, t, !0), o = r;
+ function Pd(e, t, n) {
+ if (Ju & 6) throw Error(i(327));
+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || st(e, t), a = r ? Jd(e, t) : Kd(e, t, !0), o = r;
do {
if (a === 0) {
- nd && !r && Rd(e, t, 0, !1);
+ td && !r && Ld(e, t, 0, !1);
break;
}
- if (n = e.current.alternate, o && !Ld(n)) a = qd(e, t, !1), o = !1;
+ if (n = e.current.alternate, o && !Id(n)) a = Kd(e, t, !1), o = !1;
else {
if (a === 2) {
if (o = t, e.errorRecoveryDisabledLanes & o) var s = 0;
@@ -6069,14 +6069,14 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
t = s;
a: {
var c = e;
- a = dd;
+ a = ud;
var l = c.current.memoizedState.isDehydrated;
- if (l && (Vd(c, s).flags |= 256), s = qd(c, s, !1), s !== 2 && s !== 6) {
- if (rd && !l) {
- c.errorRecoveryDisabledLanes |= o, sd |= o, a = 4;
+ if (l && (Bd(c, s).flags |= 256), s = Kd(c, s, !1), s !== 2 && s !== 6) {
+ if (nd && !l) {
+ c.errorRecoveryDisabledLanes |= o, od |= o, a = 4;
break a;
}
- o = fd, fd = a, o !== null && (fd === null ? fd = o : fd.push.apply(fd, o));
+ o = dd, dd = a, o !== null && (dd === null ? dd = o : dd.push.apply(dd, o));
}
a = s;
}
@@ -6084,7 +6084,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
}
if (a === 1) {
- Vd(e, 0), Rd(e, t, 0, !0);
+ Bd(e, 0), Ld(e, t, 0, !0);
break;
}
a: {
@@ -6093,28 +6093,28 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case 1: throw Error(i(345));
case 4: if ((t & 4194048) !== t && (t & 62914560) !== t) break;
case 6:
- Rd(r, t, ld, !td);
+ Ld(r, t, cd, !ed);
break a;
case 2:
- fd = null;
+ dd = null;
break;
case 3:
case 5: break;
default: throw Error(i(329));
}
- if ((t & 62914560) === t && (a = md + 300 - Ue(), 10 < a)) {
- if (Rd(r, t, ld, !td), ct(r, 0, !0) !== 0) break a;
- Sd = t, r.timeoutHandle = hp(Id.bind(null, r, n, fd, _d, pd, t, ld, sd, ud, td, o, "Throttled", -0, 0), a);
+ if ((t & 62914560) === t && (a = pd + 300 - Ue(), 10 < a)) {
+ if (Ld(r, t, cd, !ed), ot(r, 0, !0) !== 0) break a;
+ xd = t, r.timeoutHandle = mp(Fd.bind(null, r, n, dd, gd, fd, t, cd, od, ld, ed, o, "Throttled", -0, 0), a);
break a;
}
- Id(r, n, fd, _d, pd, t, ld, sd, ud, td, o, null, -0, 0);
+ Fd(r, n, dd, gd, fd, t, cd, od, ld, ed, o, null, -0, 0);
}
break;
}
} while (1);
Ef(e);
}
- function Id(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {
+ function Fd(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {
e.timeoutHandle = -1;
var m = t.subtreeFlags, h = (a & 335544064) === a;
d = null, (h || m & 8192 || (m & 16785408) == 16785408) && (d = {
@@ -6126,9 +6126,9 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
waitingForImages: !0,
waitingForViewTransition: !1,
unsuspend: pn
- }, Fl = null, Hu(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = qm.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? md - Ue() : (a & 4194048) === a ? hd - Ue() : 0, m = Gm(d, m), m !== null) ? (Sd = a, e.cancelPendingCommit = m(nf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Rd(e, a, o, !l)) : nf(e, t, a, n, r, i, o, s, c, l, u, d);
+ }, Pl = null, Bu(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = Xm.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? pd - Ue() : (a & 4194048) === a ? md - Ue() : 0, m = Jm(d, m), m !== null) ? (xd = a, e.cancelPendingCommit = m(tf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Ld(e, a, o, !l)) : tf(e, t, a, n, r, i, o, s, c, l, u, d);
}
- function Ld(e) {
+ function Id(e) {
for (var t = e;;) {
var n = t.tag;
if ((n === 0 || n === 11 || n === 15) && t.flags & 16384 && (n = t.updateQueue, n !== null && (n = n.stores, n !== null))) for (var r = 0; r < n.length; r++) {
@@ -6152,278 +6152,278 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return !0;
}
- function Rd(e, t, n, r) {
- t = ut(e, t), t &= ~cd, t &= ~sd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;
+ function Ld(e, t, n, r) {
+ t = ct(e, t), t &= ~sd, t &= ~od, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;
for (var i = t; 0 < i;) {
var a = 31 - et(i), o = 1 << a;
r[a] = -1, i &= ~o;
}
- n !== 0 && gt(e, n, t);
+ n !== 0 && mt(e, n, t);
}
- function zd() {
- return Yu & 6 ? !0 : (Df(0, !1), !1);
+ function Rd() {
+ return Ju & 6 ? !0 : (Df(0, !1), !1);
}
- function Bd() {
- if (Zu !== null) {
- if ($u === 0) var e = Zu.return;
- else e = Zu, da = ua = null, ts(e), $a = null, eo = 0, e = Zu;
- for (; e !== null;) hl(e.alternate, e), e = e.return;
- Zu = null;
+ function zd() {
+ if (Xu !== null) {
+ if (Qu === 0) var e = Xu.return;
+ else e = Xu, da = ua = null, es(e), Qa = null, $a = 0, e = Xu;
+ for (; e !== null;) ml(e.alternate, e), e = e.return;
+ Xu = null;
}
}
- function Vd(e, t) {
+ function Bd(e, t) {
var n = e.timeoutHandle;
- return n !== -1 && (e.timeoutHandle = -1, gp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Sd = 0, Bd(), Xu = e, Zu = n = Di(e.current, null), Qu = t, $u = 0, ed = null, td = !1, nd = lt(e, t), rd = !1, ud = ld = cd = sd = od = ad = 0, fd = dd = null, pd = !1, id = ut(e, t), _i(), n;
+ return n !== -1 && (e.timeoutHandle = -1, hp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), xd = 0, zd(), Yu = e, Xu = n = Di(e.current, null), Zu = t, Qu = 0, $u = null, ed = !1, td = st(e, t), nd = !1, ld = cd = sd = od = ad = id = 0, dd = ud = null, fd = !1, rd = ct(e, t), _i(), n;
+ }
+ function Vd(e, t) {
+ Io = null, he.H = sc, t === Ha || t === Wa ? (t = Xa(), Qu = 3) : t === Ua ? (t = Xa(), Qu = 4) : Qu = t === Tc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, $u = t, Xu === null && (id = 1, yc(e, Fi(t, e.current)));
}
- function Hd(e, t) {
- Lo = null, he.H = lc, t === Ua || t === Ga ? (t = Za(), $u = 3) : t === Wa ? (t = Za(), $u = 4) : $u = t === Dc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, ed = t, Zu === null && (ad = 1, xc(e, Fi(t, e.current)));
+ function Hd() {
+ var e = wo.current;
+ return e === null ? !0 : (Zu & 4194048) === Zu ? To === null : (Zu & 62914560) === Zu || Zu & 536870912 ? e === To : !1;
}
function Ud() {
- var e = To.current;
- return e === null ? !0 : (Qu & 4194048) === Qu ? Eo === null : (Qu & 62914560) === Qu || Qu & 536870912 ? e === Eo : !1;
- }
- function Wd() {
var e = he.H;
- return he.H = lc, e === null ? lc : e;
+ return he.H = sc, e === null ? sc : e;
}
- function Gd() {
+ function Wd() {
var e = he.A;
- return he.A = oee, e;
- }
- function Kd() {
- ad = 4, td || (Qu & 4194048) !== Qu && To.current !== null || (nd = !0), !(od & 134217727) && !(sd & 134217727) || Xu === null || Rd(Xu, Qu, ld, !1);
+ return he.A = Ku, e;
}
- function qd(e, t, n) {
- var r = Yu;
- Yu |= 2;
- var i = Wd(), a = Gd();
- (Xu !== e || Qu !== t) && (_d = null, Vd(e, t)), t = !1;
- var o = ad;
+ function Gd() {
+ id = 4, ed || (Zu & 4194048) !== Zu && wo.current !== null || (td = !0), !(ad & 134217727) && !(od & 134217727) || Yu === null || Ld(Yu, Zu, cd, !1);
+ }
+ function Kd(e, t, n) {
+ var r = Ju;
+ Ju |= 2;
+ var i = Ud(), a = Wd();
+ (Yu !== e || Zu !== t) && (gd = null, Bd(e, t)), t = !1;
+ var o = id;
a: do
try {
- if ($u !== 0 && Zu !== null) {
- var s = Zu, c = ed;
- switch ($u) {
+ if (Qu !== 0 && Xu !== null) {
+ var s = Xu, c = $u;
+ switch (Qu) {
case 8:
- Bd(), o = 6;
+ zd(), o = 6;
break a;
case 3:
case 2:
case 9:
case 6:
- To.current === null && (t = !0);
- var l = $u;
- if ($u = 0, ed = null, $d(e, s, c, l), n && nd) {
+ wo.current === null && (t = !0);
+ var l = Qu;
+ if (Qu = 0, $u = null, Qd(e, s, c, l), n && td) {
o = 0;
break a;
}
break;
- default: l = $u, $u = 0, ed = null, $d(e, s, c, l);
+ default: l = Qu, Qu = 0, $u = null, Qd(e, s, c, l);
}
}
- Jd(), o = ad;
+ qd(), o = id;
break;
} catch (t) {
- Hd(e, t);
+ Vd(e, t);
}
while (1);
- return t && e.shellSuspendCounter++, da = ua = null, Yu = r, he.H = i, he.A = a, Zu === null && (Xu = null, Qu = 0, _i()), o;
+ return t && e.shellSuspendCounter++, da = ua = null, Ju = r, he.H = i, he.A = a, Xu === null && (Yu = null, Zu = 0, _i()), o;
}
- function Jd() {
- for (; Zu !== null;) Zd(Zu);
+ function qd() {
+ for (; Xu !== null;) Xd(Xu);
}
- function Yd(e, t) {
- var n = Yu;
- Yu |= 2;
- var r = Wd(), a = Gd();
- Xu !== e || Qu !== t ? (_d = null, gd = Ue() + 500, Vd(e, t)) : nd = lt(e, t);
+ function Jd(e, t) {
+ var n = Ju;
+ Ju |= 2;
+ var r = Ud(), a = Wd();
+ Yu !== e || Zu !== t ? (gd = null, hd = Ue() + 500, Bd(e, t)) : td = st(e, t);
a: do
try {
- if ($u !== 0 && Zu !== null) {
- t = Zu;
- var o = ed;
- b: switch ($u) {
+ if (Qu !== 0 && Xu !== null) {
+ t = Xu;
+ var o = $u;
+ b: switch (Qu) {
case 1:
- $u = 0, ed = null, $d(e, t, o, 1);
+ Qu = 0, $u = null, Qd(e, t, o, 1);
break;
case 2:
case 9:
- if (qa(o)) {
- $u = 0, ed = null, Qd(t);
+ if (Ka(o)) {
+ Qu = 0, $u = null, Zd(t);
break;
}
t = function() {
- $u !== 2 && $u !== 9 || Xu !== e || ($u = 7), Ef(e);
+ Qu !== 2 && Qu !== 9 || Yu !== e || (Qu = 7), Ef(e);
}, o.then(t, t);
break a;
case 3:
- $u = 7;
+ Qu = 7;
break a;
case 4:
- $u = 5;
+ Qu = 5;
break a;
case 7:
- qa(o) ? ($u = 0, ed = null, Qd(t)) : ($u = 0, ed = null, $d(e, t, o, 7));
+ Ka(o) ? (Qu = 0, $u = null, Zd(t)) : (Qu = 0, $u = null, Qd(e, t, o, 7));
break;
case 5:
var s = null;
- switch (Zu.tag) {
- case 26: s = Zu.memoizedState;
+ switch (Xu.tag) {
+ case 26: s = Xu.memoizedState;
case 5:
case 27:
- var c = Zu;
- if (s ? Bm(s) : c.stateNode.complete) {
- $u = 0, ed = null;
+ var c = Xu;
+ if (s ? Um(s) : c.stateNode.complete) {
+ Qu = 0, $u = null;
var l = c.sibling;
- if (l !== null) Zu = l;
+ if (l !== null) Xu = l;
else {
var u = c.return;
- u === null ? Zu = null : (Zu = u, ef(u));
+ u === null ? Xu = null : (Xu = u, $d(u));
}
break b;
}
}
- $u = 0, ed = null, $d(e, t, o, 5);
+ Qu = 0, $u = null, Qd(e, t, o, 5);
break;
case 6:
- $u = 0, ed = null, $d(e, t, o, 6);
+ Qu = 0, $u = null, Qd(e, t, o, 6);
break;
case 8:
- Bd(), ad = 6;
+ zd(), id = 6;
break a;
default: throw Error(i(462));
}
}
- Xd();
+ Yd();
break;
} catch (t) {
- Hd(e, t);
+ Vd(e, t);
}
while (1);
- return da = ua = null, he.H = r, he.A = a, Yu = n, Zu === null ? (Xu = null, Qu = 0, _i(), ad) : 0;
+ return da = ua = null, he.H = r, he.A = a, Ju = n, Xu === null ? (Yu = null, Zu = 0, _i(), id) : 0;
}
- function Xd() {
- for (; Zu !== null && !Ve();) Zd(Zu);
+ function Yd() {
+ for (; Xu !== null && !Ve();) Xd(Xu);
}
- function Zd(e) {
- var t = ol(e.alternate, e, id);
- e.memoizedProps = e.pendingProps, t === null ? ef(e) : Zu = t;
+ function Xd(e) {
+ var t = al(e.alternate, e, rd);
+ e.memoizedProps = e.pendingProps, t === null ? $d(e) : Xu = t;
}
- function Qd(e) {
+ function Zd(e) {
var t = e, n = t.alternate;
switch (t.tag) {
case 15:
case 0:
- t = Vc(n, t, t.pendingProps, t.type, void 0, Qu);
+ t = zc(n, t, t.pendingProps, t.type, void 0, Zu);
break;
case 11:
- t = Vc(n, t, t.pendingProps, t.type.render, t.ref, Qu);
+ t = zc(n, t, t.pendingProps, t.type.render, t.ref, Zu);
break;
case 5:
- ts(t);
+ es(t);
var r = t;
r === Xi && (Qi ? (ia(r), r.tag === 5 && r.stateNode != null && (Zi = r.stateNode)) : (ia(r), Qi = !0));
- default: hl(n, t), t = Zu = Oi(t, id), t = ol(n, t, id);
+ default: ml(n, t), t = Xu = Oi(t, rd), t = al(n, t, rd);
}
- e.memoizedProps = e.pendingProps, t === null ? ef(e) : Zu = t;
+ e.memoizedProps = e.pendingProps, t === null ? $d(e) : Xu = t;
}
- function $d(e, t, n, r) {
- da = ua = null, ts(t), $a = null, eo = 0;
+ function Qd(e, t, n, r) {
+ da = ua = null, es(t), Qa = null, $a = 0;
var i = t.return;
try {
- if (Ec(e, i, t, n, Qu)) {
- ad = 1, xc(e, Fi(n, e.current)), Zu = null;
+ if (wc(e, i, t, n, Zu)) {
+ id = 1, yc(e, Fi(n, e.current)), Xu = null;
return;
}
} catch (t) {
- if (i !== null) throw Zu = i, t;
- ad = 1, xc(e, Fi(n, e.current)), Zu = null;
+ if (i !== null) throw Xu = i, t;
+ id = 1, yc(e, Fi(n, e.current)), Xu = null;
return;
}
- t.flags & 32768 ? (Qi || r === 1 ? e = !0 : nd || Qu & 536870912 ? e = !1 : (td = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = To.current, r !== null && r.tag === 13 && (r.flags |= 16384))), tf(t, e)) : ef(t);
+ t.flags & 32768 ? (Qi || r === 1 ? e = !0 : td || Zu & 536870912 ? e = !1 : (ed = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = wo.current, r !== null && r.tag === 13 && (r.flags |= 16384))), ef(t, e)) : $d(t);
}
- function ef(e) {
+ function $d(e) {
var t = e;
do {
if (t.flags & 32768) {
- tf(t, td);
+ ef(t, ed);
return;
}
e = t.return;
- var n = pl(t.alternate, t, id);
+ var n = fl(t.alternate, t, rd);
if (n !== null) {
- Zu = n;
+ Xu = n;
return;
}
if (t = t.sibling, t !== null) {
- Zu = t;
+ Xu = t;
return;
}
- Zu = t = e;
+ Xu = t = e;
} while (t !== null);
- ad === 0 && (ad = 5);
+ id === 0 && (id = 5);
}
- function tf(e, t) {
+ function ef(e, t) {
do {
- var n = ml(e.alternate, e);
+ var n = pl(e.alternate, e);
if (n !== null) {
- n.flags &= 32767, Zu = n;
+ n.flags &= 32767, Xu = n;
return;
}
if (n = e.return, n !== null && (n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null), !t && (e = e.sibling, e !== null)) {
- Zu = e;
+ Xu = e;
return;
}
- Zu = e = n;
+ Xu = e = n;
} while (e !== null);
- ad = 6, Zu = null;
+ id = 6, Xu = null;
}
- function nf(e, t, n, r, a, o, s, c, l, u, d, f) {
+ function tf(e, t, n, r, a, o, s, c, l, u, d, f) {
e.cancelPendingCommit = null;
do
uf();
- while (yd !== 0);
- if (Yu & 6) throw Error(i(327));
+ while (vd !== 0);
+ if (Ju & 6) throw Error(i(327));
if (t !== null) {
if (t === e.current) throw Error(i(177));
- e === Xu && (Zu = Xu = null, Qu = 0), xd = t, bd = e, Sd = n, wd = a, Td = r, rf(e, t, n, s, c, l, f);
+ e === Yu && (Xu = Yu = null, Zu = 0), bd = t, yd = e, xd = n, Cd = a, wd = r, nf(e, t, n, s, c, l, f);
}
}
- function rf(e, t, n, r, i, a, o) {
+ function nf(e, t, n, r, i, a, o) {
var s = t.lanes | t.childLanes;
- if (Cd = s, s |= gi, ht(e, n, s, r, i, a), Dd = null, (n & 335544064) === n ? (Od = Aa(e), r = 10262) : (Od = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, yf(qe, function() {
+ if (Sd = s, s |= gi, pt(e, n, s, r, i, a), Ed = null, (n & 335544064) === n ? (Dd = ka(e), r = 10262) : (Dd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, yf(qe, function() {
return df(), null;
- })) : (e.callbackNode = null, e.callbackPriority = 0), Pl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {
- r = he.T, he.T = null, i = ge.p, ge.p = 2, a = Yu, Yu |= 4;
+ })) : (e.callbackNode = null, e.callbackPriority = 0), Nl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {
+ r = he.T, he.T = null, i = ge.p, ge.p = 2, a = Ju, Ju |= 4;
try {
- lu(e, t, n);
+ su(e, t, n);
} finally {
- Yu = a, ge.p = i, he.T = r;
+ Ju = a, ge.p = i, he.T = r;
}
}
- yd = 1, Pl ? Ed = jp(o, e.containerInfo, Od, of, sf, see, cf, df, af, null, null) : (of(), sf(), cf());
+ vd = 1, Nl ? Td = fee(o, e.containerInfo, Dd, of, sf, af, cf, df, rf, null, null) : (of(), sf(), cf());
}
- function af(e) {
- if (yd !== 0) {
- var t = bd.onRecoverableError;
+ function rf(e) {
+ if (vd !== 0) {
+ var t = yd.onRecoverableError;
t(e, { componentStack: null });
}
}
- function see() {
- yd === 3 && (yd = 0, Au(xd, bd), yd = 4);
+ function af() {
+ vd === 3 && (vd = 0, Ou(bd, yd), vd = 4);
}
function of() {
- if (yd === 1) {
- yd = 0;
- var e = bd, t = xd, n = Sd, r = !!(t.flags & 13878);
+ if (vd === 1) {
+ vd = 0;
+ var e = yd, t = bd, n = xd, r = !!(t.flags & 13878);
if (t.subtreeFlags & 13878 || r) {
r = he.T, he.T = null;
var i = ge.p;
ge.p = 2;
- var a = Yu;
- Yu |= 4;
+ var a = Ju;
+ Ju |= 4;
try {
- ou = su = !1, Eu(t, e, n), n = sp;
+ iu = au = !1, wu(t, e, n), n = op;
var o = Br(e.containerInfo), s = n.focusedElem, c = n.selectionRange;
if (o !== s && s && s.ownerDocument && zr(s.ownerDocument.documentElement, s)) {
if (c !== null && Vr(s)) {
@@ -6452,40 +6452,40 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
b.element.scrollLeft = b.left, b.element.scrollTop = b.top;
}
}
- sh = !!op, sp = op = null;
+ uh = !!ap, op = ap = null;
} finally {
- Yu = a, ge.p = i, he.T = r;
+ Ju = a, ge.p = i, he.T = r;
}
}
- e.current = t, yd = 2;
+ e.current = t, vd = 2;
}
}
function sf() {
- if (yd === 2) {
- yd = 0;
- var e = bd, t = xd, n = !!(t.flags & 8772);
+ if (vd === 2) {
+ vd = 0;
+ var e = yd, t = bd, n = !!(t.flags & 8772);
if (t.subtreeFlags & 8772 || n) {
n = he.T, he.T = null;
var r = ge.p;
ge.p = 2;
- var i = Yu;
- Yu |= 4;
+ var i = Ju;
+ Ju |= 4;
try {
- du(e, t.alternate, t);
+ lu(e, t.alternate, t);
} finally {
- Yu = i, ge.p = r, he.T = n;
+ Ju = i, ge.p = r, he.T = n;
}
}
- yd = 3;
+ vd = 3;
}
}
function cf() {
- if (yd === 4 || yd === 3) {
- yd = 0;
- var e = Ed;
- Ed = null, He();
- var t = bd, n = xd, r = Sd, i = Td, a = (r & 335544064) === r ? 10262 : 10256;
- if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? yd = 5 : (yd = 0, xd = bd = null, lf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (vd = null), vt(r), n = n.stateNode, Qe && typeof Qe.onCommitFiberRoot == "function") try {
+ if (vd === 4 || vd === 3) {
+ vd = 0;
+ var e = Td;
+ Td = null, He();
+ var t = yd, n = bd, r = xd, i = wd, a = (r & 335544064) === r ? 10262 : 10256;
+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? vd = 5 : (vd = 0, bd = yd = null, lf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (_d = null), gt(r), n = n.stateNode, Qe && typeof Qe.onCommitFiberRoot == "function") try {
Qe.onCommitFiberRoot(Ze, n, void 0, (n.current.flags & 128) == 128);
} catch {}
if (i !== null) {
@@ -6499,27 +6499,27 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
he.T = n, ge.p = a;
}
}
- if (i = Dd, o = Od, Od = null, i !== null && (Dd = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);
- Sd & 3 && uf(), Ef(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Ad ? kd++ : (kd = 0, Ad = t) : (kd = 0, Ad = null), Df(0, !1);
+ if (i = Ed, o = Dd, Dd = null, i !== null && (Ed = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);
+ xd & 3 && uf(), Ef(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === kd ? Od++ : (Od = 0, kd = t) : (Od = 0, kd = null), Df(0, !1);
}
}
function lf(e, t) {
- (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Da(t)));
+ (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Ea(t)));
}
function uf() {
- return Ed !== null && (Ed.skipTransition(), Ed = null), of(), sf(), cf(), df();
+ return Td !== null && (Td.skipTransition(), Td = null), of(), sf(), cf(), df();
}
function df() {
- if (yd !== 5) return !1;
- var e = bd, t = Cd;
- Cd = 0;
- var n = vt(Sd), r = he.T, a = ge.p;
+ if (vd !== 5) return !1;
+ var e = yd, t = Sd;
+ Sd = 0;
+ var n = gt(xd), r = he.T, a = ge.p;
try {
- ge.p = 32 > n ? 32 : n, he.T = null, n = wd, wd = null;
- var o = bd, s = Sd;
- if (yd = 0, xd = bd = null, Sd = 0, Yu & 6) throw Error(i(331));
- var c = Yu;
- if (Yu |= 4, Gu(o.current), Lu(o, o.current, s, n), Yu = c, Df(0, !1), Qe && typeof Qe.onPostCommitFiberRoot == "function") try {
+ ge.p = 32 > n ? 32 : n, he.T = null, n = Cd, Cd = null;
+ var o = yd, s = xd;
+ if (vd = 0, bd = yd = null, xd = 0, Ju & 6) throw Error(i(331));
+ var c = Ju;
+ if (Ju |= 4, Uu(o.current), Fu(o, o.current, s, n), Ju = c, Df(0, !1), Qe && typeof Qe.onPostCommitFiberRoot == "function") try {
Qe.onPostCommitFiberRoot(Ze, o);
} catch {}
return !0;
@@ -6528,7 +6528,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
}
function ff(e, t, n) {
- t = Fi(n, t), t = Cc(e.stateNode, t, 2), e = fo(e, t, 2), e !== null && (mt(e, 2), Ef(e));
+ t = Fi(n, t), t = xc(e.stateNode, t, 2), e = uo(e, t, 2), e !== null && (ft(e, 2), Ef(e));
}
function pf(e, t, n) {
if (e.tag === 3) ff(e, e, n);
@@ -6539,8 +6539,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
if (t.tag === 1) {
var r = t.stateNode;
- if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (vd === null || !vd.has(r))) {
- e = Fi(n, e), n = wc(2), r = fo(t, n, 2), r !== null && (Tc(n, r, t, e), mt(r, 2), Ef(r));
+ if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (_d === null || !_d.has(r))) {
+ e = Fi(n, e), n = Sc(2), r = uo(t, n, 2), r !== null && (Cc(n, r, t, e), ft(r, 2), Ef(r));
break;
}
}
@@ -6550,18 +6550,18 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
function mf(e, t, n) {
var r = e.pingCache;
if (r === null) {
- r = e.pingCache = new Ju();
+ r = e.pingCache = new qu();
var i = /* @__PURE__ */ new Set();
r.set(t, i);
} else i = r.get(t), i === void 0 && (i = /* @__PURE__ */ new Set(), r.set(t, i));
- i.has(n) || (rd = !0, i.add(n), e = hf.bind(null, e, t, n), t.then(e, e));
+ i.has(n) || (nd = !0, i.add(n), e = hf.bind(null, e, t, n), t.then(e, e));
}
function hf(e, t, n) {
var r = e.pingCache;
- r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, Xu === e && (Qu & n) === n && (ad === 4 || ad === 3 && (Qu & 62914560) === Qu && 300 > Ue() - md ? Yu & 2 ? cd |= n : Vd(e, 0) : cd |= n, ud === Qu && (ud = 0)), Ef(e);
+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, Yu === e && (Zu & n) === n && (id === 4 || id === 3 && (Zu & 62914560) === Zu && 300 > Ue() - pd ? Ju & 2 ? sd |= n : Bd(e, 0) : sd |= n, ld === Zu && (ld = 0)), Ef(e);
}
function gf(e, t) {
- t === 0 && (t = ft()), e = bi(e, t), e !== null && (mt(e, t), Ef(e));
+ t === 0 && (t = ut()), e = bi(e, t), e !== null && (ft(e, t), Ef(e));
}
function _f(e) {
var t = e.memoizedState, n = 0;
@@ -6590,7 +6590,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
var bf = null, xf = null, Sf = !1, Cf = !1, wf = !1, Tf = 0;
function Ef(e) {
- e !== xf && e.next === null && (xf === null ? bf = xf = e : xf = xf.next = e), Cf = !0, Sf || (Sf = !0, Nf());
+ e !== xf && e.next === null && (xf === null ? bf = xf = e : xf = xf.next = e), Cf = !0, Sf || (Sf = !0, cee());
}
function Df(e, t) {
if (!wf && Cf) {
@@ -6606,7 +6606,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
a = (1 << 31 - et(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;
}
a !== 0 && (n = !0, Mf(r, a));
- } else a = Qu, a = ct(r, r === Xu ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || lt(r, a) || (n = !0, Mf(r, a));
+ } else a = Zu, a = ot(r, r === Yu ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || st(r, a) || (n = !0, Mf(r, a));
}
r = r.next;
}
@@ -6620,22 +6620,22 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
function kf() {
Cf = Sf = !1;
var e = 0;
- Tf !== 0 && mp() && (e = Tf);
+ Tf !== 0 && pp() && (e = Tf);
for (var t = Ue(), n = null, r = bf; r !== null;) {
var i = r.next, a = Af(r, t);
a === 0 ? (r.next = null, n === null ? bf = i : n.next = i, i === null && (xf = n)) : (n = r, (e !== 0 || a & 3) && (Cf = !0)), r = i;
}
- yd !== 0 && yd !== 5 || Df(e, !1), Tf !== 0 && (Tf = 0);
+ vd !== 0 && vd !== 5 || Df(e, !1), Tf !== 0 && (Tf = 0);
}
function Af(e, t) {
for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {
var o = 31 - et(a), s = 1 << o, c = i[o];
- c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = dt(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;
+ c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = lt(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;
}
- if (t = Xu, n = Qu, n = ct(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && ($u === 2 || $u === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Be(r), e.callbackNode = null, e.callbackPriority = 0;
- if (!(n & 3) || lt(e, n)) {
+ if (t = Yu, n = Zu, n = ot(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (Qu === 2 || Qu === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Be(r), e.callbackNode = null, e.callbackPriority = 0;
+ if (!(n & 3) || st(e, n)) {
if (t = n & -n, t === e.callbackPriority) return t;
- switch (r !== null && Be(r), vt(n)) {
+ switch (r !== null && Be(r), gt(n)) {
case 2:
case 8:
n = Ke;
@@ -6644,7 +6644,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
n = qe;
break;
case 268435456:
- n = Je;
+ n = Ye;
break;
default: n = qe;
}
@@ -6653,35 +6653,35 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
return r !== null && r !== null && Be(r), e.callbackPriority = 2, e.callbackNode = null, 2;
}
function jf(e, t) {
- if (yd !== 0 && yd !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;
+ if (vd !== 0 && vd !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;
var n = e.callbackNode;
if (uf() && e.callbackNode !== n) return null;
- var r = Qu;
- return r = ct(e, e === Xu ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Fd(e, r, t), Af(e, Ue()), e.callbackNode != null && e.callbackNode === n ? jf.bind(null, e) : null);
+ var r = Zu;
+ return r = ot(e, e === Yu ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Pd(e, r, t), Af(e, Ue()), e.callbackNode != null && e.callbackNode === n ? jf.bind(null, e) : null);
}
function Mf(e, t) {
if (uf()) return null;
- Fd(e, t, !0);
+ Pd(e, t, !0);
}
- function Nf() {
- yp(function() {
- Yu & 6 ? ze(Ge, Of) : kf();
+ function cee() {
+ vp(function() {
+ Ju & 6 ? ze(Ge, Of) : kf();
});
}
- function Pf() {
+ function Nf() {
if (Tf === 0) {
- var e = Na;
- e === 0 && (e = it, it <<= 1, !(it & 261888) && (it = 256)), Tf = e;
+ var e = Ma;
+ e === 0 && (e = nt, nt <<= 1, !(nt & 261888) && (nt = 256)), Tf = e;
}
return Tf;
}
- function Ff(e) {
+ function Pf(e) {
return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : fn(e);
}
- function If(e, t, n, r, i) {
+ function lee(e, t, n, r, i) {
if (t === "submit" && n && n.stateNode === i) {
- var a = Ff((i[Ct] || null).action), o = r.submitter;
- o && (t = (t = o[Ct] || null) ? Ff(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));
+ var a = Pf((i[xt] || null).action), o = r.submitter;
+ o && (t = (t = o[xt] || null) ? Pf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));
var s = new Pn("action", "action", null, r, i);
e.push({
event: s,
@@ -6710,18 +6710,18 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
});
}
}
- for (var Lf = 0; Lf < si.length; Lf++) {
- var Rf = si[Lf];
- ci(Rf.toLowerCase(), "on" + (Rf[0].toUpperCase() + Rf.slice(1)));
+ for (var Ff = 0; Ff < si.length; Ff++) {
+ var If = si[Ff];
+ ci(If.toLowerCase(), "on" + (If[0].toUpperCase() + If.slice(1)));
}
- ci($r, "onAnimationEnd"), ci(ei, "onAnimationIteration"), ci(ti, "onAnimationStart"), ci("dblclick", "onDoubleClick"), ci("focusin", "onFocus"), ci("focusout", "onBlur"), ci(ni, "onTransitionRun"), ci(ri, "onTransitionStart"), ci(ii, "onTransitionCancel"), ci(ai, "onTransitionEnd"), Bt("onMouseEnter", ["mouseout", "mouseover"]), Bt("onMouseLeave", ["mouseout", "mouseover"]), Bt("onPointerEnter", ["pointerout", "pointerover"]), Bt("onPointerLeave", ["pointerout", "pointerover"]), zt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), zt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), zt("onBeforeInput", [
+ ci($r, "onAnimationEnd"), ci(ei, "onAnimationIteration"), ci(ti, "onAnimationStart"), ci("dblclick", "onDoubleClick"), ci("focusin", "onFocus"), ci("focusout", "onBlur"), ci(ni, "onTransitionRun"), ci(ri, "onTransitionStart"), ci(ii, "onTransitionCancel"), ci(ai, "onTransitionEnd"), Rt("onMouseEnter", ["mouseout", "mouseover"]), Rt("onMouseLeave", ["mouseout", "mouseover"]), Rt("onPointerEnter", ["pointerout", "pointerover"]), Rt("onPointerLeave", ["pointerout", "pointerover"]), Lt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Lt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Lt("onBeforeInput", [
"compositionend",
"keypress",
"textInput",
"paste"
- ]), zt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), zt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), zt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
- var zf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Bf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(zf));
- function Vf(e, t) {
+ ]), Lt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Lt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Lt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
+ var Lf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Rf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Lf));
+ function zf(e, t) {
t = !!(t & 4);
for (var n = 0; n < e.length; n++) {
var r = e[n], i = r.event;
@@ -6752,42 +6752,42 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
}
}
- function Hf(e, t) {
- var n = t[Tt];
- n === void 0 && (n = t[Tt] = /* @__PURE__ */ new Set());
+ function Bf(e, t) {
+ var n = t[Ct];
+ n === void 0 && (n = t[Ct] = /* @__PURE__ */ new Set());
var r = e + "__bubble";
- n.has(r) || (Kf(t, e, 2, !1), n.add(r));
+ n.has(r) || (Wf(t, e, 2, !1), n.add(r));
}
- function Uf(e, t, n) {
+ function Vf(e, t, n) {
var r = 0;
- t && (r |= 4), Kf(n, e, r, t);
+ t && (r |= 4), Wf(n, e, r, t);
}
- var Wf = "_reactListening" + Math.random().toString(36).slice(2);
- function Gf(e) {
- if (!e[Wf]) {
- e[Wf] = !0, Lt.forEach(function(t) {
- t !== "selectionchange" && (Bf.has(t) || Uf(t, !1, e), Uf(t, !0, e));
+ var Hf = "_reactListening" + Math.random().toString(36).slice(2);
+ function Uf(e) {
+ if (!e[Hf]) {
+ e[Hf] = !0, Ft.forEach(function(t) {
+ t !== "selectionchange" && (Rf.has(t) || Vf(t, !1, e), Vf(t, !0, e));
});
var t = e.nodeType === 9 ? e : e.ownerDocument;
- t === null || t[Wf] || (t[Wf] = !0, Uf("selectionchange", !1, t));
+ t === null || t[Hf] || (t[Hf] = !0, Vf("selectionchange", !1, t));
}
}
- function Kf(e, t, n, r) {
- switch (mh(t)) {
+ function Wf(e, t, n, r) {
+ switch (_h(t)) {
case 2:
- var i = ch;
+ var i = dh;
break;
case 8:
- i = lh;
+ i = fh;
break;
- default: i = uh;
+ default: i = ph;
}
n = i.bind(null, t, n, e), i = void 0, !Cn || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {
capture: !0,
passive: i
}) : i === void 0 ? e.addEventListener(t, n, !1) : e.addEventListener(t, n, { passive: i });
}
- function qf(e, t, n, r, i) {
+ function Gf(e, t, n, r, i) {
var a = r;
if (!(t & 1) && !(t & 2) && r !== null) a: for (;;) {
if (r === null) return;
@@ -6801,7 +6801,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
s = s.return;
}
for (; c !== null;) {
- if (s = jt(c), s === null) return;
+ if (s = kt(c), s === null) return;
if (l = s.tag, l === 5 || l === 6 || l === 26 || l === 27) {
r = a = s;
continue a;
@@ -6894,13 +6894,13 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
l = er;
break;
case "toggle":
- case "beforetoggle": l = ir;
+ case "beforetoggle": l = ree;
}
var d = !!(t & 4), f = !d && (e === "scroll" || e === "scrollend"), p = d ? c === null ? null : c + "Capture" : c;
d = [];
for (var m = r, h; m !== null;) {
var g = m;
- if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = xn(m, p), g != null && d.push(Jf(m, g, h))), f) break;
+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = xn(m, p), g != null && d.push(Kf(m, g, h))), f) break;
m = m.return;
}
0 < d.length && (c = new l(c, u, null, n, i), s.push({
@@ -6911,27 +6911,27 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
if (!(t & 7)) {
a: {
- if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== mn && (u = n.relatedTarget || n.fromElement) && (jt(u) || u[wt])) break a;
- (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? jt(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Vn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = $n, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Nt(c), h = l == null ? u : Nt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, jt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? E(c, l, cee) : null, c !== null && Xf(s, u, c, d, !1), l !== null && f !== null && Xf(s, f, l, d, !0)));
+ if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== mn && (u = n.relatedTarget || n.fromElement) && (kt(u) || u[St])) break a;
+ (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? kt(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Vn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = $n, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : jt(c), h = l == null ? u : jt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, kt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? E(c, l, Jf) : null, c !== null && Yf(s, u, c, d, !1), l !== null && f !== null && Yf(s, f, l, d, !0)));
}
a: {
- if (c = r ? Nt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = wr;
- else if (vr(c)) {
- if (Tr) _ = nee;
+ if (c = r ? jt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Sr;
+ else if (_r(c)) {
+ if (Cr) _ = Mr;
else {
- _ = Mr;
- var v = jr;
+ _ = Ar;
+ var v = kr;
}
- } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && dn(r.elementType) && (_ = wr) : _ = Nr;
+ } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && un(r.elementType) && (_ = Sr) : _ = jr;
if (_ &&= _(e, r)) {
- yr(s, _, n, i);
+ vr(s, _, n, i);
break a;
}
v && v(e, c, r);
}
- switch (v = r ? Nt(r) : window, e) {
+ switch (v = r ? jt(r) : window, e) {
case "focusin":
- (vr(v) || v.contentEditable === "true") && (Ur = v, Wr = r, Gr = null);
+ (_r(v) || v.contentEditable === "true") && (Ur = v, Wr = r, Gr = null);
break;
case "focusout":
Gr = Wr = Ur = null;
@@ -6949,7 +6949,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case "keyup": qr(s, n, i);
}
var y;
- if (or) b: {
+ if (ar) b: {
switch (e) {
case "compositionstart":
var b = "onCompositionStart";
@@ -6963,83 +6963,83 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
b = void 0;
}
- else mr ? fr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");
- b && (lr && n.locale !== "ko" && (mr || b !== "onCompositionStart" ? b === "onCompositionEnd" && mr && (y = On()) : (Tn = i, En = "value" in Tn ? Tn.value : Tn.textContent, mr = !0)), v = Yf(r, b), 0 < v.length && (b = new Kn(b, e, null, n, i), s.push({
+ else pr ? dr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");
+ b && (cr && n.locale !== "ko" && (pr || b !== "onCompositionStart" ? b === "onCompositionEnd" && pr && (y = On()) : (Tn = i, En = "value" in Tn ? Tn.value : Tn.textContent, pr = !0)), v = qf(r, b), 0 < v.length && (b = new Kn(b, e, null, n, i), s.push({
event: b,
listeners: v
- }), y ? b.data = y : (y = pr(n), y !== null && (b.data = y)))), (y = cr ? hr(e, n) : gr(e, n)) && (b = Yf(r, "onBeforeInput"), 0 < b.length && (v = new Kn("onBeforeInput", "beforeinput", null, n, i), s.push({
+ }), y ? b.data = y : (y = fr(n), y !== null && (b.data = y)))), (y = sr ? mr(e, n) : hr(e, n)) && (b = qf(r, "onBeforeInput"), 0 < b.length && (v = new Kn("onBeforeInput", "beforeinput", null, n, i), s.push({
event: v,
listeners: b
- }), v.data = y)), If(s, e, r, n, i);
+ }), v.data = y)), lee(s, e, r, n, i);
}
- Vf(s, t);
+ zf(s, t);
});
}
- function Jf(e, t, n) {
+ function Kf(e, t, n) {
return {
instance: e,
listener: t,
currentTarget: n
};
}
- function Yf(e, t) {
+ function qf(e, t) {
for (var n = t + "Capture", r = []; e !== null;) {
var i = e, a = i.stateNode;
- if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = xn(e, n), i != null && r.unshift(Jf(e, i, a)), i = xn(e, t), i != null && r.push(Jf(e, i, a))), e.tag === 3) return r;
+ if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = xn(e, n), i != null && r.unshift(Kf(e, i, a)), i = xn(e, t), i != null && r.push(Kf(e, i, a))), e.tag === 3) return r;
e = e.return;
}
return [];
}
- function cee(e) {
+ function Jf(e) {
if (e === null) return null;
do
e = e.return;
while (e && e.tag !== 5 && e.tag !== 27);
return e || null;
}
- function Xf(e, t, n, r, i) {
+ function Yf(e, t, n, r, i) {
for (var a = t._reactName, o = []; n !== null && n !== r;) {
var s = n, c = s.alternate, l = s.stateNode;
if (s = s.tag, c !== null && c === r) break;
- s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = xn(n, a), l != null && o.unshift(Jf(n, l, c))) : i || (l = xn(n, a), l != null && o.push(Jf(n, l, c)))), n = n.return;
+ s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = xn(n, a), l != null && o.unshift(Kf(n, l, c))) : i || (l = xn(n, a), l != null && o.push(Kf(n, l, c)))), n = n.return;
}
o.length !== 0 && e.push({
event: t,
listeners: o
});
}
- var lee = /\r\n?/g, Zf = /\u0000|\uFFFD/g;
- function Qf(e) {
- return (typeof e == "string" ? e : "" + e).replace(lee, "\n").replace(Zf, "");
+ var Xf = /\r\n?/g, uee = /\u0000|\uFFFD/g;
+ function Zf(e) {
+ return (typeof e == "string" ? e : "" + e).replace(Xf, "\n").replace(uee, "");
}
- function $f(e, t) {
- return t = Qf(t), Qf(e) === t;
+ function Qf(e, t) {
+ return t = Zf(t), Zf(e) === t;
}
- function ep(e, t, n, r, a, o) {
+ function $f(e, t, n, r, a, o) {
switch (n) {
case "children":
- if (typeof r == "string") t === "body" || t === "textarea" && r === "" || sn(e, r);
- else if (typeof r == "number" || typeof r == "bigint") t !== "body" && sn(e, "" + r);
+ if (typeof r == "string") t === "body" || t === "textarea" && r === "" || on(e, r);
+ else if (typeof r == "number" || typeof r == "bigint") t !== "body" && on(e, "" + r);
else return;
break;
case "className":
- Jt(e, "class", r);
+ Kt(e, "class", r);
break;
case "tabIndex":
- Jt(e, "tabindex", r);
+ Kt(e, "tabindex", r);
break;
case "dir":
case "role":
case "viewBox":
case "width":
case "height":
- Jt(e, n, r);
+ Kt(e, n, r);
break;
case "style":
- un(e, r, o);
+ ln(e, r, o);
return;
case "data": if (t !== "object") {
- Jt(e, "data", r);
+ Kt(e, "data", r);
break;
}
case "src":
@@ -7056,7 +7056,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
e.setAttribute(n, "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");
break;
}
- if (typeof o == "function" && (n === "formAction" ? (t !== "input" && ep(e, t, "name", a.name, a, null), ep(e, t, "formEncType", a.formEncType, a, null), ep(e, t, "formMethod", a.formMethod, a, null), ep(e, t, "formTarget", a.formTarget, a, null)) : (ep(e, t, "encType", a.encType, a, null), ep(e, t, "method", a.method, a, null), ep(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {
+ if (typeof o == "function" && (n === "formAction" ? (t !== "input" && $f(e, t, "name", a.name, a, null), $f(e, t, "formEncType", a.formEncType, a, null), $f(e, t, "formMethod", a.formMethod, a, null), $f(e, t, "formTarget", a.formTarget, a, null)) : ($f(e, t, "encType", a.encType, a, null), $f(e, t, "method", a.method, a, null), $f(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {
e.removeAttribute(n);
break;
}
@@ -7066,10 +7066,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
r != null && (e.onclick = pn);
return;
case "onScroll":
- r != null && Hf("scroll", e);
+ r != null && Bf("scroll", e);
return;
case "onScrollEnd":
- r != null && Hf("scrollend", e);
+ r != null && Bf("scrollend", e);
return;
case "dangerouslySetInnerHTML":
if (r != null) {
@@ -7151,49 +7151,49 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);
break;
case "popover":
- Hf("beforetoggle", e), Hf("toggle", e), qt(e, "popover", r);
+ Bf("beforetoggle", e), Bf("toggle", e), Gt(e, "popover", r);
break;
case "xlinkActuate":
- Yt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);
break;
case "xlinkArcrole":
- Yt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);
break;
case "xlinkRole":
- Yt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);
break;
case "xlinkShow":
- Yt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);
break;
case "xlinkTitle":
- Yt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);
break;
case "xlinkType":
- Yt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);
break;
case "xmlBase":
- Yt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);
+ qt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);
break;
case "xmlLang":
- Yt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);
+ qt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);
break;
case "xmlSpace":
- Yt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);
+ qt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);
break;
case "is":
- qt(e, "is", r);
+ Gt(e, "is", r);
break;
case "innerText":
case "textContent": return;
- default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = H.get(n) || n, qt(e, n, r);
+ default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = V.get(n) || n, Gt(e, n, r);
else return;
}
- Gt = !0;
+ Ut = !0;
}
- function tp(e, t, n, r, a, o) {
+ function ep(e, t, n, r, a, o) {
switch (n) {
case "style":
- un(e, r, o);
+ ln(e, r, o);
return;
case "dangerouslySetInnerHTML":
if (r != null) {
@@ -7205,15 +7205,15 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
break;
case "children":
- if (typeof r == "string") sn(e, r);
- else if (typeof r == "number" || typeof r == "bigint") sn(e, "" + r);
+ if (typeof r == "string") on(e, r);
+ else if (typeof r == "number" || typeof r == "bigint") on(e, "" + r);
else return;
break;
case "onScroll":
- r != null && Hf("scroll", e);
+ r != null && Bf("scroll", e);
return;
case "onScrollEnd":
- r != null && Hf("scrollend", e);
+ r != null && Bf("scrollend", e);
return;
case "onClick":
r != null && (e.onclick = pn);
@@ -7225,18 +7225,18 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case "innerText":
case "textContent": return;
default:
- if (!Rt.hasOwnProperty(n)) a: {
- if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[Ct] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {
+ if (!It.hasOwnProperty(n)) a: {
+ if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[xt] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {
typeof t != "function" && t !== null && (n in e ? e[n] = null : e.hasAttribute(n) && e.removeAttribute(n)), e.addEventListener(o, r, a);
break a;
}
- Gt = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : qt(e, n, r);
+ Ut = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Gt(e, n, r);
}
return;
}
- Gt = !0;
+ Ut = !0;
}
- function np(e, t, n) {
+ function tp(e, t, n) {
switch (t) {
case "div":
case "span":
@@ -7247,7 +7247,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case "p":
case "li": break;
case "img":
- Hf("error", e), Hf("load", e);
+ Bf("error", e), Bf("load", e);
var r = !1, a = !1, o;
for (o in n) if (n.hasOwnProperty(o)) {
var s = n[o];
@@ -7260,13 +7260,13 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
break;
case "children":
case "dangerouslySetInnerHTML": throw Error(i(137, t));
- default: ep(e, t, o, s, n, null);
+ default: $f(e, t, o, s, n, null);
}
}
- a && ep(e, t, "srcSet", n.srcSet, n, null), r && ep(e, t, "src", n.src, n, null);
+ a && $f(e, t, "srcSet", n.srcSet, n, null), r && $f(e, t, "src", n.src, n, null);
return;
case "input":
- Hf("invalid", e);
+ Bf("invalid", e);
var c = o = s = a = null, l = null, u = null;
for (r in n) if (n.hasOwnProperty(r)) {
var d = n[r];
@@ -7293,13 +7293,13 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case "dangerouslySetInnerHTML":
if (d != null) throw Error(i(137, t));
break;
- default: ep(e, t, r, d, n, null);
+ default: $f(e, t, r, d, n, null);
}
}
- B(e, o, c, l, u, s, a, !1);
+ tn(e, o, c, l, u, s, a, !1);
return;
case "select":
- for (a in Hf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {
+ for (a in Bf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {
case "value":
o = c;
break;
@@ -7307,12 +7307,12 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
s = c;
break;
case "multiple": r = c;
- default: ep(e, t, a, c, n, null);
+ default: $f(e, t, a, c, n, null);
}
- t = o, n = s, e.multiple = !!r, t == null ? n != null && rn(e, !!r, n, !0) : rn(e, !!r, t, !1);
+ t = o, n = s, e.multiple = !!r, t == null ? n != null && nn(e, !!r, n, !0) : nn(e, !!r, t, !1);
return;
case "textarea":
- for (s in Hf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {
+ for (s in Bf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {
case "value":
r = c;
break;
@@ -7325,38 +7325,38 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case "dangerouslySetInnerHTML":
if (c != null) throw Error(i(91));
break;
- default: ep(e, t, s, c, n, null);
+ default: $f(e, t, s, c, n, null);
}
- on(e, r, a, o);
+ an(e, r, a, o);
return;
case "option":
for (l in n) if (n.hasOwnProperty(l) && (r = n[l], r != null)) switch (l) {
case "selected":
e.selected = r && typeof r != "function" && typeof r != "symbol";
break;
- default: ep(e, t, l, r, n, null);
+ default: $f(e, t, l, r, n, null);
}
return;
case "dialog":
- Hf("beforetoggle", e), Hf("toggle", e), Hf("cancel", e), Hf("close", e);
+ Bf("beforetoggle", e), Bf("toggle", e), Bf("cancel", e), Bf("close", e);
break;
case "iframe":
case "object":
- Hf("load", e);
+ Bf("load", e);
break;
case "video":
case "audio":
- for (r = 0; r < zf.length; r++) Hf(zf[r], e);
+ for (r = 0; r < Lf.length; r++) Bf(Lf[r], e);
break;
case "image":
- Hf("error", e), Hf("load", e);
+ Bf("error", e), Bf("load", e);
break;
case "details":
- Hf("toggle", e);
+ Bf("toggle", e);
break;
case "embed":
case "source":
- case "link": Hf("error", e), Hf("load", e);
+ case "link": Bf("error", e), Bf("load", e);
case "area":
case "base":
case "br":
@@ -7371,18 +7371,18 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
for (u in n) if (n.hasOwnProperty(u) && (r = n[u], r != null)) switch (u) {
case "children":
case "dangerouslySetInnerHTML": throw Error(i(137, t));
- default: ep(e, t, u, r, n, null);
+ default: $f(e, t, u, r, n, null);
}
return;
- default: if (dn(t)) {
- for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && tp(e, t, d, r, n, void 0));
+ default: if (un(t)) {
+ for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && ep(e, t, d, r, n, void 0));
return;
}
}
- for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && ep(e, t, c, r, n, null));
+ for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && $f(e, t, c, r, n, null));
}
- var rp = {};
- function uee(e, t, n, r) {
+ var dee = {};
+ function np(e, t, n, r) {
switch (t) {
case "div":
case "span":
@@ -7400,35 +7400,35 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case "checked": break;
case "value": break;
case "defaultValue": l = f;
- default: r.hasOwnProperty(m) || ep(e, t, m, null, r, f);
+ default: r.hasOwnProperty(m) || $f(e, t, m, null, r, f);
}
}
for (var p in r) {
var m = r[p];
if (f = n[p], r.hasOwnProperty(p) && (m != null || f != null)) switch (p) {
case "type":
- m !== f && (Gt = !0), o = m;
+ m !== f && (Ut = !0), o = m;
break;
case "name":
- m !== f && (Gt = !0), a = m;
+ m !== f && (Ut = !0), a = m;
break;
case "checked":
- m !== f && (Gt = !0), u = m;
+ m !== f && (Ut = !0), u = m;
break;
case "defaultChecked":
- m !== f && (Gt = !0), d = m;
+ m !== f && (Ut = !0), d = m;
break;
case "value":
- m !== f && (Gt = !0), s = m;
+ m !== f && (Ut = !0), s = m;
break;
case "defaultValue":
- m !== f && (Gt = !0), c = m;
+ m !== f && (Ut = !0), c = m;
break;
case "children":
case "dangerouslySetInnerHTML":
if (m != null) throw Error(i(137, t));
break;
- default: m !== f && ep(e, t, p, m, r, f);
+ default: m !== f && $f(e, t, p, m, r, f);
}
}
z(e, s, c, l, u, d, o, a);
@@ -7437,53 +7437,53 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
for (o in m = s = c = p = null, n) if (l = n[o], n.hasOwnProperty(o) && l != null) switch (o) {
case "value": break;
case "multiple": m = l;
- default: r.hasOwnProperty(o) || ep(e, t, o, null, r, l);
+ default: r.hasOwnProperty(o) || $f(e, t, o, null, r, l);
}
for (a in r) if (o = r[a], l = n[a], r.hasOwnProperty(a) && (o != null || l != null)) switch (a) {
case "value":
- o !== l && (Gt = !0), p = o;
+ o !== l && (Ut = !0), p = o;
break;
case "defaultValue":
- o !== l && (Gt = !0), c = o;
+ o !== l && (Ut = !0), c = o;
break;
- case "multiple": o !== l && (Gt = !0), s = o;
- default: o !== l && ep(e, t, a, o, r, l);
+ case "multiple": o !== l && (Ut = !0), s = o;
+ default: o !== l && $f(e, t, a, o, r, l);
}
- t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? rn(e, !!n, n ? [] : "", !1) : rn(e, !!n, t, !0)) : rn(e, !!n, p, !1);
+ t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? nn(e, !!n, n ? [] : "", !1) : nn(e, !!n, t, !0)) : nn(e, !!n, p, !1);
return;
case "textarea":
for (c in m = p = null, n) if (a = n[c], n.hasOwnProperty(c) && a != null && !r.hasOwnProperty(c)) switch (c) {
case "value": break;
case "children": break;
- default: ep(e, t, c, null, r, a);
+ default: $f(e, t, c, null, r, a);
}
for (s in r) if (a = r[s], o = n[s], r.hasOwnProperty(s) && (a != null || o != null)) switch (s) {
case "value":
- a !== o && (Gt = !0), p = a;
+ a !== o && (Ut = !0), p = a;
break;
case "defaultValue":
- a !== o && (Gt = !0), m = a;
+ a !== o && (Ut = !0), m = a;
break;
case "children": break;
case "dangerouslySetInnerHTML":
if (a != null) throw Error(i(91));
break;
- default: a !== o && ep(e, t, s, a, r, o);
+ default: a !== o && $f(e, t, s, a, r, o);
}
- an(e, p, m);
+ rn(e, p, m);
return;
case "option":
for (var h in n) if (p = n[h], n.hasOwnProperty(h) && p != null && !r.hasOwnProperty(h)) switch (h) {
case "selected":
e.selected = !1;
break;
- default: ep(e, t, h, null, r, p);
+ default: $f(e, t, h, null, r, p);
}
for (l in r) if (p = r[l], m = n[l], r.hasOwnProperty(l) && p !== m && (p != null || m != null)) switch (l) {
case "selected":
- p !== m && (Gt = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";
+ p !== m && (Ut = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";
break;
- default: ep(e, t, l, p, r, m);
+ default: $f(e, t, l, p, r, m);
}
return;
case "img":
@@ -7501,25 +7501,25 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case "track":
case "wbr":
case "menuitem":
- for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && ep(e, t, g, null, r, p);
+ for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && $f(e, t, g, null, r, p);
for (u in r) if (p = r[u], m = n[u], r.hasOwnProperty(u) && p !== m && (p != null || m != null)) switch (u) {
case "children":
case "dangerouslySetInnerHTML":
if (p != null) throw Error(i(137, t));
break;
- default: ep(e, t, u, p, r, m);
+ default: $f(e, t, u, p, r, m);
}
return;
- default: if (dn(t)) {
- for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && tp(e, t, _, void 0, r, p);
- for (d in r) p = r[d], m = n[d], !r.hasOwnProperty(d) || p === m || p === void 0 && m === void 0 || tp(e, t, d, p, r, m);
+ default: if (un(t)) {
+ for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && ep(e, t, _, void 0, r, p);
+ for (d in r) p = r[d], m = n[d], !r.hasOwnProperty(d) || p === m || p === void 0 && m === void 0 || ep(e, t, d, p, r, m);
return;
}
}
- for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && ep(e, t, v, null, r, p);
- for (f in r) p = r[f], m = n[f], !r.hasOwnProperty(f) || p === m || p == null && m == null || ep(e, t, f, p, r, m);
+ for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && $f(e, t, v, null, r, p);
+ for (f in r) p = r[f], m = n[f], !r.hasOwnProperty(f) || p === m || p == null && m == null || $f(e, t, f, p, r, m);
}
- function ip(e) {
+ function rp(e) {
switch (e) {
case "css":
case "script":
@@ -7531,16 +7531,16 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
default: return !1;
}
}
- function ap() {
+ function ip() {
if (typeof performance.getEntriesByType == "function") {
for (var e = 0, t = 0, n = performance.getEntriesByType("resource"), r = 0; r < n.length; r++) {
var i = n[r], a = i.transferSize, o = i.initiatorType, s = i.duration;
- if (a && s && ip(o)) {
+ if (a && s && rp(o)) {
for (o = 0, s = i.responseEnd, r += 1; r < n.length; r++) {
var c = n[r], l = c.startTime;
if (l > s) break;
var u = c.transferSize, d = c.initiatorType;
- u && ip(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));
+ u && rp(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));
}
if (--r, t += 8 * (a + o) / (i.duration / 1e3), e++, 10 < e) break;
}
@@ -7549,18 +7549,18 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return navigator.connection && (e = navigator.connection.downlink, typeof e == "number") ? e : 5;
}
- var op = null, sp = null;
- function cp(e) {
+ var ap = null, op = null;
+ function sp(e) {
return e.nodeType === 9 ? e : e.ownerDocument;
}
- function lp(e) {
+ function cp(e) {
switch (e) {
case "http://www.w3.org/2000/svg": return 1;
case "http://www.w3.org/1998/Math/MathML": return 2;
default: return 0;
}
}
- function up(e, t) {
+ function lp(e, t) {
if (e === 0) switch (t) {
case "svg": return 1;
case "math": return 2;
@@ -7568,54 +7568,54 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return e === 1 && t === "foreignObject" ? 0 : e;
}
- function dp(e, t, n, r) {
- return n = cp(n).createElement(e), n[St] = r, n[Ct] = t, np(n, e, t), Ft(n), n;
+ function up(e, t, n, r) {
+ return n = sp(n).createElement(e), n[bt] = r, n[xt] = t, tp(n, e, t), Nt(n), n;
}
- function fp(e, t) {
+ function dp(e, t) {
return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.children == "bigint" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;
}
- var pp = null;
- function mp() {
+ var fp = null;
+ function pp() {
var e = window.event;
- return e && e.type === "popstate" ? e !== pp && (pp = e, !0) : (pp = null, !1);
+ return e && e.type === "popstate" ? e !== fp && (fp = e, !0) : (fp = null, !1);
}
- var hp = typeof setTimeout == "function" ? setTimeout : void 0, gp = typeof clearTimeout == "function" ? clearTimeout : void 0, _p = typeof Promise == "function" ? Promise : void 0, vp = typeof requestAnimationFrame == "function" ? requestAnimationFrame : hp, yp = typeof queueMicrotask == "function" ? queueMicrotask : _p === void 0 ? hp : function(e) {
- return _p.resolve(null).then(e).catch(bp);
+ var mp = typeof setTimeout == "function" ? setTimeout : void 0, hp = typeof clearTimeout == "function" ? clearTimeout : void 0, gp = typeof Promise == "function" ? Promise : void 0, _p = typeof requestAnimationFrame == "function" ? requestAnimationFrame : mp, vp = typeof queueMicrotask == "function" ? queueMicrotask : gp === void 0 ? mp : function(e) {
+ return gp.resolve(null).then(e).catch(yp);
};
- function bp(e) {
+ function yp(e) {
setTimeout(function() {
throw e;
});
}
- function xp(e) {
+ function bp(e) {
return e === "head";
}
- function Sp(e, t) {
+ function xp(e, t) {
var n = t, r = 0;
do {
var i = n.nextSibling;
if (e.removeChild(n), i && i.nodeType === 8) {
if (n = i.data, n === "/$" || n === "/&") {
if (r === 0) {
- e.removeChild(i), Nh(t);
+ e.removeChild(i), Ih(t);
return;
}
r--;
} else if (n === "$" || n === "$?" || n === "$~" || n === "$!" || n === "&") r++;
- else if (n === "html") dm(e.ownerDocument.documentElement);
+ else if (n === "html") mm(e.ownerDocument.documentElement);
else if (n === "head") {
- n = e.ownerDocument.head, dm(n);
+ n = e.ownerDocument.head, mm(n);
for (var a = n.firstChild; a;) {
var o = a.nextSibling, s = a.nodeName;
a[R] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;
}
- } else n === "body" && dm(e.ownerDocument.body);
+ } else n === "body" && mm(e.ownerDocument.body);
}
n = i;
} while (n);
- Nh(t);
+ Ih(t);
}
- function Cp(e, t) {
+ function Sp(e, t) {
var n = e;
e = 0;
do {
@@ -7629,7 +7629,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
n = r;
} while (n);
}
- function wp(e, t, n) {
+ function Cp(e, t, n) {
if (t = CSS.escape(t) === t ? t : "r-" + btoa(t).replace(/=/g, ""), e.style.viewTransitionName = t, n != null && (e.style.viewTransitionClass = n), n = getComputedStyle(e), n.display === "inline") {
if (t = e.getClientRects(), t.length === 1) var r = 1;
else for (var i = r = 0; i < t.length; i++) {
@@ -7639,12 +7639,12 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
r === 1 && (e = e.style, e.display = t.length === 1 ? "inline-block" : "block", e.marginTop = "-" + n.paddingTop, e.marginBottom = "-" + n.paddingBottom);
}
}
- function Tp(e, t) {
+ function wp(e, t) {
e = e.style, t = t.style;
var n = t == null ? null : t.hasOwnProperty("viewTransitionName") ? t.viewTransitionName : t.hasOwnProperty("view-transition-name") ? t["view-transition-name"] : null;
e.viewTransitionName = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), n = t == null ? null : t.hasOwnProperty("viewTransitionClass") ? t.viewTransitionClass : t.hasOwnProperty("view-transition-class") ? t["view-transition-class"] : null, e.viewTransitionClass = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), e.display === "inline-block" && (t == null ? e.display = e.margin = "" : (n = t.display, e.display = n == null || typeof n == "boolean" ? "" : n, n = t.margin, n == null ? (n = t.hasOwnProperty("marginTop") ? t.marginTop : t["margin-top"], e.marginTop = n == null || typeof n == "boolean" ? "" : n, t = t.hasOwnProperty("marginBottom") ? t.marginBottom : t["margin-bottom"], e.marginBottom = t == null || typeof t == "boolean" ? "" : t) : e.margin = n));
}
- function Ep(e, t, n) {
+ function Tp(e, t, n) {
return n = n.ownerDocument.defaultView, {
rect: e,
abs: t.position === "absolute" || t.position === "fixed",
@@ -7652,22 +7652,22 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
view: 0 <= e.bottom && 0 <= e.right && e.top <= n.innerHeight && e.left <= n.innerWidth
};
}
- function Dp(e) {
- return Ep(e.getBoundingClientRect(), getComputedStyle(e), e);
+ function Ep(e) {
+ return Tp(e.getBoundingClientRect(), getComputedStyle(e), e);
}
- function Op(e) {
+ function Dp(e) {
var t = e.getBoundingClientRect();
t = new DOMRect(t.x + 2e4, t.y + 2e4, t.width, t.height);
var n = getComputedStyle(e);
- return Ep(t, n, e);
+ return Tp(t, n, e);
}
- function kp(e) {
+ function Op(e) {
return e.documentElement.clientHeight;
}
- function Ap(e) {
+ function kp(e) {
this.addEventListener("load", e), this.addEventListener("error", e);
}
- function jp(e, t, n, r, i, a, o, s, c) {
+ function fee(e, t, n, r, i, a, o, s, c) {
var l = t.nodeType === 9 ? t : t.ownerDocument;
try {
var u = l.startViewTransition({
@@ -7675,16 +7675,16 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
var t = l.defaultView, n = t.navigation && t.navigation.transition, o = l.fonts.status;
r();
var s = [];
- if (o === "loaded" && (kp(l), l.fonts.status === "loading" && s.push(l.fonts.ready)), o = s.length, e !== null) for (var c = e.suspenseyImages, u = 0, d = 0; d < c.length; d++) {
+ if (o === "loaded" && (Op(l), l.fonts.status === "loading" && s.push(l.fonts.ready)), o = s.length, e !== null) for (var c = e.suspenseyImages, u = 0, d = 0; d < c.length; d++) {
var f = c[d];
if (!f.complete) {
var p = f.getBoundingClientRect();
if (0 < p.bottom && 0 < p.right && p.top < t.innerHeight && p.left < t.innerWidth) {
- if (u += Vm(f), u > Wm) {
+ if (u += Wm(f), u > qm) {
s.length = o;
break;
}
- f = new Promise(Ap.bind(f)), s.push(f);
+ f = new Promise(kp.bind(f)), s.push(f);
}
}
}
@@ -7739,86 +7739,86 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
return r(), i(), o(), null;
}
}
- function Mp(e, t) {
+ function Ap(e, t) {
this._scope = document.documentElement, this._selector = "::view-transition-" + e + "(" + t + ")";
}
- Mp.prototype.animate = function(e, t) {
+ Ap.prototype.animate = function(e, t) {
return t = typeof t == "number" ? { duration: t } : D({}, t), t.pseudoElement = this._selector, this._scope.animate(e, t);
- }, Mp.prototype.getAnimations = function() {
+ }, Ap.prototype.getAnimations = function() {
for (var e = this._scope, t = this._selector, n = e.getAnimations({ subtree: !0 }), r = [], i = 0; i < n.length; i++) {
var a = n[i].effect;
a !== null && a.target === e && a.pseudoElement === t && r.push(n[i]);
}
return r;
- }, Mp.prototype.getComputedStyle = function() {
+ }, Ap.prototype.getComputedStyle = function() {
return getComputedStyle(this._scope, this._selector);
};
- function Np(e) {
+ function jp(e) {
return {
name: e,
- group: new Mp("group", e),
- imagePair: new Mp("image-pair", e),
- old: new Mp("old", e),
- new: new Mp("new", e)
+ group: new Ap("group", e),
+ imagePair: new Ap("image-pair", e),
+ old: new Ap("old", e),
+ new: new Ap("new", e)
};
}
- function Pp(e) {
+ function Mp(e) {
this._fragmentFiber = e, this._observers = this._eventListeners = null;
}
- Pp.prototype.addEventListener = function(e, t, n) {
+ Mp.prototype.addEventListener = function(e, t, n) {
var r = null, i = null;
if (!(n != null && typeof n != "boolean" && (r = n.signal || null, r !== null && r.aborted))) {
this._eventListeners === null && (this._eventListeners = []);
var a = this._eventListeners;
- if (zp(a, e, t, n) === -1) {
+ if (Lp(a, e, t, n) === -1) {
var o = this, s = t;
n != null && typeof n != "boolean" && !0 === n.once && (s = function(r) {
o.removeEventListener(e, t, n), typeof t == "function" ? t.call(this, r) : t.handleEvent(r);
- }), r !== null && (i = o.removeEventListener.bind(o, e, t, n), r.addEventListener("abort", i, { once: !0 }), i = r.removeEventListener.bind(r, "abort", i)), r = Lp(n), a.push({
+ }), r !== null && (i = o.removeEventListener.bind(o, e, t, n), r.addEventListener("abort", i, { once: !0 }), i = r.removeEventListener.bind(r, "abort", i)), r = Fp(n), a.push({
type: e,
listener: t,
optionsOrUseCapture: n,
attachedListener: s,
cleanup: i
- }), m(this._fragmentFiber.child, !1, Fp, e, s, r);
+ }), m(this._fragmentFiber.child, !1, Np, e, s, r);
}
this._eventListeners = a;
}
};
- function Fp(e, t, n, r) {
+ function Np(e, t, n, r) {
return b(e).addEventListener(t, n, r), !1;
}
- Pp.prototype.removeEventListener = function(e, t, n) {
+ Mp.prototype.removeEventListener = function(e, t, n) {
var r = this._eventListeners;
- if (r !== null && (t = zp(r, e, t, n), t !== -1)) {
+ if (r !== null && (t = Lp(r, e, t, n), t !== -1)) {
var i = r[t];
n = i.attachedListener;
var a = i.cleanup;
- i = Lp(i.optionsOrUseCapture), m(this._fragmentFiber.child, !1, Ip, e, n, i), r.splice(t, 1), a !== null && a();
+ i = Fp(i.optionsOrUseCapture), m(this._fragmentFiber.child, !1, Pp, e, n, i), r.splice(t, 1), a !== null && a();
}
};
- function Ip(e, t, n, r) {
+ function Pp(e, t, n, r) {
return b(e).removeEventListener(t, n, r), !1;
}
- function Lp(e) {
+ function Fp(e) {
return e != null && typeof e != "boolean" && (!0 === e.once || e.signal instanceof AbortSignal) ? {
capture: e.capture,
passive: e.passive
} : e;
}
- function Rp(e) {
+ function Ip(e) {
return e == null ? "c=0" : typeof e == "boolean" ? "c=" + (e ? "1" : "0") : "c=" + (e.capture ? "1" : "0");
}
- function zp(e, t, n, r) {
+ function Lp(e, t, n, r) {
if (e.length === 0) return -1;
- r = Rp(r);
+ r = Ip(r);
for (var i = 0; i < e.length; i++) {
var a = e[i];
- if (a.type === t && a.listener === n && Rp(a.optionsOrUseCapture) === r) return i;
+ if (a.type === t && a.listener === n && Ip(a.optionsOrUseCapture) === r) return i;
}
return -1;
}
- Pp.prototype.dispatchEvent = function(e) {
+ Mp.prototype.dispatchEvent = function(e) {
var t = g(this._fragmentFiber);
if (t === null) return !0;
t = b(t);
@@ -7827,74 +7827,74 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
var r = t.nodeType === 9 ? t.createComment("") : document.createTextNode("");
if (n) for (var i = 0; i < n.length; i++) {
var a = n[i];
- r.addEventListener(a.type, a.attachedListener, Lp(a.optionsOrUseCapture));
+ r.addEventListener(a.type, a.attachedListener, Fp(a.optionsOrUseCapture));
}
- if (t.appendChild(r), e = r.dispatchEvent(e), n) for (i = 0; i < n.length; i++) a = n[i], r.removeEventListener(a.type, a.attachedListener, Lp(a.optionsOrUseCapture));
+ if (t.appendChild(r), e = r.dispatchEvent(e), n) for (i = 0; i < n.length; i++) a = n[i], r.removeEventListener(a.type, a.attachedListener, Fp(a.optionsOrUseCapture));
return t.removeChild(r), e;
}
return t.dispatchEvent(e);
- }, Pp.prototype.focus = function(e) {
- m(this._fragmentFiber.child, !0, Bp, e, void 0, void 0);
+ }, Mp.prototype.focus = function(e) {
+ m(this._fragmentFiber.child, !0, Rp, e, void 0, void 0);
};
- function Bp(e, t) {
- return e.tag !== 6 && (e = b(e), sm(e, t));
+ function Rp(e, t) {
+ return e.tag !== 6 && (e = b(e), um(e, t));
}
- Pp.prototype.focusLast = function(e) {
+ Mp.prototype.focusLast = function(e) {
var t = [];
- m(this._fragmentFiber.child, !0, Vp, t, void 0, void 0);
- for (var n = t.length - 1; 0 <= n && !Bp(t[n], e); n--);
+ m(this._fragmentFiber.child, !0, zp, t, void 0, void 0);
+ for (var n = t.length - 1; 0 <= n && !Rp(t[n], e); n--);
};
- function Vp(e, t) {
+ function zp(e, t) {
return t.push(e), !1;
}
- Pp.prototype.blur = function() {
+ Mp.prototype.blur = function() {
var e = g(this._fragmentFiber);
- e !== null && (e = b(e), e = cp(e).activeElement, e !== null && m(this._fragmentFiber.child, !1, dee, e, void 0, void 0));
+ e !== null && (e = b(e), e = sp(e).activeElement, e !== null && m(this._fragmentFiber.child, !1, Bp, e, void 0, void 0));
};
- function dee(e, t) {
+ function Bp(e, t) {
return e.tag !== 6 && (e = b(e), e === t || e.contains(t) ? (t.blur(), !0) : !1);
}
- Pp.prototype.observeUsing = function(e) {
- this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(e), m(this._fragmentFiber.child, !1, fee, e, void 0, void 0);
+ Mp.prototype.observeUsing = function(e) {
+ this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(e), m(this._fragmentFiber.child, !1, Vp, e, void 0, void 0);
};
- function fee(e, t) {
+ function Vp(e, t) {
return e.tag === 6 || (e = b(e), t.observe(e)), !1;
}
- Pp.prototype.unobserveUsing = function(e) {
+ Mp.prototype.unobserveUsing = function(e) {
var t = this._observers;
if (t !== null && t.has(e)) {
- t.delete(e), m(this._fragmentFiber.child, !1, pee, e, void 0, void 0);
- for (var n = t = 0; n < Hp.length; n++) {
- var r = Hp[n];
- r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : Hp[t++] = r;
+ t.delete(e), m(this._fragmentFiber.child, !1, Hp, e, void 0, void 0);
+ for (var n = t = 0; n < Up.length; n++) {
+ var r = Up[n];
+ r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : Up[t++] = r;
}
- Hp.length = t;
+ Up.length = t;
}
};
- function pee(e, t) {
+ function Hp(e, t) {
return e.tag === 6 || (e = b(e), t.unobserve(e)), !1;
}
- var Hp = [], Up = !1;
- function mee(e, t, n) {
- Hp.push({
+ var Up = [], Wp = !1;
+ function Gp(e, t, n) {
+ Up.push({
fragmentInstance: e,
observer: t,
instance: n
- }), Up || (Up = !0, cm(function() {
- Up = !1;
- var e = Hp;
- Hp = [];
+ }), Wp || (Wp = !0, dm(function() {
+ Wp = !1;
+ var e = Up;
+ Up = [];
for (var t = 0; t < e.length; t++) {
var n = e[t];
n.observer.unobserve(n.instance);
}
}));
}
- Pp.prototype.getClientRects = function() {
+ Mp.prototype.getClientRects = function() {
var e = [];
- return m(this._fragmentFiber.child, !1, hee, e, void 0, void 0), e;
+ return m(this._fragmentFiber.child, !1, Kp, e, void 0, void 0), e;
};
- function hee(e, t) {
+ function Kp(e, t) {
if (e.tag === 6) {
e = e.stateNode;
var n = e.ownerDocument.createRange();
@@ -7902,14 +7902,14 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
} else e = b(e), t.push.apply(t, e.getClientRects());
return !1;
}
- Pp.prototype.getRootNode = function(e) {
+ Mp.prototype.getRootNode = function(e) {
var t = g(this._fragmentFiber);
return t === null ? this : b(t).getRootNode(e);
- }, Pp.prototype.compareDocumentPosition = function(e) {
+ }, Mp.prototype.compareDocumentPosition = function(e) {
var t = g(this._fragmentFiber);
if (t === null) return Node.DOCUMENT_POSITION_DISCONNECTED;
var n = [];
- m(this._fragmentFiber.child, !1, Vp, n, void 0, void 0);
+ m(this._fragmentFiber.child, !1, zp, n, void 0, void 0);
var r = b(t);
if (n.length === 0) {
if (n = r, _(this._fragmentFiber)) {
@@ -7935,10 +7935,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
if (a == null) return Node.DOCUMENT_POSITION_DISCONNECTED;
r = a.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_CONTAINED_BY, a = a.compareDocumentPosition(i) & Node.DOCUMENT_POSITION_CONTAINED_BY;
var o = t.compareDocumentPosition(e), s = i.compareDocumentPosition(e), c = o & Node.DOCUMENT_POSITION_CONTAINED_BY || s & Node.DOCUMENT_POSITION_CONTAINED_BY;
- return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || Wp(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;
+ return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || qp(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;
};
- function Wp(e, t, n, r, i) {
- var a = jt(i);
+ function qp(e, t, n, r, i) {
+ var a = kt(i);
if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {
if (n = !!a) a: {
for (; a !== null;) {
@@ -7968,20 +7968,20 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return e & Node.DOCUMENT_POSITION_PRECEDING ? ((t = !!a) && !(t = a === n) && (t = E(n, a, T), t === null ? t = !1 : (m(t, !0, C, a, n), a = x, x = null, t = a !== null)), t) : e & Node.DOCUMENT_POSITION_FOLLOWING ? ((t = !!a) && !(t = a === r) && (t = E(r, a, T), t === null ? t = !1 : (m(t, !0, w, a, r), a = x, S = x = null, t = a !== null)), t) : !1;
}
- function Gp(e, t) {
+ function Jp(e, t) {
var n = e.ownerDocument.createRange();
n.selectNodeContents(e), e = n.getBoundingClientRect(), window.scrollTo(window.scrollX + e.left, t ? window.scrollY + e.top : window.scrollY + e.bottom - window.innerHeight);
}
- Pp.prototype.scrollIntoView = function(e) {
+ Mp.prototype.scrollIntoView = function(e) {
if (typeof e == "object") throw Error(i(566));
var t = [];
- m(this._fragmentFiber.child, !1, Vp, t, void 0, void 0);
+ m(this._fragmentFiber.child, !1, zp, t, void 0, void 0);
var n = !1 !== e;
if (t.length === 0) {
var r = v(this._fragmentFiber);
if (r = n ? r[1] || r[0] || g(this._fragmentFiber) : r[0] || r[1], r === null) return;
if (r.tag === 6) {
- e = b(r), Gp(e, n);
+ e = b(r), Jp(e, n);
return;
}
if (r = b(r), r.nodeType !== 9) {
@@ -7994,40 +7994,40 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
for (r = n ? t.length - 1 : 0; r !== (n ? -1 : t.length);) {
var a = t[r];
- a.tag === 6 ? (a = b(a), Gp(a, n)) : b(a).scrollIntoView(e), r += n ? -1 : 1;
+ a.tag === 6 ? (a = b(a), Jp(a, n)) : b(a).scrollIntoView(e), r += n ? -1 : 1;
}
};
- function Kp(e, t) {
- return e = b(e), qp(e, t), !1;
+ function Yp(e, t) {
+ return e = b(e), Xp(e, t), !1;
}
- function qp(e, t) {
+ function Xp(e, t) {
e.reactFragments ??= /* @__PURE__ */ new Set(), e.reactFragments.add(t);
}
- function Jp(e, t) {
+ function Zp(e, t) {
var n = t._eventListeners;
if (n !== null) for (var r = 0; r < n.length; r++) {
var i = n[r];
- e.addEventListener(i.type, i.attachedListener, Lp(i.optionsOrUseCapture));
+ e.addEventListener(i.type, i.attachedListener, Fp(i.optionsOrUseCapture));
}
e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {
- for (var r = 0, i = 0; i < Hp.length; i++) {
- var a = Hp[i];
- (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (Hp[r++] = a);
+ for (var r = 0, i = 0; i < Up.length; i++) {
+ var a = Up[i];
+ (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (Up[r++] = a);
}
- Hp.length = r, n.observe(e);
- }), qp(e, t));
+ Up.length = r, n.observe(e);
+ }), Xp(e, t));
}
- function Yp(e, t) {
+ function Qp(e, t) {
var n = t._eventListeners;
if (n !== null) for (var r = 0; r < n.length; r++) {
var i = n[r];
- e.removeEventListener(i.type, i.attachedListener, Lp(i.optionsOrUseCapture));
+ e.removeEventListener(i.type, i.attachedListener, Fp(i.optionsOrUseCapture));
}
e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {
- typeof n.rootMargin == "string" ? mee(t, n, e) : n.unobserve(e);
+ typeof n.rootMargin == "string" ? Gp(t, n, e) : n.unobserve(e);
}), e.reactFragments != null && e.reactFragments.delete(t));
}
- function Xp(e) {
+ function $p(e) {
var t = e.firstChild;
for (t && t.nodeType === 10 && (t = t.nextSibling); t;) {
var n = t;
@@ -8035,7 +8035,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case "HTML":
case "HEAD":
case "BODY":
- Xp(n), At(n);
+ $p(n), Ot(n);
continue;
case "SCRIPT":
case "STYLE": continue;
@@ -8044,7 +8044,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
e.removeChild(n);
}
}
- function Zp(e, t, n, r) {
+ function em(e, t, n, r) {
for (; e.nodeType === 1;) {
var i = n;
if (e.nodeName.toLowerCase() !== t.toLowerCase()) {
@@ -8069,26 +8069,26 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
return e;
default: return e;
}
- if (e = rm(e.nextSibling), e === null) break;
+ if (e = om(e.nextSibling), e === null) break;
}
return null;
}
- function Qp(e, t, n) {
+ function tm(e, t, n) {
if (t === "") return null;
- for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = rm(e.nextSibling), e === null)) return null;
+ for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = om(e.nextSibling), e === null)) return null;
return e;
}
- function $p(e, t) {
- for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = rm(e.nextSibling), e === null)) return null;
+ function nm(e, t) {
+ for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = om(e.nextSibling), e === null)) return null;
return e;
}
- function em(e) {
+ function rm(e) {
return e.data === "$?" || e.data === "$~";
}
- function tm(e) {
+ function im(e) {
return e.data === "$!" || e.data === "$?" && e.ownerDocument.readyState !== "loading";
}
- function nm(e, t) {
+ function am(e, t) {
var n = e.ownerDocument;
if (e.data === "$~") e._reactRetry = t;
else if (e.data !== "$?" || n.readyState !== "loading") t();
@@ -8099,7 +8099,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
n.addEventListener("DOMContentLoaded", r), e._reactRetry = r;
}
}
- function rm(e) {
+ function om(e) {
for (; e != null; e = e.nextSibling) {
var t = e.nodeType;
if (t === 1 || t === 3) break;
@@ -8110,14 +8110,14 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return e;
}
- var im = null;
- function am(e) {
+ var sm = null;
+ function cm(e) {
e = e.nextSibling;
for (var t = 0; e;) {
if (e.nodeType === 8) {
var n = e.data;
if (n === "/$" || n === "/&") {
- if (t === 0) return rm(e.nextSibling);
+ if (t === 0) return om(e.nextSibling);
t--;
} else n !== "$" && n !== "$!" && n !== "$?" && n !== "$~" && n !== "&" || t++;
}
@@ -8125,7 +8125,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return null;
}
- function om(e) {
+ function lm(e) {
e = e.previousSibling;
for (var t = 0; e;) {
if (e.nodeType === 8) {
@@ -8139,7 +8139,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return null;
}
- function sm(e, t) {
+ function um(e, t) {
function n() {
r = !0;
}
@@ -8152,15 +8152,15 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return r;
}
- function cm(e) {
- vp(function() {
- vp(function(t) {
+ function dm(e) {
+ _p(function() {
+ _p(function(t) {
return e(t);
});
});
}
- function lm(e, t, n) {
- switch (t = cp(n), e) {
+ function fm(e, t, n) {
+ switch (t = sp(n), e) {
case "html":
if (e = t.documentElement, !e) throw Error(i(452));
return e;
@@ -8173,122 +8173,122 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
default: throw Error(i(451));
}
}
- function um(e, t, n) {
+ function pm(e, t, n) {
for (var r in n) {
var i = n[r];
- n.hasOwnProperty(r) && i != null && ep(e, t, r, null, rp, i);
+ n.hasOwnProperty(r) && i != null && $f(e, t, r, null, dee, i);
}
- n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === pn && (e.onclick = null), At(e);
+ n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === pn && (e.onclick = null), Ot(e);
}
- function dm(e) {
+ function mm(e) {
for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);
- At(e);
+ Ot(e);
}
- var fm = /* @__PURE__ */ new Map(), pm = /* @__PURE__ */ new Set();
- function mm(e) {
+ var hm = /* @__PURE__ */ new Map(), gm = /* @__PURE__ */ new Set();
+ function _m(e) {
if (typeof e.getRootNode == "function") {
var t = e.getRootNode();
if (t.nodeType === 9 || t.nodeType === 11) return t;
}
return e.nodeType === 9 ? e : e.ownerDocument;
}
- var hm = ge.d;
+ var vm = ge.d;
ge.d = {
- f: gm,
- r: _m,
- D: bm,
- C: xm,
- L: Sm,
- m: Cm,
- X: gee,
- S: wm,
- M: Tm
- };
- function gm() {
- var e = hm.f(), t = zd();
+ f: pee,
+ r: ym,
+ D: Sm,
+ C: Cm,
+ L: mee,
+ m: wm,
+ X: Tm,
+ S: hee,
+ M: Em
+ };
+ function pee() {
+ var e = vm.f(), t = Rd();
return e || t;
}
- function _m(e) {
- var t = Mt(e);
- t !== null && t.tag === 5 && t.type === "form" ? Qs(t) : hm.r(e);
+ function ym(e) {
+ var t = At(e);
+ t !== null && t.tag === 5 && t.type === "form" ? Qs(t) : vm.r(e);
}
- var vm = typeof document > "u" ? null : document;
- function ym(e, t, n) {
- var r = vm;
+ var bm = typeof document > "u" ? null : document;
+ function xm(e, t, n) {
+ var r = bm;
if (r && typeof t == "string" && t) {
- var i = nn(t);
- i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), pm.has(i) || (pm.add(i), e = {
+ var i = en(t);
+ i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), gm.has(i) || (gm.add(i), e = {
rel: e,
crossOrigin: n,
href: t
- }, r.querySelector(i) === null && (t = r.createElement("link"), np(t, "link", e), Ft(t), r.head.appendChild(t)));
+ }, r.querySelector(i) === null && (t = r.createElement("link"), tp(t, "link", e), Nt(t), r.head.appendChild(t)));
}
}
- function bm(e) {
- hm.D(e), ym("dns-prefetch", e, null);
+ function Sm(e) {
+ vm.D(e), xm("dns-prefetch", e, null);
}
- function xm(e, t) {
- hm.C(e, t), ym("preconnect", e, t);
+ function Cm(e, t) {
+ vm.C(e, t), xm("preconnect", e, t);
}
- function Sm(e, t, n) {
- hm.L(e, t, n);
- var r = vm;
+ function mee(e, t, n) {
+ vm.L(e, t, n);
+ var r = bm;
if (r && e && t) {
- var i = "link[rel=\"preload\"][as=\"" + nn(t) + "\"]";
- t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + nn(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + nn(n.imageSizes) + "\"]")) : i += "[href=\"" + nn(e) + "\"]";
+ var i = "link[rel=\"preload\"][as=\"" + en(t) + "\"]";
+ t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + en(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + en(n.imageSizes) + "\"]")) : i += "[href=\"" + en(e) + "\"]";
var a = i;
switch (t) {
case "style":
- a = Dm(e);
+ a = Om(e);
break;
- case "script": a = Am(e);
+ case "script": a = Mm(e);
}
- if (!(fm.has(a) || (e = D({
+ if (!(hm.has(a) || (e = D({
rel: "preload",
href: t === "image" && n && n.imageSrcSet ? void 0 : e,
as: t
- }, n), fm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Om(a)) || t === "script" && r.querySelector(jm(a))))) {
+ }, n), hm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(km(a)) || t === "script" && r.querySelector(Nm(a))))) {
var o = r.createElement("link");
- np(o, "link", e), t === "style" && (o[kt] = !0, o.onload = o.onerror = function() {
- It(o);
- }), Ft(o), r.head.appendChild(o);
+ tp(o, "link", e), t === "style" && (o[Dt] = !0, o.onload = o.onerror = function() {
+ Pt(o);
+ }), Nt(o), r.head.appendChild(o);
}
}
}
- function Cm(e, t) {
- hm.m(e, t);
- var n = vm;
+ function wm(e, t) {
+ vm.m(e, t);
+ var n = bm;
if (n && e) {
- var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + nn(r) + "\"][href=\"" + nn(e) + "\"]", a = i;
+ var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + en(r) + "\"][href=\"" + en(e) + "\"]", a = i;
switch (r) {
case "audioworklet":
case "paintworklet":
case "serviceworker":
case "sharedworker":
case "worker":
- case "script": a = Am(e);
+ case "script": a = Mm(e);
}
- if (!fm.has(a) && (e = D({
+ if (!hm.has(a) && (e = D({
rel: "modulepreload",
href: e
- }, t), fm.set(a, e), n.querySelector(i) === null)) {
+ }, t), hm.set(a, e), n.querySelector(i) === null)) {
switch (r) {
case "audioworklet":
case "paintworklet":
case "serviceworker":
case "sharedworker":
case "worker":
- case "script": if (n.querySelector(jm(a))) return;
+ case "script": if (n.querySelector(Nm(a))) return;
}
- r = n.createElement("link"), np(r, "link", e), Ft(r), n.head.appendChild(r);
+ r = n.createElement("link"), tp(r, "link", e), Nt(r), n.head.appendChild(r);
}
}
}
- function wm(e, t, n) {
- hm.S(e, t, n);
- var r = vm;
+ function hee(e, t, n) {
+ vm.S(e, t, n);
+ var r = bm;
if (r && e) {
- var i = Pt(r).hoistableStyles, a = Dm(e);
+ var i = Mt(r).hoistableStyles, a = Om(e);
t ||= "default";
var o = i.get(a);
if (!o) {
@@ -8296,21 +8296,21 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
loading: 0,
preload: null
};
- if (o = r.querySelector(Om(a))) s.loading = 5;
+ if (o = r.querySelector(km(a))) s.loading = 5;
else {
e = D({
rel: "stylesheet",
href: e,
"data-precedence": t
- }, n), (n = fm.get(a)) && Pm(e, n);
+ }, n), (n = hm.get(a)) && Im(e, n);
var c = o = r.createElement("link");
- Ft(c), np(c, "link", e), c._p = new Promise(function(e, t) {
+ Nt(c), tp(c, "link", e), c._p = new Promise(function(e, t) {
c.onload = e, c.onerror = t;
}), c.addEventListener("load", function() {
s.loading |= 1;
}), c.addEventListener("error", function() {
s.loading |= 2;
- }), s.loading |= 4, Nm(o, t, r);
+ }), s.loading |= 4, Fm(o, t, r);
}
o = {
type: "stylesheet",
@@ -8321,15 +8321,15 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
}
}
- function gee(e, t) {
- hm.X(e, t);
- var n = vm;
+ function Tm(e, t) {
+ vm.X(e, t);
+ var n = bm;
if (n && e) {
- var r = Pt(n).hoistableScripts, i = Am(e), a = r.get(i);
- a || (a = n.querySelector(jm(i)), a || (e = D({
+ var r = Mt(n).hoistableScripts, i = Mm(e), a = r.get(i);
+ a || (a = n.querySelector(Nm(i)), a || (e = D({
src: e,
async: !0
- }, t), (t = fm.get(i)) && Fm(e, t), a = n.createElement("script"), Ft(a), np(a, "link", e), n.head.appendChild(a)), a = {
+ }, t), (t = hm.get(i)) && Lm(e, t), a = n.createElement("script"), Nt(a), tp(a, "link", e), n.head.appendChild(a)), a = {
type: "script",
instance: a,
count: 1,
@@ -8337,16 +8337,16 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}, r.set(i, a));
}
}
- function Tm(e, t) {
- hm.M(e, t);
- var n = vm;
+ function Em(e, t) {
+ vm.M(e, t);
+ var n = bm;
if (n && e) {
- var r = Pt(n).hoistableScripts, i = Am(e), a = r.get(i);
- a || (a = n.querySelector(jm(i)), a || (e = D({
+ var r = Mt(n).hoistableScripts, i = Mm(e), a = r.get(i);
+ a || (a = n.querySelector(Nm(i)), a || (e = D({
src: e,
async: !0,
type: "module"
- }, t), (t = fm.get(i)) && Fm(e, t), a = n.createElement("script"), Ft(a), np(a, "link", e), n.head.appendChild(a)), a = {
+ }, t), (t = hm.get(i)) && Lm(e, t), a = n.createElement("script"), Nt(a), tp(a, "link", e), n.head.appendChild(a)), a = {
type: "script",
instance: a,
count: 1,
@@ -8354,13 +8354,13 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}, r.set(i, a));
}
}
- function Em(e, t, n, r) {
- var a = (a = Te.current) ? mm(a) : null;
+ function Dm(e, t, n, r) {
+ var a = (a = Te.current) ? _m(a) : null;
if (!a) throw Error(i(446));
switch (e) {
case "meta":
case "title": return null;
- case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Dm(n.href), t = Pt(a).hoistableStyles, r = t.get(n), r || (r = {
+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Om(n.href), t = Mt(a).hoistableStyles, r = t.get(n), r || (r = {
type: "style",
instance: null,
count: 0,
@@ -8373,8 +8373,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
};
case "link":
if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {
- e = Dm(n.href);
- var o = Pt(a).hoistableStyles, s = o.get(e);
+ e = Om(n.href);
+ var o = Mt(a).hoistableStyles, s = o.get(e);
if (s || (a = a.ownerDocument || a, s = {
type: "stylesheet",
instance: null,
@@ -8383,7 +8383,7 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
loading: 0,
preload: null
}
- }, o.set(e, s), (o = a.querySelector(Om(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = fm.get(e), o || (o = {
+ }, o.set(e, s), (o = a.querySelector(km(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = hm.get(e), o || (o = {
rel: "preload",
as: "style",
href: n.href,
@@ -8392,12 +8392,12 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
media: n.media,
hrefLang: n.hrefLang,
referrerPolicy: n.referrerPolicy
- }, fm.set(e, o)), _ee(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));
+ }, hm.set(e, o)), jm(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));
return s;
}
if (t && r !== null) throw Error(i(529, ""));
return null;
- case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = Am(n), t = Pt(a).hoistableScripts, r = t.get(n), r || (r = {
+ case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = Mm(n), t = Mt(a).hoistableScripts, r = t.get(n), r || (r = {
type: "script",
instance: null,
count: 0,
@@ -8411,66 +8411,66 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
default: throw Error(i(444, e));
}
}
- function Dm(e) {
- return "href=\"" + nn(e) + "\"";
- }
function Om(e) {
- return "link[rel=\"stylesheet\"][" + e + "]";
+ return "href=\"" + en(e) + "\"";
}
function km(e) {
+ return "link[rel=\"stylesheet\"][" + e + "]";
+ }
+ function Am(e) {
return D({}, e, {
"data-precedence": e.precedence,
precedence: null
});
}
- function _ee(e, t, n, r) {
+ function jm(e, t, n, r) {
if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {
- if (!0 !== t[kt]) {
+ if (!0 !== t[Dt]) {
r.loading = 1;
return;
}
- } else t = e.createElement("link"), t[kt] = !0, t.onload = t.onerror = It.bind(null, t), np(t, "link", n), Ft(t), e.head.appendChild(t);
+ } else t = e.createElement("link"), t[Dt] = !0, t.onload = t.onerror = Pt.bind(null, t), tp(t, "link", n), Nt(t), e.head.appendChild(t);
r.preload = t, t.addEventListener("load", function() {
return r.loading |= 1;
}), t.addEventListener("error", function() {
return r.loading |= 2;
});
}
- function Am(e) {
- return "[src=\"" + nn(e) + "\"]";
+ function Mm(e) {
+ return "[src=\"" + en(e) + "\"]";
}
- function jm(e) {
+ function Nm(e) {
return "script[async]" + e;
}
- function Mm(e, t, n) {
+ function Pm(e, t, n) {
if (t.count++, t.instance === null) switch (t.type) {
case "style":
- var r = e.querySelector("style[data-href~=\"" + nn(n.href) + "\"]");
- if (r) return t.instance = r, Ft(r), r;
+ var r = e.querySelector("style[data-href~=\"" + en(n.href) + "\"]");
+ if (r) return t.instance = r, Nt(r), r;
var a = D({}, n, {
"data-href": n.href,
"data-precedence": n.precedence,
href: null,
precedence: null
});
- return r = (e.ownerDocument || e).createElement("style"), Ft(r), np(r, "style", a), Nm(r, n.precedence, e), t.instance = r;
+ return r = (e.ownerDocument || e).createElement("style"), Nt(r), tp(r, "style", a), Fm(r, n.precedence, e), t.instance = r;
case "stylesheet":
- a = Dm(n.href);
- var o = e.querySelector(Om(a));
- if (o) return t.state.loading |= 4, t.instance = o, Ft(o), o;
- r = km(n), (a = fm.get(a)) && Pm(r, a), o = (e.ownerDocument || e).createElement("link"), Ft(o);
+ a = Om(n.href);
+ var o = e.querySelector(km(a));
+ if (o) return t.state.loading |= 4, t.instance = o, Nt(o), o;
+ r = Am(n), (a = hm.get(a)) && Im(r, a), o = (e.ownerDocument || e).createElement("link"), Nt(o);
var s = o;
return s._p = new Promise(function(e, t) {
s.onload = e, s.onerror = t;
- }), np(o, "link", r), t.state.loading |= 4, Nm(o, n.precedence, e), t.instance = o;
- case "script": return o = Am(n.src), (a = e.querySelector(jm(o))) ? (t.instance = a, Ft(a), a) : (r = n, (a = fm.get(o)) && (r = D({}, n), Fm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Ft(a), np(a, "link", r), e.head.appendChild(a), t.instance = a);
+ }), tp(o, "link", r), t.state.loading |= 4, Fm(o, n.precedence, e), t.instance = o;
+ case "script": return o = Mm(n.src), (a = e.querySelector(Nm(o))) ? (t.instance = a, Nt(a), a) : (r = n, (a = hm.get(o)) && (r = D({}, n), Lm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Nt(a), tp(a, "link", r), e.head.appendChild(a), t.instance = a);
case "void": return null;
default: throw Error(i(443, t.type));
}
- else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Nm(r, n.precedence, e));
+ else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Fm(r, n.precedence, e));
return t.instance;
}
- function Nm(e, t, n) {
+ function Fm(e, t, n) {
for (var r = n.querySelectorAll("link[rel=\"stylesheet\"][data-precedence],style[data-precedence]"), i = r.length ? r[r.length - 1] : null, a = i, o = 0; o < r.length; o++) {
var s = r[o];
if (s.dataset.precedence === t) a = s;
@@ -8478,22 +8478,22 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
a ? a.parentNode.insertBefore(e, a.nextSibling) : (t = n.nodeType === 9 ? n.head : n, t.insertBefore(e, t.firstChild));
}
- function Pm(e, t) {
+ function Im(e, t) {
e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.title ??= t.title;
}
- function Fm(e, t) {
+ function Lm(e, t) {
e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.integrity ??= t.integrity;
}
- var Im = null;
- function Lm(e, t, n) {
- if (Im === null) {
- var r = /* @__PURE__ */ new Map(), i = Im = /* @__PURE__ */ new Map();
+ var Rm = null;
+ function zm(e, t, n) {
+ if (Rm === null) {
+ var r = /* @__PURE__ */ new Map(), i = Rm = /* @__PURE__ */ new Map();
i.set(n, r);
- } else i = Im, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));
+ } else i = Rm, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));
if (r.has(e)) return r;
for (r.set(e, null), n = n.getElementsByTagName(e), i = 0; i < n.length; i++) {
var a = n[i];
- if (!(a[R] || a[St] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {
+ if (!(a[R] || a[bt] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {
var o = a.getAttribute(t) || "";
o = e + o;
var s = r.get(o);
@@ -8502,10 +8502,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return r;
}
- function Rm(e, t, n) {
+ function Bm(e, t, n) {
e = e.ownerDocument || e, e.head.insertBefore(n, t === "title" ? e.querySelector("head > title") : null);
}
- function vee(e, t, n) {
+ function Vm(e, t, n) {
if (n === 1 || t.itemProp != null) return !1;
switch (e) {
case "meta":
@@ -8523,91 +8523,91 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
return !1;
}
- function zm(e, t) {
+ function Hm(e, t) {
return e === "img" && t.src != null && t.src !== "" && t.onLoad == null && t.loading !== "lazy";
}
- function Bm(e) {
+ function Um(e) {
return !(e.type === "stylesheet" && !(e.state.loading & 3));
}
- function Vm(e) {
+ function Wm(e) {
return (e.width || 100) * (e.height || 100) * (typeof devicePixelRatio == "number" ? devicePixelRatio : 1) * .25;
}
- function Hm(e, t) {
- typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += Vm(t), e.suspenseyImages.push(t)), e = Jm.bind(e), t.decode().then(e, e));
+ function Gm(e, t) {
+ typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += Wm(t), e.suspenseyImages.push(t)), e = Zm.bind(e), t.decode().then(e, e));
}
- function Um(e, t, n, r) {
+ function Km(e, t, n, r) {
if (n.type === "stylesheet" && (typeof r.media != "string" || !1 !== matchMedia(r.media).matches) && !(n.state.loading & 4)) {
if (n.instance === null) {
- var i = Dm(r.href), a = t.querySelector(Om(i));
+ var i = Om(r.href), a = t.querySelector(km(i));
if (a) {
- t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = qm.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Ft(a);
+ t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = Xm.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Nt(a);
return;
}
- a = t.ownerDocument || t, r = km(r), (i = fm.get(i)) && Pm(r, i), a = a.createElement("link"), Ft(a);
+ a = t.ownerDocument || t, r = Am(r), (i = hm.get(i)) && Im(r, i), a = a.createElement("link"), Nt(a);
var o = a;
o._p = new Promise(function(e, t) {
o.onload = e, o.onerror = t;
- }), np(a, "link", r), n.instance = a;
+ }), tp(a, "link", r), n.instance = a;
}
- e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = qm.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));
+ e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = Xm.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));
}
}
- var Wm = 0;
- function Gm(e, t) {
- return e.stylesheets && e.count === 0 && Xm(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {
+ var qm = 0;
+ function Jm(e, t) {
+ return e.stylesheets && e.count === 0 && $m(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {
var r = setTimeout(function() {
- if (e.stylesheets && Xm(e, e.stylesheets), e.unsuspend) {
+ if (e.stylesheets && $m(e, e.stylesheets), e.unsuspend) {
var t = e.unsuspend;
e.unsuspend = null, t();
}
}, 6e4 + t);
- 0 < e.imgBytes && Wm === 0 && (Wm = 62500 * ap());
+ 0 < e.imgBytes && qm === 0 && (qm = 62500 * ip());
var i = setTimeout(function() {
- if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && Xm(e, e.stylesheets), e.unsuspend)) {
+ if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && $m(e, e.stylesheets), e.unsuspend)) {
var t = e.unsuspend;
e.unsuspend = null, t();
}
- }, (e.imgBytes > Wm ? 50 : 800) + t);
+ }, (e.imgBytes > qm ? 50 : 800) + t);
return e.unsuspend = n, function() {
e.unsuspend = null, clearTimeout(r), clearTimeout(i);
};
} : null;
}
- function Km(e) {
+ function Ym(e) {
if (e.count === 0 && (e.imgCount === 0 || !e.waitingForImages)) {
- if (e.stylesheets) Xm(e, e.stylesheets);
+ if (e.stylesheets) $m(e, e.stylesheets);
else if (e.unsuspend) {
var t = e.unsuspend;
e.unsuspend = null, t();
}
}
}
- function qm() {
- this.count--, Km(this);
+ function Xm() {
+ this.count--, Ym(this);
}
- function Jm() {
- this.imgCount--, Km(this);
+ function Zm() {
+ this.imgCount--, Ym(this);
}
- var Ym = null;
- function Xm(e, t) {
- e.stylesheets = null, e.unsuspend !== null && (e.count++, Ym = /* @__PURE__ */ new Map(), t.forEach(Zm, e), Ym = null, qm.call(e));
+ var Qm = null;
+ function $m(e, t) {
+ e.stylesheets = null, e.unsuspend !== null && (e.count++, Qm = /* @__PURE__ */ new Map(), t.forEach(eh, e), Qm = null, Xm.call(e));
}
- function Zm(e, t) {
+ function eh(e, t) {
if (!(t.state.loading & 4)) {
- var n = Ym.get(e);
+ var n = Qm.get(e);
if (n) var r = n.get(null);
else {
- n = /* @__PURE__ */ new Map(), Ym.set(e, n);
+ n = /* @__PURE__ */ new Map(), Qm.set(e, n);
for (var i = e.querySelectorAll("link[data-precedence],style[data-precedence]"), a = 0; a < i.length; a++) {
var o = i[a];
(o.nodeName === "LINK" || o.getAttribute("media") !== "not all") && (n.set(o.dataset.precedence, o), r = o);
}
r && n.set(null, r);
}
- i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = qm.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;
+ i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = Xm.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;
}
}
- var Qm = {
+ var th = {
$$typeof: ee,
Provider: null,
Consumer: null,
@@ -8615,104 +8615,104 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
_currentValue2: _e,
_threadCount: 0
};
- function $m(e, t, n, r, i, a, o, s, c) {
- this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = pt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = pt(0), this.hiddenUpdates = pt(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();
+ function nh(e, t, n, r, i, a, o, s, c) {
+ this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = dt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = dt(0), this.hiddenUpdates = dt(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();
}
- function eh(e, t, n, r, i, a, o, s, c, l, u, d) {
- return e = new $m(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Ti(3, null, null, t), e.current = a, a.stateNode = e, t = Ea(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {
+ function rh(e, t, n, r, i, a, o, s, c, l, u, d) {
+ return e = new nh(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Ti(3, null, null, t), e.current = a, a.stateNode = e, t = Ta(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {
element: r,
isDehydrated: n,
cache: t
- }, co(a), e;
+ }, so(a), e;
}
- function th(e) {
+ function ih(e) {
return e ? (e = Ci, e) : Ci;
}
- function nh(e, t, n, r, i, a) {
- i = th(i), r.context === null ? r.context = i : r.pendingContext = i, r = uo(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = fo(e, r, t), n !== null && (Pd(n, e, t), po(n, e, t));
+ function ah(e, t, n, r, i, a) {
+ i = ih(i), r.context === null ? r.context = i : r.pendingContext = i, r = lo(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = uo(e, r, t), n !== null && (Nd(n, e, t), fo(n, e, t));
}
- function rh(e, t) {
+ function oh(e, t) {
if (e = e.memoizedState, e !== null && e.dehydrated !== null) {
var n = e.retryLane;
e.retryLane = n !== 0 && n < t ? n : t;
}
}
- function ih(e, t) {
- rh(e, t), (e = e.alternate) && rh(e, t);
+ function sh(e, t) {
+ oh(e, t), (e = e.alternate) && oh(e, t);
}
- function ah(e) {
+ function ch(e) {
if (e.tag === 13 || e.tag === 31) {
var t = bi(e, 67108864);
- t !== null && Pd(t, e, 67108864), ih(e, 67108864);
+ t !== null && Nd(t, e, 67108864), sh(e, 67108864);
}
}
- function oh(e) {
+ function lh(e) {
if (e.tag === 13 || e.tag === 31) {
- var t = jd();
+ var t = Ad();
t = L(t);
var n = bi(e, t);
- n !== null && Pd(n, e, t), ih(e, t);
+ n !== null && Nd(n, e, t), sh(e, t);
}
}
- var sh = !0;
- function ch(e, t, n, r) {
+ var uh = !0;
+ function dh(e, t, n, r) {
var i = he.T;
he.T = null;
var a = ge.p;
try {
- ge.p = 2, uh(e, t, n, r);
+ ge.p = 2, ph(e, t, n, r);
} finally {
ge.p = a, he.T = i;
}
}
- function lh(e, t, n, r) {
+ function fh(e, t, n, r) {
var i = he.T;
he.T = null;
var a = ge.p;
try {
- ge.p = 8, uh(e, t, n, r);
+ ge.p = 8, ph(e, t, n, r);
} finally {
ge.p = a, he.T = i;
}
}
- function uh(e, t, n, r) {
- if (sh) {
- var i = dh(r);
- if (i === null) qf(e, t, r, fh, n), Ch(e, r);
- else if (Th(i, e, t, n, r)) r.stopPropagation();
- else if (Ch(e, r), t & 4 && -1 < Sh.indexOf(e)) {
+ function ph(e, t, n, r) {
+ if (uh) {
+ var i = mh(r);
+ if (i === null) Gf(e, t, r, hh, n), Eh(e, r);
+ else if (Oh(i, e, t, n, r)) r.stopPropagation();
+ else if (Eh(e, r), t & 4 && -1 < Th.indexOf(e)) {
for (; i !== null;) {
- var a = Mt(i);
+ var a = At(i);
if (a !== null) switch (a.tag) {
case 3:
if (a = a.stateNode, a.current.memoizedState.isDehydrated) {
- var o = st(a.pendingLanes);
+ var o = at(a.pendingLanes);
if (o !== 0) {
var s = a;
for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {
var c = 1 << 31 - et(o);
s.entanglements[1] |= c, o &= ~c;
}
- Ef(a), !(Yu & 6) && (gd = Ue() + 500, Df(0, !1));
+ Ef(a), !(Ju & 6) && (hd = Ue() + 500, Df(0, !1));
}
}
break;
case 31:
- case 13: s = bi(a, 2), s !== null && Pd(s, a, 2), zd(), ih(a, 2);
+ case 13: s = bi(a, 2), s !== null && Nd(s, a, 2), Rd(), sh(a, 2);
}
- if (a = dh(r), a === null && qf(e, t, r, fh, n), a === i) break;
+ if (a = mh(r), a === null && Gf(e, t, r, hh, n), a === i) break;
i = a;
}
i !== null && r.stopPropagation();
- } else qf(e, t, r, null, n);
+ } else Gf(e, t, r, null, n);
}
}
- function dh(e) {
- return e = hn(e), ph(e);
+ function mh(e) {
+ return e = hn(e), gh(e);
}
- var fh = null;
- function ph(e) {
- if (fh = null, e = jt(e), e !== null) {
+ var hh = null;
+ function gh(e) {
+ if (hh = null, e = kt(e), e !== null) {
var t = o(e);
if (t === null) e = null;
else {
@@ -8729,9 +8729,9 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
} else t !== e && (e = null);
}
}
- return fh = e, null;
+ return hh = e, null;
}
- function mh(e) {
+ function _h(e) {
switch (e) {
case "beforetoggle":
case "cancel":
@@ -8809,73 +8809,73 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
case Ge: return 2;
case Ke: return 8;
case qe:
- case eee: return 32;
- case Je: return 268435456;
+ case Je: return 32;
+ case Ye: return 268435456;
default: return 32;
}
default: return 32;
}
}
- var hh = !1, gh = null, _h = null, vh = null, yh = /* @__PURE__ */ new Map(), bh = /* @__PURE__ */ new Map(), xh = [], Sh = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");
- function Ch(e, t) {
+ var vh = !1, yh = null, bh = null, xh = null, Sh = /* @__PURE__ */ new Map(), Ch = /* @__PURE__ */ new Map(), wh = [], Th = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");
+ function Eh(e, t) {
switch (e) {
case "focusin":
case "focusout":
- gh = null;
+ yh = null;
break;
case "dragenter":
case "dragleave":
- _h = null;
+ bh = null;
break;
case "mouseover":
case "mouseout":
- vh = null;
+ xh = null;
break;
case "pointerover":
case "pointerout":
- yh.delete(t.pointerId);
+ Sh.delete(t.pointerId);
break;
case "gotpointercapture":
- case "lostpointercapture": bh.delete(t.pointerId);
+ case "lostpointercapture": Ch.delete(t.pointerId);
}
}
- function wh(e, t, n, r, i, a) {
+ function Dh(e, t, n, r, i, a) {
return e === null || e.nativeEvent !== a ? (e = {
blockedOn: t,
domEventName: n,
eventSystemFlags: r,
nativeEvent: a,
targetContainers: [i]
- }, t !== null && (t = Mt(t), t !== null && ah(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);
+ }, t !== null && (t = At(t), t !== null && ch(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);
}
- function Th(e, t, n, r, i) {
+ function Oh(e, t, n, r, i) {
switch (t) {
- case "focusin": return gh = wh(gh, e, t, n, r, i), !0;
- case "dragenter": return _h = wh(_h, e, t, n, r, i), !0;
- case "mouseover": return vh = wh(vh, e, t, n, r, i), !0;
+ case "focusin": return yh = Dh(yh, e, t, n, r, i), !0;
+ case "dragenter": return bh = Dh(bh, e, t, n, r, i), !0;
+ case "mouseover": return xh = Dh(xh, e, t, n, r, i), !0;
case "pointerover":
var a = i.pointerId;
- return yh.set(a, wh(yh.get(a) || null, e, t, n, r, i)), !0;
- case "gotpointercapture": return a = i.pointerId, bh.set(a, wh(bh.get(a) || null, e, t, n, r, i)), !0;
+ return Sh.set(a, Dh(Sh.get(a) || null, e, t, n, r, i)), !0;
+ case "gotpointercapture": return a = i.pointerId, Ch.set(a, Dh(Ch.get(a) || null, e, t, n, r, i)), !0;
}
return !1;
}
- function Eh(e) {
- var t = jt(e.target);
+ function kh(e) {
+ var t = kt(e.target);
if (t !== null) {
var n = o(t);
if (n !== null) {
if (t = n.tag, t === 13) {
if (t = s(n), t !== null) {
- e.blockedOn = t, bt(e.priority, function() {
- oh(n);
+ e.blockedOn = t, vt(e.priority, function() {
+ lh(n);
});
return;
}
} else if (t === 31) {
if (t = c(n), t !== null) {
- e.blockedOn = t, bt(e.priority, function() {
- oh(n);
+ e.blockedOn = t, vt(e.priority, function() {
+ lh(n);
});
return;
}
@@ -8887,39 +8887,39 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
e.blockedOn = null;
}
- function Dh(e) {
+ function Ah(e) {
if (e.blockedOn !== null) return !1;
for (var t = e.targetContainers; 0 < t.length;) {
- var n = dh(e.nativeEvent);
+ var n = mh(e.nativeEvent);
if (n === null) {
n = e.nativeEvent;
var r = new n.constructor(n.type, n);
mn = r, n.target.dispatchEvent(r), mn = null;
- } else return t = Mt(n), t !== null && ah(t), e.blockedOn = n, !1;
+ } else return t = At(n), t !== null && ch(t), e.blockedOn = n, !1;
t.shift();
}
return !0;
}
- function Oh(e, t, n) {
- Dh(e) && n.delete(t);
+ function jh(e, t, n) {
+ Ah(e) && n.delete(t);
}
- function kh() {
- hh = !1, gh !== null && Dh(gh) && (gh = null), _h !== null && Dh(_h) && (_h = null), vh !== null && Dh(vh) && (vh = null), yh.forEach(Oh), bh.forEach(Oh);
+ function Mh() {
+ vh = !1, yh !== null && Ah(yh) && (yh = null), bh !== null && Ah(bh) && (bh = null), xh !== null && Ah(xh) && (xh = null), Sh.forEach(jh), Ch.forEach(jh);
}
- function Ah(e, n) {
- e.blockedOn === n && (e.blockedOn = null, hh || (hh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, kh)));
+ function Nh(e, n) {
+ e.blockedOn === n && (e.blockedOn = null, vh || (vh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Mh)));
}
- var jh = null;
- function Mh(e) {
- jh !== e && (jh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {
- jh === e && (jh = null);
+ var Ph = null;
+ function Fh(e) {
+ Ph !== e && (Ph = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {
+ Ph === e && (Ph = null);
for (var t = 0; t < e.length; t += 3) {
var n = e[t], r = e[t + 1], i = e[t + 2];
if (typeof r != "function") {
- if (ph(r || n) === null) continue;
+ if (gh(r || n) === null) continue;
break;
}
- var a = Mt(n);
+ var a = At(n);
a !== null && (e.splice(t, 3), t -= 3, Xs(a, {
pending: !0,
data: i,
@@ -8929,30 +8929,30 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
}
}));
}
- function Nh(e) {
+ function Ih(e) {
function t(t) {
- return Ah(t, e);
+ return Nh(t, e);
}
- gh !== null && Ah(gh, e), _h !== null && Ah(_h, e), vh !== null && Ah(vh, e), yh.forEach(t), bh.forEach(t);
- for (var n = 0; n < xh.length; n++) {
- var r = xh[n];
+ yh !== null && Nh(yh, e), bh !== null && Nh(bh, e), xh !== null && Nh(xh, e), Sh.forEach(t), Ch.forEach(t);
+ for (var n = 0; n < wh.length; n++) {
+ var r = wh[n];
r.blockedOn === e && (r.blockedOn = null);
}
- for (; 0 < xh.length && (n = xh[0], n.blockedOn === null);) Eh(n), n.blockedOn === null && xh.shift();
+ for (; 0 < wh.length && (n = wh[0], n.blockedOn === null);) kh(n), n.blockedOn === null && wh.shift();
if (n = (e.ownerDocument || e).$$reactFormReplay, n != null) for (r = 0; r < n.length; r += 3) {
- var i = n[r], a = n[r + 1], o = i[Ct] || null;
- if (typeof a == "function") o || Mh(n);
+ var i = n[r], a = n[r + 1], o = i[xt] || null;
+ if (typeof a == "function") o || Fh(n);
else if (o) {
var s = null;
if (a && a.hasAttribute("formAction")) {
- if (i = a, o = a[Ct] || null) s = o.formAction;
- else if (ph(i) !== null) continue;
+ if (i = a, o = a[xt] || null) s = o.formAction;
+ else if (gh(i) !== null) continue;
} else s = o.action;
- typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Mh(n);
+ typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Fh(n);
}
}
}
- function Ph() {
+ function Lh() {
function e(e) {
e.canIntercept && e.info === "react-transition" && e.intercept({
handler: function() {
@@ -8984,45 +8984,45 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
};
}
}
- function Fh(e) {
+ function Rh(e) {
this._internalRoot = e;
}
- Ih.prototype.render = Fh.prototype.render = function(e) {
+ zh.prototype.render = Rh.prototype.render = function(e) {
var t = this._internalRoot;
if (t === null) throw Error(i(409));
var n = t.current;
- nh(n, jd(), e, t, null, null);
- }, Ih.prototype.unmount = Fh.prototype.unmount = function() {
+ ah(n, Ad(), e, t, null, null);
+ }, zh.prototype.unmount = Rh.prototype.unmount = function() {
var e = this._internalRoot;
if (e !== null) {
this._internalRoot = null;
var t = e.containerInfo;
- nh(e.current, 2, null, e, null, null), zd(), t[wt] = null;
+ ah(e.current, 2, null, e, null, null), Rd(), t[St] = null;
}
};
- function Ih(e) {
+ function zh(e) {
this._internalRoot = e;
}
- Ih.prototype.unstable_scheduleHydration = function(e) {
+ zh.prototype.unstable_scheduleHydration = function(e) {
if (e) {
- var t = yt();
+ var t = _t();
e = {
blockedOn: null,
target: e,
priority: t
};
- for (var n = 0; n < xh.length && t !== 0 && t < xh[n].priority; n++);
- xh.splice(n, 0, e), n === 0 && Eh(e);
+ for (var n = 0; n < wh.length && t !== 0 && t < wh[n].priority; n++);
+ wh.splice(n, 0, e), n === 0 && kh(e);
}
};
- var Lh = n.version;
- if (Lh !== "19.3.0") throw Error(i(527, Lh, "19.3.0"));
+ var Bh = n.version;
+ if (Bh !== "19.3.0") throw Error(i(527, Bh, "19.3.0"));
ge.findDOMNode = function(e) {
var t = e._reactInternals;
if (t === void 0) throw typeof e.render == "function" ? Error(i(188)) : (e = Object.keys(e).join(","), Error(i(268, e)));
return e = u(t), e = e === null ? null : f(e), e = e === null ? null : e.stateNode, e;
};
- var Rh = {
+ var Vh = {
bundleType: 0,
version: "19.3.0",
rendererPackageName: "react-dom",
@@ -9030,15 +9030,15 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
reconcilerVersion: "19.3.0"
};
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
- var zh = __REACT_DEVTOOLS_GLOBAL_HOOK__;
- if (!zh.isDisabled && zh.supportsFiber) try {
- Ze = zh.inject(Rh), Qe = zh;
+ var Hh = __REACT_DEVTOOLS_GLOBAL_HOOK__;
+ if (!Hh.isDisabled && Hh.supportsFiber) try {
+ Ze = Hh.inject(Vh), Qe = Hh;
} catch {}
}
e.createRoot = function(e, t) {
if (!a(e)) throw Error(i(299));
- var n = !1, r = "", o = vc, s = yc, c = bc;
- return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = eh(e, 1, !1, null, null, n, r, null, o, s, c, Ph), e[wt] = t.current, Gf(e), new Fh(t);
+ var n = !1, r = "", o = gc, s = _c, c = vc;
+ return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = rh(e, 1, !1, null, null, n, r, null, o, s, c, Lh), e[St] = t.current, Uf(e), new Rh(t);
};
})), _ = /* @__PURE__ */ o(((e, t) => {
function n() {
@@ -10090,13 +10090,13 @@ var qe = class extends Ve {
isRefetching: a && !u && !f
};
}
-}, eee = class extends je {
+}, Je = class extends je {
#e;
#t;
#n;
#r;
constructor(e) {
- super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || Je(), this.setOptions(e.options), this.scheduleGc();
+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || Ye(), this.setOptions(e.options), this.scheduleGc();
}
setOptions(e) {
this.options = e, this.updateGcTime(this.options.gcTime);
@@ -10258,7 +10258,7 @@ var qe = class extends Ve {
});
}
};
-function Je() {
+function Ye() {
return {
context: void 0,
data: void 0,
@@ -10273,7 +10273,7 @@ function Je() {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
-var Ye = class extends be {
+var eee = class extends be {
#e;
#t;
#n;
@@ -10281,7 +10281,7 @@ var Ye = class extends be {
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
}
build(e, t, n) {
- let r = new eee({
+ let r = new Je({
client: e,
mutationCache: this,
mutationId: ++this.#n,
@@ -10410,7 +10410,7 @@ var Ze = class extends be {
return this.#r = t, this.#n?.removeObserver(this), this.#n = this.#e.getMutationCache().build(this.#e, this.options), this.#n.addObserver(this), this.#n.execute(e);
}
#i() {
- let e = this.#n?.state ?? Je();
+ let e = this.#n?.state ?? Ye();
this.#t = {
...e,
isPending: e.status === "pending",
@@ -10541,7 +10541,7 @@ var Ze = class extends be {
#o;
#s;
constructor(e = {}) {
- this.#e = e.queryCache || new Qe(), this.#t = e.mutationCache || new Ye(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
+ this.#e = e.queryCache || new Qe(), this.#t = e.mutationCache || new eee(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
}
mount() {
this.#a++, this.#a === 1 && (this.#o = xe.subscribe(async (e) => {
@@ -10726,7 +10726,7 @@ var Ze = class extends be {
et.Provider;
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
-function nt() {
+function tee() {
let e = !1;
return {
clearReset: () => {
@@ -10738,34 +10738,34 @@ function nt() {
isReset: () => e
};
}
-var rt = b.createContext(nt()), it = () => b.useContext(rt), at = (e, t, n) => {
+var nee = b.createContext(tee()), nt = () => b.useContext(nee), rt = (e, t, n) => {
let r = n?.state.error && typeof e.throwOnError == "function" ? ge(e.throwOnError, [n.state.error, n]) : e.throwOnError;
(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));
-}, ot = (e) => {
+}, it = (e) => {
b.useEffect(() => {
e.clearReset();
}, [e]);
-}, st = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || ge(n, [e.error, r])), ct = (e) => {
+}, at = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || ge(n, [e.error, r])), ot = (e) => {
if (e.suspense) {
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
}
-}, lt = (e, t) => e?.suspense && t.isPending, ut = (e, t, n) => t.fetchOptimistic(e).catch(() => {
+}, st = (e, t) => e?.suspense && t.isPending, ct = (e, t, n) => t.fetchOptimistic(e).catch(() => {
n.clearReset();
});
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
-function dt(e, t, n) {
- let r = tt(), i = it(), a = C(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, ct(o), at(o, i, s), ot(i);
+function lt(e, t, n) {
+ let r = tt(), i = nt(), a = C(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, ot(o), rt(o, i, s), it(i);
let [l] = b.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;
if (b.useSyncExternalStore(b.useCallback((e) => {
let t = d ? l.subscribe(we.batchCalls(e)) : k;
return l.updateResult(), t;
}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), b.useEffect(() => {
l.setOptions(o);
- }, [o, l]), lt(o, u)) throw ut(o, l, i);
- if (st({
+ }, [o, l]), st(o, u)) throw ct(o, l, i);
+ if (at({
result: u,
errorResetBoundary: i,
throwOnError: o.throwOnError,
@@ -10776,12 +10776,12 @@ function dt(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
-function ft(e, t) {
- return dt(e, Ve, t);
+function ut(e, t) {
+ return lt(e, Ve, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useMutation.js
-function pt(e, t) {
+function dt(e, t) {
let n = C(t), [r] = b.useState(() => new Ze(n, e));
b.useEffect(() => {
r.setOptions(e);
@@ -10798,19 +10798,19 @@ function pt(e, t) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js
-function mt(e, t) {
- return dt(e, qe, t);
+function ft(e, t) {
+ return lt(e, qe, t);
}
//#endregion
//#region src/core/index.ts
-var ht = /* @__PURE__ */ l(h(), 1), gt = _(), I = (e) => document.querySelector(e), _t = {
+var pt = /* @__PURE__ */ l(h(), 1), mt = _(), I = (e) => document.querySelector(e), ht = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
}, L = (e, t = "") => {
- let n = _t[e], r = [n ? "iconwide" : "", t].filter(Boolean).join(" "), i = n ? `0 0 ${(24 * n).toFixed(2)} 24` : "0 0 24 24";
+ let n = ht[e], r = [n ? "iconwide" : "", t].filter(Boolean).join(" "), i = n ? `0 0 ${(24 * n).toFixed(2)} 24` : "0 0 24 24";
return `<svg${r ? ` class="${r}"` : ""} viewBox="${i}" aria-hidden="true"><use href="#i-${e}"/></svg>`;
};
-function vt(e, t = 0) {
+function gt(e, t = 0) {
let n = String(e?.message ?? e ?? ""), r = Number(t || e?.status || n.match(/\b(400|401|403|404|408|409|413|429|500|502|503|504)\b/)?.[1]), i = {
400: "提交内容有误,请检查输入后重试。",
401: "登录已失效,请刷新页面重新登录。",
@@ -10827,7 +10827,7 @@ function vt(e, t = 0) {
};
return /Failed to fetch|fetch failed|NetworkError|Load failed|network request failed|ERR_CONNECTION/i.test(n) ? "无法连接到 Peach 服务,请确认网络连接和托盘服务已启动。" : e?.name === "TimeoutError" || !r && /timed? ?out|timeout/i.test(n) ? "等待服务响应超时,请检查连接后重试。" : /[㐀-鿿]/.test(n) && !/^请求失败[((]/.test(n) ? n : i[r] ? i[r] : "操作未完成,请重试;持续失败时查看托盘日志。";
}
-var yt = async (e, t) => {
+var _t = async (e, t) => {
if (!t?.method || t.method === "GET") {
let t = sessionStorage.getItem("peach.library");
t && /^\/api\/(items|facets)(\?|$)/.test(e) && (e += (e.includes("?") ? "&" : "?") + "library=" + encodeURIComponent(t));
@@ -10841,7 +10841,7 @@ var yt = async (e, t) => {
try {
a = await fetch(e, i);
} catch (e) {
- throw e?.name === "AbortError" ? e : Error(vt(e), { cause: e });
+ throw e?.name === "AbortError" ? e : Error(gt(e), { cause: e });
}
let o = null;
try {
@@ -10849,10 +10849,10 @@ var yt = async (e, t) => {
} catch {}
if (!a.ok) {
let e = o && (o.message || o.detail || o.error);
- throw Error(vt(e, a.status));
+ throw Error(gt(e, a.status));
}
return o;
-}, bt = (e) => e?.name === "AbortError", xt = async (e, t, n) => {
+}, vt = (e) => e?.name === "AbortError", yt = async (e, t, n) => {
let r = [...e], i = Array(r.length), a = 0, o = async () => {
for (; a < r.length;) {
let e = a++;
@@ -10870,35 +10870,35 @@ var yt = async (e, t) => {
}
}, s = Math.min(Math.max(1, t), r.length);
return await Promise.all(Array.from({ length: s }, o)), i;
-}, St = {
+}, bt = {
fresh: "/unseen",
later: "/watch-later",
flagged: "/flagged",
ads: "/junk-files"
-}, Ct = Object.fromEntries(Object.entries(St).map(([e, t]) => [t, e])), wt = {
+}, xt = Object.fromEntries(Object.entries(bt).map(([e, t]) => [t, e])), St = {
fresh: "没看过",
later: "稍后看",
flagged: "已标记",
ads: "垃圾文件"
-}, Tt = (e) => e === "/" || Object.prototype.hasOwnProperty.call(Ct, e), Et = {
+}, Ct = (e) => e === "/" || Object.prototype.hasOwnProperty.call(xt, e), wt = {
performer: "performers",
studio: "studios",
creator: "creators",
series: "series",
agency: "agencies"
-}, Dt = {
+}, Tt = {
performers: "performer",
studios: "studio",
creators: "creator",
series: "series",
agencies: "agency"
-}, Ot = (e, t) => `/${Et[e] || e}/${encodeURIComponent(t)}`, R = (e) => String(e ?? "").replace(/[&<>"']/g, (e) => ({
+}, Et = (e, t) => `/${wt[e] || e}/${encodeURIComponent(t)}`, R = (e) => String(e ?? "").replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
-})[e]), kt = [
+})[e]), Dt = [
["nax-pro.com", "NAX"],
["t-powers.co.jp", "T-POWERS"],
["dmm.co.jp", "DMM"],
@@ -10936,16 +10936,16 @@ var yt = async (e, t) => {
["naturalhigh.co.jp", "Natural High"],
["bangbros.com", "BangBros"],
["dorcelclub.com", "Dorcel"]
-], At = (e) => String(e).replace(/^www\./, "").toLowerCase(), jt = (e) => {
+], Ot = (e) => String(e).replace(/^www\./, "").toLowerCase(), kt = (e) => {
try {
- return At(new URL(e).hostname);
+ return Ot(new URL(e).hostname);
} catch {
return "";
}
-}, Mt = (e) => {
- let t = jt(e);
- return t && kt.find(([e]) => t === e || t.endsWith("." + e))?.[1] || "";
-}, Nt = (e) => `/link-mark?id=${encodeURIComponent(e.link_id ?? "")}`, Pt = (e) => `/site-mark?${new URLSearchParams(e)}`, Ft = [
+}, At = (e) => {
+ let t = kt(e);
+ return t && Dt.find(([e]) => t === e || t.endsWith("." + e))?.[1] || "";
+}, jt = (e) => `/link-mark?id=${encodeURIComponent(e.link_id ?? "")}`, Mt = (e) => `/site-mark?${new URLSearchParams(e)}`, Nt = [
[["x.com", "twitter.com"], "brand-x"],
[["instagram.com"], "brand-instagram"],
[["threads.com", "threads.net"], "brand-threads"],
@@ -10953,66 +10953,66 @@ var yt = async (e, t) => {
[["youtube.com", "youtu.be"], "brand-youtube"],
[["facebook.com", "fb.com"], "brand-facebook"],
[["linktr.ee", "linktree.com"], "brand-linktree"]
-], It = (e) => {
- let t = jt(e);
- return t && Ft.find(([e]) => e.some((e) => t === e || t.endsWith("." + e)))?.[1] || "";
-}, Lt = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase(), Rt = ["web.archive.org"], zt = (e) => Rt.includes(jt(e)), Bt = (e, t, n = []) => {
- let r = Mt(e.url) || e.label || "";
- if (t !== "studio" && t !== "agency" || zt(e.url)) return r;
- let i = [r, e.label].map(Lt).filter(Boolean);
- return !i.length || i.includes("官方网站") || i.some((t) => At(t) === jt(e.url) || n.some((e) => {
- let n = Lt(e);
+], Pt = (e) => {
+ let t = kt(e);
+ return t && Nt.find(([e]) => e.some((e) => t === e || t.endsWith("." + e)))?.[1] || "";
+}, Ft = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase(), It = ["web.archive.org"], Lt = (e) => It.includes(kt(e)), Rt = (e, t, n = []) => {
+ let r = At(e.url) || e.label || "";
+ if (t !== "studio" && t !== "agency" || Lt(e.url)) return r;
+ let i = [r, e.label].map(Ft).filter(Boolean);
+ return !i.length || i.includes("官方网站") || i.some((t) => Ot(t) === kt(e.url) || n.some((e) => {
+ let n = Ft(e);
return !!n && (n.includes(t) || t.includes(n));
})) ? "官方网站" : r;
-}, Vt = (e) => {
+}, zt = (e) => {
let t = Number(e);
return Number.isFinite(t) && t > 0 ? t : 0;
-}, Ht = (e) => {
- if (e = Vt(e), !e) return "—";
+}, Bt = (e) => {
+ if (e = zt(e), !e) return "—";
if (e = Math.round(e), e >= 172800) {
let t = Math.floor(e / 86400), n = Math.floor(e % 86400 / 3600);
return n ? `${t} 天 ${n} 小时` : `${t} 天`;
}
let t = Math.floor(e / 3600), n = Math.floor(e % 3600 / 60), r = e % 60;
return t ? `${t}:${String(n).padStart(2, "0")}:${String(r).padStart(2, "0")}` : `${n}:${String(r).padStart(2, "0")}`;
-}, Ut = (e) => {
+}, Vt = (e) => {
e = Math.max(0, Math.floor(Number(e) || 0));
let t = e / 3600 | 0, n = e % 3600 / 60 | 0, r = e % 60;
return t ? `${t}:${String(n).padStart(2, "0")}:${String(r).padStart(2, "0")}` : `${n}:${String(r).padStart(2, "0")}`;
-}, Wt = (e) => {
+}, Ht = (e) => {
if (e == null || e === "") return "大小未知";
let t = Number(e);
return !Number.isFinite(t) || t < 0 ? "大小未知" : t === 0 ? "0 B" : t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : t >= 0x4000000000000 ? (t / 0x4000000000000).toFixed(2) + " PB" : t >= 1099511627776 ? (t / 1099511627776).toFixed(2) + " TB" : t >= 1073741824 ? (t / 1073741824).toFixed(1) + " GB" : Math.floor(t / 1048576) + " MB";
-}, Gt = typeof Intl < "u" && typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, Kt = (e) => Gt ? Array.from(Gt.segment(e), (e) => e.segment) : Array.from(e), qt = (e, t) => {
+}, Ut = typeof Intl < "u" && typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, Wt = (e) => Ut ? Array.from(Ut.segment(e), (e) => e.segment) : Array.from(e), Gt = (e, t) => {
let n = String(e ?? "").trim(), r = [];
if (!n || t <= 0) return "";
- if (!Gt) return Array.from(n).slice(0, t).join("");
- for (let e of Gt.segment(n)) if (r.push(e.segment), r.length >= t) break;
+ if (!Ut) return Array.from(n).slice(0, t).join("");
+ for (let e of Ut.segment(n)) if (r.push(e.segment), r.length >= t) break;
return r.join("");
-}, Jt = (e, t = "?") => qt(e, 1) || t, Yt = (e, t) => {
- let n = Kt(String(e ?? ""));
+}, Kt = (e, t = "?") => Gt(e, 1) || t, qt = (e, t) => {
+ let n = Wt(String(e ?? ""));
return n.length > t ? `${n.slice(0, Math.max(0, t - 1)).join("")}…` : n.join("");
-}, Xt = {
+}, Jt = {
local: "本地",
115: "115",
pikpak: "PikPak",
online: "在线"
-}, Zt = (e, t) => {
+}, Yt = (e, t) => {
let n = 2166136261;
for (let r of `${e}\u0000${t}`) n ^= r.codePointAt(0), n = Math.imul(n, 16777619) >>> 0;
return n;
-}, Qt = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991), $t = /* @__PURE__ */ new Set([
+}, Xt = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991), Zt = /* @__PURE__ */ new Set([
"短片-2分内",
"中片-10分内",
"长片-30分内",
"超长片-30分上"
-]), en = (e) => String(e || "").split(",").filter((e) => e && !$t.has(e)).join(","), tn = class extends Error {
+]), Qt = (e) => String(e || "").split(",").filter((e) => e && !Zt.has(e)).join(","), $t = class extends Error {
status;
body;
constructor(e, t, n = null) {
- super(vt(e, t)), this.name = "ApiError", this.status = t, this.body = n;
+ super(gt(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, nn = (e) => {
+}, en = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -11024,8 +11024,8 @@ var yt = async (e, t) => {
if (typeof n == "string" && n) return n;
}
return "";
-}, z = (e) => vt(e);
-async function B(e, t) {
+}, z = (e) => gt(e);
+async function tn(e, t) {
let n = await fetch(e, {
headers: { Accept: "application/json" },
credentials: "same-origin",
@@ -11034,10 +11034,10 @@ async function B(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new tn(nn(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new $t(en(r) || `请求失败(${n.status})`, n.status);
return r;
}
-async function V(e, t, n = "POST", r) {
+async function B(e, t, n = "POST", r) {
let i = await fetch(e, {
method: n,
...r ? { signal: r } : {},
@@ -11051,12 +11051,12 @@ async function V(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new tn(nn(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new $t(en(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/follow-sort.ts
-var rn = [
+var nn = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -11064,7 +11064,7 @@ var rn = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], an = "checked", on = {
+], rn = "checked", an = {
checked: "desc",
added: "desc",
name: "asc",
@@ -11072,15 +11072,15 @@ var rn = [
source: "asc",
provider: "asc",
status: "asc"
-}, sn = (e) => rn.some(([t]) => t === e);
-function cn(e, t) {
- let n = sn(e) ? e : an;
+}, on = (e) => nn.some(([t]) => t === e);
+function sn(e, t) {
+ let n = on(e) ? e : rn;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : on[n]
+ dir: t === "asc" || t === "desc" ? t : an[n]
};
}
-function ln(e, t, n = 1) {
+function cn(e, t, n = 1) {
let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
if (n * 2 + 5 >= t) return r(1, t);
let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;
@@ -11100,24 +11100,24 @@ function ln(e, t, n = 1) {
t
];
}
-function un(e, t) {
+function ln(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function dn(e, t) {
+function un(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/query/client.ts
-var H = new $e({ defaultOptions: { queries: {
+var V = new $e({ defaultOptions: { queries: {
networkMode: "always",
retry: 0,
refetchOnWindowFocus: !1,
refetchOnMount: !1,
retryOnMount: !1
-} } }), tee = "/api/sources", fn = ["media-sources"], pn = (e) => B(tee, e), mn = (e) => e?.name === "AbortError" || ke(e);
+} } }), dn = "/api/sources", fn = ["media-sources"], pn = (e) => tn(dn, e), mn = (e) => e?.name === "AbortError" || ke(e);
async function hn(e) {
e?.throwIfAborted();
- let t = () => H.fetchQuery({
+ let t = () => V.fetchQuery({
queryKey: fn,
queryFn: () => pn(e)
});
@@ -11149,7 +11149,7 @@ var _n = "/api/follow", vn = "/api/follow/credentials", yn = "/api/follow/check"
20,
50,
100
-], Rn = Object.fromEntries(rn), zn = {
+], Rn = Object.fromEntries(nn), zn = {
author: "name",
source: "source",
provider: "provider",
@@ -11218,7 +11218,7 @@ function nr(e) {
return t.map((e) => n.get(e));
}
function rr(e, t, n, r = []) {
- let i = nr(e), a = n === on[t] ? 1 : -1, o = (e) => $n(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = Xn[t];
+ let i = nr(e), a = n === an[t] ? 1 : -1, o = (e) => $n(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = Xn[t];
if (c) {
for (let e of i) e.sort((e, t) => a * c(e, t));
return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));
@@ -11226,7 +11226,7 @@ function rr(e, t, n, r = []) {
let l = (e) => Math.max(...e.map((e) => Zn(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => Zn(e.created_at)));
return i.sort((e, n) => t === "name" ? a * s(e, n) : t === "sources" ? a * (n.length - e.length) || s(e, n) : t === "added" ? a * (u(n) - u(e)) || s(e, n) : a * (l(n) - l(e)) || s(e, n));
}
-function ir(e, t, n, r = []) {
+function ree(e, t, n, r = []) {
let i = e.flatMap((e) => {
let t = $n(e, r);
return e.map((n) => ({
@@ -11236,13 +11236,13 @@ function ir(e, t, n, r = []) {
}));
}), a = Xn[t];
if (a) {
- let e = n === on[t] ? 1 : -1;
+ let e = n === an[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
-function ar(e, t, n) {
- let r = un(e, t), i = dn(n, r), a = (i - 1) * t;
+function ir(e, t, n) {
+ let r = ln(e, t), i = un(n, r), a = (i - 1) * t;
return {
page: i,
pages: r,
@@ -11251,91 +11251,91 @@ function ar(e, t, n) {
end: Math.min(a + t, e)
};
}
-function or(e, t) {
+function ar(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function sr(e, t) {
+function or(e, t) {
let n = t.filter((t) => e.has(t)).length;
return {
all: t.length > 0 && n === t.length,
some: n > 0 && n < t.length
};
}
-function cr(e, t, n) {
+function sr(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var lr = (e) => B(`${_n}?summary=1`, e), ur = (e) => B(vn, e), dr = (e) => B(yn, e), fr = (e) => B(xn, e), pr = (e, t) => B(`${Sn}?q=${encodeURIComponent(e)}`, t), mr = (e) => V(yn, {
+var cr = (e) => tn(`${_n}?summary=1`, e), lr = (e) => tn(vn, e), ur = (e) => tn(yn, e), dr = (e) => tn(xn, e), fr = (e, t) => tn(`${Sn}?q=${encodeURIComponent(e)}`, t), pr = (e) => B(yn, {
...e?.length ? { sources: e } : {},
background: !0
-}), hr = (e) => V(xn, {
+}), mr = (e) => B(xn, {
lines: e,
background: !0
-}), gr = (e, t) => V(bn, {
+}), hr = (e, t) => B(bn, {
action: "enabled",
id: e,
enabled: t
-}), _r = (e) => V(bn, {
+}), gr = (e) => B(bn, {
action: "remove",
id: e
-}), vr = (e) => V(bn, {
+}), _r = (e) => B(bn, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), yr = (e, t) => V(Cn, {
+}), vr = (e, t) => B(Cn, {
action: "add",
canonical: e,
alias: t
-}), br = (e) => V(Cn, {
+}), yr = (e) => B(Cn, {
action: "remove",
alias: e
-}), xr = (e, t) => V(wn, {
+}), br = (e, t) => B(wn, {
provider: e,
values: t
-}), Sr = (e, t) => V(Tn, {
+}), iee = (e, t) => B(Tn, {
item: e,
to: t
-}), Cr = () => B(`${_n}?status=new&limit=1000`);
-async function wr(e) {
- let t = await B(En, e);
+}), xr = () => tn(`${_n}?status=new&limit=1000`);
+async function Sr(e) {
+ let t = await tn(En, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var Tr = (e, t, n) => V(Dn, {
+var Cr = (e, t, n) => B(Dn, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), Er = (e, t) => V(Dn, {
+}, "POST", n), wr = (e, t) => B(Dn, {
action: "remove",
id: e
-}, "POST", t), Dr = (e, t) => V(On, t?.length ? { sources: t } : { all: !0 }, "POST", e), Or = (e, t) => B(`${kn}?q=${encodeURIComponent(e)}`, t), kr = (e, t, n) => V(Dn, {
+}, "POST", t), Tr = (e, t) => B(On, t?.length ? { sources: t } : { all: !0 }, "POST", e), Er = (e, t) => tn(`${kn}?q=${encodeURIComponent(e)}`, t), Dr = (e, t, n) => B(Dn, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
-async function Ar(e, t = "") {
+async function Or(e, t = "") {
await Promise.all([
- H.fetchQuery({
+ V.fetchQuery({
queryKey: An,
- queryFn: () => lr(e)
+ queryFn: () => cr(e)
}),
- H.fetchQuery({
+ V.fetchQuery({
queryKey: jn,
- queryFn: () => ur(e)
+ queryFn: () => lr(e)
}),
- t === "feeds" ? H.fetchQuery({
+ t === "feeds" ? V.fetchQuery({
queryKey: Pn,
- queryFn: () => wr(e)
+ queryFn: () => Sr(e)
}) : null
]);
}
-function jr(e, t) {
- H.setQueryData(An, (n) => n && {
+function kr(e, t) {
+ V.setQueryData(An, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -11343,24 +11343,24 @@ function jr(e, t) {
} : n)
});
}
-function Mr(e) {
+function Ar(e) {
let t = new Set(e);
- H.setQueryData(An, (e) => e && {
+ V.setQueryData(An, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var Nr = () => H.invalidateQueries({
+var jr = () => V.invalidateQueries({
queryKey: An,
exact: !0
});
-function nee(e) {
+function Mr(e) {
let t = e.results || [], n = (e) => t.reduce((t, n) => t + (e(n) || 0), 0), r = n((e) => e.added), i = n((e) => e.updated), a = n((e) => e.skipped_compilations), o = n((e) => e.skipped) - a, s = n((e) => e.history_skipped), c = n((e) => e.probed), l = t.filter((e) => e.ok && !e.added && !e.updated).length, u = t.filter((e) => !e.ok).length, d = [];
r && d.push(`新增 ${r} 条`), i && d.push(`更新 ${i} 条`), o && d.push(`跳过 ${o} 条无资源`), a && d.push(`排除 ${a} 个超大合集`), s && d.push(`跳过 ${s} 条超出首次采集范围的历史内容`), c && d.push(`回查 ${c} 条`), l && d.push(`${l} 个来源没有更新`), d.length || d.push("没有任何更新");
let f = t.filter((e) => e.exhausted).length;
return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;
}
-var ree = (e) => (e?.results || []).filter((e) => !e.ok), Pr = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", Fr = (e) => e.last_checked_at ? gn(e.last_checked_at) : "未检查", Ir = /* @__PURE__ */ new Set([
+var Nr = (e) => (e?.results || []).filter((e) => !e.ok), Pr = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", Fr = (e) => e.last_checked_at ? gn(e.last_checked_at) : "未检查", Ir = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -11404,22 +11404,22 @@ function Kr(e, t) {
Wr(e, 0),
t
],
- queryFn: ({ pageParam: t, signal: n }) => B(Wr(e, t), n),
+ queryFn: ({ pageParam: t, signal: n }) => tn(Wr(e, t), n),
initialPageParam: 0,
getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 100 : void 0,
placeholderData: de,
gcTime: Gr
};
}
-var qr = ["follow-feed", "credentials"], Jr = (e) => B(vn, e).catch(() => ({ providers: [] }));
+var qr = ["follow-feed", "credentials"], Jr = (e) => tn(vn, e).catch(() => ({ providers: [] }));
async function Yr(e, t) {
let n = Kr(e.view, e.revision);
- H.removeQueries({
+ V.removeQueries({
queryKey: qr,
exact: !0
});
- let r = H.getQueryData(n.queryKey) !== void 0;
- await Promise.all([r ? null : H.fetchInfiniteQuery({
+ let r = V.getQueryData(n.queryKey) !== void 0;
+ await Promise.all([r ? null : V.fetchInfiniteQuery({
queryKey: n.queryKey,
queryFn: ({ pageParam: e }) => n.queryFn({
pageParam: e,
@@ -11428,7 +11428,7 @@ async function Yr(e, t) {
initialPageParam: 0,
getNextPageParam: n.getNextPageParam,
gcTime: Gr
- }), H.fetchQuery({
+ }), V.fetchQuery({
queryKey: qr,
queryFn: () => Jr(t)
})]);
@@ -11443,7 +11443,7 @@ function Xr(e) {
};
}
function Zr(e, t, n) {
- return [...e].sort((e, r) => Zt(n, t(e)) - Zt(n, t(r)) || String(t(e)).localeCompare(String(t(r))));
+ return [...e].sort((e, r) => Yt(n, t(e)) - Yt(n, t(r)) || String(t(e)).localeCompare(String(t(r))));
}
function Qr(e) {
let t = /* @__PURE__ */ new Set();
@@ -11454,7 +11454,7 @@ function Qr(e) {
].filter((e) => !e || t.has(e.id) ? !1 : (t.add(e.id), !0));
}
function $r(e) {
- let t = H.getQueryCache().findAll({ queryKey: ["follow-feed"] }).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt);
+ let t = V.getQueryCache().findAll({ queryKey: ["follow-feed"] }).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt);
for (let n of t) {
let t = n.state.data;
if (!Array.isArray(t?.pages) || !t.pages.length) continue;
@@ -11472,7 +11472,7 @@ function $r(e) {
return null;
}
function ei(e) {
- H.setQueriesData({
+ V.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
}, (t) => t && {
@@ -11492,7 +11492,7 @@ function ei(e) {
});
}
function ti(e, t) {
- H.setQueriesData({
+ V.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
}, (n) => n && pi(n, null, e, t));
@@ -11933,7 +11933,7 @@ function ta({ kind: e = "performer", id: t = null, hasImage: n = !1, version: r
}
function na(e, t, n, r = "performer", i = null, a = "", o = "icon", s = void 0, c = !1) {
let l = s === void 0 ? t && t.avatar_focus || null : s;
- return `<span class="ini">${R(Jt(e))}</span>` + ta({
+ return `<span class="ini">${R(Kt(e))}</span>` + ta({
kind: r,
id: t && t.id,
hasImage: !!(t && t.has_image),
@@ -12163,11 +12163,11 @@ function xa(e, t, n = () => !0) {
//#endregion
//#region src/ui-kit/sounds.ts
var Sa = null, Ca = !1;
-function wa() {
+function aee() {
let e = globalThis.AudioContext || globalThis.webkitAudioContext;
return e ? (Sa ||= new e(), Sa.state === "suspended" && Sa.resume()?.catch?.(() => {}), Sa) : null;
}
-function Ta(e, t, { type: n = "sine", from: r, to: i = r, duration: a, volume: o, attack: s = 0, start: c = 0, filter: l = null }) {
+function wa(e, t, { type: n = "sine", from: r, to: i = r, duration: a, volume: o, attack: s = 0, start: c = 0, filter: l = null }) {
let u = t + c, d = e.createOscillator(), f = e.createGain();
d.type = n, d.frequency.setValueAtTime(r, u), i !== r && d.frequency.exponentialRampToValueAtTime(i, u + a), s ? (f.gain.setValueAtTime(.001, u), f.gain.exponentialRampToValueAtTime(o, u + s)) : f.gain.setValueAtTime(o, u), f.gain.exponentialRampToValueAtTime(.001, u + a);
let p = d;
@@ -12177,7 +12177,7 @@ function Ta(e, t, { type: n = "sine", from: r, to: i = r, duration: a, volume: o
}
p.connect(f), f.connect(e.destination), d.start(u), d.stop(u + a + .01);
}
-function Ea(e, t, { duration: n, volume: r, filter: i, sweepTo: a = null, attack: o = 0 }) {
+function Ta(e, t, { duration: n, volume: r, filter: i, sweepTo: a = null, attack: o = 0 }) {
let s = Math.max(1, Math.round(e.sampleRate * n)), c = e.createBuffer(1, s, e.sampleRate), l = c.getChannelData(0);
for (let e = 0; e < s; e++) l[e] = Math.random() * 2 - 1;
let u = e.createBufferSource();
@@ -12189,8 +12189,8 @@ function Ea(e, t, { duration: n, volume: r, filter: i, sweepTo: a = null, attack
u.disconnect(), d.disconnect(), f.disconnect();
}, u.start(t);
}
-var Da = {
- click: (e, t) => Ea(e, t, {
+var Ea = {
+ click: (e, t) => Ta(e, t, {
duration: .06,
volume: .12,
filter: {
@@ -12198,24 +12198,24 @@ var Da = {
Q: 1
}
}),
- "toggle-on": (e, t) => Ta(e, t, {
+ "toggle-on": (e, t) => wa(e, t, {
from: 550,
to: 650,
duration: .08,
volume: .15
}),
- "toggle-off": (e, t) => Ta(e, t, {
+ "toggle-off": (e, t) => wa(e, t, {
from: 650,
to: 550,
duration: .08,
volume: .15
}),
success: (e, t) => {
- Ta(e, t, {
+ wa(e, t, {
from: 523,
duration: .12,
volume: .18
- }), Ta(e, t, {
+ }), wa(e, t, {
from: 653.75,
duration: .12,
volume: .18,
@@ -12223,12 +12223,12 @@ var Da = {
});
},
warning: (e, t) => {
- Ta(e, t, {
+ wa(e, t, {
type: "triangle",
from: 600,
duration: .08,
volume: .15
- }), Ta(e, t, {
+ }), wa(e, t, {
type: "triangle",
from: 600,
duration: .08,
@@ -12236,7 +12236,7 @@ var Da = {
start: .16
});
},
- error: (e, t) => Ta(e, t, {
+ error: (e, t) => wa(e, t, {
type: "sawtooth",
from: 400,
to: 200,
@@ -12248,7 +12248,7 @@ var Da = {
Q: 1
}
}),
- whoosh: (e, t) => Ea(e, t, {
+ whoosh: (e, t) => Ta(e, t, {
duration: .12,
volume: .08,
attack: .036,
@@ -12258,91 +12258,91 @@ var Da = {
},
sweepTo: 6e3
}),
- pop: (e, t) => Ta(e, t, {
+ pop: (e, t) => wa(e, t, {
from: 1500,
to: 500,
duration: .04,
volume: .15
})
};
-Object.freeze(Object.keys(Da));
-function Oa(e) {
+Object.freeze(Object.keys(Ea));
+function Da(e) {
Ca = e === !0;
}
-function ka(e) {
- let t = Da[e];
+function Oa(e) {
+ let t = Ea[e];
if (!t) throw Error(`没有「${e}」这种界面音效`);
if (!Ca) return !1;
- let n = wa();
+ let n = aee();
return n ? (t(n, n.currentTime), !0) : !1;
}
-var Aa = "button,[role=\"button\"],[role=\"tab\"],[role=\"menuitem\"],[role=\"menuitemradio\"],[role=\"menuitemcheckbox\"],[role=\"option\"],summary,a[href]", ja = "input[type=\"checkbox\"][role=\"switch\"]";
-function Ma(e) {
+var ka = "button,[role=\"button\"],[role=\"tab\"],[role=\"menuitem\"],[role=\"menuitemradio\"],[role=\"menuitemcheckbox\"],[role=\"option\"],summary,a[href]", Aa = "input[type=\"checkbox\"][role=\"switch\"]";
+function ja(e) {
return e.disabled === !0 || e.getAttribute("aria-disabled") === "true";
}
-var Na = /* @__PURE__ */ new WeakSet();
-function Pa(e = document) {
- Na.has(e) || (Na.add(e), e.addEventListener("click", (e) => {
- let t = e.target?.closest?.(Aa);
- t && !Ma(t) && ka("click");
+var Ma = /* @__PURE__ */ new WeakSet();
+function Na(e = document) {
+ Ma.has(e) || (Ma.add(e), e.addEventListener("click", (e) => {
+ let t = e.target?.closest?.(ka);
+ t && !ja(t) && Oa("click");
}, { capture: !0 }), e.addEventListener("change", (e) => {
let t = e.target;
- t?.matches?.(ja) && !Ma(t) && ka(t.checked ? "toggle-on" : "toggle-off");
+ t?.matches?.(Aa) && !ja(t) && Oa(t.checked ? "toggle-on" : "toggle-off");
}, { capture: !0 }));
}
//#endregion
//#region src/ui-kit/anchored-menu.ts
-var Fa = null, Ia = globalThis;
-Ia.__peachMenuCloser || (Ia.__peachMenuCloser = !0, document.addEventListener("click", (e) => {
- if (!Fa) return;
+var Pa = null, Fa = globalThis;
+Fa.__peachMenuCloser || (Fa.__peachMenuCloser = !0, document.addEventListener("click", (e) => {
+ if (!Pa) return;
let t = e.target;
- Fa.menu.contains(t) || Fa.toggle.contains(t) || (!Fa.mount.contains(t) || t instanceof Element && t.closest("a[href],button,input,select,textarea,summary,[role=button],[role=menuitem],[tabindex]")) && Fa.setOpen(!1);
+ Pa.menu.contains(t) || Pa.toggle.contains(t) || (!Pa.mount.contains(t) || t instanceof Element && t.closest("a[href],button,input,select,textarea,summary,[role=button],[role=menuitem],[tabindex]")) && Pa.setOpen(!1);
}, !0));
-function La() {
- Fa && Fa.setOpen(!1);
+function Ia() {
+ Pa && Pa.setOpen(!1);
}
-var Ra = /* @__PURE__ */ new WeakMap();
-function za(e) {
- Ra.delete(e), e.classList.remove("leaving"), e.hidden && ka("whoosh"), e.hidden = !1;
+var La = /* @__PURE__ */ new WeakMap();
+function Ra(e) {
+ La.delete(e), e.classList.remove("leaving"), e.hidden && Oa("whoosh"), e.hidden = !1;
}
-function Ba(e, t) {
- if (e.hidden || Ra.has(e)) return;
+function za(e, t) {
+ if (e.hidden || La.has(e)) return;
let n = () => {
- Ra.get(e) === n && (Ra.delete(e), e.classList.remove("leaving"), e.hidden = !0, t && t());
+ La.get(e) === n && (La.delete(e), e.classList.remove("leaving"), e.hidden = !0, t && t());
};
- Ra.set(e, n), e.classList.add("leaving"), getComputedStyle(e).animationName === "none" ? n() : (e.addEventListener("animationend", (t) => {
+ La.set(e, n), e.classList.add("leaving"), getComputedStyle(e).animationName === "none" ? n() : (e.addEventListener("animationend", (t) => {
t.target === e && n();
}, { once: !0 }), setTimeout(n, 240));
}
-var Va = () => 8 + (parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 0);
-function Ha(e, t) {
+var Ba = () => 8 + (parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 0);
+function Va(e, t) {
return e.target instanceof Node && e.target.contains(t);
}
-function Ua(e, t, n, { side: r = !1, align: i = "end" } = {}) {
+function Ha(e, t, n, { side: r = !1, align: i = "end" } = {}) {
let a = () => {
let e = t.getBoundingClientRect(), a = n.offsetWidth;
if (r && innerWidth >= 640) {
n.dataset.placement = "right", n.style.maxHeight = Math.max(0, innerHeight - 32) + "px", n.style.left = Math.max(16, Math.min(e.right + 8, innerWidth - a - 16)) + "px", n.style.top = Math.max(16, Math.min(e.top, innerHeight - n.offsetHeight - 16)) + "px";
return;
}
- let o = Va(), s = innerHeight - 8 - e.bottom - 8, c = e.top - 8 - o, l = n.scrollHeight + n.offsetHeight - n.clientHeight, u = s >= l || s >= c, d = Math.min(l, Math.max(u ? s : c, 0));
+ let o = Ba(), s = innerHeight - 8 - e.bottom - 8, c = e.top - 8 - o, l = n.scrollHeight + n.offsetHeight - n.clientHeight, u = s >= l || s >= c, d = Math.min(l, Math.max(u ? s : c, 0));
n.dataset.placement = u ? "bottom" : "top", n.style.maxHeight = d + "px";
let f = i === "start" || n.classList.contains("context-card") ? e.left : e.right - a;
n.style.left = Math.max(8, Math.min(f, innerWidth - a - 8)) + "px", n.style.top = (u ? e.bottom + 8 : e.top - 8 - d) + "px";
}, o = (e) => {
- Ha(e, t) && u(!1);
+ Va(e, t) && u(!1);
}, s = n.hasAttribute("popover"), c = !1, l = !1, u = (r) => {
- l || (r ? (Fa && Fa.mount !== e && Fa.setOpen(!1), c = !0, za(n), s && !n.matches(":popover-open") && n.showPopover(), a(), window.addEventListener("resize", a), window.addEventListener("scroll", o, {
+ l || (r ? (Pa && Pa.mount !== e && Pa.setOpen(!1), c = !0, Ra(n), s && !n.matches(":popover-open") && n.showPopover(), a(), window.addEventListener("resize", a), window.addEventListener("scroll", o, {
capture: !0,
passive: !0
- })) : (c = !1, window.removeEventListener("resize", a), window.removeEventListener("scroll", o, !0), Ba(n, () => {
+ })) : (c = !1, window.removeEventListener("resize", a), window.removeEventListener("scroll", o, !0), za(n, () => {
n.style.left = "", n.style.top = "", n.style.maxHeight = "", s && n.matches(":popover-open") && n.hidePopover();
- })), t.setAttribute("aria-expanded", String(r)), Fa = r ? {
+ })), t.setAttribute("aria-expanded", String(r)), Pa = r ? {
mount: e,
menu: n,
toggle: t,
setOpen: u
- } : Fa && Fa.mount === e ? null : Fa);
+ } : Pa && Pa.mount === e ? null : Pa);
}, d = (e) => {
e.stopPropagation(), u(!c);
}, f = (e) => {
@@ -12352,17 +12352,17 @@ function Ua(e, t, n, { side: r = !1, align: i = "end" } = {}) {
setOpen: u,
isOpen: () => c,
dispose: () => {
- l || (l = !0, c = !1, t.removeEventListener("click", d), e.removeEventListener("keydown", f), window.removeEventListener("resize", a), window.removeEventListener("scroll", o, !0), Fa?.menu === n && (Fa = null), Ra.delete(n), n.classList.remove("leaving"), n.hidden = !0, s && n.matches(":popover-open") && n.hidePopover(), n.style.left = "", n.style.top = "", n.style.maxHeight = "", t.setAttribute("aria-expanded", "false"));
+ l || (l = !0, c = !1, t.removeEventListener("click", d), e.removeEventListener("keydown", f), window.removeEventListener("resize", a), window.removeEventListener("scroll", o, !0), Pa?.menu === n && (Pa = null), La.delete(n), n.classList.remove("leaving"), n.hidden = !0, s && n.matches(":popover-open") && n.hidePopover(), n.style.left = "", n.style.top = "", n.style.maxHeight = "", t.setAttribute("aria-expanded", "false"));
}
};
}
//#endregion
//#region src/ui-kit/select-field.ts
-function Wa(e) {
+function Ua(e) {
return e ? e.startsWith("data:image/png;base64,") ? `<img class="gselectmark" src="${R(e)}" alt="" width="16" height="16">` : L(e, "gselectmark") : "";
}
-function Ga(e, t, { label: n = "", attr: r = "", className: i = "" } = {}) {
- let a = e.find(([e]) => String(e) === String(t)) || e[0] || ["", ""], o = ([, e, t]) => `${Wa(t)}${R(e)}`, s = e.map(([e, t, n]) => `<button type="button" role="option" data-select-option="${R(e)}"
+function Wa(e, t, { label: n = "", attr: r = "", className: i = "" } = {}) {
+ let a = e.find(([e]) => String(e) === String(t)) || e[0] || ["", ""], o = ([, e, t]) => `${Ua(t)}${R(e)}`, s = e.map(([e, t, n]) => `<button type="button" role="option" data-select-option="${R(e)}"
aria-selected="${String(e) === String(a[0])}" tabindex="-1"><span data-select-content>${o([
e,
t,
@@ -12373,13 +12373,13 @@ function Ga(e, t, { label: n = "", attr: r = "", className: i = "" } = {}) {
aria-expanded="false" aria-label="${R(n)}"><span data-select-label>${o(a)}</span>${L("chevron-down")}</button>
<div class="popmenu gselectmenu" role="listbox" aria-label="${R(n)}" popover="manual" data-select-menu hidden>${s}</div></div>`;
}
-function Ka(e) {
+function Ga(e) {
let t = e.querySelector("[data-select-trigger]"), n = e.querySelector("[data-select-menu]"), r = e.querySelector("[data-select-label]"), i = () => [...n.querySelectorAll("[data-select-option]")], a = () => n.querySelector("[aria-selected=\"true\"]");
t.addEventListener("click", () => {
let r = `${t.getBoundingClientRect().width}px`;
n.style.minWidth = r, e.hasAttribute("data-fixed-width") && (n.style.width = r);
});
- let o = Ua(e, t, n);
+ let o = Ha(e, t, n);
t.addEventListener("click", () => {
o.isOpen() && a()?.focus();
});
@@ -12413,79 +12413,64 @@ function Ka(e) {
}
//#endregion
//#region src/ui-kit/media-source-icons.ts
-var qa = {
+var Ka = {
local: "hard-drive",
115: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAHB0lEQVR4nO2bbUwURxjH/zN38qIcb4JWoIoHFYumWhDbRquNiSlYC4ZGjVYrotHWD1VTLdY00X7zbA22Na21KWqsUMHYSiygJjaRQDW+VK2YioBarVZBQA9QDm6nedajCuxxHrfH7dX+kiXcvszM8+zO7DPP/JfBzcQmfx4O1jpJEmKUgBTHwUYIIAyAwbYRZtoYUCdBVDLwi5yxCgjfo1Uly2vd2T7mjkJj3vgsUVitcwWkqQxstAv1CAFxnoEfZjpdbvXPq05p1gFxqSZDexuWCIhMCMTDHTBcYGA5+n7YdrEwy6xOkS4yJi07uMliWSGEeB9ACPqGBsbYFwE+PpvP7l/Z6BEHCCFYzDRTBgATBMLhCRhofMiqLsrawRgTvSuiFxinbxjK2pErgAnQAAwoE3rMrTmw5s9eXOscxpSNE5iQ9glgEDQEA24LxtNrij8sc+Y67szJscmmTAjpiNaMJ+Q2CemI3Ea1n4CZM/N1p5pqPoXASngDDNmJAcbVBQWzrI5PfRLjzTX7AKTCuyhMNBjTHTmBOypFvvPeZzyRamt775+A2GRTpgTxHbwYDraoqiQrx2kHGFM2TqBBBYAPvBsLGJ9i7+3AenjPn9DiaN/rV6QeSUpxgl4pwotNMeWqbXw/PceYuAiEBvk7dZ2/Xz8MCQvE2JERGB4ZgteXOt8jyRY5cBPi1a4Ro77rybbwVtUIzzDAF7mmOYiPGexSOZt2Hu31tRS12mzbbvctMCYtO1iO7VVmUXqSy8bX323Bjp9OutoUk81GZQc0WSwr1J7YBAb4IiNtnMvlbCs4jpYHba4VIhAu26jkgLhUk8E2pVWVRenj5S7QWyxtVhQcOoecH0+o0h6ykWztNga0t2GJ2vP5oAA/ZKQldtv/1Q+/Yv8vFWg0P3BYhrm5Fa2WdjWbFWKzdVMnB8iZHJVZ/NZ4BPTvfPfzis64NJipgc1W2QG8I4endhor2OCHd1ITOu27/6AN2btK4XEE4mWbYXMAJTD74u5/f+A07jS2QAt02MzlH5Cmqn/3u/d9vV6HyeOM8nFP02Ezo7y9hPu31MwQr86YjHdnv9zjOTXX7+D4uWsoKv0D5WeuwgMIDv/Belq0gFDP+JBAf8zv0veVMEYNlLc508bir1t3sffw78g/eA5/16mS7X4SGNnOacVG7b4/wN+5CWTk4CAsnzcRh79djPlvOnaeWkhCjOK0XKVmoXWNzdhTchalpy7Ld9YZ+vv5YP2yqfK8YfDAALgbASmOxSRvoGmv67GqHcJCBuDFkRHybC5pdBQSno8EY457XPW1O5i9ajca7t13V9Oo359kxuQNlwFEo494JsyAGVNGYeGMcbJzeuLcxZt4e02e63MA+1yh1+C/cXFfQIPc1vxjmJSxFZt3lcJqleye+0LcEKyYP9GdzTH0uQM6oPj+y9xyzM3Kw83ae3bPmzc9ARGDAt3qAI9ysuI6Zn2wG7X1TYrHfX30WDb7FbfVz23iBI9yo/YeFq/bK88VlJicZHRX1WZNOIA4X3ULuw6cVjwWER6I6Ai3rLybOclSoBFy9p2wO/ePHTpQ9foYUMdJkwONUNvQjIuXlSVBOp36w5UEUclJkAQNcdPOXIDTs6oyjMRYshpLQ1gl5big5nq96nVxxio4SdEeps21QVx0uGJesPKK6mo5QbZz0uGRFA0agMLk4ZGh3faX/XaF9HKqQjZXlSyvlUcW0uFBA9BUWKmvUxZZbTps5vIPnS4XHoZecwsU0mgHyypRUU0JK3XpsJnTH1mByXABHoKySFvWzpAXQrtOiT/aXKx+hQwXOlSn/NE+ZldE4E6GDQlGwaZ5eG4YyYcfcbu+CRkf5+Nuk+PFE2d53Fbe8Q/JT0mBiT6CJjlLZ76Eoq8zMTyq88B36WodFqzdgxu37c8SXaDBZqtMpxEnJsW0XgixDm6CNAKUGaLU+OzkMQgN6t/peLtVwjf5x7Alr1xeE3QHjLFPqouz1ivqAwJ8fDabLa3LXF0hHjEsDBMSoqHjHH4+egwM7g9jVCgS46O69XOC0l6Hyiuxs/CU3VBYFRhqycbOu7pgTNmwEAI5aiyMvjbeiEkJRhifDUXkoCB5qbyt3YrmFguu3mxE5dVaHCq7hPIzV2CV+iAWY8isKV6zvUcHiIcSmVKt6IDV1BNXFWd1k8jwbicyJkh4TMIi/EewiaTmKinKudIFpKYi4bEsMfN+LLKI2o6SnNu7inR1HOw9eDlkQ08Kct7TxbLCkiEb3gpDdk8qUcJhmoVU1yQ8hvdRaGs7XHJAQcEsK6muvepJILn8EyjFCafyTDbx9Nca1g9bqM87euwfhzlbw1P9yQxBFZDwmAILaATbR1NJzhpP/P/ZHFzkqf1wsitP7aezSjyVH0/DDlr/fP4fOwTeE5lpP+gAAAAASUVORK5CYII=",
pikpak: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACY0lEQVR4nNWXy2tTQRSHv7m5RUWttqlNW1OairhKNbrU+lhE/AOkdCOIIO7arty0QhSxCIIQ7VJwIfgfCIJdFB+rgC32AVIflD5CbFUsoohJRiZzb5Ne05p4kxv94HCTc+bO+c0MM3eOoICD/TJswAAQBdoBH5UhA8wDo1mIv7ojpuyAsH9EBuQgkmuASXVJI4lN3BXDawIifXIQwQ28RDA0ERfDwpr2cQ9G7iSdhcOGteZeJ1eYKreB5DS1I2oiCJba2hDQVA9tjdDaCHMfICuhMwDJz5D8BMtftK9E2s2NttrJMOxvzSdT1rIb6goW69KIXsjr5/K+nxlIWWKWrOebJIxNFhXgK7r20QjcPL+59PllGH8LarDvU3oWFHU+CDZpK+TKA3j88vd+zGKd93av/y8lrKxao7Ls6bROrrj6EE6E9WzZppZKrJ0y0Hu8RAGhZuhohqk5nShp2Y/0+nZqxPaoFQsr2my2mNDSkBe01w/7AvAu9QcB/nrYs0vboU4qSsNOwCHAoMYY/5WAsckNt1NJ8WKY5TS+fF8/E7f/Lu5aQDrjLu5agOlzF3ct4NYFd3HXAk51uYv/k9vQLPeFr9/h4gh0dcCBNu17vaiP7nt9sGNblQVs3wo9x+DZNCRm9aUyFICebh0rF9PpWP22+QvqC3f2qLZyKda34XTMLsGLGSrO8xndtxMR6ZfqQ+tz7uczRyDor0zyxY/6LlDkoMqYVsUSKvSqho8SVB/JglqCUWqF4ImharVcueQ96j4bN3KFoiDmeXpJTOXO7QJVoyEZ8mgm0rm6sLA4talFef4LaurBZfZxNPMAAAAASUVORK5CYII="
-}, Ja = /* @__PURE__ */ new Set([
+}, qa = /* @__PURE__ */ new Set([
"secondary",
"warning",
"error",
"success"
]);
-function Ya({ readout: e = "", controls: t = "", before: n = "", className: r = "", loading: i = !1, filterRow: a = "" } = {}) {
+function Ja({ readout: e = "", controls: t = "", before: n = "", className: r = "", loading: i = !1, filterRow: a = "" } = {}) {
return `<div class="entitycollectionhead${r ? " " + R(r) : ""}"${a ? ` data-filter-row="${R(a)}"` : ""}>${n}<h3${i ? " class=\"skeleton\"" : ""}>${e}</h3>${t}</div>`;
}
-function Xa({ label: e = "", items: t = [], footnote: n = "" } = {}) {
+function Ya({ label: e = "", items: t = [], footnote: n = "" } = {}) {
return `<details class="geist-note-details"><summary>${R(e)}</summary>
<ul>${t.map((e) => `<li>${e.href ? `<a href="${R(e.href)}">${R(e.label || "")}</a>` : `<b>${R(e.label || "")}</b>`}<span>${R(e.note || "")}</span>${e.hint ? `<code>${R(e.hint)}</code>` : ""}</li>`).join("")}</ul>${n ? `<p>${R(n)}</p>` : ""}</details>`;
}
-function Za(e, { variant: t = "secondary", label: n = "", className: r = "", size: i = "medium", filled: a = !1, actionLabel: o = "", actionHref: s = "", details: c = null } = {}) {
- let l = Ja.has(t) ? t : "secondary", u = l === "secondary" ? "info" : l === "success" ? "check" : "alert", d = l === "error" ? " role=\"alert\"" : " role=\"note\"", f = o ? s ? `<a class="geist-button" href="${R(s)}" data-note-action>${R(o)}</a>` : `<button type="button" class="geist-button primary" data-note-action>${R(o)}</button>` : "";
+function Xa(e, { variant: t = "secondary", label: n = "", className: r = "", size: i = "medium", filled: a = !1, actionLabel: o = "", actionHref: s = "", details: c = null } = {}) {
+ let l = qa.has(t) ? t : "secondary", u = l === "secondary" ? "info" : l === "success" ? "check" : "alert", d = l === "error" ? " role=\"alert\"" : " role=\"note\"", f = o ? s ? `<a class="geist-button" href="${R(s)}" data-note-action>${R(o)}</a>` : `<button type="button" class="geist-button primary" data-note-action>${R(o)}</button>` : "";
return `<div class="geist-note geist-note-${l}${r ? ` ${R(r)}` : ""}${i === "small" ? " geist-note-small" : ""}${a ? " geist-note-filled" : ""}"${d}>
- ${L(u)}<p>${n ? `<b>${R(n)}</b>` : ""}<span>${R(l === "error" ? vt(e) : e)}</span></p>${f}${c ? Xa(c) : ""}</div>`;
+ ${L(u)}<p>${n ? `<b>${R(n)}</b>` : ""}<span>${R(l === "error" ? gt(e) : e)}</span></p>${f}${c ? Ya(c) : ""}</div>`;
}
-function Qa(e = "加载中") {
+function Za(e = "加载中") {
let t = Array.from({ length: 10 }, (e, t) => `<i aria-hidden="true" style="--spinner-angle:${t * 36}deg;--spinner-delay:${t * 100 - 900}ms"></i>`).join("");
return `<span class="ui-geist-spinner" role="status" aria-label="${R(e)}">${t}</span>`;
}
-function $a({ label: e, id: t = "", name: n = "", value: r = "", placeholder: i = "", attrs: a = "" } = {}) {
- let o = [
- "type=\"search\" enterkeyhint=\"search\"",
- t ? `id="${R(t)}"` : "",
- n ? `name="${R(n)}"` : "",
- i ? `placeholder="${R(i)}"` : "",
- `value="${R(r)}"`,
- `aria-label="${R(e)}"`,
- "spellcheck=\"false\" autocomplete=\"off\"",
- a
- ].filter(Boolean).join(" ");
- return `<div class="geist-search" data-search-input>
- <span class="geist-search-prefix" data-search-prefix>${L("search")}</span>
- <input ${o}></div>`;
-}
-function eo(e = "正在处理", { className: t = "" } = {}) {
+function Qa(e = "正在处理", { className: t = "" } = {}) {
return `<span class="ui-geist-loading${t ? ` ${R(t)}` : ""}" role="status">
<span class="ui-geist-loading-dots" aria-hidden="true"><i></i><i></i><i></i></span>
<span>${R(e)}</span></span>`;
}
-function to(e, { active: t = "", attr: n = "data-tab", label: r = "页面视图", className: i = "", panel: a = "" } = {}) {
+function $a(e, { active: t = "", attr: n = "data-tab", label: r = "页面视图", className: i = "", panel: a = "" } = {}) {
let o = e.map(({ value: e, label: r, count: i, symbol: o }) => {
let s = String(e) === String(t), c = i == null ? "" : `<span class="ui-board-tab-count">${R(Number(i).toLocaleString())}</span>`;
return `<button type="button" role="tab" ${n}="${R(e)}" aria-selected="${s}"${a ? ` aria-controls="${R(a)}"` : ""}>${o ? L(o) : ""}${R(r)}${c}</button>`;
}).join("");
return `<div class="ui-board-local-nav ui-board-tabs${i ? ` ${R(i)}` : ""}" role="tablist" aria-label="${R(r)}">${o}</div>`;
}
-function no(e, t, n, { className: r = "", actions: i = "" } = {}) {
+function eo(e, t, n, { className: r = "", actions: i = "" } = {}) {
return `<div class="ui-emptystate${r ? ` ${R(r)}` : ""}" data-geist-empty-state role="status">
<div class="ui-es-icon" aria-hidden="true">${L(e)}</div>
<div class="ui-es-copy"><h3>${R(t)}</h3><p>${R(n)}</p></div>
${i ? `<div class="ui-es-actions">${i}</div>` : ""}
</div>`;
}
-function ro(e = "") {
+function to(e = "") {
return `<span class="ui-pcheck"><input type="checkbox" ${e}><span aria-hidden="true">${L("check")}</span></span>`;
}
//#endregion
//#region src/ui-kit/motion.ts
-function io(e, t, n = "a", { className: r = "", iconClass: i = "", label: a = "" } = {}) {
+function no(e, t, n = "a", { className: r = "", iconClass: i = "", label: a = "" } = {}) {
return `<span class="iconswap${r ? " " + R(r) : ""}" data-icon-swap data-icon-state="${n === "b" ? "b" : "a"}"${a ? ` aria-label="${R(a)}"` : ""}><span data-icon="a">${L(e, i)}</span><span data-icon="b">${L(t, i)}</span></span>`;
}
-function ao(e, t) {
+function ro(e, t) {
let n = e && (e.matches?.("[data-icon-swap]") ? e : e.querySelector?.("[data-icon-swap]"));
return n && (n.dataset.iconState = t === "b" || t === !0 ? "b" : "a"), n;
}
-function oo(e, t, { html: n = !1 } = {}) {
+function io(e, t, { html: n = !1 } = {}) {
if (!e) return;
let r = String(t ?? ""), i = () => {
n ? e.innerHTML = r : e.textContent = r;
@@ -12505,7 +12490,7 @@ function oo(e, t, { html: n = !1 } = {}) {
e.classList.contains("leaving") && (e.removeEventListener("transitionend", s), o());
}, 400);
}
-function so(e, t) {
+function ao(e, t) {
if (!e) return;
let n = String(t ?? ""), r = e.dataset.popCount;
if (r === n && e.firstElementChild) return;
@@ -12515,7 +12500,7 @@ function so(e, t) {
let a = e.firstElementChild;
a.getBoundingClientRect(), a.classList.add("popping");
}
-function co(e, t = e && e.parentElement, { text: n = e && e.value, scrollLeft: r = e && e.scrollLeft || 0 } = {}) {
+function oo(e, t = e && e.parentElement, { text: n = e && e.value, scrollLeft: r = e && e.scrollLeft || 0 } = {}) {
if (!e || !t || (t.querySelectorAll(":scope > .cleardissolve").forEach((e) => e.remove()), e.classList.remove("dissolving"), e.value = "", !n || !e.isConnected)) return () => {};
let i = e.getBoundingClientRect(), a = t.getBoundingClientRect();
if (!i.width) return () => {};
@@ -12542,14 +12527,14 @@ function co(e, t = e && e.parentElement, { text: n = e && e.value, scrollLeft: r
};
return o.addEventListener("animationend", d), u = setTimeout(d, 1e3), d;
}
-var lo = /* @__PURE__ */ new Map();
-function uo(e, t = "") {
+var so = /* @__PURE__ */ new Map();
+function co(e, t = "") {
e && e.querySelectorAll("[data-count-badge]").forEach((e) => {
- let n = `${t}\u0000${e.dataset.countBadge}`, r = e.textContent || "", i = lo.get(n);
- lo.set(n, r), e.classList.add("countbadge"), i !== void 0 && i !== r && (e.classList.add("popped"), e.getBoundingClientRect(), e.classList.remove("popped"));
+ let n = `${t}\u0000${e.dataset.countBadge}`, r = e.textContent || "", i = so.get(n);
+ so.set(n, r), e.classList.add("countbadge"), i !== void 0 && i !== r && (e.classList.add("popped"), e.getBoundingClientRect(), e.classList.remove("popped"));
});
}
-function fo(e, t = "[data-reveal-line]") {
+function lo(e, t = "[data-reveal-line]") {
if (!e) return;
let n = [...e.querySelectorAll(t)];
if (!n.length) return;
@@ -12567,7 +12552,7 @@ function fo(e, t = "[data-reveal-line]") {
}
//#endregion
//#region src/ui-kit/skeleton.ts
-function po(e, t) {
+function uo(e, t) {
if (!e) return;
if (e.querySelector(".skeleton-awaiting") || !e.querySelector(".skeleton,[data-skeleton],.skeletoncard,.countskeleton") || !e.firstChild) {
t();
@@ -12585,7 +12570,7 @@ function po(e, t) {
n.isConnected && (n.removeEventListener("transitionend", i), r());
}, 1e3);
}
-function mo() {
+function fo() {
return `<div class="ui-configpage" data-skeleton="configuration" role="status" aria-label="正在读取配置">${[
["通用", 2],
["媒体", 2],
@@ -12594,7 +12579,7 @@ function mo() {
["维护", 3]
].map(([e, t]) => `<h2 class="ui-configgroup" aria-hidden="true">${e}</h2>${Array.from({ length: t }, () => "<div class=\"configfieldset config-skeleton-card\" aria-hidden=\"true\"><div class=\"geist-fieldset-content\"><span class=\"skeleton\"></span><span class=\"skeleton\"></span><span class=\"skeleton\"></span></div><footer class=\"geist-fieldset-footer\"><span class=\"skeleton\"></span></footer></div>").join("")}`).join("")}</div>`;
}
-function ho(e = "正在读取内容", { className: t = "", variant: n = "panel", count: r = 6, fill: i = !0, gridClass: a = "", gridSize: o = "", cardRatio: s = 0 } = {}) {
+function po(e = "正在读取内容", { className: t = "", variant: n = "panel", count: r = 6, fill: i = !0, gridClass: a = "", gridSize: o = "", cardRatio: s = 0 } = {}) {
let c = (/* @__PURE__ */ new Set([
"panel",
"cards",
@@ -12608,7 +12593,7 @@ function ho(e = "正在读取内容", { className: t = "", variant: n = "panel",
role="status" aria-label="${R(e)}"><span class="sr-only">${R(e)}</span>
<div${a ? ` class="${R(a)}"` : ""}${o ? ` data-size="${R(o)}"` : ""}${c === "cards" && Number(s) > 0 ? ` style="--skeleton-card-ratio:${Number(s)}"` : ""} aria-hidden="true">${l}</div></div>`;
}
-function go({ kind: e, layout: t = "big", mode: n = "alphabet" } = {}) {
+function mo({ kind: e, layout: t = "big", mode: n = "alphabet" } = {}) {
let r = e !== "tags", i = e === "studios" || e === "agencies", a = r ? "<span class=\"icell\"><span class=\"ring skeleton\"></span><span class=\"nm skeleton\">&nbsp;</span><span class=\"n skeleton\">&nbsp;</span></span>" : "<span class=\"alphatag\"><span class=\"skeleton\"></span><span class=\"n skeleton\"></span></span>", o = r ? `igrid" data-cells="${i ? "company" : "people"}" data-layout="${R(t)}` : "ui-alphalist", s = !r && n === "cloud" ? `<div class="tagwall index-tags">${Array.from({ length: 60 }, (e, t) => `<span class="tg skeleton" style="width:${[
92,
128,
@@ -12619,11 +12604,11 @@ function go({ kind: e, layout: t = "big", mode: n = "alphabet" } = {}) {
return `<div class="skeletonpanel index-skeleton" data-skeleton="index/${R(e)}/${R(t)}/${R(n)}"${r ? " data-fill=\"\"" : ""}
role="status" aria-label="${c}"><span class="sr-only">${c}</span><section aria-hidden="true">${s}</section></div>`;
}
-var _o = {
+var ho = {
av: () => "<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\">&nbsp;</span></span>",
brandpill: (e) => `<span class="brandpill brandskeleton" style="width:${e}px"><span class="mk"></span></span>`,
pill: (e) => `<span class="pill tagskeleton" style="width:${e}px"></span>`
-}, vo = {
+}, go = {
av: [0],
brandpill: [
132,
@@ -12650,41 +12635,41 @@ var _o = {
76,
84
]
-}, yo = "[data-skeleton],[data-skeleton-tier],.countskeleton";
-function bo(e) {
+}, _o = "[data-skeleton],[data-skeleton-tier],.countskeleton";
+function vo(e) {
if (!e) return;
- let t = [...e.matches?.(yo) ? [e] : [], ...e.querySelectorAll(yo)], n = t.filter((e) => !t.some((t) => t !== e && t.contains(e)));
+ let t = [...e.matches?.(_o) ? [e] : [], ...e.querySelectorAll(_o)], n = t.filter((e) => !t.some((t) => t !== e && t.contains(e)));
for (let e of n) e.dataset.skeletonReveal || (e.dataset.skeletonReveal = "pending", e.classList.add("skeleton-awaiting"), setTimeout(() => {
e.isConnected && e.dataset.skeletonReveal === "pending" && (e.dataset.skeletonReveal = "shown", e.classList.remove("skeleton-awaiting"));
}, 180));
}
-var xo = 64;
-function So(e) {
- e = e.filter((e) => e.row && _o[e.kind] && (!e.row.children.length || e.row.scrollWidth <= e.row.clientWidth)).map((e) => ({
+var yo = 64;
+function bo(e) {
+ e = e.filter((e) => e.row && ho[e.kind] && (!e.row.children.length || e.row.scrollWidth <= e.row.clientWidth)).map((e) => ({
...e,
start: e.row.children.length,
added: 0
}));
let t = (e, t) => {
- let n = _o[e.kind], r = vo[e.kind], i = "";
- for (let a = Math.min(xo, e.added + t); e.added < a; e.added++) i += n(r[e.added % r.length]);
+ let n = ho[e.kind], r = go[e.kind], i = "";
+ for (let a = Math.min(yo, e.added + t); e.added < a; e.added++) i += n(r[e.added % r.length]);
e.row.insertAdjacentHTML("beforeend", i);
};
- for (let n of e) t(n, vo[n.kind].length);
+ for (let n of e) t(n, go[n.kind].length);
for (let n = 0; n < 4; n++) {
- let n = e.filter((e) => e.added < xo && e.row.scrollWidth <= e.row.clientWidth).map((e) => {
+ let n = e.filter((e) => e.added < yo && e.row.scrollWidth <= e.row.clientWidth).map((e) => {
let t = e.row.children[e.start].getBoundingClientRect(), n = e.row.lastElementChild.getBoundingClientRect(), r = Math.max(1, (n.right - t.left) / e.added);
return [e, Math.ceil((e.row.getBoundingClientRect().right - n.right) / r) + 1];
});
if (!n.length) break;
for (let [e, r] of n) t(e, Math.max(1, r));
}
- for (let t of e) bo(t.row);
+ for (let t of e) vo(t.row);
}
-function Co(e) {
+function xo(e) {
if (!e) return;
let t = (t) => [...e.matches?.(t) ? [e] : [], ...e.querySelectorAll(t)];
- So(t("[data-skeleton-tier]").map((e) => ({
+ bo(t("[data-skeleton-tier]").map((e) => ({
row: e,
kind: e.dataset.skeletonTier
})));
@@ -12697,15 +12682,15 @@ function Co(e) {
for (; e.children.length > s;) e.lastElementChild.remove();
for (; e.children.length < s;) e.appendChild(t.cloneNode(!0));
}
- bo(e);
+ vo(e);
}
//#endregion
//#region src/ui-kit/scroll.ts
-var wo = /* @__PURE__ */ new Map(), To, Eo = 240, Do = 50, Oo = 70, ko = .55, Ao = .35, jo = 480;
-function Mo(e, t) {
- return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * ko / t + 1)) * t;
+var So = /* @__PURE__ */ new Map(), Co, wo = 240, To = 50, Eo = 70, Do = .55, Oo = .35, ko = 480;
+function Ao(e, t) {
+ return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * Do / t + 1)) * t;
}
-function No(e) {
+function jo(e) {
let t = null, n = 0, r = () => typeof e.animate != "function" || matchMedia("(prefers-reduced-motion:reduce)").matches, i = () => {
t = null, n || e.classList.remove("edgepull");
}, a = (n, r) => {
@@ -12713,11 +12698,11 @@ function No(e) {
};
return {
drag(i) {
- r() || (t?.cancel(), t = null, n = -Mo(i, e.clientWidth), e.classList.toggle("edgepull", !!n), n ? e.style.setProperty("--edge-pull", `${n}px`) : e.style.removeProperty("--edge-pull"));
+ r() || (t?.cancel(), t = null, n = -Ao(i, e.clientWidth), e.classList.toggle("edgepull", !!n), n ? e.style.setProperty("--edge-pull", `${n}px`) : e.style.removeProperty("--edge-pull"));
},
release() {
if (!n) return;
- let t = n, r = Wo();
+ let t = n, r = Ho();
n = 0, e.style.removeProperty("--edge-pull"), a([{
"--edge-pull": `${t}px`,
easing: r.easing
@@ -12725,9 +12710,9 @@ function No(e) {
},
kick(t) {
if (r() || n) return;
- let i = -Mo(t * Ao, Math.min(e.clientWidth, jo));
+ let i = -Ao(t * Oo, Math.min(e.clientWidth, ko));
if (!i) return;
- let o = Wo();
+ let o = Ho();
a([
{
"--edge-pull": "0px",
@@ -12743,14 +12728,14 @@ function No(e) {
}
};
}
-function Po(e, { drag: t = !1, fade: n = !0 } = {}) {
+function Mo(e, { drag: t = !1, fade: n = !0 } = {}) {
if (!e) return;
- let r = wo.get(e);
+ let r = So.get(e);
if (r) return r.options.drag ||= t, r.options.fade ||= n, r.update(), r;
let i = {
drag: t,
fade: n
- }, a = new AbortController(), o = No(e), s = null, c = 0, l = 0, u = 0, d = !1, f = 0, p = 0, m = 0, h = 0, g = (t, n) => {
+ }, a = new AbortController(), o = jo(e), s = null, c = 0, l = 0, u = 0, d = !1, f = 0, p = 0, m = 0, h = 0, g = (t, n) => {
e.dataset[t] !== n && (e.dataset[t] = n);
}, _ = () => {
i.fade && (g("overflowLeft", String(e.scrollLeft > 1)), g("overflowRight", String(e.scrollLeft + e.clientWidth < e.scrollWidth - 1)));
@@ -12765,7 +12750,7 @@ function Po(e, { drag: t = !1, fade: n = !0 } = {}) {
cancelAnimationFrame(f), f = 0, h = 0;
}, x = (t) => {
let n = Math.min(Math.max(t - p, 0), 64);
- if (p = t, m += (u - m) * (1 - Math.exp(-n / Oo)), Math.abs(u - m) < .5 && (m = u), e.scrollLeft = m, m !== u) f = requestAnimationFrame(x);
+ if (p = t, m += (u - m) * (1 - Math.exp(-n / Eo)), Math.abs(u - m) < .5 && (m = u), e.scrollLeft = m, m !== u) f = requestAnimationFrame(x);
else if (f = 0, h) {
let e = h;
h = 0, y(e);
@@ -12776,11 +12761,11 @@ function Po(e, { drag: t = !1, fade: n = !0 } = {}) {
if (t.defaultPrevented || !t.cancelable || Math.abs(t.deltaY) <= Math.abs(t.deltaX) || n <= 0) return;
t.preventDefault();
let r = performance.now(), i = Math.abs(t.deltaY);
- r > l && (d = !1), l = r + Eo;
+ r > l && (d = !1), l = r + wo;
let a = f ? u : e.scrollLeft, o = a + t.deltaY;
u = Math.min(n, Math.max(0, o));
let s = o === u ? 0 : t.deltaY;
- i < Do || u === a ? (u !== a && (b(), e.scrollLeft = u), s && !f ? y(s) : s && (h = s)) : (s && (h = s), f ||= (m = e.scrollLeft, p = performance.now(), requestAnimationFrame(x)));
+ i < To || u === a ? (u !== a && (b(), e.scrollLeft = u), s && !f ? y(s) : s && (h = s)) : (s && (h = s), f ||= (m = e.scrollLeft, p = performance.now(), requestAnimationFrame(x)));
}, { passive: !1 }), v(e, "mousedown", (t) => {
!i.drag || t.button !== 0 || e.scrollWidth - e.clientWidth <= 1 || (t.stopPropagation(), b(), s = {
x: t.pageX,
@@ -12801,19 +12786,19 @@ function Po(e, { drag: t = !1, fade: n = !0 } = {}) {
options: i,
update: _,
destroy() {
- a.abort(), b(), S.disconnect(), wo.delete(e), e.style.cursor = "", wo.size || (To?.disconnect(), To = null);
+ a.abort(), b(), S.disconnect(), So.delete(e), e.style.cursor = "", So.size || (Co?.disconnect(), Co = null);
}
};
- return wo.set(e, C), To || (To = new MutationObserver(() => {
- for (let [e, t] of wo) e.isConnected || t.destroy();
- }), To.observe(document.body, {
+ return So.set(e, C), Co || (Co = new MutationObserver(() => {
+ for (let [e, t] of So) e.isConnected || t.destroy();
+ }), Co.observe(document.body, {
childList: !0,
subtree: !0
})), _(), C;
}
-var Fo = 24, Io = 2e3, Lo = 3e3, Ro = /* @__PURE__ */ new Map(), zo = /* @__PURE__ */ new Set(), Bo = null;
-function Vo(e) {
- if (!e || Ro.has(e) || matchMedia("(prefers-reduced-motion:reduce)").matches) return;
+var No = 24, Po = 2e3, Fo = 3e3, Io = /* @__PURE__ */ new Map(), Lo = /* @__PURE__ */ new Set(), Ro = null;
+function zo(e) {
+ if (!e || Io.has(e) || matchMedia("(prefers-reduced-motion:reduce)").matches) return;
let t = new AbortController(), n = e.scrollLeft, r = 1, i = 0, a = 0, o = !1, s = 0, c = (e, n, r) => e.addEventListener(n, r, {
passive: !0,
signal: t.signal
@@ -12830,11 +12815,11 @@ function Vo(e) {
let o = i ? Math.min(t - i, 64) : 0;
i = t;
let c = e.scrollWidth - e.clientWidth;
- t < s || c <= 1 || (n = Math.min(c, Math.max(0, n + r * Fo * o / 1e3)), e.scrollLeft = n, (n >= c || n <= 0) && (r = n >= c ? -1 : 1, s = t + Io));
+ t < s || c <= 1 || (n = Math.min(c, Math.max(0, n + r * No * o / 1e3)), e.scrollLeft = n, (n >= c || n <= 0) && (r = n >= c ? -1 : 1, s = t + Po));
}, f = () => {
e.isConnected ? !a && u() && (i = 0, a = requestAnimationFrame(d)) : m();
}, p = () => {
- s = performance.now() + Lo;
+ s = performance.now() + Fo;
};
c(e, "scroll", () => {
Math.abs(e.scrollLeft - n) > 1 && (n = e.scrollLeft, p());
@@ -12848,32 +12833,32 @@ function Vo(e) {
signal: t.signal
}), f();
function m() {
- cancelAnimationFrame(a), a = 0, t.abort(), Ro.delete(e), zo.delete(f), Ro.size || (Bo?.disconnect(), Bo = null);
+ cancelAnimationFrame(a), a = 0, t.abort(), Io.delete(e), Lo.delete(f), Io.size || (Ro?.disconnect(), Ro = null);
}
- Ro.set(e, m), zo.add(f), Bo || (Bo = new MutationObserver(() => zo.forEach((e) => e())), Bo.observe(document.body, {
+ Io.set(e, m), Lo.add(f), Ro || (Ro = new MutationObserver(() => Lo.forEach((e) => e())), Ro.observe(document.body, {
attributes: !0,
attributeFilter: ["data-detail-open"]
}));
}
-function Ho(e) {
- Ro.get(e)?.();
+function Bo(e) {
+ Io.get(e)?.();
}
-var Uo = null;
-function Wo() {
- if (!Uo) {
+var Vo = null;
+function Ho() {
+ if (!Vo) {
let e = getComputedStyle(document.documentElement);
- Uo = {
+ Vo = {
easing: e.getPropertyValue("--spring-pane").trim() || "ease",
duration: parseFloat(e.getPropertyValue("--spring-pane-ms")) || 300
};
}
- return Uo;
+ return Vo;
}
-function Go(e, t, n, r = "x") {
+function Uo(e, t, n, r = "x") {
e.getAnimations().forEach((e) => e.cancel()), e.style.width = `${n.w}px`, e.style.height = `${n.h}px`;
let i = r === "y" ? "h" : "w", a = r === "y" ? "y" : "x", o = `${n.x}px ${n.y}px`;
if (t && t[a] !== n[a] && !matchMedia("(prefers-reduced-motion:reduce)").matches) {
- let s = Wo();
+ let s = Ho();
e.animate([{ translate: r === "y" ? `${n.x}px ${t.y}px` : `${t.x}px ${n.y}px` }, { translate: o }], {
duration: s.duration,
easing: s.easing,
@@ -12901,7 +12886,7 @@ function Go(e, t, n, r = "x") {
}
e.style.translate = o;
}
-var Ko = [
+var Wo = [
"[data-stage-side-content]",
"[data-stage-scroll]",
".tagpickbody",
@@ -12921,49 +12906,49 @@ var Ko = [
".follow-workspace-switch",
".fmanagenav",
"[role=\"listbox\"]"
-].join(","), qo = ".reviewtabs,.ftablewrap,.ui-board-local-nav,[data-manage-menu],.follow-workspace-switch,.fmanagenav";
-function Jo(e = document) {
- e.querySelectorAll(Ko).forEach((e) => {
- e.matches(qo) ? Po(e) : _a(e);
+].join(","), Go = ".reviewtabs,.ftablewrap,.ui-board-local-nav,[data-manage-menu],.follow-workspace-switch,.fmanagenav";
+function Ko(e = document) {
+ e.querySelectorAll(Wo).forEach((e) => {
+ e.matches(Go) ? Mo(e) : _a(e);
});
}
//#endregion
//#region src/ui-kit/controls.ts
-function Yo(e, t = !0) {
+function qo(e, t = !0) {
e && (t ? (e.setAttribute("aria-busy", "true"), e.setAttribute("aria-disabled", "true")) : (e.removeAttribute("aria-busy"), e.removeAttribute("aria-disabled")));
}
-var Xo = /* @__PURE__ */ new WeakSet();
-function Zo(e = document) {
- Xo.has(e) || (Xo.add(e), e.addEventListener("click", (t) => {
+var Jo = /* @__PURE__ */ new WeakSet();
+function Yo(e = document) {
+ Jo.has(e) || (Jo.add(e), e.addEventListener("click", (t) => {
let n = t.target.closest?.("button[aria-busy=\"true\"],[role=\"button\"][aria-busy=\"true\"]");
n && e.contains(n) && (t.preventDefault(), t.stopImmediatePropagation());
}, !0));
}
-function Qo(e, t, n, r, { attr: i = "", className: a = "", text: o = !1 } = {}) {
+function Xo(e, t, n, r, { attr: i = "", className: a = "", text: o = !1 } = {}) {
let s = n.map(([t, n, a]) => `<label title="${R(n)}"><input type="radio" name="${R(e)}" value="${R(t)}" ${i}
${t === r ? "checked" : ""}><span aria-hidden="true">${o ? (a ? L(a) : "") + R(n) : L(a)}</span><span class="sr-only">${R(n)}</span></label>`).join("");
return `<fieldset class="iconswitch${a ? ` ${R(a)}` : ""}"><legend class="sr-only">${R(t)}</legend>${s}</fieldset>`;
}
-function $o(e, t, n) {
+function Zo(e, t, n) {
e?.querySelectorAll(`[${t}]`).forEach((e) => {
e.onchange = () => {
e.checked && n(e.value);
};
});
}
-var es = 9;
-function ts({ value: e = 0, min: t = 0, max: n = 100, step: r = 1, label: i = "", suffix: a = "%", attr: o = "", className: s = "" } = {}) {
+var Qo = 9;
+function $o({ value: e = 0, min: t = 0, max: n = 100, step: r = 1, label: i = "", suffix: a = "%", attr: o = "", className: s = "" } = {}) {
let c = n > t ? (e - t) / (n - t) * 100 : 0, l = `${e}${a}`;
return `<div class="ui-dial${s ? ` ${R(s)}` : ""}" ${o}>
<div class="ui-dial-slider" data-dial-slider role="slider" tabindex="0" aria-label="${R(i)}"
aria-valuemin="${t}" aria-valuemax="${n}" aria-valuenow="${e}" aria-valuetext="${R(l)}"
data-dial-step="${r}" style="--dial-at:${c}%">
<span class="ui-dial-track" aria-hidden="true"><span class="ui-dial-fill"></span></span>
- <span class="ui-dial-ticks" aria-hidden="true">${"<span></span>".repeat(es)}</span>
+ <span class="ui-dial-ticks" aria-hidden="true">${"<span></span>".repeat(Qo)}</span>
<span class="ui-dial-handle" aria-hidden="true"></span>
</div><b class="ui-dial-value mono" data-dial-value>${R(l)}</b></div>`;
}
-function ns(e, { onInput: t = () => {}, onChange: n = () => {}, suffix: r = "%" } = {}) {
+function es(e, { onInput: t = () => {}, onChange: n = () => {}, suffix: r = "%" } = {}) {
let i = e.querySelector("[data-dial-slider]"), a = e.querySelector("[data-dial-value]"), o = e.querySelector(".ui-dial-track"), s = +i.getAttribute("aria-valuemin"), c = +i.getAttribute("aria-valuemax"), l = +i.dataset.dialStep || 1, u = +i.getAttribute("aria-valuenow"), d = (e) => Math.min(c, Math.max(s, Math.round(e / l) * l)), f = () => {
let e = `${u}${r}`;
i.style.setProperty("--dial-at", `${c > s ? (u - s) / (c - s) * 100 : 0}%`), i.setAttribute("aria-valuenow", String(u)), i.setAttribute("aria-valuetext", e), a && (a.textContent = e);
@@ -13011,9 +12996,9 @@ function ns(e, { onInput: t = () => {}, onChange: n = () => {}, suffix: r = "%"
}
};
}
-function rs(e, t, n) {
+function ts(e, t, n) {
n.classList.add("context-card"), n.setAttribute("popover", "manual"), n.setAttribute("role", "dialog"), n.tabIndex = -1, t.setAttribute("aria-haspopup", "dialog"), t.setAttribute("aria-controls", n.id);
- let r = Ua(e, t, n), i, a = () => {
+ let r = Ha(e, t, n), i, a = () => {
clearTimeout(i), r.setOpen(!1);
}, o = () => {
clearTimeout(i), i = setTimeout(() => {
@@ -13033,7 +13018,7 @@ function rs(e, t, n) {
hide: a
};
}
-function is(e, { selector: t, attribute: n, onMove: r } = {}) {
+function ns(e, { selector: t, attribute: n, onMove: r } = {}) {
let i = () => [...e.querySelectorAll(t)], a = () => i().forEach((e) => e.classList.remove("dragging", "drop-before", "drop-after")), o = null;
i().forEach((e) => {
let t = e.getAttribute(n);
@@ -13055,11 +13040,11 @@ function is(e, { selector: t, attribute: n, onMove: r } = {}) {
}
//#endregion
//#region src/ui-kit/modal.ts
-var as = 0;
-function os({ title: e, description: t = "", body: n = "", confirmLabel: r, cancelLabel: i = "取消", onConfirm: a = null, confirmDisabled: o = !1 } = {}) {
+var rs = 0;
+function is({ title: e, description: t = "", body: n = "", confirmLabel: r, cancelLabel: i = "取消", onConfirm: a = null, confirmDisabled: o = !1 } = {}) {
let s = document.activeElement, c = document.createElement("dialog");
c.className = "ui-geist-modal";
- let l = `geist-form-title-${++as}`;
+ let l = `geist-form-title-${++rs}`;
c.setAttribute("aria-labelledby", l), c.innerHTML = `<form class="ui-geist-modal-form" novalidate>
<div class="ui-geist-modal-body"><h3 id="${l}"></h3>${t ? "<p></p>" : ""}
<div class="ui-geist-modal-fields">${n}</div><div data-modal-error></div></div>
@@ -13082,31 +13067,31 @@ function os({ title: e, description: t = "", body: n = "", confirmLabel: r, canc
if (e.preventDefault(), !(m || d.disabled)) {
if (!a) p = { confirmed: !0 }, c.close();
else {
- f.innerHTML = "", m = !0, Yo(d);
+ f.innerHTML = "", m = !0, qo(d);
try {
p = {
confirmed: !0,
result: await a()
}, c.close();
} catch (e) {
- f.innerHTML = Za(e.message || "操作未完成", { variant: "error" }), Yo(d, !1);
+ f.innerHTML = Xa(e.message || "操作未完成", { variant: "error" }), qo(d, !1);
} finally {
m = !1;
}
}
}
- }, c.showModal(), ka("pop"), (c.querySelector(".ui-geist-modal-fields input:not([type=\"checkbox\"])") || d).focus(), {
+ }, c.showModal(), Oa("pop"), (c.querySelector(".ui-geist-modal-fields input:not([type=\"checkbox\"])") || d).focus(), {
dialog: c,
confirmButton: d,
done: h,
close: () => c.close()
};
}
-var ss = 0;
-function cs({ title: e, body: t, confirmLabel: n, cancelLabel: r = "取消", onConfirm: i = null, danger: a = !1 } = {}) {
+var as = 0;
+function os({ title: e, body: t, confirmLabel: n, cancelLabel: r = "取消", onConfirm: i = null, danger: a = !1 } = {}) {
let o = document.activeElement, s = document.createElement("dialog");
s.className = "ui-geist-modal";
- let c = `geist-modal-title-${++ss}`;
+ let c = `geist-modal-title-${++as}`;
s.setAttribute("aria-labelledby", c), s.innerHTML = `<div class="ui-geist-modal-body">
<h3 id="${c}"></h3><p></p><div data-modal-error></div></div>
<footer class="geist-modal-footer">
@@ -13130,55 +13115,55 @@ function cs({ title: e, body: t, confirmLabel: n, cancelLabel: r = "取消", onC
if (!n) {
if (!i) t = { confirmed: !0 }, s.close();
else {
- d.innerHTML = "", n = !0, Yo(u);
+ d.innerHTML = "", n = !0, qo(u);
try {
t = {
confirmed: !0,
result: await i()
}, s.close();
} catch (e) {
- d.innerHTML = Za(e.message || "操作未完成", { variant: "error" }), Yo(u, !1);
+ d.innerHTML = Xa(e.message || "操作未完成", { variant: "error" }), qo(u, !1);
} finally {
n = !1;
}
}
}
- }, s.showModal(), ka("pop"), (a ? l : u).focus();
+ }, s.showModal(), Oa("pop"), (a ? l : u).focus();
});
}
//#endregion
//#region src/onboarding/post-setup-tutorial.ts
-var ls = "peach.post-setup-tutorial.v1", us = "peach.post-setup-tutorial-collapsed.v1", ds = "peach.post-setup-tutorial-skipped.v1", fs = (e) => {
+var ss = "peach.post-setup-tutorial.v1", cs = "peach.post-setup-tutorial-collapsed.v1", ls = "peach.post-setup-tutorial-skipped.v1", us = (e) => {
try {
return localStorage.getItem(e);
} catch {
return null;
}
-}, ps = (e, t) => {
+}, ds = (e, t) => {
try {
localStorage.setItem(e, t);
} catch {}
-}, ms = () => fs("peach.post-setup-tutorial.v1") || "", hs = (e) => ps(ls, e), gs = () => fs(us) === "1", _s = (e) => ps(us, e ? "1" : "0"), vs = () => {
+}, fs = () => us("peach.post-setup-tutorial.v1") || "", ps = (e) => ds(ss, e), ms = () => us(cs) === "1", hs = (e) => ds(cs, e ? "1" : "0"), gs = () => {
try {
- let e = JSON.parse(fs("peach.post-setup-tutorial-skipped.v1") || "[]");
+ let e = JSON.parse(us("peach.post-setup-tutorial-skipped.v1") || "[]");
return new Set(Array.isArray(e) ? e.filter((e) => typeof e == "string") : []);
} catch {
return /* @__PURE__ */ new Set();
}
-}, ys = (e) => ps(ds, JSON.stringify([...e])), bs = (e) => JSON.stringify(e.map((e) => [
+}, _s = (e) => ds(ls, JSON.stringify([...e])), vs = (e) => JSON.stringify(e.map((e) => [
e.key,
e.done,
e.label,
e.description,
e.href
-])), xs = 0, Ss = () => ++xs, Cs = (e) => e === xs;
-function ws() {
- ys(/* @__PURE__ */ new Set()), _s(!1), hs("pending");
+])), ys = 0, bs = () => ++ys, xs = (e) => e === ys;
+function Ss() {
+ _s(/* @__PURE__ */ new Set()), hs(!1), ps("pending");
}
//#endregion
//#region src/card-art/framing.ts
-var Ts = () => window.devicePixelRatio || 1;
-function Es(e) {
+var Cs = () => window.devicePixelRatio || 1;
+function ws(e) {
let t = e.parentElement;
if (!t || ([
"position",
@@ -13197,7 +13182,7 @@ function Es(e) {
delete e.dataset.faceFramed;
let n = new ResizeObserver(() => {
let r = t.getBoundingClientRect();
- r.width > 0 && r.height > 0 && (n.disconnect(), Es(e));
+ r.width > 0 && r.height > 0 && (n.disconnect(), ws(e));
});
n.observe(t);
return;
@@ -13216,24 +13201,24 @@ function Es(e) {
}, {
w: n.width,
h: n.height
- }, Ts());
+ }, Cs());
if (!l) return;
let u = e.style;
u.position = "absolute", u.right = "auto", u.bottom = "auto", u.left = `${l.left}%`, u.top = `${l.top}%`, u.width = `${l.width}%`, u.height = `${l.height}%`, u.maxWidth = "none", u.maxHeight = "none";
}
-function Ds(e) {
+function Ts(e) {
let t = e.naturalWidth / e.naturalHeight;
if (!t) return;
let n = new URL(e.currentSrc || e.src, location.href).searchParams.get("code") || "";
e.dataset.frame = /^FC2(?:-PPV)?-/i.test(n) || t >= 1.65 ? "still" : t > 1.2 ? "sleeve" : "front";
- let r = js(e), i = (t, n, r) => {
+ let r = ks(e), i = (t, n, r) => {
if (n == null || !(r > 0 && r < 1)) return;
let i = Math.min(1, Math.max(0, (n - r / 2) / (1 - r)));
e.style.setProperty(t, `${Math.round(i * 100)}%`);
};
- i("--cover-x", Ms(e, "cx"), r / t), i("--cover-y", Ms(e, "cy"), t / r), Os(e, r), (e.classList.contains("whole") || e.dataset.frame === "front") && Math.abs(t / r - 1) > .02 && ks(e);
+ i("--cover-x", As(e, "cx"), r / t), i("--cover-y", As(e, "cy"), t / r), Es(e, r), (e.classList.contains("whole") || e.dataset.frame === "front") && Math.abs(t / r - 1) > .02 && Ds(e);
}
-function Os(e, t) {
+function Es(e, t) {
if (e.dataset.frame === "front") return;
let [n = NaN, r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.posterbox || "").split(" ").map(Number);
if (!e.dataset.posterbox && e.dataset.frame === "sleeve" && (r = e.naturalWidth, i = e.naturalHeight, n = Math.round(r - Gi * i), a = 0, o = r, s = i), !Pi(e.naturalWidth, e.naturalHeight, r, i)) return;
@@ -13244,33 +13229,33 @@ function Os(e, t) {
y1: s,
px: [r, i]
}, t);
- c && (e.style.setProperty("--panel-aspect", `${e.naturalWidth} / ${e.naturalHeight}`), e.classList.add("panel"), e.style.setProperty("--panel-clip", `${c.clip.top}% ${c.clip.right}% ${c.clip.bottom}% ${c.clip.left}%`), e.style.setProperty("--panel-left", `${c.left}%`), e.style.setProperty("--panel-top", `${c.top}%`), e.style.setProperty("--panel-height", `${c.height}%`), ks(e));
+ c && (e.style.setProperty("--panel-aspect", `${e.naturalWidth} / ${e.naturalHeight}`), e.classList.add("panel"), e.style.setProperty("--panel-clip", `${c.clip.top}% ${c.clip.right}% ${c.clip.bottom}% ${c.clip.left}%`), e.style.setProperty("--panel-left", `${c.left}%`), e.style.setProperty("--panel-top", `${c.top}%`), e.style.setProperty("--panel-height", `${c.height}%`), Ds(e));
}
-function ks(e) {
+function Ds(e) {
e.closest(".pic,[data-media-pic]")?.style.setProperty("--cover-blur", `url("${e.dataset.thumbSrc || e.currentSrc || e.src}")`);
}
-function As(e) {
+function Os(e) {
if (!/[?&]thumb=1(&|$)/.test(e.src) || !e.naturalWidth) return;
let { width: t, height: n } = e.getBoundingClientRect();
- (getComputedStyle(e).objectFit === "contain" ? Math.min : Math.max)(t / e.naturalWidth, n / e.naturalHeight) * Ts() > 1.01 && (e.dataset.thumbSrc = e.src, e.src = e.src.replace(/[?&]thumb=1(?=&|$)/, ""));
+ (getComputedStyle(e).objectFit === "contain" ? Math.min : Math.max)(t / e.naturalWidth, n / e.naturalHeight) * Cs() > 1.01 && (e.dataset.thumbSrc = e.src, e.src = e.src.replace(/[?&]thumb=1(?=&|$)/, ""));
}
-function js(e) {
+function ks(e) {
let t = getComputedStyle(e).getPropertyValue("--card-ratio").trim().split("/").map(Number), n = t.length === 2 ? Number(t[0]) / Number(t[1]) : Number(t[0]);
return Number.isFinite(n) && n > 0 ? n : 16 / 9;
}
-function Ms(e, t) {
+function As(e, t) {
let n = parseFloat(e.dataset[t] ?? "");
return Number.isFinite(n) ? n : null;
}
-var Ns = ".pic>img.poster,[data-media-art]>img,.ring>img,[data-tier-ring]>img,[data-person-ring]>img,[data-entity-portrait]>img,[data-hero-ring]>img", Ps = /* @__PURE__ */ new WeakMap();
-function Fs(e) {
- let t = e.matches(Ns) ? [e] : e.querySelectorAll(Ns);
- for (let e of t) !e.complete && e.parentElement && (e.parentElement.classList.add("imgwait"), Ps.set(e.parentElement, performance.now()));
+var js = ".pic>img.poster,[data-media-art]>img,.ring>img,[data-tier-ring]>img,[data-person-ring]>img,[data-entity-portrait]>img,[data-hero-ring]>img", Ms = /* @__PURE__ */ new WeakMap();
+function Ns(e) {
+ let t = e.matches(js) ? [e] : e.querySelectorAll(js);
+ for (let e of t) !e.complete && e.parentElement && (e.parentElement.classList.add("imgwait"), Ms.set(e.parentElement, performance.now()));
}
-function Is(e) {
+function Ps(e) {
let t = e.parentElement;
if (!t?.classList.contains("imgwait")) return;
- if (performance.now() - (Ps.get(t) ?? NaN) < 180) {
+ if (performance.now() - (Ms.get(t) ?? NaN) < 180) {
t.classList.remove("imgwait");
return;
}
@@ -13280,14 +13265,14 @@ function Is(e) {
};
t.addEventListener("transitionend", r), n = setTimeout(r, 1e3);
}
-function Ls(e) {
+function Fs(e) {
let t = "img.cover,img[data-facebox]", n = e.matches(t) ? [e] : e.querySelectorAll(t);
for (let e of n) {
let t = e;
- t.complete && t.naturalWidth && (t.classList.contains("cover") ? Ds(t) : (Rs(t), Es(t)));
+ t.complete && t.naturalWidth && (t.classList.contains("cover") ? Ts(t) : (Is(t), ws(t)));
}
}
-function Rs(e) {
+function Is(e) {
let t = e.closest("[data-fit-native]");
if (!t || !e.naturalWidth) return;
let n = t.dataset.fitNative === "mark" ? Li(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight) : null;
@@ -13295,76 +13280,76 @@ function Rs(e) {
t.dataset.nativeSmall = "false", t.style.setProperty("--markw", n.width + "px"), t.style.setProperty("--markh", n.height + "px"), t.style.setProperty("--markbg", "none");
return;
}
- let { small: r, width: i, height: a } = Fi(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, Ts());
+ let { small: r, width: i, height: a } = Fi(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, Cs());
t.dataset.nativeSmall = String(r), t.style.setProperty("--markw", r ? i + "px" : "100%"), t.style.setProperty("--markh", r ? a + "px" : "100%");
let o = (e.currentSrc || e.src).replace(/"/g, "%22");
t.style.setProperty("--markbg", r ? `url("${o}")` : "none");
}
-function zs(e) {
+function Ls(e) {
(e || document).querySelectorAll("[data-fit-native] img").forEach((e) => {
- Rs(e), e.dataset.facebox && Es(e);
+ Is(e), e.dataset.facebox && ws(e);
});
}
-function Bs(e, t) {
- for (let n of Ji(e, t)) Ds(n), As(n);
+function Rs(e, t) {
+ for (let n of Ji(e, t)) Ts(n), Os(n);
}
-var Vs = !1;
-function Hs() {
- Vs || (Vs = !0, document.addEventListener("load", (e) => {
+var zs = !1;
+function Bs() {
+ zs || (zs = !0, document.addEventListener("load", (e) => {
let t = e.target;
- t instanceof HTMLImageElement && (Is(t), Rs(t), t.classList.contains("cover") ? (Ds(t), As(t)) : t.dataset.facebox && Es(t));
+ t instanceof HTMLImageElement && (Ps(t), Is(t), t.classList.contains("cover") ? (Ts(t), Os(t)) : t.dataset.facebox && ws(t));
}, !0), new MutationObserver((e) => {
- for (let t of e) for (let e of t.addedNodes) e.nodeType === Node.ELEMENT_NODE && (Fs(e), Ls(e));
+ for (let t of e) for (let e of t.addedNodes) e.nodeType === Node.ELEMENT_NODE && (Ns(e), Fs(e));
}).observe(document.body, {
childList: !0,
subtree: !0
}), document.addEventListener("error", (e) => {
let t = e.target;
- t instanceof HTMLImageElement && !t.dataset.fallbacks && Is(t);
+ t instanceof HTMLImageElement && !t.dataset.fallbacks && Ps(t);
}, !0));
}
//#endregion
//#region src/card-art/hover.ts
-var Us = ".card,[data-media-card],[data-mix-card]", Ws = {
+var Vs = ".card,[data-media-card],[data-mix-card]", Hs = {
selecting: () => !1,
censored: () => !1,
delaySeconds: () => 0
};
-function Gs(e) {
- Ws = e;
+function Us(e) {
+ Hs = e;
}
-var Ks = () => !!window.__scrolling;
-function qs(e = document, t = null) {
- e && e.querySelectorAll && (e.querySelectorAll(Us).forEach((e) => {
+var Ws = () => !!window.__scrolling;
+function Gs(e = document, t = null) {
+ e && e.querySelectorAll && (e.querySelectorAll(Vs).forEach((e) => {
e !== t && e._stopHover && e._stopHover();
}), e.querySelectorAll("video.hv").forEach((e) => {
- e.closest(Us) !== t && (e._hop && clearInterval(e._hop), e.pause(), e.removeAttribute("src"), e.load(), e.remove());
+ e.closest(Vs) !== t && (e._hop && clearInterval(e._hop), e.pause(), e.removeAttribute("src"), e.load(), e.remove());
}), e.querySelectorAll("img.ui-hvframes").forEach((e) => {
- e.closest(Us) !== t && (e.removeAttribute("src"), e.remove());
+ e.closest(Vs) !== t && (e.removeAttribute("src"), e.remove());
}));
}
-function Js(e) {
- e._stopHover?.(), qs(e);
+function Ks(e) {
+ e._stopHover?.(), Gs(e);
}
-function Ys(e, t, n) {
+function qs(e, t, n) {
n ? e.dataset[t] = "" : delete e.dataset[t];
}
-function iee(e, t) {
+function Js(e, t) {
let n = e, r = e.querySelector("[data-media-pic]");
if (!r) return;
e.dataset.hoverMode = t.location === "local" ? "video" : "frames";
let i, a = () => {
- clearTimeout(i), Ws.delaySeconds() && (Ys(e, "previewing", !0), i = setTimeout(() => {
- Ws.delaySeconds() && Ys(e, "longhover", !0);
- }, Ws.delaySeconds() * 1e3));
+ clearTimeout(i), Hs.delaySeconds() && (qs(e, "previewing", !0), i = setTimeout(() => {
+ Hs.delaySeconds() && qs(e, "longhover", !0);
+ }, Hs.delaySeconds() * 1e3));
}, o = () => {
- clearTimeout(i), Ys(e, "previewing", !1), Ys(e, "longhover", !1);
+ clearTimeout(i), qs(e, "previewing", !1), qs(e, "longhover", !1);
};
if (t.location !== "local") {
if (!t.has_thumb) return;
let i, s = 4, c = null, l = !1;
e.addEventListener("mouseenter", () => {
- Ws.selecting() || Ws.censored() || (a(), c || (c = document.createElement("img"), c.className = "ui-hvframes", c.alt = "", c.src = `/poster?id=${t.id}&c=${s}`, r.appendChild(c)), clearInterval(i), i = setInterval(() => {
+ Hs.selecting() || Hs.censored() || (a(), c || (c = document.createElement("img"), c.className = "ui-hvframes", c.alt = "", c.src = `/poster?id=${t.id}&c=${s}`, r.appendChild(c)), clearInterval(i), i = setInterval(() => {
if (!c || l) return;
let e = (s + 1) % 9, n = new Image();
l = !0, n.onload = () => {
@@ -13382,9 +13367,9 @@ function iee(e, t) {
}
let s, c = null;
e.addEventListener("mouseenter", () => {
- Ws.selecting() || Ws.censored() || Ks() || (s = setTimeout(() => {
- if (Ks() || Ws.censored()) return;
- qs(document, e);
+ Hs.selecting() || Hs.censored() || Ws() || (s = setTimeout(() => {
+ if (Ws() || Hs.censored()) return;
+ Gs(document, e);
let n = document.createElement("video");
c = n, n.className = "hv", n.muted = !0, n.playsInline = !0, n.loop = !0, n.preload = "metadata", n.src = "/stream?id=" + t.id;
let i = [
@@ -13414,7 +13399,7 @@ function iee(e, t) {
}
//#endregion
//#region src/core/tags.ts
-var Xs = {
+var Ys = {
"1080P": "1080p",
"60fps": "60FPS",
AI去码: "AI解码",
@@ -13427,22 +13412,22 @@ var Xs = {
"3P多人": "3P",
双洞齐插: "双洞齐下",
毒龙: "毒龙钻"
-}, Zs = (e) => Xs[e] || e;
+}, Xs = (e) => Ys[e] || e;
//#endregion
//#region src/react/follow-feed/follow-helpers.ts
-function Qs([e, t, , n, r]) {
- return n ? `<img src="/work-icon?work=${encodeURIComponent(e)}" width="128" height="128" alt="" loading="lazy"${aa(r)}${oa(r)}>` : R(qt(t, 2));
+function Zs([e, t, , n, r]) {
+ return n ? `<img src="/work-icon?work=${encodeURIComponent(e)}" width="128" height="128" alt="" loading="lazy"${aa(r)}${oa(r)}>` : R(Gt(t, 2));
}
-function $s(e) {
+function Qs(e) {
return {
...e,
- workMark: Qs,
- tagLabel: Zs
+ workMark: Zs,
+ tagLabel: Xs
};
}
//#endregion
//#region src/sidebar.ts
-var ec = [
+var $s = [
"",
"follow",
"jav",
@@ -13451,7 +13436,7 @@ var ec = [
"studios",
"flagged",
"manage"
-], tc = [
+], ec = [
"playlists",
"immerse",
"stats",
@@ -13460,12 +13445,12 @@ var ec = [
"trash",
"follow-manage",
"quality"
-], nc = /* @__PURE__ */ new Set([...ec, ...tc]), rc = (e) => e === "ads" || e === "dupes" ? "data-cleanup" : e;
-function ic(e) {
- let t = Array.isArray(e) ? e.filter((e) => typeof e == "string") : [], n = [...new Set(t.map(rc))].filter((e) => nc.has(e));
- return n.length ? n : [...ec];
+], tc = /* @__PURE__ */ new Set([...$s, ...ec]), oee = (e) => e === "ads" || e === "dupes" ? "data-cleanup" : e;
+function see(e) {
+ let t = Array.isArray(e) ? e.filter((e) => typeof e == "string") : [], n = [...new Set(t.map(oee))].filter((e) => tc.has(e));
+ return n.length ? n : [...$s];
}
-function ac(e) {
+function nc(e) {
return [
"/",
"/unseen",
@@ -13475,14 +13460,14 @@ function ac(e) {
"/junk-files"
].includes(e) || /^\/(item|mix|parts|editions)\//.test(e) || /^\/playlists\/\d+\/\d+$/.test(e) || /^\/(performers|studios|creators|series|agencies)\/.+/.test(e);
}
-function oc(e) {
+function rc(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);
return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);
}
//#endregion
//#region src/react/follow-detail/follow-detail-actions.ts
-function sc(e, t) {
+function ic(e, t) {
return {
...t,
close: () => e.close(),
@@ -13497,70 +13482,70 @@ function sc(e, t) {
};
e.adoptView(i), e.rememberReturn(vi(i)), e.close();
},
- present: (t) => e.drawer({ tags: oc([{ tags: t.tags || [] }]) })
+ present: (t) => e.drawer({ tags: rc([{ tags: t.tags || [] }]) })
};
}
//#endregion
//#region src/shell/index.ts
-var U, cc, lc = null, uc = /* @__PURE__ */ new Set(), dc = /* @__PURE__ */ new Set(), fc = !1, pc = null, mc = null, hc = "", gc = "/", _c = null, vc = !1, yc = !1, bc = null, xc = null, Sc = null, Cc = "/follow", wc = "", Tc = null, Ec = !1, Dc = 0, Oc = 0, kc = !1, Ac = Math.floor(Math.random() * 4294967295), jc = 0, Mc = 0, Nc = 0, Pc = /* @__PURE__ */ new Set(), Fc = 0;
-function Ic(e) {
+var H, ac, oc = null, sc = /* @__PURE__ */ new Set(), cc = /* @__PURE__ */ new Set(), lc = !1, uc = null, dc = null, fc = "", pc = "/", mc = null, hc = !1, gc = !1, _c = null, vc = null, yc = null, bc = "/follow", xc = "", Sc = null, Cc = !1, wc = 0, Tc = 0, Ec = !1, Dc = Math.floor(Math.random() * 4294967295), Oc = 0, kc = 0, Ac = 0, jc = /* @__PURE__ */ new Set(), Mc = 0;
+function Nc(e) {
let t = (t) => Object.prototype.hasOwnProperty.call(e, t);
- t("state") && (U = e.state), t("barsContext") && (cc = e.barsContext), t("detailReturnBarsContext") && (lc = e.detailReturnBarsContext), t("selectMode") && (fc = e.selectMode), t("lastSelectedId") && (pc = e.lastSelectedId), t("followLastSelectedId") && (mc = e.followLastSelectedId), t("selectSurface") && (hc = e.selectSurface), t("detailReturnPath") && (gc = e.detailReturnPath), t("detailOriginAnchor") && (_c = e.detailOriginAnchor), t("detailOriginAbove") && (vc = e.detailOriginAbove), t("detailReturnNeedsRestore") && (yc = e.detailReturnNeedsRestore), t("activeQueue") && (bc = e.activeQueue), t("pendingQueueRoute") && (xc = e.pendingQueueRoute), t("presentedItem") && (Sc = e.presentedItem), t("followDetailReturnPath") && (Cc = e.followDetailReturnPath), t("configurationRequestedSection") && (wc = e.configurationRequestedSection), t("pageOpens") && (Dc = e.pageOpens), t("queueOpens") && (Oc = e.queueOpens), t("entityJavLayout") && (kc = e.entityJavLayout), t("followDiscoverySeed") && (Ac = e.followDiscoverySeed), t("followRevision") && (jc = e.followRevision), t("followScrollY") && (Mc = e.followScrollY), t("playlistsRevision") && (Nc = e.playlistsRevision), t("runtimeConfigurable") && (Tc = e.runtimeConfigurable), t("cameFromSetup") && (Ec = e.cameFromSetup), Lc();
+ t("state") && (H = e.state), t("barsContext") && (ac = e.barsContext), t("detailReturnBarsContext") && (oc = e.detailReturnBarsContext), t("selectMode") && (lc = e.selectMode), t("lastSelectedId") && (uc = e.lastSelectedId), t("followLastSelectedId") && (dc = e.followLastSelectedId), t("selectSurface") && (fc = e.selectSurface), t("detailReturnPath") && (pc = e.detailReturnPath), t("detailOriginAnchor") && (mc = e.detailOriginAnchor), t("detailOriginAbove") && (hc = e.detailOriginAbove), t("detailReturnNeedsRestore") && (gc = e.detailReturnNeedsRestore), t("activeQueue") && (_c = e.activeQueue), t("pendingQueueRoute") && (vc = e.pendingQueueRoute), t("presentedItem") && (yc = e.presentedItem), t("followDetailReturnPath") && (bc = e.followDetailReturnPath), t("configurationRequestedSection") && (xc = e.configurationRequestedSection), t("pageOpens") && (wc = e.pageOpens), t("queueOpens") && (Tc = e.queueOpens), t("entityJavLayout") && (Ec = e.entityJavLayout), t("followDiscoverySeed") && (Dc = e.followDiscoverySeed), t("followRevision") && (Oc = e.followRevision), t("followScrollY") && (kc = e.followScrollY), t("playlistsRevision") && (Ac = e.playlistsRevision), t("runtimeConfigurable") && (Sc = e.runtimeConfigurable), t("cameFromSetup") && (Cc = e.cameFromSetup), Pc();
}
-function Lc() {
- Fc += 1;
- for (let e of [...Pc]) e();
+function Pc() {
+ Mc += 1;
+ for (let e of [...jc]) e();
}
-function Rc(e) {
- return Pc.add(e), () => {
- Pc.delete(e);
+function Fc(e) {
+ return jc.add(e), () => {
+ jc.delete(e);
};
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs
-var zc = (0, b.createContext)({});
+var Ic = (0, b.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-constant.mjs
-function Bc(e) {
+function Lc(e) {
let t = (0, b.useRef)(null);
return t.current === null && (t.current = e()), t.current;
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs
-var Vc = typeof window < "u" ? b.useLayoutEffect : b.useEffect, Hc = /* @__PURE__ */ (0, b.createContext)(null);
+var Rc = typeof window < "u" ? b.useLayoutEffect : b.useEffect, zc = /* @__PURE__ */ (0, b.createContext)(null);
//#endregion
//#region node_modules/motion-utils/dist/es/array.mjs
-function Uc(e, t) {
+function Bc(e, t) {
e.indexOf(t) === -1 && e.push(t);
}
-function Wc(e, t) {
+function Vc(e, t) {
let n = e.indexOf(t);
n > -1 && e.splice(n, 1);
}
//#endregion
//#region node_modules/motion-utils/dist/es/clamp.mjs
-var Gc = (e, t, n) => n > t ? t : n < e ? e : n, Kc = {}, qc = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Jc = (e) => typeof e == "object" && !!e, Yc = (e) => /^0[^.\s]+$/u.test(e);
+var Hc = (e, t, n) => n > t ? t : n < e ? e : n, Uc = {}, Wc = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Gc = (e) => typeof e == "object" && !!e, Kc = (e) => /^0[^.\s]+$/u.test(e);
//#endregion
//#region node_modules/motion-utils/dist/es/memo.mjs
/*#__NO_SIDE_EFFECTS__*/
-function Xc(e) {
+function qc(e) {
let t;
return () => (t === void 0 && (t = e()), t);
}
//#endregion
//#region node_modules/motion-utils/dist/es/noop.mjs
-var Zc = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Qc = (...e) => e.reduce((e, t) => (n) => t(e(n))), $c = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
+var Jc = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Yc = (...e) => e.reduce((e, t) => (n) => t(e(n))), Xc = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
let r = t - e;
return r ? (n - e) / r : 1;
-}, el = class {
+}, Zc = class {
constructor() {
this.subscriptions = [];
}
add(e) {
- return Uc(this.subscriptions, e), () => this.remove(e);
+ return Bc(this.subscriptions, e), () => this.remove(e);
}
remove(e) {
- Wc(this.subscriptions, e);
+ Vc(this.subscriptions, e);
}
notify(e, t, n) {
let r = this.subscriptions.length;
@@ -13578,42 +13563,42 @@ var Zc = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Qc = (...e) => e.reduce((e, t) =>
clear() {
this.subscriptions.length = 0;
}
-}, tl = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, nl = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, rl = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, il = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, al = 1e-7, aee = 12;
-function ol(e, t, n, r, i) {
+}, Qc = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, $c = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, el = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, tl = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, nl = 1e-7, rl = 12;
+function il(e, t, n, r, i) {
let a, o, s = 0;
do
- o = t + (n - t) / 2, a = il(o, r, i) - e, a > 0 ? n = o : t = o;
- while (Math.abs(a) > al && ++s < aee);
+ o = t + (n - t) / 2, a = tl(o, r, i) - e, a > 0 ? n = o : t = o;
+ while (Math.abs(a) > nl && ++s < rl);
return o;
}
/*#__NO_SIDE_EFFECTS__*/
-function sl(e, t, n, r) {
- if (e === t && n === r) return Zc;
- let i = (t) => ol(t, 0, 1, e, n);
- return (e) => e === 0 || e === 1 ? e : il(i(e), t, r);
+function al(e, t, n, r) {
+ if (e === t && n === r) return Jc;
+ let i = (t) => il(t, 0, 1, e, n);
+ return (e) => e === 0 || e === 1 ? e : tl(i(e), t, r);
}
//#endregion
//#region node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs
-var cl = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, ll = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), ul = /*@__PURE__*/ sl(.33, 1.53, .69, .99), dl = /*@__PURE__*/ ll(ul), fl = /*@__PURE__*/ cl(dl), pl = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * dl(e) : .5 * (2 - 2 ** (-10 * (e - 1))), ml = (e) => 1 - Math.sin(Math.acos(e)), hl = /* @__PURE__ */ ll(ml), gl = /* @__PURE__ */ cl(ml), _l = /*@__PURE__*/ sl(.42, 0, 1, 1), vl = /*@__PURE__*/ sl(0, 0, .58, 1), yl = /*@__PURE__*/ sl(.42, 0, .58, 1), bl = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", xl = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", Sl = {
- linear: Zc,
- easeIn: _l,
- easeInOut: yl,
- easeOut: vl,
- circIn: ml,
- circInOut: gl,
- circOut: hl,
- backIn: dl,
- backInOut: fl,
- backOut: ul,
- anticipate: pl
-}, Cl = (e) => typeof e == "string", wl = (e) => {
- if (/* @__PURE__ */ xl(e)) {
+var ol = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, sl = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), cl = /*@__PURE__*/ al(.33, 1.53, .69, .99), ll = /*@__PURE__*/ sl(cl), ul = /*@__PURE__*/ ol(ll), dl = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * ll(e) : .5 * (2 - 2 ** (-10 * (e - 1))), fl = (e) => 1 - Math.sin(Math.acos(e)), pl = /* @__PURE__ */ sl(fl), ml = /* @__PURE__ */ ol(fl), hl = /*@__PURE__*/ al(.42, 0, 1, 1), gl = /*@__PURE__*/ al(0, 0, .58, 1), _l = /*@__PURE__*/ al(.42, 0, .58, 1), vl = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", yl = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", bl = {
+ linear: Jc,
+ easeIn: hl,
+ easeInOut: _l,
+ easeOut: gl,
+ circIn: fl,
+ circInOut: ml,
+ circOut: pl,
+ backIn: ll,
+ backInOut: ul,
+ backOut: cl,
+ anticipate: dl
+}, xl = (e) => typeof e == "string", Sl = (e) => {
+ if (/* @__PURE__ */ yl(e)) {
e.length;
let [t, n, r, i] = e;
- return /* @__PURE__ */ sl(t, n, r, i);
+ return /* @__PURE__ */ al(t, n, r, i);
}
- return Cl(e) ? (Sl[e], `${e}`, Sl[e]) : e;
-}, Tl = [
+ return xl(e) ? (bl[e], `${e}`, bl[e]) : e;
+}, Cl = [
"setup",
"read",
"resolveKeyframes",
@@ -13625,7 +13610,7 @@ var cl = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 -
];
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/render-step.mjs
-function El(e) {
+function wl(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a = /* @__PURE__ */ new Set(), o = {
delta: 0,
timestamp: 0,
@@ -13656,25 +13641,25 @@ function El(e) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/batcher.mjs
-var Dl = 40;
-function Ol(e, t) {
+var Tl = 40;
+function El(e, t) {
let n = !1, r = !0, i = {
delta: 0,
timestamp: 0,
isProcessing: !1
- }, a = () => n = !0, o = Tl.reduce((e, t) => (e[t] = El(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
- let a = Kc.useManualTiming, o = a ? i.timestamp : performance.now();
- n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, Dl), 1)), i.timestamp = o, i.isProcessing = !0, s.process(i), c.process(i), l.process(i), u.process(i), d.process(i), f.process(i), p.process(i), m.process(i), i.isProcessing = !1, n && t && (r = !1, e(h));
+ }, a = () => n = !0, o = Cl.reduce((e, t) => (e[t] = wl(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
+ let a = Uc.useManualTiming, o = a ? i.timestamp : performance.now();
+ n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, Tl), 1)), i.timestamp = o, i.isProcessing = !0, s.process(i), c.process(i), l.process(i), u.process(i), d.process(i), f.process(i), p.process(i), m.process(i), i.isProcessing = !1, n && t && (r = !1, e(h));
}, g = () => {
n = !0, r = !0, i.isProcessing || e(h);
};
return {
- schedule: Tl.reduce((e, t) => {
+ schedule: Cl.reduce((e, t) => {
let r = o[t];
return e[t] = (e, t = !1, i = !1) => (n || g(), r.schedule(e, t, i)), e;
}, {}),
cancel: (e) => {
- for (let t = 0; t < Tl.length; t++) o[Tl[t]].cancel(e);
+ for (let t = 0; t < Cl.length; t++) o[Cl[t]].cancel(e);
},
state: i,
steps: o
@@ -13682,59 +13667,59 @@ function Ol(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/frame.mjs
-var { schedule: kl, cancel: Al, state: jl, steps: Ml } = /* @__PURE__ */ Ol(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Zc, !0), Nl;
-function Pl() {
- Nl = void 0;
+var { schedule: Dl, cancel: Ol, state: kl, steps: Al } = /* @__PURE__ */ El(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Jc, !0), jl;
+function Ml() {
+ jl = void 0;
}
-var Fl = {
- now: () => (Nl === void 0 && Fl.set(jl.isProcessing || Kc.useManualTiming ? jl.timestamp : performance.now()), Nl),
+var Nl = {
+ now: () => (jl === void 0 && Nl.set(kl.isProcessing || Uc.useManualTiming ? kl.timestamp : performance.now()), jl),
set: (e) => {
- Nl = e, queueMicrotask(Pl);
+ jl = e, queueMicrotask(Ml);
}
-}, Il = (e) => Math.round(e * 1e5) / 1e5, Ll = (e) => (t) => typeof t == "string" && t.startsWith(e), Rl = /*@__PURE__*/ Ll("--"), zl = /*@__PURE__*/ Ll("var(--"), Bl = (e) => zl(e) ? Vl.test(e.split("/*")[0].trim()) : !1, Vl = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
-function Hl(e) {
+}, Pl = (e) => Math.round(e * 1e5) / 1e5, Fl = (e) => (t) => typeof t == "string" && t.startsWith(e), Il = /*@__PURE__*/ Fl("--"), Ll = /*@__PURE__*/ Fl("var(--"), Rl = (e) => Ll(e) ? zl.test(e.split("/*")[0].trim()) : !1, zl = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
+function Bl(e) {
return typeof e == "string" && e.split("/*")[0].includes("var(--");
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/numbers/index.mjs
-var Ul = {
+var Vl = {
test: (e) => typeof e == "number",
parse: parseFloat,
transform: (e) => e
-}, Wl = {
- ...Ul,
- transform: (e) => Gc(0, 1, e)
-}, Gl = {
- ...Ul,
+}, Hl = {
+ ...Vl,
+ transform: (e) => Hc(0, 1, e)
+}, Ul = {
+ ...Vl,
default: 1
-}, Kl = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
+}, Wl = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs
-function ql(e) {
+function Gl(e) {
return e == null;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs
-var Jl = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Yl = (e, t) => (n) => !!(typeof n == "string" && Jl.test(n) && n.startsWith(e) || t && !ql(n) && Object.prototype.hasOwnProperty.call(n, t)), Xl = (e, t, n) => (r) => {
+var Kl = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, ql = (e, t) => (n) => !!(typeof n == "string" && Kl.test(n) && n.startsWith(e) || t && !Gl(n) && Object.prototype.hasOwnProperty.call(n, t)), Jl = (e, t, n) => (r) => {
if (typeof r != "string") return r;
- let [i, a, o, s] = r.match(Kl);
+ let [i, a, o, s] = r.match(Wl);
return {
[e]: parseFloat(i),
[t]: parseFloat(a),
[n]: parseFloat(o),
alpha: s === void 0 ? 1 : parseFloat(s)
};
-}, Zl = (e) => Gc(0, 255, e), Ql = {
- ...Ul,
- transform: (e) => Math.round(Zl(e))
-}, $l = {
- test: /*@__PURE__*/ Yl("rgb", "red"),
- parse: /*@__PURE__*/ Xl("red", "green", "blue"),
- transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Ql.transform(e) + ", " + Ql.transform(t) + ", " + Ql.transform(n) + ", " + Il(Wl.transform(r)) + ")"
+}, Yl = (e) => Hc(0, 255, e), Xl = {
+ ...Vl,
+ transform: (e) => Math.round(Yl(e))
+}, Zl = {
+ test: /*@__PURE__*/ ql("rgb", "red"),
+ parse: /*@__PURE__*/ Jl("red", "green", "blue"),
+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Xl.transform(e) + ", " + Xl.transform(t) + ", " + Xl.transform(n) + ", " + Pl(Hl.transform(r)) + ")"
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hex.mjs
-function eu(e) {
+function Ql(e) {
let t = "", n = "", r = "", i = "";
return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {
red: parseInt(t, 16),
@@ -13743,40 +13728,40 @@ function eu(e) {
alpha: i ? parseInt(i, 16) / 255 : 1
};
}
-var tu = {
- test: /*@__PURE__*/ Yl("#"),
- parse: eu,
- transform: $l.transform
-}, nu = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
+var $l = {
+ test: /*@__PURE__*/ ql("#"),
+ parse: Ql,
+ transform: Zl.transform
+}, eu = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
parse: parseFloat,
transform: (t) => `${t}${e}`
-}), ru = /*@__PURE__*/ nu("deg"), iu = /*@__PURE__*/ nu("%"), au = /*@__PURE__*/ nu("px"), ou = /*@__PURE__*/ nu("vh"), su = /*@__PURE__*/ nu("vw"), cu = {
- ...iu,
- parse: (e) => iu.parse(e) / 100,
- transform: (e) => iu.transform(e * 100)
-}, lu = {
- test: /*@__PURE__*/ Yl("hsl", "hue"),
- parse: /*@__PURE__*/ Xl("hue", "saturation", "lightness"),
- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + iu.transform(Il(t)) + ", " + iu.transform(Il(n)) + ", " + Il(Wl.transform(r)) + ")"
-}, uu = {
- test: (e) => $l.test(e) || tu.test(e) || lu.test(e),
- parse: (e) => $l.test(e) ? $l.parse(e) : lu.test(e) ? lu.parse(e) : tu.parse(e),
- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? $l.transform(e) : lu.transform(e),
+}), tu = /*@__PURE__*/ eu("deg"), nu = /*@__PURE__*/ eu("%"), U = /*@__PURE__*/ eu("px"), ru = /*@__PURE__*/ eu("vh"), iu = /*@__PURE__*/ eu("vw"), au = {
+ ...nu,
+ parse: (e) => nu.parse(e) / 100,
+ transform: (e) => nu.transform(e * 100)
+}, ou = {
+ test: /*@__PURE__*/ ql("hsl", "hue"),
+ parse: /*@__PURE__*/ Jl("hue", "saturation", "lightness"),
+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + nu.transform(Pl(t)) + ", " + nu.transform(Pl(n)) + ", " + Pl(Hl.transform(r)) + ")"
+}, su = {
+ test: (e) => Zl.test(e) || $l.test(e) || ou.test(e),
+ parse: (e) => Zl.test(e) ? Zl.parse(e) : ou.test(e) ? ou.parse(e) : $l.parse(e),
+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Zl.transform(e) : ou.transform(e),
getAnimatableNone: (e) => {
- let t = uu.parse(e);
- return t.alpha = 0, uu.transform(t);
+ let t = su.parse(e);
+ return t.alpha = 0, su.transform(t);
}
-}, du = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, fu = /*@__PURE__*/ new RegExp(Kl.source), pu = /*@__PURE__*/ new RegExp(du.source, "i");
-function mu(e) {
- return isNaN(e) && typeof e == "string" && (fu.test(e) || pu.test(e));
+}, cu = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, lu = /*@__PURE__*/ new RegExp(Wl.source), uu = /*@__PURE__*/ new RegExp(cu.source, "i");
+function du(e) {
+ return isNaN(e) && typeof e == "string" && (lu.test(e) || uu.test(e));
}
-var hu = "number", gu = "color", _u = "var", vu = "var(", yu = "${}", bu = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
-function xu(e) {
+var fu = "number", pu = "color", mu = "var", hu = "var(", gu = "${}", _u = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
+function vu(e) {
let t = e.toString();
- return fu.test(t) || pu.test(t);
+ return lu.test(t) || uu.test(t);
}
-function Su(e) {
+function yu(e) {
let t = e.toString(), n = [], r = {
color: [],
number: [],
@@ -13784,51 +13769,51 @@ function Su(e) {
}, i = [], a = 0;
return {
values: n,
- split: t.replace(bu, (e) => (uu.test(e) ? (r.color.push(a), i.push(gu), n.push(uu.parse(e))) : e.startsWith(vu) ? (r.var.push(a), i.push(_u), n.push(e)) : (r.number.push(a), i.push(hu), n.push(parseFloat(e))), ++a, yu)).split(yu),
+ split: t.replace(_u, (e) => (su.test(e) ? (r.color.push(a), i.push(pu), n.push(su.parse(e))) : e.startsWith(hu) ? (r.var.push(a), i.push(mu), n.push(e)) : (r.number.push(a), i.push(fu), n.push(parseFloat(e))), ++a, gu)).split(gu),
indexes: r,
types: i
};
}
-function Cu(e) {
- return Su(e).values;
+function bu(e) {
+ return yu(e).values;
}
-function wu({ split: e, types: t }) {
+function xu({ split: e, types: t }) {
let n = e.length;
return (r) => {
let i = "";
for (let a = 0; a < n; a++) if (i += e[a], r[a] !== void 0) {
let e = t[a];
- i += e === hu ? Il(r[a]) : e === gu ? uu.transform(r[a]) : r[a];
+ i += e === fu ? Pl(r[a]) : e === pu ? su.transform(r[a]) : r[a];
}
return i;
};
}
+function Su(e) {
+ return xu(yu(e));
+}
+var Cu = (e) => typeof e == "number" ? 0 : su.test(e) ? su.getAnimatableNone(e) : e, wu = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : Cu(e);
function Tu(e) {
- return wu(Su(e));
-}
-var Eu = (e) => typeof e == "number" ? 0 : uu.test(e) ? uu.getAnimatableNone(e) : e, Du = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : Eu(e);
-function Ou(e) {
- let t = Su(e);
- return wu(t)(t.values.map((e, n) => Du(e, t.split[n])));
-}
-var ku = {
- test: mu,
- parse: Cu,
- createTransformer: Tu,
- getAnimatableNone: Ou
+ let t = yu(e);
+ return xu(t)(t.values.map((e, n) => wu(e, t.split[n])));
+}
+var Eu = {
+ test: du,
+ parse: bu,
+ createTransformer: Su,
+ getAnimatableNone: Tu
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs
-function Au(e, t, n) {
+function Du(e, t, n) {
return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
}
-function ju({ hue: e, saturation: t, lightness: n, alpha: r }) {
+function Ou({ hue: e, saturation: t, lightness: n, alpha: r }) {
e /= 360, t /= 100, n /= 100;
let i = 0, a = 0, o = 0;
if (!t) i = a = o = n;
else {
let r = n < .5 ? n * (1 + t) : n + t - n * t, s = 2 * n - r;
- i = Au(s, r, e + 1 / 3), a = Au(s, r, e), o = Au(s, r, e - 1 / 3);
+ i = Du(s, r, e + 1 / 3), a = Du(s, r, e), o = Du(s, r, e - 1 / 3);
}
return {
red: Math.round(i * 255),
@@ -13839,61 +13824,61 @@ function ju({ hue: e, saturation: t, lightness: n, alpha: r }) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/immediate.mjs
-function Mu(e, t) {
+function ku(e, t) {
return (n) => n > 0 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/number.mjs
-var Nu = (e, t, n) => e + (t - e) * n, Pu = (e, t, n) => {
+var Au = (e, t, n) => e + (t - e) * n, ju = (e, t, n) => {
let r = e * e, i = n * (t * t - r) + r;
return i < 0 ? 0 : Math.sqrt(i);
-}, Fu = [
- tu,
+}, Mu = [
$l,
- lu
-], Iu = (e) => Fu.find((t) => t.test(e));
-function Lu(e) {
- let t = Iu(e);
+ Zl,
+ ou
+], Nu = (e) => Mu.find((t) => t.test(e));
+function Pu(e) {
+ let t = Nu(e);
if (!t) return `${e}`, !1;
let n = t.parse(e);
- return t === lu && (n = ju(n)), n;
+ return t === ou && (n = Ou(n)), n;
}
-var Ru = (e, t) => {
- let n = Lu(e), r = Lu(t);
- if (!n || !r) return Mu(e, t);
+var Fu = (e, t) => {
+ let n = Pu(e), r = Pu(t);
+ if (!n || !r) return ku(e, t);
let i = { ...n };
- return (e) => (i.red = Pu(n.red, r.red, e), i.green = Pu(n.green, r.green, e), i.blue = Pu(n.blue, r.blue, e), i.alpha = Nu(n.alpha, r.alpha, e), $l.transform(i));
-}, zu = /* @__PURE__ */ new Set(["none", "hidden"]);
-function Bu(e, t) {
- return zu.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
+ return (e) => (i.red = ju(n.red, r.red, e), i.green = ju(n.green, r.green, e), i.blue = ju(n.blue, r.blue, e), i.alpha = Au(n.alpha, r.alpha, e), Zl.transform(i));
+}, Iu = /* @__PURE__ */ new Set(["none", "hidden"]);
+function Lu(e, t) {
+ return Iu.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/complex.mjs
-function Vu(e, t) {
- return (n) => Nu(e, t, n);
+function Ru(e, t) {
+ return (n) => Au(e, t, n);
}
-function Hu(e) {
- return typeof e == "number" ? Vu : typeof e == "string" ? Bl(e) ? Mu : uu.test(e) ? Ru : Ku : Array.isArray(e) ? Uu : typeof e == "object" ? uu.test(e) ? Ru : Wu : Mu;
+function zu(e) {
+ return typeof e == "number" ? Ru : typeof e == "string" ? Rl(e) ? ku : su.test(e) ? Fu : Uu : Array.isArray(e) ? Bu : typeof e == "object" ? su.test(e) ? Fu : Vu : ku;
}
-function Uu(e, t) {
- let n = [...e], r = n.length, i = e.map((e, n) => Hu(e)(e, t[n]));
+function Bu(e, t) {
+ let n = [...e], r = n.length, i = e.map((e, n) => zu(e)(e, t[n]));
return (e) => {
for (let t = 0; t < r; t++) n[t] = i[t](e);
return n;
};
}
-function Wu(e, t) {
+function Vu(e, t) {
let n = {
...e,
...t
}, r = {};
- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = Hu(e[i])(e[i], t[i]));
+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = zu(e[i])(e[i], t[i]));
return (e) => {
for (let t in r) n[t] = r[t](e);
return n;
};
}
-function Gu(e, t) {
+function Hu(e, t) {
let n = [], r = {
color: 0,
var: 0,
@@ -13905,61 +13890,61 @@ function Gu(e, t) {
}
return n;
}
-var Ku = (e, t) => {
- let n = ku.createTransformer(t), r = Su(e), i = Su(t);
- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? zu.has(e) && !i.values.length || zu.has(t) && !r.values.length ? Bu(e, t) : Qc(Uu(Gu(r, i), i.values), n) : (`${e}${t}`, Mu(e, t));
-}, qu = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;
-function oee(e, t) {
- let n = qu.exec(e);
+var Uu = (e, t) => {
+ let n = Eu.createTransformer(t), r = yu(e), i = yu(t);
+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? Iu.has(e) && !i.values.length || Iu.has(t) && !r.values.length ? Lu(e, t) : Yc(Bu(Hu(r, i), i.values), n) : (`${e}${t}`, ku(e, t));
+}, Wu = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;
+function Gu(e, t) {
+ let n = Wu.exec(e);
if (!n) return;
- let r = qu.exec(t);
+ let r = Wu.exec(t);
if (!r || n[2] !== r[2]) return;
let i = n[2], a = parseFloat(n[1]), o = parseFloat(r[1]);
- return (e) => Il(Nu(a, o, e)) + i;
+ return (e) => Pl(Au(a, o, e)) + i;
}
-function Ju(e, t, n) {
- if (typeof e == "number" && typeof t == "number" && typeof n == "number") return Nu(e, t, n);
+function Ku(e, t, n) {
+ if (typeof e == "number" && typeof t == "number" && typeof n == "number") return Au(e, t, n);
if (typeof e == "string" && typeof t == "string") {
- let n = oee(e, t);
+ let n = Gu(e, t);
if (n) return n;
}
- return Hu(e)(e, t);
+ return zu(e)(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/drivers/frame.mjs
-var Yu = (e) => {
+var qu = (e) => {
let t = ({ timestamp: t }) => e(t);
return {
- start: (e = !0) => kl.update(t, e),
- stop: () => Al(t),
- now: () => jl.isProcessing ? jl.timestamp : Fl.now()
+ start: (e = !0) => Dl.update(t, e),
+ stop: () => Ol(t),
+ now: () => kl.isProcessing ? kl.timestamp : Nl.now()
};
-}, Xu = (e, t, n = 10) => {
+}, Ju = (e, t, n = 10) => {
let r = "", i = Math.max(Math.round(t / n), 2);
for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";
return `linear(${r.substring(0, r.length - 2)})`;
-}, Zu = 2e4;
-function Qu(e, t = 50, n = Zu, r) {
+}, Yu = 2e4;
+function Xu(e, t = 50, n = Yu, r) {
let i = 0, a = e.next(i);
for (r?.push(a.value); !a.done && i < n;) i += t, a = e.next(i), r?.push(a.value);
return i >= n ? Infinity : i;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs
-function $u(e, t = 100, n) {
+function Zu(e, t = 100, n) {
let r = n({
...e,
keyframes: [0, t]
- }), i = Math.min(Qu(r), Zu);
+ }), i = Math.min(Xu(r), Yu);
return {
type: "keyframes",
ease: (e) => r.next(i * e).value / t,
- duration: /* @__PURE__ */ nl(i)
+ duration: /* @__PURE__ */ $c(i)
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs
-var ed = {
+var Qu = {
stiffness: 100,
damping: 10,
mass: 1,
@@ -13980,31 +13965,31 @@ var ed = {
minDamping: .05,
maxDamping: 1
};
-function td(e, t) {
+function $u(e, t) {
return e * Math.sqrt(1 - t * t);
}
-var nd = 12;
-function rd(e, t, n) {
+var ed = 12;
+function td(e, t, n) {
let r = n;
- for (let n = 1; n < nd; n++) r -= e(r) / t(r);
+ for (let n = 1; n < ed; n++) r -= e(r) / t(r);
return r;
}
-var id = .001;
-function ad({ duration: e = ed.duration, bounce: t = ed.bounce, velocity: n = ed.velocity, mass: r = ed.mass }) {
+var nd = .001;
+function rd({ duration: e = Qu.duration, bounce: t = Qu.bounce, velocity: n = Qu.velocity, mass: r = Qu.mass }) {
let i, a;
- ed.maxDuration;
+ Qu.maxDuration;
let o = 1 - t;
- o = Gc(ed.minDamping, ed.maxDamping, o), e = Gc(ed.minDuration, ed.maxDuration, /* @__PURE__ */ nl(e)), o < 1 ? (i = (t) => {
- let r = t * o, i = r * e, a = r - n, s = td(t, o), c = Math.exp(-i);
- return id - a / s * c;
+ o = Hc(Qu.minDamping, Qu.maxDamping, o), e = Hc(Qu.minDuration, Qu.maxDuration, /* @__PURE__ */ $c(e)), o < 1 ? (i = (t) => {
+ let r = t * o, i = r * e, a = r - n, s = $u(t, o), c = Math.exp(-i);
+ return nd - a / s * c;
}, a = (t) => {
- let r = t * o * e, a = r * n + n, s = o * o * t * t * e, c = Math.exp(-r), l = td(t * t, o);
- return (-i(t) + id > 0 ? -1 : 1) * ((a - s) * c) / l;
+ let r = t * o * e, a = r * n + n, s = o * o * t * t * e, c = Math.exp(-r), l = $u(t * t, o);
+ return (-i(t) + nd > 0 ? -1 : 1) * ((a - s) * c) / l;
}) : (i = (t) => -.001 + Math.exp(-t * e) * ((t - n) * e + 1), a = (t) => Math.exp(-t * e) * ((n - t) * (e * e)));
- let s = 5 / e, c = rd(i, a, s);
- if (e = /* @__PURE__ */ tl(e), isNaN(c)) return {
- stiffness: ed.stiffness,
- damping: ed.damping,
+ let s = 5 / e, c = td(i, a, s);
+ if (e = /* @__PURE__ */ Qc(e), isNaN(c)) return {
+ stiffness: Qu.stiffness,
+ damping: Qu.damping,
duration: e
};
{
@@ -14016,47 +14001,47 @@ function ad({ duration: e = ed.duration, bounce: t = ed.bounce, velocity: n = ed
};
}
}
-var od = ["duration", "bounce"], sd = [
+var id = ["duration", "bounce"], ad = [
"stiffness",
"damping",
"mass"
];
-function cd(e, t) {
+function od(e, t) {
return t.some((t) => e[t] !== void 0);
}
-function ld(e) {
+function sd(e) {
let t = {
- velocity: ed.velocity,
- stiffness: ed.stiffness,
- damping: ed.damping,
- mass: ed.mass,
+ velocity: Qu.velocity,
+ stiffness: Qu.stiffness,
+ damping: Qu.damping,
+ mass: Qu.mass,
isResolvedFromDuration: !1,
...e
};
- if (!cd(e, sd) && cd(e, od)) {
+ if (!od(e, ad) && od(e, id)) {
if (t.velocity = 0, e.visualDuration) {
- let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * Gc(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
+ let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * Hc(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
t = {
...t,
- mass: ed.mass,
+ mass: Qu.mass,
stiffness: i,
damping: a
};
} else {
- let n = ad({
+ let n = rd({
...e,
velocity: 0
});
t = {
...t,
...n,
- mass: ed.mass
+ mass: Qu.mass
}, t.isResolvedFromDuration = !0;
}
}
return t;
}
-function ud(e = ed.visualDuration, t = ed.bounce) {
+function cd(e = Qu.visualDuration, t = Qu.bounce) {
let n = typeof e == "object" ? e : {
visualDuration: e,
keyframes: [0, 1],
@@ -14064,10 +14049,10 @@ function ud(e = ed.visualDuration, t = ed.bounce) {
}, r = n.keyframes[0], i = n.keyframes[n.keyframes.length - 1], a = {
done: !1,
value: r
- }, { stiffness: o, damping: s, mass: c, duration: l, velocity: u, isResolvedFromDuration: d } = ld({
+ }, { stiffness: o, damping: s, mass: c, duration: l, velocity: u, isResolvedFromDuration: d } = sd({
...n,
- velocity: -/* @__PURE__ */ nl(n.velocity || 0)
- }), f = s / (2 * Math.sqrt(o * c)), p = /* @__PURE__ */ nl(Math.sqrt(o / c)), m = f * p, h = {
+ velocity: -/* @__PURE__ */ $c(n.velocity || 0)
+ }), f = s / (2 * Math.sqrt(o * c)), p = /* @__PURE__ */ $c(Math.sqrt(o / c)), m = f * p, h = {
target: i,
delta: i - r,
velocity: u || 0,
@@ -14075,12 +14060,12 @@ function ud(e = ed.visualDuration, t = ed.bounce) {
restDelta: 0
}, g = () => {
let e = Math.abs(h.delta) < 5;
- h.restSpeed = n.restSpeed || (e ? ed.restSpeed.granular : ed.restSpeed.default), h.restDelta = n.restDelta || (e ? ed.restDelta.granular : ed.restDelta.default);
+ h.restSpeed = n.restSpeed || (e ? Qu.restSpeed.granular : Qu.restSpeed.default), h.restDelta = n.restDelta || (e ? Qu.restDelta.granular : Qu.restDelta.default);
};
g();
let _, v, y;
if (f < 1) {
- let e = td(p, f), t = {
+ let e = $u(p, f), t = {
A: 0,
sinC: 0,
cosC: 0,
@@ -14121,36 +14106,36 @@ function ud(e = ed.visualDuration, t = ed.bounce) {
};
}
y();
- let b = !cd(n, sd) && cd(n, od), x = d && l || null, S = {
+ let b = !od(n, ad) && od(n, id), x = d && l || null, S = {
calculatedDuration: x,
retarget: (e, t) => {
- h.target = e[e.length - 1], h.delta = h.target - e[0], h.velocity = b ? 0 : -/* @__PURE__ */ nl(t), n.restSpeed && n.restDelta || g(), S.calculatedDuration = x, a.done = !1, y();
+ h.target = e[e.length - 1], h.delta = h.target - e[0], h.velocity = b ? 0 : -/* @__PURE__ */ $c(t), n.restSpeed && n.restDelta || g(), S.calculatedDuration = x, a.done = !1, y();
},
- velocity: (e) => /* @__PURE__ */ tl(v(e)),
+ velocity: (e) => /* @__PURE__ */ Qc(v(e)),
next: (e) => {
let t = _(e);
if (d) a.done = e >= l;
else {
- let n = /* @__PURE__ */ tl(v(e));
+ let n = /* @__PURE__ */ Qc(v(e));
a.done = Math.abs(n) <= h.restSpeed && Math.abs(h.target - t) <= h.restDelta;
}
return a.value = a.done ? h.target : t, a;
},
toString: () => {
- let e = Math.min(Qu(S), Zu), t = Xu((t) => S.next(e * t).value, e, 30);
+ let e = Math.min(Xu(S), Yu), t = Ju((t) => S.next(e * t).value, e, 30);
return e + "ms " + t;
},
toTransition: () => {}
};
return S;
}
-ud.applyToOptions = (e) => {
- let t = $u(e, 100, ud);
- return e.ease = t.ease, e.duration = /* @__PURE__ */ tl(t.duration), e.type = "keyframes", e;
+cd.applyToOptions = (e) => {
+ let t = Zu(e, 100, cd);
+ return e.ease = t.ease, e.duration = /* @__PURE__ */ Qc(t.duration), e.type = "keyframes", e;
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/inertia.mjs
-function dd({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
+function ld({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
let d = e[0], f = {
done: !1,
value: d
@@ -14160,7 +14145,7 @@ function dd({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
let t = v(e);
f.done = Math.abs(t) <= l, f.value = f.done ? _ : _ + t;
}, b, x, S = (e) => {
- p(f.value) && (b = e, x = ud({
+ p(f.value) && (b = e, x = cd({
keyframes: [f.value, m(f.value)],
velocity: -v(e) / r * 1e3,
damping: i,
@@ -14179,67 +14164,67 @@ function dd({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/interpolate.mjs
-function fd(e, t, n) {
- let r = [], i = n || Kc.mix || Ju, a = e.length - 1;
+function ud(e, t, n) {
+ let r = [], i = n || Uc.mix || Ku, a = e.length - 1;
for (let n = 0; n < a; n++) {
let a = i(e[n], e[n + 1]);
- t && (a = Qc(Array.isArray(t) ? t[n] || Zc : t, a)), r.push(a);
+ t && (a = Yc(Array.isArray(t) ? t[n] || Jc : t, a)), r.push(a);
}
return r;
}
-function pd(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
+function dd(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
let a = e.length;
if (t.length, a === 1) return () => t[0];
if (a === 2 && t[0] === t[1]) return () => t[1];
let o = e[0] === e[1];
e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());
- let s = fd(t, r, i), c = s.length, l = (n) => {
+ let s = ud(t, r, i), c = s.length, l = (n) => {
if (o && n < e[0]) return t[0];
let r = 0;
if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);
- let i = /* @__PURE__ */ $c(e[r], e[r + 1], n);
+ let i = /* @__PURE__ */ Xc(e[r], e[r + 1], n);
return s[r](i);
};
- return n ? (t) => l(Gc(e[0], e[a - 1], t)) : l;
+ return n ? (t) => l(Hc(e[0], e[a - 1], t)) : l;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs
-function md(e, t) {
+function fd(e, t) {
let n = e[e.length - 1];
for (let r = 1; r <= t; r++) {
- let i = /* @__PURE__ */ $c(0, t, r);
- e.push(Nu(n, 1, i));
+ let i = /* @__PURE__ */ Xc(0, t, r);
+ e.push(Au(n, 1, i));
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs
-function hd(e) {
+function pd(e) {
let t = [0];
- return md(t, e.length - 1), t;
+ return fd(t, e.length - 1), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs
-function gd(e, t) {
+function md(e, t) {
return e.map((e) => e * t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs
-function _d(e, t) {
- return e.map(() => t || yl).splice(0, e.length - 1);
+function hd(e, t) {
+ return e.map(() => t || _l).splice(0, e.length - 1);
}
-function vd({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
- let i = /* @__PURE__ */ bl(r) ? r.map(wl) : wl(r) || yl, a = {
+function gd({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
+ let i = /* @__PURE__ */ vl(r) ? r.map(Sl) : Sl(r) || _l, a = {
done: !1,
value: t[0]
};
if (t.length === 2 && !Array.isArray(i) && (!n || n.length !== 2 || n[0] === 0 && n[1] === 1)) {
- let [n, r] = t, o = n === r ? void 0 : (Kc.mix || Ju)(n, r);
+ let [n, r] = t, o = n === r ? void 0 : (Uc.mix || Ku)(n, r);
return {
calculatedDuration: e,
- next: (t) => (a.value = o ? o(i(e > 0 ? Gc(0, 1, t / e) : 1)) : r, a.done = t >= e, a)
+ next: (t) => (a.value = o ? o(i(e > 0 ? Hc(0, 1, t / e) : 1)) : r, a.done = t >= e, a)
};
}
- let o = pd(gd(n && n.length === t.length ? n : hd(t), e), t, { ease: Array.isArray(i) ? i : _d(t, i) });
+ let o = dd(md(n && n.length === t.length ? n : pd(t), e), t, { ease: Array.isArray(i) ? i : hd(t, i) });
return {
calculatedDuration: e,
next: (t) => (a.value = o(t), a.done = t >= e, a)
@@ -14247,49 +14232,49 @@ function vd({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs
-var yd = 5;
-function bd(e, t, n) {
- let r = Math.max(t - yd, 0);
- return /* @__PURE__ */ rl(n - e(r), t - r);
+var _d = 5;
+function vd(e, t, n) {
+ let r = Math.max(t - _d, 0);
+ return /* @__PURE__ */ el(n - e(r), t - r);
}
-function xd(e, t, n = 0) {
- return t <= 0 ? n : e.velocity ? e.velocity(t) : bd((t) => e.next(t).value, t, e.next(t).value);
+function yd(e, t, n = 0) {
+ return t <= 0 ? n : e.velocity ? e.velocity(t) : vd((t) => e.next(t).value, t, e.next(t).value);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs
-var Sd = (e) => e !== null;
-function Cd(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
- let a = e.filter(Sd), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
+var bd = (e) => e !== null;
+function xd(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
+ let a = e.filter(bd), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
return !o || r === void 0 ? a[o] : r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs
-var wd = {
- decay: dd,
- inertia: dd,
- tween: vd,
- keyframes: vd,
- spring: ud
+var Sd = {
+ decay: ld,
+ inertia: ld,
+ tween: gd,
+ keyframes: gd,
+ spring: cd
};
-function Td(e) {
- typeof e.type == "string" && (e.type = wd[e.type]);
+function Cd(e) {
+ typeof e.type == "string" && (e.type = Sd[e.type]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs
-function Ed(e, t) {
+function wd(e, t) {
return {
kind: e,
animation: t,
- timestamp: Fl.now(),
- frameTimestamp: jl.timestamp,
- frameIsProcessing: jl.isProcessing
+ timestamp: Nl.now(),
+ frameTimestamp: kl.timestamp,
+ frameIsProcessing: kl.isProcessing
};
}
-function Dd(e, t, n) {
+function Td(e, t, n) {
let r = globalThis.__MOTION_INSPECT__;
if (r) try {
r({
- ...Ed("animation-start", e),
+ ...wd("animation-start", e),
options: n ? {
...t,
...n
@@ -14297,18 +14282,18 @@ function Dd(e, t, n) {
});
} catch {}
}
-function Od(e, t) {
+function Ed(e, t) {
let n = globalThis.__MOTION_INSPECT__;
if (n) try {
n({
- ...Ed("layout-animation-start", e),
+ ...wd("layout-animation-start", e),
node: t
});
} catch {}
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs
-var kd = class {
+var Dd = class {
constructor() {
this.isResolved = !1;
}
@@ -14326,21 +14311,21 @@ var kd = class {
then(e, t) {
return this.finished.then(e, t);
}
-}, Ad = (e) => e / 100, jd = class extends kd {
+}, Od = (e) => e / 100, kd = class extends Dd {
constructor(e) {
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {
done: !1,
value: void 0
}, this.stop = () => {
let { motionValue: e } = this.options;
- e && e.updatedAt !== Fl.now() && this.tick(Fl.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
- }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Dd(this, this.options);
+ e && e.updatedAt !== Nl.now() && this.tick(Nl.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Td(this, this.options);
}
initAnimation() {
let { options: e } = this;
- Td(e);
- let { type: t = vd, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || vd;
- s !== vd && typeof o[0] != "number" && (this.mixKeyframes = Qc(Ad, Ju(o[0], o[1])), o = [0, 100]);
+ Cd(e);
+ let { type: t = gd, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || gd;
+ s !== gd && typeof o[0] != "number" && (this.mixKeyframes = Yc(Od, Ku(o[0], o[1])), o = [0, 100]);
let c = s(o === e.keyframes ? e : {
...e,
keyframes: o
@@ -14349,7 +14334,7 @@ var kd = class {
...e,
keyframes: [...o].reverse(),
velocity: -a
- })), c.calculatedDuration === null && (c.calculatedDuration = Qu(c));
+ })), c.calculatedDuration === null && (c.calculatedDuration = Xu(c));
let { calculatedDuration: l } = c;
this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;
}
@@ -14367,50 +14352,50 @@ var kd = class {
let v = this.currentTime, y = n;
if (u) {
let e = Math.min(this.currentTime, r) / o, t = Math.floor(e), n = e % 1;
- !n && e >= 1 && (n = 1), n === 1 && t--, t = Math.min(t, u + 1), t % 2 && (d === "reverse" ? (n = 1 - n, f && (n -= f / o)) : d === "mirror" && (y = a)), v = Gc(0, 1, n) * o;
+ !n && e >= 1 && (n = 1), n === 1 && t--, t = Math.min(t, u + 1), t % 2 && (d === "reverse" ? (n = 1 - n, f && (n -= f / o)) : d === "mirror" && (y = a)), v = Hc(0, 1, n) * o;
}
let b;
_ ? (this.delayState.value = l[0], b = this.delayState) : b = y.next(v), i && !_ && (b.value = i(b.value));
let { done: x } = b;
!_ && s !== null && (x = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
let S = this.holdTime === null && (this.state === "finished" || this.state === "running" && x);
- return S && p !== dd && (b.value = Cd(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
+ return S && p !== ld && (b.value = xd(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
}
then(e, t) {
return this.finished.then(e, t);
}
get duration() {
- return /* @__PURE__ */ nl(this.calculatedDuration);
+ return /* @__PURE__ */ $c(this.calculatedDuration);
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ nl(e);
+ return this.duration + /* @__PURE__ */ $c(e);
}
get time() {
- return /* @__PURE__ */ nl(this.currentTime);
+ return /* @__PURE__ */ $c(this.currentTime);
}
set time(e) {
- e = /* @__PURE__ */ tl(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
+ e = /* @__PURE__ */ Qc(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
}
getGeneratorVelocity() {
- return xd(this.generator, this.currentTime, this.options.velocity);
+ return yd(this.generator, this.currentTime, this.options.velocity);
}
get speed() {
return this.playbackSpeed;
}
set speed(e) {
let t = this.playbackSpeed !== e;
- t && this.driver && this.updateTime(Fl.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ nl(this.currentTime));
+ t && this.driver && this.updateTime(Nl.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ $c(this.currentTime));
}
play() {
if (this.isStopped) return;
- let { driver: e = Yu, startTime: t } = this.options;
+ let { driver: e = qu, startTime: t } = this.options;
this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();
let n = this.driver.now();
this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? n : this.startTime = n - this.holdTime, this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
}
pause() {
- this.state = "paused", this.updateTime(Fl.now()), this.holdTime = this.currentTime;
+ this.state = "paused", this.updateTime(Nl.now()), this.holdTime = this.currentTime;
}
complete() {
this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
@@ -14433,147 +14418,147 @@ var kd = class {
attachTimeline(e) {
return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);
}
-}, Md = /* @__PURE__ */ new Set([
+}, Ad = /* @__PURE__ */ new Set([
"brightness",
"contrast",
"saturate",
"opacity"
]);
-function Nd(e) {
+function jd(e) {
let [t, n] = e.slice(0, -1).split("(");
if (t === "drop-shadow") return e;
- let [r] = n.match(Kl) || [];
+ let [r] = n.match(Wl) || [];
if (!r) return e;
- let i = n.replace(r, ""), a = +!!Md.has(t);
+ let i = n.replace(r, ""), a = +!!Ad.has(t);
return r !== n && (a *= 100), t + "(" + a + i + ")";
}
-var Pd = /\b([a-z-]*)\(.*?\)/gu, Fd = {
- ...ku,
+var Md = /\b([a-z-]*)\(.*?\)/gu, Nd = {
+ ...Eu,
getAnimatableNone: (e) => {
- let t = e.match(Pd);
- return t ? t.map(Nd).join(" ") : e;
+ let t = e.match(Md);
+ return t ? t.map(jd).join(" ") : e;
}
-}, Id = {
- ...ku,
+}, Pd = {
+ ...Eu,
getAnimatableNone: (e) => {
- let t = ku.parse(e);
- return ku.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
+ let t = Eu.parse(e);
+ return Eu.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
...e,
alpha: 1
} : e));
}
-}, Ld = {
- ...Ul,
+}, Fd = {
+ ...Vl,
transform: Math.round
-}, Rd = {
- borderWidth: au,
- borderTopWidth: au,
- borderRightWidth: au,
- borderBottomWidth: au,
- borderLeftWidth: au,
- borderRadius: au,
- borderTopLeftRadius: au,
- borderTopRightRadius: au,
- borderBottomRightRadius: au,
- borderBottomLeftRadius: au,
- width: au,
- maxWidth: au,
- height: au,
- maxHeight: au,
- top: au,
- right: au,
- bottom: au,
- left: au,
- inset: au,
- insetBlock: au,
- insetBlockStart: au,
- insetBlockEnd: au,
- insetInline: au,
- insetInlineStart: au,
- insetInlineEnd: au,
- padding: au,
- paddingTop: au,
- paddingRight: au,
- paddingBottom: au,
- paddingLeft: au,
- paddingBlock: au,
- paddingBlockStart: au,
- paddingBlockEnd: au,
- paddingInline: au,
- paddingInlineStart: au,
- paddingInlineEnd: au,
- margin: au,
- marginTop: au,
- marginRight: au,
- marginBottom: au,
- marginLeft: au,
- marginBlock: au,
- marginBlockStart: au,
- marginBlockEnd: au,
- marginInline: au,
- marginInlineStart: au,
- marginInlineEnd: au,
- fontSize: au,
- backgroundPositionX: au,
- backgroundPositionY: au,
- rotate: ru,
- pathRotation: ru,
- rotateX: ru,
- rotateY: ru,
- rotateZ: ru,
- scale: Gl,
- scaleX: Gl,
- scaleY: Gl,
- scaleZ: Gl,
- skew: ru,
- skewX: ru,
- skewY: ru,
- distance: au,
- translateX: au,
- translateY: au,
- translateZ: au,
- x: au,
- y: au,
- z: au,
- perspective: au,
- transformPerspective: au,
- opacity: Wl,
- originX: cu,
- originY: cu,
- originZ: au,
- zIndex: Ld,
- fillOpacity: Wl,
- strokeOpacity: Wl,
- numOctaves: Ld
-}, zd = {
- ...Rd,
- color: uu,
- backgroundColor: uu,
- outlineColor: uu,
- fill: uu,
- stroke: uu,
- borderColor: uu,
- borderTopColor: uu,
- borderRightColor: uu,
- borderBottomColor: uu,
- borderLeftColor: uu,
- filter: Fd,
- WebkitFilter: Fd,
- mask: Id,
- WebkitMask: Id
-}, Bd = (e) => zd[e], Vd = /*@__PURE__*/ new Set([Fd, Id]);
-function Hd(e, t) {
- let n = Bd(e);
- return Vd.has(n) || (n = ku), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
+}, Id = {
+ borderWidth: U,
+ borderTopWidth: U,
+ borderRightWidth: U,
+ borderBottomWidth: U,
+ borderLeftWidth: U,
+ borderRadius: U,
+ borderTopLeftRadius: U,
+ borderTopRightRadius: U,
+ borderBottomRightRadius: U,
+ borderBottomLeftRadius: U,
+ width: U,
+ maxWidth: U,
+ height: U,
+ maxHeight: U,
+ top: U,
+ right: U,
+ bottom: U,
+ left: U,
+ inset: U,
+ insetBlock: U,
+ insetBlockStart: U,
+ insetBlockEnd: U,
+ insetInline: U,
+ insetInlineStart: U,
+ insetInlineEnd: U,
+ padding: U,
+ paddingTop: U,
+ paddingRight: U,
+ paddingBottom: U,
+ paddingLeft: U,
+ paddingBlock: U,
+ paddingBlockStart: U,
+ paddingBlockEnd: U,
+ paddingInline: U,
+ paddingInlineStart: U,
+ paddingInlineEnd: U,
+ margin: U,
+ marginTop: U,
+ marginRight: U,
+ marginBottom: U,
+ marginLeft: U,
+ marginBlock: U,
+ marginBlockStart: U,
+ marginBlockEnd: U,
+ marginInline: U,
+ marginInlineStart: U,
+ marginInlineEnd: U,
+ fontSize: U,
+ backgroundPositionX: U,
+ backgroundPositionY: U,
+ rotate: tu,
+ pathRotation: tu,
+ rotateX: tu,
+ rotateY: tu,
+ rotateZ: tu,
+ scale: Ul,
+ scaleX: Ul,
+ scaleY: Ul,
+ scaleZ: Ul,
+ skew: tu,
+ skewX: tu,
+ skewY: tu,
+ distance: U,
+ translateX: U,
+ translateY: U,
+ translateZ: U,
+ x: U,
+ y: U,
+ z: U,
+ perspective: U,
+ transformPerspective: U,
+ opacity: Hl,
+ originX: au,
+ originY: au,
+ originZ: U,
+ zIndex: Fd,
+ fillOpacity: Hl,
+ strokeOpacity: Hl,
+ numOctaves: Fd
+}, Ld = {
+ ...Id,
+ color: su,
+ backgroundColor: su,
+ outlineColor: su,
+ fill: su,
+ stroke: su,
+ borderColor: su,
+ borderTopColor: su,
+ borderRightColor: su,
+ borderBottomColor: su,
+ borderLeftColor: su,
+ filter: Nd,
+ WebkitFilter: Nd,
+ mask: Pd,
+ WebkitMask: Pd
+}, Rd = (e) => Ld[e], zd = /*@__PURE__*/ new Set([Nd, Pd]);
+function Bd(e, t) {
+ let n = Rd(e);
+ return zd.has(n) || (n = Eu), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs
-function Ud(e) {
+function Vd(e) {
for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs
-var Wd = (e) => e * 180 / Math.PI, Gd = (e) => qd(Wd(Math.atan2(e[1], e[0]))), Kd = {
+var Hd = (e) => e * 180 / Math.PI, Ud = (e) => Gd(Hd(Math.atan2(e[1], e[0]))), Wd = {
x: 4,
y: 5,
translateX: 4,
@@ -14581,54 +14566,54 @@ var Wd = (e) => e * 180 / Math.PI, Gd = (e) => qd(Wd(Math.atan2(e[1], e[0]))), K
scaleX: 0,
scaleY: 3,
scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
- rotate: Gd,
- rotateZ: Gd,
- skewX: (e) => Wd(Math.atan(e[1])),
- skewY: (e) => Wd(Math.atan(e[2])),
+ rotate: Ud,
+ rotateZ: Ud,
+ skewX: (e) => Hd(Math.atan(e[1])),
+ skewY: (e) => Hd(Math.atan(e[2])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
-}, qd = (e) => (e %= 360, e < 0 && (e += 360), e), Jd = Gd, Yd = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Xd = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), Zd = {
+}, Gd = (e) => (e %= 360, e < 0 && (e += 360), e), Kd = Ud, qd = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Jd = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), Yd = {
x: 12,
y: 13,
z: 14,
translateX: 12,
translateY: 13,
translateZ: 14,
- scaleX: Yd,
- scaleY: Xd,
- scale: (e) => (Yd(e) + Xd(e)) / 2,
- rotateX: (e) => qd(Wd(Math.atan2(e[6], e[5]))),
- rotateY: (e) => qd(Wd(Math.atan2(-e[2], e[0]))),
- rotateZ: Jd,
- rotate: Jd,
- skewX: (e) => Wd(Math.atan(e[4])),
- skewY: (e) => Wd(Math.atan(e[1])),
+ scaleX: qd,
+ scaleY: Jd,
+ scale: (e) => (qd(e) + Jd(e)) / 2,
+ rotateX: (e) => Gd(Hd(Math.atan2(e[6], e[5]))),
+ rotateY: (e) => Gd(Hd(Math.atan2(-e[2], e[0]))),
+ rotateZ: Kd,
+ rotate: Kd,
+ skewX: (e) => Hd(Math.atan(e[4])),
+ skewY: (e) => Hd(Math.atan(e[1])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
};
-function Qd(e) {
+function Xd(e) {
return +!!e.includes("scale");
}
-function $d(e, t) {
- if (!e || e === "none") return Qd(t);
+function Zd(e, t) {
+ if (!e || e === "none") return Xd(t);
let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;
- if (n) r = Zd, i = n;
+ if (n) r = Yd, i = n;
else {
let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
- r = Kd, i = t;
+ r = Wd, i = t;
}
- if (!i) return Qd(t);
- let a = r[t], o = i[1].split(",").map(tf);
+ if (!i) return Xd(t);
+ let a = r[t], o = i[1].split(",").map($d);
return typeof a == "function" ? a(o) : o[a];
}
-var ef = (e, t) => {
+var Qd = (e, t) => {
let { transform: n = "none" } = getComputedStyle(e);
- return $d(n, t);
+ return Zd(n, t);
};
-function tf(e) {
+function $d(e) {
return parseFloat(e.trim());
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs
-var nf = [
+var ef = [
"transformPerspective",
"x",
"y",
@@ -14646,14 +14631,14 @@ var nf = [
"skew",
"skewX",
"skewY"
-], rf = /* @__PURE__ */ new Set([...nf, "pathRotation"]), af = (e) => e === Ul || e === au, see = /* @__PURE__ */ new Set([
+], tf = /* @__PURE__ */ new Set([...ef, "pathRotation"]), nf = (e) => e === Vl || e === U, rf = /* @__PURE__ */ new Set([
"x",
"y",
"z"
-]), of = nf.filter((e) => !see.has(e));
-function sf(e) {
+]), af = ef.filter((e) => !rf.has(e));
+function of(e) {
let t = [];
- return of.forEach((n) => {
+ return af.forEach((n) => {
let r = e.getValue(n);
if (r !== void 0) {
let e = r.get(), i = +!!n.startsWith("scale");
@@ -14662,16 +14647,16 @@ function sf(e) {
}
}), t;
}
-var cf = /* @__PURE__ */ new Set(["bottom", "right"]);
-function lf(e, t, n, r, i, a) {
+var sf = /* @__PURE__ */ new Set(["bottom", "right"]);
+function cf(e, t, n, r, i, a) {
let o = parseFloat(e);
if (!isNaN(o)) return o;
let { min: s, max: c } = t()[n], l = c - s;
return a === "border-box" ? l : l - parseFloat(r) - parseFloat(i);
}
-var uf = {
- width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => lf(e, i, "x", t, n, r),
- height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => lf(e, i, "y", t, n, r),
+var lf = {
+ width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => cf(e, i, "x", t, n, r),
+ height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => cf(e, i, "y", t, n, r),
top: ({ top: e }) => parseFloat(e),
left: ({ left: e }) => parseFloat(e),
bottom: ({ top: e }, t) => {
@@ -14682,22 +14667,22 @@ var uf = {
let { x: n } = t();
return parseFloat(e) + (n.max - n.min);
},
- x: ({ transform: e }) => $d(e, "x"),
- y: ({ transform: e }) => $d(e, "y")
+ x: ({ transform: e }) => Zd(e, "x"),
+ y: ({ transform: e }) => Zd(e, "y")
};
-uf.translateX = uf.x, uf.translateY = uf.y;
+lf.translateX = lf.x, lf.translateY = lf.y;
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs
-var df = /* @__PURE__ */ new Set(), ff = !1, pf = !1, mf = !1;
-function hf() {
- if (pf) {
+var uf = /* @__PURE__ */ new Set(), df = !1, ff = !1, pf = !1;
+function mf() {
+ if (ff) {
let e = [], t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
- df.forEach((r) => {
- r.needsMeasurement && (e.push(r), t.add(r.element), cf.has(r.name) && n.add(r.element));
+ uf.forEach((r) => {
+ r.needsMeasurement && (e.push(r), t.add(r.element), sf.has(r.name) && n.add(r.element));
});
let r = /* @__PURE__ */ new Map();
n.forEach((e) => {
- let t = sf(e);
+ let t = of(e);
t.length && (r.set(e, t), e.render());
}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {
e.render();
@@ -14709,29 +14694,29 @@ function hf() {
e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
});
}
- pf = !1, ff = !1, df.forEach((e) => e.complete(mf)), df.clear();
+ ff = !1, df = !1, uf.forEach((e) => e.complete(pf)), uf.clear();
}
-function gf() {
- df.forEach((e) => {
- e.readKeyframes(), e.needsMeasurement && (pf = !0);
+function hf() {
+ uf.forEach((e) => {
+ e.readKeyframes(), e.needsMeasurement && (ff = !0);
});
}
-function _f() {
- mf = !0, gf(), hf(), mf = !1;
+function gf() {
+ pf = !0, hf(), mf(), pf = !1;
}
-function vf(e, t, n) {
+function _f(e, t, n) {
if (typeof e == "string") {
- if (qc(e) || Yc(e)) return parseFloat(e);
- if (!ku.test(e) && ku.test(n)) return Hd(t, n);
+ if (Wc(e) || Kc(e)) return parseFloat(e);
+ if (!Eu.test(e) && Eu.test(n)) return Bd(t, n);
}
return e ?? void 0;
}
-var yf = class {
+var vf = class {
constructor(e, t, n, r, i, a = !1) {
this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;
}
scheduleResolve() {
- this.state = "scheduled", this.isAsync ? (df.add(this), ff || (ff = !0, kl.read(gf), kl.resolveKeyframes(hf))) : (this.readKeyframes(), this.complete());
+ this.state = "scheduled", this.isAsync ? (uf.add(this), df || (df = !0, Dl.read(hf), Dl.resolveKeyframes(mf))) : (this.readKeyframes(), this.complete());
}
readKeyframes() {
let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;
@@ -14739,75 +14724,75 @@ var yf = class {
let i = r?.get(), a = e[e.length - 1];
if (i !== void 0) e[0] = i;
else if (n && t) {
- let r = vf(n.readValue(t, a), t, a);
+ let r = _f(n.readValue(t, a), t, a);
r !== void 0 && (e[0] = r);
}
e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);
}
- Ud(e);
+ Vd(e);
}
setFinalKeyframe() {}
measureInitialState() {}
renderEndStyles() {}
measureEndState() {}
complete(e = !1) {
- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), df.delete(this);
+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), uf.delete(this);
}
cancel() {
- this.state === "scheduled" && (df.delete(this), this.state = "pending");
+ this.state === "scheduled" && (uf.delete(this), this.state = "pending");
}
resume() {
this.state === "pending" && this.scheduleResolve();
}
-}, bf = (e) => e.startsWith("--");
+}, yf = (e) => e.startsWith("--");
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs
-function xf(e, t, n) {
- bf(t) ? e.style.setProperty(t, n) : e.style[t] = n;
+function bf(e, t, n) {
+ yf(t) ? e.style.setProperty(t, n) : e.style[t] = n;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs
-var Sf = {};
+var xf = {};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs
-function Cf(e, t) {
- let n = /* @__PURE__ */ Xc(e);
- return () => Sf[t] ?? n();
+function Sf(e, t) {
+ let n = /* @__PURE__ */ qc(e);
+ return () => xf[t] ?? n();
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
-var wf = /* @__PURE__ */ Cf(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Tf = /*@__PURE__*/ Cf(() => {
+var Cf = /* @__PURE__ */ Sf(() => window.ScrollTimeline !== void 0, "scrollTimeline"), wf = /*@__PURE__*/ Sf(() => {
try {
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
} catch {
return !1;
}
return !0;
-}, "linearEasing"), Ef = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Df = {
+}, "linearEasing"), Tf = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Ef = {
linear: "linear",
ease: "ease",
easeIn: "ease-in",
easeOut: "ease-out",
easeInOut: "ease-in-out",
- circIn: /*@__PURE__*/ Ef([
+ circIn: /*@__PURE__*/ Tf([
0,
.65,
.55,
1
]),
- circOut: /*@__PURE__*/ Ef([
+ circOut: /*@__PURE__*/ Tf([
.55,
0,
1,
.45
]),
- backIn: /*@__PURE__*/ Ef([
+ backIn: /*@__PURE__*/ Tf([
.31,
.01,
.66,
-.59
]),
- backOut: /*@__PURE__*/ Ef([
+ backOut: /*@__PURE__*/ Tf([
.33,
1.53,
.69,
@@ -14816,15 +14801,15 @@ var wf = /* @__PURE__ */ Cf(() => window.ScrollTimeline !== void 0, "scrollTimel
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
-function Of(e, t) {
- if (e) return typeof e == "function" ? Tf() ? Xu(e, t) : "ease-out" : /* @__PURE__ */ xl(e) ? Ef(e) : Array.isArray(e) ? e.map((e) => Of(e, t) || Df.easeOut) : Df[e];
+function Df(e, t) {
+ if (e) return typeof e == "function" ? wf() ? Ju(e, t) : "ease-out" : /* @__PURE__ */ yl(e) ? Tf(e) : Array.isArray(e) ? e.map((e) => Df(e, t) || Ef.easeOut) : Ef[e];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
-function kf(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
+function Of(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
let u = { [t]: n };
c && (u.offset = c);
- let d = Of(s, i);
+ let d = Df(s, i);
Array.isArray(d) && (u.easing = d);
let f = {
delay: r,
@@ -14838,29 +14823,29 @@ function kf(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyp
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs
-function Af(e) {
+function kf(e) {
return typeof e == "function" && "applyToOptions" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
-function jf({ type: e, ...t }) {
- return Af(e) && Tf() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
+function Af({ type: e, ...t }) {
+ return kf(e) && wf() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs
-var Mf = class extends kd {
+var jf = class extends Dd {
constructor(e) {
if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;
let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;
this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;
- let c = jf(e);
- this.animation = kf(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
+ let c = Af(e);
+ this.animation = Of(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
if (this.finishedTime = this.time, !i) {
- let e = Cd(r, this.options, o, this.speed);
- this.updateMotionValue && this.updateMotionValue(e), xf(t, n, e), this.animation.cancel();
+ let e = xd(r, this.options, o, this.speed);
+ this.updateMotionValue && this.updateMotionValue(e), bf(t, n, e), this.animation.cancel();
}
s?.(), this.notifyFinished();
- }, Dd(this, e, c);
+ }, Td(this, e, c);
}
play() {
this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());
@@ -14888,18 +14873,18 @@ var Mf = class extends kd {
}
get duration() {
let e = this.animation.effect?.getComputedTiming?.().duration || 0;
- return /* @__PURE__ */ nl(Number(e));
+ return /* @__PURE__ */ $c(Number(e));
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ nl(e);
+ return this.duration + /* @__PURE__ */ $c(e);
}
get time() {
- return /* @__PURE__ */ nl(Number(this.animation.currentTime) || 0);
+ return /* @__PURE__ */ $c(Number(this.animation.currentTime) || 0);
}
set time(e) {
let t = this.finishedTime !== null;
- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ tl(e), t && this.animation.pause();
+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Qc(e), t && this.animation.pause();
}
get speed() {
return this.animation.playbackRate;
@@ -14917,24 +14902,24 @@ var Mf = class extends kd {
this.manualStartTime = this.animation.startTime = e;
}
attachTimeline({ timeline: e, rangeStart: t, rangeEnd: n, observe: r }) {
- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && wf() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), Zc) : r(this);
+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Cf() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), Jc) : r(this);
}
-}, Nf = {
- anticipate: pl,
- backInOut: fl,
- circInOut: gl
+}, Mf = {
+ anticipate: dl,
+ backInOut: ul,
+ circInOut: ml
};
-function Pf(e) {
- return e in Nf;
+function cee(e) {
+ return e in Mf;
}
-function Ff(e) {
- typeof e.ease == "string" && Pf(e.ease) && (e.ease = Nf[e.ease]);
+function Nf(e) {
+ typeof e.ease == "string" && cee(e.ease) && (e.ease = Mf[e.ease]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs
-var If = 10, Lf = class extends Mf {
+var Pf = 10, lee = class extends jf {
constructor(e) {
- Ff(e), Td(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
+ Nf(e), Cd(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
}
updateMotionValue(e) {
let { motionValue: t, onUpdate: n, onComplete: r, element: i, ...a } = this.options;
@@ -14943,48 +14928,48 @@ var If = 10, Lf = class extends Mf {
t.set(e);
return;
}
- let o = new jd({
+ let o = new kd({
...a,
autoplay: !1
- }), s = Math.max(If, Fl.now() - this.startTime), c = Gc(0, If, s - If), l = o.sample(s).value, { name: u } = this.options;
- i && u && xf(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
+ }), s = Math.max(Pf, Nl.now() - this.startTime), c = Hc(0, Pf, s - Pf), l = o.sample(s).value, { name: u } = this.options;
+ i && u && bf(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
}
-}, Rf = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (ku.test(e) || e === "0") && !e.startsWith("url("));
+}, Ff = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Eu.test(e) || e === "0") && !e.startsWith("url("));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs
-function zf(e) {
+function If(e) {
let t = e[0];
if (e.length === 1) return !0;
for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;
}
-function Bf(e, t, n, r) {
+function Lf(e, t, n, r) {
let i = e[0];
if (i === null) return !1;
if (t === "display" || t === "visibility") return !0;
- let a = e[e.length - 1], o = Rf(i, t), s = Rf(a, t);
- return !o || !s ? (o !== s && `${t}${i}${a}${o ? a : i}`, !1) : zf(e) || (n === "spring" || Af(n)) && r;
+ let a = e[e.length - 1], o = Ff(i, t), s = Ff(a, t);
+ return !o || !s ? (o !== s && `${t}${i}${a}${o ? a : i}`, !1) : If(e) || (n === "spring" || kf(n)) && r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs
-function Vf(e) {
+function Rf(e) {
e.duration = 0, e.type = "keyframes";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs
-var Hf = /* @__PURE__ */ new Set([
+var zf = /* @__PURE__ */ new Set([
"opacity",
"clipPath",
"filter",
"transform",
"backgroundColor"
-]), Uf = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
-function Wf(e) {
- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Uf.test(e[t])) return !0;
+]), Bf = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
+function Vf(e) {
+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Bf.test(e[t])) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs
-var Gf = /* @__PURE__ */ new Set([
+var Hf = /* @__PURE__ */ new Set([
"color",
"backgroundColor",
"outlineColor",
@@ -14995,46 +14980,46 @@ var Gf = /* @__PURE__ */ new Set([
"borderRightColor",
"borderBottomColor",
"borderLeftColor"
-]), Kf = /*@__PURE__*/ Xc(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
-function qf(e) {
+]), Uf = /*@__PURE__*/ qc(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
+function Wf(e) {
let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e;
- if (!n || !(Hf.has(n) || Gf.has(n))) return !1;
+ if (!n || !(zf.has(n) || Hf.has(n))) return !1;
let c = t?.owner?.current;
if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;
let { onUpdate: l, transformTemplate: u } = t.owner.getProps();
- return Kf() && (Hf.has(n) || Gf.has(n) && Wf(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
+ return Uf() && (zf.has(n) || Hf.has(n) && Vf(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
-var Jf = 40, Yf = class extends kd {
+var Gf = 40, Kf = class extends Dd {
constructor(e) {
super(), this.stop = () => {
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
- }, this.createdAt = Fl.now();
+ }, this.createdAt = Nl.now();
let { keyframes: t, name: n, motionValue: r, element: i } = e, a = e;
a.autoplay ??= !0, a.delay ??= 0, a.type ??= "keyframes", a.repeat ??= 0, a.repeatDelay ??= 0, a.repeatType ??= "loop";
- let o = i?.KeyframeResolver || yf;
+ let o = i?.KeyframeResolver || vf;
this.keyframeResolver = new o(t, (e, t, n) => this.onKeyframesResolved(e, t, a, !n), n, r, i), this.keyframeResolver?.scheduleResolve();
}
onKeyframesResolved(e, t, n, r) {
this.keyframeResolver = void 0;
let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;
- this.resolvedAt = Fl.now();
+ this.resolvedAt = Nl.now();
let u = !0;
- Bf(e, i, a, o) || (u = !1, (Kc.instantAnimations || !s) && l?.(Cd(e, n, t)), e[0] = e[e.length - 1], Vf(n), n.repeat = 0);
- let d = r ? this.resolvedAt && this.resolvedAt - this.createdAt > Jf ? this.resolvedAt : this.createdAt : void 0, { onComplete: f } = n;
+ Lf(e, i, a, o) || (u = !1, (Uc.instantAnimations || !s) && l?.(xd(e, n, t)), e[0] = e[e.length - 1], Rf(n), n.repeat = 0);
+ let d = r ? this.resolvedAt && this.resolvedAt - this.createdAt > Gf ? this.resolvedAt : this.createdAt : void 0, { onComplete: f } = n;
n.startTime ??= d, n.finalKeyframe = t, n.keyframes = e, n.onComplete = () => {
f?.(), this.notifyFinished();
};
- let p = u && !c && qf(n), m;
+ let p = u && !c && Wf(n), m;
if (p) {
n.element = n.motionValue?.owner?.current;
try {
- m = new Lf(n);
+ m = new lee(n);
} catch {
- m = new jd(n);
+ m = new kd(n);
}
- } else m = new jd(n);
+ } else m = new kd(n);
this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
}
get finished() {
@@ -15044,7 +15029,7 @@ var Jf = 40, Yf = class extends kd {
return this.finished.finally(e).then(() => {});
}
get animation() {
- return this._animation || (this.keyframeResolver?.resume(), _f()), this._animation;
+ return this._animation || (this.keyframeResolver?.resume(), gf()), this._animation;
}
get duration() {
return this.animation.duration;
@@ -15085,7 +15070,7 @@ var Jf = 40, Yf = class extends kd {
cancel() {
this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();
}
-}, cee = class {
+}, qf = class {
constructor(e) {
this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
}
@@ -15125,10 +15110,10 @@ var Jf = 40, Yf = class extends kd {
return this.getAll("startTime");
}
get duration() {
- return Xf(this.animations, "duration");
+ return Jf(this.animations, "duration");
}
get iterationDuration() {
- return Xf(this.animations, "iterationDuration");
+ return Jf(this.animations, "iterationDuration");
}
runAll(e) {
this.animations.forEach((t) => t[e]());
@@ -15146,7 +15131,7 @@ var Jf = 40, Yf = class extends kd {
this.runAll("complete");
}
};
-function Xf(e, t) {
+function Jf(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) {
let i = e[r][t];
@@ -15156,32 +15141,32 @@ function Xf(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs
-var lee = class extends cee {
+var Yf = class extends qf {
then(e, t) {
return this.finished.finally(e).then(() => {});
}
-}, Zf = /* @__PURE__ */ new WeakMap(), Qf = (e, t = "") => `${e}:${t}`;
-function $f(e) {
- let t = Zf.get(e);
- return t || (t = /* @__PURE__ */ new Map(), Zf.set(e, t)), t;
+}, Xf = /* @__PURE__ */ new WeakMap(), uee = (e, t = "") => `${e}:${t}`;
+function Zf(e) {
+ let t = Xf.get(e);
+ return t || (t = /* @__PURE__ */ new Map(), Xf.set(e, t)), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
-function ep(e, t, n, r = 0, i = 1) {
+function Qf(e, t, n, r = 0, i = 1) {
let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;
return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/index.mjs
-var tp = 30, np = (e) => !isNaN(parseFloat(e)), rp = { current: void 0 }, uee = class {
+var $f = 30, ep = (e) => !isNaN(parseFloat(e)), tp = { current: void 0 }, dee = class {
constructor(e, t = {}) {
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
- let t = Fl.now();
+ let t = Nl.now();
if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.notifyChange(), this.dependents)) for (let e of this.dependents) e.dirty();
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
}
setCurrent(e) {
- this.current = e, this.updatedAt = Fl.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = np(this.current));
+ this.current = e, this.updatedAt = Nl.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = ep(this.current));
}
setPrevFrameValue(e = this.current) {
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -15191,16 +15176,16 @@ var tp = 30, np = (e) => !isNaN(parseFloat(e)), rp = { current: void 0 }, uee =
}
on(e, t) {
var n;
- return e === "change" ? this.onChangeSubscribe(t) : ((n = this.events)[e] || (n[e] = new el())).add(t);
+ return e === "change" ? this.onChangeSubscribe(t) : ((n = this.events)[e] || (n[e] = new Zc())).add(t);
}
onChangeSubscribe(e) {
let { events: t } = this;
- return !t.change && !this.changeSubscriber ? this.changeSubscriber = e : (t.change || (t.change = new el(), t.change.add(this.changeSubscriber), this.changeSubscriber = void 0), t.change.add(e)), () => {
+ return !t.change && !this.changeSubscriber ? this.changeSubscriber = e : (t.change || (t.change = new Zc(), t.change.add(this.changeSubscriber), this.changeSubscriber = void 0), t.change.add(e)), () => {
this.changeSubscriber === e ? this.changeSubscriber = void 0 : t.change?.remove(e), this.stopIfUnobserved();
};
}
stopIfUnobserved() {
- kl.read(() => {
+ Dl.read(() => {
!this.changeSubscriber && !this.events.change?.getSize() && this.stop();
});
}
@@ -15234,16 +15219,16 @@ var tp = 30, np = (e) => !isNaN(parseFloat(e)), rp = { current: void 0 }, uee =
this.dependents && this.dependents.delete(e);
}
get() {
- return rp.current && rp.current.push(this), this.current;
+ return tp.current && tp.current.push(this), this.current;
}
getPrevious() {
return this.prev;
}
getVelocity() {
- let e = Fl.now();
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > tp) return 0;
- let t = Math.min(this.updatedAt - this.prevUpdatedAt, tp);
- return /* @__PURE__ */ rl(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
+ let e = Nl.now();
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > $f) return 0;
+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, $f);
+ return /* @__PURE__ */ el(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
}
start(e) {
return this.stop(), new Promise((t) => {
@@ -15267,12 +15252,12 @@ var tp = 30, np = (e) => !isNaN(parseFloat(e)), rp = { current: void 0 }, uee =
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
}
};
-function ip(e, t) {
- return new uee(e, t);
+function np(e, t) {
+ return new dee(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
-function ap(e, t) {
+function rp(e, t) {
if (e?.inherit && t) {
let { inherit: n, ...r } = e;
return {
@@ -15284,26 +15269,26 @@ function ap(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
-function op(e, t) {
+function ip(e, t) {
let n = e?.[t] ?? e?.default ?? e;
- return n === e ? n : ap(n, e);
+ return n === e ? n : rp(n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
-var sp = {
+var ap = {
type: "spring",
stiffness: 500,
damping: 25,
restSpeed: 10
-}, cp = (e) => ({
+}, op = (e) => ({
type: "spring",
stiffness: 550,
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
restSpeed: 10
-}), lp = {
+}), sp = {
type: "keyframes",
duration: .8
-}, up = {
+}, cp = {
type: "keyframes",
ease: [
.25,
@@ -15312,7 +15297,7 @@ var sp = {
1
],
duration: .3
-}, dp = (e, { keyframes: t }) => t.length > 2 ? lp : rf.has(e) ? e.startsWith("scale") ? cp(t[1]) : sp : up, fp = /* @__PURE__ */ new Set([
+}, lp = (e, { keyframes: t }) => t.length > 2 ? sp : tf.has(e) ? e.startsWith("scale") ? op(t[1]) : ap : cp, up = /* @__PURE__ */ new Set([
"when",
"delay",
"delayChildren",
@@ -15324,15 +15309,15 @@ var sp = {
"from",
"elapsed"
]);
-function pp(e) {
- for (let t in e) if (!fp.has(t)) return !0;
+function dp(e) {
+ for (let t in e) if (!up.has(t)) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
-var mp = (e, t, n, r = {}, i, a) => (o) => {
- let s = op(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
- l -= /* @__PURE__ */ tl(c);
+var fp = (e, t, n, r = {}, i, a) => (o) => {
+ let s = ip(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
+ l -= /* @__PURE__ */ Qc(c);
let u = {
keyframes: Array.isArray(n) ? n : [null, n],
ease: "easeOut",
@@ -15349,161 +15334,161 @@ var mp = (e, t, n, r = {}, i, a) => (o) => {
motionValue: t,
element: a ? void 0 : i
};
- pp(s) || Object.assign(u, dp(e, u)), u.duration &&= /* @__PURE__ */ tl(u.duration), u.repeatDelay &&= /* @__PURE__ */ tl(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
+ dp(s) || Object.assign(u, lp(e, u)), u.duration &&= /* @__PURE__ */ Qc(u.duration), u.repeatDelay &&= /* @__PURE__ */ Qc(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
let d = !1;
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (Vf(u), u.delay === 0 && (d = !0)), (Kc.instantAnimations || Kc.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, Vf(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
- let e = Cd(u.keyframes, s);
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (Rf(u), u.delay === 0 && (d = !0)), (Uc.instantAnimations || Uc.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, Rf(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
+ let e = xd(u.keyframes, s);
if (e !== void 0) {
- kl.update(() => {
+ Dl.update(() => {
u.onUpdate(e), u.onComplete();
});
return;
}
}
- return s.isSync ? new jd(u) : new Yf(u);
-}, hp = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
-function gp(e) {
- let t = hp.exec(e);
+ return s.isSync ? new kd(u) : new Kf(u);
+}, pp = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
+function mp(e) {
+ let t = pp.exec(e);
if (!t) return [,];
let [, n, r, i] = t;
return [`--${n ?? r}`, i];
}
-function _p(e, t, n = 1) {
+function hp(e, t, n = 1) {
`${e}`;
- let [r, i] = gp(e);
+ let [r, i] = mp(e);
if (!r) return;
let a = window.getComputedStyle(t).getPropertyValue(r);
if (a) {
let e = a.trim();
- return qc(e) ? parseFloat(e) : e;
+ return Wc(e) ? parseFloat(e) : e;
}
- return Bl(i) ? _p(i, t, n + 1) : i;
+ return Rl(i) ? hp(i, t, n + 1) : i;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
-function vp(e) {
+function gp(e) {
let t = [{}, {}];
return e?.values.forEach((e, n) => {
t[0][n] = e.get(), t[1][n] = e.getVelocity();
}), t;
}
-function yp(e, t, n, r) {
+function _p(e, t, n, r) {
if (typeof t == "function") {
- let [i, a] = vp(r);
+ let [i, a] = gp(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
if (typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function") {
- let [i, a] = vp(r);
+ let [i, a] = gp(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
-function bp(e, t, n) {
+function vp(e, t, n) {
let r = e.getProps();
- return yp(r, t, n === void 0 ? r.custom : n, e);
+ return _p(r, t, n === void 0 ? r.custom : n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-position.mjs
-var xp = /* @__PURE__ */ new Set([
+var yp = /* @__PURE__ */ new Set([
"width",
"height",
"top",
"left",
"right",
"bottom",
- ...nf
-]), Sp = (e) => Array.isArray(e);
+ ...ef
+]), bp = (e) => Array.isArray(e);
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/setters.mjs
-function Cp(e, t, n) {
- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, ip(n));
+function xp(e, t, n) {
+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, np(n));
}
-function wp(e) {
- return Sp(e) ? e[e.length - 1] || 0 : e;
+function Sp(e) {
+ return bp(e) ? e[e.length - 1] || 0 : e;
}
-function Tp(e, t) {
- let { transitionEnd: n = {}, transition: r = {}, ...i } = bp(e, t) || {};
+function Cp(e, t) {
+ let { transitionEnd: n = {}, transition: r = {}, ...i } = vp(e, t) || {};
i = {
...i,
...n
};
- for (let t in i) Cp(e, t, wp(i[t]));
+ for (let t in i) xp(e, t, Sp(i[t]));
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
-var Ep = (e) => !!(e && e.getVelocity);
+var wp = (e) => !!(e && e.getVelocity);
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/is.mjs
-function Dp(e) {
- return !!(Ep(e) && e.add);
+function Tp(e) {
+ return !!(wp(e) && e.add);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
-function Op(e, t) {
+function Ep(e, t) {
let n = e.getValue("willChange");
- if (Dp(n)) return n.add(t);
- if (!n && Kc.WillChange) {
- let n = new Kc.WillChange("auto");
+ if (Tp(n)) return n.add(t);
+ if (!n && Uc.WillChange) {
+ let n = new Uc.WillChange("auto");
e.addValue("willChange", n), n.add(t);
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
-function kp(e) {
+function Dp(e) {
return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
}
-var Ap = "data-" + kp("framerAppearId");
+var Op = "data-" + Dp("framerAppearId");
//#endregion
//#region node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
-function jp(e) {
- return e.props[Ap];
+function kp(e) {
+ return e.props[Op];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
-var Mp = typeof window < "u";
-function Np({ protectedKeys: e, needsAnimating: t }, n) {
+var fee = typeof window < "u";
+function Ap({ protectedKeys: e, needsAnimating: t }, n) {
let r = e.hasOwnProperty(n) && t[n] !== !0;
return t[n] = !1, r;
}
-function Pp(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
+function jp(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
- a = a ? ap(a, c) : c;
+ a = a ? rp(a, c) : c;
let l = a?.reduceMotion, u = a?.skipAnimations;
r && (a = r);
let d = [], f = i && e.animationState && e.animationState.getState()[i], p = a?.path;
p && p.animateVisualElement(e, s, a, n, d);
for (let t in s) {
let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];
- if (i === void 0 || f && Np(f, t)) continue;
+ if (i === void 0 || f && Ap(f, t)) continue;
let o = {
delay: n,
- ...op(a || {}, t)
+ ...ip(a || {}, t)
};
u && (o.skipAnimations = !0);
let c = r.get();
if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {
- kl.update(() => r.set(i));
+ Dl.update(() => r.set(i));
continue;
}
let p = !1;
- if (Mp && window.MotionHandoffAnimation) {
- let n = jp(e);
+ if (fee && window.MotionHandoffAnimation) {
+ let n = kp(e);
if (n) {
- let e = window.MotionHandoffAnimation(n, t, kl);
+ let e = window.MotionHandoffAnimation(n, t, Dl);
e !== null && (o.startTime = e, p = !0);
}
}
- Op(e, t);
+ Ep(e, t);
let m = l ?? e.shouldReduceMotion;
- r.start(mp(t, r, i, m && xp.has(t) ? { type: !1 } : o, e, p));
+ r.start(fp(t, r, i, m && yp.has(t) ? { type: !1 } : o, e, p));
let h = r.animation;
h && d.push(h);
}
if (o) {
- let t = () => kl.update(() => {
- o && Tp(e, o);
+ let t = () => Dl.update(() => {
+ o && Cp(e, o);
});
d.length ? Promise.all(d).then(t) : t();
}
@@ -15511,12 +15496,12 @@ function Pp(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
-function Fp(e, t, n = {}) {
- let r = bp(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
+function Mp(e, t, n = {}) {
+ let r = vp(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
n.transitionOverride && (i = n.transitionOverride);
- let a = r ? () => Promise.all(Pp(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
+ let a = r ? () => Promise.all(jp(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
let { delayChildren: a = 0, staggerChildren: o, staggerDirection: s } = i;
- return Ip(e, t, r, a, o, s, n);
+ return Np(e, t, r, a, o, s, n);
} : () => Promise.resolve(), { when: s } = i;
if (s) {
let [e, t] = s === "beforeChildren" ? [a, o] : [o, a];
@@ -15524,26 +15509,26 @@ function Fp(e, t, n = {}) {
}
return Promise.all([a(), o(n.delay)]);
}
-function Ip(e, t, n = 0, r = 0, i = 0, a = 1, o) {
+function Np(e, t, n = 0, r = 0, i = 0, a = 1, o) {
let s = [];
- for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(Fp(c, t, {
+ for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(Mp(c, t, {
...o,
- delay: n + (typeof r == "function" ? 0 : r) + ep(e.variantChildren, c, r, i, a)
+ delay: n + (typeof r == "function" ? 0 : r) + Qf(e.variantChildren, c, r, i, a)
}).then(() => c.notify("AnimationComplete", t)));
return Promise.all(s);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs
-function Lp(e, t, n = {}) {
+function Pp(e, t, n = {}) {
e.notify("AnimationStart", t);
let r;
if (Array.isArray(t)) {
- let i = t.map((t) => Fp(e, t, n));
+ let i = t.map((t) => Mp(e, t, n));
r = Promise.all(i);
- } else if (typeof t == "string") r = Fp(e, t, n);
+ } else if (typeof t == "string") r = Mp(e, t, n);
else {
- let i = typeof t == "function" ? bp(e, t, n.custom) : t;
- r = Promise.all(Pp(e, i, n));
+ let i = typeof t == "function" ? vp(e, t, n.custom) : t;
+ r = Promise.all(jp(e, i, n));
}
return r.then(() => {
e.notify("AnimationComplete", t);
@@ -15551,41 +15536,41 @@ function Lp(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/auto.mjs
-var Rp = {
+var Fp = {
test: (e) => e === "auto",
parse: (e) => e
-}, zp = (e) => (t) => t.test(e), Bp = [
- Ul,
- au,
+}, Ip = (e) => (t) => t.test(e), Lp = [
+ Vl,
+ U,
+ nu,
+ tu,
iu,
ru,
- su,
- ou,
- Rp
-], Vp = (e) => Bp.find(zp(e));
+ Fp
+], Rp = (e) => Lp.find(Ip(e));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
-function dee(e) {
- return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || Yc(e);
+function zp(e) {
+ return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || Kc(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
-var fee = /* @__PURE__ */ new Set([
+var Bp = /* @__PURE__ */ new Set([
"auto",
"none",
"0"
]);
-function pee(e, t, n) {
+function Vp(e, t, n) {
let r = 0, i;
for (; r < e.length && !i;) {
let t = e[r];
- typeof t == "string" && !fee.has(t) && xu(t) && (i = e[r]), r++;
+ typeof t == "string" && !Bp.has(t) && vu(t) && (i = e[r]), r++;
}
- if (i && n) for (let r of t) e[r] !== i && (e[r] = Hd(n, i));
+ if (i && n) for (let r of t) e[r] !== i && (e[r] = Bd(n, i));
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
-var Hp = class extends yf {
+var Hp = class extends vf {
constructor(e, t, n, r, i) {
super(e, t, n, r, i, !0);
}
@@ -15595,32 +15580,32 @@ var Hp = class extends yf {
super.readKeyframes();
for (let n = 0; n < e.length; n++) {
let r = e[n];
- if (typeof r == "string" && (r = r.trim(), Bl(r))) {
- let i = _p(r, t.current);
+ if (typeof r == "string" && (r = r.trim(), Rl(r))) {
+ let i = hp(r, t.current);
i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);
}
}
- if (this.resolveNoneKeyframes(), !xp.has(n) || e.length !== 2) return;
+ if (this.resolveNoneKeyframes(), !yp.has(n) || e.length !== 2) return;
let [r, i] = e;
if (typeof r == "number" && typeof i == "number") return;
- let a = Vp(r), o = Vp(i);
- if (Hl(r) !== Hl(i) && uf[n]) this.needsMeasurement = !0;
+ let a = Rp(r), o = Rp(i);
+ if (Bl(r) !== Bl(i) && lf[n]) this.needsMeasurement = !0;
else if (a !== o) {
- if (af(a) && af(o)) for (let t = 0; t < e.length; t++) {
+ if (nf(a) && nf(o)) for (let t = 0; t < e.length; t++) {
let n = e[t];
typeof n == "string" && (e[t] = parseFloat(n));
}
- else uf[n] && (this.needsMeasurement = !0);
+ else lf[n] && (this.needsMeasurement = !0);
}
}
resolveNoneKeyframes() {
let { unresolvedKeyframes: e, name: t } = this, n = [];
- for (let t = 0; t < e.length; t++) (e[t] === null || dee(e[t])) && n.push(t);
- n.length && pee(e, n, t);
+ for (let t = 0; t < e.length; t++) (e[t] === null || zp(e[t])) && n.push(t);
+ n.length && Vp(e, n, t);
}
measure() {
let { element: e, name: t } = this;
- return uf[t](window.getComputedStyle(e.current), () => e.measureViewportBox());
+ return lf[t](window.getComputedStyle(e.current), () => e.measureViewportBox());
}
measureInitialState() {
let { element: e, unresolvedKeyframes: t, name: n } = this;
@@ -15643,7 +15628,7 @@ var Hp = class extends yf {
"borderTopRightRadius",
"borderBottomRightRadius",
"borderBottomLeftRadius"
-], mee = /* @__PURE__ */ new Set([
+], Wp = /* @__PURE__ */ new Set([
"borderWidth",
"borderTopWidth",
"borderRightWidth",
@@ -15694,25 +15679,25 @@ var Hp = class extends yf {
]);
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs
-function hee(e, t) {
- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && mee.has(t) && (e[n] = e[n] + "px");
+function Gp(e, t) {
+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Wp.has(t) && (e[n] = e[n] + "px");
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-html-element.mjs
-function Wp(e) {
- return Jc(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
+function Kp(e) {
+ return Gc(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
-function Gp(e) {
- return Jc(e) && "ownerSVGElement" in e;
+function qp(e) {
+ return Gc(e) && "ownerSVGElement" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs
-var Kp = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
+var Jp = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
//#endregion
//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function qp(e, t, n) {
+function Yp(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
@@ -15725,16 +15710,16 @@ function qp(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs
-var Jp = {
+var Xp = {
x: "translateX",
y: "translateY",
z: "translateZ",
transformPerspective: "perspective"
-}, Yp = nf.length;
-function Xp(e, t, n) {
+}, Zp = ef.length;
+function Qp(e, t, n) {
let r = "", i = !0;
- for (let a = 0; a < Yp; a++) {
- let o = nf[a], s = e[o];
+ for (let a = 0; a < Zp; a++) {
+ let o = ef[a], s = e[o];
if (s === void 0) continue;
let c = !0;
if (typeof s == "number") c = s === +!!o.startsWith("scale");
@@ -15743,53 +15728,53 @@ function Xp(e, t, n) {
c = o.startsWith("scale") ? e === 1 : e === 0;
}
if (!c || n) {
- let e = Kp(s, Rd[o]);
+ let e = Jp(s, Id[o]);
if (!c) {
i = !1;
- let t = Jp[o] || o;
+ let t = Xp[o] || o;
r += `${t}(${e}) `;
}
n && (t[o] = e);
}
}
let a = e.pathRotation;
- return a && (i = !1, r += `rotate(${Kp(a, Rd.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
+ return a && (i = !1, r += `rotate(${Jp(a, Id.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
-function Zp(e, t, n) {
+function $p(e, t, n) {
let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;
for (let e in t) {
let n = t[e];
- if (rf.has(e)) o = !0;
- else if (Rl(e)) i[e] = n;
+ if (tf.has(e)) o = !0;
+ else if (Il(e)) i[e] = n;
else {
- let t = Kp(n, Rd[e]);
+ let t = Jp(n, Id[e]);
e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;
}
}
- if (t.transform || (o || n ? r.transform = Xp(t, e.transform, n) : r.transform &&= "none"), s) {
+ if (t.transform || (o || n ? r.transform = Qp(t, e.transform, n) : r.transform &&= "none"), s) {
let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;
r.transformOrigin = `${e} ${t} ${n}`;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/path.mjs
-var Qp = {
+var em = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, $p = {
+}, tm = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function em(e, t, n = 1, r = 0, i = !0) {
+function nm(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? Qp : $p;
+ let a = i ? em : tm;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var tm = [
+var rm = [
"transform",
"opacity",
"offsetDistance",
@@ -15797,19 +15782,19 @@ var tm = [
"offsetRotate",
"offsetAnchor"
];
-function nm(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
- if (Zp(e, s, l), c) {
+function im(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+ if ($p(e, s, l), c) {
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
return;
}
e.attrs = e.style, e.style = {};
let { attrs: d, style: f } = e;
- for (let e of tm) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
- (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && em(d, i, a, o, !1);
+ for (let e of rm) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
+ (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && nm(d, i, a, o, !1);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function rm({ top: e, left: t, right: n, bottom: r }) {
+function am({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -15821,7 +15806,7 @@ function rm({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function im({ x: e, y: t }) {
+function om({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -15829,7 +15814,7 @@ function im({ x: e, y: t }) {
left: e.min
};
}
-function am(e, t) {
+function sm(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -15847,37 +15832,37 @@ function am(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function om(e) {
+function cm(e) {
return e === void 0 || e === 1;
}
-function sm({ scale: e, scaleX: t, scaleY: n }) {
- return !om(e) || !om(t) || !om(n);
+function lm({ scale: e, scaleX: t, scaleY: n }) {
+ return !cm(e) || !cm(t) || !cm(n);
}
-function cm(e) {
- return sm(e) || lm(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
+function um(e) {
+ return lm(e) || dm(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
}
-function lm(e) {
- return um(e.x) || um(e.y);
+function dm(e) {
+ return fm(e.x) || fm(e.y);
}
-function um(e) {
+function fm(e) {
return e && e !== "0%";
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function dm(e, t, n) {
+function pm(e, t, n) {
return n + t * (e - n);
}
-function fm(e, t, n, r, i) {
- return i !== void 0 && (e = dm(e, i, r)), dm(e, n, r) + t;
+function mm(e, t, n, r, i) {
+ return i !== void 0 && (e = pm(e, i, r)), pm(e, n, r) + t;
}
-function pm(e, t = 0, n = 1, r, i) {
- e.min = fm(e.min, t, n, r, i), e.max = fm(e.max, t, n, r, i);
+function hm(e, t = 0, n = 1, r, i) {
+ e.min = mm(e.min, t, n, r, i), e.max = mm(e.max, t, n, r, i);
}
-function mm(e, { x: t, y: n }) {
- pm(e.x, t.translate, t.scale, t.originPoint), pm(e.y, n.translate, n.scale, n.originPoint);
+function gm(e, { x: t, y: n }) {
+ hm(e.x, t.translate, t.scale, t.originPoint), hm(e.y, n.translate, n.scale, n.originPoint);
}
-var hm = .999999999999, gm = 1.0000000000001;
-function _m(e, t, n, r = !1) {
+var _m = .999999999999, vm = 1.0000000000001;
+function pee(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
@@ -15885,35 +15870,35 @@ function _m(e, t, n, r = !1) {
for (let s = 0; s < i; s++) {
a = n[s], o = a.projectionDelta;
let { visualElement: i } = a.options;
- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (vm(e.x, -a.scroll.offset.x), vm(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, mm(e, o)), r && cm(a.latestValues) && xm(e, a.latestValues, a.layout?.layoutBox));
+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (ym(e.x, -a.scroll.offset.x), ym(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, gm(e, o)), r && um(a.latestValues) && Sm(e, a.latestValues, a.layout?.layoutBox));
}
- t.x < gm && t.x > hm && (t.x = 1), t.y < gm && t.y > hm && (t.y = 1);
+ t.x < vm && t.x > _m && (t.x = 1), t.y < vm && t.y > _m && (t.y = 1);
}
-function vm(e, t) {
+function ym(e, t) {
e.min += t, e.max += t;
}
-function ym(e, t, n, r, i = .5) {
- pm(e, t, n, Nu(e.min, e.max, i), r);
+function bm(e, t, n, r, i = .5) {
+ hm(e, t, n, Au(e.min, e.max, i), r);
}
-function bm(e, t) {
+function xm(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function xm(e, t, n) {
+function Sm(e, t, n) {
let r = n ?? e;
- ym(e.x, bm(t.x, r.x), t.scaleX, t.scale, t.originX), ym(e.y, bm(t.y, r.y), t.scaleY, t.scale, t.originY);
+ bm(e.x, xm(t.x, r.x), t.scaleX, t.scale, t.originX), bm(e.y, xm(t.y, r.y), t.scaleY, t.scale, t.originY);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function Sm(e, t) {
- return rm(am(e.getBoundingClientRect(), t));
+function Cm(e, t) {
+ return am(sm(e.getBoundingClientRect(), t));
}
-function Cm(e, t, n) {
- let r = Sm(e, n), { scroll: i } = t;
- return i && (vm(r.x, i.offset.x), vm(r.y, i.offset.y)), r;
+function mee(e, t, n) {
+ let r = Cm(e, n), { scroll: i } = t;
+ return i && (ym(r.x, i.offset.x), ym(r.y, i.offset.y)), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/microtask.mjs
-var { schedule: wm, cancel: gee } = /* @__PURE__ */ Ol(queueMicrotask, !1), Tm = {
+var { schedule: wm, cancel: hee } = /* @__PURE__ */ El(queueMicrotask, !1), Tm = {
x: !1,
y: !1
};
@@ -15932,7 +15917,7 @@ function Dm(e) {
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
function Om(e, t) {
- let n = qp(e), r = new AbortController();
+ let n = Yp(e), r = new AbortController();
return [
n,
{
@@ -15948,7 +15933,7 @@ function Om(e, t) {
function km(e) {
return !(e.pointerType === "touch" || Em());
}
-function _ee(e, t, n = {}) {
+function Am(e, t, n = {}) {
let [r, i, a] = Om(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
@@ -15972,125 +15957,125 @@ function _ee(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var Am = (e, t) => t ? e === t || Am(e, t.parentElement) : !1, jm = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Mm = /* @__PURE__ */ new Set([
+var jm = (e, t) => t ? e === t || jm(e, t.parentElement) : !1, Mm = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Nm = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function Nm(e) {
- return Mm.has(e.tagName) || e.isContentEditable === !0;
+function Pm(e) {
+ return Nm.has(e.tagName) || e.isContentEditable === !0;
}
-var Pm = /* @__PURE__ */ new Set([
+var Fm = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function Fm(e) {
- return Pm.has(e.tagName) || e.isContentEditable === !0;
+function Im(e) {
+ return Fm.has(e.tagName) || e.isContentEditable === !0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs
-var Im = /* @__PURE__ */ new WeakSet();
+var Lm = /* @__PURE__ */ new WeakSet();
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function Lm(e) {
+function Rm(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function Rm(e, t) {
+function zm(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var vee = (e, t) => {
+var Bm = (e, t) => {
let n = e.currentTarget;
if (!n) return;
- let r = Lm(() => {
- if (Im.has(n)) return;
- Rm(n, "down");
- let e = Lm(() => {
- Rm(n, "up");
+ let r = Rm(() => {
+ if (Lm.has(n)) return;
+ zm(n, "down");
+ let e = Rm(() => {
+ zm(n, "up");
});
- n.addEventListener("keyup", e, t), n.addEventListener("blur", () => Rm(n, "cancel"), t);
+ n.addEventListener("keyup", e, t), n.addEventListener("blur", () => zm(n, "cancel"), t);
});
n.addEventListener("keydown", r, t), n.addEventListener("blur", () => n.removeEventListener("keydown", r), t);
};
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function zm(e) {
- return jm(e) && !Em();
+function Vm(e) {
+ return Mm(e) && !Em();
}
-var Bm = /* @__PURE__ */ new WeakSet();
-function Vm(e, t, n = {}) {
+var Hm = /* @__PURE__ */ new WeakSet();
+function Um(e, t, n = {}) {
let [r, i, a] = Om(e, n), o = (e) => {
let r = e.currentTarget;
- if (!zm(e) || Bm.has(e)) return;
- Im.add(r), n.stopPropagation && Bm.add(e);
+ if (!Vm(e) || Hm.has(e)) return;
+ Lm.add(r), n.stopPropagation && Hm.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Im.has(r) && Im.delete(r), zm(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Lm.has(r) && Lm.delete(r), Vm(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || Am(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || jm(r, e.target));
}, l = (e) => {
s(e, !1);
};
window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);
};
return r.forEach((e) => {
- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Wp(e) && (e.addEventListener("focus", (e) => vee(e, i)), !Nm(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Kp(e) && (e.addEventListener("focus", (e) => Bm(e, i)), !Pm(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function Hm(e, t) {
+function Wm(e, t) {
let n = window.getComputedStyle(e);
- return bf(t) ? n.getPropertyValue(t) : n[t];
+ return yf(t) ? n.getPropertyValue(t) : n[t];
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var Um = /* @__PURE__ */ new WeakMap(), Wm, Gm = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Gp(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Km = /*@__PURE__*/ Gm("inline", "width", "offsetWidth"), qm = /*@__PURE__*/ Gm("block", "height", "offsetHeight");
-function Jm({ target: e, borderBoxSize: t }) {
- Um.get(e)?.forEach((n) => {
+var Gm = /* @__PURE__ */ new WeakMap(), Km, qm = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : qp(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Jm = /*@__PURE__*/ qm("inline", "width", "offsetWidth"), Ym = /*@__PURE__*/ qm("block", "height", "offsetHeight");
+function Xm({ target: e, borderBoxSize: t }) {
+ Gm.get(e)?.forEach((n) => {
n(e, {
get width() {
- return Km(e, t);
+ return Jm(e, t);
},
get height() {
- return qm(e, t);
+ return Ym(e, t);
}
});
});
}
-function Ym(e) {
- e.forEach(Jm);
+function Zm(e) {
+ e.forEach(Xm);
}
-function Xm() {
- typeof ResizeObserver < "u" && (Wm = new ResizeObserver(Ym));
+function Qm() {
+ typeof ResizeObserver < "u" && (Km = new ResizeObserver(Zm));
}
-function Zm(e, t) {
- Wm || Xm();
- let n = qp(e);
+function $m(e, t) {
+ Km || Qm();
+ let n = Yp(e);
return n.forEach((e) => {
- let n = Um.get(e);
- n || (n = /* @__PURE__ */ new Set(), Um.set(e, n)), n.add(t), Wm?.observe(e);
+ let n = Gm.get(e);
+ n || (n = /* @__PURE__ */ new Set(), Gm.set(e, n)), n.add(t), Km?.observe(e);
}), () => {
n.forEach((e) => {
- let n = Um.get(e);
- n?.delete(t), n?.size || Wm?.unobserve(e);
+ let n = Gm.get(e);
+ n?.delete(t), n?.size || Km?.unobserve(e);
});
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var Qm = /* @__PURE__ */ new Set(), $m;
-function eh() {
- $m = () => {
+var eh = /* @__PURE__ */ new Set(), th;
+function nh() {
+ th = () => {
let e = {
get width() {
return window.innerWidth;
@@ -16099,47 +16084,47 @@ function eh() {
return window.innerHeight;
}
};
- Qm.forEach((t) => t(e));
- }, window.addEventListener("resize", $m);
+ eh.forEach((t) => t(e));
+ }, window.addEventListener("resize", th);
}
-function th(e) {
- return Qm.add(e), $m || eh(), () => {
- Qm.delete(e), !Qm.size && typeof $m == "function" && (window.removeEventListener("resize", $m), $m = void 0);
+function rh(e) {
+ return eh.add(e), th || nh(), () => {
+ eh.delete(e), !eh.size && typeof th == "function" && (window.removeEventListener("resize", th), th = void 0);
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/index.mjs
-function nh(e, t) {
- return typeof e == "function" ? th(e) : Zm(e, t);
+function ih(e, t) {
+ return typeof e == "function" ? rh(e) : $m(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/stats/buffer.mjs
-var rh = {
+var ah = {
value: null,
addProjectionMetrics: null
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function ih(e) {
- return Gp(e) && e.tagName === "svg";
+function oh(e) {
+ return qp(e) && e.tagName === "svg";
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/transform.mjs
-function ah(...e) {
- let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = pd(i, a, o);
+function sh(...e) {
+ let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = dd(i, a, o);
return t ? s(r) : s;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/FollowAnimation.mjs
-var oh = /* @__PURE__ */ new Set(), sh = ({ timestamp: e }) => {
- oh.forEach((t) => t.tick(e));
-}, ch = class extends kd {
+var ch = /* @__PURE__ */ new Set(), lh = ({ timestamp: e }) => {
+ ch.forEach((t) => t.tick(e));
+}, uh = class extends Dd {
constructor(e) {
super(), this.state = "idle", this.startTime = 0, this.currentTime = 0, this.started = !1, this.hasNextTarget = !1, this.nextTarget = 0, this.stop = () => {
this.state !== "idle" && (this.teardown(), this.options.onStop?.());
- }, this.options = e, Td(e), this.factory = e.type || vd, this.generator = this.factory(e);
+ }, this.options = e, Cd(e), this.factory = e.type || gd, this.generator = this.factory(e);
let { driver: t } = e;
- t && (this.driver = t((e) => this.tick(e))), this.startTime = this.now(), this.state = "running", this.driver ? this.driver.start() : (oh.size || kl.update(sh, !0), oh.add(this));
+ t && (this.driver = t((e) => this.tick(e))), this.startTime = this.now(), this.state = "running", this.driver ? this.driver.start() : (ch.size || Dl.update(lh, !0), ch.add(this));
}
setTarget(e, t) {
this.nextTarget = e, this.nextVelocity = t, this.hasNextTarget = !0;
@@ -16158,31 +16143,31 @@ var oh = /* @__PURE__ */ new Set(), sh = ({ timestamp: e }) => {
(n || !this.started) && (this.started = !0, a?.()), this.state === "running" && (i?.(l), c.done && o >= 0 && !n && !this.hasNextTarget && this.state === "running" && (this.notifyFinished(), this.teardown(), this.state = "finished", t.onComplete?.()));
}
getGeneratorVelocity() {
- return xd(this.generator, this.currentTime, this.options.velocity);
+ return yd(this.generator, this.currentTime, this.options.velocity);
}
now() {
- return this.driver ? this.driver.now() : Fl.now();
+ return this.driver ? this.driver.now() : Nl.now();
}
teardown() {
- this.state = "idle", this.driver ? this.driver.stop() : (oh.delete(this), oh.size || Al(sh));
+ this.state = "idle", this.driver ? this.driver.stop() : (ch.delete(this), ch.size || Ol(lh));
}
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/follow-value.mjs
-function lh(e, t, n = {}) {
+function dh(e, t, n = {}) {
let r = e.get(), i = null, a, o = typeof r == "string" ? r.replace(/[\d.-]/g, "") : void 0, s = (e) => a(o ? e + o : e), c = () => e.events.animationStart?.notify(), l = () => {
i &&= (i.stop(), null), e.animation = void 0;
};
if (e.attach((t, r) => {
a = r;
- let o = dh(t);
+ let o = ph(t);
if (i?.state === "running") {
i.setTarget(o, n.velocity);
return;
}
- let u = dh(e.get()), d = i ? i.getGeneratorVelocity() : e.getVelocity();
+ let u = ph(e.get()), d = i ? i.getGeneratorVelocity() : e.getVelocity();
if (l(), u === o) return;
- let f = i = new ch({
+ let f = i = new uh({
keyframes: [u, o],
velocity: d,
type: "spring",
@@ -16195,9 +16180,9 @@ function lh(e, t, n = {}) {
e.animation = f, f.then(() => {
i === f && (i = null, e.animation = void 0, e.events.animationComplete?.notify());
});
- }, l), Ep(t)) {
+ }, l), wp(t)) {
let r = n.skipInitialAnimation === !0, i = t.on("change", (t) => {
- r ? (r = !1, e.jump(uh(t, o), !1)) : e.set(uh(t, o));
+ r ? (r = !1, e.jump(fh(t, o), !1)) : e.set(fh(t, o));
}), a = e.on("destroy", i);
return () => {
i(), a();
@@ -16205,42 +16190,42 @@ function lh(e, t, n = {}) {
}
return l;
}
-function uh(e, t) {
+function fh(e, t) {
return t ? e + t : e;
}
-function dh(e) {
+function ph(e) {
return typeof e == "number" ? e : parseFloat(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/models.mjs
-var fh = () => ({
+var mh = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
-}), ph = () => ({
- x: fh(),
- y: fh()
-}), mh = () => ({
- min: 0,
- max: 0
}), hh = () => ({
x: mh(),
y: mh()
-}), gh = /* @__PURE__ */ new WeakMap();
+}), gh = () => ({
+ min: 0,
+ max: 0
+}), _h = () => ({
+ x: gh(),
+ y: gh()
+}), vh = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function _h(e) {
+function yh(e) {
return typeof e == "object" && !!e && typeof e.start == "function";
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
-function vh(e) {
+function bh(e) {
return typeof e == "string" || Array.isArray(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var yh = [
+var xh = [
"animate",
"whileInView",
"whileFocus",
@@ -16248,31 +16233,31 @@ var yh = [
"whileTap",
"whileDrag",
"exit"
-], bh = ["initial", ...yh];
+], Sh = ["initial", ...xh];
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function xh(e) {
- if (_h(e.animate)) return !0;
- for (let t = 0; t < bh.length; t++) if (vh(e[bh[t]])) return !0;
+function Ch(e) {
+ if (yh(e.animate)) return !0;
+ for (let t = 0; t < Sh.length; t++) if (bh(e[Sh[t]])) return !0;
return !1;
}
-function Sh(e) {
- return !!(xh(e) || e.variants);
+function wh(e) {
+ return !!(Ch(e) || e.variants);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function Ch(e, t, n) {
+function Th(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
- if (Ep(i)) e.addValue(r, i);
- else if (Ep(a)) e.addValue(r, ip(i, { owner: e }));
+ if (wp(i)) e.addValue(r, i);
+ else if (wp(a)) e.addValue(r, np(i, { owner: e }));
else if (a !== i) {
if (e.hasValue(r)) {
let t = e.getValue(r);
t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);
} else {
let t = e.getStaticValue(r);
- e.addValue(r, ip(t === void 0 ? i : t, { owner: e }));
+ e.addValue(r, np(t === void 0 ? i : t, { owner: e }));
}
}
}
@@ -16281,18 +16266,18 @@ function Ch(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var wh = { current: null }, Th = { current: !1 }, Eh = typeof window < "u";
-function Dh() {
- if (Th.current = !0, Eh) {
+var Eh = { current: null }, Dh = { current: !1 }, Oh = typeof window < "u";
+function kh() {
+ if (Dh.current = !0, Oh) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => wh.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Eh.current = e.matches;
e.addEventListener("change", t), t();
- } else wh.current = !1;
+ } else Eh.current = !1;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var Oh = [
+var Ah = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -16300,38 +16285,38 @@ var Oh = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], kh = {};
-function Ah(e) {
- kh = e;
+], jh = {};
+function Mh(e) {
+ jh = e;
}
-function jh() {
- return kh;
+function Nh() {
+ return jh;
}
-var Mh = class {
+var Ph = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = yf, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = vf, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
- let e = Fl.now();
- this.renderScheduledAt < e && (this.renderScheduledAt = e, kl.render(this.render, !1, !0));
+ let e = Nl.now();
+ this.renderScheduledAt < e && (this.renderScheduledAt = e, Dl.render(this.render, !1, !0));
};
let { latestValues: c, renderState: l } = o;
- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = xh(t), this.isVariantNode = Sh(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = Ch(t), this.isVariantNode = wh(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);
for (let e in d) {
let t = d[e];
- c[e] !== void 0 && Ep(t) && t.set(c[e]);
+ c[e] !== void 0 && wp(t) && t.set(c[e]);
}
}
mount(e) {
if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
- this.current = e, gh.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Th.current || Dh(), this.shouldReduceMotion = wh.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
+ this.current = e, vh.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Dh.current || kh(), this.shouldReduceMotion = Eh.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
}
unmount() {
- this.projection && this.projection.unmount(), Al(this.notifyUpdate), Al(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
+ this.projection && this.projection.unmount(), Ol(this.notifyUpdate), Ol(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
for (let e in this.events) this.events[e].clear();
for (let e in this.features) {
let t = this.features[e];
@@ -16346,24 +16331,24 @@ var Mh = class {
this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);
}
bindToMotionValue(e, t) {
- if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && Hf.has(e) && this.current instanceof HTMLElement) {
- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new Mf({
+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && zf.has(e) && this.current instanceof HTMLElement) {
+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new jf({
element: this.current,
name: e,
keyframes: r,
times: i,
ease: a,
- duration: /* @__PURE__ */ tl(o)
+ duration: /* @__PURE__ */ Qc(o)
}), c = n(s);
this.valueSubscriptions.set(e, () => {
c(), s.cancel();
});
return;
}
- let n = rf.has(e);
+ let n = tf.has(e);
n && this.onBindTransform && this.onBindTransform();
let r = t.on("change", (t) => {
- this.latestValues[e] = t, this.props.onUpdate && kl.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
+ this.latestValues[e] = t, this.props.onUpdate && Dl.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
}), i;
typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {
r(), i && i();
@@ -16374,8 +16359,8 @@ var Mh = class {
}
updateFeatures() {
let e = "animation";
- for (e in kh) {
- let t = kh[e];
+ for (e in jh) {
+ let t = jh[e];
if (!t) continue;
let { isEnabled: n, Feature: r } = t;
if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
@@ -16388,7 +16373,7 @@ var Mh = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : hh();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : _h();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -16398,13 +16383,13 @@ var Mh = class {
}
update(e, t) {
(e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < Oh.length; t++) {
- let n = Oh[t];
+ for (let t = 0; t < Ah.length; t++) {
+ let n = Ah[t];
this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);
let r = e["on" + n];
r && (this.propEventSubscriptions[n] = this.on(n, r));
}
- this.prevMotionValues = Ch(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
+ this.prevMotionValues = Th(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
}
getProps() {
return this.props;
@@ -16440,11 +16425,11 @@ var Mh = class {
getValue(e, t) {
if (this.props.values && this.props.values[e]) return this.props.values[e];
let n = this.values.get(e);
- return n === void 0 && t !== void 0 && (n = ip(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
+ return n === void 0 && t !== void 0 && (n = np(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
}
readValue(e, t) {
let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
- return n != null && (typeof n == "string" && (qc(n) || Yc(n)) ? n = parseFloat(n) : typeof n != "number" && !ku.test(n) && ku.test(t) && (n = Hd(e, t)), this.setBaseTarget(e, Ep(n) ? n.get() : n)), Ep(n) ? n.get() : n;
+ return n != null && (typeof n == "string" && (Wc(n) || Kc(n)) ? n = parseFloat(n) : typeof n != "number" && !Eu.test(n) && Eu.test(t) && (n = Bd(e, t)), this.setBaseTarget(e, wp(n) ? n.get() : n)), wp(n) ? n.get() : n;
}
setBaseTarget(e, t) {
this.baseTarget[e] = t;
@@ -16452,15 +16437,15 @@ var Mh = class {
getBaseTarget(e) {
let { initial: t } = this.props, n;
if (typeof t == "string" || typeof t == "object") {
- let r = yp(this.props, t, this.presenceContext?.custom);
+ let r = _p(this.props, t, this.presenceContext?.custom);
r && (n = r[e]);
}
if (t && n !== void 0) return n;
let r = this.getBaseTargetFromProps(this.props, e);
- return r !== void 0 && !Ep(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
+ return r !== void 0 && !wp(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
}
on(e, t) {
- return this.events[e] || (this.events[e] = new el()), this.events[e].add(t);
+ return this.events[e] || (this.events[e] = new Zc()), this.events[e].add(t);
}
notify(e, ...t) {
this.events[e] && this.events[e].notify(...t);
@@ -16468,7 +16453,7 @@ var Mh = class {
scheduleRenderMicrotask() {
wm.render(this.render);
}
-}, Nh = class extends Mh {
+}, Fh = class extends Ph {
constructor() {
super(...arguments), this.KeyframeResolver = Hp;
}
@@ -16485,11 +16470,11 @@ var Mh = class {
handleChildMotionValue() {
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
let { children: e } = this.props;
- Ep(e) && (this.childSubscription = e.on("change", (e) => {
+ wp(e) && (this.childSubscription = e.on("change", (e) => {
this.current && (this.current.textContent = `${e}`);
}));
}
-}, Ph = class {
+}, Ih = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
@@ -16497,83 +16482,83 @@ var Mh = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function Fh(e, { style: t, vars: n }, r, i) {
+function Lh(e, { style: t, vars: n }, r, i) {
let a = e.style, o;
for (o in t) a[o] = t[o];
for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function Ih(e, t) {
+function Rh(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var Lh = { correct: (e, t) => {
+var zh = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
- if (au.test(e)) e = parseFloat(e);
+ if (U.test(e)) e = parseFloat(e);
else return e;
}
- return `${Ih(e, t.target.x)}% ${Ih(e, t.target.y)}%`;
-} }, Rh = { correct: (e, { treeScale: t, projectionDelta: n }) => {
- let r = e, i = ku.parse(e);
+ return `${Rh(e, t.target.x)}% ${Rh(e, t.target.y)}%`;
+} }, Bh = { correct: (e, { treeScale: t, projectionDelta: n }) => {
+ let r = e, i = Eu.parse(e);
if (i.length > 5) return r;
- let a = ku.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
+ let a = Eu.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
i[0 + o] /= s, i[1 + o] /= c;
- let l = Nu(s, c, .5);
+ let l = Au(s, c, .5);
return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);
-} }, zh = {
+} }, Vh = {
borderRadius: {
- ...Lh,
+ ...zh,
applyTo: [...Up]
},
- borderTopLeftRadius: Lh,
- borderTopRightRadius: Lh,
- borderBottomLeftRadius: Lh,
- borderBottomRightRadius: Lh,
- boxShadow: Rh
+ borderTopLeftRadius: zh,
+ borderTopRightRadius: zh,
+ borderBottomLeftRadius: zh,
+ borderBottomRightRadius: zh,
+ boxShadow: Bh
};
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function Bh(e, { layout: t, layoutId: n }) {
- return rf.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!zh[e] || e === "opacity");
+function Hh(e, { layout: t, layoutId: n }) {
+ return tf.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!Vh[e] || e === "opacity");
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function Vh(e, t, n) {
+function Uh(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (Ep(r[t]) || i && Ep(i[t]) || Bh(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (wp(r[t]) || i && wp(i[t]) || Hh(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
return a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
-function yee(e) {
+function gee(e) {
return window.getComputedStyle(e);
}
-var bee = class extends Nh {
+var _ee = class extends Fh {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = Fh;
+ super(...arguments), this.type = "html", this.renderInstance = Lh;
}
mount(e) {
e.style, super.mount(e);
}
readValueFromInstance(e, t) {
- if (rf.has(t)) return this.projection?.isProjecting ? Qd(t) : ef(e, t);
+ if (tf.has(t)) return this.projection?.isProjecting ? Xd(t) : Qd(e, t);
{
- let n = yee(e), r = (Rl(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = gee(e), r = (Il(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return Sm(e, t);
+ return Cm(e, t);
}
build(e, t, n) {
- Zp(e, t, n.transformTemplate);
+ $p(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return Vh(e, t, n);
+ return Uh(e, t, n);
}
-}, Hh = /* @__PURE__ */ new Set([
+}, Wh = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -16597,72 +16582,72 @@ var bee = class extends Nh {
"startOffset",
"textLength",
"lengthAdjust"
-]), Uh = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), Gh = (e) => typeof e == "string" && e.toLowerCase() === "svg";
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function xee(e, t, n, r) {
- Fh(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(Hh.has(n) ? n : kp(n), t.attrs[n]);
+function vee(e, t, n, r) {
+ Lh(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(Wh.has(n) ? n : Dp(n), t.attrs[n]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function Wh(e, t, n) {
- let r = Vh(e, t, n);
- for (let n in e) if (Ep(e[n]) || Ep(t[n])) {
- let t = nf.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
+function Kh(e, t, n) {
+ let r = Uh(e, t, n);
+ for (let n in e) if (wp(e[n]) || wp(t[n])) {
+ let t = ef.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
}
return r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var See = class extends Nh {
+var yee = class extends Fh {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = hh;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = _h;
}
getBaseTargetFromProps(e, t) {
return e[t];
}
readValueFromInstance(e, t) {
- if (rf.has(t)) {
- let e = Bd(t);
+ if (tf.has(t)) {
+ let e = Rd(t);
return e && e.default || 0;
}
- if (tm.includes(t)) {
+ if (rm.includes(t)) {
let n = getComputedStyle(e)[t];
if (typeof n == "string" && n) return n.trim();
}
- return t = Hh.has(t) ? t : kp(t), e.getAttribute(t);
+ return t = Wh.has(t) ? t : Dp(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return Wh(e, t, n);
+ return Kh(e, t, n);
}
build(e, t, n) {
- nm(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ im(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- xee(e, t, n, r);
+ vee(e, t, n, r);
}
mount(e) {
- this.isSVGTag = Uh(e.tagName), super.mount(e);
+ this.isSVGTag = Gh(e.tagName), super.mount(e);
}
-}, Cee = bh.length;
-function Gh(e) {
+}, bee = Sh.length;
+function qh(e) {
if (!e) return;
if (!e.isControllingVariants) {
- let t = e.parent && Gh(e.parent) || {};
+ let t = e.parent && qh(e.parent) || {};
return e.props.initial !== void 0 && (t.initial = e.props.initial), t;
}
let t = {};
- for (let n = 0; n < Cee; n++) {
- let r = bh[n], i = e.props[r];
- (vh(i) || i === !1) && (t[r] = i);
+ for (let n = 0; n < bee; n++) {
+ let r = Sh[n], i = e.props[r];
+ (bh(i) || i === !1) && (t[r] = i);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function Kh(e, t) {
+function Jh(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -16671,13 +16656,13 @@ function Kh(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var wee = [...yh].reverse(), Tee = yh.length;
-function Eee(e) {
- return (t) => Promise.all(t.map(({ animation: t, options: n }) => Lp(e, t, n)));
+var xee = [...xh].reverse(), See = xh.length;
+function Cee(e) {
+ return (t) => Promise.all(t.map(({ animation: t, options: n }) => Pp(e, t, n)));
}
-function Dee(e) {
- let t = Eee(e), n = Jh(), r = !0, i = !1, a = (t) => (n, r) => {
- let i = bp(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
+function wee(e) {
+ let t = Cee(e), n = Xh(), r = !0, i = !1, a = (t) => (n, r) => {
+ let i = vp(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
if (i) {
let { transition: e, transitionEnd: t, ...r } = i;
n = {
@@ -16692,12 +16677,12 @@ function Dee(e) {
t = n(e);
}
function s(o) {
- let { props: s } = e, c = Gh(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
- for (let t = 0; t < Tee; t++) {
- let p = wee[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = vh(h), _ = p === o ? m.isActive : null;
+ let { props: s } = e, c = qh(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
+ for (let t = 0; t < See; t++) {
+ let p = xee[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = bh(h), _ = p === o ? m.isActive : null;
_ === !1 && (f = t);
let v = h === c[p] && h !== s[p] && g;
- if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || _h(h) || typeof h == "boolean") continue;
+ if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || yh(h) || typeof h == "boolean") continue;
if (p === "exit" && m.isActive && _ !== !0) {
m.prevResolvedValues && (d = {
...d,
@@ -16705,7 +16690,7 @@ function Dee(e) {
});
continue;
}
- let y = Oee(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
+ let y = Tee(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
_ === !1 && (C = {});
let { prevResolvedValues: w = {} } = m, T = {
...w,
@@ -16719,7 +16704,7 @@ function Dee(e) {
let t = C[e], n = w[e];
if (d.hasOwnProperty(e)) continue;
let r = !1;
- r = Sp(t) && Sp(n) ? !Kh(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
+ r = bp(t) && bp(n) ? !Jh(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
}
m.prevProp = h, m.prevResolvedValues = C, m.isActive && (d = {
...d,
@@ -16729,10 +16714,10 @@ function Dee(e) {
b && (!D || x) && l.push(...S.map((t) => {
let n = { type: p };
if (typeof t == "string" && (r || i) && !D && e.manuallyAnimateOnMount && e.parent) {
- let { parent: r } = e, i = bp(r, t);
+ let { parent: r } = e, i = vp(r, t);
if (r.enteringChildren && i) {
let { delayChildren: t } = i.transition || {};
- n.delay = ep(r.enteringChildren, e, t);
+ n.delay = Qf(r.enteringChildren, e, t);
}
}
return {
@@ -16744,7 +16729,7 @@ function Dee(e) {
if (u.size) {
let t = {};
if (typeof s.initial != "boolean") {
- let n = bp(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
+ let n = vp(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
n && n.transition && (t.transition = n.transition);
}
u.forEach((n) => {
@@ -16768,14 +16753,14 @@ function Dee(e) {
setAnimateFunction: o,
getState: () => n,
reset: () => {
- n = Jh(), i = !0;
+ n = Xh(), i = !0;
}
};
}
-function Oee(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !Kh(t, e) : !1;
+function Tee(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !Jh(t, e) : !1;
}
-function qh(e = !1) {
+function Yh(e = !1) {
return {
isActive: e,
protectedKeys: {},
@@ -16783,115 +16768,115 @@ function qh(e = !1) {
prevResolvedValues: {}
};
}
-function Jh() {
+function Xh() {
return {
- animate: qh(!0),
- whileInView: qh(),
- whileHover: qh(),
- whileTap: qh(),
- whileDrag: qh(),
- whileFocus: qh(),
- exit: qh()
+ animate: Yh(!0),
+ whileInView: Yh(),
+ whileHover: Yh(),
+ whileTap: Yh(),
+ whileDrag: Yh(),
+ whileFocus: Yh(),
+ exit: Yh()
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function Yh(e, t) {
+function Zh(e, t) {
e.min = t.min, e.max = t.max;
}
-function Xh(e, t) {
- Yh(e.x, t.x), Yh(e.y, t.y);
+function Qh(e, t) {
+ Zh(e.x, t.x), Zh(e.y, t.y);
}
-function Zh(e, t) {
+function Eee(e, t) {
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var kee = .9999, Aee = 1.0001, jee = -.01, Mee = .01;
-function Qh(e) {
+var Dee = .9999, Oee = 1.0001, kee = -.01, Aee = .01;
+function $h(e) {
return e.max - e.min;
}
-function Nee(e, t, n) {
+function jee(e, t, n) {
return Math.abs(e - t) <= n;
}
-function $h(e, t, n, r = .5) {
- e.origin = r, e.originPoint = Nu(t.min, t.max, e.origin), e.scale = Qh(n) / Qh(t), e.translate = Nu(n.min, n.max, e.origin) - e.originPoint, (e.scale >= kee && e.scale <= Aee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= jee && e.translate <= Mee || isNaN(e.translate)) && (e.translate = 0);
+function Mee(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = Au(t.min, t.max, e.origin), e.scale = $h(n) / $h(t), e.translate = Au(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Dee && e.scale <= Oee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= kee && e.translate <= Aee || isNaN(e.translate)) && (e.translate = 0);
}
function eg(e, t, n, r) {
- $h(e.x, t.x, n.x, r ? r.originX : void 0), $h(e.y, t.y, n.y, r ? r.originY : void 0);
+ Mee(e.x, t.x, n.x, r ? r.originX : void 0), Mee(e.y, t.y, n.y, r ? r.originY : void 0);
}
-function tg(e, t, n, r = 0) {
- e.min = (r ? Nu(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Qh(t);
+function Nee(e, t, n, r = 0) {
+ e.min = (r ? Au(n.min, n.max, r) : n.min) + t.min, e.max = e.min + $h(t);
}
function Pee(e, t, n, r) {
- tg(e.x, t.x, n.x, r?.x), tg(e.y, t.y, n.y, r?.y);
+ Nee(e.x, t.x, n.x, r?.x), Nee(e.y, t.y, n.y, r?.y);
}
-function ng(e, t, n, r = 0) {
- let i = r ? Nu(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + Qh(t);
+function Fee(e, t, n, r = 0) {
+ let i = r ? Au(n.min, n.max, r) : n.min;
+ e.min = t.min - i, e.max = e.min + $h(t);
}
-function rg(e, t, n, r) {
- ng(e.x, t.x, n.x, r?.x), ng(e.y, t.y, n.y, r?.y);
+function tg(e, t, n, r) {
+ Fee(e.x, t.x, n.x, r?.x), Fee(e.y, t.y, n.y, r?.y);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function Fee(e, t, n, r, i) {
- return e -= t, e = dm(e, 1 / n, r), i !== void 0 && (e = dm(e, 1 / i, r)), e;
+function Iee(e, t, n, r, i) {
+ return e -= t, e = pm(e, 1 / n, r), i !== void 0 && (e = pm(e, 1 / i, r)), e;
}
-function Iee(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
- if (iu.test(t) && (t = parseFloat(t), t = Nu(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
- let s = Nu(a.min, a.max, r);
- e === a && (s -= t), e.min = Fee(e.min, t, n, s, i), e.max = Fee(e.max, t, n, s, i);
+function Lee(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+ if (nu.test(t) && (t = parseFloat(t), t = Au(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
+ let s = Au(a.min, a.max, r);
+ e === a && (s -= t), e.min = Iee(e.min, t, n, s, i), e.max = Iee(e.max, t, n, s, i);
}
-function Lee(e, t, [n, r, i], a, o) {
- Iee(e, t[n], t[r], t[i], t.scale, a, o);
+function Ree(e, t, [n, r, i], a, o) {
+ Lee(e, t[n], t[r], t[i], t.scale, a, o);
}
-var Ree = [
+var zee = [
"x",
"scaleX",
"originX"
-], zee = [
+], Bee = [
"y",
"scaleY",
"originY"
];
-function Bee(e, t, n, r) {
- Lee(e.x, t, Ree, n ? n.x : void 0, r ? r.x : void 0), Lee(e.y, t, zee, n ? n.y : void 0, r ? r.y : void 0);
+function Vee(e, t, n, r) {
+ Ree(e.x, t, zee, n ? n.x : void 0, r ? r.x : void 0), Ree(e.y, t, Bee, n ? n.y : void 0, r ? r.y : void 0);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function Vee(e) {
- return e.translate === 0 && e.scale === 1;
-}
function Hee(e) {
- return Vee(e.x) && Vee(e.y);
+ return e.translate === 0 && e.scale === 1;
}
-function Uee(e, t) {
- return e.min === t.min && e.max === t.max;
+function Uee(e) {
+ return Hee(e.x) && Hee(e.y);
}
function Wee(e, t) {
- return Uee(e.x, t.x) && Uee(e.y, t.y);
+ return e.min === t.min && e.max === t.max;
}
function Gee(e, t) {
- return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
+ return Wee(e.x, t.x) && Wee(e.y, t.y);
}
function Kee(e, t) {
- return Gee(e.x, t.x) && Gee(e.y, t.y);
+ return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function qee(e) {
- return Qh(e.x) / Qh(e.y);
+function qee(e, t) {
+ return Kee(e.x, t.x) && Kee(e.y, t.y);
}
-function Jee(e, t) {
+function Jee(e) {
+ return $h(e.x) / $h(e.y);
+}
+function Yee(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
-function ig(e) {
+function ng(e) {
return [e("x"), e("y")];
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function Yee(e, t, n) {
+function Xee(e, t, n) {
let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, skewX: s, skewY: c } = n;
@@ -16902,81 +16887,81 @@ function Yee(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
-var Xee = Up.length, Zee = (e) => typeof e == "string" ? parseFloat(e) : e, Qee = (e) => typeof e == "number" || au.test(e);
-function $ee(e, t, n, r, i, a) {
- i ? (e.opacity = Nu(0, n.opacity ?? 1, tte(r)), e.opacityExit = Nu(t.opacity ?? 1, 0, nte(r))) : a && (e.opacity = Nu(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < Xee; i++) {
- let a = Up[i], o = ete(t, a), s = ete(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || Qee(o) === Qee(s) ? (e[a] = Math.max(Nu(Zee(o), Zee(s), r), 0), (iu.test(s) || iu.test(o)) && (e[a] += "%")) : e[a] = s);
+var Zee = Up.length, Qee = (e) => typeof e == "string" ? parseFloat(e) : e, $ee = (e) => typeof e == "number" || U.test(e);
+function ete(e, t, n, r, i, a) {
+ i ? (e.opacity = Au(0, n.opacity ?? 1, nte(r)), e.opacityExit = Au(t.opacity ?? 1, 0, rte(r))) : a && (e.opacity = Au(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < Zee; i++) {
+ let a = Up[i], o = tte(t, a), s = tte(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || $ee(o) === $ee(s) ? (e[a] = Math.max(Au(Qee(o), Qee(s), r), 0), (nu.test(s) || nu.test(o)) && (e[a] += "%")) : e[a] = s);
}
- (t.rotate || n.rotate) && (e.rotate = Nu(t.rotate || 0, n.rotate || 0, r));
+ (t.rotate || n.rotate) && (e.rotate = Au(t.rotate || 0, n.rotate || 0, r));
}
-function ete(e, t) {
+function tte(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var tte = /*@__PURE__*/ rte(0, .5, hl), nte = /*@__PURE__*/ rte(.5, .95, Zc);
-function rte(e, t, n) {
- return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ $c(e, t, r));
+var nte = /*@__PURE__*/ ite(0, .5, pl), rte = /*@__PURE__*/ ite(.5, .95, Jc);
+function ite(e, t, n) {
+ return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Xc(e, t, r));
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function ite(e, t, n) {
- let r = Ep(e) ? e : ip(e);
- return r.start(mp("", r, t, n)), r.animation;
+function ate(e, t, n) {
+ let r = wp(e) ? e : np(e);
+ return r.start(fp("", r, t, n)), r.animation;
}
//#endregion
//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function ag(e, t, n, r = { passive: !0 }) {
+function rg(e, t, n, r = { passive: !0 }) {
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
-var ate = (e, t) => e.depth - t.depth, ote = class {
+var ote = (e, t) => e.depth - t.depth, ste = class {
constructor() {
this.children = [], this.isDirty = !1;
}
add(e) {
- Uc(this.children, e), this.isDirty = !0;
+ Bc(this.children, e), this.isDirty = !0;
}
remove(e) {
- Wc(this.children, e), this.isDirty = !0;
+ Vc(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(ate), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(ote), this.isDirty = !1, this.children.forEach(e);
}
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/delay.mjs
-function ste(e, t) {
- let n = Fl.now(), r = ({ timestamp: i }) => {
+function cte(e, t) {
+ let n = Nl.now(), r = ({ timestamp: i }) => {
let a = i - n;
- a >= t && (Al(r), e(a - t));
+ a >= t && (Ol(r), e(a - t));
};
- return kl.setup(r, !0), () => Al(r);
+ return Dl.setup(r, !0), () => Ol(r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function og(e) {
- return Ep(e) ? e.get() : e;
+function ig(e) {
+ return wp(e) ? e.get() : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var cte = class {
+var lte = class {
constructor() {
this.members = [];
}
add(e) {
- Uc(this.members, e);
+ Bc(this.members, e);
for (let t = this.members.length - 1; t >= 0; t--) {
let n = this.members[t];
if (n === e || n === this.lead || n === this.prevLead) continue;
let r = n.instance;
- (!r || r.isConnected === !1) && !n.snapshot && (Wc(this.members, n), n.unmount());
+ (!r || r.isConnected === !1) && !n.snapshot && (Vc(this.members, n), n.unmount());
}
e.scheduleRender();
}
remove(e) {
- if (Wc(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
+ if (Vc(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
let e = this.members[this.members.length - 1];
e && this.promote(e);
}
@@ -17007,51 +16992,51 @@ var cte = class {
removeLeadSnapshot() {
this.lead?.snapshot && (this.lead.snapshot = void 0);
}
-}, sg = {
+}, ag = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
-}, cg = {
+}, og = {
nodes: 0,
calculatedTargetDeltas: 0,
calculatedProjections: 0
-}, lg = [
+}, sg = [
"",
"X",
"Y",
"Z"
-], lte = 1e3, ute = 0;
-function ug(e, t, n, r) {
+], ute = 1e3, dte = 0;
+function cg(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-function dte(e) {
+function fte(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
- let n = jp(t);
+ let n = kp(t);
if (window.MotionHasOptimisedAnimation(n, "transform")) {
let { layout: t, layoutId: r } = e.options;
- window.MotionCancelOptimisedAnimation(n, "transform", kl, !(t || r));
+ window.MotionCancelOptimisedAnimation(n, "transform", Dl, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && dte(r);
+ r && !r.hasCheckedOptimisedAppear && fte(r);
}
-function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+function pte({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
return class {
constructor(e = {}, n = t?.()) {
- this.id = ute++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
+ this.id = dte++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
x: 1,
y: 1
}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.layoutVersion = 0, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
}, this.updateProjection = () => {
- this.projectionUpdateScheduled = !1, rh.value && (cg.nodes = cg.calculatedTargetDeltas = cg.calculatedProjections = 0), this.nodes.forEach(hte), this.nodes.forEach(wte), this.nodes.forEach(Tte), this.nodes.forEach(gte), rh.addProjectionMetrics && rh.addProjectionMetrics(cg);
+ this.projectionUpdateScheduled = !1, ah.value && (og.nodes = og.calculatedTargetDeltas = og.calculatedProjections = 0), this.nodes.forEach(gte), this.nodes.forEach(Tte), this.nodes.forEach(Ete), this.nodes.forEach(_te), ah.addProjectionMetrics && ah.addProjectionMetrics(og);
}, this.resolvedRelativeTargetAt = 0, this.linkedParentVersion = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;
for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
- this.root === this && (this.nodes = new ote());
+ this.root === this && (this.nodes = new ste());
}
addEventListener(e, t) {
- return this.eventHandlers.has(e) || this.eventHandlers.set(e, new el()), this.eventHandlers.get(e).add(t);
+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Zc()), this.eventHandlers.get(e).add(t);
}
notifyListeners(e, ...t) {
let n = this.eventHandlers.get(e);
@@ -17062,15 +17047,15 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
}
mount(t) {
if (this.instance) return;
- this.isSVG = Gp(t) && !ih(t), this.instance = t;
+ this.isSVG = qp(t) && !oh(t), this.instance = t;
let { layoutId: n, layout: r, visualElement: i } = this.options;
if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
let n, r = 0, i = () => this.root.updateBlockedByResize = !1;
- kl.read(() => {
+ Dl.read(() => {
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = ste(i, 250), sg.hasAnimatedSinceResize && (sg.hasAnimatedSinceResize = !1, this.nodes.forEach(Cte)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = cte(i, 250), ag.hasAnimatedSinceResize && (ag.hasAnimatedSinceResize = !1, this.nodes.forEach(wte)));
});
}
n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {
@@ -17078,23 +17063,23 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || i.getDefaultTransition() || Mte, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !Kee(this.targetLayout, r), l = !t && n;
+ let a = this.options.transition || i.getDefaultTransition() || Nte, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !qee(this.targetLayout, r), l = !t && n;
if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
let t = {
- ...op(a, "layout"),
+ ...ip(a, "layout"),
onPlay: o,
onComplete: s
};
(i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
- } else t || Cte(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
+ } else t || wte(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
this.targetLayout = r;
});
}
unmount() {
this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
let e = this.getStack();
- e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), Al(this.updateProjection);
+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), Ol(this.updateProjection);
}
blockUpdate() {
this.updateManuallyBlocked = !0;
@@ -17109,7 +17094,7 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Ete), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Dte), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -17120,7 +17105,7 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
this.options.onExitComplete && this.options.onExitComplete();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && dte(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && fte(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
this.isLayoutDirty = !0;
for (let e = 0; e < this.path.length; e++) {
let t = this.path[e];
@@ -17134,39 +17119,39 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
update() {
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
let e = this.updateBlockedByResize;
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(yte), this.nodes.forEach(vte);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(bte), this.nodes.forEach(yte);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(bte);
+ this.nodes.forEach(xte);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(xte), this.nodes.forEach(Ste), this.nodes.forEach(pte), this.nodes.forEach(mte)) : this.nodes.forEach(bte), this.clearAllSnapshots();
- let e = Fl.now();
- jl.delta = Gc(0, 1e3 / 60, e - jl.timestamp), jl.timestamp = e, jl.isProcessing = !0, Ml.update.process(jl), Ml.preRender.process(jl), Ml.render.process(jl), jl.isProcessing = !1;
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Ste), this.nodes.forEach(Cte), this.nodes.forEach(mte), this.nodes.forEach(hte)) : this.nodes.forEach(xte), this.clearAllSnapshots();
+ let e = Nl.now();
+ kl.delta = Hc(0, 1e3 / 60, e - kl.timestamp), kl.timestamp = e, kl.isProcessing = !0, Al.update.process(kl), Al.preRender.process(kl), Al.render.process(kl), kl.isProcessing = !1;
}
didUpdate() {
this.updateScheduled || (this.updateScheduled = !0, wm.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(_te), this.sharedNodes.forEach(Dte);
+ this.nodes.forEach(vte), this.sharedNodes.forEach(Ote);
}
scheduleUpdateProjection() {
- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, kl.preRender(this.updateProjection, !1, !0));
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, Dl.preRender(this.updateProjection, !1, !0));
}
scheduleCheckAfterUnmount() {
- kl.postRender(() => {
+ Dl.postRender(() => {
this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
});
}
updateSnapshot() {
- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !Qh(this.snapshot.measuredBox.x) && !Qh(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !$h(this.snapshot.measuredBox.x) && !$h(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
}
updateLayout() {
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();
let e = this.layout;
- this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= hh(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= _h(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
let { visualElement: t } = this.options;
t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
}
@@ -17185,12 +17170,12 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
}
resetTransform() {
if (!i) return;
- let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !Hee(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || cm(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !Uee(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && this.instance && (t || um(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
}
measure(e = !0) {
let t = this.measurePageBox(), n = this.removeElementScroll(t);
- return e && (n = this.removeTransform(n)), Ite(n), {
+ return e && (n = this.removeTransform(n)), Lte(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -17200,42 +17185,42 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return hh();
+ if (!e) return _h();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(Rte))) {
+ if (!(this.scroll?.wasRoot || this.path.some(zte))) {
let { scroll: e } = this.root;
- e && (vm(t.x, e.offset.x), vm(t.y, e.offset.y));
+ e && (ym(t.x, e.offset.x), ym(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = hh();
- if (Xh(t, e), this.scroll?.wasRoot) return t;
+ let t = _h();
+ if (Qh(t, e), this.scroll?.wasRoot) return t;
for (let n = 0; n < this.path.length; n++) {
let r = this.path[n], { scroll: i, options: a } = r;
- r !== this.root && i && a.layoutScroll && (i.wasRoot && Xh(t, e), vm(t.x, i.offset.x), vm(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && Qh(t, e), ym(t.x, i.offset.x), ym(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n) {
- let r = n || hh();
- Xh(r, e);
+ let r = n || _h();
+ Qh(r, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- !t && n.options.layoutScroll && n.scroll && n !== n.root && (vm(r.x, -n.scroll.offset.x), vm(r.y, -n.scroll.offset.y)), cm(n.latestValues) && xm(r, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (ym(r.x, -n.scroll.offset.x), ym(r.y, -n.scroll.offset.y)), um(n.latestValues) && Sm(r, n.latestValues, n.layout?.layoutBox);
}
- return cm(this.latestValues) && xm(r, this.latestValues, this.layout?.layoutBox), r;
+ return um(this.latestValues) && Sm(r, this.latestValues, this.layout?.layoutBox), r;
}
removeTransform(e) {
- let t = hh();
- Xh(t, e);
+ let t = _h();
+ Qh(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!cm(n.latestValues)) continue;
+ if (!um(n.latestValues)) continue;
let r;
- n.instance && (sm(n.latestValues) && n.updateSnapshot(), r = hh(), Xh(r, n.measurePageBox())), Bee(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (lm(n.latestValues) && n.updateSnapshot(), r = _h(), Qh(r, n.measurePageBox())), Vee(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return cm(this.latestValues) && Bee(t, this.latestValues), t;
+ return um(this.latestValues) && Vee(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -17251,7 +17236,7 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
}
forceRelativeParentToResolveTarget() {
- this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== jl.timestamp && this.relativeParent.resolveTargetDelta(!0);
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== kl.timestamp && this.relativeParent.resolveTargetDelta(!0);
}
resolveTargetDelta(e = !1) {
let t = this.getLead();
@@ -17260,32 +17245,32 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
if (!(e || n && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;
let { layout: r, layoutId: i } = this.options;
if (!this.layout || !(r || i)) return;
- this.resolvedRelativeTargetAt = jl.timestamp;
+ this.resolvedRelativeTargetAt = kl.timestamp;
let a = this.getClosestProjectingParent();
- a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = hh(), this.targetWithTransforms = hh()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Pee(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : Xh(this.target, this.layout.layoutBox), mm(this.target, this.targetDelta)) : Xh(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), rh.value && cg.calculatedTargetDeltas++);
+ a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = _h(), this.targetWithTransforms = _h()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Pee(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : Qh(this.target, this.layout.layoutBox), gm(this.target, this.targetDelta)) : Qh(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), ah.value && og.calculatedTargetDeltas++);
}
getClosestProjectingParent() {
- if (!(!this.parent || sm(this.parent.latestValues) || lm(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || lm(this.parent.latestValues) || dm(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
}
isProjecting() {
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
}
createRelativeTarget(e, t, n) {
- this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = hh(), this.relativeTargetOrigin = hh(), rg(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Xh(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = _h(), this.relativeTargetOrigin = _h(), tg(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Qh(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
}
calcProjection() {
let e = this.getLead(), t = !!this.resumingFrom || this !== e, n = !0;
- if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === jl.timestamp && (n = !1), n) return;
+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === kl.timestamp && (n = !1), n) return;
let { layout: r, layoutId: i } = this.options;
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
- Xh(this.layoutCorrected, this.layout.layoutBox);
+ Qh(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- _m(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = hh());
+ pee(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = _h());
let { target: s } = e;
- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Zh(this.prevProjectionDelta.x, this.projectionDelta.x), Zh(this.prevProjectionDelta.y, this.projectionDelta.y)), eg(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !Jee(this.projectionDelta.x, this.prevProjectionDelta.x) || !Jee(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), rh.value && cg.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Eee(this.prevProjectionDelta.x, this.projectionDelta.x), Eee(this.prevProjectionDelta.y, this.projectionDelta.y)), eg(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !Yee(this.projectionDelta.x, this.prevProjectionDelta.x) || !Yee(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), ah.value && og.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
}
hide() {
this.isVisible = !1;
@@ -17301,22 +17286,22 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = ph(), this.projectionDelta = ph(), this.projectionDeltaWithTransform = ph();
+ this.prevProjectionDelta = hh(), this.projectionDelta = hh(), this.projectionDeltaWithTransform = hh();
}
setAnimationOrigin(e, t = !1, n) {
- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = ph();
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = hh();
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = hh(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(jte));
+ let s = _h(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(Mte));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- r ? (o.x.translate = r.x, o.x.scale = Nu(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = Nu(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (Ote(o.x, e.x, n), Ote(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (rg(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Ate(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Wee(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= hh(), Xh(f, this.relativeTarget)), c && (this.animationValues = a, $ee(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ r ? (o.x.translate = r.x, o.x.scale = Au(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = Au(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (kte(o.x, e.x, n), kte(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (tg(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), jte(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Gee(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= _h(), Qh(f, this.relativeTarget)), c && (this.animationValues = a, ete(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
}
startAnimation(e) {
- this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (Al(this.pendingAnimation), void 0), this.pendingAnimation = kl.update(() => {
- sg.hasAnimatedSinceResize = !0, this.motionValue ||= ip(0), this.motionValue.jump(0, !1), this.currentAnimation = ite(this.motionValue, [0, 1e3], {
+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (Ol(this.pendingAnimation), void 0), this.pendingAnimation = Dl.update(() => {
+ ag.hasAnimatedSinceResize = !0, this.motionValue ||= np(0), this.motionValue.jump(0, !1), this.currentAnimation = ate(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -17326,7 +17311,7 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
onComplete: () => {
e.onComplete && e.onComplete(), this.completeAnimation();
}
- }), Od(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;
+ }), Ed(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;
});
}
completeAnimation() {
@@ -17335,23 +17320,23 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
}
finishAnimation() {
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(lte), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(ute), this.currentAnimation.stop()), this.completeAnimation();
}
applyTransformsToTarget() {
let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;
if (t && i && n) {
- if (this !== e && this.layout && n && Lte(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
- i = this.target || hh();
- let t = Qh(this.layout.layoutBox.x);
+ if (this !== e && this.layout && n && Rte(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
+ i = this.target || _h();
+ let t = $h(this.layout.layoutBox.x);
i.x.min = e.target.x.min, i.x.max = i.x.min + t;
- let n = Qh(this.layout.layoutBox.y);
+ let n = $h(this.layout.layoutBox.y);
i.y.min = e.target.y.min, i.y.max = i.y.min + n;
}
- Xh(t, i), xm(t, r), eg(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
+ Qh(t, i), Sm(t, r), eg(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new cte()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new lte()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n ? n.transition : void 0,
@@ -17388,8 +17373,8 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
let t = !1, { latestValues: n } = e;
if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;
let r = {};
- n.z && ug("z", e, r, this.animationValues);
- for (let t = 0; t < lg.length; t++) ug(`rotate${lg[t]}`, e, r, this.animationValues), ug(`skew${lg[t]}`, e, r, this.animationValues);
+ n.z && cg("z", e, r, this.animationValues);
+ for (let t = 0; t < sg.length; t++) cg(`rotate${sg[t]}`, e, r, this.animationValues), cg(`skew${sg[t]}`, e, r, this.animationValues);
e.render();
for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);
e.scheduleRender();
@@ -17402,71 +17387,71 @@ function fte({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
}
let n = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = og(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = ig(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
return;
}
let r = this.getLead();
if (!this.projectionDelta || !this.layout || !r.target) {
- this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = og(t?.pointerEvents) || ""), this.hasProjected && !cm(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = ig(t?.pointerEvents) || ""), this.hasProjected && !um(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = r.animationValues || r.latestValues;
this.applyTransformsToTarget();
- let a = Yee(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = Xee(this.projectionDeltaWithTransform, this.treeScale, i);
n && (a = n(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
- for (let t in zh) {
+ for (let t in Vh) {
if (i[t] === void 0) continue;
- let { correct: n, applyTo: o, isCSSVariable: s } = zh[t], c = a === "none" ? i[t] : n(i[t], r);
+ let { correct: n, applyTo: o, isCSSVariable: s } = Vh[t], c = a === "none" ? i[t] : n(i[t], r);
if (o) {
let t = o.length;
for (let n = 0; n < t; n++) e[o[n]] = c;
} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;
}
- this.options.layoutId && (e.pointerEvents = r === this ? og(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = r === this ? ig(t?.pointerEvents) || "" : "none");
}
clearSnapshot() {
this.resumeFrom = this.snapshot = void 0;
}
resetTree() {
- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(vte), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(yte), this.root.sharedNodes.clear();
}
};
}
-function pte(e) {
+function mte(e) {
e.updateLayout();
}
-function mte(e) {
+function hte(e) {
let t = e.resumeFrom?.snapshot || e.snapshot;
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;
- if (i === "size") ig((e) => {
- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = Qh(r);
+ if (i === "size") ng((e) => {
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = $h(r);
r.min = n[e].min, r.max = r.min + i;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- Yh(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
- } else Lte(i, t.layoutBox, n) && ig((r) => {
- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = Qh(n[r]);
+ Zh(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
+ } else Rte(i, t.layoutBox, n) && ng((r) => {
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = $h(n[r]);
i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);
});
- let o = ph();
+ let o = hh();
eg(o, n, t.layoutBox);
- let s = ph();
+ let s = hh();
a ? eg(s, e.applyTransform(r, !0), t.measuredBox) : eg(s, n, t.layoutBox);
- let c = !Hee(o), l = !1;
+ let c = !Uee(o), l = !1;
if (!e.resumeFrom) {
let r = e.getClosestProjectingParent();
if (r && !r.resumeFrom) {
let { snapshot: i, layout: a } = r;
if (i && a) {
- let o = e.options.layoutAnchor || void 0, s = hh();
- rg(s, t.layoutBox, i.layoutBox, o);
- let c = hh();
- rg(c, n, a.layoutBox, o), Kee(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
+ let o = e.options.layoutAnchor || void 0, s = _h();
+ tg(s, t.layoutBox, i.layoutBox, o);
+ let c = _h();
+ tg(c, n, a.layoutBox, o), qee(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
}
}
}
@@ -17484,59 +17469,59 @@ function mte(e) {
}
e.options.transition = void 0;
}
-function hte(e) {
- rh.value && cg.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
-}
function gte(e) {
- e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
+ ah.value && og.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
}
function _te(e) {
- e.clearSnapshot();
+ e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
function vte(e) {
- e.clearMeasurements();
+ e.clearSnapshot();
}
function yte(e) {
- e.isLayoutDirty = !0, e.updateLayout();
+ e.clearMeasurements();
}
function bte(e) {
- e.isLayoutDirty = !1;
+ e.isLayoutDirty = !0, e.updateLayout();
}
function xte(e) {
- e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
+ e.isLayoutDirty = !1;
}
function Ste(e) {
+ e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
+}
+function Cte(e) {
let { visualElement: t } = e.options;
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function Cte(e) {
+function wte(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function wte(e) {
+function Tte(e) {
e.resolveTargetDelta();
}
-function Tte(e) {
+function Ete(e) {
e.calcProjection();
}
-function Ete(e) {
+function Dte(e) {
e.resetSkewAndRotation();
}
-function Dte(e) {
+function Ote(e) {
e.removeLeadSnapshot();
}
-function Ote(e, t, n) {
- e.translate = Nu(t.translate, 0, n), e.scale = Nu(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
-}
-function kte(e, t, n, r) {
- e.min = Nu(t.min, n.min, r), e.max = Nu(t.max, n.max, r);
+function kte(e, t, n) {
+ e.translate = Au(t.translate, 0, n), e.scale = Au(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
function Ate(e, t, n, r) {
- kte(e.x, t.x, n.x, r), kte(e.y, t.y, n.y, r);
+ e.min = Au(t.min, n.min, r), e.max = Au(t.max, n.max, r);
+}
+function jte(e, t, n, r) {
+ Ate(e.x, t.x, n.x, r), Ate(e.y, t.y, n.y, r);
}
-function jte(e) {
+function Mte(e) {
return e.animationValues && e.animationValues.opacityExit !== void 0;
}
-var Mte = {
+var Nte = {
duration: .45,
ease: [
.4,
@@ -17544,79 +17529,79 @@ var Mte = {
.1,
1
]
-}, Nte = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Pte = Nte("applewebkit/") && !Nte("chrome/") ? Math.round : Zc;
-function Fte(e) {
- e.min = Pte(e.min), e.max = Pte(e.max);
-}
+}, Pte = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Fte = Pte("applewebkit/") && !Pte("chrome/") ? Math.round : Jc;
function Ite(e) {
- Fte(e.x), Fte(e.y);
+ e.min = Fte(e.min), e.max = Fte(e.max);
+}
+function Lte(e) {
+ Ite(e.x), Ite(e.y);
}
-function Lte(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !Nee(qee(t), qee(n), .2);
+function Rte(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !jee(Jee(t), Jee(n), .2);
}
-function Rte(e) {
+function zte(e) {
return e !== e.root && e.scroll?.wasRoot;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var zte = fte({
- attachResizeListener: (e, t) => ag(e, "resize", t),
+var Bte = pte({
+ attachResizeListener: (e, t) => rg(e, "resize", t),
measureScroll: () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
}),
checkIsScrollRoot: () => !0
-}), dg = { current: void 0 }, Bte = fte({
+}), lg = { current: void 0 }, Vte = pte({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!dg.current) {
- let e = new zte({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), dg.current = e;
+ if (!lg.current) {
+ let e = new Bte({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), lg.current = e;
}
- return dg.current;
+ return lg.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
},
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
-}), fg = (0, b.createContext)({
+}), ug = (0, b.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
-function Vte(e, t) {
+function Hte(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function Hte(...e) {
+function Ute(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
- let r = Vte(e, t);
+ let r = Hte(e, t);
return !n && typeof r == "function" && (n = !0), r;
});
if (n) return () => {
for (let t = 0; t < r.length; t++) {
let n = r[t];
- typeof n == "function" ? n() : Vte(e[t], null);
+ typeof n == "function" ? n() : Hte(e[t], null);
}
};
};
}
-function Ute(...e) {
- return b.useCallback(Hte(...e), e);
+function Wte(...e) {
+ return b.useCallback(Ute(...e), e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var Wte = class extends b.Component {
+var Gte = class extends b.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.childRef.current;
- if (Wp(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
- let e = t.offsetParent, n = Wp(e) && e.offsetWidth || 0, r = Wp(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
+ if (Kp(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
+ let e = t.offsetParent, n = Kp(e) && e.offsetWidth || 0, r = Kp(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction;
}
return null;
@@ -17626,7 +17611,7 @@ var Wte = class extends b.Component {
return this.props.children;
}
};
-function Gte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
+function Kte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
let o = (0, b.useId)(), s = (0, b.useRef)(null), c = (0, b.useRef)({
width: 0,
height: 0,
@@ -17635,7 +17620,7 @@ function Gte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: l } = (0, b.useContext)(fg), u = Ute(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
+ }), { nonce: l } = (0, b.useContext)(ug), u = Wte(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
return (0, b.useInsertionEffect)(() => {
let { width: e, height: u, top: d, left: f, right: p, bottom: m, direction: h } = c.current;
if (t || a === !1 || !s.current || !e || !u) return;
@@ -17655,7 +17640,7 @@ function Gte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
`), () => {
s.current?.removeAttribute("data-motion-pop-id"), b.contains(y) && b.removeChild(y);
};
- }, [t]), (0, x.jsx)(Wte, {
+ }, [t]), (0, x.jsx)(Gte, {
isPresent: t,
childRef: s,
sizeRef: c,
@@ -17665,9 +17650,9 @@ function Gte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var Kte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = Bc(qte), d = (0, b.useId)(), f = (0, b.useRef)(n), p = (0, b.useRef)(r);
- Vc(() => {
+var qte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = Lc(Jte), d = (0, b.useId)(), f = (0, b.useRef)(n), p = (0, b.useRef)(r);
+ Rc(() => {
f.current = n, p.current = r;
});
let m = !0, h = (0, b.useMemo)(() => (m = !1, {
@@ -17692,25 +17677,25 @@ var Kte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
u.forEach((e, t) => u.set(t, !1));
}, [n]), b.useEffect(() => {
!n && !u.size && r && r();
- }, [n]), e = (0, x.jsx)(Gte, {
+ }, [n]), e = (0, x.jsx)(Kte, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
anchorY: c,
root: l,
children: e
- }), (0, x.jsx)(Hc.Provider, {
+ }), (0, x.jsx)(zc.Provider, {
value: h,
children: e
});
};
-function qte() {
+function Jte() {
return /* @__PURE__ */ new Map();
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function Jte(e = !0) {
- let t = (0, b.useContext)(Hc);
+function Yte(e = !0) {
+ let t = (0, b.useContext)(zc);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, b.useId)();
(0, b.useEffect)(() => {
@@ -17723,16 +17708,16 @@ function Jte(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function Yte() {
- return Xte((0, b.useContext)(Hc));
+function Xte() {
+ return Zte((0, b.useContext)(zc));
}
-function Xte(e) {
+function Zte(e) {
return e === null || e.isPresent;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
-var pg = (e) => e.key || "";
-function Zte(e) {
+var dg = (e) => e.key || "";
+function Qte(e) {
let t = [];
return b.Children.forEach(e, (e) => {
(0, b.isValidElement)(e) && t.push(e);
@@ -17740,19 +17725,19 @@ function Zte(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
-var Qte = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
- let [u, d] = Jte(o), f = (0, b.useMemo)(() => Zte(e), [e]), p = o && !u ? [] : f.map(pg), m = (0, b.useRef)(!0), h = (0, b.useRef)(f), g = Bc(() => /* @__PURE__ */ new Map()), _ = (0, b.useRef)(/* @__PURE__ */ new Set()), [v, y] = (0, b.useState)(f), [S, C] = (0, b.useState)(f);
- Vc(() => {
+var $te = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
+ let [u, d] = Yte(o), f = (0, b.useMemo)(() => Qte(e), [e]), p = o && !u ? [] : f.map(dg), m = (0, b.useRef)(!0), h = (0, b.useRef)(f), g = Lc(() => /* @__PURE__ */ new Map()), _ = (0, b.useRef)(/* @__PURE__ */ new Set()), [v, y] = (0, b.useState)(f), [S, C] = (0, b.useState)(f);
+ Rc(() => {
o && !u && !S.length && d?.();
}, [
u,
o,
S.length,
d
- ]), Vc(() => {
+ ]), Rc(() => {
m.current = !1, h.current = f;
for (let e = 0; e < S.length; e++) {
- let t = pg(S[e]);
+ let t = dg(S[e]);
p.includes(t) ? (g.delete(t), _.current.delete(t)) : g.get(t) !== !0 && g.set(t, !1);
}
}, [
@@ -17764,15 +17749,15 @@ var Qte = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenc
if (f !== v) {
let e = [...f], t = 0;
for (let n of S) {
- let r = p.indexOf(pg(n));
+ let r = p.indexOf(dg(n));
r === -1 ? (e.splice(t++, 0, n), w.push(n)) : t = r + w.length + 1;
}
- return a === "wait" && w.length && (e = w), C(Zte(e)), y(f), null;
+ return a === "wait" && w.length && (e = w), C(Qte(e)), y(f), null;
}
- let { forceRender: T } = (0, b.useContext)(zc);
+ let { forceRender: T } = (0, b.useContext)(Ic);
return (0, x.jsx)(x.Fragment, { children: S.map((e) => {
- let v = pg(e), y = o && !u ? !1 : f === S || p.includes(v);
- return (0, x.jsx)(Kte, {
+ let v = dg(e), y = o && !u ? !1 : f === S || p.includes(v);
+ return (0, x.jsx)(qte, {
isPresent: y,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -17793,7 +17778,7 @@ var Qte = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenc
children: e
}, v);
}) });
-}, $te = (0, b.createContext)({ strict: !1 }), ene = {
+}, ene = (0, b.createContext)({ strict: !1 }), tne = {
animation: [
"animate",
"variants",
@@ -17830,34 +17815,34 @@ var Qte = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenc
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, tne = !1;
-function nne() {
- if (tne) return;
+}, nne = !1;
+function rne() {
+ if (nne) return;
let e = {};
- for (let t in ene) e[t] = { isEnabled: (e) => ene[t].some((t) => !!e[t]) };
- Ah(e), tne = !0;
+ for (let t in tne) e[t] = { isEnabled: (e) => tne[t].some((t) => !!e[t]) };
+ Mh(e), nne = !0;
}
-function rne() {
- return nne(), jh();
+function ine() {
+ return rne(), Nh();
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function ine(e) {
- let t = rne();
+function ane(e) {
+ let t = ine();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- Ah(t);
+ Mh(t);
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function ane({ children: e, ...t }) {
- let n = (0, b.useContext)(fg);
+function one({ children: e, ...t }) {
+ let n = (0, b.useContext)(ug);
t = {
...n,
...t
- }, t.transition = ap(t.transition, n.transition), t.isStatic = Bc(() => t.isStatic);
+ }, t.transition = rp(t.transition, n.transition), t.isStatic = Lc(() => t.isStatic);
let r = (0, b.useMemo)(() => t, [
JSON.stringify(t.transition),
t.transformPagePoint,
@@ -17865,41 +17850,41 @@ function ane({ children: e, ...t }) {
t.skipAnimations,
t.isValidProp
]);
- return (0, x.jsx)(fg.Provider, {
+ return (0, x.jsx)(ug.Provider, {
value: r,
children: e
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var mg = /* @__PURE__ */ (0, b.createContext)({});
+var fg = /* @__PURE__ */ (0, b.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function one(e, t) {
- if (xh(e)) {
+function sne(e, t) {
+ if (Ch(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || vh(t) ? t : void 0,
- animate: vh(n) ? n : void 0
+ initial: t === !1 || bh(t) ? t : void 0,
+ animate: bh(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function sne(e) {
- let { initial: t, animate: n } = one(e, (0, b.useContext)(mg));
+function cne(e) {
+ let { initial: t, animate: n } = sne(e, (0, b.useContext)(fg));
return (0, b.useMemo)(() => ({
initial: t,
animate: n
- }), [cne(t), cne(n)]);
+ }), [lne(t), lne(n)]);
}
-function cne(e) {
+function lne(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var hg = () => ({
+var pg = () => ({
style: {},
transform: {},
transformOrigin: {},
@@ -17907,42 +17892,42 @@ var hg = () => ({
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function lne(e, t, n) {
- for (let r in t) !Ep(t[r]) && !Bh(r, n) && (e[r] = t[r]);
+function une(e, t, n) {
+ for (let r in t) !wp(t[r]) && !Hh(r, n) && (e[r] = t[r]);
}
-function une({ transformTemplate: e }, t) {
+function dne({ transformTemplate: e }, t) {
return (0, b.useMemo)(() => {
- let n = hg();
- return Zp(n, t, e), Object.assign({}, n.vars, n.style);
+ let n = pg();
+ return $p(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function dne(e, t) {
+function fne(e, t) {
let n = e.style || {}, r = {};
- return lne(r, n, e), Object.assign(r, une(e, t)), r;
+ return une(r, n, e), Object.assign(r, dne(e, t)), r;
}
-function fne(e, t) {
- let n = {}, r = dne(e, t);
+function pne(e, t) {
+ let n = {}, r = fne(e, t);
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
-var pne = () => ({
- ...hg(),
+var mne = () => ({
+ ...pg(),
attrs: {}
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function mne(e, t, n, r) {
+function hne(e, t, n, r) {
let i = (0, b.useMemo)(() => {
- let n = pne();
- return nm(n, t, Uh(r), e.transformTemplate, e.style), {
+ let n = mne();
+ return im(n, t, Gh(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- lne(t, e.style, e), i.style = {
+ une(t, e.style, e), i.style = {
...t,
...i.style
};
@@ -17951,23 +17936,23 @@ function mne(e, t, n, r) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var hne = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
-function gg(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || hne.has(e);
+var gne = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
+function mg(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || gne.has(e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs
-function gne(e, t) {
- return e.startsWith("on") ? !gg(e) : t?.(e) ?? !gg(e);
+function _ne(e, t) {
+ return e.startsWith("on") ? !mg(e) : t?.(e) ?? !mg(e);
}
-function _ne(e, t, n, r) {
+function vne(e, t, n, r) {
let i = {};
- for (let a in e) (a !== "values" || typeof e.values != "object") && (Ep(e[a]) || (gne(a, r) || n === !0 && gg(a) || !t && !gg(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));
+ for (let a in e) (a !== "values" || typeof e.values != "object") && (wp(e[a]) || (_ne(a, r) || n === !0 && mg(a) || !t && !mg(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));
return i;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var vne = [
+var yne = [
"animate",
"circle",
"defs",
@@ -17996,17 +17981,17 @@ var vne = [
];
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function _g(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(vne.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function hg(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(yne.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function yne(e, t, n, { latestValues: r }, i, a = !1, o, s) {
- let c = (o ?? _g(e) ? mne : fne)(t, r, i, e), l = _ne(t, typeof e == "string", a, s), u = e === b.Fragment ? {} : {
+function bne(e, t, n, { latestValues: r }, i, a = !1, o, s) {
+ let c = (o ?? hg(e) ? hne : pne)(t, r, i, e), l = vne(t, typeof e == "string", a, s), u = e === b.Fragment ? {} : {
...l,
...c,
ref: n
- }, { children: d } = t, f = (0, b.useMemo)(() => Ep(d) ? d.get() : d, [d]);
+ }, { children: d } = t, f = (0, b.useMemo)(() => wp(d) ? d.get() : d, [d]);
return (0, b.createElement)(e, {
...u,
children: f
@@ -18014,24 +17999,24 @@ function yne(e, t, n, { latestValues: r }, i, a = !1, o, s) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function bne({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function xne({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: xne(n, r, i, e),
+ latestValues: Sne(n, r, i, e),
renderState: t()
};
}
-function xne(e, t, n, r) {
+function Sne(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = og(a[e]);
- let { initial: o, animate: s } = e, c = xh(e), l = Sh(e);
+ for (let e in a) i[e] = ig(a[e]);
+ let { initial: o, animate: s } = e, c = Ch(e), l = wh(e);
t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));
let u = n ? n.initial === !1 : !1;
u ||= o === !1;
let d = u ? s : o;
- if (d && typeof d != "boolean" && !_h(d)) {
+ if (d && typeof d != "boolean" && !yh(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
- let r = yp(e, t[n]);
+ let r = _p(e, t[n]);
if (r) {
let { transitionEnd: e, transition: t, ...n } = r;
for (let e in n) {
@@ -18048,19 +18033,19 @@ function xne(e, t, n, r) {
}
return i;
}
-var Sne = (e) => (t, n) => {
- let r = (0, b.useContext)(mg), i = (0, b.useContext)(Hc), a = () => bne(e, t, r, i);
- return n ? a() : Bc(a);
-}, Cne = /*@__PURE__*/ Sne({
- scrapeMotionValuesFromProps: Vh,
- createRenderState: hg
-}), wne = /*@__PURE__*/ Sne({
- scrapeMotionValuesFromProps: Wh,
- createRenderState: pne
-}), Tne = Symbol.for("motionComponentSymbol");
+var Cne = (e) => (t, n) => {
+ let r = (0, b.useContext)(fg), i = (0, b.useContext)(zc), a = () => xne(e, t, r, i);
+ return n ? a() : Lc(a);
+}, wne = /*@__PURE__*/ Cne({
+ scrapeMotionValuesFromProps: Uh,
+ createRenderState: pg
+}), Tne = /*@__PURE__*/ Cne({
+ scrapeMotionValuesFromProps: Kh,
+ createRenderState: mne
+}), Ene = Symbol.for("motionComponentSymbol");
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function Ene(e, t, n) {
+function Dne(e, t, n) {
let r = (0, b.useRef)(n);
(0, b.useInsertionEffect)(() => {
r.current = n;
@@ -18079,16 +18064,16 @@ function Ene(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var Dne = (0, b.createContext)({});
+var One = (0, b.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
-function vg(e) {
+function gg(e) {
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function One(e, t, n, r, i, a) {
- let { visualElement: o } = (0, b.useContext)(mg), s = (0, b.useContext)($te), c = (0, b.useContext)(Hc), l = (0, b.useContext)(fg), u = l.reducedMotion, d = l.skipAnimations, f = (0, b.useRef)(null), p = (0, b.useRef)(!1);
+function kne(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, b.useContext)(fg), s = (0, b.useContext)(ene), c = (0, b.useContext)(zc), l = (0, b.useContext)(ug), u = l.reducedMotion, d = l.skipAnimations, f = (0, b.useRef)(null), p = (0, b.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -18099,14 +18084,14 @@ function One(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, b.useContext)(Dne);
- m && !m.projection && i && (m.type === "html" || m.type === "svg") && kne(f.current, n, i, h);
+ let m = f.current, h = (0, b.useContext)(One);
+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && Ane(f.current, n, i, h);
let g = (0, b.useRef)(!1);
(0, b.useInsertionEffect)(() => {
m && g.current && m.update(n, c);
});
- let _ = n[Ap], v = (0, b.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
- return Vc(() => {
+ let _ = n[Op], v = (0, b.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
+ return Rc(() => {
p.current = !0, m && (g.current = !0, window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), v.current && m.animationState && m.animationState.animateChanges());
}), (0, b.useEffect)(() => {
m && (!v.current && m.animationState && m.animationState.animateChanges(), v.current &&= (queueMicrotask(() => {
@@ -18114,12 +18099,12 @@ function One(e, t, n, r, i, a) {
}), !1), m.enteringChildren = void 0);
}), m;
}
-function kne(e, t, n, r) {
+function Ane(e, t, n, r) {
let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t;
- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Ane(e.parent)), e.projection.setOptions({
+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : jne(e.parent)), e.projection.setOptions({
layoutId: i,
layout: a,
- alwaysMeasureLayout: !!o || s && vg(s),
+ alwaysMeasureLayout: !!o || s && gg(s),
visualElement: e,
animationType: typeof a == "string" ? a : "both",
initialPromotionConfig: r,
@@ -18129,46 +18114,46 @@ function kne(e, t, n, r) {
layoutAnchor: u
});
}
-function Ane(e) {
- if (e) return e.options.allowProjection === !1 ? Ane(e.parent) : e.projection;
+function jne(e) {
+ if (e) return e.options.allowProjection === !1 ? jne(e.parent) : e.projection;
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/index.mjs
-function yg(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && ine(r);
- let a = n ? n === "svg" : _g(e), o = a ? wne : Cne;
+function _g(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && ane(r);
+ let a = n ? n === "svg" : hg(e), o = a ? Tne : wne;
function s(n, s) {
let c, l = {
- ...(0, b.useContext)(fg),
+ ...(0, b.useContext)(ug),
...n,
- layoutId: jne(n)
- }, { isStatic: u, isValidProp: d } = l, f = sne(n), p = o(n, u);
+ layoutId: Mne(n)
+ }, { isStatic: u, isValidProp: d } = l, f = cne(n), p = o(n, u);
if (!u && typeof window < "u") {
- Mne(l, r);
- let t = Nne(l);
- c = t.MeasureLayout, f.visualElement = One(e, p, l, i, t.ProjectionNode, a);
+ Nne(l, r);
+ let t = Pne(l);
+ c = t.MeasureLayout, f.visualElement = kne(e, p, l, i, t.ProjectionNode, a);
}
- return (0, x.jsxs)(mg.Provider, {
+ return (0, x.jsxs)(fg.Provider, {
value: f,
children: [c && f.visualElement ? (0, x.jsx)(c, {
visualElement: f.visualElement,
...l
- }) : null, yne(e, n, Ene(p, f.visualElement, s), p, u, t, a, d)]
+ }) : null, bne(e, n, Dne(p, f.visualElement, s), p, u, t, a, d)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, b.forwardRef)(s);
- return c[Tne] = e, c;
+ return c[Ene] = e, c;
}
-function jne({ layoutId: e }) {
- let t = (0, b.useContext)(zc).id;
+function Mne({ layoutId: e }) {
+ let t = (0, b.useContext)(Ic).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function Mne(e, t) {
- (0, b.useContext)($te).strict;
+function Nne(e, t) {
+ (0, b.useContext)(ene).strict;
}
-function Nne(e) {
- let { drag: t, layout: n } = rne();
+function Pne(e) {
+ let { drag: t, layout: n } = ine();
if (!t && !n) return {};
let r = {
...t,
@@ -18181,20 +18166,20 @@ function Nne(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function Pne(e, t) {
- if (typeof Proxy > "u") return yg;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => yg(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, yg(a, void 0, e, t)), n.get(a)) });
+function Fne(e, t) {
+ if (typeof Proxy > "u") return _g;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => _g(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, _g(a, void 0, e, t)), n.get(a)) });
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var Fne = (e, t) => t.isSVG ?? _g(e) ? new See(t) : new bee(t, { allowProjection: e !== b.Fragment }), Ine = class extends Ph {
+var Ine = (e, t) => t.isSVG ?? hg(e) ? new yee(t) : new _ee(t, { allowProjection: e !== b.Fragment }), Lne = class extends Ih {
constructor(e) {
- super(e), e.animationState ||= Dee(e);
+ super(e), e.animationState ||= wee(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- _h(e) && (this.unmountControls = e.subscribe(this.node));
+ yh(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -18206,11 +18191,11 @@ var Fne = (e, t) => t.isSVG ?? _g(e) ? new See(t) : new bee(t, { allowProjection
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, Lne = 0, Rne = {
- animation: { Feature: Ine },
- exit: { Feature: class extends Ph {
+}, Rne = 0, zne = {
+ animation: { Feature: Lne },
+ exit: { Feature: class extends Ih {
constructor() {
- super(...arguments), this.id = Lne++, this.isExitComplete = !1;
+ super(...arguments), this.id = Rne++, this.isExitComplete = !1;
}
update() {
if (!this.node.presenceContext) return;
@@ -18220,7 +18205,7 @@ var Fne = (e, t) => t.isSVG ?? _g(e) ? new See(t) : new bee(t, { allowProjection
if (this.isExitComplete) {
let { initial: e, custom: t } = this.node.getProps();
if (typeof e == "string" || typeof e == "object" && e && !Array.isArray(e)) {
- let n = bp(this.node, e, t);
+ let n = vp(this.node, e, t);
if (n) {
let { transition: e, transitionEnd: t, ...r } = n;
for (let e in r) this.node.getValue(e)?.jump(r[e]);
@@ -18245,28 +18230,28 @@ var Fne = (e, t) => t.isSVG ?? _g(e) ? new See(t) : new bee(t, { allowProjection
};
//#endregion
//#region node_modules/framer-motion/dist/es/events/event-info.mjs
-function bg(e) {
+function vg(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var zne = (e) => (t) => jm(t) && e(t, bg(t));
+var Bne = (e) => (t) => Mm(t) && e(t, vg(t));
//#endregion
//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
-function xg(e, t, n, r) {
- return ag(e, t, zne(n), r);
+function yg(e, t, n, r) {
+ return rg(e, t, Bne(n), r);
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs
-var Bne = ({ current: e }) => e ? e.ownerDocument.defaultView : null, Vne = (e, t) => Math.abs(e - t);
-function Hne(e, t) {
- let n = Vne(e.x, t.x), r = Vne(e.y, t.y);
+var Vne = ({ current: e }) => e ? e.ownerDocument.defaultView : null, Hne = (e, t) => Math.abs(e - t);
+function Une(e, t) {
+ let n = Hne(e.x, t.x), r = Hne(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs
-var Une = /*#__PURE__*/ new Set(["auto", "scroll"]), Wne = class {
+var Wne = /*#__PURE__*/ new Set(["auto", "scroll"]), Gne = class {
constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -18274,13 +18259,13 @@ var Une = /*#__PURE__*/ new Set(["auto", "scroll"]), Wne = class {
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Sg(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = Cg(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Hne(e.offset, {
+ this.lastRawMoveEventInfo && (this.lastMoveEventInfo = bg(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = xg(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Une(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
if (!t && !n) return;
- let { point: r } = e, { timestamp: i } = jl;
+ let { point: r } = e, { timestamp: i } = kl;
this.history.push({
...r,
timestamp: i
@@ -18288,33 +18273,33 @@ var Une = /*#__PURE__*/ new Set(["auto", "scroll"]), Wne = class {
let { onStart: a, onMove: o } = this.handlers;
t || (a && a(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), o && o(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Sg(t, this.transformPagePoint), kl.update(this.updatePoint, !0);
+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = bg(t, this.transformPagePoint), Dl.update(this.updatePoint, !0);
}, this.handlePointerUp = (e, t) => {
this.end();
let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- let a = Cg(e.type === "pointercancel" ? this.lastMoveEventInfo : Sg(t, this.transformPagePoint), this.history);
+ let a = xg(e.type === "pointercancel" ? this.lastMoveEventInfo : bg(t, this.transformPagePoint), this.history);
this.startEvent && n && n(e, a), r && r(e, a);
- }, !jm(e)) return;
+ }, !Mm(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = Sg(bg(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = jl;
+ let s = bg(vg(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = kl;
this.history = [{
...c,
timestamp: l
}];
let { onSessionStart: u } = t;
- u && u(e, Cg(s, this.history));
+ u && u(e, xg(s, this.history));
let d = {
passive: !0,
capture: !0
};
- this.removeListeners = Qc(xg(this.contextWindow, "pointermove", this.handlePointerMove, d), xg(this.contextWindow, "pointerup", this.handlePointerUp, d), xg(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
+ this.removeListeners = Yc(yg(this.contextWindow, "pointermove", this.handlePointerMove, d), yg(this.contextWindow, "pointerup", this.handlePointerUp, d), yg(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (Une.has(e.overflowX) || Une.has(e.overflowY)) && this.scrollPositions.set(t, {
+ (Wne.has(e.overflowX) || Wne.has(e.overflowY)) && this.scrollPositions.set(t, {
x: t.scrollLeft,
y: t.scrollTop
}), t = t.parentElement;
@@ -18339,51 +18324,51 @@ var Une = /*#__PURE__*/ new Set(["auto", "scroll"]), Wne = class {
x: r.x - t.x,
y: r.y - t.y
};
- (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), kl.update(this.updatePoint, !0));
+ (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), Dl.update(this.updatePoint, !0));
}
updateHandlers(e) {
this.handlers = e;
}
end() {
- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), Al(this.updatePoint);
+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), Ol(this.updatePoint);
}
};
-function Sg(e, t) {
+function bg(e, t) {
return t ? { point: t(e.point) } : e;
}
-function Gne(e, t) {
+function Kne(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function Cg({ point: e }, t) {
+function xg({ point: e }, t) {
return {
point: e,
- delta: Gne(e, qne(t)),
- offset: Gne(e, Kne(t)),
- velocity: Jne(t, .1)
+ delta: Kne(e, Jne(t)),
+ offset: Kne(e, qne(t)),
+ velocity: Yne(t, .1)
};
}
-function Kne(e) {
+function qne(e) {
return e[0];
}
-function qne(e) {
+function Jne(e) {
return e[e.length - 1];
}
-function Jne(e, t) {
+function Yne(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = qne(e);
- for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ tl(t)));) n--;
+ let n = e.length - 1, r = null, i = Jne(e);
+ for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Qc(t)));) n--;
if (!r) return {
x: 0,
y: 0
};
- r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ tl(t) * 2 && (r = e[1]);
- let a = /* @__PURE__ */ nl(i.timestamp - r.timestamp);
+ r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ Qc(t) * 2 && (r = e[1]);
+ let a = /* @__PURE__ */ $c(i.timestamp - r.timestamp);
if (a === 0) return {
x: 0,
y: 0
@@ -18396,86 +18381,86 @@ function Jne(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs
-function Yne(e, { min: t, max: n }, r) {
- return t !== void 0 && e < t ? e = r ? Nu(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Nu(n, e, r.max) : Math.min(e, n)), e;
+function Xne(e, { min: t, max: n }, r) {
+ return t !== void 0 && e < t ? e = r ? Au(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Au(n, e, r.max) : Math.min(e, n)), e;
}
-function Xne(e, t, n) {
+function Zne(e, t, n) {
return {
min: t === void 0 ? void 0 : e.min + t,
max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)
};
}
-function Zne(e, { top: t, left: n, bottom: r, right: i }) {
+function Qne(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: Xne(e.x, n, i),
- y: Xne(e.y, t, r)
+ x: Zne(e.x, n, i),
+ y: Zne(e.y, t, r)
};
}
-function Qne(e, t) {
+function $ne(e, t) {
let n = t.min - e.min, r = t.max - e.max;
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {
min: n,
max: r
};
}
-function $ne(e, t) {
+function ere(e, t) {
return {
- x: Qne(e.x, t.x),
- y: Qne(e.y, t.y)
+ x: $ne(e.x, t.x),
+ y: $ne(e.y, t.y)
};
}
-function ere(e, t) {
- let n = .5, r = Qh(e), i = Qh(t);
- return i > r ? n = /* @__PURE__ */ $c(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ $c(e.min, e.max - i, t.min)), Gc(0, 1, n);
-}
function tre(e, t) {
+ let n = .5, r = $h(e), i = $h(t);
+ return i > r ? n = /* @__PURE__ */ Xc(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Xc(e.min, e.max - i, t.min)), Hc(0, 1, n);
+}
+function nre(e, t) {
let n = {};
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
}
-var wg = .35;
-function nre(e = wg) {
- return e === !1 ? e = 0 : e === !0 && (e = wg), {
- x: rre(e, "left", "right"),
- y: rre(e, "top", "bottom")
+var Sg = .35;
+function rre(e = Sg) {
+ return e === !1 ? e = 0 : e === !0 && (e = Sg), {
+ x: ire(e, "left", "right"),
+ y: ire(e, "top", "bottom")
};
}
-function rre(e, t, n) {
+function ire(e, t, n) {
return {
- min: ire(e, t),
- max: ire(e, n)
+ min: are(e, t),
+ max: are(e, n)
};
}
-function ire(e, t) {
+function are(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
-var are = /* @__PURE__ */ new WeakMap(), ore = class {
+var ore = /* @__PURE__ */ new WeakMap(), sre = class {
constructor(e) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
y: 0
- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = hh(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = _h(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
}
start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {
let { presenceContext: r } = this.visualElement;
if (r && r.isPresent === !1) return;
let i = (e) => {
- t && this.snapToCursor(bg(e).point), this.stopAnimation();
+ t && this.snapToCursor(vg(e).point), this.stopAnimation();
}, a = (e, t) => {
let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();
if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = Dm(n), !this.openDragLock)) return;
- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), ig((e) => {
+ this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), ng((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
- if (iu.test(t)) {
+ if (nu.test(t)) {
let { projection: n } = this.visualElement;
if (n && n.layout) {
let r = n.layout.layoutBox[e];
- r && (t = Qh(r) * (parseFloat(t) / 100));
+ r && (t = $h(r) * (parseFloat(t) / 100));
}
}
this.originPoint[e] = t;
- }), i && kl.update(() => i(e, t), !1, !0), Op(this.visualElement, "transform");
+ }), i && Dl.update(() => i(e, t), !1, !0), Ep(this.visualElement, "transform");
let { animationState: a } = this.visualElement;
a && a.setActive("whileDrag", !0);
}, o = (e, t) => {
@@ -18483,7 +18468,7 @@ var are = /* @__PURE__ */ new WeakMap(), ore = 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 = lre(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && kl.update(() => a(e, t), !1, !0));
+ r && this.currentDirection === null ? (this.currentDirection = ure(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && Dl.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 = () => {
@@ -18493,7 +18478,7 @@ var are = /* @__PURE__ */ new WeakMap(), ore = class {
y: 0
});
}, { dragSnapToOrigin: l } = this.getProps();
- this.panSession = new Wne(e, {
+ this.panSession = new Gne(e, {
onSessionStart: i,
onStart: a,
onMove: o,
@@ -18503,7 +18488,7 @@ var are = /* @__PURE__ */ new WeakMap(), ore = class {
transformPagePoint: this.visualElement.getTransformPagePoint(),
dragSnapToOrigin: l,
distanceThreshold: n,
- contextWindow: Bne(this.visualElement),
+ contextWindow: Vne(this.visualElement),
element: this.visualElement.current
});
}
@@ -18513,7 +18498,7 @@ var are = /* @__PURE__ */ new WeakMap(), ore = class {
let { velocity: a } = r;
this.startAnimation(a);
let { onDragEnd: o } = this.getProps();
- o && kl.postRender(() => o(n, r));
+ o && Dl.postRender(() => o(n, r));
}
cancel() {
this.isDragging = !1;
@@ -18527,32 +18512,32 @@ var are = /* @__PURE__ */ new WeakMap(), ore = class {
}
updateAxis(e, t, n) {
let { drag: r } = this.getProps();
- if (!n || !Tg(e, r, this.currentDirection)) return;
+ if (!n || !Cg(e, r, this.currentDirection)) return;
let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];
- this.constraints && this.constraints[e] && (a = Yne(a, this.constraints[e], this.elastic[e])), i.set(a);
+ this.constraints && this.constraints[e] && (a = Xne(a, this.constraints[e], this.elastic[e])), i.set(a);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;
- e && vg(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Zne(n.layoutBox, e) : !1, this.elastic = nre(t), r !== this.constraints && !vg(e) && n && this.constraints && !this.hasMutatedConstraints && ig((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = tre(n.layoutBox[e], this.constraints[e]));
+ e && gg(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Qne(n.layoutBox, e) : !1, this.elastic = rre(t), r !== this.constraints && !gg(e) && n && this.constraints && !this.hasMutatedConstraints && ng((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = nre(n.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!e || !vg(e)) return !1;
+ if (!e || !gg(e)) return !1;
let n = e.current, { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
r.root && (r.root.scroll = void 0, r.root.updateScroll());
- let i = Cm(n, r.root, this.visualElement.getTransformPagePoint()), a = $ne(r.layout.layoutBox, i);
+ let i = mee(n, r.root, this.visualElement.getTransformPagePoint()), a = ere(r.layout.layoutBox, i);
if (t) {
- let e = t(im(a));
- this.hasMutatedConstraints = !!e, e && (a = rm(e));
+ let e = t(om(a));
+ this.hasMutatedConstraints = !!e, e && (a = am(e));
}
return a;
}
startAnimation(e) {
- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = ig((o) => {
- if (!Tg(o, t, this.currentDirection)) return;
+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = ng((o) => {
+ if (!Cg(o, t, this.currentDirection)) return;
let c = s && s[o] || {};
(a === !0 || a === o) && (c = {
min: 0,
@@ -18575,63 +18560,63 @@ var are = /* @__PURE__ */ new WeakMap(), ore = class {
}
startAxisValueAnimation(e, t) {
let n = this.getAxisMotionValue(e);
- return Op(this.visualElement, e), n.start(mp(e, n, 0, t, this.visualElement, !1));
+ return Ep(this.visualElement, e), n.start(fp(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- ig((e) => this.getAxisMotionValue(e).stop());
+ ng((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
return this.visualElement.getProps()[t] || this.visualElement.getValue(e, this.visualElement.latestValues[e] ?? 0);
}
snapToCursor(e) {
- ig((t) => {
+ ng((t) => {
let { drag: n } = this.getProps();
- if (!Tg(t, n, this.currentDirection)) return;
+ if (!Cg(t, n, this.currentDirection)) return;
let { projection: r } = this.visualElement, i = this.getAxisMotionValue(t);
if (r && r.layout) {
let { min: n, max: a } = r.layout.layoutBox[t], o = i.get() || 0;
- i.set(e[t] - Nu(n, a, .5) + o);
+ i.set(e[t] - Au(n, a, .5) + o);
}
});
}
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!vg(t) || !n || !this.constraints) return;
+ if (!gg(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = this.constraints, i = {
x: 0,
y: 0
};
- ig((e) => {
+ ng((e) => {
let t = this.getAxisMotionValue(e).get();
- i[e] = ere({
+ i[e] = tre({
min: t,
max: t
}, r[e]);
});
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(), ig((t) => {
+ 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 (!Tg(t, e, null) || !n.get()) return;
+ if (!Cg(t, e, null) || !n.get()) return;
let { min: r, max: a } = this.constraints[t];
- n.set(Nu(r, a, i[t]));
+ n.set(Au(r, a, i[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- are.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 && Fm(i);
+ ore.set(this.visualElement, this);
+ let e = this.visualElement.current, t = yg(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Im(i);
n && r && !a && this.start(t);
}), n, r = () => {
let { dragConstraints: t } = this.getProps();
- vg(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= cre(e, t.current, () => this.scalePositionWithinConstraints()));
+ gg(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= lre(e, t.current, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), kl.read(r);
- let o = ag(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (ig((t) => {
+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), Dl.read(r);
+ let o = rg(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (ng((t) => {
let n = this.getAxisMotionValue(t);
n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));
}), this.visualElement.render());
@@ -18641,7 +18626,7 @@ var are = /* @__PURE__ */ new WeakMap(), ore = class {
};
}
getProps() {
- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = wg, dragMomentum: o = !0 } = e;
+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = Sg, dragMomentum: o = !0 } = e;
return {
...e,
drag: t,
@@ -18653,34 +18638,34 @@ var are = /* @__PURE__ */ new WeakMap(), ore = class {
};
}
};
-function sre(e) {
+function cre(e) {
let t = !0;
return () => {
t ? t = !1 : e();
};
}
-function cre(e, t, n) {
- let r = nh(e, sre(n)), i = nh(t, sre(n));
+function lre(e, t, n) {
+ let r = ih(e, cre(n)), i = ih(t, cre(n));
return () => {
r(), i();
};
}
-function Tg(e, t, n) {
+function Cg(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function lre(e, t = 10) {
+function ure(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 ure = class extends Ph {
+var dre = class extends Ih {
constructor(e) {
- super(e), this.removeGroupControls = Zc, this.removeListeners = Zc, this.controls = new ore(e);
+ super(e), this.removeGroupControls = Jc, this.removeListeners = Jc, this.controls = new sre(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
- e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Zc;
+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Jc;
}
update() {
let { dragControls: e } = this.node.getProps(), { dragControls: t } = this.node.prevProps || {};
@@ -18689,31 +18674,31 @@ var ure = class extends Ph {
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, Eg = (e) => (t, n) => {
- e && kl.update(() => e(t, n), !1, !0);
-}, dre = class extends Ph {
+}, wg = (e) => (t, n) => {
+ e && Dl.update(() => e(t, n), !1, !0);
+}, fre = class extends Ih {
constructor() {
- super(...arguments), this.removePointerDownListener = Zc;
+ super(...arguments), this.removePointerDownListener = Jc;
}
onPointerDown(e) {
- this.session = new Wne(e, this.createPanHandlers(), {
+ this.session = new Gne(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
- contextWindow: Bne(this.node)
+ contextWindow: Vne(this.node)
});
}
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: Eg(e),
- onStart: Eg(t),
- onMove: Eg(n),
+ onSessionStart: wg(e),
+ onStart: wg(t),
+ onMove: wg(n),
onEnd: (e, t) => {
- delete this.session, r && kl.postRender(() => r(e, t));
+ delete this.session, r && Dl.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = xg(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = yg(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session && this.session.updateHandlers(this.createPanHandlers());
@@ -18721,23 +18706,23 @@ var ure = class extends Ph {
unmount() {
this.removePointerDownListener(), this.session && this.session.end();
}
-}, Dg = !1, fre = class extends b.Component {
+}, Tg = !1, pre = 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), Dg && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), Tg && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
this.safeToRemove();
}), i.setOptions({
...i.options,
layoutDependency: this.props.layoutDependency,
onExitComplete: () => this.safeToRemove()
- })), sg.hasEverUpdated = !0;
+ })), ag.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layoutDependency: t, visualElement: n, drag: r, isPresent: i } = this.props, { projection: a } = n;
return a && (a.isPresent = i, e.layoutDependency !== t && a.setOptions({
...a.options,
layoutDependency: t
- }), Dg = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || kl.postRender(() => {
+ }), Tg = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || Dl.postRender(() => {
let e = a.getStack();
(!e || !e.members.length) && this.safeToRemove();
}))), null;
@@ -18750,7 +18735,7 @@ var ure = class extends Ph {
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- Dg = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
+ Tg = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
}
safeToRemove() {
let { safeToRemove: e } = this.props;
@@ -18760,41 +18745,41 @@ var ure = class extends Ph {
return null;
}
};
-function pre(e) {
- let [t, n] = Jte(), r = (0, b.useContext)(zc);
- return (0, x.jsx)(fre, {
+function mre(e) {
+ let [t, n] = Yte(), r = (0, b.useContext)(Ic);
+ return (0, x.jsx)(pre, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, b.useContext)(Dne),
+ switchLayoutGroup: (0, b.useContext)(One),
isPresent: t,
safeToRemove: n
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var mre = {
- pan: { Feature: dre },
+var hre = {
+ pan: { Feature: fre },
drag: {
- Feature: ure,
- ProjectionNode: Bte,
- MeasureLayout: pre
+ Feature: dre,
+ ProjectionNode: Vte,
+ MeasureLayout: mre
}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/hover.mjs
-function hre(e, t, n) {
+function gre(e, t, n) {
let { props: r } = e;
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
let i = r["onHover" + n];
- i && kl.postRender(() => i(t, bg(t)));
+ i && Dl.postRender(() => i(t, vg(t)));
}
-var gre = class extends Ph {
+var _re = class extends Ih {
mount() {
let { current: e } = this.node;
- e && (this.unmount = _ee(e, (e, t) => (hre(this.node, t, "Start"), (e) => hre(this.node, e, "End"))));
+ e && (this.unmount = Am(e, (e, t) => (gre(this.node, t, "Start"), (e) => gre(this.node, e, "End"))));
}
unmount() {}
-}, _re = class extends Ph {
+}, vre = class extends Ih {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -18811,57 +18796,57 @@ var gre = class extends Ph {
this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = Qc(ag(this.node.current, "focus", () => this.onFocus()), ag(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = Yc(rg(this.node.current, "focus", () => this.onFocus()), rg(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/press.mjs
-function vre(e, t, n) {
+function yre(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 && kl.postRender(() => i(t, bg(t)));
+ i && Dl.postRender(() => i(t, vg(t)));
}
-var yre = class extends Ph {
+var bre = class extends Ih {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = Vm(e, (e, t) => (vre(this.node, t, "Start"), (e, { success: t }) => vre(this.node, e, t ? "End" : "Cancel")), {
+ this.unmount = Um(e, (e, t) => (yre(this.node, t, "Start"), (e, { success: t }) => yre(this.node, e, t ? "End" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, Og = /* @__PURE__ */ new WeakMap(), kg = /* @__PURE__ */ new WeakMap(), bre = (e) => {
- let t = Og.get(e.target);
+}, Eg = /* @__PURE__ */ new WeakMap(), Dg = /* @__PURE__ */ new WeakMap(), xre = (e) => {
+ let t = Eg.get(e.target);
t && t(e);
-}, xre = (e) => {
- e.forEach(bre);
+}, Sre = (e) => {
+ e.forEach(xre);
};
-function Sre({ root: e, ...t }) {
+function Cre({ root: e, ...t }) {
let n = e || document;
- kg.has(n) || kg.set(n, {});
- let r = kg.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(xre, {
+ Dg.has(n) || Dg.set(n, {});
+ let r = Dg.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(Sre, {
root: e,
...t
})), r[i];
}
-function Cre(e, t, n) {
- let r = Sre(t);
- return Og.set(e, n), r.observe(e), () => {
- Og.delete(e), r.unobserve(e);
+function wre(e, t, n) {
+ let r = Cre(t);
+ return Eg.set(e, n), r.observe(e), () => {
+ Eg.delete(e), r.unobserve(e);
};
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var wre = {
+var Tre = {
some: 0,
all: 1
-}, Tre = class extends Ph {
+}, Ere = class extends Ih {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -18870,7 +18855,7 @@ var wre = {
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 : wre[r]
+ threshold: typeof r == "number" ? r : Tre[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -18878,7 +18863,7 @@ var wre = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = Cre(this.node.current, a, o);
+ this.stopObserver = wre(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -18890,34 +18875,34 @@ var wre = {
"amount",
"margin",
"root"
- ].some(Ere(e, t)) && this.startObserver();
+ ].some(Dre(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function Ere({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function Dre({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs
-var Dre = {
- inView: { Feature: Tre },
- tap: { Feature: yre },
- focus: { Feature: _re },
- hover: { Feature: gre }
-}, Ore = { layout: {
- ProjectionNode: Bte,
- MeasureLayout: pre
-} }, kre = /*@__PURE__*/ Pne({
- ...Rne,
- ...Dre,
- ...mre,
- ...Ore
-}, Fne);
+var Ore = {
+ inView: { Feature: Ere },
+ tap: { Feature: bre },
+ focus: { Feature: vre },
+ hover: { Feature: _re }
+}, kre = { layout: {
+ ProjectionNode: Vte,
+ MeasureLayout: mre
+} }, Are = /*@__PURE__*/ Fne({
+ ...zne,
+ ...Ore,
+ ...hre,
+ ...kre
+}, Ine);
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs
-function Are(e, t, n) {
+function jre(e, t, n) {
(0, b.useInsertionEffect)(() => e.on(t, n), [
e,
t,
@@ -18926,8 +18911,8 @@ function Are(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-motion-value.mjs
-function Ag(e) {
- let t = Bc(() => ip(e)), { isStatic: n } = (0, b.useContext)(fg);
+function Og(e) {
+ let t = Lc(() => np(e)), { isStatic: n } = (0, b.useContext)(ug);
if (n) {
let [, n] = (0, b.useState)(e);
(0, b.useEffect)(() => t.on("change", n), []);
@@ -18936,28 +18921,28 @@ function Ag(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-combine-values.mjs
-function jre(e, t) {
- let n = Ag(t()), r = () => n.set(t());
- return r(), Vc(() => {
- let t = () => kl.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
+function Mre(e, t) {
+ let n = Og(t()), r = () => n.set(t());
+ return r(), Rc(() => {
+ let t = () => Dl.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
return () => {
- n.forEach((e) => e()), Al(r);
+ n.forEach((e) => e()), Ol(r);
};
}), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-computed.mjs
-function Mre(e) {
- rp.current = [], e();
- let t = jre(rp.current, e);
- return rp.current = void 0, t;
+function Nre(e) {
+ tp.current = [], e();
+ let t = Mre(tp.current, e);
+ return tp.current = void 0, t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-transform.mjs
-function jg(e, t, n, r) {
- if (typeof e == "function") return Mre(e);
- if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return Pre(e, t, n, r);
- let i = typeof t == "function" ? t : ah(t, n, r), a = Array.isArray(e) ? Nre(e, i) : Nre([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
+function kg(e, t, n, r) {
+ if (typeof e == "function") return Nre(e);
+ if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return Fre(e, t, n, r);
+ let i = typeof t == "function" ? t : sh(t, n, r), a = Array.isArray(e) ? Pre(e, i) : Pre([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
return o && !o.isTransformed && typeof t != "function" && Array.isArray(n) && r?.clamp !== !1 && (a.accelerate = {
...o,
times: t,
@@ -18966,57 +18951,57 @@ function jg(e, t, n, r) {
...r?.ease ? { ease: r.ease } : {}
}), a;
}
-function Nre(e, t) {
- let n = Bc(() => []);
- return jre(e, () => {
+function Pre(e, t) {
+ let n = Lc(() => []);
+ return Mre(e, () => {
n.length = 0;
let r = e.length;
for (let t = 0; t < r; t++) n[t] = e[t].get();
return t(n);
});
}
-function Pre(e, t, n, r) {
- let i = Bc(() => Object.keys(n)), a = Bc(() => ({}));
- for (let o of i) a[o] = jg(e, t, n[o], r);
+function Fre(e, t, n, r) {
+ let i = Lc(() => Object.keys(n)), a = Lc(() => ({}));
+ for (let o of i) a[o] = kg(e, t, n[o], r);
return a;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-follow-value.mjs
-function Fre(e, t = {}) {
- let { isStatic: n } = (0, b.useContext)(fg), r = () => Ep(e) ? e.get() : e;
- if (n) return jg(r);
- let i = Ag(r());
- return (0, b.useInsertionEffect)(() => lh(i, e, t), [i, JSON.stringify(t)]), i;
+function Ire(e, t = {}) {
+ let { isStatic: n } = (0, b.useContext)(ug), r = () => wp(e) ? e.get() : e;
+ if (n) return kg(r);
+ let i = Og(r());
+ return (0, b.useInsertionEffect)(() => dh(i, e, t), [i, JSON.stringify(t)]), i;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-spring.mjs
-function Ire(e, t = {}) {
- return Fre(e, {
+function Lre(e, t = {}) {
+ return Ire(e, {
type: "spring",
...t
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function Lre() {
- !Th.current && Dh();
- let [e] = (0, b.useState)(wh.current);
+function Rre() {
+ !Dh.current && kh();
+ let [e] = (0, b.useState)(Eh.current);
return e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function Rre(e, t, n, r) {
+function zre(e, t, n, r) {
if (e == null) return [];
- let i = qp(e, r), a = i.length, o = [];
+ let i = Yp(e, r), a = i.length, o = [];
for (let e = 0; e < a; e++) {
let r = i[e], s = { ...n };
typeof s.delay == "function" && (s.delay = s.delay(e, a));
for (let e in t) {
let n = t[e];
Array.isArray(n) || (n = [n]);
- let i = { ...op(s, e) };
- i.duration &&= /* @__PURE__ */ tl(i.duration), i.delay &&= /* @__PURE__ */ tl(i.delay);
- let a = $f(r), c = Qf(e, i.pseudoElement || ""), l = a.get(c);
+ let i = { ...ip(s, e) };
+ i.duration &&= /* @__PURE__ */ Qc(i.duration), i.delay &&= /* @__PURE__ */ Qc(i.delay);
+ let a = Zf(r), c = uee(e, i.pseudoElement || ""), l = a.get(c);
l && l.stop(), o.push({
map: a,
key: c,
@@ -19032,21 +19017,21 @@ function Rre(e, t, n, r) {
}
for (let e = 0; e < o.length; e++) {
let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;
- !a && t[0] === null && (t[0] = Hm(r, i)), Ud(t), hee(t, i), !a && t.length < 2 && t.unshift(Hm(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = Wm(r, i)), Vd(t), Gp(t, i), !a && t.length < 2 && t.unshift(Wm(r, i)), n.keyframes = t;
}
let s = [];
for (let e = 0; e < o.length; e++) {
- let { map: t, key: n, options: r } = o[e], i = new Mf(r);
+ let { map: t, key: n, options: r } = o[e], i = new jf(r);
t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);
}
return s;
}
-var zre = /*@__PURE__*/ ((e) => {
+var Bre = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new lee(Rre(t, n, r, e));
+ return new Yf(zre(t, n, r, e));
}
return t;
-})(), Mg = kre, Ng = class {
+})(), Ag = Are, jg = 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;
}
@@ -19061,22 +19046,22 @@ var zre = /*@__PURE__*/ ((e) => {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, Pg = class extends Ng {
+}, Mg = class extends jg {
filter(e, t, n) {
- let [r, i] = Ure(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = Wre(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends Ng {
+(class extends jg {
static {
this.type = "header";
}
});
-var Fg = class extends Ng {
+var Ng = class extends jg {
static {
this.type = "loader";
}
-}, Bre = class extends Pg {
+}, Vre = class extends Mg {
static {
this.type = "item";
}
@@ -19087,7 +19072,7 @@ var Fg = class extends Ng {
}
return null;
}
-}, Vre = class extends Pg {
+}, Hre = class extends Mg {
static {
this.type = "section";
}
@@ -19099,7 +19084,7 @@ var Fg = class extends Ng {
}
return null;
}
-}, Hre = class {
+}, Ure = class {
get size() {
return this.itemCount;
}
@@ -19174,14 +19159,14 @@ var Fg = class extends Ng {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = Ure(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = Wre(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 Ure(e, t, n, r) {
+function Wre(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -19196,7 +19181,7 @@ function Ure(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/collections/Document.mjs
-var Wre = class {
+var Gre = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -19277,7 +19262,7 @@ var Wre = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, Ig = class e extends Wre {
+}, Pg = class e extends Gre {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -19328,7 +19313,7 @@ var Wre = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, Gre = class extends Wre {
+}, Kre = class extends Gre {
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.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
}
@@ -19336,7 +19321,7 @@ var Wre = class {
return !0;
}
createElement(e) {
- return new Ig(e, this);
+ return new Pg(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -19358,8 +19343,8 @@ var Wre = class {
return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof Ig && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof Ig ? (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 Pg && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof Pg ? (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() {
@@ -19378,13 +19363,13 @@ var Wre = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function Lg(e) {
+function Fg(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 = Kre(a) ? a : null, o = n ? s.get(n) : null;
+ let n = qre(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
@@ -19409,7 +19394,7 @@ function Lg(e) {
i
]);
}
-function Kre(e) {
+function qre(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -19419,26 +19404,26 @@ function Kre(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function Rg(e) {
- if (qre()) e.focus({ preventScroll: !0 });
+function Ig(e) {
+ if (Jre()) e.focus({ preventScroll: !0 });
else {
- let t = Jre(e);
- e.focus(), Yre(t);
+ let t = Yre(e);
+ e.focus(), Xre(t);
}
}
-var zg = null;
-function qre() {
- if (zg == null) {
- zg = !1;
+var Lg = null;
+function Jre() {
+ if (Lg == null) {
+ Lg = !1;
try {
document.createElement("div").focus({ get preventScroll() {
- return zg = !0, !0;
+ return Lg = !0, !0;
} });
} catch {}
}
- return zg;
+ return Lg;
}
-function Jre(e) {
+function Yre(e) {
let t = e.parentNode, n = [], r = document.scrollingElement || document.documentElement;
for (; t instanceof HTMLElement && t !== r;) (t.offsetHeight < t.scrollHeight || t.offsetWidth < t.scrollWidth) && n.push({
element: t,
@@ -19451,25 +19436,25 @@ function Jre(e) {
scrollLeft: r.scrollLeft
}), n;
}
-function Yre(e) {
+function Xre(e) {
for (let { element: t, scrollTop: n, scrollLeft: r } of e) t.scrollTop = n, t.scrollLeft = r;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var Bg = (e) => Zre(e) ? e.document : Qre(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Vg = (e) => Bg(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function Xre(e) {
+var Rg = (e) => Zre(e) ? e.document : Qre(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), zg = (e) => Rg(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function Bg(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
function Zre(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
function Qre(e) {
- return Xre(e) && e.nodeType === 9;
+ return Bg(e) && e.nodeType === 9;
}
-function Hg(e) {
- return Xre(e) && e.nodeType === 11 && "host" in e;
+function Vg(e) {
+ return Bg(e) && e.nodeType === 11 && "host" in e;
}
-function Ug(e, t, n, r) {
+function Hg(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);
@@ -19477,7 +19462,7 @@ function Ug(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function Wg(e, t, n, r) {
+function Ug(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -19493,46 +19478,46 @@ function Wg(e, t, n, r) {
//#endregion
//#region node_modules/react-stately/dist/private/flags/flags.mjs
var $re = !1;
-function Gg() {
+function Wg() {
return $re;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function Kg(e, t) {
- if (!Gg()) return t && e ? e.contains(t) : !1;
+function Gg(e, t) {
+ if (!Wg()) 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 : Hg(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Vg(n) ? n.host : n.parentNode;
}
return !1;
}
-var qg = (e = document) => {
- if (!Gg()) return e.activeElement;
+var Kg = (e = document) => {
+ if (!Wg()) return e.activeElement;
let t = e.activeElement;
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
return t;
};
-function Jg(e) {
- if (Gg() && e.target instanceof Element && e.target.shadowRoot) {
+function qg(e) {
+ if (Wg() && 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 Yg(e, t) {
+function Jg(e, t) {
if (t === null) return [];
- t ??= Vg(e);
+ t ??= zg(e);
let n = [t];
- if (!Gg() || !e || e === t) return n;
+ if (!Wg() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; Hg(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; Vg(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function Xg(e) {
+function Yg(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = Vg(e);
+ let t = e.getRootNode(), n = zg(e);
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
let r = t.activeElement;
return r != null && e.contains(r);
@@ -19541,11 +19526,11 @@ function Xg(e) {
//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs
var eie = typeof Element < "u" && "checkVisibility" in Element.prototype;
function tie(e) {
- let t = Vg(e);
+ let t = zg(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 } = Vg(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = zg(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
@@ -19553,12 +19538,12 @@ function tie(e) {
function nie(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 Zg(e, t) {
- return eie ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && tie(e) && nie(e, t) && (!e.parentElement || Zg(e.parentElement, e));
+function Xg(e, t) {
+ return eie ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && tie(e) && nie(e, t) && (!e.parentElement || Xg(e.parentElement, e));
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var Qg = [
+var Zg = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -19573,19 +19558,19 @@ var Qg = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], rie = Qg.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-Qg.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var iie = Qg.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function $g(e, t) {
- return e.matches(rie) && !aie(e) && (t?.skipVisibilityCheck || Zg(e));
+], rie = Zg.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+Zg.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var iie = Zg.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function Qg(e, t) {
+ return e.matches(rie) && !e_(e) && (t?.skipVisibilityCheck || Xg(e));
}
-function e_(e) {
- return e.matches(iie) && Zg(e) && !aie(e);
+function $g(e) {
+ return e.matches(iie) && Xg(e) && !e_(e);
}
-function aie(e) {
+function e_(e) {
let t = e;
for (; t != null;) {
- if (t instanceof Vg(t).HTMLElement && t.inert) return !0;
+ if (t instanceof zg(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
@@ -19599,10 +19584,10 @@ function n_(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function oie(e, t) {
+function r_(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function r_(e) {
+function i_(e) {
let t = (0, b.useRef)({
isFocused: !1,
observer: null
@@ -19613,7 +19598,7 @@ function r_(e) {
e.observer &&= (e.observer.disconnect(), null);
};
}, []), (0, b.useCallback)((n) => {
- let r = Jg(n);
+ let r = qg(n);
if (r instanceof HTMLButtonElement || r instanceof HTMLInputElement || r instanceof HTMLTextAreaElement || r instanceof HTMLSelectElement) {
t.current.isFocused = !0;
let n = r;
@@ -19626,7 +19611,7 @@ function r_(e) {
}, { once: !0 }), t.current.observer = new MutationObserver(() => {
if (t.current.isFocused && n.disabled) {
t.current.observer?.disconnect();
- let e = n === qg() ? null : qg();
+ let e = n === Kg() ? null : Kg();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -19639,87 +19624,87 @@ function r_(e) {
}
}, [e]);
}
-var i_ = !1;
-function sie(e) {
- for (; e && !$g(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = qg(Vg(e).document);
+var a_ = !1;
+function aie(e) {
+ for (; e && !Qg(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = Kg(zg(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && Hg(n) ? n : Vg(e), i = (t) => t === e || t != null && Kg(e, t), a = (e) => e === t || t != null && e != null && Kg(t, e);
- i_ = !0;
+ let n = e?.getRootNode(), r = n != null && Vg(n) ? n : zg(e), i = (t) => t === e || t != null && Gg(e, t), a = (e) => e === t || t != null && e != null && Gg(t, e);
+ a_ = !0;
let o = !1, s = (e) => {
- (a(Jg(e)) || o) && e.stopImmediatePropagation();
+ (a(qg(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(Jg(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Rg(t), d()));
+ (a(qg(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Ig(t), d()));
}, l = (e) => {
- (i(Jg(e)) || o) && e.stopImmediatePropagation();
+ (i(qg(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(Jg(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Rg(t), d()));
+ (i(qg(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Ig(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), i_ = !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), a_ = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/platform.mjs
-function a_(e) {
+function o_(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 o_(e) {
+function s_(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function s_(e) {
+function c_(e) {
let t = null;
return () => (t ??= e(), t);
}
-var c_ = s_(function() {
- return o_(/^Mac/i);
-}), cie = s_(function() {
- return o_(/^iPhone/i);
-}), l_ = s_(function() {
- return o_(/^iPad/i) || c_() && navigator.maxTouchPoints > 1;
-}), u_ = s_(function() {
- return cie() || l_();
-}), lie = s_(function() {
- return c_() || u_();
-}), d_ = s_(function() {
- return a_(/AppleWebKit/i) && (u_() || !f_());
-}), f_ = s_(function() {
- return a_(/Chrome|CriOS|CrMo/i);
-}), p_ = s_(function() {
- return a_(/Android/i);
-}), uie = s_(function() {
- return a_(/(Firefox|FxiOS)/i);
+var l_ = c_(function() {
+ return s_(/^Mac/i);
+}), oie = c_(function() {
+ return s_(/^iPhone/i);
+}), u_ = c_(function() {
+ return s_(/^iPad/i) || l_() && navigator.maxTouchPoints > 1;
+}), d_ = c_(function() {
+ return oie() || u_();
+}), sie = c_(function() {
+ return l_() || d_();
+}), f_ = c_(function() {
+ return o_(/AppleWebKit/i) && (d_() || !p_());
+}), p_ = c_(function() {
+ return o_(/Chrome|CriOS|CrMo/i);
+}), m_ = c_(function() {
+ return o_(/Android/i);
+}), cie = c_(function() {
+ return o_(/(Firefox|FxiOS)/i);
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function m_(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : p_() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+function h_(e) {
+ return e.pointerType === "" && e.isTrusted ? !0 : m_() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
}
-function die(e) {
- return !p_() && e.width === 0 && e.height === 0 || p_() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+function lie(e) {
+ return !m_() && e.width === 0 && e.height === 0 || m_() && 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 fie = /*#__PURE__*/ (0, b.createContext)({
+var uie = /*#__PURE__*/ (0, b.createContext)({
isNative: !0,
- open: hie,
+ open: pie,
useHref: (e) => e
});
-function h_() {
- return (0, b.useContext)(fie);
+function g_() {
+ return (0, b.useContext)(uie);
}
-function pie(e, t) {
+function die(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 g_(e, t, n = !0) {
+function __(e, t, n = !0) {
let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;
- !d_() && uie() && window.event?.type?.startsWith("key") && e.target === "_blank" && (c_() ? r = !0 : i = !0);
- let s = d_() && c_() && !l_() ? new KeyboardEvent("keydown", {
+ !f_() && cie() && window.event?.type?.startsWith("key") && e.target === "_blank" && (l_() ? r = !0 : i = !0);
+ let s = f_() && l_() && !u_() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -19734,21 +19719,21 @@ function g_(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- g_.isOpening = n, Rg(e), e.dispatchEvent(s), g_.isOpening = !1;
+ __.isOpening = n, Ig(e), e.dispatchEvent(s), __.isOpening = !1;
}
-g_.isOpening = !1;
-function mie(e, t) {
+__.isOpening = !1;
+function fie(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 hie(e, t) {
- mie(e, (e) => g_(e, t));
+function pie(e, t) {
+ fie(e, (e) => __(e, t));
}
-function gie(e) {
- let t = h_().useHref(e.href ?? "");
+function mie(e) {
+ let t = g_().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -19758,8 +19743,8 @@ function gie(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function __(e) {
- let t = h_().useHref(e?.href ?? ""), n = {};
+function v_(e) {
+ let t = g_().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -19770,134 +19755,134 @@ function __(e) {
]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);
return n;
}
-function _ie(e, t, n, r) {
- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && pie(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
+function hie(e, t, n, r) {
+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && die(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 v_ = {
+var y_ = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, y_ = /*#__PURE__*/ b.createContext(v_), vie = /*#__PURE__*/ b.createContext(!1);
+}, b_ = /*#__PURE__*/ b.createContext(y_), gie = /*#__PURE__*/ b.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var b_ = /* @__PURE__ */ new WeakMap();
-function yie(e = !1) {
- let t = (0, b.useContext)(y_), n = (0, b.useRef)(null);
+var x_ = /* @__PURE__ */ new WeakMap();
+function _ie(e = !1) {
+ let t = (0, b.useContext)(b_), 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 = b_.get(e);
- n == null ? b_.set(e, {
+ let n = x_.get(e);
+ n == null ? x_.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, b_.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, x_.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function bie(e) {
- let t = (0, b.useContext)(y_), n = yie(!!e), r = `react-aria${t.prefix}`;
+function vie(e) {
+ let t = (0, b.useContext)(b_), n = _ie(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function xie(e) {
- let t = b.useId(), [n] = (0, b.useState)(x_()), r = n ? "react-aria" : `react-aria${v_.prefix}`;
+function yie(e) {
+ let t = b.useId(), [n] = (0, b.useState)(S_()), r = n ? "react-aria" : `react-aria${y_.prefix}`;
return e || `${r}-${t}`;
}
-var Sie = typeof b.useId == "function" ? xie : bie;
-function Cie() {
+var bie = typeof b.useId == "function" ? yie : vie;
+function xie() {
return !1;
}
-function wie() {
+function Sie() {
return !0;
}
-function Tie(e) {
+function Cie(e) {
return () => {};
}
-function x_() {
- return typeof b.useSyncExternalStore == "function" ? b.useSyncExternalStore(Tie, Cie, wie) : (0, b.useContext)(vie);
+function S_() {
+ return typeof b.useSyncExternalStore == "function" ? b.useSyncExternalStore(Cie, xie, Sie) : (0, b.useContext)(gie);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var S_ = null, C_ = /* @__PURE__ */ new Set(), w_ = /* @__PURE__ */ new Map(), T_ = !1, E_ = !1, Eie = {
+var C_ = null, w_ = /* @__PURE__ */ new Set(), T_ = /* @__PURE__ */ new Map(), E_ = !1, D_ = !1, wie = {
Tab: !0,
Escape: !0
};
-function D_(e, t) {
- for (let n of C_) n(e, t);
-}
-function Die(e) {
- return !(e.metaKey || !c_() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function O_(e, t) {
+ for (let n of w_) n(e, t);
}
-function O_(e) {
- T_ = !0, !g_.isOpening && Die(e) && (S_ = "keyboard", D_("keyboard", e));
+function Tie(e) {
+ return !(e.metaKey || !l_() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
function k_(e) {
- S_ = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (T_ = !0, D_("pointer", e));
+ E_ = !0, !__.isOpening && Tie(e) && (C_ = "keyboard", O_("keyboard", e));
}
function A_(e) {
- !g_.isOpening && m_(e) && (T_ = !0, S_ = "virtual");
+ C_ = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (E_ = !0, O_("pointer", e));
}
-function j_(e) {
- if (i_) return;
- let t = Jg(e), n = Vg(t), r = Bg(t);
- t === n ? E_ = !0 : t !== r && e.isTrusted && (!T_ && !E_ && (S_ = "virtual", D_("virtual", e)), T_ = !1, E_ = !1);
+function Eie(e) {
+ !__.isOpening && h_(e) && (E_ = !0, C_ = "virtual");
}
-function M_() {
- i_ || (T_ = !1, E_ = !0);
+function Die(e) {
+ if (a_) return;
+ let t = qg(e), n = zg(t), r = Rg(t);
+ t === n ? D_ = !0 : t !== r && e.isTrusted && (!E_ && !D_ && (C_ = "virtual", O_("virtual", e)), E_ = !1, D_ = !1);
}
-function N_(e) {
+function Oie() {
+ a_ || (E_ = !1, D_ = !0);
+}
+function j_(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = Vg(e), n = Bg(e);
- if (w_.get(t)) return;
+ let t = zg(e), n = Rg(e);
+ if (T_.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- T_ = !0, r.apply(this, arguments);
+ E_ = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", O_, !0), n.addEventListener("keyup", O_, !0), n.addEventListener("click", A_, !0), t.addEventListener("focus", j_, !0), t.addEventListener("blur", M_, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", k_, !0), n.addEventListener("pointermove", k_, !0), n.addEventListener("pointerup", k_, !0)), t.addEventListener("beforeunload", () => {
- P_(e);
- }, { once: !0 }), w_.set(t, { focus: r });
+ }), n.addEventListener("keydown", k_, !0), n.addEventListener("keyup", k_, !0), n.addEventListener("click", Eie, !0), t.addEventListener("focus", Die, !0), t.addEventListener("blur", Oie, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", A_, !0), n.addEventListener("pointermove", A_, !0), n.addEventListener("pointerup", A_, !0)), t.addEventListener("beforeunload", () => {
+ kie(e);
+ }, { once: !0 }), T_.set(t, { focus: r });
}
-var P_ = (e, t) => {
- let n = Vg(e), r = Bg(e);
- t && r.removeEventListener("DOMContentLoaded", t), w_.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var kie = (e, t) => {
+ let n = zg(e), r = Rg(e);
+ t && r.removeEventListener("DOMContentLoaded", t), T_.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: w_.get(n).focus
- }), r.removeEventListener("keydown", O_, !0), r.removeEventListener("keyup", O_, !0), r.removeEventListener("click", A_, !0), n.removeEventListener("focus", j_, !0), n.removeEventListener("blur", M_, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", k_, !0), r.removeEventListener("pointermove", k_, !0), r.removeEventListener("pointerup", k_, !0)), w_.delete(n));
+ value: T_.get(n).focus
+ }), r.removeEventListener("keydown", k_, !0), r.removeEventListener("keyup", k_, !0), r.removeEventListener("click", Eie, !0), n.removeEventListener("focus", Die, !0), n.removeEventListener("blur", Oie, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", A_, !0), r.removeEventListener("pointermove", A_, !0), r.removeEventListener("pointerup", A_, !0)), T_.delete(n));
};
-function Oie(e) {
- let t = Bg(e), n;
+function Aie(e) {
+ let t = Rg(e), n;
return t.readyState === "loading" ? (n = () => {
- N_(e);
- }, t.addEventListener("DOMContentLoaded", n)) : N_(e), () => P_(e, n);
+ j_(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : j_(e), () => kie(e, n);
}
-typeof document < "u" && Oie();
-function F_() {
- return S_ !== "pointer";
+typeof document < "u" && Aie();
+function M_() {
+ return C_ !== "pointer";
}
-function I_() {
- return S_;
+function N_() {
+ return C_;
}
-function L_(e) {
- S_ = e, D_(e, null);
+function P_(e) {
+ C_ = e, O_(e, null);
}
-function kie() {
- N_();
- let [e, t] = (0, b.useState)(S_);
+function jie() {
+ j_();
+ let [e, t] = (0, b.useState)(C_);
return (0, b.useEffect)(() => {
let e = () => {
- t(S_);
+ t(C_);
};
- return C_.add(e), () => {
- C_.delete(e);
+ return w_.add(e), () => {
+ w_.delete(e);
};
- }, []), x_() ? null : e;
+ }, []), S_() ? null : e;
}
-var Aie = /* @__PURE__ */ new Set([
+var Mie = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -19908,83 +19893,83 @@ var Aie = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function jie(e, t, n) {
- let r = n ? Jg(n) : void 0, i = Bg(r), a = Vg(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 = qg(i);
- return e = e || u instanceof o && !Aie.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Eie[n.key]);
+function Nie(e, t, n) {
+ let r = n ? qg(n) : void 0, i = Rg(r), a = zg(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 = Kg(i);
+ return e = e || u instanceof o && !Mie.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !wie[n.key]);
}
-function Mie(e = {}) {
- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, b.useState)(n || F_());
- return Nie((e) => {
+function Pie(e = {}) {
+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, b.useState)(n || M_());
+ return Fie((e) => {
i(e);
}, [t], { isTextInput: t }), { isFocusVisible: r };
}
-function Nie(e, t, n) {
- N_(), (0, b.useEffect)(() => {
+function Fie(e, t, n) {
+ j_(), (0, b.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- jie(!!n?.isTextInput, t, r) && e(F_());
+ Nie(!!n?.isTextInput, t, r) && e(M_());
};
- return C_.add(t), () => {
- C_.delete(t);
+ return w_.add(t), () => {
+ w_.delete(t);
};
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var R_ = /* @__PURE__ */ new Map(), z_ = /* @__PURE__ */ new Set();
-function Pie() {
+var F_ = /* @__PURE__ */ new Map(), I_ = /* @__PURE__ */ new Set();
+function Iie() {
if (typeof window > "u") return;
function e(e) {
return "propertyName" in e;
}
let t = (t) => {
- let r = Jg(t);
+ let r = qg(t);
if (!e(t) || !r) return;
- let i = R_.get(r);
- i || (i = /* @__PURE__ */ new Set(), R_.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
+ let i = F_.get(r);
+ i || (i = /* @__PURE__ */ new Set(), F_.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
}, n = (t) => {
- let r = Jg(t);
+ let r = qg(t);
if (!e(t) || !r) return;
- let i = R_.get(r);
- if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), R_.delete(r)), R_.size === 0)) {
- for (let e of z_) e();
- z_.clear();
+ let i = F_.get(r);
+ if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), F_.delete(r)), F_.size === 0)) {
+ for (let e of I_) e();
+ I_.clear();
}
};
document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);
}
-typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", Pie) : Pie());
-function Fie() {
- for (let [e] of R_) "isConnected" in e && !e.isConnected && R_.delete(e);
+typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", Iie) : Iie());
+function Lie() {
+ for (let [e] of F_) "isConnected" in e && !e.isConnected && F_.delete(e);
}
-function Iie(e) {
+function Rie(e) {
requestAnimationFrame(() => {
- Fie(), R_.size === 0 ? e() : z_.add(e);
+ Lie(), F_.size === 0 ? e() : I_.add(e);
});
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function B_(e) {
+function L_(e) {
if (!e.isConnected) return;
- let t = Bg(e);
- if (I_() === "virtual") {
- let n = qg(t);
- Iie(() => {
- let r = qg(t);
- (r === n || r === t.body) && e.isConnected && Rg(e);
+ let t = Rg(e);
+ if (N_() === "virtual") {
+ let n = Kg(t);
+ Rie(() => {
+ let r = Kg(t);
+ (r === n || r === t.body) && e.isConnected && Ig(e);
});
- } else Rg(e);
+ } else Ig(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/chain.mjs
-function V_(...e) {
+function R_(...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 Lie(e) {
+function zie(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();
@@ -19998,21 +19983,21 @@ function Lie(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useId.mjs
-var Rie = !!(typeof window < "u" && window.document && window.document.createElement), H_ = /* @__PURE__ */ new Map(), U_;
-typeof FinalizationRegistry < "u" && (U_ = new FinalizationRegistry((e) => {
- H_.delete(e);
+var Bie = !!(typeof window < "u" && window.document && window.document.createElement), z_ = /* @__PURE__ */ new Map(), B_;
+typeof FinalizationRegistry < "u" && (B_ = new FinalizationRegistry((e) => {
+ z_.delete(e);
}));
-var W_ = /* @__PURE__ */ new WeakMap();
-function G_(e) {
- let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(null), i = Sie(t), a = (0, b.useRef)(null), o = W_.get(a);
- if (U_ && o !== i && (o != null && U_.unregister(a), U_.register(a, i, a), W_.set(a, i)), Rie) {
- let e = H_.get(i);
- e && !e.includes(r) ? e.push(r) : H_.set(i, [r]);
+var V_ = /* @__PURE__ */ new WeakMap();
+function H_(e) {
+ let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(null), i = bie(t), a = (0, b.useRef)(null), o = V_.get(a);
+ if (B_ && o !== i && (o != null && B_.unregister(a), B_.register(a, i, a), V_.set(a, i)), Bie) {
+ let e = z_.get(i);
+ e && !e.includes(r) ? e.push(r) : z_.set(i, [r]);
}
return t_(() => {
let e = i;
return () => {
- U_ && (U_.unregister(a), W_.delete(a)), H_.delete(e);
+ B_ && (B_.unregister(a), V_.delete(a)), z_.delete(e);
};
}, [i]), (0, b.useEffect)(() => {
let e = r.current;
@@ -20021,15 +20006,15 @@ function G_(e) {
};
}), i;
}
-function zie(e, t) {
+function Vie(e, t) {
if (e === t) return e;
- let n = H_.get(e);
+ let n = z_.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = H_.get(t);
+ let r = z_.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function K_(e = []) {
- let t = G_(), [n, r] = Lie(t), i = (0, b.useCallback)(() => {
+function U_(e = []) {
+ let t = H_(), [n, r] = zie(t), i = (0, b.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
@@ -20042,38 +20027,38 @@ function K_(e = []) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function q_(...e) {
+function W_(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = J_(e, t);
+ let r = G_(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : J_(e[n], null);
+ typeof t == "function" ? t() : G_(e[n], null);
});
};
};
}
-function J_(e, t) {
+function G_(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
//#endregion
//#region node_modules/clsx/dist/clsx.mjs
-function Y_(e) {
+function K_(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 = Y_(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = K_(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function X_() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Y_(e)) && (r && (r += " "), r += t);
+function q_() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = K_(e)) && (r && (r += " "), r += t);
return r;
}
//#endregion
@@ -20084,18 +20069,18 @@ function W(...e) {
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] = X_(n, i) : e === "id" && n && i ? t.id = zie(n, i) : e === "ref" && n && i ? t.ref = q_(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] = R_(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = q_(n, i) : e === "id" && n && i ? t.id = Vie(n, i) : e === "ref" && n && i ? t.ref = W_(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function Z_(e) {
+function J_(e) {
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, b.useCallback)((e) => {
- if (Jg(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = r_(a), s = (0, b.useCallback)((e) => {
- let t = Jg(e), r = Bg(t), a = r ? qg(r) : qg();
+ if (qg(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
+ }, [r, i]), o = i_(a), s = (0, b.useCallback)((e) => {
+ let t = qg(e), r = Rg(t), a = r ? Kg(r) : Kg();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -20109,7 +20094,7 @@ function Z_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function Q_(e) {
+function Y_(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -20134,33 +20119,33 @@ function Q_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var Bie = /* @__PURE__ */ new Set([
+var Hie = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), Vie = [
+]), Uie = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function Hie(e) {
+function Wie(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(c_() ? "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(l_() ? "Meta" : "Control"), t;
}
-function Uie(e) {
+function Gie(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 $_(e) {
- return Vie.filter((t) => e.has(t));
+function X_(e) {
+ return Uie.filter((t) => e.has(t));
}
-function Wie(e) {
+function Kie(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return Bie.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 Hie.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,
@@ -20172,10 +20157,10 @@ function Wie(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 ev(e) {
+function Z_(e) {
return e.toLowerCase();
}
-var Gie = {
+var qie = {
space: " ",
esc: "escape",
del: "delete",
@@ -20187,26 +20172,26 @@ var Gie = {
pageup: "pageup",
pagedown: "pagedown"
};
-function Kie(e) {
- let t = ev(e);
- return Gie[t] ?? t;
+function Jie(e) {
+ let t = Z_(e);
+ return qie[t] ?? t;
}
-function qie(e) {
- let t = $_(Hie(e)), n = Kie(e.key);
+function Yie(e) {
+ let t = X_(Wie(e)), n = Jie(e.key);
return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
-function Jie(e) {
- let t = $_(Uie(e)), n = ev(e.key);
+function Xie(e) {
+ let t = X_(Gie(e)), n = Z_(e.key);
return (t.length > 0 ? `${t.join("+")}+` : "") + n;
}
-function Yie(e) {
+function Zie(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = Wie(n);
- t.set(qie(e), r);
+ let e = Kie(n);
+ t.set(Yie(e), r);
}
return (e) => {
- let n = Jie(e), r = t.get(n), i = r?.(e);
+ let n = Xie(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -20218,16 +20203,16 @@ function Yie(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function tv(e) {
+function Q_(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = Yie(t), s = Q_((e) => {
- Kg(e.currentTarget, Jg(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
- }), c = Q_((e) => {
- Kg(e.currentTarget, Jg(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
+ let o = Zie(t), s = Y_((e) => {
+ Gg(e.currentTarget, qg(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
+ }), c = Y_((e) => {
+ Gg(e.currentTarget, qg(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 = Q_(e.onKeyDown), a = Q_(e.onKeyUp);
+ i = e.onKeyDown ? R_(e.onKeyDown, s) : s, a = e.onKeyUp ? R_(e.onKeyUp, c) : c;
+ } else i = Y_(e.onKeyDown), a = Y_(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
@@ -20235,7 +20220,7 @@ function tv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function nv(e) {
+function $_(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);
@@ -20258,7 +20243,7 @@ function nv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function rv(e, t) {
+function ev(e, t) {
t_(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
@@ -20267,17 +20252,17 @@ function rv(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var iv = /*#__PURE__*/ b.createContext(null);
-function Xie(e) {
- let t = (0, b.useContext)(iv) || {};
- rv(t, e);
+var tv = /*#__PURE__*/ b.createContext(null);
+function Qie(e) {
+ let t = (0, b.useContext)(tv) || {};
+ ev(t, e);
let { ref: n, ...r } = t;
return r;
}
-function av(e, t) {
- let { focusProps: n } = Z_(e), { keyboardProps: r } = tv(e), i = W(n, r), a = Xie(t), o = e.isDisabled ? {} : a, s = (0, b.useRef)(e.autoFocus);
+function nv(e, t) {
+ let { focusProps: n } = J_(e), { keyboardProps: r } = Q_(e), i = W(n, r), a = Qie(t), o = e.isDisabled ? {} : a, s = (0, b.useRef)(e.autoFocus);
(0, b.useEffect)(() => {
- s.current && t.current && B_(t.current), s.current = !1;
+ s.current && t.current && L_(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
return e.isDisabled && (c = void 0), { focusableProps: W({
@@ -20312,22 +20297,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var ov = /*#__PURE__*/ (0, b.createContext)(!1);
-function Zie(e) {
- if ((0, b.useContext)(ov)) return /*#__PURE__*/ b.createElement(b.Fragment, null, e.children);
- let t = /*#__PURE__*/ b.createElement(ov.Provider, { value: !0 }, e.children);
+var rv = /*#__PURE__*/ (0, b.createContext)(!1);
+function $ie(e) {
+ if ((0, b.useContext)(rv)) return /*#__PURE__*/ b.createElement(b.Fragment, null, e.children);
+ let t = /*#__PURE__*/ b.createElement(rv.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ b.createElement("template", null, t);
}
-function sv(e) {
- let t = (t, n) => (0, b.useContext)(ov) ? null : e(t, n);
+function iv(e) {
+ let t = (t, n) => (0, b.useContext)(rv) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, b.forwardRef)(t);
}
-function cv() {
- return (0, b.useContext)(ov);
+function av() {
+ return (0, b.useContext)(rv);
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
-var Qie = /* @__PURE__ */ o(((e) => {
+var eae = /* @__PURE__ */ o(((e) => {
var t = d();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -20365,47 +20350,47 @@ var Qie = /* @__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;
-})), lv = /* @__PURE__ */ o(((e, t) => {
- t.exports = Qie();
-})), $ie = lv(), uv = /*#__PURE__*/ (0, b.createContext)(!1), dv = /*#__PURE__*/ (0, b.createContext)(null);
-function fv(e) {
- if ((0, b.useContext)(dv)) return e.content;
- let { collection: t, document: n } = rae(e.createCollection);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(Zie, null, /*#__PURE__*/ b.createElement(dv.Provider, { value: n }, e.content)), /*#__PURE__*/ b.createElement(eae, {
+})), ov = /* @__PURE__ */ o(((e, t) => {
+ t.exports = eae();
+})), tae = ov(), sv = /*#__PURE__*/ (0, b.createContext)(!1), cv = /*#__PURE__*/ (0, b.createContext)(null);
+function lv(e) {
+ if ((0, b.useContext)(cv)) return e.content;
+ let { collection: t, document: n } = aae(e.createCollection);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement($ie, null, /*#__PURE__*/ b.createElement(cv.Provider, { value: n }, e.content)), /*#__PURE__*/ b.createElement(nae, {
render: e.children,
collection: t
}));
}
-function eae({ collection: e, render: t }) {
+function nae({ collection: e, render: t }) {
return t(e);
}
-function tae(e, t, n) {
- let r = x_(), i = (0, b.useRef)(r);
+function rae(e, t, n) {
+ let r = S_(), i = (0, b.useRef)(r);
i.current = r;
let a = (0, b.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, $ie.useSyncExternalStore)(e, a);
+ return (0, tae.useSyncExternalStore)(e, a);
}
-var nae = typeof b.useSyncExternalStore == "function" ? b.useSyncExternalStore : tae;
-function rae(e) {
- let [t] = (0, b.useState)(() => new Gre(e?.() || new Hre()));
+var iae = typeof b.useSyncExternalStore == "function" ? b.useSyncExternalStore : rae;
+function aae(e) {
+ let [t] = (0, b.useState)(() => new Kre(e?.() || new Ure()));
return {
- collection: nae((0, b.useCallback)((e) => t.subscribe(e), [t]), (0, b.useCallback)(() => {
+ collection: iae((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 pv = /*#__PURE__*/ (0, b.createContext)(null);
-function iae(e) {
- return class extends Ng {
+var uv = /*#__PURE__*/ (0, b.createContext)(null);
+function oae(e) {
+ return class extends jg {
static {
this.type = e;
}
};
}
-function mv(e, t, n, r, i, a) {
- typeof e == "string" && (e = iae(e));
+function dv(e, t, n, r, i, a) {
+ typeof e == "string" && (e = oae(e));
let o = (0, b.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -20414,81 +20399,81 @@ function mv(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, b.useContext)(pv);
+ ]), s = (0, b.useContext)(uv);
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(pv.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(uv.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ b.createElement(e.type, { ref: o }, i);
}
-function hv(e, t) {
+function fv(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, b.forwardRef)((r, i) => {
- let a = (0, b.useContext)(iv);
- if (!(0, b.useContext)(uv)) {
+ let a = (0, b.useContext)(tv);
+ if (!(0, b.useContext)(sv)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return mv(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ b.createElement(iv.Provider, { value: a }, /*#__PURE__*/ b.createElement(n, { node: e })));
+ return dv(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ b.createElement(tv.Provider, { value: a }, /*#__PURE__*/ b.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function gv(e, t, n = _v) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, b.forwardRef)((t, i) => mv(e, t, i, null, n(t), (e) => /*#__PURE__*/ b.createElement(r, { node: e })) ?? /*#__PURE__*/ b.createElement(b.Fragment, null));
+function pv(e, t, n = mv) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, b.forwardRef)((t, i) => dv(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 _v(e) {
- return Lg({
+function mv(e) {
+ return Fg({
...e,
addIdAndValue: !0
});
}
-var vv = /*#__PURE__*/ (0, b.createContext)(null);
-function yv(e) {
- let t = (0, b.useContext)(vv), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = _v({
+var hv = /*#__PURE__*/ (0, b.createContext)(null);
+function gv(e) {
+ let t = (0, b.useContext)(hv), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = mv({
...e,
idScope: r,
dependencies: n
});
- return (0, b.useContext)(dv) && (i = /*#__PURE__*/ b.createElement(aae, null, i)), t = (0, b.useMemo)(() => ({
+ return (0, b.useContext)(cv) && (i = /*#__PURE__*/ b.createElement(sae, null, i)), t = (0, b.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ b.createElement(vv.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ b.createElement(hv.Provider, { value: t }, i);
}
-function aae({ children: e }) {
- let t = (0, b.useContext)(dv), n = (0, b.useMemo)(() => /*#__PURE__*/ b.createElement(dv.Provider, { value: null }, /*#__PURE__*/ b.createElement(uv.Provider, { value: !0 }, e)), [e]);
- return x_() ? /*#__PURE__*/ b.createElement(pv.Provider, { value: t }, n) : /*#__PURE__*/ (0, ht.createPortal)(n, t);
+function sae({ children: e }) {
+ let t = (0, b.useContext)(cv), n = (0, b.useMemo)(() => /*#__PURE__*/ b.createElement(cv.Provider, { value: null }, /*#__PURE__*/ b.createElement(sv.Provider, { value: !0 }, e)), [e]);
+ return S_() ? /*#__PURE__*/ b.createElement(uv.Provider, { value: t }, n) : /*#__PURE__*/ (0, pt.createPortal)(n, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/constants.mjs
-var oae = "react-aria-clear-focus", sae = "react-aria-focus";
+var cae = "react-aria-clear-focus", lae = "react-aria-focus";
//#endregion
//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function bv(e) {
- let t = lae(Bg(e));
- t !== e && (t && cae(t, e), e && xv(e, t));
+function _v(e) {
+ let t = dae(Rg(e));
+ t !== e && (t && uae(t, e), e && vv(e, t));
}
-function cae(e, t) {
+function uae(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function xv(e, t) {
+function vv(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function lae(e) {
- let t = qg(e), n = t?.getAttribute("aria-activedescendant");
+function dae(e) {
+ let t = Kg(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/keyboard.mjs
-function Sv(e) {
- return c_() ? e.metaKey : e.ctrlKey;
+function yv(e) {
+ return l_() ? e.metaKey : e.ctrlKey;
}
-var uae = /* @__PURE__ */ new Set([
+var fae = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -20499,15 +20484,15 @@ var uae = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Cv(e) {
- return e instanceof HTMLInputElement && !uae.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
+function bv(e) {
+ return e instanceof HTMLInputElement && !fae.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var dae = b.useInsertionEffect ?? t_;
-function wv(e) {
+var pae = b.useInsertionEffect ?? t_;
+function xv(e) {
let t = (0, b.useRef)(null);
- return dae(() => {
+ return pae(() => {
t.current = e;
}, [e]), (0, b.useCallback)((...e) => {
let n = t.current;
@@ -20516,10 +20501,10 @@ function wv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEvent.mjs
-function Tv(e, t, n, r) {
- let i = wv(n), a = n == null;
+function Sv(e, t, n, r) {
+ let i = xv(n), a = n == null;
(0, b.useEffect)(() => {
- if (!(a || e.current == null)) return Ug(e.current, t, i, r);
+ if (!(a || e.current == null)) return Hg(e.current, t, i, r);
}, [
e,
t,
@@ -20529,9 +20514,9 @@ function Tv(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLabels.mjs
-function Ev(e, t) {
+function Cv(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = G_(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 = H_(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
@@ -20539,7 +20524,7 @@ function Ev(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/utils.mjs
-var fae = /* @__PURE__ */ new Set([
+var mae = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -20550,7 +20535,7 @@ var fae = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), pae = /* @__PURE__ */ new Set([
+]), hae = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -20571,20 +20556,20 @@ var fae = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function mae(e) {
+function gae(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 fae.has(t.script);
+ if (t.script) return mae.has(t.script);
}
let t = e.split("-")[0];
- return pae.has(t);
+ return hae.has(t);
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var Dv = Symbol.for("react-aria.i18n.locale");
-function Ov() {
- let e = typeof window < "u" && window[Dv] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var wv = Symbol.for("react-aria.i18n.locale");
+function Tv() {
+ let e = typeof window < "u" && window[wv] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -20592,33 +20577,33 @@ function Ov() {
}
return {
locale: e,
- direction: mae(e) ? "rtl" : "ltr"
+ direction: gae(e) ? "rtl" : "ltr"
};
}
-var kv = Ov(), Av = /* @__PURE__ */ new Set();
-function jv() {
- kv = Ov();
- for (let e of Av) e(kv);
+var Ev = Tv(), Dv = /* @__PURE__ */ new Set();
+function Ov() {
+ Ev = Tv();
+ for (let e of Dv) e(Ev);
}
-function hae() {
- let e = x_(), [t, n] = (0, b.useState)(kv);
- return (0, b.useEffect)(() => (Av.size === 0 && window.addEventListener("languagechange", jv), Av.add(n), () => {
- Av.delete(n), Av.size === 0 && window.removeEventListener("languagechange", jv);
+function _ae() {
+ let e = S_(), [t, n] = (0, b.useState)(Ev);
+ return (0, b.useEffect)(() => (Dv.size === 0 && window.addEventListener("languagechange", Ov), Dv.add(n), () => {
+ Dv.delete(n), Dv.size === 0 && window.removeEventListener("languagechange", Ov);
}), []), e ? {
- locale: typeof window < "u" && window[Dv] || "en-US",
+ locale: typeof window < "u" && window[wv] || "en-US",
direction: "ltr"
} : t;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var gae = /*#__PURE__*/ b.createContext(null);
-function Mv() {
- let e = hae();
- return (0, b.useContext)(gae) || e;
+var vae = /*#__PURE__*/ b.createContext(null);
+function kv() {
+ let e = _ae();
+ return (0, b.useContext)(vae) || e;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var _ae = Symbol.for("react-aria.i18n.locale"), vae = Symbol.for("react-aria.i18n.strings"), Nv = void 0, Pv = class e {
+var yae = Symbol.for("react-aria.i18n.locale"), bae = Symbol.for("react-aria.i18n.strings"), Av = void 0, jv = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -20629,39 +20614,39 @@ var _ae = Symbol.for("react-aria.i18n.locale"), vae = Symbol.for("react-aria.i18
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = yae(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = xae(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[_ae];
- if (Nv === void 0) {
- let t = window[vae];
+ let n = window[yae];
+ if (Av === void 0) {
+ let t = window[bae];
if (!t) return null;
- Nv = {};
- for (let r in t) Nv[r] = new e({ [n]: t[r] }, n);
+ Av = {};
+ for (let r in t) Av[r] = new e({ [n]: t[r] }, n);
}
- let r = Nv?.[t];
+ let r = Av?.[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 yae(e, t, n = "en-US") {
+function xae(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = bae(e), i = xae(e);
+ let r = Sae(e), i = Cae(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 bae(e) {
+function Sae(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function xae(e) {
+function Cae(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var Fv = /* @__PURE__ */ new Map(), Iv = /* @__PURE__ */ new Map(), Sae = class {
+var Mv = /* @__PURE__ */ new Map(), Nv = /* @__PURE__ */ new Map(), wae = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -20672,37 +20657,37 @@ var Fv = /* @__PURE__ */ new Map(), Iv = /* @__PURE__ */ new Map(), Sae = class
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = Fv.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), Fv.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = Mv.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Mv.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = Iv.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), Iv.set(this.locale, t)), t.format(e);
+ let t = Nv.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), Nv.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, Lv = /* @__PURE__ */ new WeakMap();
-function Cae(e) {
- let t = Lv.get(e);
- return t || (t = new Pv(e), Lv.set(e, t)), t;
+}, Pv = /* @__PURE__ */ new WeakMap();
+function Tae(e) {
+ let t = Pv.get(e);
+ return t || (t = new jv(e), Pv.set(e, t)), t;
}
-function wae(e, t) {
- return t && Pv.getGlobalDictionaryForPackage(t) || Cae(e);
+function Eae(e, t) {
+ return t && jv.getGlobalDictionaryForPackage(t) || Tae(e);
}
-function Rv(e, t) {
- let { locale: n } = Mv(), r = wae(e, t);
- return (0, b.useMemo)(() => new Sae(n, r), [n, r]);
+function Fv(e, t) {
+ let { locale: n } = kv(), r = Eae(e, t);
+ return (0, b.useMemo)(() => new wae(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var Tae = /* @__PURE__ */ new Set(["id"]), Eae = /* @__PURE__ */ new Set([
+var Dae = /* @__PURE__ */ new Set(["id"]), Oae = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), Dae = /* @__PURE__ */ new Set([
+]), kae = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -20710,71 +20695,71 @@ var Tae = /* @__PURE__ */ new Set(["id"]), Eae = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), Oae = /* @__PURE__ */ new Set([
+]), Aae = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate"
-]), zv = /* @__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(".")), kae = /^(data-.*)$/;
-function Bv(e, t = {}) {
+]), Iv = /* @__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(".")), jae = /^(data-.*)$/;
+function Lv(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) && (Tae.has(t) || n && Eae.has(t) || r && Dae.has(t) || i && Oae.has(t) || a && (zv.has(t) || t.endsWith("Capture") && zv.has(t.slice(0, -7))) || o?.has(t) || kae.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (Dae.has(t) || n && Oae.has(t) || r && kae.has(t) || i && Aae.has(t) || a && (Iv.has(t) || t.endsWith("Capture") && Iv.has(t.slice(0, -7))) || o?.has(t) || jae.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var Vv = "default", Hv = "", Uv = /* @__PURE__ */ new WeakMap();
-function Aae(e) {
- if (u_() && d_()) {
- if (Vv === "default") {
- let t = Bg(e);
- Hv = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- Vv = "disabled";
+var Rv = "default", zv = "", Bv = /* @__PURE__ */ new WeakMap();
+function Mae(e) {
+ if (d_() && f_()) {
+ if (Rv === "default") {
+ let t = Rg(e);
+ zv = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ Rv = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- Uv.set(e, e.style[t]), e.style[t] = "none";
+ Bv.set(e, e.style[t]), e.style[t] = "none";
}
}
-function Wv(e) {
- if (u_() && d_()) {
- if (Vv !== "disabled") return;
- Vv = "restoring", setTimeout(() => {
- Iie(() => {
- if (Vv === "restoring") {
- let t = Bg(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Hv || ""), Hv = "", Vv = "default";
+function Vv(e) {
+ if (d_() && f_()) {
+ if (Rv !== "disabled") return;
+ Rv = "restoring", setTimeout(() => {
+ Rie(() => {
+ if (Rv === "restoring") {
+ let t = Rg(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = zv || ""), zv = "", Rv = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Uv.has(e)) {
- let t = Uv.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Uv.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Bv.has(e)) {
+ let t = Bv.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Bv.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function jae(e, t) {
- let n = Vg(t), r = Bg(t);
+function Nae(e, t) {
+ let n = zg(t), r = Rg(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/getNonce.mjs
-var Gv = /* @__PURE__ */ new WeakMap();
-function Kv(e) {
- let t = Bg(e), n = Gv.get(t);
- return n ??= jae("csp-nonce", t), n !== void 0 && Gv.set(t, n), n;
+var Hv = /* @__PURE__ */ new WeakMap();
+function Uv(e) {
+ let t = Rg(e), n = Hv.get(t);
+ return n ??= Nae("csp-nonce", t), n !== void 0 && Hv.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var qv = b.createContext({ register: () => {} });
-qv.displayName = "PressResponderContext";
+var Wv = b.createContext({ register: () => {} });
+Wv.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function Jv() {
+function Gv() {
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);
@@ -20801,15 +20786,15 @@ function Jv() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function Mae(e) {
- let t = (0, b.useContext)(qv);
+function Pae(e) {
+ let t = (0, b.useContext)(Wv);
if (t) {
let { register: n, ref: r, ...i } = t;
e = W(i, e), n();
}
- return rv(t, e.ref), e;
+ return ev(t, e.ref), e;
}
-var Yv = class {
+var Kv = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -20822,9 +20807,9 @@ var Yv = class {
get shouldStopPropagation() {
return this.#e;
}
-}, Xv = Symbol("linkClicked"), Zv = "react-aria-pressable-style", Qv = "data-react-aria-pressable";
-function $v(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 } = Mae(e), [m, h] = (0, b.useState)(!1), g = (0, b.useRef)({
+}, qv = Symbol("linkClicked"), Jv = "react-aria-pressable-style", Yv = "data-react-aria-pressable";
+function Xv(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 } = Pae(e), [m, h] = (0, b.useState)(!1), g = (0, b.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -20834,12 +20819,12 @@ function $v(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = Jv(), y = (0, b.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = Gv(), 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 Yv("pressstart", t, e);
+ let n = new Kv("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -20853,11 +20838,11 @@ function $v(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new Yv("pressend", r, e);
+ let t = new Kv("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new Yv("press", r, e);
+ let n = new Kv("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -20866,19 +20851,19 @@ function $v(e) {
i,
n,
t
- ]), S = wv(x), C = wv((0, b.useCallback)((e, t) => {
+ ]), S = xv(x), C = xv((0, b.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new Yv("pressup", t, e);
+ let r = new Kv("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(ny(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Wv(t.target);
+ t.didFirePressStart && t.pointerType != null && x($v(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Vv(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -20886,7 +20871,7 @@ function $v(e) {
d,
v,
x
- ]), T = wv(w);
+ ]), T = xv(w);
(0, b.useEffect)(() => {
s && g.current.isPressed && T({
currentTarget: g.current.target,
@@ -20903,39 +20888,39 @@ function $v(e) {
}, [s, o]), O = (0, b.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- oie(n, t), o(n_(n));
+ r_(n, t), o(n_(n));
}
}, [s, o]), k = (0, b.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (ty(t.nativeEvent, t.currentTarget) && Kg(t.currentTarget, Jg(t))) {
- ry(Jg(t), t.key) && t.preventDefault();
+ if (Qv(t.nativeEvent, t.currentTarget) && Gg(t.currentTarget, qg(t))) {
+ ey(qg(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;
- _(Bg(t.currentTarget), "keyup", V_((t) => {
- ty(t, i) && !t.repeat && Kg(i, Jg(t)) && e.target && C(ny(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && c_() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(Rg(t.currentTarget), "keyup", R_((t) => {
+ Qv(t, i) && !t.repeat && Gg(i, qg(t)) && e.target && C($v(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && l_() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if ((!t || Kg(t.currentTarget, Jg(t))) && t && t.button === 0 && !e.isTriggeringEvent && !g_.isOpening) {
+ if ((!t || Gg(t.currentTarget, qg(t))) && t && t.button === 0 && !e.isTriggeringEvent && !__.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || m_(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || h_(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(ny(t.currentTarget, t), r), a = S(ny(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = C($v(t.currentTarget, t), r), a = S($v(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 && ty(t, e.target)) {
- ry(Jg(t), t.key) && t.preventDefault();
- let n = Jg(t), r = Kg(e.target, n);
- S(ny(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && ey(e.target) && Kg(e.target, n) && !t[Xv] && (t[Xv] = !0, g_(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && Qv(t, e.target)) {
+ ey(qg(t), t.key) && t.preventDefault();
+ let n = qg(t), r = Gg(e.target, n);
+ S($v(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && Zv(e.target) && Gg(e.target, n) && !t[qv] && (t[qv] = !0, __(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;
@@ -20944,39 +20929,39 @@ function $v(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !Kg(t.currentTarget, Jg(t))) return;
- if (die(t.nativeEvent)) {
+ if (t.button !== 0 || !Gg(t.currentTarget, qg(t))) return;
+ if (lie(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 || Aae(e.target), i = y(t, e.pointerType);
- let a = Jg(t);
- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Bg(t.currentTarget), "pointerup", n, !1), _(Bg(t.currentTarget), "pointercancel", r, !1);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || Mae(e.target), i = y(t, e.pointerType);
+ let a = qg(t);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Rg(t.currentTarget), "pointerup", n, !1), _(Rg(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (Kg(t.currentTarget, Jg(t)) && t.button === 0) {
+ if (Gg(t.currentTarget, qg(t)) && t.button === 0) {
if (l) {
- let n = sie(t.target);
+ let n = aie(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- Kg(t.currentTarget, Jg(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && C(t, e.pointerType || t.pointerType);
+ Gg(t.currentTarget, qg(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(ny(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y($v(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, S(ny(e.target, t), e.pointerType, !1), E(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, S($v(e.target, t), e.pointerType, !1), E(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (Kg(e.target, Jg(t)) && e.pointerType != null) {
+ if (Gg(e.target, qg(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (Rg(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (Ig(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else T(t);
@@ -20986,7 +20971,7 @@ function $v(e) {
T(e);
};
t.onDragStart = (e) => {
- Kg(e.currentTarget, Jg(e)) && T(e);
+ Gg(e.currentTarget, qg(e)) && T(e);
};
}
return t;
@@ -21003,14 +20988,14 @@ function $v(e) {
]);
return (0, b.useEffect)(() => {
if (!f) return;
- let e = Bg(f.current);
- if (!e || !e.head || e.getElementById(Zv)) return;
+ let e = Rg(f.current);
+ if (!e || !e.head || e.getElementById(Jv)) return;
let t = e.createElement("style");
- t.id = Zv;
- let n = Kv(e);
+ t.id = Jv;
+ let n = Uv(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${Qv}] {
+ [${Yv}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -21018,23 +21003,23 @@ function $v(e) {
}, [f]), (0, b.useEffect)(() => {
let e = g.current;
return () => {
- d || Wv(e.target ?? void 0);
+ d || Vv(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: W(p, k, { [Qv]: !0 })
+ pressProps: W(p, k, { [Yv]: !0 })
};
}
-function ey(e) {
+function Zv(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function ty(e, t) {
+function Qv(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Vg(i).HTMLInputElement && !iy(i, n) || i instanceof Vg(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && ey(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof zg(i).HTMLInputElement && !ty(i, n) || i instanceof zg(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Zv(i)) && n !== "Enter");
}
-function ny(e, t) {
+function $v(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -21047,13 +21032,13 @@ function ny(e, t) {
key: t.key
};
}
-function Nae(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !ey(e);
+function Fae(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Zv(e);
}
-function ry(e, t) {
- return c_() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !iy(e, t) : Nae(e);
+function ey(e, t) {
+ return l_() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !ty(e, t) : Fae(e);
}
-var Pae = /* @__PURE__ */ new Set([
+var Iae = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -21064,12 +21049,12 @@ var Pae = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function iy(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Pae.has(e.type);
+function ty(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Iae.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function Fae(e, t) {
+function Lae(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,
@@ -21091,7 +21076,7 @@ function Fae(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = $v({
+ let { pressProps: _, isPressed: v } = Xv({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -21101,9 +21086,9 @@ function Fae(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = av(e, t);
+ }), { focusableProps: y } = nv(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = W(y, _, Bv(e, { labelable: !0 }));
+ let b = W(y, _, Lv(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: W(g, b, {
@@ -21118,7 +21103,7 @@ function Fae(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Iae = class {
+var Rae = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -21143,7 +21128,7 @@ var Iae = class {
return this._currentNode;
}
set currentNode(e) {
- if (!Kg(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!Gg(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 });
@@ -21157,7 +21142,7 @@ var Iae = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return Kg(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return Gg(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -21221,45 +21206,45 @@ var Iae = class {
return null;
}
};
-function ay(e, t, n, r) {
- return Gg() ? new Iae(e, t, n, r) : e.createTreeWalker(t, n, r);
+function ny(e, t, n, r) {
+ return Wg() ? new Rae(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var oy = /*#__PURE__*/ b.createContext(null), sy = "react-aria-focus-scope-restore", cy = null;
-function ly(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)(oy) || {}, l = (0, b.useMemo)(() => new by({ scopeRef: s }), [s]);
+var ry = /*#__PURE__*/ b.createContext(null), iy = "react-aria-focus-scope-restore", ay = null;
+function oy(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)(ry) || {}, l = (0, b.useMemo)(() => new hy({ scopeRef: s }), [s]);
t_(() => {
- let e = c || xy.root;
- if (xy.getTreeNode(e.scopeRef) && cy && !hy(cy, e.scopeRef)) {
- let t = xy.getTreeNode(cy);
+ let e = c || gy.root;
+ if (gy.getTreeNode(e.scopeRef) && ay && !dy(ay, e.scopeRef)) {
+ let t = gy.getTreeNode(ay);
t && (e = t);
}
- e.addChild(l), xy.addNode(l);
+ e.addChild(l), gy.addNode(l);
}, [l, c]), t_(() => {
- let e = xy.getTreeNode(s);
+ let e = gy.getTreeNode(s);
e && (e.contain = !!n);
}, [n]), t_(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(sy, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(iy, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(sy, n);
+ for (let e of t) e.removeEventListener(iy, n);
};
- }, [t]), Uae(s, r, n), Bae(s, n), Gae(s, r, n), Hae(s, i), (0, b.useEffect)(() => {
- let e = qg(Bg(s.current ? s.current[0] : void 0)), t = null;
- if (py(e, s.current)) {
- for (let n of xy.traverse()) n.scopeRef && py(e, n.scopeRef.current) && (t = n);
- t === xy.getTreeNode(s) && (cy = t.scopeRef);
+ }, [t]), qae(s, r, n), Hae(s, n), Yae(s, r, n), Kae(s, i), (0, b.useEffect)(() => {
+ let e = Kg(Rg(s.current ? s.current[0] : void 0)), t = null;
+ if (ly(e, s.current)) {
+ for (let n of gy.traverse()) n.scopeRef && ly(e, n.scopeRef.current) && (t = n);
+ t === gy.getTreeNode(s) && (ay = t.scopeRef);
}
}, [s]), t_(() => () => {
- let e = xy.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === cy || hy(s, cy)) && (!e || xy.getTreeNode(e)) && (cy = e), xy.removeTreeNode(s);
+ let e = gy.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === ay || dy(s, ay)) && (!e || gy.getTreeNode(e)) && (ay = e), gy.removeTreeNode(s);
}, [s]);
- let u = (0, b.useMemo)(() => Lae(s), []), d = (0, b.useMemo)(() => ({
+ let u = (0, b.useMemo)(() => zae(s), []), d = (0, b.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ b.createElement(oy.Provider, { value: d }, /*#__PURE__*/ b.createElement("span", {
+ return /*#__PURE__*/ b.createElement(ry.Provider, { value: d }, /*#__PURE__*/ b.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -21269,68 +21254,68 @@ function ly(e) {
ref: o
}));
}
-function Lae(e) {
+function zae(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || qg(Bg(n[0] ?? void 0)), c = n[0].previousElementSibling, l = yy(uy(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Kg(Rg(n[0] ?? void 0)), c = n[0].previousElementSibling, l = my(sy(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = py(s, n) ? s : c;
+ l.currentNode = ly(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && gy(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && fy(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || qg(Bg(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = yy(uy(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Kg(Rg(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = my(sy(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = py(s, n) ? s : c;
+ l.currentNode = ly(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && gy(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && fy(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = yy(uy(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = my(sy(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && gy(o, !0), o;
+ return o && fy(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = yy(uy(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = my(sy(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && gy(o, !0), o;
+ return o && fy(o, !0), o;
}
};
}
-function uy(e) {
+function sy(e) {
return e[0].parentElement;
}
-function dy(e) {
- let t = xy.getTreeNode(cy);
+function cy(e) {
+ let t = gy.getTreeNode(ay);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function Rae(e) {
- if (!e.form) return Array.from(Bg(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = Vg(e);
+function Bae(e) {
+ if (!e.form) return Array.from(Rg(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = zg(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function zae(e) {
+function Vae(e) {
if (e.checked) return !0;
- let t = Rae(e);
+ let t = Bae(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Bae(e, t) {
+function Hae(e, t) {
let n = (0, b.useRef)(void 0), r = (0, b.useRef)(void 0);
t_(() => {
let i = e.current;
@@ -21338,24 +21323,24 @@ function Bae(e, t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = Bg(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !dy(e) || t.isComposing) return;
- let n = qg(a), r = e.current;
- if (!r || !py(n, r)) return;
- let i = yy(uy(r), { tabbable: !0 }, r);
+ let a = Rg(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !cy(e) || t.isComposing) return;
+ let n = Kg(a), r = e.current;
+ if (!r || !ly(n, r)) return;
+ let i = my(sy(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 && (gy(o, !0), o instanceof Vg(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 && (fy(o, !0), o instanceof zg(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!cy || hy(cy, e)) && py(Jg(t), e.current) ? (cy = e, n.current = Jg(t)) : dy(e) && !my(Jg(t), e) ? n.current ? gy(n.current) : cy && cy.current && vy(cy.current) : dy(e) && (n.current = Jg(t));
+ (!ay || dy(ay, e)) && ly(qg(t), e.current) ? (ay = e, n.current = qg(t)) : cy(e) && !uy(qg(t), e) ? n.current ? fy(n.current) : ay && ay.current && py(ay.current) : cy(e) && (n.current = qg(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = I_(), i = (r === "virtual" || r === null) && p_() && f_(), o = qg(a);
- if (!i && o && dy(e) && !my(o, e)) {
- cy = e;
- let r = Jg(t);
- r && r.isConnected ? (n.current = r, gy(n.current)) : cy.current && vy(cy.current);
+ let r = N_(), i = (r === "virtual" || r === null) && m_() && p_(), o = Kg(a);
+ if (!i && o && cy(e) && !uy(o, e)) {
+ ay = e;
+ let r = qg(t);
+ r && r.isConnected ? (n.current = r, fy(n.current)) : ay.current && py(ay.current);
}
});
};
@@ -21366,57 +21351,57 @@ function Bae(e, t) {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function fy(e) {
- return my(e);
+function Uae(e) {
+ return uy(e);
}
-function py(e, t) {
- return !e || !t ? !1 : t.some((t) => Kg(t, e));
+function ly(e, t) {
+ return !e || !t ? !1 : t.some((t) => Gg(t, e));
}
-function my(e, t = null) {
+function uy(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of xy.traverse(xy.getTreeNode(t))) if (n && py(e, n.current)) return !0;
+ for (let { scopeRef: n } of gy.traverse(gy.getTreeNode(t))) if (n && ly(e, n.current)) return !0;
return !1;
}
-function Vae(e) {
- return my(e, cy);
+function Wae(e) {
+ return uy(e, ay);
}
-function hy(e, t) {
- let n = xy.getTreeNode(t)?.parent;
+function dy(e, t) {
+ let n = gy.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function gy(e, t = !1) {
+function fy(e, t = !1) {
if (e != null && !t) try {
- B_(e);
+ L_(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function _y(e, t = !0) {
- let n = e[0].previousElementSibling, r = uy(e), i = yy(r, { tabbable: t }, e);
+function Gae(e, t = !0) {
+ let n = e[0].previousElementSibling, r = sy(e), i = my(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = uy(e), i = yy(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = sy(e), i = my(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function vy(e, t = !0) {
- gy(_y(e, t));
+function py(e, t = !0) {
+ fy(Gae(e, t));
}
-function Hae(e, t) {
+function Kae(e, t) {
let n = b.useRef(t);
(0, b.useEffect)(() => {
- n.current && (cy = e, !py(qg(Bg(e.current ? e.current[0] : void 0)), cy.current) && e.current && vy(e.current)), n.current = !1;
+ n.current && (ay = e, !ly(Kg(Rg(e.current ? e.current[0] : void 0)), ay.current) && e.current && py(e.current)), n.current = !1;
}, [e]);
}
-function Uae(e, t, n) {
+function qae(e, t, n) {
t_(() => {
if (t || n) return;
- let r = e.current, i = Bg(r ? r[0] : void 0), a = (t) => {
- let n = Jg(t);
- py(n, e.current) ? cy = e : fy(n) || (cy = null);
+ let r = e.current, i = Rg(r ? r[0] : void 0), a = (t) => {
+ let n = qg(t);
+ ly(n, e.current) ? ay = e : Uae(n) || (ay = 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));
@@ -21427,43 +21412,43 @@ function Uae(e, t, n) {
n
]);
}
-function Wae(e) {
- let t = xy.getTreeNode(cy);
+function Jae(e) {
+ let t = gy.getTreeNode(ay);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function Gae(e, t, n) {
- let r = (0, b.useRef)(typeof document < "u" ? qg(Bg(e.current ? e.current[0] : void 0)) : null);
+function Yae(e, t, n) {
+ let r = (0, b.useRef)(typeof document < "u" ? Kg(Rg(e.current ? e.current[0] : void 0)) : null);
t_(() => {
- let r = e.current, i = Bg(r ? r[0] : void 0);
+ let r = e.current, i = Rg(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!cy || hy(cy, e)) && py(qg(i), e.current) && (cy = e);
+ (!ay || dy(ay, e)) && ly(Kg(i), e.current) && (ay = 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]), t_(() => {
- let r = Bg(e.current ? e.current[0] : void 0);
+ let r = Rg(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !dy(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !cy(e) || t.isComposing) return;
let n = r.activeElement;
- if (!my(n, e) || !Wae(e)) return;
- let i = xy.getTreeNode(e);
+ if (!uy(n, e) || !Jae(e)) return;
+ let i = gy.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = yy(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = my(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 || !my(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !uy(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (my(s, e));
- t.preventDefault(), t.stopPropagation(), s ? gy(s, !0) : fy(a) ? gy(a, !0) : n.blur();
+ while (uy(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? fy(s, !0) : Uae(a) ? fy(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -21474,30 +21459,30 @@ function Gae(e, t, n) {
t,
n
]), t_(() => {
- let n = Bg(e.current ? e.current[0] : void 0);
+ let n = Rg(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = xy.getTreeNode(e);
+ let i = gy.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = xy.getTreeNode(e);
+ let r = gy.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = qg(n);
- if (t && i && (a && my(a, e) || a === n.body && Wae(e))) {
- let t = xy.clone();
+ let i = r.nodeToRestore, a = Kg(n);
+ if (t && i && (a && uy(a, e) || a === n.body && Jae(e))) {
+ let t = gy.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- Kae(n.nodeToRestore);
+ Xae(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && xy.getTreeNode(n.scopeRef)) {
- let e = _y(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && gy.getTreeNode(n.scopeRef)) {
+ let e = Gae(n.scopeRef.current, !0);
if (e) {
- Kae(e);
+ Xae(e);
return;
}
}
@@ -21509,21 +21494,21 @@ function Gae(e, t, n) {
};
}, [e, t]);
}
-function Kae(e) {
- e.dispatchEvent(new CustomEvent(sy, {
+function Xae(e) {
+ e.dispatchEvent(new CustomEvent(iy, {
bubbles: !0,
cancelable: !0
- })) && gy(e);
+ })) && fy(e);
}
-function yy(e, t, n) {
- let r = t?.tabbable ? e_ : $g, i = Bg(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = ay(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return Kg(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!zae(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || py(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function my(e, t, n) {
+ let r = t?.tabbable ? $g : Qg, i = Rg(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = ny(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return Gg(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Vae(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || ly(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var qae = class e {
+var Zae = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new by({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new hy({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -21534,7 +21519,7 @@ var qae = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new by({ scopeRef: e });
+ let i = new hy({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -21545,7 +21530,7 @@ var qae = 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 && py(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 && ly(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);
}
@@ -21557,7 +21542,7 @@ var qae = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, by = class {
+}, hy = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -21567,13 +21552,13 @@ var qae = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, xy = new qae(), Jae = 7e3, Sy = null;
-function Cy(e, t = "assertive", n = Jae) {
- Sy ? Sy.announce(e, t, n) : (Sy = new Yae(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Sy.announce(e, t, n) : setTimeout(() => {
- Sy?.isAttached() && Sy?.announce(e, t, n);
+}, gy = new Zae(), Qae = 7e3, _y = null;
+function vy(e, t = "assertive", n = Qae) {
+ _y ? _y.announce(e, t, n) : (_y = new $ae(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? _y.announce(e, t, n) : setTimeout(() => {
+ _y?.isAttached() && _y?.announce(e, t, n);
}, 100));
}
-var Yae = class {
+var $ae = 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,
@@ -21598,7 +21583,7 @@ var Yae = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = Jae) {
+ announce(e, t = "assertive", n = Qae) {
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(() => {
@@ -21611,8 +21596,8 @@ var Yae = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function Xae(e, t) {
- let n = (0, b.useRef)(!0), r = (0, b.useRef)(null), i = wv(e);
+function eoe(e, t) {
+ let n = (0, b.useRef)(!0), r = (0, b.useRef)(null), i = xv(e);
(0, b.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, b.useEffect)(() => {
@@ -21622,33 +21607,33 @@ function Xae(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function wy(e, t) {
+function yy(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 Ty(e, t) {
+function by(e, t) {
let n = e;
- for (wy(n, t) && (n = n.parentElement); n && !wy(n, t);) n = n.parentElement;
+ for (yy(n, t) && (n = n.parentElement); n && !yy(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function Ey(e, t) {
+function xy(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (wy(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (yy(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function Dy(e, t, n = {}) {
- e !== t && Zae(e, t, t.getBoundingClientRect(), n);
+function Sy(e, t, n = {}) {
+ e !== t && toe(e, t, t.getBoundingClientRect(), n);
}
-function Zae(e, t, n, r = {}) {
+function toe(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, ne = m - (f ? 0 : E) - S - F, re = h + (f ? 0 : D) + C, ie = g - (f ? 0 : O) - w;
- u_() && d_() || u.direction === "ltr" ? ie -= ee : u.direction === "rtl" && (re += ee);
+ d_() && f_() || u.direction === "ltr" ? ie -= ee : u.direction === "rtl" && (re += ee);
let ae = k < te || A > ne, oe = j < re || M > ie;
if (ae && i === "start") o += k - te;
else if (ae && i === "center") o += (k + A) / 2 - (te + ne) / 2;
@@ -21669,7 +21654,7 @@ function Zae(e, t, n, r = {}) {
top: o
});
}
-function Oy(e, t = {}) {
+function Cy(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -21682,47 +21667,47 @@ function Oy(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = Ey(e, !0);
- for (let t of i) Dy(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = xy(e, !0);
+ for (let t of i) Sy(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? Ey(n, !0) : [];
- for (let e of i) Dy(e, n, {
+ i = n ? xy(n, !0) : [];
+ for (let e of i) Sy(e, n, {
block: "center",
inline: "center"
});
- for (let t of Ey(e, !0)) Dy(t, e);
+ for (let t of xy(e, !0)) Sy(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var Qae = 0, ky = /* @__PURE__ */ new Map();
-function Ay(e) {
+var noe = 0, wy = /* @__PURE__ */ new Map();
+function Ty(e) {
let [t, n] = (0, b.useState)();
return t_(() => {
if (!e) return;
- let t = ky.get(e);
+ let t = wy.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${Qae++}`;
+ let r = `react-aria-description-${noe++}`;
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
- }, ky.set(e, t);
+ }, wy.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), ky.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), wy.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function jy(e, t, n) {
- let r = wv((e) => {
+function Ey(e, t, n) {
+ let r = xv((e) => {
n && !e.defaultPrevented && n(t);
});
(0, b.useEffect)(() => {
@@ -21734,21 +21719,21 @@ function jy(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function My(e, t, n) {
+function Dy(e, t, n) {
let { validationBehavior: r, focus: i } = e;
t_(() => {
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(eoe(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(ioe(n.current));
}
});
- let a = (0, b.useRef)(!1), o = wv(() => {
+ let a = (0, b.useRef)(!1), o = xv(() => {
a.current || t.resetValidation();
- }), s = wv((e) => {
+ }), s = xv((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && toe(r) === n.current && (i ? i() : n.current?.focus(), L_("keyboard")), e.preventDefault();
- }), c = wv(() => {
+ !e.defaultPrevented && n && r && aoe(r) === n.current && (i ? i() : n.current?.focus(), P_("keyboard")), e.preventDefault();
+ }), c = xv(() => {
t.commitValidation();
});
(0, b.useEffect)(() => {
@@ -21756,13 +21741,13 @@ function My(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" && Jg(window.event) instanceof MessagePort, r?.call(t), a.current = !1;
+ a.current = !window.event || window.event.type === "message" && qg(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 $ae(e) {
+function roe(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -21778,14 +21763,14 @@ function $ae(e) {
valid: t.valid
};
}
-function eoe(e) {
+function ioe(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: $ae(e),
+ validationDetails: roe(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function toe(e) {
+function aoe(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -21794,7 +21779,7 @@ function toe(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function noe(e = !0) {
+function ooe(e = !0) {
let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(!1), i = (0, b.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -21802,8 +21787,8 @@ function noe(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function Ny(e = !0) {
- let t = G_(), [n, r] = noe(e);
+function Oy(e = !0) {
+ let t = H_(), [n, r] = ooe(e);
return {
id: r ? t : void 0,
ref: n
@@ -21811,7 +21796,7 @@ function Ny(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var roe = {
+var soe = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -21823,18 +21808,18 @@ var roe = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, ioe = {
- ...roe,
+}, coe = {
+ ...soe,
customError: !0,
valid: !1
-}, Py = {
+}, ky = {
isInvalid: !1,
- validationDetails: roe,
+ validationDetails: soe,
validationErrors: []
-}, aoe = (0, b.createContext)({}), Fy = "__reactAriaFormValidationState";
-function Iy(e) {
+}, loe = (0, b.createContext)({}), Ay = "__reactAriaFormValidationState";
+function jy(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[Fy];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[Ay];
return {
realtimeValidation: t,
displayValidation: n,
@@ -21843,71 +21828,71 @@ function Iy(e) {
commitValidation: a
};
}
- return ooe(e);
+ return uoe(e);
}
-function ooe(e) {
+function uoe(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: ioe
- }, l = (0, b.useMemo)(() => !o || i == null ? null : coe(soe(o, i)), [o, i]);
+ validationDetails: coe
+ }, l = (0, b.useMemo)(() => !o || i == null ? null : foe(doe(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, b.useContext)(aoe), d = (0, b.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => Ly(u[e])) : Ly(u[r]) : [], [u, r]), [f, p] = (0, b.useState)(u), [m, h] = (0, b.useState)(!1);
+ let u = (0, b.useContext)(loe), d = (0, b.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => My(u[e])) : My(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)(() => coe(m ? [] : d), [m, d]), _ = (0, b.useRef)(Py), [v, y] = (0, b.useState)(Py), x = (0, b.useRef)(Py), S = () => {
+ let g = (0, b.useMemo)(() => foe(m ? [] : d), [m, d]), _ = (0, b.useRef)(ky), [v, y] = (0, b.useState)(ky), x = (0, b.useRef)(ky), S = () => {
if (!C) return;
w(!1);
let e = l || a || _.current;
- Ry(e, x.current) || (x.current = e, y(e));
+ Ny(e, x.current) || (x.current = e, y(e));
}, [C, w] = (0, b.useState)(!1);
return (0, b.useEffect)(S), {
- realtimeValidation: c || g || l || a || Py,
+ realtimeValidation: c || g || l || a || ky,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !Ry(v, e) ? y(e) : _.current = e;
+ s === "aria" && !Ny(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = Py;
- Ry(e, x.current) || (x.current = e, y(e)), s === "native" && w(!1), h(!0);
+ let e = ky;
+ Ny(e, x.current) || (x.current = e, y(e)), s === "native" && w(!1), h(!0);
},
commitValidation() {
s === "native" && w(!0), h(!0);
}
};
}
-function Ly(e) {
+function My(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function soe(e, t) {
+function doe(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return Ly(n);
+ if (n && typeof n != "boolean") return My(n);
}
return [];
}
-function coe(e) {
+function foe(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: ioe
+ validationDetails: coe
} : null;
}
-function Ry(e, t) {
+function Ny(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 loe(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 = Iy({
+function poe(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 = jy({
...e,
value: t.isSelected
}), { isInvalid: S, validationErrors: C, validationDetails: w } = x.displayValidation;
- My(e, x, n);
+ Dy(e, x, n);
let T = (e) => {
- e.stopPropagation(), t.setSelected(Jg(e).checked);
- }, { pressProps: E, isPressed: D } = $v({
+ e.stopPropagation(), t.setSelected(qg(e).checked);
+ }, { pressProps: E, isPressed: D } = Xv({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -21915,7 +21900,7 @@ function loe(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [O, k] = (0, b.useState)(!1), { pressProps: A } = $v({
+ }), [O, k] = (0, b.useState)(!1), { pressProps: A } = Xv({
onPressStart(e) {
e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), k(!0));
},
@@ -21932,13 +21917,13 @@ function loe(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [Fy]: i } = e, { commitValidation: a } = i || x;
+ let { [Ay]: i } = e, { commitValidation: a } = i || x;
a();
},
isDisabled: r || i
- }), { focusableProps: j } = av(e, n), M = W(E, j), N = Bv(e, { labelable: !0 });
- jy(n, t.defaultSelected, t.setSelected);
- let P = Ny(), ee = Ny();
+ }), { focusableProps: j } = nv(e, n), M = W(E, j), N = Lv(e, { labelable: !0 });
+ Ey(n, t.defaultSelected, t.setSelected);
+ let P = Oy(), ee = Oy();
return {
labelProps: W(A, { onClick: (e) => e.preventDefault() }),
inputProps: W(N, {
@@ -21975,8 +21960,8 @@ function loe(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function uoe(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 } = loe(e, t, n), { isIndeterminate: m } = e;
+function moe(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 } = poe(e, t, n), { isIndeterminate: m } = e;
return (0, b.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -21995,18 +21980,18 @@ function uoe(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var doe = /* @__PURE__ */ new WeakMap();
+var hoe = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function foe(e) {
+function goe(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = G_(t);
- let o = G_(), s = {};
+ t = H_(t);
+ let o = H_(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = Ev({
+ let c = Cv({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -22018,13 +22003,13 @@ function foe(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function zy(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = foe(e), s = K_([
+function Py(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = goe(e), s = U_([
!!t,
!!n,
r,
i
- ]), c = K_([
+ ]), c = U_([
!!t,
!!n,
r,
@@ -22043,25 +22028,25 @@ function zy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function By(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, b.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Jv(), c = (0, b.useCallback)((e) => {
- Kg(e.currentTarget, Jg(e)) && a.current.isFocusWithin && !Kg(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function Fy(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, b.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Gv(), c = (0, b.useCallback)((e) => {
+ Gg(e.currentTarget, qg(e)) && a.current.isFocusWithin && !Gg(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = r_(c), u = (0, b.useCallback)((e) => {
- if (!Kg(e.currentTarget, Jg(e))) return;
- let t = Jg(e), n = Bg(t), s = qg(n);
+ ]), l = i_(c), u = (0, b.useCallback)((e) => {
+ if (!Gg(e.currentTarget, qg(e))) return;
+ let t = qg(e), n = Rg(t), s = Kg(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 = Jg(e);
- if (a.current.isFocusWithin && !Kg(t, r)) {
+ let r = qg(e);
+ if (a.current.isFocusWithin && !Gg(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- oie(e, t);
+ r_(e, t);
let i = n_(e);
c(i);
}
@@ -22084,14 +22069,14 @@ function By(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var poe = typeof document < "u" ? b.useInsertionEffect ?? b.useLayoutEffect : () => {};
-function Vy(e, t, n) {
+var _oe = typeof document < "u" ? b.useInsertionEffect ?? b.useLayoutEffect : () => {};
+function Iy(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;
- poe(() => {
+ _oe(() => {
a.current = c;
});
let [, l] = (0, b.useReducer)(() => ({}), {});
@@ -22102,8 +22087,8 @@ function Vy(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function Hy(e = {}) {
- let { isReadOnly: t } = e, [n, r] = Vy(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, b.useState)(n);
+function Ly(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = Iy(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, b.useState)(n);
function a(e) {
t || r(e);
}
@@ -22119,26 +22104,26 @@ function Hy(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function moe(e, t, n) {
- let r = Hy({
+function voe(e, t, n) {
+ let r = Ly({
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 } = doe.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = hoe.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = Iy({
+ let { realtimeValidation: l } = jy({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, b.useRef)(Py), d = () => {
+ }), u = (0, b.useRef)(ky), 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 = uoe({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = moe({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -22146,7 +22131,7 @@ function moe(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [Fy]: {
+ [Ay]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -22170,12 +22155,12 @@ function moe(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function Uy(e, t = -Infinity, n = Infinity) {
+function Ry(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 hoe = {
+var yoe = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -22187,38 +22172,38 @@ var hoe = {
width: "1px",
whiteSpace: "nowrap"
};
-function Wy(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, b.useState)(!1), { focusWithinProps: a } = By({
+function zy(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, b.useState)(!1), { focusWithinProps: a } = Fy({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, b.useMemo)(() => r ? t : t ? {
- ...hoe,
+ ...yoe,
...t
- } : hoe, [r]);
+ } : yoe, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function Gy(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Wy(e);
+function By(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = zy(e);
return /*#__PURE__*/ b.createElement(n, W(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function goe(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Vy(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = av(e, t), d = Iy({
+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] = Iy(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = nv(e, t), d = jy({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = zy({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = Py({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = Bv(e, { labelable: !0 }), x = {
+ }), y = Lv(e, { labelable: !0 }), x = {
type: o,
pattern: e.pattern
}, [S] = (0, b.useState)(c);
- return jy(t, e.defaultValue ?? S, l), My(e, d, t), {
+ return Ey(t, e.defaultValue ?? S, l), Dy(e, d, t), {
labelProps: h,
inputProps: W(y, n === "input" ? x : void 0, {
disabled: r,
@@ -22232,7 +22217,7 @@ function goe(e, t) {
"aria-haspopup": e["aria-haspopup"],
"aria-controls": e["aria-controls"],
value: c,
- onChange: (e) => l(Jg(e).value),
+ onChange: (e) => l(qg(e).value),
autoComplete: e.autoComplete,
autoCapitalize: e.autoCapitalize,
maxLength: e.maxLength,
@@ -22265,42 +22250,42 @@ function goe(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var _oe = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function voe(e) {
+var xoe = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function Soe(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var Ky = /* @__PURE__ */ new WeakMap(), qy = [];
-function yoe(e, t) {
- let n = Vg(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && _oe, 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 Vy = /* @__PURE__ */ new WeakMap(), Hy = [];
+function Coe(e, t) {
+ let n = zg(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && xoe, 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 (Gg()) {
+ if (Wg()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; Hg(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; Vg(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 (Kg(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (Gg(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = ay(Bg(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = ny(Rg(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 = Ky.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Ky.set(e, t + 1));
+ let t = Vy.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Vy.set(e, t + 1));
};
- qy.length && qy[qy.length - 1].disconnect(), d(i);
+ Hy.length && Hy[Hy.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) => Kg(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && voe(e) ? o.add(e) : e instanceof Element && d(e);
- if (Gg()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => Gg(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Soe(e) ? o.add(e) : e instanceof Element && d(e);
+ if (Wg()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -22313,11 +22298,11 @@ function yoe(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (Gg()) for (let e of u) {
+ if (Wg()) 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) => Kg(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && voe(e) ? o.add(e) : e instanceof Element && d(e);
- if (Gg()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => Gg(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Soe(e) ? o.add(e) : e instanceof Element && d(e);
+ if (Wg()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -22343,59 +22328,59 @@ function yoe(e, t) {
p.disconnect();
}
};
- return qy.push(h), () => {
- if (p.disconnect(), Gg()) for (let e of m) e.disconnect();
+ return Hy.push(h), () => {
+ if (p.disconnect(), Wg()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = Ky.get(e);
- t != null && (t === 1 ? (l(e, !1), Ky.delete(e)) : Ky.set(e, t - 1));
+ let t = Vy.get(e);
+ t != null && (t === 1 ? (l(e, !1), Vy.delete(e)) : Vy.set(e, t - 1));
}
- h === qy[qy.length - 1] ? (qy.pop(), qy.length && qy[qy.length - 1].observe()) : qy.splice(qy.indexOf(h), 1);
+ h === Hy[Hy.length - 1] ? (Hy.pop(), Hy.length && Hy[Hy.length - 1].observe()) : Hy.splice(Hy.indexOf(h), 1);
};
}
-function boe(e) {
- let t = qy[qy.length - 1];
+function woe(e) {
+ let t = Hy[Hy.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 Jy = /* @__PURE__ */ new WeakMap();
-function xoe(e) {
+var Uy = /* @__PURE__ */ new WeakMap();
+function Toe(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function Soe(e, t) {
- let n = Jy.get(e);
+function Eoe(e, t) {
+ let n = Uy.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${xoe(t)}`;
+ return `${n.id}-option-${Toe(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function Yy(e) {
- return lie() ? e.altKey : e.ctrlKey;
+function Wy(e) {
+ return sie() ? e.altKey : e.ctrlKey;
}
-function Xy(e, t) {
+function Gy(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 Coe = /* @__PURE__ */ new WeakMap();
-function woe(e) {
- let t = G_();
- return Coe.set(e, t), t;
+var Ky = /* @__PURE__ */ new WeakMap();
+function Doe(e) {
+ let t = H_();
+ return Ky.set(e, t), t;
}
-function Toe(e) {
- return Coe.get(e);
+function Ooe(e) {
+ return Ky.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var Zy = class {
+var qy = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : Xy(this.ref, e);
+ let n = e == null ? null : Gy(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -22421,12 +22406,12 @@ var Zy = class {
height: e?.clientHeight ?? 0
};
}
-}, Qy = class {
+}, Jy = 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 Zy(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 Zy(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 qy(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 qy(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -22466,14 +22451,14 @@ var Zy = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = Xy(this.ref, e);
+ let t = this.getNextKey(e), n = Gy(this.ref, e);
if (t != null) {
- let e = Xy(this.ref, t);
+ let e = Gy(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = Xy(this.ref, r);
+ let e = Gy(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -22507,7 +22492,7 @@ var Zy = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !wy(t)) return this.getFirstKey();
+ if (t && !yy(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -22522,7 +22507,7 @@ var Zy = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !wy(t)) return this.getLastKey();
+ if (t && !yy(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);
@@ -22545,184 +22530,184 @@ var Zy = class {
}
return null;
}
-}, Eoe = {};
-Eoe = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, Yy = {};
+Yy = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var Doe = {};
-Doe = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var Xy = {};
+Xy = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var $y = {};
-$y = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var Zy = {};
+Zy = { 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 eb = {};
-eb = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var Qy = {};
+Qy = { 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 tb = {};
-tb = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var $y = {};
+$y = { 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 nb = {};
-nb = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var eb = {};
+eb = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var rb = {};
-rb = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var tb = {};
+tb = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var ib = {};
-ib = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var nb = {};
+nb = { 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 ab = {};
-ab = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var rb = {};
+rb = { 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 ob = {};
-ob = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var ib = {};
+ib = { 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 sb = {};
-sb = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var ab = {};
+ab = { 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 cb = {};
-cb = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var ob = {};
+ob = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var lb = {};
-lb = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var sb = {};
+sb = { 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 ub = {};
-ub = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var cb = {};
+cb = { 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 db = {};
-db = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var lb = {};
+lb = { 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 fb = {};
-fb = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var ub = {};
+ub = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var pb = {};
-pb = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var db = {};
+db = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var mb = {};
-mb = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var fb = {};
+fb = { 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 hb = {};
-hb = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var pb = {};
+pb = { 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 gb = {};
-gb = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var mb = {};
+mb = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var _b = {};
-_b = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var hb = {};
+hb = { 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 vb = {};
-vb = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var gb = {};
+gb = { 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 yb = {};
-yb = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var _b = {};
+_b = { 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 bb = {};
-bb = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var vb = {};
+vb = { 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 xb = {};
-xb = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var yb = {};
+yb = { 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 Sb = {};
-Sb = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var bb = {};
+bb = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var Cb = {};
-Cb = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var xb = {};
+xb = { 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 wb = {};
-wb = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var Sb = {};
+Sb = { 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 Tb = {};
-Tb = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var Cb = {};
+Cb = { 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 Eb = {};
-Eb = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var wb = {};
+wb = { 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 Db = {};
-Db = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var Tb = {};
+Tb = { 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 Ob = {};
-Ob = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var Eb = {};
+Eb = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var kb = {};
-kb = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var Db = {};
+Db = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var Ab = {};
-Ab = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var Ob = {};
+Ob = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var jb = {};
-jb = {
- "ar-AE": Eoe,
- "bg-BG": Doe,
- "cs-CZ": $y,
- "da-DK": eb,
- "de-DE": tb,
- "el-GR": nb,
- "en-US": rb,
- "es-ES": ib,
- "et-EE": ab,
- "fi-FI": ob,
- "fr-FR": sb,
- "he-IL": cb,
- "hr-HR": lb,
- "hu-HU": ub,
- "it-IT": db,
- "ja-JP": fb,
- "ko-KR": pb,
- "lt-LT": mb,
- "lv-LV": hb,
- "nb-NO": gb,
- "nl-NL": _b,
- "pl-PL": vb,
- "pt-BR": yb,
- "pt-PT": bb,
- "ro-RO": xb,
- "ru-RU": Sb,
- "sk-SK": Cb,
- "sl-SI": wb,
- "sr-SP": Tb,
- "sv-SE": Eb,
- "tr-TR": Db,
- "uk-UA": Ob,
- "zh-CN": kb,
- "zh-TW": Ab
+var kb = {};
+kb = {
+ "ar-AE": Yy,
+ "bg-BG": Xy,
+ "cs-CZ": Zy,
+ "da-DK": Qy,
+ "de-DE": $y,
+ "el-GR": eb,
+ "en-US": tb,
+ "es-ES": nb,
+ "et-EE": rb,
+ "fi-FI": ib,
+ "fr-FR": ab,
+ "he-IL": ob,
+ "hr-HR": sb,
+ "hu-HU": cb,
+ "it-IT": lb,
+ "ja-JP": ub,
+ "ko-KR": db,
+ "lt-LT": fb,
+ "lv-LV": pb,
+ "nb-NO": mb,
+ "nl-NL": hb,
+ "pl-PL": gb,
+ "pt-BR": _b,
+ "pt-PT": vb,
+ "ro-RO": yb,
+ "ru-RU": bb,
+ "sk-SK": xb,
+ "sl-SI": Sb,
+ "sr-SP": Cb,
+ "sv-SE": wb,
+ "tr-TR": Tb,
+ "uk-UA": Eb,
+ "zh-CN": Db,
+ "zh-TW": Ob
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var Ooe = 500;
-function Mb(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Ooe, accessibilityDescription: s } = e, c = (0, b.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Jv(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = $v({
+var koe = 500;
+function Ab(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 } = Gv(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Xv({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -22730,12 +22715,12 @@ function Mb(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Bg(e.target).activeElement !== e.target && Rg(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Rg(e.target).activeElement !== e.target && Ig(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 = Vg(e.target);
+ let t = zg(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -22750,12 +22735,12 @@ function Mb(e) {
});
}
});
- return { longPressProps: W(f, Ay(a && !t ? s : void 0)) };
+ return { longPressProps: W(f, Ty(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function koe(e) {
- let { onContextMenu: t } = e, n = (0, b.useRef)(!1), { longPressProps: r } = Mb({
+function Aoe(e) {
+ let { onContextMenu: t } = e, n = (0, b.useRef)(!1), { longPressProps: r } = Ab({
onLongPressStart() {
n.current = !1;
},
@@ -22767,7 +22752,7 @@ function koe(e) {
});
}
});
- return t ? { contextMenuProps: W(u_() ? r : {}, {
+ return t ? { contextMenuProps: W(d_() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -22778,7 +22763,7 @@ function koe(e) {
});
},
onKeyDown(e) {
- if (c_() && e.ctrlKey && e.key === "Enter") {
+ if (l_() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -22798,13 +22783,13 @@ function koe(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var Nb = /* @__PURE__ */ new WeakMap();
-function Aoe(e) {
+var jb = /* @__PURE__ */ new WeakMap();
+function joe(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, b.useEffect)(() => !n || r === null ? void 0 : Ug(Yg(t.current), "scroll", (e) => {
- let n = Jg(e);
- if (!t.current || n instanceof Node && !Kg(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || Nb.get(t.current);
+ (0, b.useEffect)(() => !n || r === null ? void 0 : Hg(Jg(t.current), "scroll", (e) => {
+ let n = qg(e);
+ if (!t.current || n instanceof Node && !Gg(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || jb.get(t.current);
i && i();
}, !0), [
n,
@@ -22814,14 +22799,14 @@ function Aoe(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function joe(e, t, n) {
+function Moe(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, b.useEffect)(() => {
- n && n.current && Nb.set(n.current, t.close);
+ n && n.current && jb.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = G_();
+ let o = H_();
return {
triggerProps: {
"aria-haspopup": a,
@@ -22834,14 +22819,14 @@ function joe(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function Moe(e) {
+function Noe(e) {
return e && e.__esModule ? e.default : e;
}
-function Pb(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = G_(), { triggerProps: s, overlayProps: c } = joe({ type: r }, t, n), l = (e, n, r = "first") => {
+function Mb(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = H_(), { triggerProps: s, overlayProps: c } = Moe({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = tv({
+ }, { keyboardProps: u } = Q_({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -22853,7 +22838,7 @@ function Pb(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = Rv(Moe(jb), "@react-aria/menu"), { longPressProps: f } = Mb({
+ }), d = Fv(Noe(kb), "@react-aria/menu"), { longPressProps: f } = Ab({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -22865,14 +22850,14 @@ function Pb(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Rg(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Ig(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (Rg(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (Ig(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = koe({ onContextMenu(e) {
+ let { contextMenuProps: m } = Aoe({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -22882,7 +22867,7 @@ function Pb(e, t, n) {
(0, b.useEffect)(() => {
if (t.isOpen && a === "contextMenu") {
let e = (e) => {
- (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && Jg(e) === document.body && t.close();
+ (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && qg(e) === document.body && t.close();
};
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
}
@@ -22917,8 +22902,8 @@ function Pb(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var Fb = 1e3;
-function Ib(e) {
+var Nb = 1e3;
+function Pb(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, b.useRef)({
search: "",
timeout: void 0
@@ -22937,12 +22922,12 @@ function Ib(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Fb);
+ }, Nb);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = Noe(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Kg(e.currentTarget, Jg(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = Poe(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Gg(e.currentTarget, qg(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();
@@ -22953,17 +22938,17 @@ function Ib(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Fb);
+ }, Nb);
}
} : void 0
} };
}
-function Noe(e) {
+function Poe(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function Lb(e, t) {
+function Fb(e, t) {
let n = (0, b.useRef)(!0), r = (0, b.useRef)(null);
t_(() => (n.current = !0, () => {
n.current = !1;
@@ -22973,14 +22958,14 @@ function Lb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function Rb(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 } = Mv(), _ = h_(), v = (e, n, i) => {
+function Ib(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 } = kv(), _ = g_(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !Yy(e)) {
- (0, ht.flushSync)(() => {
+ if (t.isLink(n) && m === "selection" && l && !Wy(e)) {
+ (0, pt.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = Xy(r, n), o = t.getItemProps(n);
+ let a = Gy(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -22992,7 +22977,7 @@ function Rb(e) {
t.extendSelection(n);
return;
}
- if (l && !Yy(e)) {
+ if (l && !Wy(e)) {
t.replaceSelection(n);
return;
}
@@ -23019,9 +23004,9 @@ function Rb(e) {
}, S = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, Sv(e));
+ let r = n.getFirstKey(t.focusedKey, yv(e));
if (t.setFocusedKey(r), r != null) {
- if (Sv(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (yv(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -23053,9 +23038,9 @@ function Rb(e) {
}, T = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, Sv(e));
+ let r = n.getLastKey(t.focusedKey, yv(e));
if (t.setFocusedKey(r), r != null) {
- if (Sv(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (yv(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -23086,12 +23071,12 @@ function Rb(e) {
else return !1;
}, A = () => {
if (!f && r.current) {
- let e = yy(r.current, { tabbable: !0 }), t, n;
+ let e = my(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = qg();
- t && (!Xg(t) || i && !e_(i)) && Rg(t);
+ let i = Kg();
+ t && (!Yg(t) || i && !$g(i)) && Ig(t);
}
return {
shouldContinuePropagation: !0,
@@ -23101,11 +23086,11 @@ function Rb(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), M = (e, t) => ({
- [c_() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [l_() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [c_() ? e + "+Alt" : e + "+Control"]: t,
+ [l_() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: N } = tv({
+ }), { keyboardProps: N } = Q_({
shortcuts: {
...M("ArrowDown", y),
...M("ArrowUp", x),
@@ -23115,7 +23100,7 @@ function Rb(e) {
...M("PageUp", D)
},
allowRepeats: !0
- }), { keyboardProps: P } = tv({ shortcuts: {
+ }), { keyboardProps: P } = Q_({ shortcuts: {
...M("Home", S),
...M("End", T),
"Mod+A": O,
@@ -23126,7 +23111,7 @@ function Rb(e) {
top: 0,
left: 0
});
- Tv(p, "scroll", () => {
+ Sv(p, "scroll", () => {
ee.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -23134,11 +23119,11 @@ function Rb(e) {
});
let F = (e) => {
if (t.isFocused) {
- Kg(e.currentTarget, Jg(e)) || t.setFocused(!1);
+ Gg(e.currentTarget, qg(e)) || t.setFocused(!1);
return;
}
- if (!Kg(e.currentTarget, Jg(e))) return;
- let i = I_();
+ if (!Gg(e.currentTarget, qg(e))) return;
+ let i = N_();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -23149,27 +23134,27 @@ function Rb(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 = Xy(r, t.focusedKey);
- e instanceof HTMLElement && (!Xg(e) && !d && Rg(e), (i === "keyboard" || h && i === "virtual") && Oy(e, { containingElement: r.current }));
+ let e = Gy(r, t.focusedKey);
+ e instanceof HTMLElement && (!Yg(e) && !d && Ig(e), (i === "keyboard" || h && i === "virtual") && Cy(e, { containingElement: r.current }));
}
}, te = (e) => {
- Kg(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ Gg(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
}, ne = (0, b.useRef)(!1);
- Tv(r, sae, d ? (e) => {
+ Sv(r, lae, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ne.current = !0);
} : void 0);
let re = n.getFirstKey?.() ?? null;
- Lb(() => {
+ Fb(() => {
if (ne.current) {
if (re == null) {
- let e = qg();
- bv(r.current), xv(e, null), t.collection.size > 0 && (ne.current = !1);
+ let e = Kg();
+ _v(r.current), vv(e, null), t.collection.size > 0 && (ne.current = !1);
} else t.setFocusedKey(re), ne.current = !1;
}
- }, [re, t.collection.size]), Lb(() => {
+ }, [re, t.collection.size]), Fb(() => {
t.collection.size > 0 && (ne.current = !1);
- }, [t.focusedKey]), Tv(r, oae, d ? (e) => {
+ }, [t.focusedKey]), Sv(r, cae, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
let ie = (0, b.useRef)(i), ae = (0, b.useRef)(!1);
@@ -23184,22 +23169,22 @@ function Rb(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && B_(r.current), t.collection.size > 0 && (ie.current = !1, ae.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && L_(r.current), t.collection.size > 0 && (ie.current = !1, ae.current = !0);
}
});
let oe = (0, b.useRef)(t.focusedKey), se = (0, b.useRef)(null);
(0, b.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== oe.current || ae.current) && p.current && r.current) {
- let e = I_(), n = Xy(r, t.focusedKey);
+ let e = N_(), n = Gy(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ae.current) && (se.current && cancelAnimationFrame(se.current), se.current = requestAnimationFrame(() => {
- p.current && (Dy(p.current, n), e !== "virtual" && Oy(n, { containingElement: r.current }));
+ p.current && (Sy(p.current, n), e !== "virtual" && Cy(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && B_(r.current), oe.current = t.focusedKey, ae.current = !1;
+ !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && L_(r.current), oe.current = t.focusedKey, ae.current = !1;
}), (0, b.useEffect)(() => () => {
se.current && cancelAnimationFrame(se.current);
- }, []), Tv(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), Sv(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let ce = {
@@ -23207,16 +23192,16 @@ function Rb(e) {
onFocus: F,
onBlur: te,
onMouseDown(e) {
- p.current === Jg(e) && e.preventDefault();
+ p.current === qg(e) && e.preventDefault();
}
- }, { typeSelectProps: le } = Ib({
+ }, { typeSelectProps: le } = Pb({
keyboardDelegate: n,
selectionManager: t
});
u || (ce = W(le, ce));
let ue;
d || (ue = t.focusedKey == null ? 0 : -1);
- let de = woe(t.collection);
+ let de = Doe(t.collection);
return { collectionProps: W(ce, {
tabIndex: ue,
"data-collection": de
@@ -23224,13 +23209,13 @@ function Rb(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function zb(e, t) {
+function Lb(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function Bb(e) {
- return Vb(e, 0);
+function Rb(e) {
+ return zb(e, 0);
}
-function Vb(e, t) {
+function zb(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -23238,112 +23223,112 @@ function Vb(e, t) {
n++;
}
}
-function Hb(e) {
+function Bb(e) {
let t;
for (let n of e) t = n;
return t;
}
-function Ub(e, t, n) {
+function Vb(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...Wb(e, t), t], i = [...Wb(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...Hb(e, t), t], i = [...Hb(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 Wb(e, t) {
+function Hb(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 Gb = /* @__PURE__ */ new WeakMap();
-function Kb(e) {
- let t = Gb.get(e);
+var Ub = /* @__PURE__ */ new WeakMap();
+function Wb(e) {
+ let t = Ub.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(zb(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(Lb(i, e)) : i.type === "item" && n++;
};
- return r(e), Gb.set(e, n), n;
+ return r(e), Ub.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var qb = /* @__PURE__ */ new Map();
-function Jb(e) {
- let { locale: t } = Mv(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (qb.has(n)) return qb.get(n);
+var Gb = /* @__PURE__ */ new Map();
+function Kb(e) {
+ let { locale: t } = kv(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (Gb.has(n)) return Gb.get(n);
let r = new Intl.Collator(t, e);
- return qb.set(n, r), r;
+ return Gb.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var Poe = /*#__PURE__*/ b.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, b.useRef)(!1), i = (0, b.useContext)(qv), a = W(i || {}, {
+var Foe = /*#__PURE__*/ b.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, b.useRef)(!1), i = (0, b.useContext)(Wv), a = W(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = nv(n || i?.ref), rv(i, a.ref), (0, b.useEffect)(() => {
+ return a.ref = $_(n || i?.ref), ev(i, a.ref), (0, b.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ b.createElement(qv.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ b.createElement(Wv.Provider, { value: a }, e);
});
-function Foe({ children: e }) {
+function Ioe({ children: e }) {
let t = (0, b.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ b.createElement(qv.Provider, { value: t }, e);
+ return /*#__PURE__*/ b.createElement(Wv.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var Yb = /*#__PURE__*/ (0, b.createContext)({});
-function Xb(e) {
- let { getContainer: t } = e, { getContainer: n } = Zb();
- return /*#__PURE__*/ b.createElement(Yb.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var qb = /*#__PURE__*/ (0, b.createContext)({});
+function Jb(e) {
+ let { getContainer: t } = e, { getContainer: n } = Yb();
+ return /*#__PURE__*/ b.createElement(qb.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function Zb() {
- return (0, b.useContext)(Yb) ?? {};
+function Yb() {
+ return (0, b.useContext)(qb) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var Qb = /*#__PURE__*/ b.createContext(null);
-function $b(e) {
- let t = x_(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, b.useState)(!1), o = (0, b.useMemo)(() => ({
+var Xb = /*#__PURE__*/ b.createContext(null);
+function Zb(e) {
+ let t = S_(), { 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 } = Zb();
+ }), [i, a]), { getContainer: s } = Yb();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ b.createElement(ly, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ b.createElement(oy, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ b.createElement(Qb.Provider, { value: o }, /*#__PURE__*/ b.createElement(Foe, null, /*#__PURE__*/ b.createElement(iv.Provider, { value: null }, c))), /*#__PURE__*/ ht.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ b.createElement(Xb.Provider, { value: o }, /*#__PURE__*/ b.createElement(Ioe, null, /*#__PURE__*/ b.createElement(tv.Provider, { value: null }, c))), /*#__PURE__*/ pt.createPortal(c, n);
}
-function ex() {
- let e = (0, b.useContext)(Qb)?.setContain;
+function Qb() {
+ let e = (0, b.useContext)(Xb)?.setContain;
t_(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function Ioe(e, t) {
- let { role: n = "dialog" } = e, r = K_();
+function Loe(e, t) {
+ let { role: n = "dialog" } = e, r = U_();
r = e["aria-label"] ? void 0 : r;
- let i = K_();
+ let i = U_();
i = n === "alertdialog" && !e["aria-describedby"] ? i : void 0;
let a = (0, b.useRef)(!1);
(0, b.useEffect)(() => {
- if (t.current && !Xg(t.current)) {
- B_(t.current);
+ if (t.current && !Yg(t.current)) {
+ L_(t.current);
let e = setTimeout(() => {
- (qg() === t.current || qg() === document.body) && (a.current = !0, t.current && (t.current.blur(), B_(t.current)), a.current = !1);
+ (Kg() === t.current || Kg() === document.body) && (a.current = !0, t.current && (t.current.blur(), L_(t.current)), a.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t]), ex(), (0, b.useRef)(!1), (0, b.useEffect)(() => {});
+ }, [t]), Qb(), (0, b.useRef)(!1), (0, b.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
- ...Bv(e, { labelable: !0 }),
+ ...Lv(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? r,
@@ -23358,23 +23343,23 @@ function Ioe(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function tx(e = {}) {
+function $b(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, b.useRef)({
isFocused: !1,
- isFocusVisible: t || F_()
+ isFocusVisible: t || M_()
}), [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 = F_(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = M_(), o(e), l();
}, [l]);
- Nie((e) => {
+ Fie((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = Z_({
+ let { focusProps: d } = J_({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = By({
+ }), { focusWithinProps: f } = Fy({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -23386,42 +23371,42 @@ function tx(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Loe(e = {}) {
- let { locale: t } = Mv();
+function Roe(e = {}) {
+ let { locale: t } = kv();
return (0, b.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var nx = !1, rx = 0;
-function Roe() {
- nx = !0, setTimeout(() => {
- nx = !1;
+var ex = !1, tx = 0;
+function zoe() {
+ ex = !0, setTimeout(() => {
+ ex = !1;
}, 500);
}
-function ix(e) {
- e.pointerType === "touch" && Roe();
+function nx(e) {
+ e.pointerType === "touch" && zoe();
}
-function zoe() {
- let e = Bg(null);
- if (e !== void 0) return rx === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", ix), rx++, () => {
- rx--, !(rx > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", ix);
+function Boe() {
+ let e = Rg(null);
+ if (e !== void 0) return tx === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", nx), tx++, () => {
+ tx--, !(tx > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", nx);
};
}
-function ax(e) {
+function rx(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)(zoe, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = Jv(), { hoverProps: u, triggerHoverEnd: d } = (0, b.useMemo)(() => {
+ (0, b.useEffect)(Boe, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = Gv(), { hoverProps: u, triggerHoverEnd: d } = (0, b.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !Kg(e.currentTarget, Jg(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !Gg(e.currentTarget, qg(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(Bg(Jg(e)), "pointerover", (e) => {
- s.isHovered && s.target && !Kg(s.target, Jg(e)) && a(e, e.pointerType);
+ s.target = l, c(Rg(qg(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !Gg(s.target, qg(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -23436,9 +23421,9 @@ function ax(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- nx && t.pointerType === "mouse" || e(t, t.pointerType);
+ ex && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && Kg(e.currentTarget, Jg(e)) && a(e, e.pointerType);
+ !i && Gg(e.currentTarget, qg(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -23461,22 +23446,22 @@ function ax(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function Boe(e) {
+function Voe(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, b.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = wv((e) => {
- n && ox(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = wv((e) => {
+ }), o = xv((e) => {
+ n && ix(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = xv((e) => {
n && n(e);
});
(0, b.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = Bg(n);
+ let n = t.current, i = Rg(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && ox(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && ix(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);
@@ -23484,19 +23469,19 @@ function Boe(e) {
}
}, [t, r]);
}
-function ox(e, t) {
+function ix(e, t) {
if (e.button > 0) return !1;
- let n = Jg(e);
+ let n = qg(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !Kg(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !Gg(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 sx = {};
-sx = {
+var ax = {};
+ax = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -23510,8 +23495,8 @@ sx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var cx = {};
-cx = {
+var ox = {};
+ox = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -23525,8 +23510,8 @@ cx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var lx = {};
-lx = {
+var sx = {};
+sx = {
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",
@@ -23540,8 +23525,8 @@ lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var ux = {};
-ux = {
+var cx = {};
+cx = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -23555,8 +23540,8 @@ ux = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var dx = {};
-dx = {
+var lx = {};
+lx = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -23570,8 +23555,8 @@ dx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var fx = {};
-fx = {
+var ux = {};
+ux = {
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: "Επιλογή",
@@ -23585,8 +23570,8 @@ fx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var px = {};
-px = {
+var dx = {};
+dx = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -23600,8 +23585,8 @@ px = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var mx = {};
-mx = {
+var fx = {};
+fx = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -23615,8 +23600,8 @@ mx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var hx = {};
-hx = {
+var px = {};
+px = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -23630,8 +23615,8 @@ hx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var gx = {};
-gx = {
+var mx = {};
+mx = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -23645,8 +23630,8 @@ gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var _x = {};
-_x = {
+var hx = {};
+hx = {
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",
@@ -23660,8 +23645,8 @@ _x = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var vx = {};
-vx = {
+var gx = {};
+gx = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -23675,8 +23660,8 @@ vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var yx = {};
-yx = {
+var _x = {};
+_x = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -23690,8 +23675,8 @@ yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var bx = {};
-bx = {
+var vx = {};
+vx = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -23705,8 +23690,8 @@ bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var xx = {};
-xx = {
+var yx = {};
+yx = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -23720,8 +23705,8 @@ xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var Sx = {};
-Sx = {
+var bx = {};
+bx = {
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: "選択",
@@ -23735,8 +23720,8 @@ Sx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var Cx = {};
-Cx = {
+var xx = {};
+xx = {
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: "선택",
@@ -23750,8 +23735,8 @@ Cx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var wx = {};
-wx = {
+var Sx = {};
+Sx = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -23765,8 +23750,8 @@ wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var Tx = {};
-Tx = {
+var Cx = {};
+Cx = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -23780,8 +23765,8 @@ Tx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var Ex = {};
-Ex = {
+var wx = {};
+wx = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -23795,8 +23780,8 @@ Ex = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var Dx = {};
-Dx = {
+var Tx = {};
+Tx = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -23810,8 +23795,8 @@ Dx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var Ox = {};
-Ox = {
+var Ex = {};
+Ex = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -23825,8 +23810,8 @@ Ox = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var kx = {};
-kx = {
+var Dx = {};
+Dx = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -23840,8 +23825,8 @@ kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var Ax = {};
-Ax = {
+var Ox = {};
+Ox = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -23855,8 +23840,8 @@ Ax = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var jx = {};
-jx = {
+var kx = {};
+kx = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -23870,8 +23855,8 @@ jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var Mx = {};
-Mx = {
+var Ax = {};
+Ax = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -23885,8 +23870,8 @@ Mx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var Nx = {};
-Nx = {
+var jx = {};
+jx = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -23900,8 +23885,8 @@ Nx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var Px = {};
-Px = {
+var Mx = {};
+Mx = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -23915,8 +23900,8 @@ Px = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var Fx = {};
-Fx = {
+var Nx = {};
+Nx = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -23930,8 +23915,8 @@ Fx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var Ix = {};
-Ix = {
+var Px = {};
+Px = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -23945,8 +23930,8 @@ Ix = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var Lx = {};
-Lx = {
+var Fx = {};
+Fx = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -23960,8 +23945,8 @@ Lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var Rx = {};
-Rx = {
+var Ix = {};
+Ix = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -23975,8 +23960,8 @@ Rx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var zx = {};
-zx = {
+var Lx = {};
+Lx = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -23990,8 +23975,8 @@ zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var Bx = {};
-Bx = {
+var Rx = {};
+Rx = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -24005,55 +23990,55 @@ Bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var Vx = {};
-Vx = {
- "ar-AE": sx,
- "bg-BG": cx,
- "cs-CZ": lx,
- "da-DK": ux,
- "de-DE": dx,
- "el-GR": fx,
- "en-US": px,
- "es-ES": mx,
- "et-EE": hx,
- "fi-FI": gx,
- "fr-FR": _x,
- "he-IL": vx,
- "hr-HR": yx,
- "hu-HU": bx,
- "it-IT": xx,
- "ja-JP": Sx,
- "ko-KR": Cx,
- "lt-LT": wx,
- "lv-LV": Tx,
- "nb-NO": Ex,
- "nl-NL": Dx,
- "pl-PL": Ox,
- "pt-BR": kx,
- "pt-PT": Ax,
- "ro-RO": jx,
- "ru-RU": Mx,
- "sk-SK": Nx,
- "sl-SI": Px,
- "sr-SP": Fx,
- "sv-SE": Ix,
- "tr-TR": Lx,
- "uk-UA": Rx,
- "zh-CN": zx,
- "zh-TW": Bx
+var zx = {};
+zx = {
+ "ar-AE": ax,
+ "bg-BG": ox,
+ "cs-CZ": sx,
+ "da-DK": cx,
+ "de-DE": lx,
+ "el-GR": ux,
+ "en-US": dx,
+ "es-ES": fx,
+ "et-EE": px,
+ "fi-FI": mx,
+ "fr-FR": hx,
+ "he-IL": gx,
+ "hr-HR": _x,
+ "hu-HU": vx,
+ "it-IT": yx,
+ "ja-JP": bx,
+ "ko-KR": xx,
+ "lt-LT": Sx,
+ "lv-LV": Cx,
+ "nb-NO": wx,
+ "nl-NL": Tx,
+ "pl-PL": Ex,
+ "pt-BR": Dx,
+ "pt-PT": Ox,
+ "ro-RO": kx,
+ "ru-RU": Ax,
+ "sk-SK": jx,
+ "sl-SI": Mx,
+ "sr-SP": Nx,
+ "sv-SE": Px,
+ "tr-TR": Fx,
+ "uk-UA": Ix,
+ "zh-CN": Lx,
+ "zh-TW": Rx
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function Voe(e) {
+function Hoe(e) {
return e && e.__esModule ? e.default : e;
}
-function Hoe(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Rv(Voe(Vx), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, b.useRef)(i), o = (0, b.useCallback)(() => {
+function Uoe(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Fv(Hoe(zx), "@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 = Hx(i, a.current), o = Hx(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = Bx(i, a.current), o = Bx(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)) {
@@ -24073,7 +24058,7 @@ function Hoe(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 && Cy(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 && vy(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -24084,7 +24069,7 @@ function Hoe(e, t) {
n,
r
]);
- Xae(() => {
+ eoe(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -24092,7 +24077,7 @@ function Hoe(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function Hx(e, t) {
+function Bx(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);
@@ -24100,13 +24085,13 @@ function Hx(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function Ux(e, t) {
+function Vx(e, t) {
let n = t?.isDisabled, [r, i] = (0, b.useState)(!1);
return t_(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = yy(e.current, { tabbable: !0 });
+ let t = my(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -24125,12 +24110,12 @@ function Ux(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Uoe(e) {
+function Woe(e) {
return e && e.__esModule ? e.default : e;
}
-function Woe(e) {
- let t = Rv(Uoe(Vx), "@react-aria/grid"), n = kie(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return Ay((0, b.useMemo)(() => {
+function Goe(e) {
+ let t = Fv(Woe(zx), "@react-aria/grid"), n = jie(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return Ty((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;
}, [
@@ -24143,11 +24128,11 @@ function Woe(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function Wx(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = Jb({
+function Hx(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = Kb({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, b.useMemo)(() => a || new Qy({
+ }), l = t.disabledBehavior, u = (0, b.useMemo)(() => a || new Jy({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -24164,7 +24149,7 @@ function Wx(e) {
c,
l,
s
- ]), { collectionProps: d } = Rb({
+ ]), { collectionProps: d } = Ib({
...e,
ref: i,
selectionManager: t,
@@ -24174,11 +24159,11 @@ function Wx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function Gx(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 = h_();
- t = G_(t);
+function Ux(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 = g_();
+ t = H_(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && Yy(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && Wy(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -24189,11 +24174,11 @@ function Gx(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 && (Sv(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 && (yv(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, b.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? bv(i.current) : s ? s() : qg() !== i.current && i.current && B_(i.current));
+ r === n.focusedKey && n.isFocused && (o ? _v(i.current) : s ? s() : Kg() !== i.current && i.current && L_(i.current));
}, [
i,
r,
@@ -24206,7 +24191,7 @@ function Gx(e) {
!o && !c ? m = {
tabIndex: r === n.focusedKey ? 0 : -1,
onFocus(e) {
- Jg(e) === i.current && n.setFocusedKey(r);
+ qg(e) === i.current && n.setFocusedKey(r);
}
} : c && (m.onMouseDown = (e) => {
e.preventDefault();
@@ -24221,22 +24206,22 @@ function Gx(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 || qx(e.key)) && p(e);
+ w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!C || Gx(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" && !Kx(e.key)) return;
+ if (e.pointerType === "keyboard" && !Wx(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 || qx(e.key))) && p(e);
+ w.current = e.pointerType, E.current = T, D.current = x, v && (e.pointerType === "mouse" && !x || e.pointerType === "keyboard" && (!y || Gx(e.key))) && p(e);
}, A.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && C && Kx(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 && Wx(e.key) || e.pointerType === "mouse" && D.current) && (C ? k(e) : v && p(e));
});
- let j = Toe(n.collection);
+ let j = Ooe(n.collection);
if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = W(A, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -24251,10 +24236,10 @@ function Gx(e) {
"onPress",
"onPressUp",
"onClick"
- ]) O[e] && (A[e] = V_(A[e], O[e]));
- let { pressProps: M, isPressed: N } = $v(A), P = S ? (e) => {
+ ]) O[e] && (A[e] = R_(A[e], O[e]));
+ let { pressProps: M, isPressed: N } = Xv(A), P = S ? (e) => {
w.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));
- } : void 0, { longPressProps: ee } = Mb({
+ } : void 0, { longPressProps: ee } = Ab({
isDisabled: !T,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -24262,7 +24247,7 @@ function Gx(e) {
}), F = (e) => {
w.current === "touch" && E.current && e.preventDefault();
}, te = d !== "none" && n.isLink(r) ? (e) => {
- g_.isOpening || e.preventDefault();
+ __.isOpening || e.preventDefault();
} : void 0, ne = W(m, v || x || o && !c ? M : {}, T ? ee : {}, {
onDoubleClick: P,
onDragStartCapture: F,
@@ -24275,15 +24260,15 @@ function Gx(e) {
if (e != null) return e !== j;
t = t.parentElement;
}
- return e_(e);
+ return $g(e);
}, ie = ne.onPointerDown;
ne.onPointerDown = (e) => {
- let t = Jg(e);
+ let t = qg(e);
t && t !== i.current && re(t) ? e.stopPropagation() : ie?.(e);
};
let ae = ne.onMouseDown;
return ne.onMouseDown = (e) => {
- let t = Jg(e);
+ let t = qg(e);
t && t !== i.current && re(t) ? e.stopPropagation() : ae?.(e);
}, {
itemProps: ne,
@@ -24295,22 +24280,22 @@ function Gx(e) {
hasAction: C
};
}
-function Kx(e) {
+function Wx(e) {
return e === "Enter";
}
-function qx(e) {
+function Gx(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function Goe(e) {
+function Koe(e) {
return e && e.__esModule ? e.default : e;
}
-function Koe(e, t) {
- let { key: n } = e, r = t.selectionManager, i = G_(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function qoe(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = H_(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": Rv(Goe(Vx), "@react-aria/grid").format("select"),
+ "aria-label": Fv(Koe(zx), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -24318,22 +24303,22 @@ function Koe(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function qoe(e, t, n) {
- let r = Bv(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function Joe(e, t, n) {
+ let r = Lv(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 } = Wx({
+ let { listProps: s } = Hx({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = By({
+ }), { focusWithinProps: c } = Fy({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = G_(e.id);
- Jy.set(t, {
+ }), l = H_(e.id);
+ Uy.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -24343,7 +24328,7 @@ function qoe(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = foe({
+ let { labelProps: u, fieldProps: d } = goe({
...e,
id: l,
labelElementType: "span"
@@ -24359,8 +24344,8 @@ function qoe(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Joe(e) {
- let { heading: t, "aria-label": n } = e, r = G_();
+function Yoe(e) {
+ let { heading: t, "aria-label": n } = e, r = H_();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -24379,8 +24364,8 @@ function Joe(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Yoe(e, t, n) {
- let { key: r } = e, i = Jy.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 = K_(), f = K_(), p = {
+function Xoe(e, t, n) {
+ let { key: r } = e, i = Uy.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 = U_(), f = U_(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -24390,9 +24375,9 @@ function Yoe(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"] = Kb(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Wb(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Soe(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Gx({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Eoe(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Ux({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -24401,18 +24386,18 @@ function Yoe(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 ? R_(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = ax({
+ }), { hoverProps: S } = rx({
isDisabled: a || !c,
onHoverStart() {
- F_() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ M_() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = Bv(m?.props);
+ }), C = Lv(m?.props);
delete C.id;
- let w = __(m?.props);
+ let w = v_(m?.props);
return {
optionProps: {
...p,
@@ -24422,7 +24407,7 @@ function Yoe(e, t, n) {
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && F_(),
+ isFocusVisible: y && t.selectionManager.isFocused && M_(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -24432,13 +24417,13 @@ function Yoe(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var Jx = /* @__PURE__ */ new WeakMap();
+var Kx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function Xoe(e, t, n) {
+function Zoe(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = Bv(e, { labelable: !0 }), { listProps: c } = Wx({
+ let s = Lv(e, { labelable: !0 }), { listProps: c } = Hx({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -24447,7 +24432,7 @@ function Xoe(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return Jx.set(t, {
+ return Kx.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -24464,15 +24449,15 @@ function Xoe(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function Zoe(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 = Jx.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = h_(), N = () => {
+function Qoe(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 = Kx.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = g_(), 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 = K_(), F = K_(), te = K_(), ne = {
+ let ee = U_(), F = U_(), te = U_(), ne = {
id: r,
"aria-disabled": D || void 0,
role: P,
@@ -24489,17 +24474,17 @@ function Zoe(e, t, n) {
};
if (w.selectionMode !== "none" && !T && (ne["aria-checked"] = O), s) {
let e = Number(A?.index);
- ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = Kb(t.collection);
+ ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = Wb(t.collection);
}
let re = (0, b.useRef)(!1), ie = (e) => {
f?.(e), re.current = e;
}, ae = (0, b.useRef)(null), oe = (e) => {
e.pointerType !== "keyboard" && (ae.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (re.current || e.target.click()), u?.(e);
}, se = (e) => {
- m?.(e), N(), _ie(e, M, A.props.href, A?.props.routerOptions);
+ m?.(e), N(), hie(e, M, A.props.href, A?.props.routerOptions);
let t = ae.current?.pointerType === "keyboard" ? ae.current?.key === "Enter" || w.selectionMode === "none" || w.isLink(i) : w.selectionMode !== "multiple" || w.isLink(i);
t = o ?? a ?? t, j && !T && t && j(), ae.current = null;
- }, { itemProps: ce, isFocused: le } = Gx({
+ }, { itemProps: ce, isFocused: le } = Ux({
id: r,
selectionManager: w,
key: i,
@@ -24508,36 +24493,36 @@ function Zoe(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: k.shouldUseVirtualFocus
- }), { pressProps: ue, isPressed: de } = $v({
+ }), { pressProps: ue, isPressed: de } = Xv({
onPressStart: l,
onPress: d,
onPressUp: oe,
onPressChange: ie,
onPressEnd: p,
isDisabled: D
- }), { hoverProps: fe } = ax({
+ }), { hoverProps: fe } = rx({
isDisabled: D,
onHoverStart(e) {
- !F_() && !(E && c) && (w.setFocused(!0), w.setFocusedKey(i)), h?.(e);
+ !M_() && !(E && c) && (w.setFocused(!0), w.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: pe } = tv({
+ }), { keyboardProps: pe } = Q_({
shortcuts: {
" ": (e) => {
ae.current = {
pointerType: "keyboard",
key: " "
- }, Jg(e).click(), L_("keyboard");
+ }, qg(e).click(), P_("keyboard");
},
Enter: (e) => {
ae.current = {
pointerType: "keyboard",
key: "Enter"
};
- let t = Jg(e);
- if (t.tagName !== "A") t.click(), L_("keyboard");
- else return L_("keyboard"), {
+ let t = qg(e);
+ if (t.tagName !== "A") t.click(), P_("keyboard");
+ else return P_("keyboard"), {
shouldPreventDefault: !1,
shouldContinuePropagation: !1
};
@@ -24545,13 +24530,13 @@ function Zoe(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: me } = av({
+ }), { focusableProps: me } = nv({
onBlur: C,
onFocus: x,
onFocusChange: S
- }, n), he = Bv(A?.props);
+ }, n), he = Lv(A?.props);
delete he.id;
- let ge = __(A?.props);
+ let ge = v_(A?.props);
return {
menuItemProps: {
...ne,
@@ -24566,7 +24551,7 @@ function Zoe(e, t, n) {
descriptionProps: { id: F },
keyboardShortcutProps: { id: te },
isFocused: le,
- isFocusVisible: le && w.isFocused && F_() && !E,
+ isFocusVisible: le && w.isFocused && M_() && !E,
isSelected: O,
isPressed: de,
isDisabled: D
@@ -24574,8 +24559,8 @@ function Zoe(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function Qoe(e) {
- let { heading: t, "aria-label": n } = e, r = G_();
+function $oe(e) {
+ let { heading: t, "aria-label": n } = e, r = H_();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -24591,15 +24576,15 @@ function Qoe(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function $oe() {
+function ese() {
return window.ResizeObserver !== void 0;
}
-function Yx(e) {
- let { ref: t, box: n, onResize: r } = e, i = wv(r);
+function qx(e) {
+ let { ref: t, box: n, onResize: r } = e, i = xv(r);
(0, b.useEffect)(() => {
let e = t?.current;
if (e) {
- if ($oe()) {
+ if (ese()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -24615,189 +24600,189 @@ function Yx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var Xx = {};
-Xx = { dismiss: "تجاهل" };
+var Jx = {};
+Jx = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var Zx = {};
-Zx = { dismiss: "Отхвърляне" };
+var Yx = {};
+Yx = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var Qx = {};
-Qx = { dismiss: "Odstranit" };
+var Xx = {};
+Xx = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var $x = {};
-$x = { dismiss: "Luk" };
+var Zx = {};
+Zx = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var eS = {};
-eS = { dismiss: "Schließen" };
+var Qx = {};
+Qx = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var tS = {};
-tS = { dismiss: "Απόρριψη" };
+var $x = {};
+$x = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var nS = {};
-nS = { dismiss: "Dismiss" };
+var eS = {};
+eS = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var rS = {};
-rS = { dismiss: "Descartar" };
+var tS = {};
+tS = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var iS = {};
-iS = { dismiss: "Lõpeta" };
+var nS = {};
+nS = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var aS = {};
-aS = { dismiss: "Hylkää" };
+var rS = {};
+rS = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var oS = {};
-oS = { dismiss: "Rejeter" };
+var iS = {};
+iS = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var sS = {};
-sS = { dismiss: "התעלם" };
+var aS = {};
+aS = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var cS = {};
-cS = { dismiss: "Odbaci" };
+var oS = {};
+oS = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var lS = {};
-lS = { dismiss: "Elutasítás" };
+var sS = {};
+sS = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var uS = {};
-uS = { dismiss: "Ignora" };
+var cS = {};
+cS = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var dS = {};
-dS = { dismiss: "閉じる" };
+var lS = {};
+lS = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var fS = {};
-fS = { dismiss: "무시" };
+var uS = {};
+uS = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var pS = {};
-pS = { dismiss: "Atmesti" };
+var dS = {};
+dS = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var mS = {};
-mS = { dismiss: "Nerādīt" };
+var fS = {};
+fS = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var hS = {};
-hS = { dismiss: "Lukk" };
+var pS = {};
+pS = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var gS = {};
-gS = { dismiss: "Negeren" };
+var mS = {};
+mS = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var _S = {};
-_S = { dismiss: "Zignoruj" };
+var hS = {};
+hS = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var vS = {};
-vS = { dismiss: "Descartar" };
+var gS = {};
+gS = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var yS = {};
-yS = { dismiss: "Dispensar" };
+var _S = {};
+_S = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var bS = {};
-bS = { dismiss: "Revocare" };
+var vS = {};
+vS = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var xS = {};
-xS = { dismiss: "Пропустить" };
+var yS = {};
+yS = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var SS = {};
-SS = { dismiss: "Zrušiť" };
+var bS = {};
+bS = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var CS = {};
-CS = { dismiss: "Opusti" };
+var xS = {};
+xS = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var wS = {};
-wS = { dismiss: "Odbaci" };
+var SS = {};
+SS = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var TS = {};
-TS = { dismiss: "Avvisa" };
+var CS = {};
+CS = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var ES = {};
-ES = { dismiss: "Kapat" };
+var wS = {};
+wS = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var DS = {};
-DS = { dismiss: "Скасувати" };
+var TS = {};
+TS = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var OS = {};
-OS = { dismiss: "取消" };
+var ES = {};
+ES = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var kS = {};
-kS = { dismiss: "關閉" };
+var DS = {};
+DS = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var AS = {};
-AS = {
- "ar-AE": Xx,
- "bg-BG": Zx,
- "cs-CZ": Qx,
- "da-DK": $x,
- "de-DE": eS,
- "el-GR": tS,
- "en-US": nS,
- "es-ES": rS,
- "et-EE": iS,
- "fi-FI": aS,
- "fr-FR": oS,
- "he-IL": sS,
- "hr-HR": cS,
- "hu-HU": lS,
- "it-IT": uS,
- "ja-JP": dS,
- "ko-KR": fS,
- "lt-LT": pS,
- "lv-LV": mS,
- "nb-NO": hS,
- "nl-NL": gS,
- "pl-PL": _S,
- "pt-BR": vS,
- "pt-PT": yS,
- "ro-RO": bS,
- "ru-RU": xS,
- "sk-SK": SS,
- "sl-SI": CS,
- "sr-SP": wS,
- "sv-SE": TS,
- "tr-TR": ES,
- "uk-UA": DS,
- "zh-CN": OS,
- "zh-TW": kS
+var OS = {};
+OS = {
+ "ar-AE": Jx,
+ "bg-BG": Yx,
+ "cs-CZ": Xx,
+ "da-DK": Zx,
+ "de-DE": Qx,
+ "el-GR": $x,
+ "en-US": eS,
+ "es-ES": tS,
+ "et-EE": nS,
+ "fi-FI": rS,
+ "fr-FR": iS,
+ "he-IL": aS,
+ "hr-HR": oS,
+ "hu-HU": sS,
+ "it-IT": cS,
+ "ja-JP": lS,
+ "ko-KR": uS,
+ "lt-LT": dS,
+ "lv-LV": fS,
+ "nb-NO": pS,
+ "nl-NL": mS,
+ "pl-PL": hS,
+ "pt-BR": gS,
+ "pt-PT": _S,
+ "ro-RO": vS,
+ "ru-RU": yS,
+ "sk-SK": bS,
+ "sl-SI": xS,
+ "sr-SP": SS,
+ "sv-SE": CS,
+ "tr-TR": wS,
+ "uk-UA": TS,
+ "zh-CN": ES,
+ "zh-TW": DS
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function ese(e) {
+function tse(e) {
return e && e.__esModule ? e.default : e;
}
-function jS(e) {
- let { onDismiss: t, ...n } = e, r = Ev(n, Rv(ese(AS), "@react-aria/overlays").format("dismiss")), i = () => {
+function kS(e) {
+ let { onDismiss: t, ...n } = e, r = Cv(n, Fv(tse(OS), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ b.createElement(Gy, null, /*#__PURE__*/ b.createElement("button", {
+ return /*#__PURE__*/ b.createElement(By, null, /*#__PURE__*/ b.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -24809,35 +24794,35 @@ function jS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var MS = [];
-function NS(e, t) {
+var AS = [];
+function jS(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 && !MS.includes(t)) return MS.push(t), () => {
- let e = MS.indexOf(t);
- e >= 0 && MS.splice(e, 1);
+ if (i && !AS.includes(t)) return AS.push(t), () => {
+ let e = AS.indexOf(t);
+ e >= 0 && AS.splice(e, 1);
};
}, [i, t]);
let l = () => {
- MS[MS.length - 1] === t && n && n();
+ AS[AS.length - 1] === t && n && n();
}, u = (e) => {
- let n = MS[MS.length - 1];
- c.current = n, (!s || s(Jg(e))) && n === t && e.stopPropagation();
+ let n = AS[AS.length - 1];
+ c.current = n, (!s || s(qg(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(Jg(e))) && (MS[MS.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = tv({ shortcuts: { Escape: () => {
+ (!s || s(qg(e))) && (AS[AS.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = Q_({ shortcuts: { Escape: () => {
if (!o) l();
else return !1;
} } });
- Boe({
+ Voe({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = By({
+ let { focusWithinProps: p } = Fy({
isDisabled: !r,
onBlurWithin: (e) => {
- e.relatedTarget && !Vae(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
+ e.relatedTarget && !Wae(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -24850,51 +24835,51 @@ function NS(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var PS = typeof document < "u" && window.visualViewport, FS = 0, IS;
-function LS(e = {}) {
+var MS = typeof document < "u" && window.visualViewport, NS = 0, PS;
+function FS(e = {}) {
let { isDisabled: t } = e;
t_(() => {
- if (!t) return FS++, FS === 1 && (IS = u_() && d_() ? nse() : tse()), () => {
- FS--, FS === 0 && IS();
+ if (!t) return NS++, NS === 1 && (PS = d_() && f_() ? rse() : nse()), () => {
+ NS--, NS === 0 && PS();
};
}, [t]);
}
-function tse() {
+function nse() {
let e = window.innerWidth - document.documentElement.clientWidth;
- return V_(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Wg(document.documentElement, "scrollbar-gutter", "stable") : Wg(document.documentElement, "padding-right", `${e}px`)), Wg(document.documentElement, "overflow", "hidden"));
+ return R_(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Ug(document.documentElement, "scrollbar-gutter", "stable") : Ug(document.documentElement, "padding-right", `${e}px`)), Ug(document.documentElement, "overflow", "hidden"));
}
-function nse() {
- let e = Wg(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
- let r = Jg(e);
- t = wy(r) ? r : Ty(r, !0), n = !1;
+function rse() {
+ let e = Ug(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+ let r = qg(e);
+ t = yy(r) ? r : by(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 = Kv();
+ }, i = document.createElement("style"), a = Uv();
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 = (e) => {
- let t = Jg(e), n = e.relatedTarget;
- n && Cv(n) ? (n.focus({ preventScroll: !0 }), RS(n, Cv(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ let t = qg(e), n = e.relatedTarget;
+ n && bv(n) ? (n.focus({ preventScroll: !0 }), IS(n, bv(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, c = HTMLElement.prototype.focus;
Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function(e) {
- let t = qg(), n = t != null && Cv(t);
+ let t = Kg(), n = t != null && bv(t);
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && RS(this, n);
+ }), (!e || !e.preventScroll) && IS(this, n);
}
});
- let l = V_(Ug(document, "touchstart", r, {
+ let l = R_(Hg(document, "touchstart", r, {
passive: !1,
capture: !0
- }), Ug(document, "touchmove", o, {
+ }), Hg(document, "touchmove", o, {
passive: !1,
capture: !0
- }), Ug(document, "blur", s, !0));
+ }), Hg(document, "blur", s, !0));
return () => {
e(), l(), i.remove(), Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -24903,18 +24888,18 @@ function nse() {
});
};
}
-function RS(e, t) {
- t || !PS ? zS(e) : PS.addEventListener("resize", () => zS(e), { once: !0 });
+function IS(e, t) {
+ t || !MS ? LS(e) : MS.addEventListener("resize", () => LS(e), { once: !0 });
}
-function zS(e) {
+function LS(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
- let e = Ty(n);
+ let e = by(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;
- PS && (n = Math.min(n, PS.offsetTop + PS.height));
+ MS && (n = Math.min(n, MS.offsetTop + MS.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)),
@@ -24927,14 +24912,14 @@ function zS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function rse(e, t, n) {
- let { overlayProps: r, underlayProps: i } = NS({
+function ise(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = jS({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return LS({ isDisabled: !t.isOpen }), ex(), (0, b.useEffect)(() => {
- if (t.isOpen && n.current) return yoe([n.current], { shouldUseInert: !0 });
+ return FS({ isDisabled: !t.isOpen }), Qb(), (0, b.useEffect)(() => {
+ if (t.isOpen && n.current) return Coe([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
modalProps: W(r),
underlayProps: i
@@ -24942,33 +24927,33 @@ function rse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var BS = {
+var RS = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, VS = {
+}, zS = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, ise = {
+}, ase = {
top: "left",
left: "top"
-}, HS = {
+}, BS = {
top: "height",
left: "width"
-}, US = {
+}, VS = {
width: "totalWidth",
height: "totalHeight"
-}, WS = {}, ase = () => typeof document < "u" ? window.visualViewport : null;
-function GS(e, t) {
+}, HS = {}, ose = () => typeof document < "u" ? window.visualViewport : null;
+function US(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} = ZS(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return d_() && (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} = YS(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return f_() && (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,
@@ -24978,7 +24963,7 @@ function GS(e, t) {
left: s
};
}
-function ose(e) {
+function sse(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -24986,11 +24971,11 @@ function ose(e) {
height: e.scrollHeight
};
}
-function KS(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[HS[e]], l = o[e] + r.scroll[BS[e]] + a, u = o[e] + r.scroll[BS[e]] + c - a, d = t - s + r.scroll[BS[e]] + o[e] - r[BS[e]], f = t - s + n + r.scroll[BS[e]] + o[e] - r[BS[e]];
+function WS(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[BS[e]], l = o[e] + r.scroll[RS[e]] + a, u = o[e] + r.scroll[RS[e]] + c - a, d = t - s + r.scroll[RS[e]] + o[e] - r[RS[e]], f = t - s + n + r.scroll[RS[e]] + o[e] - r[RS[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function sse(e) {
+function cse(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -24999,55 +24984,55 @@ function sse(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function qS(e) {
- if (WS[e]) return WS[e];
- let [t, n] = e.split(" "), r = BS[t] || "right", i = ise[r];
- BS[n] || (n = "center");
- let a = HS[r], o = HS[i];
- return WS[e] = {
+function GS(e) {
+ if (HS[e]) return HS[e];
+ let [t, n] = e.split(" "), r = RS[t] || "right", i = ase[r];
+ RS[n] || (n = "center");
+ let a = BS[r], o = BS[i];
+ return HS[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, WS[e];
+ }, HS[e];
}
-function JS(e, t, n, r, i, a, o, s, c, l, u) {
+function KS(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] = Uy(_[m], v, y), d === p) {
- let t = s ? u[h] : u[US[h]];
- _[VS[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = Ry(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[VS[h]];
+ _[zS[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function cse(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[US.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function lse(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[VS.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 YS(e, t, n, r, i, a, o, s) {
+function qS(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[VS[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[VS[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[zS[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[zS[l]] - i);
}
-function lse(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = qS(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = JS(t, s, n, v, u, d, l, f, m, h, c), T = u, E = YS(s, l, t, i, a + u, v, c, g);
+function use(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = GS(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = KS(t, s, n, v, u, d, l, f, m, h, c), T = u, E = qS(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = qS(`${VS[S]} ${C}`), r = JS(t, s, n, e, u, d, l, f, m, h, c);
- YS(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = GS(`${zS[S]} ${C}`), r = KS(t, s, n, e, u, d, l, f, m, h, c);
+ qS(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 = KS(b, w[b], n[x], s, c, a, l);
+ let O = WS(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = cse(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = JS(t, s, n, v, T, d, l, f, m, h, c), O = KS(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[BS[b]], M = j + .5 * t[x], N = m / 2 + h, P = BS[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;
- A[b] = Uy(Uy(M, t[b] + m / 2 - (w[b] + i[BS[b]]), t[b] + t[x] - m / 2 - (w[b] + i[BS[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 = lse(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = KS(t, s, n, v, T, d, l, f, m, h, c), O = WS(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[RS[b]], M = j + .5 * t[x], N = m / 2 + h, P = RS[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;
+ A[b] = Ry(Ry(M, t[b] + m / 2 - (w[b] + i[RS[b]]), t[b] + t[x] - m / 2 - (w[b] + i[RS[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
@@ -25061,17 +25046,17 @@ function lse(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: te
};
}
-function use(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 = ase(), h = r instanceof HTMLElement ? dse(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? ZS(n, !1, p) : QS(n, h, !1, p);
+function dse(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 ? fse(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? YS(n, !1, p) : XS(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 = ZS(r, !0), x = sse(r);
+ let b = YS(r, !0), x = cse(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = ose(i), C = GS(s, m), w = GS(h, m), T;
+ let S = sse(i), C = US(s, m), w = US(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = XS(h, !1);
+ let e = JS(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -25083,11 +25068,11 @@ function use(e) {
left: 0,
width: 0,
height: 0
- } : QS(s, h, !1);
- let E = Kg(s, h);
- return lse(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : XS(s, h, !1);
+ let E = Gg(s, h);
+ return use(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function XS(e, t) {
+function JS(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,
@@ -25096,8 +25081,8 @@ function XS(e, t) {
height: a
};
}
-function ZS(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || XS(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function YS(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || JS(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -25105,30 +25090,30 @@ function ZS(e, t, n) {
height: o
};
}
-function QS(e, t, n, r) {
+function XS(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || XS(e, n);
+ if (i.position === "fixed") a = r || JS(e, n);
else {
- a = ZS(e, n, r);
- let i = ZS(t, n), o = window.getComputedStyle(t);
+ a = YS(e, n, r);
+ let i = YS(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 dse(e) {
+function fse(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !$S(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !$S(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !ZS(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !ZS(t);) t = t.parentElement;
return t || document.documentElement;
}
-function $S(e) {
+function ZS(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 eC = typeof document < "u" ? window.visualViewport : null;
-function fse(e) {
- let { direction: t } = Mv(), { 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 QS = typeof document < "u" ? window.visualViewport : null;
+function pse(e) {
+ let { direction: t } = kv(), { 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,
@@ -25145,15 +25130,15 @@ function fse(e) {
g,
_,
n
- ], C = (0, b.useRef)(eC?.scale);
+ ], C = (0, b.useRef)(QS?.scale);
(0, b.useEffect)(() => {
- m && (C.current = eC?.scale);
+ m && (C.current = QS?.scale);
}, [m]);
let w = (0, b.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || eC?.scale !== C.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || QS?.scale !== C.current) return;
let e = null;
- if (o.current && Xg(o.current)) {
- let t = qg()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && Yg(o.current)) {
+ let t = Kg()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -25161,8 +25146,8 @@ function fse(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 = use({
- placement: mse(s, t),
+ let y = dse({
+ placement: hse(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -25172,23 +25157,23 @@ function fse(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? XS(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? JS(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 = qg();
+ let b = Kg();
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);
- t_(w, S), pse(w), Yx({
+ t_(w, S), mse(w), qx({
ref: i,
onResize: w
- }), Yx({
+ }), qx({
ref: r,
onResize: w
});
@@ -25201,16 +25186,16 @@ function fse(e) {
}, n = () => {
T.current && t();
};
- eC?.addEventListener("resize", t), eC?.addEventListener("scroll", n);
- let r = Ug(Yg(window), "scroll", n);
+ QS?.addEventListener("resize", t), QS?.addEventListener("scroll", n);
+ let r = Hg(Jg(window), "scroll", n);
return () => {
- eC?.removeEventListener("resize", t), eC?.removeEventListener("scroll", n), r();
+ QS?.removeEventListener("resize", t), QS?.removeEventListener("scroll", n), r();
};
}, [w]);
let E = (0, b.useCallback)(() => {
T.current || h?.();
}, [h, T]);
- return Aoe({
+ return joe({
triggerRef: r,
isOpen: m,
onClose: h && E
@@ -25236,25 +25221,25 @@ function fse(e) {
updatePosition: w
};
}
-function pse(e) {
+function mse(e) {
t_(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function mse(e, t) {
+function hse(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 hse(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 } = NS({
+function gse(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 } = jS({
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 } = fse({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = pse({
...c,
targetRef: n,
overlayRef: r,
@@ -25262,15 +25247,15 @@ function hse(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)
});
- LS({ isDisabled: a || !t.isOpen }), (0, b.useEffect)(() => {
- if (t.isOpen && r.current) return a ? boe(i?.current ?? r.current) : yoe([i?.current ?? r.current], { shouldUseInert: !0 });
+ FS({ isDisabled: a || !t.isOpen }), (0, b.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? woe(i?.current ?? r.current) : Coe([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = By(e);
+ let { focusWithinProps: g } = Fy(e);
return {
popoverProps: W(u, f, g),
arrowProps: p,
@@ -25281,13 +25266,13 @@ function hse(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var tC = /* @__PURE__ */ new WeakMap();
+var $S = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function gse(e, t, n) {
+function _se(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: _ } = $v({
+ }, { pressProps: g, isPressed: _ } = Xv({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -25295,7 +25280,7 @@ function gse(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = $v({
+ }), { pressProps: v, isPressed: y } = Xv({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -25305,11 +25290,11 @@ function gse(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: x } = av(W(e, { onFocus: () => t.setLastFocusedValue(r) }), n), S = W(g, x), C = Bv(e, { labelable: !0 }), w = -1;
+ }), { focusableProps: x } = nv(W(e, { onFocus: () => t.setLastFocusedValue(r) }), n), S = W(g, x), C = Lv(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 } = tC.get(t);
- jy(n, t.defaultSelectedValue, t.setSelectedValue), My({ validationBehavior: k }, t, n);
- let A = Ny();
+ let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = $S.get(t);
+ Ey(n, t.defaultSelectedValue, t.setSelectedValue), Dy({ validationBehavior: k }, t, n);
+ let A = Oy();
return {
labelProps: W(v, (0, b.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -25341,13 +25326,13 @@ function gse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function _se(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Mv(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = zy({
+function vse(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = kv(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = Py({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = Bv(e, { labelable: !0 }), { focusWithinProps: v } = By({
+ }), _ = Lv(e, { labelable: !0 }), { focusWithinProps: v } = Fy({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -25355,13 +25340,13 @@ function _se(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = yy(n.currentTarget, {
- from: Jg(n),
- accept: (e) => e instanceof Vg(e).HTMLInputElement && e.type === "radio"
+ let r = my(n.currentTarget, {
+ from: qg(n),
+ accept: (e) => e instanceof zg(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 } = tv({
+ let { keyboardProps: b } = Q_({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -25369,8 +25354,8 @@ function _se(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = G_(n);
- return tC.set(t, {
+ }), x = H_(n);
+ return $S.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -25399,21 +25384,21 @@ function _se(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var nC = /* @__PURE__ */ new WeakMap();
-function vse(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = Jb({
+var eC = /* @__PURE__ */ new WeakMap();
+function yse(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = Kb({
usage: "search",
sensitivity: "base"
- }), u = (0, b.useMemo)(() => r || new Qy(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, b.useMemo)(() => r || new Jy(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = Pb({
+ ]), { menuTriggerProps: d, menuProps: f } = Mb({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = tv({
+ }, t, n), { keyboardProps: p } = Q_({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -25429,21 +25414,21 @@ function vse(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = Ib({
+ }), { typeSelectProps: m } = Pb({
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 } = zy({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: x, errorMessageProps: S } = Py({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let C = Bv(e, { labelable: !0 }), w = W(m, d, y), T = G_();
- return nC.set(t, {
+ let C = Lv(e, { labelable: !0 }), w = W(m, d, y), T = H_();
+ return eC.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -25453,13 +25438,13 @@ function vse(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), L_("keyboard"));
+ e.isDisabled || (n.current?.focus(), P_("keyboard"));
}
},
triggerProps: W(C, {
...w,
isDisabled: i,
- onKeyDown: V_(w.onKeyDown, p.onKeyDown),
+ onKeyDown: R_(w.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
T,
@@ -25483,7 +25468,7 @@ function vse(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- Kg(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ Gg(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(" ")
},
@@ -25504,18 +25489,18 @@ function vse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function yse(e, t, n) {
- let r = nC.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Wy({ style: {
+function bse(e, t, n) {
+ let r = eC.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = zy({ style: {
position: "fixed",
top: 0,
left: 0
} });
- jy(e.selectRef, t.defaultValue, t.setValue), My({
+ Ey(e.selectRef, t.defaultValue, t.setValue), Dy({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
let d = t.setValue, f = (0, b.useCallback)((e) => {
- let t = Jg(e);
+ let t = qg(e);
t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);
}, [d]);
return {
@@ -25540,8 +25525,8 @@ function yse(e, t, n) {
}
};
}
-function bse(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 } = yse({
+function xse(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 } = bse({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -25565,7 +25550,7 @@ function bse(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = nC.get(t) || {};
+ let { validationBehavior: e } = eC.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -25596,8 +25581,8 @@ function bse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function xse(e) {
- let t = Bv(e, { labelable: !0 }), n;
+function Sse(e) {
+ let t = Lv(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -25606,8 +25591,8 @@ function xse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function Sse(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = loe(e, t, n);
+function Cse(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = poe(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -25621,10 +25606,10 @@ function Sse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var rC = class {
+var tC = 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 Cse(e.layout) : new Zy(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new wse(e.layout) : new qy(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -25660,7 +25645,7 @@ var rC = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of zb(n, this.collection)) {
+ for (let e of Lb(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -25694,13 +25679,13 @@ var rC = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = zb(t, this.collection);
- return (this.direction === "rtl" ? Hb(e)?.key : Bb(e)?.key) ?? null;
+ let e = Lb(t, this.collection);
+ return (this.direction === "rtl" ? Bb(e)?.key : Rb(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = zb(n, this.collection), i = (this.direction === "rtl" ? Vb(r, t.index - 1) : Vb(r, t.index + 1)) ?? null;
+ let r = Lb(n, this.collection), i = (this.direction === "rtl" ? zb(r, t.index - 1) : zb(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;
@@ -25709,13 +25694,13 @@ var rC = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = zb(t, this.collection);
- return (this.direction === "rtl" ? Bb(e)?.key : Hb(e)?.key) ?? null;
+ let e = Lb(t, this.collection);
+ return (this.direction === "rtl" ? Rb(e)?.key : Bb(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = zb(n, this.collection), i = (this.direction === "rtl" ? Vb(r, t.index + 1) : Vb(r, t.index - 1)) ?? null;
+ let r = Lb(n, this.collection), i = (this.direction === "rtl" ? zb(r, t.index + 1) : zb(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;
@@ -25726,13 +25711,13 @@ var rC = 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 ? Bb(zb(e, this.collection))?.key ?? null : null;
+ return e ? Rb(Lb(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 = Bb(zb(e, this.collection))?.key ?? null;
+ n = Rb(Lb(e, this.collection))?.key ?? null;
}
return n;
}
@@ -25742,13 +25727,13 @@ var rC = 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 ? Hb(zb(e, this.collection))?.key ?? null : null;
+ return e ? Bb(Lb(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 = Hb(zb(e, this.collection))?.key ?? null;
+ n = Bb(Lb(e, this.collection))?.key ?? null;
}
return n;
}
@@ -25784,13 +25769,13 @@ var rC = 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" ? Bb(zb(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Rb(Lb(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;
}
-}, Cse = class {
+}, wse = class {
constructor(e) {
this.layout = e;
}
@@ -25803,16 +25788,16 @@ var rC = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, iC = /* @__PURE__ */ new WeakMap();
+}, nC = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function wse(e, t, n) {
+function Tse(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 = Jb({
+ let h = Kb({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Mv(), _ = t.selectionManager.disabledBehavior, v = (0, b.useMemo)(() => a || new rC({
+ }), { direction: g } = kv(), _ = t.selectionManager.disabledBehavior, v = (0, b.useMemo)(() => a || new tC({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -25829,7 +25814,7 @@ function wse(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = Rb({
+ ]), { collectionProps: y } = Ib({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -25837,8 +25822,8 @@ function wse(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), x = G_(e.id);
- iC.set(t, {
+ }), x = H_(e.id);
+ nC.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -25847,44 +25832,44 @@ function wse(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let S = Woe({
+ let S = Goe({
selectionManager: m,
hasItemActions: !!(l || u)
- }), C = Bv(e, { labelable: !0 }), w = (0, b.useCallback)((e) => {
- m.isFocused ? Kg(e.currentTarget, Jg(e)) || m.setFocused(!1) : Kg(e.currentTarget, Jg(e)) && m.setFocused(!0);
+ }), C = Lv(e, { labelable: !0 }), w = (0, b.useCallback)((e) => {
+ m.isFocused ? Gg(e.currentTarget, qg(e)) || m.setFocused(!1) : Gg(e.currentTarget, qg(e)) && m.setFocused(!0);
}, [m]), T = (0, b.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: w
- }), [w, y.onBlur]), E = Ux(n, { isDisabled: t.collection.size !== 0 }), D = W(C, {
+ }), [w, y.onBlur]), E = Vx(n, { isDisabled: t.collection.size !== 0 }), D = W(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), Hoe({ getRowText: c }, t), { gridProps: D };
+ return r && (D["aria-rowcount"] = t.collection.size, D["aria-colcount"] = t.collection.columnCount), Uoe({ getRowText: c }, t), { gridProps: D };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var aC = /* @__PURE__ */ new WeakMap();
-function oC(e) {
+var rC = /* @__PURE__ */ new WeakMap();
+function iC(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function Tse(e, t) {
- let n = aC.get(e);
+function Ese(e, t) {
+ let n = rC.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${oC(t)}`;
+ return `${n}-${iC(t)}`;
}
-function sC(e, t, n) {
- let r = aC.get(e);
+function aC(e, t, n) {
+ let r = rC.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${oC(t)}-${oC(n)}`;
+ return `${r}-${iC(t)}-${iC(n)}`;
}
-function cC(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => sC(e, t, n)).join(" ");
+function oC(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => aC(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var lC = {};
-lC = {
+var sC = {};
+sC = {
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: "طي",
@@ -25899,8 +25884,8 @@ lC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var uC = {};
-uC = {
+var cC = {};
+cC = {
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: "Свиване",
@@ -25915,8 +25900,8 @@ uC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var dC = {};
-dC = {
+var lC = {};
+lC = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -25931,8 +25916,8 @@ dC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var fC = {};
-fC = {
+var uC = {};
+uC = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -25947,8 +25932,8 @@ fC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var pC = {};
-pC = {
+var dC = {};
+dC = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -25963,8 +25948,8 @@ pC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var mC = {};
-mC = {
+var fC = {};
+fC = {
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: "Σύμπτυξη",
@@ -25979,8 +25964,8 @@ mC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var hC = {};
-hC = {
+var pC = {};
+pC = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -25995,8 +25980,8 @@ hC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var gC = {};
-gC = {
+var mC = {};
+mC = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -26011,8 +25996,8 @@ gC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var _C = {};
-_C = {
+var hC = {};
+hC = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -26027,8 +26012,8 @@ _C = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var vC = {};
-vC = {
+var gC = {};
+gC = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -26043,8 +26028,8 @@ vC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var yC = {};
-yC = {
+var _C = {};
+_C = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -26059,8 +26044,8 @@ yC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var bC = {};
-bC = {
+var vC = {};
+vC = {
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: "כווץ",
@@ -26075,8 +26060,8 @@ bC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var xC = {};
-xC = {
+var yC = {};
+yC = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -26091,8 +26076,8 @@ xC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var SC = {};
-SC = {
+var bC = {};
+bC = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -26107,8 +26092,8 @@ SC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var CC = {};
-CC = {
+var xC = {};
+xC = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -26123,8 +26108,8 @@ CC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var wC = {};
-wC = {
+var SC = {};
+SC = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -26139,8 +26124,8 @@ wC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var TC = {};
-TC = {
+var CC = {};
+CC = {
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: "접기",
@@ -26155,8 +26140,8 @@ TC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var EC = {};
-EC = {
+var wC = {};
+wC = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -26171,8 +26156,8 @@ EC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var DC = {};
-DC = {
+var TC = {};
+TC = {
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",
@@ -26187,8 +26172,8 @@ DC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var OC = {};
-OC = {
+var EC = {};
+EC = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -26203,8 +26188,8 @@ OC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var kC = {};
-kC = {
+var DC = {};
+DC = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -26219,8 +26204,8 @@ kC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var AC = {};
-AC = {
+var OC = {};
+OC = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -26235,8 +26220,8 @@ AC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var jC = {};
-jC = {
+var kC = {};
+kC = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -26251,8 +26236,8 @@ jC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var MC = {};
-MC = {
+var AC = {};
+AC = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -26267,8 +26252,8 @@ MC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var NC = {};
-NC = {
+var jC = {};
+jC = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -26283,8 +26268,8 @@ NC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var PC = {};
-PC = {
+var MC = {};
+MC = {
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: "Свернуть",
@@ -26299,8 +26284,8 @@ PC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var FC = {};
-FC = {
+var NC = {};
+NC = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -26315,8 +26300,8 @@ FC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var IC = {};
-IC = {
+var PC = {};
+PC = {
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",
@@ -26331,8 +26316,8 @@ IC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var LC = {};
-LC = {
+var FC = {};
+FC = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -26347,8 +26332,8 @@ LC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var RC = {};
-RC = {
+var IC = {};
+IC = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -26363,8 +26348,8 @@ RC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var zC = {};
-zC = {
+var LC = {};
+LC = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -26379,8 +26364,8 @@ zC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var BC = {};
-BC = {
+var RC = {};
+RC = {
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: "Згорнути",
@@ -26395,8 +26380,8 @@ BC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var VC = {};
-VC = {
+var zC = {};
+zC = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -26411,8 +26396,8 @@ VC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var HC = {};
-HC = {
+var BC = {};
+BC = {
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: "收合",
@@ -26427,46 +26412,46 @@ HC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var UC = {};
-UC = {
- "ar-AE": lC,
- "bg-BG": uC,
- "cs-CZ": dC,
- "da-DK": fC,
- "de-DE": pC,
- "el-GR": mC,
- "en-US": hC,
- "es-ES": gC,
- "et-EE": _C,
- "fi-FI": vC,
- "fr-FR": yC,
- "he-IL": bC,
- "hr-HR": xC,
- "hu-HU": SC,
- "it-IT": CC,
- "ja-JP": wC,
- "ko-KR": TC,
- "lt-LT": EC,
- "lv-LV": DC,
- "nb-NO": OC,
- "nl-NL": kC,
- "pl-PL": AC,
- "pt-BR": jC,
- "pt-PT": MC,
- "ro-RO": NC,
- "ru-RU": PC,
- "sk-SK": FC,
- "sl-SI": IC,
- "sr-SP": LC,
- "sv-SE": RC,
- "tr-TR": zC,
- "uk-UA": BC,
- "zh-CN": VC,
- "zh-TW": HC
+var VC = {};
+VC = {
+ "ar-AE": sC,
+ "bg-BG": cC,
+ "cs-CZ": lC,
+ "da-DK": uC,
+ "de-DE": dC,
+ "el-GR": fC,
+ "en-US": pC,
+ "es-ES": mC,
+ "et-EE": hC,
+ "fi-FI": gC,
+ "fr-FR": _C,
+ "he-IL": vC,
+ "hr-HR": yC,
+ "hu-HU": bC,
+ "it-IT": xC,
+ "ja-JP": SC,
+ "ko-KR": CC,
+ "lt-LT": wC,
+ "lv-LV": TC,
+ "nb-NO": EC,
+ "nl-NL": DC,
+ "pl-PL": OC,
+ "pt-BR": kC,
+ "pt-PT": AC,
+ "ro-RO": jC,
+ "ru-RU": MC,
+ "sk-SK": NC,
+ "sl-SI": PC,
+ "sr-SP": FC,
+ "sv-SE": IC,
+ "tr-TR": LC,
+ "uk-UA": RC,
+ "zh-CN": zC,
+ "zh-TW": BC
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var Ese = class extends rC {
+var Dse = class extends tC {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -26474,7 +26459,7 @@ var Ese = class extends rC {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = Bb(zb(n, this.collection));
+ let e = Rb(Lb(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);
@@ -26495,13 +26480,13 @@ var Ese = class extends rC {
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 zb(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of Lb(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 = [...zb(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...Lb(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -26530,7 +26515,7 @@ var Ese = class extends rC {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of zb(o, this.collection)) {
+ for (let r of Lb(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);
@@ -26544,14 +26529,14 @@ var Ese = class extends rC {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function Dse(e) {
+function Ose(e) {
return e && e.__esModule ? e.default : e;
}
-function Ose(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = Jb({
+function kse(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = Kb({
usage: "search",
sensitivity: "base"
- }), { direction: c } = Mv(), l = t.selectionManager.disabledBehavior, u = (0, b.useMemo)(() => r || new Ese({
+ }), { direction: c } = kv(), l = t.selectionManager.disabledBehavior, u = (0, b.useMemo)(() => r || new Dse({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -26570,43 +26555,43 @@ function Ose(e, t, n) {
s,
a,
o
- ]), d = G_(e.id);
- aC.set(t, d);
- let { gridProps: f } = wse({
+ ]), d = H_(e.id);
+ rC.set(t, d);
+ let { gridProps: f } = Tse({
...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 = Rv(Dse(UC), "@react-aria/table"), g = (0, b.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Fv(Ose(VC), "@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
- ]), _ = Ay(g);
- return Xae(() => {
- g && Cy(g, "assertive", 500);
+ ]), _ = Ty(g);
+ return eoe(() => {
+ g && vy(g, "assertive", 500);
}, [g]), { gridProps: W(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function WC(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Mv(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = iC.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, b.useRef)(null), h = () => {
+function HC(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = kv(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = nC.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, b.useRef)(null), h = () => {
if (n.current) {
- let e = yy(n.current);
+ let e = my(n.current);
if (p === "child") {
- if (Xg(n.current) && n.current !== qg(Bg(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? GC(e) : e.firstChild();
+ if (Yg(n.current) && n.current !== Kg(Rg(n.current))) return;
+ let r = t.selectionManager.childFocusStrategy === "last" ? UC(e) : e.firstChild();
if (r) {
- B_(r);
+ L_(r);
return;
}
}
- (m.current != null && r.key !== m.current || !Xg(n.current)) && B_(n.current);
+ (m.current != null && r.key !== m.current || !Yg(n.current)) && L_(n.current);
}
- }, { itemProps: g, isPressed: _ } = Gx({
+ }, { itemProps: g, isPressed: _ } = Ux({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -26618,44 +26603,44 @@ function WC(e, t, n) {
}), v = W(g, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = qg(Bg(n.current));
- if (!Kg(e.currentTarget, Jg(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = yy(n.current);
+ let i = Kg(Rg(n.current));
+ if (!Gg(e.currentTarget, qg(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = my(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) B_(t), Oy(t, { containingElement: Ty(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) L_(t), Cy(t, { containingElement: by(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" ? (B_(n.current), Oy(n.current, { containingElement: Ty(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : GC(a), t && (B_(t), Oy(t, { containingElement: Ty(n.current) })));
+ p === "cell" && l === "rtl" ? (L_(n.current), Cy(n.current, { containingElement: by(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : UC(a), t && (L_(t), Cy(t, { containingElement: by(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) B_(t), Oy(t, { containingElement: Ty(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) L_(t), Cy(t, { containingElement: by(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" ? (B_(n.current), Oy(n.current, { containingElement: Ty(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? GC(a) : a.firstChild(), t && (B_(t), Oy(t, { containingElement: Ty(n.current) })));
+ p === "cell" && l === "ltr" ? (L_(n.current), Cy(n.current, { containingElement: by(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? UC(a) : a.firstChild(), t && (L_(t), Cy(t, { containingElement: by(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && Kg(n.current, Jg(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && Gg(n.current, qg(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
} : void 0,
onKeyDown: f === "tab" ? (e) => {
- let r = qg(Bg(n.current));
- if (Kg(e.currentTarget, Jg(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
- if (f === "tab" && Jg(e) !== n.current && e.key !== "Tab") e.stopPropagation();
+ let r = Kg(Rg(n.current));
+ if (Gg(e.currentTarget, qg(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
+ if (f === "tab" && qg(e) !== n.current && e.key !== "Tab") e.stopPropagation();
else if (e.key === "Tab" && f === "tab") {
- let t = yy(n.current, { tabbable: !0 });
+ let t = my(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -26664,9 +26649,9 @@ function WC(e, t, n) {
"aria-colindex": r.colIndex == null ? void 0 : r.colIndex + 1,
colSpan: i ? void 0 : r.colSpan,
onFocus: (e) => {
- m.current = r.key, Jg(e) === n.current ? p === "child" && e.relatedTarget && Kg(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && qg(Bg(n.current)) === n.current && h();
- }) : F_() || t.selectionManager.setFocusedKey(r.key);
+ m.current = r.key, qg(e) === n.current ? p === "child" && e.relatedTarget && Gg(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && Kg(Rg(n.current)) === n.current && h();
+ }) : M_() || t.selectionManager.setFocusedKey(r.key);
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
});
@@ -26680,7 +26665,7 @@ function WC(e, t, n) {
isPressed: _
};
}
-function GC(e) {
+function UC(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -26689,33 +26674,33 @@ function GC(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function kse(e, t, n) {
- let { gridCellProps: r, isPressed: i } = WC(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = sC(t, e.node.parentKey, a)), {
+function Ase(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = HC(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = aC(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function Ase(e) {
+function jse(e) {
return e && e.__esModule ? e.default : e;
}
-function jse(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = WC({
+function Mse(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = HC({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = $v({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Xv({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = av({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !p_() && (u = d ? f : "none");
- let p = Rv(Ase(UC), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && p_() && (m = `${m}, ${p.format(f)}`));
- let h = Ay(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = nv({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !m_() && (u = d ? f : "none");
+ let p = Fv(jse(VC), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && m_() && (m = `${m}, ${p.format(f)}`));
+ let h = Ty(m), g = t.collection.size === 0;
return (0, b.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -26726,7 +26711,7 @@ function jse(e, t, n) {
columnHeaderProps: {
...W(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: Tse(t, r.key),
+ id: Ese(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -26735,20 +26720,20 @@ function jse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function Mse(e, t, n) {
+function Nse(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 Nse(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = iC.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Gx({
+function Pse(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = nC.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Ux({
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 ? R_(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -26763,10 +26748,10 @@ function Nse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function Pse(e) {
+function Fse(e) {
return e && e.__esModule ? e.default : e;
}
-var KC = {
+var WC = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -26776,21 +26761,21 @@ var KC = {
rtl: "ArrowRight"
}
};
-function Fse(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Nse(e, t, n), { direction: s } = Mv();
+function Ise(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Pse(e, t, n), { direction: s } = kv();
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 = Rv(Pse(UC), "@react-aria/table"), u = Ev({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Fv(Fse(VC), "@react-aria/table"), u = Cv({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": cC(t, r.key)
+ "aria-labelledby": oC(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = qC(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 = qC(t.collection, a);
+ let n = GC(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 = GC(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === KC.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === KC.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 === WC.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === WC.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,
@@ -26808,45 +26793,45 @@ function Fse(e, t, n) {
};
}
}
- let p = gie(r.props), m = o.hasAction ? p : {};
+ let p = mie(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
...W(a, d, m),
- "aria-labelledby": cC(t, r.key)
+ "aria-labelledby": oC(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function qC(e, t) {
+function GC(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 Ise() {
+function Lse() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function JC() {
- return Ise();
+function KC() {
+ return Lse();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function Lse(e) {
+function Rse(e) {
return e && e.__esModule ? e.default : e;
}
-function Rse(e, t) {
- let { key: n } = e, { checkboxProps: r } = Koe(e, t);
+function zse(e, t) {
+ let { key: n } = e, { checkboxProps: r } = qoe(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${cC(t, n)}`
+ "aria-labelledby": `${r.id} ${oC(t, n)}`
} };
}
-function zse(e) {
+function Bse(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": Rv(Lse(UC), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": Fv(Rse(VC), "@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,
@@ -26855,23 +26840,23 @@ function zse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var YC = /* @__PURE__ */ new WeakMap();
-function XC(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${YC.get(e)}-${n}-${t}`) : "";
+var qC = /* @__PURE__ */ new WeakMap();
+function JC(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${qC.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function Bse(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 } = Gx({
+function Vse(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 } = Ux({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = XC(t, r, "tab"), m = XC(t, r, "tabpanel"), { tabIndex: h } = d, g = Bv(u?.props, { labelable: !0 });
+ }), p = JC(t, r, "tab"), m = JC(t, r, "tabpanel"), { tabIndex: h } = d, g = Lv(u?.props, { labelable: !0 });
delete g.id;
- let _ = __(u?.props), { focusableProps: v } = av({
+ let _ = v_(u?.props), { focusableProps: v } = nv({
...u?.props,
isDisabled: l
}, n);
@@ -26891,7 +26876,7 @@ function Bse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Vse = class {
+var Hse = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -26935,11 +26920,11 @@ var Vse = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Hse(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Mv(), { collectionProps: l } = Rb({
+function Use(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = kv(), { collectionProps: l } = Ib({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, b.useMemo)(() => new Vse(a, c, r, s), [
+ keyboardDelegate: (0, b.useMemo)(() => new Hse(a, c, r, s), [
a,
s,
r,
@@ -26949,9 +26934,9 @@ function Hse(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = G_();
- return YC.set(t, u), { tabListProps: {
- ...W(l, Ev({
+ }), u = H_();
+ return qC.set(t, u), { tabListProps: {
+ ...W(l, Cv({
...e,
id: u
})),
@@ -26962,12 +26947,12 @@ function Hse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Use(e, t, n) {
- let r = Ux(n) ? void 0 : 0, i = XC(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: W(Ev({
+function Wse(e, t, n) {
+ let r = Vx(n) ? void 0 : 0, i = JC(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: W(Cv({
...e,
id: i,
- "aria-labelledby": XC(t, t?.selectedKey, "tab")
+ "aria-labelledby": JC(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -26977,16 +26962,16 @@ function Use(e, t, n) {
}
//#endregion
//#region src/react/components/selection-dock.tsx
-var ZC = "(prefers-reduced-motion: reduce)", Wse = () => matchMedia(ZC).matches, Gse = (e) => {
- let t = matchMedia(ZC);
+var YC = "(prefers-reduced-motion: reduce)", Gse = () => matchMedia(YC).matches, Kse = (e) => {
+ let t = matchMedia(YC);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
};
-function Kse({ children: e, count: t, label: n }) {
- let r = Yte(), i = (0, b.useSyncExternalStore)(Gse, Wse, () => !1), { isFocusVisible: a } = Mie(), o = i || a, s = {
+function qse({ children: e, count: t, label: n }) {
+ let r = Xte(), i = (0, b.useSyncExternalStore)(Kse, Gse, () => !1), { isFocusVisible: a } = Pie(), o = i || a, s = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
- return /* @__PURE__ */ (0, x.jsxs)(Mg.div, {
+ return /* @__PURE__ */ (0, x.jsxs)(Ag.div, {
role: "group",
"aria-label": n,
"data-selection-dock": !0,
@@ -27018,18 +27003,18 @@ function Kse({ children: e, count: t, label: n }) {
}), e]
});
}
-function QC({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, x.jsx)(Qte, { children: e ? /* @__PURE__ */ (0, x.jsx)(Kse, { ...t }, "selection") : null });
+function XC({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, x.jsx)($te, { children: e ? /* @__PURE__ */ (0, x.jsx)(qse, { ...t }, "selection") : null });
}
//#endregion
//#region src/react/batch-dock/batch-dock-api.ts
-var $C = {
+var ZC = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function qse(e, t = !1) {
+function Jse(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -27045,7 +27030,7 @@ function qse(e, t = !1) {
glyph: "trash",
danger: !0
},
- $C
+ ZC
];
case "junk": return [
t ? {
@@ -27066,7 +27051,7 @@ function qse(e, t = !1) {
glyph: "trash",
danger: !0
},
- $C
+ ZC
];
case "follow": return [
{
@@ -27087,7 +27072,7 @@ function qse(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- $C
+ ZC
];
default: return [
{
@@ -27121,48 +27106,48 @@ function qse(e, t = !1) {
glyph: "trash",
danger: !0
},
- $C
+ ZC
];
}
}
//#endregion
//#region src/react/batch-dock/batch-dock-island.tsx
-var ew = null, tw = {
+var QC = null, $C = {
count: 0,
context: "catalog",
junkDismissed: !1
-}, nw = /* @__PURE__ */ new Set();
-function Jse(e) {
- return nw.add(e), () => {
- nw.delete(e);
+}, ew = /* @__PURE__ */ new Set();
+function Yse(e) {
+ return ew.add(e), () => {
+ ew.delete(e);
};
}
-function Yse() {
- for (let e of [...nw]) e();
+function Xse() {
+ for (let e of [...ew]) e();
}
-var Xse = { render(e) {
- tw = e, (0, ht.flushSync)(Yse);
+var Zse = { render(e) {
+ $C = e, (0, pt.flushSync)(Xse);
} };
-function Zse(e) {
- return ew = e, Xse;
+function Qse(e) {
+ return QC = e, Zse;
}
-function Qse() {
- let e = (0, b.useSyncExternalStore)(Jse, () => tw);
- return ew ? /* @__PURE__ */ (0, x.jsx)($se, {
- host: ew,
+function $se() {
+ let e = (0, b.useSyncExternalStore)(Yse, () => $C);
+ return QC ? /* @__PURE__ */ (0, x.jsx)(ece, {
+ host: QC,
props: e
}) : null;
}
-function $se({ host: e, props: t }) {
+function ece({ 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)(QC, {
+ children: /* @__PURE__ */ (0, x.jsx)(XC, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count.toLocaleString()} 项`,
- children: qse(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: Jse(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -27179,12 +27164,12 @@ function $se({ host: e, props: t }) {
}
//#endregion
//#region src/number-setting.ts
-function rw(e, t, n, r) {
+function tw(e, t, n, r) {
return Number.isInteger(e) && e >= t && e <= n ? e : r;
}
//#endregion
//#region src/settings-store.ts
-function ece(e, t) {
+function tce(e, t) {
let n = /* @__PURE__ */ new Set(), r = 0, i = () => {
r += 1, n.forEach((e) => e());
};
@@ -27204,7 +27189,7 @@ function ece(e, t) {
}
//#endregion
//#region src/sort-preferences.ts
-var iw = [
+var nw = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -27213,7 +27198,7 @@ var iw = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], aw = ["release", "发行时间"], ow = [...iw, aw].map(([e]) => e), sw = {
+], rw = ["release", "发行时间"], iw = [...nw, rw].map(([e]) => e), aw = {
rating: ["从高到低", "从低到高"],
o: ["从多到少", "从少到多"],
plays: ["从多到少", "从少到多"],
@@ -27222,28 +27207,28 @@ var iw = [
new: ["从新到旧", "从旧到新"],
played: ["从近到远", "从远到近"],
release: ["从新到旧", "从旧到新"]
-}, cw = {
+}, ow = {
big: ["size", "desc"],
short: ["dur", "asc"],
long: ["dur", "desc"]
-}, lw = (e, t, n = sw) => (n[e] || [])[+(t === "asc")] || "", uw = (e, t = sw) => t[e] ? "desc" : "";
-function dw(e, t, n, r = sw) {
+}, sw = (e, t, n = aw) => (n[e] || [])[+(t === "asc")] || "", cw = (e, t = aw) => t[e] ? "desc" : "";
+function lw(e, t, n, r = aw) {
return e === t ? r[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
sort: e,
- dir: uw(e, r)
+ dir: cw(e, r)
};
}
-function fw(e, t, n) {
+function uw(e, t, n) {
return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";
}
-function pw(e, t, n, r, i = n) {
- let a = e ? cw[e] : void 0, o = a ? a[0] : e, s = o && ow.includes(o) ? o : i;
- return sw[s] ? {
+function dw(e, t, n, r, i = n) {
+ let a = e ? ow[e] : void 0, o = a ? a[0] : e, s = o && iw.includes(o) ? o : i;
+ return aw[s] ? {
sort: s,
- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : fw(s, n, r)
+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : uw(s, n, r)
} : {
sort: s,
dir: ""
@@ -27251,15 +27236,15 @@ function pw(e, t, n, r, i = n) {
}
//#endregion
//#region src/appearance/home-glow.ts
-var mw = [
+var fw = [
"spot1",
"spot2",
"spot3"
-], tce = [
+], nce = [
"光晕一",
"光晕二",
"光晕三"
-], hw = "native", gw = [
+], pw = "native", mw = [
[
"ash",
"灰雾",
@@ -27565,7 +27550,7 @@ var mw = [
"rose"
],
[
- hw,
+ pw,
"玻璃原色",
{
spot1: {
@@ -27583,7 +27568,7 @@ var mw = [
},
"blue"
]
-], _w = (e) => e === hw, vw = [...gw.map(([e, t]) => [e, t]), ["custom", "自定义"]], nce = (e) => (vw.find(([t]) => t === e) || vw[0])[1], yw = (e) => structuredClone((gw.find(([t]) => t === e) || gw[0])[2]), bw = [
+], hw = (e) => e === pw, gw = [...mw.map(([e, t]) => [e, t]), ["custom", "自定义"]], rce = (e) => (gw.find(([t]) => t === e) || gw[0])[1], _w = (e) => structuredClone((mw.find(([t]) => t === e) || mw[0])[2]), vw = [
["red", "红"],
["orange", "橙"],
["amber", "琥珀"],
@@ -27596,7 +27581,7 @@ var mw = [
["violet", "紫罗兰"],
["fuchsia", "品红"],
["rose", "玫红"]
-], xw = "blue", Sw = (e) => bw.some(([t]) => t === e) ? e : xw, rce = (e) => (gw.find(([t]) => t === e) || [])[3] || "blue", ice = [
+], yw = "blue", bw = (e) => vw.some(([t]) => t === e) ? e : yw, ice = (e) => (mw.find(([t]) => t === e) || [])[3] || "blue", ace = [
["all", "全部"],
["gray", "灰"],
["red", "红"],
@@ -27606,7 +27591,7 @@ var mw = [
["blue", "蓝"],
["purple", "紫"],
["brown", "棕"]
-], ace = [
+], oce = [
[
"gray",
"云灰",
@@ -28002,11 +27987,11 @@ var mw = [
"霁蓝",
"#6686b8"
]
-], Cw = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, ww = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, oce = (e, t) => `rgba(${[
+], xw = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Sw = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, sce = (e, t) => `rgba(${[
1,
3,
5
-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, sce = {
+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, cce = {
strength: [
0,
100,
@@ -28032,7 +28017,7 @@ var mw = [
100,
50
]
-}, Tw = {
+}, Cw = {
on: !0,
preset: "ash",
strength: 100,
@@ -28040,62 +28025,62 @@ var mw = [
speed: 100,
soften: 50,
size: 50,
- ...yw("ash")
+ ..._w("ash")
};
-function Ew(e) {
- let t = e && typeof e == "object" ? e : {}, n = vw.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = yw(r === "custom" ? "ash" : r), a = {
+function ww(e) {
+ let t = e && typeof e == "object" ? e : {}, n = gw.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = _w(r === "custom" ? "ash" : r), a = {
on: t.on !== !1,
preset: r
};
- for (let [e, [n, r, i]] of Object.entries(sce)) a[e] = Cw(+t[e], n, r, i);
- for (let e of mw) {
+ for (let [e, [n, r, i]] of Object.entries(cce)) a[e] = xw(+t[e], n, r, i);
+ for (let e of fw) {
let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];
a[e] = {
- color: ww(r.color, o.color),
- alpha: Cw(+r.alpha, 0, 100, o.alpha)
+ color: Sw(r.color, o.color),
+ alpha: xw(+r.alpha, 0, 100, o.alpha)
};
}
return a;
}
-var cce = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Dw = /* @__PURE__ */ new WeakMap();
-function lce(e, t) {
+var lce = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Tw = /* @__PURE__ */ new WeakMap();
+function uce(e, t) {
if (!e) return;
- let n = Dw.get(e);
- n || (n = /* @__PURE__ */ new Map(), Dw.set(e, n));
- let r = t.on && !_w(t.preset), i = (t, r) => {
+ let n = Tw.get(e);
+ n || (n = /* @__PURE__ */ new Map(), Tw.set(e, n));
+ let r = t.on && !hw(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"), mw.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"), fw.forEach((e, n) => {
let r = t[e];
- i(`--glow-spot-${n + 1}-color`, oce(r.color, r.alpha));
+ i(`--glow-spot-${n + 1}-color`, sce(r.color, r.alpha));
});
}
-function uce(e, t) {
+function dce(e, t) {
if (!e) return;
- let n = !t.on || _w(t.preset);
+ let n = !t.on || hw(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 dce = "peach.settings.v1", fce = [
+var fce = "peach.settings.v1", pce = [
"system",
"light",
"dark"
-], Ow = [
+], Ew = [
0,
7,
30,
90
-], kw = [
+], Dw = [
0,
7,
30,
90
-], pce = [
+], mce = [
"feedHideGroupCompilations",
"feedHideSoloCompilations",
"feedHideExcerpts"
-], Aw = {
+], Ow = {
batchSize: 60,
defaultSort: "seed",
sortDefaultsVersion: 3,
@@ -28114,57 +28099,57 @@ var dce = "peach.settings.v1", fce = [
theaterMode: !1,
theme: "system",
groupCollapse: !0,
- sidebarOrder: [...ec],
- homeGlow: Tw,
- accent: xw
-}, jw = (e, t, n) => t.includes(e) ? e : n;
-function mce(e) {
+ sidebarOrder: [...$s],
+ homeGlow: Cw,
+ accent: yw
+}, kw = (e, t, n) => t.includes(e) ? e : n;
+function hce(e) {
let t = e && typeof e == "object" ? e : {}, n = {
- ...Aw,
+ ...Ow,
...t
};
- n.followInitialDays = Ow.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
+ n.followInitialDays = Ew.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 = cw[n.defaultSort];
- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = rw(+n.batchSize, 1, 200, 60), n.defaultSort = jw(n.defaultSort, ow, "seed"), n.hoverDelaySeconds = rw(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = rw(+n.seekSeconds, 1, 300, 10), delete n.loginDays, 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 = rw(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = rw(+n.relatedLimit, 0, 60, 20), n.metadataRefreshDays = jw(+n.metadataRefreshDays, kw, 30), Object.assign(n, Hi(n)), n.theme = jw(n.theme, fce, "system"), n.homeGlow = Ew(n.homeGlow), n.accent = Sw(n.accent), n.sidebarOrder = ic(n.sidebarOrder), {
+ let a = ow[n.defaultSort];
+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = tw(+n.batchSize, 1, 200, 60), n.defaultSort = kw(n.defaultSort, iw, "seed"), n.hoverDelaySeconds = tw(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = tw(+n.seekSeconds, 1, 300, 10), delete n.loginDays, 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 = tw(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = tw(+n.relatedLimit, 0, 60, 20), n.metadataRefreshDays = kw(+n.metadataRefreshDays, Dw, 30), Object.assign(n, Hi(n)), n.theme = kw(n.theme, pce, "system"), n.homeGlow = ww(n.homeGlow), n.accent = bw(n.accent), n.sidebarOrder = see(n.sidebarOrder), {
settings: n,
migrated: r
};
}
-function hce(e) {
+function gce(e) {
let t = {};
try {
t = JSON.parse(e.getItem("peach.settings.v1") || "{}");
} catch {}
- return mce(t);
+ return hce(t);
}
-var Mw = null;
-function Nw() {
- if (Mw) return Mw;
- let { settings: e, migrated: t } = hce(localStorage);
- return Mw = ece(dce, e), t && Mw.save(), Mw;
+var Aw = null;
+function jw() {
+ if (Aw) return Aw;
+ let { settings: e, migrated: t } = gce(localStorage);
+ return Aw = tce(fce, e), t && Aw.save(), Aw;
}
-function Pw(e, t, n = Nw()) {
+function Mw(e, t, n = jw()) {
let r = n.value, i = e && e.followInitialDays;
- Ow.includes(i) && (r.followInitialDays = i, n.save());
+ Ew.includes(i) && (r.followInitialDays = i, n.save());
let a = e && e.metadataRefreshDays;
- kw.includes(a) && a !== r.metadataRefreshDays && (r.metadataRefreshDays = a, n.save());
- for (let t of pce) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
+ Dw.includes(a) && a !== r.metadataRefreshDays && (r.metadataRefreshDays = a, n.save());
+ for (let t of mce) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
let o = e && e.searchHistoryLimit;
- Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = rw(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== Aw.searchHistoryLimit && gce(n);
+ Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = tw(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== Ow.searchHistoryLimit && _ce(n);
let s = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;
s && s.length && s.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = s, n.save());
}
-function gce(e = Nw()) {
- return yt("/api/settings", {
+function _ce(e = jw()) {
+ return _t("/api/settings", {
method: "POST",
body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })
}).catch(() => {});
}
//#endregion
//#region src/appearance/theme.ts
-var _ce = [
+var vce = [
[
"system",
"跟随系统",
@@ -28180,32 +28165,32 @@ var _ce = [
"深色",
"moon"
]
-], vce = null, Fw = () => vce ??= matchMedia("(prefers-color-scheme: dark)"), Iw = null;
-function yce() {
- return Iw || (Iw = document.createElement("style"), Iw.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), Iw.isConnected || document.head.append(Iw), () => {
+], yce = null, Nw = () => yce ??= matchMedia("(prefers-color-scheme: dark)"), Pw = null;
+function bce() {
+ return Pw || (Pw = document.createElement("style"), Pw.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), Pw.isConnected || document.head.append(Pw), () => {
getComputedStyle(document.documentElement).opacity;
let e = () => {
- cancelAnimationFrame(t), clearTimeout(n), Iw?.remove();
+ cancelAnimationFrame(t), clearTimeout(n), Pw?.remove();
}, t = requestAnimationFrame(e), n = setTimeout(e, 100);
};
}
-function Lw(e = Nw().value.theme) {
- let t = yce(), n = document.documentElement;
+function Fw(e = jw().value.theme) {
+ let t = bce(), n = document.documentElement;
e === "system" ? delete n.dataset.theme : n.dataset.theme = e;
- let r = e === "dark" || e === "system" && Fw().matches;
+ let r = e === "dark" || e === "system" && Nw().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 Rw = !1;
-function bce() {
- Rw || (Rw = !0, Fw().addEventListener("change", () => {
- Nw().value.theme === "system" && Lw();
+var Iw = !1;
+function xce() {
+ Iw || (Iw = !0, Nw().addEventListener("change", () => {
+ jw().value.theme === "system" && Fw();
}));
}
//#endregion
//#region src/appearance/layout.ts
-var zw = [[
+var Lw = [[
"big",
"大图",
"maximize"
@@ -28213,7 +28198,7 @@ var zw = [[
"small",
"小图",
"layout-grid"
-]], Bw = [[
+]], Rw = [[
"big",
"大图",
"maximize"
@@ -28221,7 +28206,7 @@ var zw = [[
"small",
"小图",
"layout-grid"
-]], Vw = [[
+]], zw = [[
"fixed",
"固定比例",
"layout-grid"
@@ -28229,121 +28214,121 @@ var zw = [[
"masonry",
"瀑布流",
"columns-2"
-]], Hw = .75, Uw = () => Nw().value, Ww = (e = Uw()) => Vi(e.javLayout), xce = (e = Uw()) => Vi(e.homeLayout), Gw = (e, t = Uw()) => e ? xce(t) : Ww(t), Kw = Bw.map(([e]) => e), qw = Vw.map(([e]) => e), Jw = (e = Uw()) => jw(e.photoSize, Kw, "small"), Yw = (e = Uw()) => jw(e.photoLayout, qw, "masonry"), Xw = null;
-function Sce(e, t = Uw()) {
+]], Bw = .75, Vw = () => jw().value, Hw = (e = Vw()) => Vi(e.javLayout), Sce = (e = Vw()) => Vi(e.homeLayout), Uw = (e, t = Vw()) => e ? Sce(t) : Hw(t), Ww = Rw.map(([e]) => e), Gw = zw.map(([e]) => e), Kw = (e = Vw()) => kw(e.photoSize, Ww, "small"), qw = (e = Vw()) => kw(e.photoLayout, Gw, "masonry"), Jw = null;
+function Cce(e, t = Vw()) {
let n = {
active: e.active,
- size: Gw(e.home, t),
+ size: Uw(e.home, t),
portrait: e.portrait,
javImage: t.javImage
- }, r = Xw;
- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (Xw = n), Xw;
+ }, r = Jw;
+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (Jw = n), Jw;
}
-function Zw(e) {
- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? Hw : 16 / 9;
+function Yw(e) {
+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? Bw : 16 / 9;
}
-function Cce(e, t = Nw()) {
+function wce(e, t = jw()) {
t.value.homeLayout = Vi(e), t.save();
}
-function wce(e, t = Nw()) {
+function Tce(e, t = jw()) {
t.value.javLayout = Vi(e), t.save();
}
-function Tce(e, t = Nw()) {
+function Ece(e, t = jw()) {
t.value.homeLayout = t.value.javLayout = Vi(e), t.save();
}
-function Ece(e, t = Nw()) {
- t.value.photoSize = jw(e, Kw, "small"), t.save();
+function Dce(e, t = jw()) {
+ t.value.photoSize = kw(e, Ww, "small"), t.save();
}
-function Qw(e, t = Nw()) {
- t.value.photoLayout = jw(e, qw, "masonry"), t.save();
+function Xw(e, t = jw()) {
+ t.value.photoLayout = kw(e, Gw, "masonry"), t.save();
}
//#endregion
//#region src/appearance/density.ts
-var $w = "density", Dce = {
+var Zw = "density", Oce = {
big: "336px",
dense: "168px"
-}, eT = () => localStorage.getItem($w) === "dense" ? "dense" : "big";
-function tT(e, t) {
- let [n, r] = Bw;
- e.querySelector("[data-icon-swap]") ? ao(e, t === r[0] ? "b" : "a") : e.innerHTML = io(n[2], r[2], t === r[0] ? "b" : "a"), e.setAttribute("aria-label", t === "big" ? "切换为小图" : "切换为大图");
+}, Qw = () => localStorage.getItem(Zw) === "dense" ? "dense" : "big";
+function $w(e, t) {
+ let [n, r] = Rw;
+ e.querySelector("[data-icon-swap]") ? ro(e, t === r[0] ? "b" : "a") : e.innerHTML = no(n[2], r[2], t === r[0] ? "b" : "a"), e.setAttribute("aria-label", t === "big" ? "切换为小图" : "切换为大图");
}
-var nT = () => document.querySelector("#density");
-function rT(e = eT()) {
- document.documentElement.style.setProperty("--tile", Dce[e]), document.body.dataset.density = e;
- let t = nT();
- t && (t.setAttribute("aria-pressed", String(e === "dense")), t.title = "当前:" + (e === "big" ? "大图" : "密集"), tT(t, e === "big" ? "big" : "small"));
+var eT = () => document.querySelector("#density");
+function tT(e = Qw()) {
+ document.documentElement.style.setProperty("--tile", Oce[e]), document.body.dataset.density = e;
+ let t = eT();
+ t && (t.setAttribute("aria-pressed", String(e === "dense")), t.title = "当前:" + (e === "big" ? "大图" : "密集"), $w(t, e === "big" ? "big" : "small"));
}
-function Oce() {
- let e = eT() === "big" ? "dense" : "big";
- localStorage.setItem($w, e), rT(e);
+function kce() {
+ let e = Qw() === "big" ? "dense" : "big";
+ localStorage.setItem(Zw, e), tT(e);
}
-function kce(e) {
- let t = nT();
- t && (t.setAttribute("aria-pressed", String(e === "small")), t.title = "当前:" + (e === "big" ? "大图" : "小图"), tT(t, e));
+function Ace(e) {
+ let t = eT();
+ t && (t.setAttribute("aria-pressed", String(e === "small")), t.title = "当前:" + (e === "big" ? "大图" : "小图"), $w(t, e));
}
//#endregion
//#region src/appearance/glow.ts
-function iT(e = Nw()) {
- lce(document.querySelector(".glowlayer"), e.value.homeGlow);
+function nT(e = jw()) {
+ uce(document.querySelector(".glowlayer"), e.value.homeGlow);
}
-var aT = 0;
-function oT(e = Nw()) {
- aT ||= requestAnimationFrame(() => {
- aT = 0, iT(e);
+var rT = 0;
+function iT(e = jw()) {
+ rT ||= requestAnimationFrame(() => {
+ rT = 0, nT(e);
});
}
-function sT(e = Nw()) {
- uce(document.documentElement, e.value.homeGlow);
+function aT(e = jw()) {
+ dce(document.documentElement, e.value.homeGlow);
}
-function cT(e = Nw()) {
+function oT(e = jw()) {
document.documentElement.dataset.accent = e.value.accent;
}
-var lT = (e, t, n) => ({
+var sT = (e, t, n) => ({
key: e,
label: t,
- native: _w(e),
- fill: _w(e) ? "" : cce(n)
+ native: hw(e),
+ fill: hw(e) ? "" : lce(n)
});
-function Ace(e) {
- let t = gw.map(([e, t, n]) => lT(e, t, mw.map((e) => n[e].color)));
- return e.preset === "custom" && t.push(lT("custom", "自定义", mw.map((t) => e[t].color))), t;
+function jce(e) {
+ let t = mw.map(([e, t, n]) => sT(e, t, fw.map((e) => n[e].color)));
+ return e.preset === "custom" && t.push(sT("custom", "自定义", fw.map((t) => e[t].color))), t;
}
-var jce = bw;
-function Mce(e, t = Nw()) {
+var Mce = vw;
+function Nce(e, t = jw()) {
if (e === "custom") return;
let n = t.value.homeGlow;
- n.preset = e, Object.assign(n, yw(e)), t.value.accent = rce(e), t.save(), oT(t), sT(t), cT(t);
+ n.preset = e, Object.assign(n, _w(e)), t.value.accent = ice(e), t.save(), iT(t), aT(t), oT(t);
}
-function Nce(e, t = Nw()) {
- t.value.accent = Sw(e), t.save(), cT(t);
+function Pce(e, t = jw()) {
+ t.value.accent = bw(e), t.save(), oT(t);
}
-function Pce(e = Nw()) {
+function Fce(e = jw()) {
let t = e.value.homeGlow;
- t.preset = Tw.preset, Object.assign(t, yw(t.preset)), e.value.accent = xw, e.save(), oT(e), sT(e), cT(e);
+ t.preset = Cw.preset, Object.assign(t, _w(t.preset)), e.value.accent = yw, e.save(), iT(e), aT(e), oT(e);
}
-function uT(e, t) {
- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && _w(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
+function cT(e, t) {
+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && hw(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
}
-function Fce(e, t = Nw()) {
- return uT(e, t.value.homeGlow), t.subscribe(() => uT(e, t.value.homeGlow));
+function Ice(e, t = jw()) {
+ return cT(e, t.value.homeGlow), t.subscribe(() => cT(e, t.value.homeGlow));
}
//#endregion
//#region src/react/components/glow-preset-grid.tsx
-function dT({ store: e, label: t, hidden: n }) {
+function lT({ 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: Ace(r).map((t) => /* @__PURE__ */ (0, x.jsx)("button", {
+ children: jce(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: () => Mce(t.key, e),
+ onClick: () => Nce(t.key, e),
children: /* @__PURE__ */ (0, x.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -28355,14 +28340,14 @@ function dT({ store: e, label: t, hidden: n }) {
}
//#endregion
//#region src/react/glow-picker/glow-picker-island.tsx
-var fT = null;
-function Ice(e) {
- fT = e;
+var uT = null;
+function Lce(e) {
+ uT = e;
}
-function Lce() {
- return fT ? /* @__PURE__ */ (0, x.jsx)(Rce, { host: fT }) : null;
+function Rce() {
+ return uT ? /* @__PURE__ */ (0, x.jsx)(zce, { host: uT }) : null;
}
-function Rce({ host: e }) {
+function zce({ host: e }) {
let { store: t } = e;
(0, b.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -28374,11 +28359,11 @@ function Rce({ host: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-glow-preset-reset": "",
- onClick: () => Pce(t),
+ onClick: () => Fce(t),
children: "重置"
})]
}),
- /* @__PURE__ */ (0, x.jsx)(dT, {
+ /* @__PURE__ */ (0, x.jsx)(lT, {
store: t,
label: "光晕",
hidden: !n.on
@@ -28392,14 +28377,14 @@ function Rce({ host: e }) {
"data-accent-grid": "",
role: "group",
"aria-label": "强调色",
- children: jce.map(([e, n]) => /* @__PURE__ */ (0, x.jsx)("button", {
+ children: Mce.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: () => Nce(e, t),
+ onClick: () => Pce(e, t),
children: /* @__PURE__ */ (0, x.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -28418,32 +28403,32 @@ function Rce({ host: e }) {
}
//#endregion
//#region src/player/host.ts
-var pT = null;
-function zce(e) {
- pT = e;
+var dT = null;
+function Bce(e) {
+ dT = e;
}
-function mT() {
- if (!pT) throw Error("播放器还没有接上宿主(configurePlayer)");
- return pT;
+function fT() {
+ if (!dT) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return dT;
}
//#endregion
//#region src/player/menu.ts
-var hT = null;
-function Bce(e) {
- hT = e;
+var pT = null;
+function Vce(e) {
+ pT = e;
}
-function Vce() {
+function Hce() {
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 gT = null, _T = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function vT() {
+var mT = null, hT = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function gT() {
let e = document.getElementById("playerMenu");
- e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && Ba(e, () => {
+ e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && za(e, () => {
e.innerHTML = "";
- }), gT &&= (gT(), null);
+ }), mT &&= (mT(), null);
}
-async function Hce(e) {
+async function Uce(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -28456,12 +28441,12 @@ async function Hce(e) {
return t.remove(), n;
}
}
-function Uce(e) {
- let t = !!hT?.inMiniplayer(e), n = e.peachItem, r = hT?.kind(e) ?? "item", i = (t) => {
+function Wce(e) {
+ let t = !!pT?.inMiniplayer(e), n = e.peachItem, r = pT?.kind(e) ?? "item", i = (t) => {
let i = new URL(r === "follow" ? `/follow/item/${n?.id}` : `/item/${n?.id}`, location.origin);
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- Hce(i(e)).then((e) => mT().toast(e ? t : "复制失败,请手动复制地址栏", {
+ Uce(i(e)).then((e) => fT().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -28473,11 +28458,11 @@ function Uce(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => hT?.expand()
+ run: () => pT?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => hT?.toMiniplayer()
+ run: () => pT?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -28500,29 +28485,29 @@ function Uce(e) {
run: () => s.click()
}), o;
}
-function Wce(e, t, n) {
- let r = Vce();
- vT();
- let i = mT().stage();
+function Gce(e, t, n) {
+ let r = Hce();
+ gT();
+ let i = fT().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = Uce(e);
+ let a = Wce(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}">${_T(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${R(e.label)}</span>${n ? _T(L("check"), "data-player-menu-check") : ""}</button>`;
- }).join(""), za(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`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${hT(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${R(e.label)}</span>${n ? hT(L("check"), "data-player-menu-check") : ""}</button>`;
+ }).join(""), Ra(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)];
- vT(), n?.run();
+ gT(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || vT();
+ r.contains(e.target) || gT();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), vT();
+ e.preventDefault(), e.stopPropagation(), gT();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -28530,51 +28515,51 @@ function Wce(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- Ha(t, e.el()) && vT();
+ Va(t, e.el()) && gT();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), gT = () => {
+ }, 0), mT = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function Gce(e) {
+function Kce(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Wce(e, t.clientX, t.clientY));
- }), e.on("dispose", vT);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Gce(e, t.clientX, t.clientY));
+ }), e.on("dispose", gT);
}
//#endregion
//#region src/player/registry.ts
-var yT = null, bT = () => yT;
-function xT(e) {
- yT = e;
+var _T = null, vT = () => _T;
+function yT(e) {
+ _T = e;
}
-function ST(e) {
+function bT(e) {
e && !e.isDisposed() && requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
//#endregion
//#region src/player/stats.ts
-function CT(e) {
+function xT(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 Kce(e) {
+function qce(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 wT = 3e3;
-function TT(e, t) {
- let n = Number(e) || 0, r = Vt(t) || 0;
+var ST = 3e3;
+function CT(e, t) {
+ let n = Number(e) || 0, r = zt(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function qce(e) {
+function Jce(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -28589,10 +28574,10 @@ function qce(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = Kce(e), s = e.currentTime || 0;
+ let a = performance.now(), o = qce(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 > wT * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > ST * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -28601,56 +28586,56 @@ function qce(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > wT;) t.shift();
+ }); t.length > 2 && a - t[0].at > ST;) 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 ET = 24;
-function DT(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > ET && e.splice(0, e.length - ET);
+var wT = 24;
+function TT(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > wT && e.splice(0, e.length - wT);
}
-var OT = "peach-player-panel";
-function kT(e, t, n, r) {
- let i = [...Array(Math.max(0, ET - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var ET = "peach-player-panel";
+function DT(e, t, n, r) {
+ let i = [...Array(Math.max(0, wT - 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="${R(r)}">${o}</span>`;
}
-function Jce() {
+function Yce() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${L("chart")}</button>
<div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div>
<div data-player-stats="" id="playerStats" role="status" hidden></div>`;
}
-function AT(e, t = "") {
+function OT(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 jT(e, t = "") {
- let n = AT(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 kT(e, t = "") {
+ let n = OT(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 MT(e, t, n = "", r = null) {
+function AT(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 : jT(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : kT(t, n);
}
-function NT(e) {
+function jT(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 Yce(e, t) {
- return e > 0 ? NT(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : NT(0);
+function Xce(e, t) {
+ return e > 0 ? jT(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : jT(0);
}
//#endregion
//#region src/player/controls.ts
-function PT(e, t, n = "") {
+function MT(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));
@@ -28661,27 +28646,27 @@ function PT(e, t, n = "") {
};
return o(), o;
}
-function FT(e, t) {
+function NT(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
-function Xce(e, t = !0) {
- let n = mT(), r = n.settings();
+function Zce(e, t = !0) {
+ let n = fT(), 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 IT = /* @__PURE__ */ new WeakMap();
-function LT(e) {
+var PT = /* @__PURE__ */ new WeakMap();
+function FT(e) {
if (!e) return;
- let t = mT().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), IT.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = fT().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), PT.get(e)?.(t ? "默认视图" : "影院模式");
}
-function RT(e, t = !0) {
- let n = mT(), r = n.settings();
+function IT(e, t = !0) {
+ let n = fT(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), LT(i?.querySelector("[data-player-theater]")), ST(bT());
+ i?.toggleAttribute("data-theater", r.theaterMode), FT(i?.querySelector("[data-player-theater]")), bT(vT());
}
-function Zce(e) {
- let t = mT().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function Qce(e) {
+ let t = fT().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -28704,9 +28689,9 @@ function Zce(e) {
}, u = (t) => {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));
}, d = (t, n) => {
- i || t !== o || (mT().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
+ i || t !== o || (fT().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
}, f = () => {
- !i && mT().settings().ambientMode && (l(), e.paused || u(++o));
+ !i && fT().settings().ambientMode && (l(), e.paused || u(++o));
}, p = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());
@@ -28715,7 +28700,7 @@ function Zce(e) {
i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();
};
}
-function Qce(e, t, n = 0, r = null) {
+function $ce(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");
@@ -28725,7 +28710,7 @@ function Qce(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]");
- PT(s, "设置");
+ MT(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;
@@ -28765,11 +28750,11 @@ function Qce(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(OT, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(ET, { detail: "settings" }));
}, v = () => _(!1), y = (e) => {
e.detail !== "settings" && v();
};
- document.addEventListener(OT, y);
+ document.addEventListener(ET, 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;
@@ -28784,12 +28769,12 @@ function Qce(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="${mT().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="${fT().settings().ambientMode}">
${L("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${L("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${L("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${L("player-quality")}<span>清晰度</span><b>${R(n.label)}</b>${L("player-menu-next")}</button></div>`, t);
S(i, "[data-player-ambient]").onclick = () => {
- Xce(!mT().settings().ambientMode), w();
+ Zce(!fT().settings().ambientMode), w();
}, S(i, "[data-player-speed]").onclick = () => O(), S(i, "[data-player-quality-view]").onclick = () => A();
}, T = .05, E = [
1,
@@ -28865,22 +28850,22 @@ function Qce(e, t, n = 0, r = null) {
"removequalitylevel",
"change"
], j), e.on("dispose", () => {
- document.removeEventListener("pointerdown", M), document.removeEventListener(OT, y), b && clearTimeout(b);
- }), h(), $ce(e, a), ele(e), (e) => {
+ document.removeEventListener("pointerdown", M), document.removeEventListener(ET, y), b && clearTimeout(b);
+ }), h(), ele(e, a), tle(e), (e) => {
d = e?.length ? e : null, j();
};
}
-function $ce(e, t) {
+function ele(e, t) {
let n = e.getChild("controlBar")?.el();
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = mT().settings().theaterMode, i = document.createElement("div");
+ let r = fT().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${L(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- IT.set(a, PT(a, "影院模式", "T")), LT(a), a.onclick = (e) => {
- e.stopPropagation(), RT(!mT().settings().theaterMode);
+ PT.set(a, MT(a, "影院模式", "T")), FT(a), a.onclick = (e) => {
+ e.stopPropagation(), IT(!fT().settings().theaterMode);
};
}
-function ele(e) {
+function tle(e) {
let t = e.getChild("controlBar")?.el();
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -28892,7 +28877,7 @@ function ele(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 = PT(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 = MT(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 ? "播放" : "暂停");
};
@@ -28903,7 +28888,7 @@ function ele(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 = PT(p, "静音", "M"), g = () => {
+ let h = MT(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 ? "取消静音" : "静音");
};
@@ -28929,9 +28914,9 @@ function ele(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 = PT(x, "显示剩余时间"), T = () => {
- let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = Ut(Math.max(0, n - t));
- C.textContent = `${S ? `-${r}` : Ut(t)} / ${Ut(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${Ut(n)};点击显示已播放时间` : `已播放 ${Ut(t)},总时长 ${Ut(n)};点击显示剩余时间`);
+ let C = x.querySelector(".vjs-peach-time-text"), w = MT(x, "显示剩余时间"), T = () => {
+ let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = Vt(Math.max(0, n - t));
+ C.textContent = `${S ? `-${r}` : Vt(t)} / ${Vt(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${Vt(n)};点击显示已播放时间` : `已播放 ${Vt(t)},总时长 ${Vt(n)};点击显示剩余时间`);
};
x.onclick = (e) => {
e.stopPropagation(), S = !S, T();
@@ -28942,11 +28927,11 @@ function ele(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 = PT(E, "画中画");
+ let D = MT(E, "画中画");
e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));
- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = PT(O, "全屏", "F"), j = () => {
+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = MT(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 ? "退出全屏" : "全屏"), ST(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), bT(e);
};
e.on([
"fullscreenchange",
@@ -28966,7 +28951,7 @@ function ele(e) {
});
let P = document.createElement("div");
P.className = "vjs-peach-expand vjs-control", P.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${L("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(P);
- let ee = P.querySelector("button"), F = PT(ee, "展开控件"), te = (t) => {
+ let ee = P.querySelector("button"), F = MT(ee, "展开控件"), te = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), ee.setAttribute("aria-expanded", String(t)), F(t ? "收起控件" : "展开控件");
};
ee.onclick = (t) => {
@@ -28978,13 +28963,13 @@ function ele(e) {
}, re = new ResizeObserver(ne);
re.observe(e.el()), e.on("dispose", () => re.disconnect()), te(!1), ne();
}
-function tle(e, t, n = {}) {
+function nle(e, t, n = {}) {
let r = e.getChild("controlBar")?.el()?.querySelector(".vjs-progress-control");
if (!r || r.querySelector("[data-player-seek-preview]")) return;
let i = n.thumbnail !== !1, a = document.createElement("div");
a.className = "vjs-peach-seek-preview", a.dataset.playerSeekPreview = "", a.hidden = !0, a.innerHTML = `${i ? "<i class=\"vjs-peach-seek-frame\" hidden><img alt=\"\"></i>" : ""}<span class="mono">0:00</span>`, r.append(a);
let o = a.querySelector(".vjs-peach-seek-frame"), s = a.querySelector("img"), c = a.querySelector("span"), l = null, u = "";
- o && t.id && yt(`/api/timeline?id=${encodeURIComponent(t.id)}`).then((e) => {
+ o && t.id && _t(`/api/timeline?id=${encodeURIComponent(t.id)}`).then((e) => {
e && e.frames > 0 && e.interval > 0 && (l = e);
}).catch(() => {});
let d = (e, n, r, i) => {
@@ -28992,10 +28977,10 @@ function tle(e, t, n = {}) {
f !== u && (u = f, i.src = f), r.hidden = !1, t.width && t.height && (r.style.aspectRatio = `${t.width} / ${t.height}`), i.style.objectFit = "fill", i.style.width = `${a * 100}%`, i.style.height = `${d * 100}%`, i.style.left = `${-(l % a) * 100}%`, i.style.top = `${-Math.floor(l / a) * 100}%`;
}, f = -1, p = (n) => {
if (n.pointerType === "touch") return;
- let i = Vt(e.duration()) || Vt(t.duration);
+ let i = zt(e.duration()) || zt(t.duration);
if (!i) return;
let u = r.getBoundingClientRect(), p = Math.min(1, Math.max(0, (n.clientX - u.left) / u.width)), m = o ? Math.min(240, Math.max(160, u.width * .28)) : 76, h = Math.min(u.width - m / 2, Math.max(m / 2, n.clientX - u.left));
- if (a.style.left = `${h}px`, a.hidden = !1, c.textContent = Ut(i * p), !o || !s) return;
+ if (a.style.left = `${h}px`, a.hidden = !1, c.textContent = Vt(i * p), !o || !s) return;
if (l) {
d(i * p, l, o, s);
return;
@@ -29011,13 +28996,13 @@ function tle(e, t, n = {}) {
r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);
});
}
-function nle(e, t) {
+function rle(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
- let r = () => Vt(e.duration()) || Vt(t.duration) || 0, i = (t) => {
+ let r = () => zt(e.duration()) || zt(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(mT().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(fT().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -29058,12 +29043,12 @@ function nle(e, t) {
} catch {}
});
}
-function rle(e) {
+function ile(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 ile(e, t) {
- yt(`/api/assets/${t}/subtitles`).then((t) => {
+function ale(e, t) {
+ _t(`/api/assets/${t}/subtitles`).then((t) => {
e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
kind: "subtitles",
@@ -29077,7 +29062,7 @@ function ile(e, t) {
}
//#endregion
//#region src/player/dispose.ts
-function zT(e) {
+function LT(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
@@ -29095,34 +29080,34 @@ function zT(e) {
}
//#endregion
//#region src/player/stream.ts
-function BT() {
+function RT() {
return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
}
-function VT(e, t) {
+function zT(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function ale(e) {
+function ole(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function HT(e, t) {
- let n = ale(e);
+async function BT(e, t) {
+ let n = ole(e);
if (n) return n;
try {
- let n = await yt(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
+ let n = await _t(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
if (n?.protocol === "hls" && n.src) return {
src: n.src,
type: n.mime_type || "application/vnd.apple.mpegurl"
};
} catch {}
- return VT(e, t);
+ return zT(e, t);
}
-function UT(e) {
+function VT(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -29131,34 +29116,34 @@ function UT(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var WT = "";
-function GT() {
- return WT;
+var HT = "";
+function UT() {
+ return HT;
}
-function KT() {
- return WT ||= BT(), WT;
+function WT() {
+ return HT ||= RT(), HT;
}
-var ole = (e) => VT(e, KT()), sle = (e) => HT(e, KT());
-function qT() {
- let e = WT;
- e && (WT = "", UT(e));
+var sle = (e) => zT(e, WT()), cle = (e) => BT(e, WT());
+function GT() {
+ let e = HT;
+ e && (HT = "", VT(e));
}
//#endregion
//#region src/player/telemetry.ts
-function JT(e, t, n = {}) {
+function KT(e, t, n = {}) {
if (!t) return;
let r = 0, i = 0, a = 0, o = null;
t.addEventListener("seeking", () => {
a++;
});
let s = (e) => e ? document.querySelector(e) : null, c = () => {
- let r = Vt(e.duration) || Vt(t.duration);
+ let r = zt(e.duration) || zt(t.duration);
if (!r) return;
let i = Math.min(t.currentTime / r, 1), a = s(n.watched), o = s(n.mark), c = s(n.ratio);
a && (a.style.width = `${(i * 100).toFixed(1)}%`), o && (o.style.left = `${(i * 100).toFixed(1)}%`), c && (c.textContent = `${(i * 100).toFixed(0)}%`);
}, l = (n) => {
- let r = Vt(e.duration) || Vt(t.duration);
- (i || n || a) && (yt("/api/activity", {
+ let r = zt(e.duration) || zt(t.duration);
+ (i || n || a) && (_t("/api/activity", {
method: "POST",
body: JSON.stringify({
id: e.id,
@@ -29193,10 +29178,10 @@ function JT(e, t, n = {}) {
u(), l(!1);
}, { once: !0 }), c();
}
-function cle(e, t) {
+function lle(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
- let i = Vt(e.duration) || Vt(t.duration);
- (r || n) && (yt("/api/follow/activity", {
+ let i = zt(e.duration) || zt(t.duration);
+ (r || n) && (_t("/api/follow/activity", {
method: "POST",
body: JSON.stringify({
item: e.id,
@@ -29210,7 +29195,7 @@ function cle(e, t) {
a && clearInterval(a), a = null;
};
t.addEventListener("play", () => {
- i || (i = !0, yt("/api/follow/play", {
+ i || (i = !0, _t("/api/follow/play", {
method: "POST",
body: JSON.stringify({ item: e.id })
}).then((t) => {
@@ -29229,7 +29214,7 @@ function cle(e, t) {
}
//#endregion
//#region src/player/videojs.ts
-var YT = "/vendor/videojs/8.24.1/", lle = `${YT}video-js.min.css`, XT = (e) => new Promise((t, n) => {
+var qT = "/vendor/videojs/8.24.1/", ule = `${qT}video-js.min.css`, JT = (e) => new Promise((t, n) => {
let r = document.head.querySelector(`script[src="${e}"]`);
if (r?.dataset.loaded) {
t();
@@ -29241,7 +29226,7 @@ var YT = "/vendor/videojs/8.24.1/", lle = `${YT}video-js.min.css`, XT = (e) => n
}, { once: !0 }), i.addEventListener("error", () => {
i.remove(), n(/* @__PURE__ */ Error(`script unavailable: ${e}`));
}, { once: !0 }), r || (i.src = e, document.head.appendChild(i));
-}), ule = (e) => new Promise((t) => {
+}), dle = (e) => new Promise((t) => {
let n = document.head.querySelector(`link[rel="stylesheet"][href="${e}"]`);
if (n?.sheet) {
t();
@@ -29251,20 +29236,20 @@ var YT = "/vendor/videojs/8.24.1/", lle = `${YT}video-js.min.css`, XT = (e) => n
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\"]")));
-}), ZT = () => globalThis.videojs, QT = null;
-function $T() {
- let e = ZT();
- return e ? Promise.resolve(e) : (QT ??= Promise.all([ule(lle), XT(`${YT}video.min.js`).then(() => XT(`${YT}lang/zh-CN.js`))]).then(() => {
- let e = ZT();
+}), YT = () => globalThis.videojs, XT = null;
+function ZT() {
+ let e = YT();
+ return e ? Promise.resolve(e) : (XT ??= Promise.all([dle(ule), JT(`${qT}video.min.js`).then(() => JT(`${qT}lang/zh-CN.js`))]).then(() => {
+ let e = YT();
if (!e) throw Error("videojs unavailable");
return e;
}).catch((e) => {
- throw QT = null, e;
- }), QT);
+ throw XT = null, e;
+ }), XT);
}
//#endregion
//#region src/player/immerse-player.ts
-var dle = {
+var fle = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -29276,37 +29261,37 @@ var dle = {
errorDisplay: !1,
textTrackSettings: !1
};
-function fle(e, t) {
+function ple(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([HT(n, r), $T().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([BT(n, r), ZT().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = VT(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = zT(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, dle);
+ let t = s(e, fle);
i = t, l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- JT(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ KT(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, UT(r), i ? zT(i) : (e.pause(), e.removeAttribute("src"), e.load()));
+ a || (a = !0, VT(r), i ? LT(i) : (e.pause(), e.removeAttribute("src"), e.load()));
};
}
//#endregion
//#region src/player/detail-player.ts
-var eE = /* @__PURE__ */ new WeakMap(), tE = null, nE = null, rE = null;
-function iE() {
- tE &&= (clearInterval(tE), null), nE &&= (clearInterval(nE), null), rE &&= (clearTimeout(rE), null);
+var QT = /* @__PURE__ */ new WeakMap(), $T = null, eE = null, tE = null;
+function nE() {
+ $T &&= (clearInterval($T), null), eE &&= (clearInterval(eE), null), tE &&= (clearTimeout(tE), null);
}
-async function ple(e, t, n, r = {}) {
- let i = bT();
+async function mle(e, t, n, r = {}) {
+ let i = vT();
if (i && !i.isDisposed()) return i;
- let a = mT(), o = r.resume ?? null;
+ let a = fT(), o = r.resume ?? null;
o?.autoplay && (n = !0);
- let s = () => r.source ? Promise.resolve(r.source) : sle(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : cle(e), c;
try {
- c = await $T();
+ c = await ZT();
} catch {
return t.controls = !0, s().then((e) => {
t.src = e.src, n && t.play().catch(() => {});
@@ -29330,15 +29315,15 @@ async function ple(e, t, n, r = {}) {
} }
}
});
- xT(l), l.peachItem = e, Gce(l), l.on("loadedmetadata", () => {
+ yT(l), l.peachItem = e, Kce(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}`);
});
- let u = Vt(e.duration), d = {
+ let u = zt(e.duration), d = {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = qce(TT(f, e.duration)), m = 0, h = !1, g = () => bT() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = Jce(CT(f, e.duration)), m = 0, h = !1, g = () => vT() === 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(() => {
@@ -29349,23 +29334,23 @@ async function ple(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- eE.set(l, y), y.updateStats = () => {
+ QT.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 = GT(), h = s ? AT(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 = UT(), h = s ? OT(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 = MT(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 = AT(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 = CT(t);
- DT(d.speed, x), DT(d.activity, C), DT(d.buffer, w);
+ let w = xT(t);
+ TT(d.speed, x), TT(d.activity, C), TT(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 ? [
"网络活动",
- `${_ ? Wt(_) : "—"} · ${h.length} 请求`,
- `最近一秒网络活动 ${C ? Wt(C) : "0 B"}`
+ `${_ ? Ht(_) : "—"} · ${h.length} 请求`,
+ `最近一秒网络活动 ${C ? Ht(C) : "0 B"}`
] : [
"已下载",
- O ? `${Wt(S)}${f > 0 ? ` / ${Wt(f)}` : ""}` : `${S.toFixed(0)} 秒`,
- O ? `最近一秒下载 ${C ? Wt(C) : "0 B"}` : `最近一秒下载 ${C.toFixed(1)} 秒`
+ O ? `${Ht(S)}${f > 0 ? ` / ${Ht(f)}` : ""}` : `${S.toFixed(0)} 秒`,
+ O ? `最近一秒下载 ${C ? Ht(C) : "0 B"}` : `最近一秒下载 ${C.toFixed(1)} 秒`
];
n.innerHTML = `<dl>${[
["视频 ID / 会话", c && !r.source ? `${e.id} / ${c.slice(0, 8)}` : `${e.id}`],
@@ -29375,19 +29360,19 @@ async function ple(e, t, n, r = {}) {
[
"连接速度",
D,
- kT(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ DT(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- kT(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ DT(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- kT(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ DT(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
- ["播放时间", `${Ut(t.currentTime)} / ${Ut(u || l.duration())}`],
+ ["播放时间", `${Vt(t.currentTime)} / ${Vt(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
].map(([e, t, n]) => `<dt>${R(e)}</dt><dd${n ? " data-player-stats-metric=\"\"" : ""}>${n || ""}<span>${R(t)}</span></dd>`).join("")}</dl>`;
}, l.on([
@@ -29401,15 +29386,15 @@ async function ple(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = MT(l, e.id, GT(), r ? null : p), a = r ? NT(i) : Yce(i, CT(t));
+ let i = AT(l, e.id, UT(), r ? null : p), a = r ? jT(i) : Xce(i, xT(t));
n.innerHTML = `${L("gauge")}<span class="sr-only">加载速度</span><span>${R(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
- e && e.isConnected && (e.hidden = !1, S(), nE && clearInterval(nE), nE = setInterval(S, 500));
+ e && e.isConnected && (e.hidden = !1, S(), eE && clearInterval(eE), eE = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (rE && clearTimeout(rE), rE = setTimeout(() => {
- e.hidden = !0, nE &&= (clearInterval(nE), null);
+ e && (tE && clearTimeout(tE), tE = setTimeout(() => {
+ e.hidden = !0, eE &&= (clearInterval(eE), null);
}, 1400));
};
return l.on([
@@ -29420,7 +29405,7 @@ async function ple(e, t, n, r = {}) {
], C), l.on(["canplay", "playing"], () => {
S(), w();
}), l.on("error", () => {
- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(ole(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(sle(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))}`
@@ -29428,27 +29413,27 @@ async function ple(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = Qce(l, t, e.height, r.qualities ?? null);
+ let n = $ce(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 = TT(r, e.duration));
- }).catch(() => {}), tle(l, e, { thumbnail: !r.source }), nle(l, e), rle(l), r.source || ile(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = CT(r, e.duration));
+ }).catch(() => {}), nle(l, e, { thumbnail: !r.source }), rle(l, e), ile(l), r.source || ale(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), o && o.time > 0 && l.one("loadedmetadata", () => {
l.isDisposed() || l.currentTime(o.time);
}), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var mle = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function aE(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", mle), e.querySelector(":scope > #playerStatsBtn")) return;
+var hle = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function rE(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", hle), e.querySelector(":scope > #playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = Jce(), e.insertBefore(n.content, t);
+ n.innerHTML = Yce(), e.insertBefore(n.content, t);
}
-function oE(e, t) {
- let n = eE.get(e);
+function iE(e, t) {
+ let n = QT.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`:scope > #${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -29460,25 +29445,25 @@ function oE(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), tE &&= (clearInterval(tE), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), $T &&= (clearInterval($T), null));
};
a.onclick = () => {
- o.hidden ? (document.dispatchEvent(new CustomEvent(OT, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), tE && clearInterval(tE), tE = setInterval(n.updateStats, 1e3)) : e();
+ o.hidden ? (document.dispatchEvent(new CustomEvent(ET, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), $T && clearInterval($T), $T = setInterval(n.updateStats, 1e3)) : e();
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(OT, t), s = () => document.removeEventListener(OT, t);
+ document.addEventListener(ET, t), s = () => document.removeEventListener(ET, t);
}
- let c = e.el().querySelector("video"), l = c ? Zce(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, iE()));
+ let c = e.el().querySelector("video"), l = c ? Qce(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, nE()));
};
return e.one("dispose", d), d;
}
-function sE(e, t) {
- if (t.kind === "immerse") return fle(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = mT(), c = t.chrome === !1 ? null : e.parentElement;
- c && aE(c, e);
+function aE(e, t) {
+ if (t.kind === "immerse") return ple(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = fT(), c = t.chrome === !1 ? null : e.parentElement;
+ c && rE(c, e);
let l = { resume: t.resume ?? null };
if (n === "follow") l = {
...l,
@@ -29489,80 +29474,80 @@ function sE(e, t) {
checkSourceStatus: !1,
size: i?.size,
poster: r.thumb_url,
- mediaPromise: yt(`/follow-qualities?id=${encodeURIComponent(r.id)}`).catch(() => null)
+ mediaPromise: _t(`/follow-qualities?id=${encodeURIComponent(r.id)}`).catch(() => null)
};
else {
let t = pa(r, s.settings().javImage);
t && (e.poster = t), e.addEventListener("play", () => {
- yt("/api/play", {
+ _t("/api/play", {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), JT(r, e, {
+ }, { once: !0 }), KT(r, e, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
});
}
let u = null, d = !1, f = () => {}, p = () => {
- f(), u && !a?.(u) && (bT() === u && (xT(null), iE()), zT(u));
+ f(), u && !a?.(u) && (vT() === u && (yT(null), nE()), LT(u));
};
- return ple(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {
- u = t, d ? p() : t ? (c && (f = oE(t, c)), n === "follow" && cle(r, e), o?.(t)) : o?.(null);
+ return mle(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {
+ u = t, d ? p() : t ? (c && (f = iE(t, c)), n === "follow" && lle(r, e), o?.(t)) : o?.(null);
}), () => {
d = !0, p();
};
}
//#endregion
//#region src/player/playback.ts
-function cE(e) {
+function oE(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function lE(e, t) {
+function sE(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);
}
-function uE(e, t) {
+function cE(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var hle = (e, t) => [
+var gle = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], gle = (e, t) => [
+], _le = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function _le(e, t, n, r, i) {
+async function vle(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 B(`/api/items?${a}`, i), s = {
+ let o = await tn(`/api/items?${a}`, i), s = {
...o,
items: o.items || [],
offset: t
};
- return !t && !s.items.length && !r && (s.libraryEmpty = (await B("/api/items?limit=1&thumb=0", i)).total === 0), s;
+ return !t && !s.items.length && !r && (s.libraryEmpty = (await tn("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var vle = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, yle = (e, t) => {
+var yle = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, ble = (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 dE(e) {
- let t = uE(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function lE(e) {
+ let t = cE(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: hle(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => _le(t, e, n, r, i),
+ queryKey: gle(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => vle(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: vle(n)
+ getNextPageParam: yle(n)
};
}
-function ble(e) {
+function xle(e) {
return {
- queryKey: gle(e.entityKey || "", e.revision || 0),
+ queryKey: _le(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -29577,13 +29562,13 @@ function ble(e) {
};
},
initialPageParam: 0,
- getNextPageParam: yle
+ getNextPageParam: ble
};
}
-async function xle(e, t) {
+async function Sle(e, t) {
if (e.mode !== "catalog") return;
- let n = dE(e);
- await H.fetchInfiniteQuery({
+ let n = lE(e);
+ await V.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
pageParam: e,
@@ -29591,7 +29576,7 @@ async function xle(e, t) {
})
});
}
-function Sle(e, t, n) {
+function Cle(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -29606,24 +29591,24 @@ function Sle(e, t, n) {
return !0;
}) : [...e];
}
-var fE = (e, t) => !!e && !!Wi(e, t);
-function Cle(e, t) {
- let n = (e) => fE(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) => fE(e, t)) || e[e.length - 1];
+var uE = (e, t) => !!e && !!Wi(e, t);
+function wle(e, t) {
+ let n = (e) => uE(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) => uE(e, t)) || e[e.length - 1];
}
-function wle(e, { collapse: t, mix: n, javImage: r }) {
+function Tle(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 = Sle(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = Cle(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 = Cle(e, r);
+ let t = wle(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -29636,16 +29621,16 @@ function wle(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function Tle(e, t, n) {
+function Ele(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 Ele(e, t) {
+function Dle(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 Dle(e, t) {
+function Ole(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -29658,11 +29643,11 @@ function Dle(e, t) {
strip: null
}), r;
}
-function pE(e, t) {
- mE((t) => t.id === e, t);
+function dE(e, t) {
+ fE((t) => t.id === e, t);
}
-function mE(e, t) {
- H.setQueriesData({
+function fE(e, t) {
+ V.setQueriesData({
queryKey: ["catalog-grid"],
predicate: (e) => Array.isArray(e.state.data?.pages)
}, (n) => !n || !n.pages.some((t) => t.items.some(e)) ? n : {
@@ -29678,32 +29663,32 @@ function mE(e, t) {
}
//#endregion
//#region src/react/item-detail/item-detail.ts
-var hE = (e) => ["item", e], gE = (e) => [
+var pE = (e) => ["item", e], mE = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], Ole = (e, t) => [
+], kle = (e, t) => [
"item-related",
e,
t
-], kle = (e) => `/api/item?id=${e}`, Ale = (e, t) => `/api/related?id=${e}&limit=${t}`, _E = "/api/playlist", vE = "/api/feedback", yE = "/api/item-tag", bE = "/api/watch-later", xE = "/api/quality-goal", SE = "/api/preference", CE = class extends Error {};
-async function wE(e, t) {
- let n = await B(kle(e), t);
- if (n.error) throw new CE(n.error);
+], Ale = (e) => `/api/item?id=${e}`, jle = (e, t) => `/api/related?id=${e}&limit=${t}`, hE = "/api/playlist", gE = "/api/feedback", _E = "/api/item-tag", vE = "/api/watch-later", yE = "/api/quality-goal", bE = "/api/preference", xE = class extends Error {};
+async function SE(e, t) {
+ let n = await tn(Ale(e), t);
+ if (n.error) throw new xE(n.error);
return n;
}
-async function TE(e, t, n) {
+async function CE(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([wE(r, n), t.mixRelated(r)]);
- return H.setQueryData(hE(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([SE(r, n), t.mixRelated(r)]);
+ return V.setQueryData(pE(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${ga(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return EE(await B(`${_E}?id=${e.playlistId}`, n));
- let r = await B(`/api/${e.kind}?id=${e.seedId}`, n);
+ if (e.kind === "playlist") return wE(await tn(`${hE}?id=${e.playlistId}`, n));
+ let r = await tn(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
kind: e.kind,
@@ -29713,19 +29698,19 @@ async function TE(e, t, n) {
versionCount: e.kind === "editions" ? r.count : void 0
};
}
-var EE = (e) => ({
+var wE = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), DE = (e) => e.disposal === "vanished";
-function OE(e, t) {
+}), TE = (e) => e.disposal === "vanished";
+function Mle(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !DE(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !TE(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 jle(e, t) {
+function Nle(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 : {
@@ -29733,20 +29718,20 @@ function jle(e, t) {
part_label: n
};
}
-function Mle(e, t) {
+function Ple(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 kE(e, t) {
+async function Fle(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = gE(n);
+ let o = mE(n);
try {
- let r = n.fresh ? void 0 : H.getQueryData(o);
- a = !r && n.kind === "mix", i = r || await H.fetchQuery({
+ let r = n.fresh ? void 0 : V.getQueryData(o);
+ a = !r && n.kind === "mix", i = r || await V.fetchQuery({
queryKey: o,
- queryFn: () => TE(n, e.helpers, t),
+ queryFn: () => CE(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -29758,20 +29743,20 @@ async function kE(e, t) {
return;
}
}
- let o = i ? OE(i, e.id) : e.id;
+ let o = i ? Mle(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 ? H.getQueryData(hE(o)) : void 0;
+ let s, c = a && o === i?.seedId ? V.getQueryData(pE(o)) : void 0;
try {
- s = c || await H.fetchQuery({
- queryKey: hE(o),
- queryFn: () => wE(o, t),
+ s = c || await V.fetchQuery({
+ queryKey: pE(o),
+ queryFn: () => SE(o, t),
staleTime: 0
});
} catch (e) {
- if (e instanceof CE) {
+ if (e instanceof xE) {
r.redirect({ kind: "gone" });
return;
}
@@ -29782,9 +29767,9 @@ async function kE(e, t) {
id: Number(s.follow_item_id)
});
}
-function Nle(e) {
+function Ile(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
- let t = Lt(e.name);
+ let t = Ft(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
}, i = (t.performer?.length ? t.performer : (e.performers || []).map((e) => ({
id: null,
@@ -29804,119 +29789,119 @@ function Nle(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-var AE = (e) => Math.min(Math.max(e || 0, 0), 100), jE = (e) => Math.round(AE(e) / 20), Ple = (e) => {
- let t = jE(e);
+var Lle = (e) => Math.min(Math.max(e || 0, 0), 100), EE = (e) => Math.round(Lle(e) / 20), Rle = (e) => {
+ let t = EE(e);
return t ? `${t} 星` : "未评分";
-}, Fle = (e, t) => {
+}, zle = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function Ile(e, t) {
+function Ble(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
- let r = Lt(t.tagLabel(e.k)), i = n.get(r);
- (!i || Lt(e.k) === r && Lt(i.k) !== r) && n.set(r, e);
+ let r = Ft(t.tagLabel(e.k)), i = n.get(r);
+ (!i || Ft(e.k) === r && Ft(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var ME = (e, t) => (e.tags || []).some((e) => Lt(e.k) === Lt(t)), NE = (e, t) => ({
+var DE = (e, t) => (e.tags || []).some((e) => Ft(e.k) === Ft(t)), Vle = (e, t) => ({
...e,
- tags: (e.tags || []).filter((e) => Lt(e.k) !== Lt(t))
-}), PE = (e, t) => ME(e, t.k) ? e : {
+ tags: (e.tags || []).filter((e) => Ft(e.k) !== Ft(t))
+}), Hle = (e, t) => DE(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, Lle = "peach.recentTags";
-function Rle() {
+}, Ule = "peach.recentTags";
+function Wle() {
try {
- let e = JSON.parse(localStorage.getItem(Lle) || "[]");
+ let e = JSON.parse(localStorage.getItem(Ule) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function zle(e) {
+function Gle(e) {
try {
- let t = Rle().filter((t) => Lt(t) !== Lt(e));
- localStorage.setItem(Lle, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = Wle().filter((t) => Ft(t) !== Ft(e));
+ localStorage.setItem(Ule, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function Ble(e, t, n) {
- let r = Lt(e), i = new Map(t.map((e) => [Lt(e.k), e])), a = t.filter((e) => !r || Lt(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Lt(e)) || {
+function Kle(e, t, n) {
+ let r = Ft(e), i = new Map(t.map((e) => [Ft(e.k), e])), a = t.filter((e) => !r || Ft(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Ft(e)) || {
k: e,
n: 0
- }).filter((e, t, n) => n.findIndex((t) => Lt(t.k) === Lt(e.k)) === t).slice(0, 12), s = a.some((e) => Lt(e.k) === r);
+ }).filter((e, t, n) => n.findIndex((t) => Ft(t.k) === Ft(e.k)) === t).slice(0, 12), s = a.some((e) => Ft(e.k) === r);
return {
recent: o,
results: a,
create: r && !s ? e.trim() : ""
};
}
-var Vle = {
+var qle = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, Hle = {
+}, Jle = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function Ule(e) {
+function Yle(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: Hle[e.kind],
+ title: Jle[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var Wle = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Gle = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${R(Wle(e.part_label))}</small>` : "";
-function Kle(e, t, n, r) {
+var Xle = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Zle = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${R(Xle(e.part_label))}</small>` : "";
+function Qle(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var qle = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function Jle(e, t) {
+var $le = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function eue(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function Yle(e) {
+function tue(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 Xle(e, t) {
+function nue(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 Zle = (e, t, n) => [
+var rue = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function Qle(e) {
+function iue(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 $le = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
-function eue(e, t = Math.random) {
+var aue = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
+function oue(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 tue(e, t) {
- return eue(((await B(`/api/items?${e}`)).items || []).filter((e) => $le(e, t)));
+async function sue(e, t) {
+ return oue(((await tn(`/api/items?${e}`)).items || []).filter((e) => aue(e, t)));
}
-var nue = (e) => H.ensureQueryData({
- queryKey: hE(e),
- queryFn: ({ signal: t }) => wE(e, t)
+var cue = (e) => V.ensureQueryData({
+ queryKey: pE(e),
+ queryFn: ({ signal: t }) => SE(e, t)
});
-function rue(e, t) {
+function lue(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function iue(e) {
+function uue(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,
@@ -29925,306 +29910,306 @@ function iue(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function aue(e, t, n) {
+function due(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 oue(e, t) {
+function fue(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 sue = 15e3, cue = {
+var pue = 15e3, mue = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, FE = null, IE = null, LE = cue, RE = /* @__PURE__ */ new Set(), zE = 0, lue = 0, BE = 0, uue = "", VE = [], HE = 0, UE = !1, WE = !1, GE = null, KE = /* @__PURE__ */ new Set(), qE = "", JE = null, YE = 0, XE = null, ZE = !1;
-function QE() {
- if (!FE) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
- return FE;
+}, OE = null, kE = null, AE = mue, jE = /* @__PURE__ */ new Set(), ME = 0, hue = 0, NE = 0, gue = "", PE = [], FE = 0, IE = !1, LE = !1, RE = null, zE = /* @__PURE__ */ new Set(), BE = "", VE = null, HE = 0, UE = null, WE = !1;
+function GE() {
+ if (!OE) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
+ return OE;
}
-function due(e) {
- return RE.add(e), () => {
- RE.delete(e);
+function _ue(e) {
+ return jE.add(e), () => {
+ jE.delete(e);
};
}
-function fue() {
- for (let e of [...RE]) e();
+function vue() {
+ for (let e of [...jE]) e();
}
-function $E() {
- (0, ht.flushSync)(fue);
+function KE() {
+ (0, pt.flushSync)(vue);
}
-function pue() {
- let e = JE ? jT(JE.id) : 0;
- return e ? `${qE} · ${NT(e)}` : qE;
+function yue() {
+ let e = VE ? kT(VE.id) : 0;
+ return e ? `${BE} · ${jT(e)}` : BE;
}
-function eD(e, t = null) {
- clearInterval(YE), YE = 0, e === null ? (LE = {
- ...LE,
+function qE(e, t = null) {
+ clearInterval(HE), HE = 0, e === null ? (AE = {
+ ...AE,
loading: null
- }, $E()) : (qE = e, JE = t, LE = {
- ...LE,
- loading: pue()
- }, $E(), YE = window.setInterval(() => {
- JE = VE[HE] ?? null, LE = {
- ...LE,
- loading: pue()
- }, $E();
+ }, KE()) : (BE = e, VE = t, AE = {
+ ...AE,
+ loading: yue()
+ }, KE(), HE = window.setInterval(() => {
+ VE = PE[FE] ?? null, AE = {
+ ...AE,
+ loading: yue()
+ }, KE();
}, 500));
}
-function mue(e) {
+function bue(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), IE.track.append(t);
- let r = BT(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), kE.track.append(t);
+ let r = RT(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => UT(r),
+ release: () => VT(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return KE.add(a), a;
+ return zE.add(a), a;
}
-function hue(e, t) {
+function xue(e, t) {
return new Promise((n) => {
- e.release = sE(e.video, {
+ e.release = aE(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- LE.open && rD(1);
+ AE.open && XE(1);
}
}), e.gone.then(n);
});
}
-function tD(e) {
- e && !e.disposed && (e.disposed = !0, KE.delete(e), e.leave(), e.release(), e.el.remove(), GE === e && (GE = null));
+function JE(e) {
+ e && !e.disposed && (e.disposed = !0, zE.delete(e), e.leave(), e.release(), e.el.remove(), RE === e && (RE = null));
}
-var gue = [
+var Sue = [
"loadeddata",
"canplay",
"error"
];
-function _ue(e) {
+function Cue(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), gue.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), Sue.forEach((e) => t.removeEventListener(e, i)), n());
};
- gue.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, sue);
+ Sue.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, pue);
e.gone.then(i);
});
}
-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 = aue(e.videoWidth, e.videoHeight, n);
+function YE(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = due(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var vue = () => IE?.track.querySelectorAll("video").forEach(nD);
-function yue(e) {
- delete e.dataset.fit, e.readyState >= 1 ? nD(e) : e.addEventListener("loadedmetadata", () => nD(e), { once: !0 });
+var wue = () => kE?.track.querySelectorAll("video").forEach(YE);
+function Tue(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? YE(e) : e.addEventListener("loadedmetadata", () => YE(e), { once: !0 });
}
-function bue(e) {
- LE = {
- ...LE,
+function Eue(e) {
+ AE = {
+ ...AE,
wide: e
- }, $E(), vue();
+ }, KE(), wue();
}
-var xue = () => {
- let e = uue;
- return H.fetchQuery({
- queryKey: Zle(e, lue, BE),
- queryFn: () => tue(e, QE().sourceOffline),
+var Due = () => {
+ let e = gue;
+ return V.fetchQuery({
+ queryKey: rue(e, hue, NE),
+ queryFn: () => sue(e, GE().sourceOffline),
staleTime: Infinity
});
};
-function Sue(e, t) {
- let n = () => Vt(e.duration) || Vt(t.duration);
+function Oue(e, t) {
+ let n = () => zt(e.duration) || zt(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && IE && (IE.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), XE = {
+ t && kE && (kE.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), UE = {
video: e,
duration: n
};
}
-async function Cue(e = 0) {
- let t = VE[HE];
- if (!t || UE) return;
- let n = zE;
- QE().route(t.id), UE = !0, eD(e ? "切换中…" : "加载中…", t);
+async function kue(e = 0) {
+ let t = PE[FE];
+ if (!t || IE) return;
+ let n = ME;
+ GE().route(t.id), IE = !0, qE(e ? "切换中…" : "加载中…", t);
let r = null;
try {
- if (await nue(t.id).catch((e) => {
- if (!(e instanceof CE)) throw e;
- }), n !== zE) return;
- let i = GE, a = !!(e && i);
- a || tD(i);
- let o = mue(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, yue(o.video), await hue(o, t), await _ue(o), o.disposed || (bue(oue(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await cue(t.id).catch((e) => {
+ if (!(e instanceof xE)) throw e;
+ }), n !== ME) return;
+ let i = RE, a = !!(e && i);
+ a || JE(i);
+ let o = bue(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, Tue(o.video), await xue(o, t), await Cue(o), o.disposed || (Eue(fue(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)), tD(i), o.el.style.transform = ""), o.disposed)) return;
- GE = o, r = null, o.video.play()?.catch(() => {}), LE = {
- ...LE,
+ })), await new Promise((e) => setTimeout(e, 210)), JE(i), o.el.style.transform = ""), o.disposed)) return;
+ RE = o, r = null, o.video.play()?.catch(() => {}), AE = {
+ ...AE,
idle: !1,
shown: {
item: t,
- index: HE,
- length: VE.length
+ index: FE,
+ length: PE.length
}
- }, Sue(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), eD(null);
+ }, Oue(o.video, t), B("/api/play", { id: t.id }).catch(() => {}), qE(null);
} catch {
- tD(r), n === zE && eD(null);
+ JE(r), n === ME && qE(null);
} finally {
- n === zE && (UE = !1);
+ n === ME && (IE = !1);
}
}
-async function rD(e) {
- if (UE || !LE.open) return;
- let t = zE;
- if (HE += e, eD("切换中…", VE[HE] ?? null), HE >= VE.length - 3 && !WE) {
- WE = !0;
+async function XE(e) {
+ if (IE || !AE.open) return;
+ let t = ME;
+ if (FE += e, qE("切换中…", PE[FE] ?? null), FE >= PE.length - 3 && !LE) {
+ LE = !0;
try {
- BE += 1;
- let e = await xue();
- t === zE && (VE = rue(VE, e));
+ NE += 1;
+ let e = await Due();
+ t === ME && (PE = lue(PE, e));
} catch {} finally {
- WE = !1;
+ LE = !1;
}
}
- t === zE && (HE >= VE.length && (HE = 0), HE < 0 && (HE = VE.length - 1), await Cue(e));
+ t === ME && (FE >= PE.length && (FE = 0), FE < 0 && (FE = PE.length - 1), await kue(e));
}
-async function wue(e) {
- let t = ++zE;
- Tue(), lue += 1, BE = 0, uue = Qle(QE().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), LE = {
- ...LE,
+async function Aue(e) {
+ let t = ++ME;
+ jue(), hue += 1, NE = 0, gue = iue(GE().filters()), V.removeQueries({ queryKey: ["immerse-list"] }), AE = {
+ ...AE,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), eD("加载内容…");
+ }, document.body.setAttribute("data-immerse-open", ""), qE("加载内容…");
try {
- let n = await xue();
+ let n = await Due();
if (e && !n.some((t) => t.id === e)) {
- let t = await nue(e).catch((e) => {
- if (e instanceof CE) return null;
+ let t = await cue(e).catch((e) => {
+ if (e instanceof xE) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== zE) return;
- if (VE = n, !VE.length) {
- iD(), QE().warn("当前筛选下没有可直接播放的内容");
+ if (t !== ME) return;
+ if (PE = n, !PE.length) {
+ ZE(), GE().warn("当前筛选下没有可直接播放的内容");
return;
}
- HE = Math.max(0, VE.findIndex((t) => t.id === e)), await Cue();
+ FE = Math.max(0, PE.findIndex((t) => t.id === e)), await kue();
} catch {
- if (t !== zE) return;
- eD(null), iD();
+ if (t !== ME) return;
+ qE(null), ZE();
}
}
-function Tue() {
- clearInterval(YE), YE = 0, cD(), sD = null, XE = null, ZE = !1, [...KE].forEach(tD), UE = !1;
+function jue() {
+ clearInterval(HE), HE = 0, tD(), eD = null, UE = null, WE = !1, [...zE].forEach(JE), IE = !1;
}
-function iD() {
- LE.open && (zE++, Tue(), LE = cue, document.body.removeAttribute("data-immerse-open"), $E(), QE().closed());
+function ZE() {
+ AE.open && (ME++, jue(), AE = mue, document.body.removeAttribute("data-immerse-open"), KE(), GE().closed());
}
-var aD = 0, oD = null, Eue = 0, sD = null, Due = 0;
-function cD() {
- clearTimeout(aD), aD = 0, oD = null;
+var QE = 0, $E = null, Mue = 0, eD = null, Nue = 0;
+function tD() {
+ clearTimeout(QE), QE = 0, $E = null;
}
-function Oue(e) {
- let t = GE?.video;
+function Pue(e) {
+ let t = RE?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- oD && oD.side === n && r - oD.at <= 280 ? (cD(), lE(t, QE().seekSeconds() * n)) : (aD && (clearTimeout(aD), aD = 0, cE(t)), oD = {
+ $E && $E.side === n && r - $E.at <= 280 ? (tD(), sE(t, GE().seekSeconds() * n)) : (QE && (clearTimeout(QE), QE = 0, oE(t)), $E = {
side: n,
at: r
- }, aD = window.setTimeout(() => {
- aD = 0, oD = null, LE.open && cE(GE?.video);
+ }, QE = window.setTimeout(() => {
+ QE = 0, $E = null, AE.open && oE(RE?.video);
}, 280));
}
-function kue() {
- Date.now() < Eue || cE(GE?.video);
+function Fue() {
+ Date.now() < Mue || oE(RE?.video);
}
-var lD = (e) => IE?.bar.toggleAttribute("data-scrubbing", e);
-function uD(e) {
- IE && (IE.progress.style.width = `${(e * 100).toFixed(2)}%`);
+var nD = (e) => kE?.bar.toggleAttribute("data-scrubbing", e);
+function rD(e) {
+ kE && (kE.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
-function Aue(e) {
+function Iue(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- sD = null;
+ eD = null;
return;
}
- let n = GE?.video;
- sD = {
+ let n = RE?.video;
+ eD = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function jue(e) {
- if (!sD || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - sD.x, n = e.touches[0].clientY - sD.y;
- if (!sD.axis) {
+function Lue(e) {
+ if (!eD || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - eD.x, n = e.touches[0].clientY - eD.y;
+ if (!eD.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- sD.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", sD.axis === "x" && lD(!0);
+ eD.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", eD.axis === "x" && nD(!0);
}
- if (sD.axis !== "x") return;
- let r = GE?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), sD.to = Math.min(i, Math.max(0, sD.from + t / window.innerWidth * i)), uD(sD.to / i));
+ if (eD.axis !== "x") return;
+ let r = RE?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), eD.to = Math.min(i, Math.max(0, eD.from + t / window.innerWidth * i)), rD(eD.to / i));
}
-function Mue(e) {
- if (!sD) return;
- let t = sD;
- if (sD = null, Eue = Date.now() + 700, lD(!1), t.axis === "x") {
- let e = GE?.video;
+function Rue(e) {
+ if (!eD) return;
+ let t = eD;
+ if (eD = null, Mue = Date.now() + 700, nD(!1), t.axis === "x") {
+ let e = RE?.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 ? (cD(), rD(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Oue(n.clientX));
+ Math.abs(i) > 60 ? (tD(), XE(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Pue(n.clientX));
}
-function Nue() {
- sD = null, lD(!1);
+function zue() {
+ eD = null, nD(!1);
}
-function Pue(e) {
+function Bue(e) {
let t = Date.now();
- t - Due < 260 || (Due = t, rD(e.deltaY > 0 ? 1 : -1));
+ t - Nue < 260 || (Nue = t, XE(e.deltaY > 0 ? 1 : -1));
}
-function dD(e) {
- let t = IE.bar.getBoundingClientRect();
+function iD(e) {
+ let t = kE.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
-function Fue(e) {
- XE?.duration() && (ZE = !0, lD(!0), e.currentTarget.setPointerCapture(e.pointerId), uD(dD(e)), e.preventDefault());
+function Vue(e) {
+ UE?.duration() && (WE = !0, nD(!0), e.currentTarget.setPointerCapture(e.pointerId), rD(iD(e)), e.preventDefault());
}
-function Iue(e) {
- ZE && uD(dD(e));
+function Hue(e) {
+ WE && rD(iD(e));
}
-function Lue(e) {
- if (!ZE) return;
- ZE = !1, lD(!1);
- let t = XE?.duration();
- XE && t && (XE.video.currentTime = t * dD(e));
+function Uue(e) {
+ if (!WE) return;
+ WE = !1, nD(!1);
+ let t = UE?.duration();
+ UE && t && (UE.video.currentTime = t * iD(e));
}
-function Rue() {
- ZE = !1, lD(!1);
+function Wue() {
+ WE = !1, nD(!1);
}
-async function fD(e, t) {
- let n = await V(vE, {
+async function aD(e, t) {
+ let n = await B(gE, {
id: e,
kind: t
- }), r = H.getQueryData(hE(e));
- if (!r) return pE(e, {
+ }), r = V.getQueryData(pE(e));
+ if (!r) return dE(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -30233,7 +30218,7 @@ async function fD(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return H.setQueryData(hE(e), i), pE(e, {
+ return V.setQueryData(pE(e), i), dE(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -30241,7 +30226,7 @@ async function fD(e, t) {
o_count: i.o_count
}), n;
}
-var zue = [
+var Gue = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -30258,31 +30243,31 @@ var zue = [
label: "记一次高潮"
}
];
-function Bue(e) {
- return ft({
- queryKey: hE(e ?? 0),
- queryFn: ({ signal: t }) => wE(e, t),
+function Kue(e) {
+ return ut({
+ queryKey: pE(e ?? 0),
+ queryFn: ({ signal: t }) => SE(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function Vue({ kind: e, glyph: t, label: n, id: r }) {
- let i = Bue(r), a = pt({
+function que({ kind: e, glyph: t, label: n, id: r }) {
+ let i = Kue(r), a = dt({
mutationFn: async (t) => {
- let n = H.getQueryData(hE(t))?.feedback || null;
+ let n = V.getQueryData(pE(t))?.feedback || null;
return {
- result: await fD(t, e),
+ result: await aD(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- QE().toast(Xle(e, t), { undo: async () => {
- e === "o" ? await fD(r, "o-undo") : (t.feedback && await fD(r, t.feedback), n && await fD(r, n));
+ GE().toast(nue(e, t), { undo: async () => {
+ e === "o" ? await aD(r, "o-undo") : (t.feedback && await aD(r, t.feedback), n && await aD(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- rD(1);
+ XE(1);
}, 260);
},
- onError: (e) => QE().failure("更新反馈", e)
+ onError: (e) => GE().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": "",
@@ -30313,11 +30298,11 @@ function Vue({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function Hue({ shown: e }) {
- let t = e?.item ?? null, n = Bue(t?.id ?? null), r = n ? iue(n) : null, i = QE(), a = (e) => {
- e.preventDefault(), n && (iD(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function Jue({ shown: e }) {
+ let t = e?.item ?? null, n = Kue(t?.id ?? null), r = n ? uue(n) : null, i = GE(), a = (e) => {
+ e.preventDefault(), n && (ZE(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (iD(), i.openItem(t.id));
+ t && (ZE(), i.openItem(t.id));
}, s = r ? na(r.name, r.ref, Bi(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-immerse-ui": "",
@@ -30336,7 +30321,7 @@ function Hue({ shown: e }) {
onClick: a,
children: r?.who ?? ""
}),
- /* @__PURE__ */ (0, x.jsx)("span", { children: e && t ? `· ${Ht(t.duration)} · ${t.ctx_orient || ""} · ${e.index + 1}/${e.length}` : "" })
+ /* @__PURE__ */ (0, x.jsx)("span", { children: e && t ? `· ${Bt(t.duration)} · ${t.ctx_orient || ""} · ${e.index + 1}/${e.length}` : "" })
]
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -30346,18 +30331,18 @@ function Hue({ shown: e }) {
})]
});
}
-var Uue = { __html: Qa("媒体加载中") };
-function Wue({ view: e }) {
+var Yue = { __html: Za("媒体加载中") };
+function Xue({ 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 IE = {
+ return kE = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", Aue, { passive: !0 }), e.addEventListener("touchmove", jue, { passive: !1 }), e.addEventListener("touchend", Mue, { passive: !1 }), e.addEventListener("touchcancel", Nue, { passive: !0 }), e.addEventListener("wheel", Pue, { passive: !0 }), () => {
- e.removeEventListener("touchstart", Aue), e.removeEventListener("touchmove", jue), e.removeEventListener("touchend", Mue), e.removeEventListener("touchcancel", Nue), e.removeEventListener("wheel", Pue), IE = null;
+ }, e.addEventListener("touchstart", Iue, { passive: !0 }), e.addEventListener("touchmove", Lue, { passive: !1 }), e.addEventListener("touchend", Rue, { passive: !1 }), e.addEventListener("touchcancel", zue, { passive: !0 }), e.addEventListener("wheel", Bue, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", Iue), e.removeEventListener("touchmove", Lue), e.removeEventListener("touchend", Rue), e.removeEventListener("touchcancel", zue), e.removeEventListener("wheel", Bue), kE = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -30374,10 +30359,10 @@ function Wue({ view: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: kue
+ onClick: Fue
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-immerse-actions": "",
- children: zue.map((e) => /* @__PURE__ */ (0, x.jsx)(Vue, {
+ children: Gue.map((e) => /* @__PURE__ */ (0, x.jsx)(que, {
...e,
id: a
}, e.kind))
@@ -30390,7 +30375,7 @@ function Wue({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: Uue
+ dangerouslySetInnerHTML: Yue
}), /* @__PURE__ */ (0, x.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -30398,7 +30383,7 @@ function Wue({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: iD,
+ onClick: ZE,
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-x" })
@@ -30407,97 +30392,97 @@ function Wue({ view: e }) {
/* @__PURE__ */ (0, x.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: Fue,
- onPointerMove: Iue,
- onPointerUp: Lue,
- onPointerCancel: Rue,
+ onPointerDown: Vue,
+ onPointerMove: Hue,
+ onPointerUp: Uue,
+ onPointerCancel: Wue,
children: /* @__PURE__ */ (0, x.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, x.jsx)(Hue, { shown: e.shown })
+ /* @__PURE__ */ (0, x.jsx)(Jue, { shown: e.shown })
]
});
}
-var Gue = {
- open: wue,
- close: iD,
- isOpen: () => LE.open,
- activeVideo: () => LE.open ? GE?.video ?? null : null
+var Zue = {
+ open: Aue,
+ close: ZE,
+ isOpen: () => AE.open,
+ activeVideo: () => AE.open ? RE?.video ?? null : null
};
-function Kue(e) {
- if (!LE.open) return;
+function Que(e) {
+ if (!AE.open) return;
let t = e.target;
- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && rD(1), e.key === "ArrowUp" && rD(-1)));
+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && XE(1), e.key === "ArrowUp" && XE(-1)));
}
-function que(e) {
- let t = !FE;
- return FE = e, t && (document.addEventListener("keydown", Kue), addEventListener("resize", () => {
- LE.open && vue();
+function $ue(e) {
+ let t = !OE;
+ return OE = e, t && (document.addEventListener("keydown", Que), addEventListener("resize", () => {
+ AE.open && wue();
}), addEventListener("pagehide", () => {
- KE.forEach((e) => UT(e.session));
- })), Gue;
+ zE.forEach((e) => VT(e.session));
+ })), Zue;
}
-function Jue() {
- let e = (0, b.useSyncExternalStore)(due, () => LE);
- return FE ? /* @__PURE__ */ (0, x.jsx)(Wue, { view: e }) : null;
+function ede() {
+ let e = (0, b.useSyncExternalStore)(_ue, () => AE);
+ return OE ? /* @__PURE__ */ (0, x.jsx)(Xue, { view: e }) : null;
}
//#endregion
//#region src/manage-header.ts
-var Yue = {
+var tde = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/scraping": "来源和凭证"
-}, Xue = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]);
-function Zue(e) {
- let t = Yue[e.path] ? "cleanup" : e.section;
+}, nde = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]);
+function rde(e) {
+ let t = tde[e.path] ? "cleanup" : e.section;
return e.menu.some(([e]) => e === t) ? t : "";
}
-var Que = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
-function pD(e) {
+var ide = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
+function oD(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = Yue[e.path] ?? "";
+ let n = tde[e.path] ?? "";
return {
title: e.path === "/diagnostics" ? "系统诊断" : e.section === "cleanup" && n || t[1],
- pressed: Zue(e),
+ pressed: rde(e),
crumb: n,
- compact: Xue.has(e.path) || e.section === "configuration",
+ compact: nde.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: Que(e.trash),
+ text: ide(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var mD = (e) => e.replace(/[&<>"']/g, (e) => ({
+var sD = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
-})[e]), $ue = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${mD(e)}"/></svg>`, ede = "<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 tde(e) {
- let t = pD(e);
+})[e]), ade = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${sD(e)}"/></svg>`, ode = "<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 sde(e) {
+ let t = oD(e);
if (!t) return "";
let n = e.menu.map(([e, n, r]) => {
let i = e === t.pressed;
- return `<button type="button" data-manage="${mD(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${$ue(r)}<span>${mD(n)}</span></button>`;
- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${$ue("chevron-right")}</li><li aria-current="true"><span>${mD(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? ede : `<span data-lede-text="">${mD(t.lede.text)}</span>${t.lede.total ? nde : ""}`}</p>`;
- return `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${mD(t.title)}</h2>` + r + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + i;
+ return `<button type="button" data-manage="${sD(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${ade(r)}<span>${sD(n)}</span></button>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${ade("chevron-right")}</li><li aria-current="true"><span>${sD(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? ode : `<span data-lede-text="">${sD(t.lede.text)}</span>${t.lede.total ? cde : ""}`}</p>`;
+ return `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${sD(t.title)}</h2>` + r + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + i;
}
-var nde = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var cde = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
//#endregion
//#region src/react/settings-panel/icon.tsx
-function hD({ name: e }) {
+function cD({ 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 rde({ name: e }) {
+function lde({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -30506,52 +30491,52 @@ function rde({ name: e }) {
}
//#endregion
//#region src/react/manage-header/manage-header-island.tsx
-var gD = null, _D = null, vD = /* @__PURE__ */ new Set();
-function ide(e) {
- return vD.add(e), () => {
- vD.delete(e);
+var lD = null, uD = null, dD = /* @__PURE__ */ new Set();
+function ude(e) {
+ return dD.add(e), () => {
+ dD.delete(e);
};
}
-function ade() {
- for (let e of [...vD]) e();
+function dde() {
+ for (let e of [...dD]) e();
}
-var ode = { render(e) {
- _D = e, (0, ht.flushSync)(ade);
+var fde = { render(e) {
+ uD = e, (0, pt.flushSync)(dde);
} };
-function sde(e) {
- return gD = e, _D = null, ode;
+function pde(e) {
+ return lD = e, uD = null, fde;
}
-function cde() {
- let e = (0, b.useSyncExternalStore)(ide, () => _D);
- return gD && e ? /* @__PURE__ */ (0, x.jsx)(lde, {
- host: gD,
+function mde() {
+ let e = (0, b.useSyncExternalStore)(ude, () => uD);
+ return lD && e ? /* @__PURE__ */ (0, x.jsx)(hde, {
+ host: lD,
props: e
}) : null;
}
-function lde({ host: e, props: t }) {
- let n = pD(t);
+function hde({ host: e, props: t }) {
+ let n = oD(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)(dde, {
+ n.crumb ? /* @__PURE__ */ (0, x.jsx)(_de, {
host: e,
label: n.crumb
}) : null,
- /* @__PURE__ */ (0, x.jsx)(ude, {
+ /* @__PURE__ */ (0, x.jsx)(gde, {
host: e,
pressed: n.pressed,
menu: t.menu
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(fde, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(vde, {
host: e,
lede: n.lede
})
] }) : null;
}
-function ude({ host: e, pressed: t, menu: n }) {
+function gde({ 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\"]");
@@ -30572,13 +30557,13 @@ function ude({ host: e, pressed: t, menu: n }) {
"aria-pressed": a,
"aria-current": a ? "page" : void 0,
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, x.jsx)(hD, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, x.jsx)(cD, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]
}, n);
})
})
});
}
-function dde({ host: e, label: t }) {
+function _de({ host: e, label: t }) {
return /* @__PURE__ */ (0, x.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "Breadcrumb",
@@ -30588,20 +30573,20 @@ function dde({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, x.jsx)(hD, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {
+ }), /* @__PURE__ */ (0, x.jsx)(cD, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, x.jsx)("span", { children: t })
})] })
});
}
-function fde({ host: e, lede: t }) {
+function vde({ 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: ede }
- }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(pde, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: ode }
+ }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(yde, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -30611,10 +30596,10 @@ function fde({ host: e, lede: t }) {
}) : null] })
});
}
-function pde({ text: e }) {
+function yde({ text: e }) {
let t = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- oo(t.current, e);
+ io(t.current, e);
}, [e]), /* @__PURE__ */ (0, x.jsx)("span", {
ref: t,
"data-lede-text": ""
@@ -30622,20 +30607,20 @@ function pde({ text: e }) {
}
//#endregion
//#region src/core/jav-title.ts
-var mde = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, hde = (e, t = e?.name) => {
+var bde = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, xde = (e, t = e?.name) => {
let n = String(t || "").trim();
- return e?.is_jav ? n.replace(mde, "") : n;
-}, gde = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), _de = (e) => {
+ return e?.is_jav ? n.replace(bde, "") : n;
+}, Sde = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), Cde = (e) => {
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
- return t.find(gde) || t[0] || "";
+ return t.find(Sde) || t[0] || "";
};
-function vde(e, t = e?.name) {
- let n = hde(e, t), r = String(e?.code || "").trim().toUpperCase();
+function wde(e, t = e?.name) {
+ let n = xde(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 = _de(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c;
+ let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Cde(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c;
return {
code: i,
title: l || u,
@@ -30646,23 +30631,23 @@ function vde(e, t = e?.name) {
].includes(e)) : []
};
}
-var yD = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = vde(e, t);
+var fD = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = wde(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function bD(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = vde(e, t);
+function pD(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = wde(e, t);
if (!n) return R(r);
let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : "cracked"}">${R(e)}</small>`).join("");
return `<span class="ui-javidentity"><strong class="ui-javcode">${R(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${R(r)}</span>` : ""}`;
}
//#endregion
//#region node_modules/@remixicon/react/index.mjs
-var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+var Tde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30670,7 +30655,7 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), bde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Ede = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30678,7 +30663,7 @@ var yde = ({ 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" })), xD = ({ 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" })), mD = ({ 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,
@@ -30686,7 +30671,7 @@ var yde = ({ 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" })), SD = ({ 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" })), hD = ({ 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,
@@ -30694,7 +30679,7 @@ var yde = ({ 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" })), CD = ({ 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" })), gD = ({ 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,
@@ -30702,7 +30687,7 @@ var yde = ({ 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" })), xde = ({ 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" })), Dde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30710,7 +30695,7 @@ var yde = ({ 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" })), Sde = ({ 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" })), Ode = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30718,7 +30703,7 @@ var yde = ({ 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" })), Cde = ({ 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" })), kde = ({ 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,
@@ -30726,7 +30711,7 @@ var yde = ({ 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" })), wde = ({ 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" })), Ade = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30734,7 +30719,7 @@ var yde = ({ 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" })), Tde = ({ 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" })), jde = ({ 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,
@@ -30742,7 +30727,7 @@ var yde = ({ 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" })), wD = ({ 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" })), _D = ({ 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,
@@ -30750,7 +30735,7 @@ var yde = ({ 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" })), Ede = ({ 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" })), Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30758,7 +30743,7 @@ var yde = ({ 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" })), TD = ({ 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" })), vD = ({ 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,
@@ -30766,7 +30751,7 @@ var yde = ({ 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" })), ED = ({ 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" })), yD = ({ 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,
@@ -30774,7 +30759,7 @@ var yde = ({ 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" })), DD = ({ 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" })), bD = ({ 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,
@@ -30782,7 +30767,7 @@ var yde = ({ 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" })), Dde = ({ 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" })), Nde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30790,7 +30775,7 @@ var yde = ({ 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" })), OD = ({ 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" })), xD = ({ 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,
@@ -30798,7 +30783,7 @@ var yde = ({ 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" })), Ode = ({ 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" })), Pde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30806,7 +30791,7 @@ var yde = ({ 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" })), kde = ({ 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" })), Fde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30814,7 +30799,7 @@ var yde = ({ 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" })), Ade = ({ 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" })), Ide = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30822,7 +30807,7 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M13 12H16L12 16L8 12H11V8H13V12ZM15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918Z" })), jde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M13 12H16L12 16L8 12H11V8H13V12ZM15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918Z" })), Lde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30830,7 +30815,7 @@ var yde = ({ 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" })), Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Rde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30838,7 +30823,7 @@ var yde = ({ 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" })), Nde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), zde = ({ 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,
@@ -30846,7 +30831,7 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Pde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Bde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30854,7 +30839,7 @@ var yde = ({ 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" })), kD = ({ 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" })), SD = ({ 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,
@@ -30862,7 +30847,7 @@ var yde = ({ 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" })), AD = ({ 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" })), CD = ({ 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,
@@ -30870,7 +30855,7 @@ var yde = ({ 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" })), Fde = ({ 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" })), Vde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30878,7 +30863,7 @@ var yde = ({ 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" })), Ide = ({ 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" })), Hde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30886,7 +30871,7 @@ var yde = ({ 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" })), Lde = ({ 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" })), Ude = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30894,7 +30879,7 @@ var yde = ({ 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" })), Rde = ({ 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" })), Wde = ({ 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,
@@ -30902,7 +30887,7 @@ var yde = ({ 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" })), zde = ({ 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" })), Gde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30910,7 +30895,7 @@ var yde = ({ 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" })), Bde = ({ 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" })), Kde = ({ 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,
@@ -30918,7 +30903,7 @@ var yde = ({ 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" })), Vde = ({ 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" })), qde = ({ 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,
@@ -30926,7 +30911,7 @@ var yde = ({ 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" })), jD = ({ 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" })), wD = ({ 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,
@@ -30934,7 +30919,7 @@ var yde = ({ 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" })), MD = ({ 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" })), TD = ({ 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,
@@ -30942,7 +30927,7 @@ var yde = ({ 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" })), Hde = ({ 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" })), Jde = ({ 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,
@@ -30950,7 +30935,7 @@ var yde = ({ 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" })), ND = ({ 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" })), ED = ({ 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,
@@ -30958,7 +30943,7 @@ var yde = ({ 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" })), Ude = ({ 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" })), Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30966,7 +30951,7 @@ var yde = ({ 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" })), Wde = ({ 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" })), Xde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30974,7 +30959,7 @@ var yde = ({ 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" })), Gde = ({ 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" })), Zde = ({ 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,
@@ -30982,7 +30967,7 @@ var yde = ({ 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" })), Kde = ({ 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" })), Qde = ({ 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,
@@ -30990,7 +30975,7 @@ var yde = ({ 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" })), qde = ({ 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" })), $de = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30998,7 +30983,7 @@ var yde = ({ 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" })), Jde = ({ 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" })), efe = ({ 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,
@@ -31006,7 +30991,7 @@ var yde = ({ 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" })), Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), tfe = ({ 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,
@@ -31014,7 +30999,7 @@ var yde = ({ 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" })), Xde = ({ 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" })), nfe = ({ 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,
@@ -31022,7 +31007,7 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M17 6C16.4477 6 16 5.55228 16 5C16 4.44772 16.4477 4 17 4C17.5523 4 18 4.44772 18 5C18 5.55228 17.5523 6 17 6ZM17 8C18.6569 8 20 6.65685 20 5C20 3.34315 18.6569 2 17 2C15.3431 2 14 3.34315 14 5C14 6.65685 15.3431 8 17 8ZM7 3C4.79086 3 3 4.79086 3 7V9H5V7C5 5.89543 5.89543 5 7 5H10V3H7ZM17 21C19.2091 21 21 19.2091 21 17V15H19V17C19 18.1046 18.1046 19 17 19H14V21H17ZM8 13C8 12.4477 7.55228 12 7 12C6.44772 12 6 12.4477 6 13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13ZM10 13C10 14.6569 8.65685 16 7 16C5.34315 16 4 14.6569 4 13C4 11.3431 5.34315 10 7 10C8.65685 10 10 11.3431 10 13ZM17 11C15.8954 11 15 11.8954 15 13H13C13 10.7909 14.7909 9 17 9C19.2091 9 21 10.7909 21 13H19C19 11.8954 18.1046 11 17 11ZM5 21C5 19.8954 5.89543 19 7 19C8.10457 19 9 19.8954 9 21H11C11 18.7909 9.20914 17 7 17C4.79086 17 3 18.7909 3 21H5Z" })), Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M17 6C16.4477 6 16 5.55228 16 5C16 4.44772 16.4477 4 17 4C17.5523 4 18 4.44772 18 5C18 5.55228 17.5523 6 17 6ZM17 8C18.6569 8 20 6.65685 20 5C20 3.34315 18.6569 2 17 2C15.3431 2 14 3.34315 14 5C14 6.65685 15.3431 8 17 8ZM7 3C4.79086 3 3 4.79086 3 7V9H5V7C5 5.89543 5.89543 5 7 5H10V3H7ZM17 21C19.2091 21 21 19.2091 21 17V15H19V17C19 18.1046 18.1046 19 17 19H14V21H17ZM8 13C8 12.4477 7.55228 12 7 12C6.44772 12 6 12.4477 6 13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13ZM10 13C10 14.6569 8.65685 16 7 16C5.34315 16 4 14.6569 4 13C4 11.3431 5.34315 10 7 10C8.65685 10 10 11.3431 10 13ZM17 11C15.8954 11 15 11.8954 15 13H13C13 10.7909 14.7909 9 17 9C19.2091 9 21 10.7909 21 13H19C19 11.8954 18.1046 11 17 11ZM5 21C5 19.8954 5.89543 19 7 19C8.10457 19 9 19.8954 9 21H11C11 18.7909 9.20914 17 7 17C4.79086 17 3 18.7909 3 21H5Z" })), rfe = ({ 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,
@@ -31030,88 +31015,88 @@ var yde = ({ 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" })), Qde = (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" })), ife = (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;
-}, $de = (e, t) => ({
+}, afe = (e, t) => ({
classGroupId: e,
validator: t
-}), efe = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), ofe = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), PD = "-", tfe = [], nfe = "arbitrary..", rfe = (e) => {
- let t = ofe(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), DD = "-", sfe = [], cfe = "arbitrary..", lfe = (e) => {
+ let t = ffe(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return afe(e);
- let n = e.split(PD);
- return ife(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return dfe(e);
+ let n = e.split(DD);
+ return ufe(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? Qde(i, t) : t : i || tfe;
+ return t ? i ? ife(i, t) : t : i || sfe;
}
- return n[e] || tfe;
+ return n[e] || sfe;
}
};
-}, ife = (e, t, n) => {
+}, ufe = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = ife(e, t + 1, i);
+ let n = ufe(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(PD) : e.slice(t).join(PD), s = a.length;
+ let o = t === 0 ? e.join(DD) : e.slice(t).join(DD), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, afe = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, dfe = (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 ? nfe + r : void 0;
-})(), ofe = (e) => {
+ return r ? cfe + r : void 0;
+})(), ffe = (e) => {
let { theme: t, classGroups: n } = e;
- return sfe(n, t);
-}, sfe = (e, t) => {
- let n = efe();
+ return pfe(n, t);
+}, pfe = (e, t) => {
+ let n = ofe();
for (let r in e) {
let i = e[r];
- FD(i, n, r, t);
+ OD(i, n, r, t);
}
return n;
-}, FD = (e, t, n, r) => {
+}, OD = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- cfe(i, t, n, r);
+ mfe(i, t, n, r);
}
-}, cfe = (e, t, n, r) => {
- typeof e == "string" ? lfe(e, t, n) : typeof e == "function" ? ufe(e, t, n, r) : dfe(e, t, n, r);
-}, lfe = (e, t, n) => {
- let r = e === "" ? t : ffe(t, e);
+}, mfe = (e, t, n, r) => {
+ typeof e == "string" ? hfe(e, t, n) : typeof e == "function" ? gfe(e, t, n, r) : _fe(e, t, n, r);
+}, hfe = (e, t, n) => {
+ let r = e === "" ? t : vfe(t, e);
r.classGroupId = n;
-}, ufe = (e, t, n, r) => {
- pfe(e) ? FD(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push($de(n, e)));
-}, dfe = (e, t, n, r) => {
+}, gfe = (e, t, n, r) => {
+ yfe(e) ? OD(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(afe(n, e)));
+}, _fe = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- FD(o, ffe(t, a), n, r);
+ OD(o, vfe(t, a), n, r);
}
-}, ffe = (e, t) => {
- let n = e, r = t.split(PD), i = r.length;
+}, vfe = (e, t) => {
+ let n = e, r = t.split(DD), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = efe(), n.nextPart.set(t, i)), n = i;
+ i || (i = ofe(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, pfe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, mfe = (e) => {
+}, yfe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, bfe = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -31129,19 +31114,19 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
e in n ? n[e] = t : i(e, t);
}
};
-}, ID = "!", hfe = ":", gfe = [], _fe = (e, t, n, r, i) => ({
+}, kD = "!", xfe = ":", Sfe = [], Cfe = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), vfe = (e) => {
+}), wfe = (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 === hfe) {
+ if (o === xfe) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -31153,13 +31138,13 @@ var yde = ({ 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(ID) ? (c = s.slice(0, -1), l = !0) : s.startsWith(ID) && (c = s.slice(1), l = !0);
+ s.endsWith(kD) ? (c = s.slice(0, -1), l = !0) : s.startsWith(kD) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return _fe(t, l, c, u);
+ return Cfe(t, l, c, u);
};
if (t) {
- let e = t + hfe, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : _fe(gfe, !1, t, void 0, !0);
+ let e = t + xfe, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Cfe(Sfe, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -31169,7 +31154,7 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
});
}
return r;
-}, yfe = (e) => {
+}, Tfe = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -31181,18 +31166,18 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, bfe = (e) => ({
- cache: mfe(e.cacheSize),
- parseClassName: vfe(e),
- sortModifiers: yfe(e),
- postfixLookupClassGroupIds: xfe(e),
- ...rfe(e)
-}), xfe = (e) => {
+}, Efe = (e) => ({
+ cache: bfe(e.cacheSize),
+ parseClassName: wfe(e),
+ sortModifiers: Tfe(e),
+ postfixLookupClassGroupIds: Dfe(e),
+ ...lfe(e)
+}), Dfe = (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;
-}, Sfe = /\s+/, Cfe = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Sfe), l = "";
+}, Ofe = /\s+/, kfe = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Ofe), 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) {
@@ -31212,7 +31197,7 @@ var yde = ({ 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 ? _ + ID : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + kD : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -31223,34 +31208,34 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, wfe = (...e) => {
+}, Afe = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = Tfe(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = jfe(n)) && (i && (i += " "), i += r);
return i;
-}, Tfe = (e) => {
+}, jfe = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = Tfe(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = jfe(e[r])) && (n && (n += " "), n += t);
return n;
-}, Efe = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = bfe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, Mfe = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = Efe(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 = Cfe(e, n);
+ let a = kfe(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(wfe(...e));
-}, Dfe = [], LD = (e) => {
- let t = (t) => t[e] || Dfe;
+ return a = o, (...e) => a(Afe(...e));
+}, Nfe = [], AD = (e) => {
+ let t = (t) => t[e] || Nfe;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, Ofe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, kfe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Afe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, jfe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Mfe = /\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$/, Nfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Pfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ffe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, RD = (e) => Afe.test(e), zD = (e) => !!e && !Number.isNaN(Number(e)), BD = (e) => !!e && Number.isInteger(Number(e)), VD = (e) => e.endsWith("%") && zD(e.slice(0, -1)), HD = (e) => jfe.test(e), Ife = () => !0, Lfe = (e) => Mfe.test(e) && !Nfe.test(e), UD = () => !1, Rfe = (e) => Pfe.test(e), zfe = (e) => Ffe.test(e), Bfe = (e) => !WD(e) && !qD(e), Vfe = (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)), Hfe = (e) => XD(e, tpe, UD), WD = (e) => Ofe.test(e), GD = (e) => XD(e, npe, Lfe), Ufe = (e) => XD(e, rpe, zD), Wfe = (e) => XD(e, ape, Ife), Gfe = (e) => XD(e, ipe, UD), Kfe = (e) => XD(e, $fe, UD), qfe = (e) => XD(e, epe, zfe), KD = (e) => XD(e, ope, Rfe), qD = (e) => kfe.test(e), JD = (e) => ZD(e, npe), Jfe = (e) => ZD(e, ipe), Yfe = (e) => ZD(e, $fe), Xfe = (e) => ZD(e, tpe), Zfe = (e) => ZD(e, epe), YD = (e) => ZD(e, ope, !0), Qfe = (e) => ZD(e, ape, !0), XD = (e, t, n) => {
- let r = Ofe.exec(e);
+}, Pfe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ffe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ife = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Lfe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Rfe = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, zfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Bfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Vfe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, jD = (e) => Ife.test(e), MD = (e) => !!e && !Number.isNaN(Number(e)), ND = (e) => !!e && Number.isInteger(Number(e)), PD = (e) => e.endsWith("%") && MD(e.slice(0, -1)), FD = (e) => Lfe.test(e), Hfe = () => !0, Ufe = (e) => Rfe.test(e) && !zfe.test(e), ID = () => !1, Wfe = (e) => Bfe.test(e), Gfe = (e) => Vfe.test(e), Kfe = (e) => !LD(e) && !BD(e), qfe = (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)), Jfe = (e) => UD(e, spe, ID), LD = (e) => Pfe.test(e), RD = (e) => UD(e, cpe, Ufe), Yfe = (e) => UD(e, lpe, MD), Xfe = (e) => UD(e, dpe, Hfe), Zfe = (e) => UD(e, upe, ID), Qfe = (e) => UD(e, ape, ID), $fe = (e) => UD(e, ope, Gfe), zD = (e) => UD(e, fpe, Wfe), BD = (e) => Ffe.test(e), VD = (e) => WD(e, cpe), epe = (e) => WD(e, upe), tpe = (e) => WD(e, ape), npe = (e) => WD(e, spe), rpe = (e) => WD(e, ope), HD = (e) => WD(e, fpe, !0), ipe = (e) => WD(e, dpe, !0), UD = (e, t, n) => {
+ let r = Pfe.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, ZD = (e, t, n = !1) => {
- let r = kfe.exec(e);
+}, WD = (e, t, n = !1) => {
+ let r = Ffe.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, $fe = (e) => e === "position" || e === "percentage", epe = (e) => e === "image" || e === "url", tpe = (e) => e === "length" || e === "size" || e === "bg-size", npe = (e) => e === "length", rpe = (e) => e === "number", ipe = (e) => e === "family-name", ape = (e) => e === "number" || e === "weight", ope = (e) => e === "shadow", spe = () => {
- let e = LD("color"), t = LD("font"), n = LD("text"), r = LD("font-weight"), i = LD("tracking"), a = LD("leading"), o = LD("breakpoint"), s = LD("container"), c = LD("spacing"), l = LD("radius"), u = LD("shadow"), d = LD("inset-shadow"), f = LD("text-shadow"), p = LD("drop-shadow"), m = LD("blur"), h = LD("perspective"), g = LD("aspect"), _ = LD("ease"), v = LD("animate"), y = () => [
+}, ape = (e) => e === "position" || e === "percentage", ope = (e) => e === "image" || e === "url", spe = (e) => e === "length" || e === "size" || e === "bg-size", cpe = (e) => e === "length", lpe = (e) => e === "number", upe = (e) => e === "family-name", dpe = (e) => e === "number" || e === "weight", fpe = (e) => e === "shadow", ppe = () => {
+ let e = AD("color"), t = AD("font"), n = AD("text"), r = AD("font-weight"), i = AD("tracking"), a = AD("leading"), o = AD("breakpoint"), s = AD("container"), c = AD("spacing"), l = AD("radius"), u = AD("shadow"), d = AD("inset-shadow"), f = AD("text-shadow"), p = AD("drop-shadow"), m = AD("blur"), h = AD("perspective"), g = AD("aspect"), _ = AD("ease"), v = AD("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -31275,8 +31260,8 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"left-bottom"
], x = () => [
...b(),
- qD,
- WD
+ BD,
+ LD
], S = () => [
"auto",
"hidden",
@@ -31288,43 +31273,43 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"contain",
"none"
], w = () => [
- qD,
- WD,
+ BD,
+ LD,
c
], T = () => [
- RD,
+ jD,
"full",
"auto",
...w()
], E = () => [
- BD,
+ ND,
"none",
"subgrid",
- qD,
- WD
+ BD,
+ LD
], D = () => [
"auto",
{ span: [
"full",
+ ND,
BD,
- qD,
- WD
+ LD
] },
+ ND,
BD,
- qD,
- WD
+ LD
], O = () => [
- BD,
+ ND,
"auto",
- qD,
- WD
+ BD,
+ LD
], k = () => [
"auto",
"min",
"max",
"fr",
- qD,
- WD
+ BD,
+ LD
], A = () => [
"start",
"end",
@@ -31344,7 +31329,7 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- RD,
+ jD,
"auto",
"full",
"dvw",
@@ -31359,7 +31344,7 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
...w()
], P = () => [
s,
- RD,
+ jD,
"screen",
"full",
"dvw",
@@ -31370,7 +31355,7 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"fit",
...w()
], ee = () => [
- RD,
+ jD,
"screen",
"full",
"lh",
@@ -31383,13 +31368,13 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
...w()
], F = () => [
e,
- qD,
- WD
+ BD,
+ LD
], te = () => [
...b(),
- Yfe,
- Kfe,
- { position: [qD, WD] }
+ tpe,
+ Qfe,
+ { position: [BD, LD] }
], ne = () => ["no-repeat", { repeat: [
"",
"x",
@@ -31400,25 +31385,25 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"auto",
"cover",
"contain",
- Xfe,
- Hfe,
- { size: [qD, WD] }
+ npe,
+ Jfe,
+ { size: [BD, LD] }
], ie = () => [
+ PD,
VD,
- JD,
- GD
+ RD
], ae = () => [
"",
"none",
"full",
l,
- qD,
- WD
+ BD,
+ LD
], oe = () => [
"",
- zD,
- JD,
- GD
+ MD,
+ VD,
+ RD
], se = () => [
"solid",
"dashed",
@@ -31442,32 +31427,32 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"color",
"luminosity"
], le = () => [
- zD,
- VD,
- Yfe,
- Kfe
+ MD,
+ PD,
+ tpe,
+ Qfe
], ue = () => [
"",
"none",
m,
- qD,
- WD
+ BD,
+ LD
], de = () => [
"none",
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
], fe = () => [
"none",
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
], pe = () => [
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
], me = () => [
- RD,
+ jD,
"full",
...w()
];
@@ -31481,17 +31466,17 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"bounce"
],
aspect: ["video"],
- blur: [HD],
- breakpoint: [HD],
- color: [Ife],
- container: [HD],
- "drop-shadow": [HD],
+ blur: [FD],
+ breakpoint: [FD],
+ color: [Hfe],
+ container: [FD],
+ "drop-shadow": [FD],
ease: [
"in",
"out",
"in-out"
],
- font: [Bfe],
+ font: [Kfe],
"font-weight": [
"thin",
"extralight",
@@ -31503,7 +31488,7 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"extrabold",
"black"
],
- "inset-shadow": [HD],
+ "inset-shadow": [FD],
leading: [
"none",
"tight",
@@ -31520,11 +31505,11 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"distant",
"none"
],
- radius: [HD],
- shadow: [HD],
- spacing: ["px", zD],
- text: [HD],
- "text-shadow": [HD],
+ radius: [FD],
+ shadow: [FD],
+ spacing: ["px", MD],
+ text: [FD],
+ "text-shadow": [FD],
tracking: [
"tighter",
"tight",
@@ -31538,9 +31523,9 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
aspect: [{ aspect: [
"auto",
"square",
- RD,
- WD,
- qD,
+ jD,
+ LD,
+ BD,
g
] }],
container: ["container"],
@@ -31548,15 +31533,15 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"",
"normal",
"size",
- qD,
- WD
+ BD,
+ LD
] }],
- "container-named": [Vfe],
+ "container-named": [qfe],
columns: [{ columns: [
- zD,
+ MD,
"auto",
- WD,
- qD,
+ LD,
+ BD,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -31653,13 +31638,13 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"collapse"
],
z: [{ z: [
- BD,
+ ND,
"auto",
- qD,
- WD
+ BD,
+ LD
] }],
basis: [{ basis: [
- RD,
+ jD,
"full",
"auto",
s,
@@ -31677,32 +31662,32 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"wrap-reverse"
] }],
flex: [{ flex: [
- zD,
- RD,
+ MD,
+ jD,
"auto",
"initial",
"none",
- WD
+ LD
] }],
grow: [{ grow: [
"",
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
shrink: [{ shrink: [
"",
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
order: [{ order: [
- BD,
+ ND,
"first",
"last",
"none",
- qD,
- WD
+ BD,
+ LD
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -31809,15 +31794,15 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"font-size": [{ text: [
"base",
n,
- JD,
- GD
+ VD,
+ RD
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- Qfe,
- Wfe
+ ipe,
+ Xfe
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -31829,15 +31814,15 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"expanded",
"extra-expanded",
"ultra-expanded",
- VD,
- WD
+ PD,
+ LD
] }],
"font-family": [{ font: [
- Jfe,
- Gfe,
+ epe,
+ Zfe,
t
] }],
- "font-features": [{ "font-features": [WD] }],
+ "font-features": [{ "font-features": [LD] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -31846,14 +31831,14 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- qD,
- WD
+ BD,
+ LD
] }],
"line-clamp": [{ "line-clamp": [
- zD,
+ MD,
"none",
- qD,
- Ufe
+ BD,
+ Yfe
] }],
leading: [{ leading: [
"none",
@@ -31862,16 +31847,16 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
"list-image": [{ "list-image": [
"none",
- qD,
- WD
+ BD,
+ LD
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- qD,
- WD
+ BD,
+ LD
] }],
"text-alignment": [{ text: [
"left",
@@ -31891,18 +31876,18 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
],
"text-decoration-style": [{ decoration: [...se(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- zD,
+ MD,
"from-font",
"auto",
- qD,
- GD
+ BD,
+ RD
] }],
"text-decoration-color": [{ decoration: F() }],
"underline-offset": [{ "underline-offset": [
- zD,
+ MD,
"auto",
- qD,
- WD
+ BD,
+ LD
] }],
"text-transform": [
"uppercase",
@@ -31923,9 +31908,9 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
+ ND,
BD,
- qD,
- WD
+ LD
] }],
"vertical-align": [{ align: [
"baseline",
@@ -31936,8 +31921,8 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"text-bottom",
"sub",
"super",
- qD,
- WD
+ BD,
+ LD
] }],
whitespace: [{ whitespace: [
"normal",
@@ -31965,8 +31950,8 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
content: [{ content: [
"none",
- qD,
- WD
+ BD,
+ LD
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -32001,24 +31986,24 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"l",
"tl"
] },
+ ND,
BD,
- qD,
- WD
+ LD
],
radial: [
"",
- qD,
- WD
+ BD,
+ LD
],
conic: [
"",
+ ND,
BD,
- qD,
- WD
+ LD
]
},
- Zfe,
- qfe
+ rpe,
+ $fe
] }],
"bg-color": [{ bg: F() }],
"gradient-from-pos": [{ from: ie() }],
@@ -32085,15 +32070,15 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
"outline-w": [{ outline: [
"",
- zD,
- JD,
- GD
+ MD,
+ VD,
+ RD
] }],
"outline-color": [{ outline: F() }],
shadow: [{ shadow: [
@@ -32101,35 +32086,35 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"inner",
"none",
u,
- YD,
- KD
+ HD,
+ zD
] }],
"shadow-color": [{ shadow: F() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- YD,
- KD
+ HD,
+ zD
] }],
"inset-shadow-color": [{ "inset-shadow": F() }],
"ring-w": [{ ring: oe() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: F() }],
- "ring-offset-w": [{ "ring-offset": [zD, GD] }],
+ "ring-offset-w": [{ "ring-offset": [MD, RD] }],
"ring-offset-color": [{ "ring-offset": F() }],
"inset-ring-w": [{ "inset-ring": oe() }],
"inset-ring-color": [{ "inset-ring": F() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- YD,
- KD
+ HD,
+ zD
] }],
"text-shadow-color": [{ "text-shadow": F() }],
opacity: [{ opacity: [
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
"mix-blend": [{ "mix-blend": [
...ce(),
@@ -32151,7 +32136,7 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [zD] }],
+ "mask-image-linear-pos": [{ "mask-linear": [MD] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": le() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": le() }],
"mask-image-linear-from-color": [{ "mask-linear-from": F() }],
@@ -32180,7 +32165,7 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"mask-image-y-to-pos": [{ "mask-y-to": le() }],
"mask-image-y-from-color": [{ "mask-y-from": F() }],
"mask-image-y-to-color": [{ "mask-y-to": F() }],
- "mask-image-radial": [{ "mask-radial": [qD, WD] }],
+ "mask-image-radial": [{ "mask-radial": [BD, LD] }],
"mask-image-radial-from-pos": [{ "mask-radial-from": le() }],
"mask-image-radial-to-pos": [{ "mask-radial-to": le() }],
"mask-image-radial-from-color": [{ "mask-radial-from": F() }],
@@ -32191,7 +32176,7 @@ var yde = ({ 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": [zD] }],
+ "mask-image-conic-pos": [{ "mask-conic": [MD] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": le() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": le() }],
"mask-image-conic-from-color": [{ "mask-conic-from": F() }],
@@ -32215,111 +32200,111 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- qD,
- WD
+ BD,
+ LD
] }],
filter: [{ filter: [
"",
"none",
- qD,
- WD
+ BD,
+ LD
] }],
blur: [{ blur: ue() }],
brightness: [{ brightness: [
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
contrast: [{ contrast: [
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- YD,
- KD
+ HD,
+ zD
] }],
"drop-shadow-color": [{ "drop-shadow": F() }],
grayscale: [{ grayscale: [
"",
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
"hue-rotate": [{ "hue-rotate": [
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
invert: [{ invert: [
"",
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
saturate: [{ saturate: [
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
sepia: [{ sepia: [
"",
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- qD,
- WD
+ BD,
+ LD
] }],
"backdrop-blur": [{ "backdrop-blur": ue() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -32335,39 +32320,39 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"shadow",
"transform",
"none",
- qD,
- WD
+ BD,
+ LD
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- zD,
+ MD,
"initial",
- qD,
- WD
+ BD,
+ LD
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- qD,
- WD
+ BD,
+ LD
] }],
delay: [{ delay: [
- zD,
- qD,
- WD
+ MD,
+ BD,
+ LD
] }],
animate: [{ animate: [
"none",
v,
- qD,
- WD
+ BD,
+ LD
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- qD,
- WD
+ BD,
+ LD
] }],
"perspective-origin": [{ "perspective-origin": x() }],
rotate: [{ rotate: de() }],
@@ -32383,8 +32368,8 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"skew-x": [{ "skew-x": pe() }],
"skew-y": [{ "skew-y": pe() }],
transform: [{ transform: [
- qD,
- WD,
+ BD,
+ LD,
"",
"none",
"gpu",
@@ -32398,9 +32383,9 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"translate-z": [{ "translate-z": me() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
+ ND,
BD,
- qD,
- WD
+ LD
] }],
accent: [{ accent: F() }],
appearance: [{ appearance: ["none", "auto"] }],
@@ -32450,8 +32435,8 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"nwse-resize",
"zoom-in",
"zoom-out",
- qD,
- WD
+ BD,
+ LD
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -32537,15 +32522,15 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"scroll",
"contents",
"transform",
- qD,
- WD
+ BD,
+ LD
] }],
fill: [{ fill: ["none", ...F()] }],
"stroke-w": [{ stroke: [
- zD,
- JD,
- GD,
- Ufe
+ MD,
+ VD,
+ RD,
+ Yfe
] }],
stroke: [{ stroke: ["none", ...F()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -32803,16 +32788,16 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"selection"
]
};
-}, cpe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (QD(e, "cacheSize", t), QD(e, "prefix", n), QD(e, "experimentalParseClassName", r), $D(e.theme, a.theme), $D(e.classGroups, a.classGroups), $D(e.conflictingClassGroups, a.conflictingClassGroups), $D(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), QD(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), QD(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), eO(e.theme, i.theme), eO(e.classGroups, i.classGroups), eO(e.conflictingClassGroups, i.conflictingClassGroups), eO(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), tO(e, i, "postfixLookupClassGroups"), tO(e, i, "orderSensitiveModifiers"), e), QD = (e, t, n) => {
+}, mpe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (GD(e, "cacheSize", t), GD(e, "prefix", n), GD(e, "experimentalParseClassName", r), KD(e.theme, a.theme), KD(e.classGroups, a.classGroups), KD(e.conflictingClassGroups, a.conflictingClassGroups), KD(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), GD(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), GD(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), qD(e.theme, i.theme), qD(e.classGroups, i.classGroups), qD(e.conflictingClassGroups, i.conflictingClassGroups), qD(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), JD(e, i, "postfixLookupClassGroups"), JD(e, i, "orderSensitiveModifiers"), e), GD = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, $D = (e, t) => {
- if (t) for (let n in t) QD(e, n, t[n]);
-}, eO = (e, t) => {
- if (t) for (let n in t) tO(e, t, n);
-}, tO = (e, t, n) => {
+}, KD = (e, t) => {
+ if (t) for (let n in t) GD(e, n, t[n]);
+}, qD = (e, t) => {
+ if (t) for (let n in t) JD(e, t, n);
+}, JD = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, lpe = (e, ...t) => typeof e == "function" ? Efe(spe, e, ...t) : Efe(() => cpe(spe(), e), ...t), upe = [
+}, hpe = (e, ...t) => typeof e == "function" ? Mfe(ppe, e, ...t) : Mfe(() => mpe(ppe(), e), ...t), gpe = [
"large-title",
"display-1",
"display-2",
@@ -32826,18 +32811,18 @@ var yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"body-2",
"caption-1",
"caption-2"
-], dpe = [
+], _pe = [
"regular",
"medium",
"semibold",
"bold"
-], nO = lpe({ extend: { classGroups: { "font-size": [{ text: upe.flatMap((e) => dpe.map((t) => `${e}-${t}`)) }] } } });
-function rO(e) {
+], YD = hpe({ extend: { classGroups: { "font-size": [{ text: gpe.flatMap((e) => _pe.map((t) => `${e}-${t}`)) }] } } });
+function XD(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var iO = rO({
+var ZD = XD({
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",
@@ -32856,16 +32841,16 @@ var iO = rO({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function aO({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function QD({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
ref: r,
- className: nO(iO.base, iO.variant[e], iO.color[t], n),
+ className: YD(ZD.base, ZD.variant[e], ZD.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var oO = rO({
+var $D = XD({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -32924,40 +32909,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, x.jsxs)("button", {
ref: c,
type: s,
- className: nO(oO.base, oO.size[t], oO.variant[e], n && oO.iconOnlySize[t], o),
+ className: YD($D.base, $D.size[t], $D.variant[e], n && $D.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: oO.icon[t],
+ className: $D.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: oO.label[t],
+ className: $D.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {
- className: oO.icon[t],
+ className: $D.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function sO({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function eO({ 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: nO(oO.base, oO.size[t], oO.variant[e], n && oO.iconOnlySize[t], o),
+ className: YD($D.base, $D.size[t], $D.variant[e], n && $D.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: oO.icon[t],
+ className: $D.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: oO.label[t],
+ className: $D.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {
- className: oO.icon[t],
+ className: $D.icon[t],
"aria-hidden": !0
}) : null
]
@@ -32965,47 +32950,47 @@ function sO({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/react/components/card.tsx
-var fpe = "min-w-0", ppe = {
+var vpe = "min-w-0", ype = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, mpe = {
+}, bpe = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, hpe = {
+}, xpe = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, gpe = {
+}, Spe = {
none: "",
default: "p-5"
-}, _pe = "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", vpe = "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 cO(e = {}) {
+}, Cpe = "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", wpe = "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 tO(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 [
- fpe,
- ppe[t],
- mpe[s],
- gpe[n],
- a ? hpe[a] : "",
- r ? _pe : "",
- i ? vpe : "",
+ vpe,
+ ype[t],
+ bpe[s],
+ Spe[n],
+ a ? xpe[a] : "",
+ r ? Cpe : "",
+ i ? wpe : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var ype = {
+var Tpe = {
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 lO({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function nO({ 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 ${ype[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${Tpe[i]}`,
children: [
a ? /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
@@ -33035,7 +33020,7 @@ function lO({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function uO({ label: e, inline: t = !1 }) {
+function rO({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, x.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex shrink-0 items-center gap-1",
@@ -33104,7 +33089,7 @@ function K({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function dO({ children: e }) {
+function iO({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -33112,21 +33097,21 @@ function dO({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var fO = 100, bpe = .4;
-function pO({ 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 * fO;
+var aO = 100, Epe = .4;
+function oO({ 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 * aO;
return /* @__PURE__ */ (0, x.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": i,
"aria-valuenow": a(t),
- viewBox: `0 0 ${fO} 1`,
+ viewBox: `0 0 ${aO} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, x.jsx)("rect", {
- width: fO,
+ width: aO,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -33137,7 +33122,7 @@ function pO({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, x.jsx)("rect", {
x: o(e),
- width: bpe,
+ width: Epe,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -33154,7 +33139,7 @@ function q(e) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function mO(e = "") {
+function sO(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) {
@@ -33180,21 +33165,21 @@ function mO(e = "") {
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function xpe({ className: e, children: t }) {
+function Dpe({ className: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: nO("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: YD("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function Spe({ className: e, children: t }) {
+function Ope({ className: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
- className: nO("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: YD("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function hO({ label: e, description: t, children: n }) {
+function cO({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: nO("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: YD("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", {
@@ -33209,7 +33194,7 @@ function hO({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var gO = rO({
+var lO = XD({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -33233,15 +33218,15 @@ var gO = rO({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function _O({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = nO(gO.base, gO.size[t], gO.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+function uO({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = YD(lO.base, lO.size[t], lO.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
n ? /* @__PURE__ */ (0, x.jsx)(n, {
- className: gO.icon[t],
+ className: lO.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, x.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: gO.icon[t],
+ className: lO.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -33268,7 +33253,7 @@ function _O({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/settings/section.tsx
-function vO({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
+function dO({ 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]
@@ -33276,12 +33261,12 @@ function vO({ 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)(Spe, { children: o })
+ children: /* @__PURE__ */ (0, x.jsx)(Ope, { children: o })
}), /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex min-w-0 max-w-full",
children: r
})]
- }) : /* @__PURE__ */ (0, x.jsx)(Spe, { children: o }), /* @__PURE__ */ (0, x.jsx)(xpe, { children: a })] });
+ }) : /* @__PURE__ */ (0, x.jsx)(Ope, { children: o }), /* @__PURE__ */ (0, x.jsx)(Dpe, { children: a })] });
return i ? /* @__PURE__ */ (0, x.jsx)("form", {
id: n,
"aria-label": e,
@@ -33296,13 +33281,13 @@ function vO({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
children: s
});
}
-function yO({ children: e }) {
+function fO({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function bO({ divided: e = !1, children: t }) {
+function pO({ 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
@@ -33311,7 +33296,7 @@ function bO({ divided: e = !1, children: t }) {
children: t
});
}
-function xO({ status: e, children: t }) {
+function mO({ 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", {
@@ -33320,34 +33305,34 @@ function xO({ status: e, children: t }) {
}) : null, t]
});
}
-function SO({ role: e, children: t }) {
+function hO({ role: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function CO({ children: e }) {
+function gO({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function wO({ children: e }) {
+function _O({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function TO({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, x.jsx)(_O, {
+function vO({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, x.jsx)(uO, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: OD,
+ trailingIcon: xD,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -33355,13 +33340,13 @@ function TO({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function EO({ children: e }) {
+function yO({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function DO({ term: e, children: t }) {
+function bO({ 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", {
@@ -33373,7 +33358,7 @@ function DO({ term: e, children: t }) {
})]
});
}
-function OO({ summary: e, defaultOpen: t = !1, children: n }) {
+function xO({ summary: e, defaultOpen: t = !1, children: n }) {
let r = (0, b.useId)(), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(!1), [s, c] = (0, b.useState)(t);
return /* @__PURE__ */ (0, x.jsxs)("details", {
ref: (e) => {
@@ -33386,7 +33371,7 @@ function OO({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), i.current && a.current && (ya(i.current, a.current, !s), c(!s));
},
className: "flex w-fit cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [/* @__PURE__ */ (0, x.jsx)(CD, {
+ children: [/* @__PURE__ */ (0, x.jsx)(gD, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -33401,7 +33386,7 @@ function OO({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function Cpe({ name: e }) {
+function kpe({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -33410,22 +33395,22 @@ function Cpe({ name: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function kO({ mark: e }) {
+function SO({ 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)(Cpe, { name: e });
+ }) : /* @__PURE__ */ (0, x.jsx)(kpe, { name: e });
}
//#endregion
//#region src/react/activity/tasks.ts
-var wpe = "/api/tasks", Tpe = ["tasks"], Epe = (e, t) => B(`${wpe}?${new URLSearchParams({
+var Ape = "/api/tasks", jpe = ["tasks"], Mpe = (e, t) => tn(`${Ape}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function AO(...e) {
+function CO(...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) => {
@@ -33433,26 +33418,26 @@ function AO(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Dpe = 2e3, Ope = 1e4, kpe = (e) => e?.running.length ? Dpe : Ope, Ape = (e) => B(wpe, e);
-async function jpe(e) {
- await H.fetchQuery({
- queryKey: Tpe,
- queryFn: () => Ape(e)
+var Npe = 2e3, Ppe = 1e4, Fpe = (e) => e?.running.length ? Npe : Ppe, Ipe = (e) => tn(Ape, e);
+async function Lpe(e) {
+ await V.fetchQuery({
+ queryKey: jpe,
+ queryFn: () => Ipe(e)
});
}
-var jO = {
+var wO = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Mpe = {
+}, Rpe = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, Npe = (e) => Mpe[e] || e, Ppe = {
+}, zpe = (e) => Rpe[e] || e, Bpe = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -33482,7 +33467,7 @@ var jO = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function Fpe(e) {
+function Vpe(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -33491,7 +33476,7 @@ function Fpe(e) {
}
return t;
}
-function Ipe(e, t) {
+function Hpe(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -33513,12 +33498,12 @@ function Ipe(e, t) {
}
return n;
}
-var Lpe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), MO = (e) => e.status === "pending" || e.status === "running";
-function Rpe(e) {
+var Upe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), TO = (e) => e.status === "pending" || e.status === "running";
+function Wpe(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, zpe(e.error) || Vpe(e.result_summary) || (MO(e) && i > 0 ? `${PO(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, Gpe(e.error) || qpe(e.result_summary) || (TO(e) && i > 0 ? `${DO(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function NO(e) {
+function EO(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
@@ -33527,15 +33512,15 @@ function NO(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function PO(e, t) {
+function DO(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
-function zpe(e) {
+function Gpe(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 FO(e) {
+function OO(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -33545,7 +33530,7 @@ function FO(e) {
minute: "2-digit"
});
}
-var Bpe = /* @__PURE__ */ new Set([
+var Kpe = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -33554,46 +33539,46 @@ var Bpe = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function Vpe(e) {
- return Object.entries(e || {}).filter(([e, t]) => !Bpe.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Ppe[e] || e} ${typeof t == "number" ? t.toLocaleString() : t}`).join(" · ");
+function qpe(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !Kpe.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Bpe[e] || e} ${typeof t == "number" ? t.toLocaleString() : t}`).join(" · ");
}
//#endregion
//#region src/react/components/source-label.tsx
-function Hpe({ className: e }) {
+function Jpe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, x.jsx)(kO, { mark: qa[115] })
+ children: /* @__PURE__ */ (0, x.jsx)(SO, { mark: Ka[115] })
});
}
-function Upe({ className: e }) {
+function Ype({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, x.jsx)(kO, { mark: qa.pikpak })
+ children: /* @__PURE__ */ (0, x.jsx)(SO, { mark: Ka.pikpak })
});
}
-var Wpe = {
- 115: Hpe,
- pikpak: Upe
+var Xpe = {
+ 115: Jpe,
+ pikpak: Ype
};
-function IO({ source: e, label: t }) {
+function kO({ 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)(kO, { mark: qa[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
+ children: [/* @__PURE__ */ (0, x.jsx)(SO, { mark: Ka[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
});
}
//#endregion
//#region src/react/activity/downloads-panel.tsx
-var LO = "/api/downloads", RO = ["downloads"], Gpe = "/api/downloads/cancel", Kpe = "/api/downloads/postprocess", qpe = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Jpe = {
+var AO = "/api/downloads", jO = ["downloads"], Zpe = "/api/downloads/cancel", Qpe = "/api/downloads/postprocess", $pe = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, eme = {
ingested: "lime",
failed: "rose",
cancelled: "yellow",
stalled: "yellow"
-}, Ype = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, Xpe = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
-function Zpe() {
- let e = (0, b.useId)(), t = ft({
- queryKey: RO,
- queryFn: ({ signal: e }) => B(`${LO}?limit=50`, e),
- refetchInterval: (e) => qpe(e.state.data)
+}, tme = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, nme = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
+function rme() {
+ let e = (0, b.useId)(), t = ut({
+ queryKey: jO,
+ queryFn: ({ signal: e }) => tn(`${AO}?limit=50`, e),
+ refetchInterval: (e) => $pe(e.state.data)
}), n = t.data;
return !n?.tasks.length && !t.error ? null : /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-labelledby": e,
@@ -33611,7 +33596,7 @@ function Zpe() {
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)(Qpe, {
+ children: n.tasks.map((e) => /* @__PURE__ */ (0, x.jsx)(ime, {
task: e,
writable: n.available
}, e.id))
@@ -33619,15 +33604,15 @@ function Zpe() {
]
});
}
-function Qpe({ task: e, writable: t }) {
- let n = C(), r = mO(), [i, a] = (0, b.useState)(!1), o = Xpe(e), s = e.state === "failed" || e.postprocess_state === "failed", c = [
+function ime({ task: e, writable: t }) {
+ let n = C(), r = sO(), [i, a] = (0, b.useState)(!1), o = nme(e), s = e.state === "failed" || e.postprocess_state === "failed", c = [
e.code,
e.target,
- FO(e.submitted_at)
+ OO(e.submitted_at)
].filter(Boolean).join(" · "), l = () => {
- n.invalidateQueries({ queryKey: RO });
+ n.invalidateQueries({ queryKey: jO });
}, u = () => {
- r.run("cancel", (t) => V(Gpe, { id: e.id }, "POST", t), l);
+ r.run("cancel", (t) => B(Zpe, { id: e.id }, "POST", t), l);
}, d = () => {
let t = {
magnet: e.source_uri,
@@ -33637,16 +33622,16 @@ function Qpe({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => V(LO, t, "POST", e), l);
+ r.run("resubmit", (e) => B(AO, t, "POST", e), l);
}, f = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
}, p = () => {
- r.run("postprocess", (t) => V(Kpe, { id: e.id }, "POST", t), l);
+ r.run("postprocess", (t) => B(Qpe, { id: e.id }, "POST", t), l);
};
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: cO({
+ className: tO({
padding: "none",
bordered: "line",
className: s ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -33659,13 +33644,13 @@ function Qpe({ task: e, writable: t }) {
children: [
/* @__PURE__ */ (0, x.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
- children: Ype(e)
+ children: tme(e)
}),
- /* @__PURE__ */ (0, x.jsx)(aO, {
- color: Jpe[e.state] ?? "neutral",
+ /* @__PURE__ */ (0, x.jsx)(QD, {
+ color: eme[e.state] ?? "neutral",
children: e.state_label
}),
- e.state === "ingested" ? /* @__PURE__ */ (0, x.jsx)(aO, {
+ e.state === "ingested" ? /* @__PURE__ */ (0, x.jsx)(QD, {
color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : "yellow",
children: e.postprocess_label
}) : null
@@ -33673,7 +33658,7 @@ function Qpe({ 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)(IO, {
+ children: [/* @__PURE__ */ (0, x.jsx)(kO, {
source: e.provider,
label: e.provider_label
}), /* @__PURE__ */ (0, x.jsx)("span", {
@@ -33681,7 +33666,7 @@ function Qpe({ task: e, writable: t }) {
children: c
})]
}),
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)(pO, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)(oO, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -33690,7 +33675,7 @@ function Qpe({ 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)(CO, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, x.jsx)(gO, { children: r.error }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2 pt-1",
children: [
@@ -33735,8 +33720,8 @@ function Qpe({ task: e, writable: t }) {
}
//#endregion
//#region src/react/activity/error-excerpt.tsx
-function zO({ text: e, className: t = "" }) {
- let [n, r] = (0, b.useState)(!1), i = (0, b.useId)(), a = String(e || "").trim(), o = zpe(a);
+function MO({ text: e, className: t = "" }) {
+ let [n, r] = (0, b.useState)(!1), i = (0, b.useId)(), a = String(e || "").trim(), o = Gpe(a);
if (!o) return null;
let s = o !== a;
return /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -33762,23 +33747,23 @@ function zO({ text: e, className: t = "" }) {
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var $pe = {
+var ame = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function eme({ status: e }) {
- return /* @__PURE__ */ (0, x.jsx)(aO, {
- color: $pe[e] ?? "neutral",
- children: Npe(e)
+function ome({ status: e }) {
+ return /* @__PURE__ */ (0, x.jsx)(QD, {
+ color: ame[e] ?? "neutral",
+ children: zpe(e)
});
}
-function tme({ rows: e }) {
+function sme({ rows: e }) {
return /* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = Rpe(e);
+ let t = Wpe(e);
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -33788,7 +33773,7 @@ function tme({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, x.jsx)(eme, { status: e.status }),
+ /* @__PURE__ */ (0, x.jsx)(ome, { status: e.status }),
t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -33798,12 +33783,12 @@ function tme({ rows: e }) {
})
});
}
-function nme({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function cme({ 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: cO({
+ className: tO({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -33817,7 +33802,7 @@ function nme({ 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)(eme, { status: e.status })]
+ }), /* @__PURE__ */ (0, x.jsx)(ome, { status: e.status })]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -33828,15 +33813,15 @@ function nme({ 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)(OO, {
+ children: /* @__PURE__ */ (0, x.jsx)(xO, {
summary: `任务明细 · ${i.length} 项`,
- defaultOpen: i.some((e) => MO(e) || e.status === "failed"),
- children: /* @__PURE__ */ (0, x.jsx)(tme, { rows: i })
+ defaultOpen: i.some((e) => TO(e) || e.status === "failed"),
+ children: /* @__PURE__ */ (0, x.jsx)(sme, { 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)(zO, {
+ children: /* @__PURE__ */ (0, x.jsx)(MO, {
text: r,
className: "text-caption-1-regular text-text-secondary"
})
@@ -33844,15 +33829,15 @@ function nme({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function rme({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = NO(e.elapsed_seconds), o = [jO[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, x.jsx)(nme, {
+function lme({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = EO(e.elapsed_seconds), o = [wO[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, x.jsx)(cme, {
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)(pO, {
+ children: [/* @__PURE__ */ (0, x.jsx)(oO, {
label: i,
value: Math.min(r, n),
max: n
@@ -33861,24 +33846,24 @@ function rme({ run: e, followups: t }) {
children: [
i,
" · ",
- PO(r, n),
+ DO(r, n),
" 项"
]
})]
- }) : /* @__PURE__ */ (0, x.jsx)(uO, { label: i })
+ }) : /* @__PURE__ */ (0, x.jsx)(rO, { label: i })
});
}
-function BO({ run: e, followups: t, runs: n }) {
- let r = Vpe(e.result_summary), i = NO(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- jO[e.trigger] || e.trigger,
+function NO({ run: e, followups: t, runs: n }) {
+ let r = qpe(e.result_summary), i = EO(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ wO[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${FO(a.finished_at)} – ${FO(e.finished_at)}`
+ `${OO(a.finished_at)} – ${OO(e.finished_at)}`
] : [
- jO[e.trigger] || e.trigger,
- FO(e.finished_at),
+ wO[e.trigger] || e.trigger,
+ OO(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, x.jsx)(nme, {
+ return /* @__PURE__ */ (0, x.jsx)(cme, {
run: e,
meta: o,
footer: e.error,
@@ -33889,7 +33874,7 @@ function BO({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function VO({ title: e, children: t }) {
+function PO({ title: e, children: t }) {
let n = (0, b.useId)();
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-labelledby": n,
@@ -33901,41 +33886,41 @@ function VO({ title: e, children: t }) {
}), t]
});
}
-function HO({ live: e = !1, children: t }) {
+function FO({ 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 ime() {
- let e = ft({
- queryKey: Tpe,
- queryFn: ({ signal: e }) => Ape(e),
- refetchInterval: (e) => kpe(e.state.data)
+function ume() {
+ let e = ut({
+ queryKey: jpe,
+ queryFn: ({ signal: e }) => Ipe(e),
+ refetchInterval: (e) => Fpe(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(AO(r, s)));
- let l = pt({
- mutationFn: ({ oldest: e }) => Epe(e),
+ n !== s && (c(n), r.length && s && i(CO(r, s)));
+ let l = dt({
+ mutationFn: ({ oldest: e }) => Mpe(e),
onSuccess: (e, { shown: t }) => {
- i((n) => AO(n, t, e.finished || [])), o(!!e.finished_has_more);
+ i((n) => CO(n, t, e.finished || [])), o(!!e.finished_has_more);
}
}), u = e.error ? z(e.error) : "";
- if (!t) return /* @__PURE__ */ (0, x.jsx)(dO, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!t) return /* @__PURE__ */ (0, x.jsx)(iO, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: u || "读取任务中心失败"
}) });
- let d = AO(t.finished || [], r), f = [
+ let d = CO(t.finished || [], r), f = [
...t.running || [],
...t.skipped || [],
...d
- ], p = Fpe(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 = Vpe(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(MO)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = Ipe(T, (e) => Lpe(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;
- return /* @__PURE__ */ (0, x.jsxs)(dO, { children: [
+ }, S = g.filter((e) => p.get(e.id)?.some(TO)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = Hpe(T, (e) => Upe(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;
+ return /* @__PURE__ */ (0, x.jsxs)(iO, { children: [
u ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: u
@@ -33944,20 +33929,20 @@ function ime() {
tone: "warning",
children: t.message || "账本上还没有任务中心的表"
}) : null,
- D ? /* @__PURE__ */ (0, x.jsx)(lO, {
+ D ? /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: AD,
+ icon: CD,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(VO, {
+ /* @__PURE__ */ (0, x.jsx)(PO, {
title: "正在进行",
- children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(HO, {
+ children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(FO, {
live: !0,
- children: [C.map((e) => /* @__PURE__ */ (0, x.jsx)(rme, {
+ children: [C.map((e) => /* @__PURE__ */ (0, x.jsx)(lme, {
run: e,
followups: p.get(e.id)
- }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(BO, {
+ }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(NO, {
run: e,
followups: p.get(e.id)
}, e.id))]
@@ -33966,17 +33951,17 @@ function ime() {
children: "没有任务在跑。"
})
}),
- w.length ? /* @__PURE__ */ (0, x.jsx)(VO, {
+ w.length ? /* @__PURE__ */ (0, x.jsx)(PO, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, x.jsx)(HO, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(BO, {
+ children: /* @__PURE__ */ (0, x.jsx)(FO, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(NO, {
run: e,
followups: p.get(e.id)
}, e.id)) })
}) : null,
- T.length || v ? /* @__PURE__ */ (0, x.jsxs)(VO, {
+ T.length || v ? /* @__PURE__ */ (0, x.jsxs)(PO, {
title: "最近完成",
children: [
- T.length ? /* @__PURE__ */ (0, x.jsx)(HO, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(BO, {
+ T.length ? /* @__PURE__ */ (0, x.jsx)(FO, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(NO, {
run: e,
runs: t,
followups: p.get(e.id)
@@ -33988,7 +33973,7 @@ function ime() {
v ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: xD,
+ leadingIcon: mD,
className: "self-start",
...q(l.isPending),
onClick: y,
@@ -33997,12 +33982,12 @@ function ime() {
]
}) : null
] }),
- /* @__PURE__ */ (0, x.jsx)(Zpe, {})
+ /* @__PURE__ */ (0, x.jsx)(rme, {})
] });
}
//#endregion
//#region src/react/components/use-stuck.ts
-function ame(e) {
+function dme(e) {
(0, b.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -34020,9 +34005,9 @@ function ame(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function ome({ title: e, children: t }) {
+function fme({ title: e, children: t }) {
let n = (0, b.useRef)(null);
- return ame(n), /* @__PURE__ */ (0, x.jsxs)("div", {
+ return dme(n), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -34035,52 +34020,52 @@ function ome({ title: e, children: t }) {
}), t]
});
}
-function UO({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function IO({ 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 ame(d), /* @__PURE__ */ (0, x.jsxs)("div", {
+ return dme(d), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: nO("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: YD("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: nO("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: YD("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: nO("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: YD("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
})
]
});
}
-var sme = "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 WO({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var pme = "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 LO({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: nO(sme, r),
+ className: YD(pme, r),
onClick: n,
children: e
});
}
-var cme = "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 GO({ children: e, onPress: t, busy: n = !1 }) {
+var mme = "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 RO({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: cme,
+ className: mme,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -34091,13 +34076,13 @@ function GO({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/components/use-view-glide.ts
-var lme = (e, t) => [
+var hme = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function ume(e, t, n) {
+function gme(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;
@@ -34121,17 +34106,17 @@ function ume(e, t, n) {
h: e.offsetHeight
};
}
-function KO(e, t, n, r, { axis: i = "x" } = {}) {
+function zO(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 ? ume(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? gme(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 && lme(f, d)) && Go(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && hme(f, d)) && Uo(s, o ? f : null, d, i);
}, [
e,
t,
@@ -34152,8 +34137,8 @@ function KO(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 ? ume(o, r, i) : null, l = a.current;
- (!s || !l || !lme(s, l)) && c();
+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? gme(o, r, i) : null, l = a.current;
+ (!s || !l || !hme(s, l)) && c();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -34185,12 +34170,12 @@ function KO(e, t, n, r, { axis: i = "x" } = {}) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var qO = Symbol("default");
-function JO({ values: e, children: t }) {
+var BO = Symbol("default");
+function VO({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ b.createElement(n.Provider, { value: r }, t);
return t;
}
-function YO(e) {
+function HO(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;
@@ -34224,11 +34209,11 @@ function YO(e) {
c
]);
}
-function XO(e, t) {
+function UO(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 || qO;
+ let e = t || BO;
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}.`);
@@ -34237,8 +34222,8 @@ function XO(e, t) {
}
return n;
}
-function ZO(e, t, n) {
- let { ref: r, ...i } = XO(n, e.slot) || {}, a = nv((0, b.useMemo)(() => q_(t, r), [t, r])), o = W(i, e);
+function WO(e, t, n) {
+ let { ref: r, ...i } = UO(n, e.slot) || {}, a = $_((0, b.useMemo)(() => W_(t, r), [t, r])), o = W(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,
@@ -34256,7 +34241,7 @@ function ZO(e, t, n) {
...e.style
}), [o, a];
}
-function QO(e = !0) {
+function GO(e = !0) {
let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(!1), i = (0, b.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -34264,13 +34249,13 @@ function QO(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function $O(e) {
+function KO(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function dme(e, t, n) {
- let { render: r, ...i } = t, a = (0, b.useRef)(null), o = (0, b.useMemo)(() => q_(n, a), [n, a]);
+function _me(e, t, n) {
+ let { render: r, ...i } = t, a = (0, b.useRef)(null), o = (0, b.useMemo)(() => W_(n, a), [n, a]);
t_(() => {}, [e, r]);
let s = {
...i,
@@ -34278,20 +34263,20 @@ function dme(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ b.createElement(e, s);
}
-var fme = {}, ek = new Proxy({}, { get(e, t) {
+var vme = {}, qO = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = fme[t];
- return n || (n = /*#__PURE__*/ (0, b.forwardRef)(dme.bind(null, t)), fme[t] = n), n;
-} }), tk = /*#__PURE__*/ (0, b.createContext)(null), nk = /*#__PURE__*/ (0, b.createContext)(null), pme = /*#__PURE__*/ (0, b.createContext)(null), rk = {
+ let n = vme[t];
+ return n || (n = /*#__PURE__*/ (0, b.forwardRef)(_me.bind(null, t)), vme[t] = n), n;
+} }), JO = /*#__PURE__*/ (0, b.createContext)(null), YO = /*#__PURE__*/ (0, b.createContext)(null), XO = /*#__PURE__*/ (0, b.createContext)(null), ZO = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return mme(e, null, t);
+ return yme(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return mme(e, t, n);
+ return yme(e, t, n);
}
};
-function mme(e, t, n) {
- return Lg({
+function yme(e, t, n) {
+ return Fg({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -34301,11 +34286,11 @@ function mme(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, hme(e, t, n));
+ }), r, bme(e, t, n));
}
});
}
-function hme(e, t, n) {
+function bme(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);
@@ -34324,25 +34309,25 @@ function hme(e, t, n) {
}
return s;
}
-var ik = /*#__PURE__*/ (0, b.createContext)(rk);
-function gme(e) {
+var QO = /*#__PURE__*/ (0, b.createContext)(ZO);
+function xme(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 ak = /*#__PURE__*/ (0, b.createContext)({}), _me = /*#__PURE__*/ sv(function(e, t) {
- [e, t] = ZO(e, t, ak);
- let { elementType: n = "label", ...r } = e, i = ek[n];
+var $O = /*#__PURE__*/ (0, b.createContext)({}), Sme = /*#__PURE__*/ iv(function(e, t) {
+ [e, t] = WO(e, t, $O);
+ let { elementType: n = "label", ...r } = e, i = qO[n];
return /*#__PURE__*/ b.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), vme = /*#__PURE__*/ (0, b.createContext)(null), ok = /*#__PURE__*/ (0, b.createContext)({}), sk = /*#__PURE__*/ sv(function(e, t) {
- [e, t] = ZO(e, t, ok);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Fae(e, t);
- i = bme(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = tx(e), { hoverProps: l, isHovered: u } = ax({
+}), Cme = /*#__PURE__*/ (0, b.createContext)(null), ek = /*#__PURE__*/ (0, b.createContext)({}), wme = /*#__PURE__*/ iv(function(e, t) {
+ [e, t] = WO(e, t, ek);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Lae(e, t);
+ i = Eme(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = $b(e), { hoverProps: l, isHovered: u } = rx({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -34352,24 +34337,24 @@ var ak = /*#__PURE__*/ (0, b.createContext)({}), _me = /*#__PURE__*/ sv(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = YO({
+ }, f = HO({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = G_(i.id), m = G_(), h = i["aria-labelledby"];
+ }), p = H_(i.id), m = H_(), 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) && Cy(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && vy(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = Bv(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ b.createElement(ek.button, {
+ let _ = Lv(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ b.createElement(qO.button, {
...W(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -34383,62 +34368,62 @@ var ak = /*#__PURE__*/ (0, b.createContext)({}), _me = /*#__PURE__*/ sv(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ b.createElement(vme.Provider, { value: { id: m } }, f.children));
-}), yme = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function bme(e, t) {
+ }, /*#__PURE__*/ b.createElement(Cme.Provider, { value: { id: m } }, f.children));
+}), Tme = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function Eme(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !yme.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !Tme.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 ck = /*#__PURE__*/ (0, b.createContext)({}), lk = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = ZO(e, t, ck);
- let { children: n, level: r = 3, className: i, ...a } = e, o = ek[`h${r}`];
+var tk = /*#__PURE__*/ (0, b.createContext)({}), nk = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = WO(e, t, tk);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = qO[`h${r}`];
return /*#__PURE__*/ b.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), uk = /*#__PURE__*/ (0, b.createContext)({}), xme = /*#__PURE__*/ sv(function(e, t) {
- [e, t] = ZO(e, t, uk);
- let { elementType: n = "span", ...r } = e, i = ek[n];
+}), rk = /*#__PURE__*/ (0, b.createContext)({}), Dme = /*#__PURE__*/ iv(function(e, t) {
+ [e, t] = WO(e, t, rk);
+ let { elementType: n = "span", ...r } = e, i = qO[n];
return /*#__PURE__*/ b.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), dk = /*#__PURE__*/ (0, b.createContext)(null), fk = /*#__PURE__*/ (0, b.createContext)(null), pk = /*#__PURE__*/ (0, b.createContext)(null), mk = /*#__PURE__*/ (0, b.createContext)(null), Sme = /*#__PURE__*/ (0, b.createContext)(null), hk = /*#__PURE__*/ (0, b.createContext)(null);
-function Cme(e, t) {
- let { validationBehavior: n } = XO(fk) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(Sme), a = nv((0, b.useMemo)(() => q_(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...$O(e),
+}), ik = /*#__PURE__*/ (0, b.createContext)(null), ak = /*#__PURE__*/ (0, b.createContext)(null), ok = /*#__PURE__*/ (0, b.createContext)(null), Ome = /*#__PURE__*/ (0, b.createContext)(null), kme = /*#__PURE__*/ (0, b.createContext)(null), Ame = /*#__PURE__*/ (0, b.createContext)(null);
+function jme(e, t) {
+ let { validationBehavior: n } = UO(ak) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(kme), a = $_((0, b.useMemo)(() => W_(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...KO(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? moe(o, i, a) : uoe(o, Hy(e), a), a];
+ return [i ? voe(o, i, a) : moe(o, Ly(e), a), a];
}
-var wme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+var Mme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = ZO(r, t, pk);
- let [i, a] = Cme(e, n);
- return /*#__PURE__*/ b.createElement(hk.Provider, { value: {
+ [e, t] = WO(r, t, ok);
+ let [i, a] = jme(e, n);
+ return /*#__PURE__*/ b.createElement(Ame.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ b.createElement(Tme, {
+ } }, /*#__PURE__*/ b.createElement(Nme, {
...e,
ref: t
}));
-}), Tme = /*#__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)(hk), { isFocused: p, isFocusVisible: m, focusProps: h } = tx(), g = a || o, { hoverProps: _, isHovered: v } = ax({
+}), Nme = /*#__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)(Ame), { isFocused: p, isFocusVisible: m, focusProps: h } = $b(), g = a || o, { hoverProps: _, isHovered: v } = rx({
...e,
isDisabled: g
- }), y = YO({
+ }), y = HO({
...e,
defaultClassName: u,
values: {
@@ -34453,8 +34438,8 @@ var wme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), x = Bv(e, { global: !0 });
- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(ek.label, {
+ }), x = Lv(e, { global: !0 });
+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(qO.label, {
...W(x, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -34468,20 +34453,20 @@ var wme = /*#__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(Gy, { elementType: "span" }, /*#__PURE__*/ b.createElement("input", {
+ }, /*#__PURE__*/ b.createElement(By, { elementType: "span" }, /*#__PURE__*/ b.createElement("input", {
...W(r, h),
ref: l
})), y.children);
-}), gk = /*#__PURE__*/ (0, b.createContext)({}), Eme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = ZO(e, t, gk);
+}), Pme = /*#__PURE__*/ (0, b.createContext)({}), Fme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = WO(e, t, Pme);
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 } = ax({
+ let { hoverProps: l, isHovered: u } = rx({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = tx({ within: !0 }), m = YO({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = $b({ within: !0 }), m = HO({
...e,
values: {
isHovered: u,
@@ -34492,7 +34477,7 @@ var wme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ b.createElement(ek.div, {
+ return /*#__PURE__*/ b.createElement(qO.div, {
...W(c, p, l),
...m,
ref: t,
@@ -34505,18 +34490,18 @@ var wme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), _k = /*#__PURE__*/ (0, b.createContext)({}), Dme = (e) => {
+}), Ime = /*#__PURE__*/ (0, b.createContext)({}), Lme = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Ome = /*#__PURE__*/ sv(function(e, t) {
- [e, t] = ZO(e, t, _k);
- let { hoverProps: n, isHovered: r } = ax({
+}, Rme = /*#__PURE__*/ iv(function(e, t) {
+ [e, t] = WO(e, t, Ime);
+ let { hoverProps: n, isHovered: r } = rx({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = tx({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = $b({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = YO({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = HO({
...e,
values: {
isHovered: r,
@@ -34527,8 +34512,8 @@ var wme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ b.createElement(ek.input, {
- ...W(Dme(e), o, n),
+ return /*#__PURE__*/ b.createElement(qO.input, {
+ ...W(Lme(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -34537,8 +34522,8 @@ var wme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), kme = {};
-kme = {
+}), zme = {};
+zme = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -34546,8 +34531,8 @@ kme = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var Ame = {};
-Ame = {
+var Bme = {};
+Bme = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -34555,8 +34540,8 @@ Ame = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var jme = {};
-jme = {
+var sk = {};
+sk = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -34564,8 +34549,8 @@ jme = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var Mme = {};
-Mme = {
+var ck = {};
+ck = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -34573,8 +34558,8 @@ Mme = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var Nme = {};
-Nme = {
+var lk = {};
+lk = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -34582,8 +34567,8 @@ Nme = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var Pme = {};
-Pme = {
+var uk = {};
+uk = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -34591,8 +34576,8 @@ Pme = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var Fme = {};
-Fme = {
+var dk = {};
+dk = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -34600,8 +34585,8 @@ Fme = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var Ime = {};
-Ime = {
+var fk = {};
+fk = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -34609,8 +34594,8 @@ Ime = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var Lme = {};
-Lme = {
+var pk = {};
+pk = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -34618,8 +34603,8 @@ Lme = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var vk = {};
-vk = {
+var mk = {};
+mk = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -34627,8 +34612,8 @@ vk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var yk = {};
-yk = {
+var hk = {};
+hk = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -34636,8 +34621,8 @@ yk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var bk = {};
-bk = {
+var gk = {};
+gk = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -34645,8 +34630,8 @@ bk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var xk = {};
-xk = {
+var _k = {};
+_k = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -34654,8 +34639,8 @@ xk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var Sk = {};
-Sk = {
+var vk = {};
+vk = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -34663,8 +34648,8 @@ Sk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var Ck = {};
-Ck = {
+var yk = {};
+yk = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -34672,8 +34657,8 @@ Ck = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var wk = {};
-wk = {
+var bk = {};
+bk = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -34681,8 +34666,8 @@ wk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var Tk = {};
-Tk = {
+var xk = {};
+xk = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -34690,8 +34675,8 @@ Tk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var Ek = {};
-Ek = {
+var Sk = {};
+Sk = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -34699,8 +34684,8 @@ Ek = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var Dk = {};
-Dk = {
+var Ck = {};
+Ck = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -34708,8 +34693,8 @@ Dk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var Ok = {};
-Ok = {
+var wk = {};
+wk = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -34717,8 +34702,8 @@ Ok = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var kk = {};
-kk = {
+var Tk = {};
+Tk = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -34726,8 +34711,8 @@ kk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var Ak = {};
-Ak = {
+var Ek = {};
+Ek = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -34735,8 +34720,8 @@ Ak = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var jk = {};
-jk = {
+var Dk = {};
+Dk = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -34744,8 +34729,8 @@ jk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var Mk = {};
-Mk = {
+var Ok = {};
+Ok = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -34753,8 +34738,8 @@ Mk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var Nk = {};
-Nk = {
+var kk = {};
+kk = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -34762,8 +34747,8 @@ Nk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var Pk = {};
-Pk = {
+var Ak = {};
+Ak = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -34771,8 +34756,8 @@ Pk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var Fk = {};
-Fk = {
+var jk = {};
+jk = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -34780,8 +34765,8 @@ Fk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var Ik = {};
-Ik = {
+var Mk = {};
+Mk = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -34789,8 +34774,8 @@ Ik = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var Lk = {};
-Lk = {
+var Nk = {};
+Nk = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -34798,8 +34783,8 @@ Lk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var Rk = {};
-Rk = {
+var Pk = {};
+Pk = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -34807,8 +34792,8 @@ Rk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var zk = {};
-zk = {
+var Fk = {};
+Fk = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -34816,8 +34801,8 @@ zk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var Bk = {};
-Bk = {
+var Ik = {};
+Ik = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -34825,8 +34810,8 @@ Bk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var Vk = {};
-Vk = {
+var Lk = {};
+Lk = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -34834,8 +34819,8 @@ Vk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var Hk = {};
-Hk = {
+var Rk = {};
+Rk = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -34843,52 +34828,52 @@ Hk = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var Uk = {};
-Uk = {
- "ar-AE": kme,
- "bg-BG": Ame,
- "cs-CZ": jme,
- "da-DK": Mme,
- "de-DE": Nme,
- "el-GR": Pme,
- "en-US": Fme,
- "es-ES": Ime,
- "et-EE": Lme,
- "fi-FI": vk,
- "fr-FR": yk,
- "he-IL": bk,
- "hr-HR": xk,
- "hu-HU": Sk,
- "it-IT": Ck,
- "ja-JP": wk,
- "ko-KR": Tk,
- "lt-LT": Ek,
- "lv-LV": Dk,
- "nb-NO": Ok,
- "nl-NL": kk,
- "pl-PL": Ak,
- "pt-BR": jk,
- "pt-PT": Mk,
- "ro-RO": Nk,
- "ru-RU": Pk,
- "sk-SK": Fk,
- "sl-SI": Ik,
- "sr-SP": Lk,
- "sv-SE": Rk,
- "tr-TR": zk,
- "uk-UA": Bk,
- "zh-CN": Vk,
- "zh-TW": Hk
+var zk = {};
+zk = {
+ "ar-AE": zme,
+ "bg-BG": Bme,
+ "cs-CZ": sk,
+ "da-DK": ck,
+ "de-DE": lk,
+ "el-GR": uk,
+ "en-US": dk,
+ "es-ES": fk,
+ "et-EE": pk,
+ "fi-FI": mk,
+ "fr-FR": hk,
+ "he-IL": gk,
+ "hr-HR": _k,
+ "hu-HU": vk,
+ "it-IT": yk,
+ "ja-JP": bk,
+ "ko-KR": xk,
+ "lt-LT": Sk,
+ "lv-LV": Ck,
+ "nb-NO": wk,
+ "nl-NL": Tk,
+ "pl-PL": Ek,
+ "pt-BR": Dk,
+ "pt-PT": Ok,
+ "ro-RO": kk,
+ "ru-RU": Ak,
+ "sk-SK": jk,
+ "sl-SI": Mk,
+ "sr-SP": Nk,
+ "sv-SE": Pk,
+ "tr-TR": Fk,
+ "uk-UA": Ik,
+ "zh-CN": Lk,
+ "zh-TW": Rk
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var Wk = /*#__PURE__*/ (0, b.createContext)({}), Gk = /*#__PURE__*/ (0, b.createContext)(null), Rme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { render: n } = (0, b.useContext)(Gk);
+var Bk = /*#__PURE__*/ (0, b.createContext)({}), Vk = /*#__PURE__*/ (0, b.createContext)(null), Vme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { render: n } = (0, b.useContext)(Vk);
return /*#__PURE__*/ b.createElement(b.Fragment, null, n(e, t));
});
-function Kk(e, t) {
+function Hk(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(Rme, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ b.createElement(Vme, { target: e });
}, [
t?.target,
r,
@@ -34896,7 +34881,7 @@ function Kk(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function qk(e, t, n) {
+function Uk(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;
@@ -34918,14 +34903,14 @@ function qk(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var Jk = /*#__PURE__*/ (0, b.createContext)({}), zme = /*#__PURE__*/ (0, b.createContext)(null);
-function Yk(e) {
+var Hme = /*#__PURE__*/ (0, b.createContext)({}), Ume = /*#__PURE__*/ (0, b.createContext)(null);
+function Wk(e) {
let t = (0, b.useRef)({});
- return /*#__PURE__*/ b.createElement(zme.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ b.createElement(Ume.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var Xk = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), Zk = /*#__PURE__*/ (0, b.createContext)({}), Bme = /*#__PURE__*/ hv(class extends Ng {
+var Gk = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), Kk = /*#__PURE__*/ (0, b.createContext)({}), Wme = /*#__PURE__*/ fv(class extends jg {
static {
this.type = "separator";
}
@@ -34938,14 +34923,14 @@ var Xk = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), Zk = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = ZO(e, t, Zk);
+ [e, t] = WO(e, t, Kk);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = ek[c], { separatorProps: u } = xse({
+ let l = qO[c], { separatorProps: u } = Sse({
...s,
elementType: n,
orientation: r
- }), d = Bv(e, { global: !0 });
+ }), d = Lv(e, { global: !0 });
return /*#__PURE__*/ b.createElement(l, {
render: e.render,
...W(d, u),
@@ -34957,13 +34942,13 @@ var Xk = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), Zk = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function Qk(e) {
+function qk(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 $k = class {
+var Gme = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -35007,20 +34992,20 @@ var $k = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, eA = class e extends Set {
+}, Jk = 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 Vme(e, t) {
+function Kme(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function tA(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] = Vy((0, b.useMemo)(() => nA(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => nA(e.defaultSelectedKeys, new eA()), [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 Yk(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] = Iy((0, b.useMemo)(() => qme(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => qme(e.defaultSelectedKeys, new Jk()), [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)(() => {
@@ -35047,18 +35032,18 @@ function tA(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Vme(e, d)) && f(e);
+ (r || !Kme(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function nA(e, t) {
- return e ? e === "all" ? "all" : new eA(e) : t;
+function qme(e, t) {
+ return e ? e === "all" ? "all" : new Jk(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var rA = class e {
+var Xk = class e {
constructor(e, t, n) {
this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;
}
@@ -35114,7 +35099,7 @@ var rA = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Ub(this.collection, n, e) < 0) && (e = n);
+ (!e || n && Vb(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -35122,7 +35107,7 @@ var rA = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Ub(this.collection, n, e) > 0) && (e = n);
+ (!e || n && Vb(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -35141,10 +35126,10 @@ var rA = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new eA([t], t, t);
+ if (this.state.selectedKeys === "all") n = new Jk([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new eA(e, r, t);
+ n = new Jk(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);
}
@@ -35152,7 +35137,7 @@ var rA = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? Ub(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? Vb(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);
@@ -35178,19 +35163,19 @@ var rA = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new eA(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new Jk(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 eA([t], t, t) : new eA();
+ let n = this.canSelectItem(t) ? new Jk([t], t, t) : new Jk();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new eA();
+ let t = new Jk();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -35202,7 +35187,7 @@ var rA = 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(Bb(zb(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Rb(Lb(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -35213,7 +35198,7 @@ var rA = 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 eA());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new Jk());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -35254,9 +35239,9 @@ var rA = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Hme = class {
+}, Jme = class {
build(e, t) {
- return this.context = t, Ume(() => this.iterateCollection(e));
+ return this.context = t, Yme(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -35338,10 +35323,10 @@ var rA = class e {
...a,
key: l,
index: s,
- wrapper: Wme(e.wrapper, a.wrapper)
+ wrapper: Xme(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 <${iA(t.type)}> in <${iA(r?.type ?? "unknown parent type")}>. Only <${iA(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 <${Zk(t.type)}> in <${Zk(r?.type ?? "unknown parent type")}>. Only <${Zk(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -35363,7 +35348,7 @@ var rA = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: Ume(function* () {
+ childNodes: Yme(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -35382,7 +35367,7 @@ var rA = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function Ume(e) {
+function Yme(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -35390,18 +35375,18 @@ function Ume(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Wme(e, t) {
+function Xme(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function iA(e) {
+function Zk(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function aA(e, t, n) {
- let r = (0, b.useMemo)(() => new Hme(), []), { children: i, items: a, collection: o } = e;
+function Qk(e, t, n) {
+ let r = (0, b.useMemo)(() => new Jme(), []), { children: i, items: a, collection: o } = e;
return (0, b.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -35416,27 +35401,27 @@ function aA(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function oA(e) {
- let { filter: t, layoutDelegate: n } = e, r = tA(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = aA(e, (0, b.useCallback)((e) => t ? new $k(t(e)) : new $k(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new rA(a, r, { layoutDelegate: n }), [
+function $k(e) {
+ let { filter: t, layoutDelegate: n } = e, r = Yk(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = Qk(e, (0, b.useCallback)((e) => t ? new Gme(t(e)) : new Gme(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new Xk(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return Kme(a, o), {
+ return Qme(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function Gme(e, t) {
+function Zme(e, t) {
let n = (0, b.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return Kme(n, r), {
+ return Qme(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function Kme(e, t) {
+function Qme(e, t) {
let n = (0, b.useRef)(null);
(0, b.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -35464,15 +35449,15 @@ function Kme(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function sA(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, b.useRef)(null), s = wv((e) => {
+function eA(e, t) {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, b.useRef)(null), s = xv((e) => {
for (let t of e) t.isIntersecting && r && r();
});
t_(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: Ty(t?.current),
+ root: by(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -35488,42 +35473,42 @@ function sA(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var cA = /*#__PURE__*/ (0, b.createContext)(null), lA = /*#__PURE__*/ (0, b.createContext)(null), qme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = ZO(e, t, cA);
- let n = (0, b.useContext)(lA);
- return n ? /*#__PURE__*/ b.createElement(Yme, {
+var tA = /*#__PURE__*/ (0, b.createContext)(null), nA = /*#__PURE__*/ (0, b.createContext)(null), $me = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = WO(e, t, tA);
+ let n = (0, b.useContext)(nA);
+ return n ? /*#__PURE__*/ b.createElement(the, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ b.createElement(fv, { content: /*#__PURE__*/ b.createElement(yv, e) }, (n) => /*#__PURE__*/ b.createElement(Jme, {
+ }) : /*#__PURE__*/ b.createElement(lv, { content: /*#__PURE__*/ b.createElement(gv, e) }, (n) => /*#__PURE__*/ b.createElement(ehe, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function Jme({ props: e, listBoxRef: t, collection: n }) {
+function ehe({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, b.useContext)(ik), i = oA({
+ let { layoutDelegate: r } = (0, b.useContext)(QO), i = $k({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ b.createElement(Yme, {
+ return /*#__PURE__*/ b.createElement(the, {
state: i,
props: e,
listBoxRef: t
});
}
-function Yme({ state: e, props: t, listBoxRef: n }) {
- [t, n] = ZO(t, n, tk);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Gme(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Mv(), { disabledBehavior: p, disabledKeys: m } = l, h = Jb({
+function the({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = WO(t, n, JO);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Zme(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = kv(), { disabledBehavior: p, disabledKeys: m } = l, h = Kb({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(ik), x = (0, b.useMemo)(() => t.keyboardDelegate || new Qy({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(QO), x = (0, b.useMemo)(() => t.keyboardDelegate || new Jy({
collection: c,
collator: h,
ref: n,
@@ -35544,7 +35529,7 @@ function Yme({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: S } = qoe({
+ ]), { listBoxProps: S } = Joe({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: x,
@@ -35576,7 +35561,7 @@ function Yme({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, w, n), E = w.isDropTarget({ type: "root" });
}
- let { focusProps: k, isFocused: A, isFocusVisible: j } = tx(), M = s.collection.size === 0, N = {
+ let { focusProps: k, isFocused: A, isFocusVisible: j } = $b(), M = s.collection.size === 0, N = {
isDropTarget: E,
isEmpty: M,
isFocused: A,
@@ -35584,7 +35569,7 @@ function Yme({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, P = YO({
+ }, P = HO({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -35594,8 +35579,8 @@ function Yme({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(N)));
- let F = Bv(t, { global: !0 });
- return /*#__PURE__*/ b.createElement(ly, null, /*#__PURE__*/ b.createElement(ek.div, {
+ let F = Lv(t, { global: !0 });
+ return /*#__PURE__*/ b.createElement(oy, null, /*#__PURE__*/ b.createElement(qO.div, {
...W(F, P, S, k, T?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -35606,60 +35591,60 @@ function Yme({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": j || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ b.createElement(JO, { values: [
- [cA, t],
- [lA, s],
- [Wk, {
+ }, /*#__PURE__*/ b.createElement(VO, { values: [
+ [tA, t],
+ [nA, s],
+ [Bk, {
dragAndDropHooks: r,
dragState: C,
dropState: w
}],
- [Zk, { elementType: "div" }],
- [Gk, { render: Qme }],
- [pme, {
+ [Kk, { elementType: "div" }],
+ [Vk, { render: ihe }],
+ [XO, {
name: "ListBoxSection",
- render: Xme
+ render: nhe
}]
- ] }, /*#__PURE__*/ b.createElement(Yk, null, /*#__PURE__*/ b.createElement(y, {
+ ] }, /*#__PURE__*/ b.createElement(Wk, null, /*#__PURE__*/ b.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: qk(l, r, w),
- renderDropIndicator: Kk(r, w)
+ persistedKeys: Uk(l, r, w),
+ renderDropIndicator: Hk(r, w)
}))), ee, D));
}
-function Xme(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, b.useContext)(lA), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(Wk), { CollectionBranch: s } = (0, b.useContext)(ik), [c, l] = QO(), { headingProps: u, groupProps: d } = Joe({
+function nhe(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, b.useContext)(nA), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(Bk), { CollectionBranch: s } = (0, b.useContext)(QO), [c, l] = GO(), { headingProps: u, groupProps: d } = Yoe({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = YO({
+ }), f = HO({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = Bv(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ b.createElement(ek.section, {
+ }), p = Lv(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ b.createElement(qO.section, {
...W(p, f, d),
ref: t
- }, /*#__PURE__*/ b.createElement(Jk.Provider, { value: {
+ }, /*#__PURE__*/ b.createElement(Hme.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ b.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: Kk(a, o)
+ renderDropIndicator: Hk(a, o)
})));
}
-var Zme = /*#__PURE__*/ hv(Bre, function(e, t, n) {
- let r = nv(t), i = (0, b.useContext)(lA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(Wk), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Yoe({
+var rhe = /*#__PURE__*/ fv(Vre, function(e, t, n) {
+ let r = $_(t), i = (0, b.useContext)(nA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(Bk), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Xoe({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = ax({
+ }, i, r), { hoverProps: p, isHovered: m } = rx({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = tv(e), { focusProps: g } = Z_(e), _ = null;
+ }), { keyboardProps: h } = Q_(e), { focusProps: g } = J_(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -35670,7 +35655,7 @@ var Zme = /*#__PURE__*/ hv(Bre, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), x = YO({
+ let y = o && o.isDragging(n.key), x = HO({
...e,
id: void 0,
children: e.children,
@@ -35688,7 +35673,7 @@ var Zme = /*#__PURE__*/ hv(Bre, function(e, t, n) {
(0, b.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let S = e.href ? ek.a : ek.div, C = Bv(e, { global: !0 });
+ let S = e.href ? qO.a : qO.div, C = Lv(e, { global: !0 });
return delete C.id, delete C.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ b.createElement(S, {
...W(C, x, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -35702,29 +35687,29 @@ var Zme = /*#__PURE__*/ hv(Bre, 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(JO, { values: [[uk, { slots: {
- [qO]: u,
+ }, /*#__PURE__*/ b.createElement(VO, { values: [[rk, { slots: {
+ [BO]: u,
label: u,
description: d
- } }], [Xk, { isSelected: f.isSelected }]] }, x.children));
+ } }], [Gk, { isSelected: f.isSelected }]] }, x.children));
});
-function Qme(e, t) {
- t = nv(t);
- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(Wk), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ b.createElement(ehe, {
+function ihe(e, t) {
+ t = $_(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(Bk), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ b.createElement(ohe, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function $me(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = YO({
+function ahe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = HO({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ek.div, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(qO.div, {
...n,
...a,
role: "option",
@@ -35732,10 +35717,10 @@ function $me(e, t) {
"data-drop-target": r || void 0
}));
}
-var ehe = /*#__PURE__*/ (0, b.forwardRef)($me);
-hv(Fg, function(e, t, n) {
- let r = (0, b.useContext)(lA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
- sA((0, b.useMemo)(() => ({
+var ohe = /*#__PURE__*/ (0, b.forwardRef)(ahe);
+fv(Ng, function(e, t, n) {
+ let r = (0, b.useContext)(nA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
+ eA((0, b.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -35745,7 +35730,7 @@ hv(Fg, function(e, t, n) {
o,
r?.collection
]), c);
- let l = YO({
+ let l = HO({
...s,
id: void 0,
children: n.rendered,
@@ -35758,7 +35743,7 @@ hv(Fg, function(e, t, n) {
width: 0,
height: 0
},
- inert: Qk(!0)
+ inert: qk(!0)
}, /*#__PURE__*/ b.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -35767,8 +35752,8 @@ hv(Fg, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ek.div, {
- ...W(Bv(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(qO.div, {
+ ...W(Lv(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -35776,11 +35761,11 @@ hv(Fg, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var the = /*#__PURE__*/ (0, b.createContext)({ placement: "bottom" });
+var she = /*#__PURE__*/ (0, b.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function uA(e) {
- let [t, n] = Vy(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, b.useState)(null);
+function rA(e) {
+ let [t, n] = Iy(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, b.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -35799,13 +35784,13 @@ function uA(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function dA(e, t = !0) {
+function iA(e, t = !0) {
let [n, r] = (0, b.useState)(!0), i = n && t;
return t_(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, i]), nhe(e, i, (0, b.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), oA(e, i, (0, b.useCallback)(() => r(!1), [])), i;
}
-function fA(e, t) {
+function aA(e, t) {
let [n, r] = (0, b.useState)(t ? "open" : "closed");
switch (n) {
case "open":
@@ -35815,11 +35800,11 @@ function fA(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return nhe(e, i, (0, b.useCallback)(() => {
+ return oA(e, i, (0, b.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function nhe(e, t, n) {
+function oA(e, t, n) {
t_(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
@@ -35833,7 +35818,7 @@ function nhe(e, t, n) {
}
let r = !1;
return Promise.allSettled(t.map((e) => e.finished)).then(() => {
- r || (0, ht.flushSync)(() => {
+ r || (0, pt.flushSync)(() => {
n();
});
}), () => {
@@ -35848,9 +35833,9 @@ function nhe(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var pA = /*#__PURE__*/ (0, b.createContext)(null), rhe = /*#__PURE__*/ (0, b.createContext)(null), mA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = ZO(e, t, pA);
- let n = (0, b.useContext)(wA), r = uA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = fA(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = cv(), { direction: c } = Mv();
+var sA = /*#__PURE__*/ (0, b.createContext)(null), cA = /*#__PURE__*/ (0, b.createContext)(null), lA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = WO(e, t, sA);
+ let n = (0, b.useContext)(yA), r = rA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = aA(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = av(), { direction: c } = kv();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -35861,7 +35846,7 @@ var pA = /*#__PURE__*/ (0, b.createContext)(null), rhe = /*#__PURE__*/ (0, b.cre
defaultChildren: null
})), /*#__PURE__*/ b.createElement(b.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ b.createElement(ihe, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ b.createElement(che, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -35870,13 +35855,13 @@ var pA = /*#__PURE__*/ (0, b.createContext)(null), rhe = /*#__PURE__*/ (0, b.cre
dir: c
});
});
-function ihe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useContext)(rhe), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = hse({
+function che({ 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)(cA), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = gse({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = dA(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = YO({
+ }, e), m = i.popoverRef, h = iA(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = HO({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -35889,7 +35874,7 @@ function ihe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
t_(() => {
m.current && x(v && !m.current.querySelector("[role=dialog]"));
}, [m, v]), (0, b.useEffect)(() => {
- y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || I_() !== "pointer") && m.current && !Xg(m.current) && B_(m.current);
+ y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || N_() !== "pointer") && m.current && !Yg(m.current) && L_(m.current);
}, [
y,
m,
@@ -35902,7 +35887,7 @@ function ihe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}, [_.children, r]), [C, w] = (0, b.useState)(null), T = (0, b.useCallback)(() => {
i.triggerRef.current && w(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- t_(T, [T]), Yx({
+ t_(T, [T]), qx({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: T
});
@@ -35911,8 +35896,8 @@ function ihe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,
..._.style,
"--trigger-width": _.style?.["--trigger-width"] || C
- }, D = /*#__PURE__*/ b.createElement(ek.div, {
- ...W(Bv(i, { global: !0 }), l),
+ }, D = /*#__PURE__*/ b.createElement(qO.div, {
+ ...W(Lv(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
role: y ? "dialog" : void 0,
@@ -35927,17 +35912,17 @@ function ihe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ b.createElement(jS, { onDismiss: e.close }), /*#__PURE__*/ b.createElement(the.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ b.createElement(kS, { onDismiss: e.close }), /*#__PURE__*/ b.createElement(she.Provider, { value: {
...d,
placement: f,
ref: a
- } }, S), /*#__PURE__*/ b.createElement(jS, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ b.createElement($b, {
+ } }, S), /*#__PURE__*/ b.createElement(kS, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ b.createElement(Zb, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, D) : /*#__PURE__*/ b.createElement($b, {
+ }, D) : /*#__PURE__*/ b.createElement(Zb, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -35952,15 +35937,15 @@ function ihe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ b.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ b.createElement(rhe.Provider, { value: o }, D)));
+ }, /*#__PURE__*/ b.createElement(cA.Provider, { value: o }, D)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var ahe = /*#__PURE__*/ (0, b.createContext)({});
+var lhe = /*#__PURE__*/ (0, b.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function hA(e) {
- let t = uA(e), [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)([]), o = () => {
+function uA(e) {
+ let t = rA(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]);
@@ -35986,7 +35971,7 @@ function hA(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var ohe = class {
+var uhe = 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) => {
@@ -36030,8 +36015,8 @@ var ohe = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function she(e) {
- let { onExpandedChange: t } = e, [n, r] = Vy(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = tA(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = aA(e, (0, b.useCallback)((e) => new ohe(e, { expandedKeys: n }), [n]), null);
+function dhe(e) {
+ let { onExpandedChange: t } = e, [n, r] = Iy(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = Yk(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = Qk(e, (0, b.useCallback)((e) => new uhe(e, { expandedKeys: n }), [n]), null);
return (0, b.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -36039,32 +36024,32 @@ function she(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(che(n, e));
+ r(fhe(n, e));
},
setExpandedKeys: r,
- selectionManager: new rA(o, i)
+ selectionManager: new Xk(o, i)
};
}
-function che(e, t) {
+function fhe(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
-var gA = /*#__PURE__*/ (0, b.createContext)(null), _A = /*#__PURE__*/ (0, b.createContext)(null), vA = /*#__PURE__*/ (0, b.createContext)(null), yA = /*#__PURE__*/ (0, b.createContext)(null);
-function lhe(e) {
- let t = hA(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = Pb({
+var dA = /*#__PURE__*/ (0, b.createContext)(null), fA = /*#__PURE__*/ (0, b.createContext)(null), pA = /*#__PURE__*/ (0, b.createContext)(null), mA = /*#__PURE__*/ (0, b.createContext)(null);
+function phe(e) {
+ let t = uA(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = Mb({
...e,
type: "menu"
}, t, n), a = (0, b.useRef)(null);
- return cv() ? null : /*#__PURE__*/ b.createElement(JO, { values: [
- [gA, {
+ return av() ? null : /*#__PURE__*/ b.createElement(VO, { values: [
+ [dA, {
...i,
ref: a
}],
- [wA, t],
- [vA, t],
- [pA, {
+ [yA, t],
+ [pA, t],
+ [sA, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -36072,14 +36057,14 @@ function lhe(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ b.createElement(Poe, {
+ ] }, /*#__PURE__*/ b.createElement(Foe, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var uhe = /*#__PURE__*/ (0, b.createContext)(null);
-(class extends Ng {
+var mhe = /*#__PURE__*/ (0, b.createContext)(null);
+(class extends jg {
static {
this.type = "submenutrigger";
}
@@ -36092,24 +36077,24 @@ var uhe = /*#__PURE__*/ (0, b.createContext)(null);
return null;
}
});
-var dhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- return [e, t] = ZO(e, t, gA), /*#__PURE__*/ b.createElement(fv, { content: /*#__PURE__*/ b.createElement(yv, e) }, (n) => /*#__PURE__*/ b.createElement(fhe, {
+var hhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ return [e, t] = WO(e, t, dA), /*#__PURE__*/ b.createElement(lv, { content: /*#__PURE__*/ b.createElement(gv, e) }, (n) => /*#__PURE__*/ b.createElement(ghe, {
props: e,
collection: n,
menuRef: t
}));
});
-function fhe({ props: e, collection: t, menuRef: n }) {
- [e, n] = ZO(e, n, tk);
- let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = she({
+function ghe({ props: e, collection: t, menuRef: n }) {
+ [e, n] = WO(e, n, JO);
+ let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = dhe({
...e,
collection: a,
children: void 0
- }), s = (0, b.useContext)(vA), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(ik), { menuProps: u } = Xoe({
+ }), s = (0, b.useContext)(pA), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(QO), { menuProps: u } = Zoe({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = YO({
+ }, o, n), d = HO({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -36119,36 +36104,36 @@ function fhe({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = Bv(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(ly, null, /*#__PURE__*/ b.createElement(ek.div, {
+ let p = Lv(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(oy, null, /*#__PURE__*/ b.createElement(qO.div, {
...W(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ b.createElement(JO, { values: [
- [_A, o],
- [Zk, { elementType: "div" }],
- [pme, {
+ }, /*#__PURE__*/ b.createElement(VO, { values: [
+ [fA, o],
+ [Kk, { elementType: "div" }],
+ [XO, {
name: "MenuSection",
- render: bA
+ render: hA
}],
- [uhe, {
+ [mhe, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [SA, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [tk, null],
- [nk, null],
- [yA, o.selectionManager],
- [vA, s ?? hA({})]
- ] }, /*#__PURE__*/ b.createElement(Yk, null, /*#__PURE__*/ b.createElement(l, {
+ [_A, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [JO, null],
+ [YO, null],
+ [mA, o.selectionManager],
+ [pA, s ?? uA({})]
+ ] }, /*#__PURE__*/ b.createElement(Wk, null, /*#__PURE__*/ b.createElement(l, {
collection: o.collection,
- persistedKeys: gme(o.selectionManager.focusedKey),
+ persistedKeys: xme(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var phe = class extends rA {
+var _he = class extends Xk {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -36168,11 +36153,11 @@ var phe = class extends rA {
return this.parent.childFocusStrategy;
}
};
-function bA(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, b.useContext)(_A), { CollectionBranch: a } = (0, b.useContext)(ik), [o, s] = QO(), { headingProps: c, groupProps: l } = Qoe({
+function hA(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, b.useContext)(fA), { CollectionBranch: a } = (0, b.useContext)(QO), [o, s] = GO(), { headingProps: c, groupProps: l } = $oe({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = YO({
+ }), u = HO({
...e,
id: void 0,
children: void 0,
@@ -36180,31 +36165,31 @@ function bA(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, b.useContext)(yA), f = tA(e), p = e.selectionMode == null ? d : new phe(d, f), m = XO(SA)?.shouldCloseOnSelect, h = Bv(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ b.createElement(ek.section, {
+ }), d = (0, b.useContext)(mA), f = Yk(e), p = e.selectionMode == null ? d : new _he(d, f), m = UO(_A)?.shouldCloseOnSelect, h = Lv(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ b.createElement(qO.section, {
...W(h, u, l),
ref: t
- }, /*#__PURE__*/ b.createElement(JO, { values: [
- [Jk, {
+ }, /*#__PURE__*/ b.createElement(VO, { values: [
+ [Hme, {
...c,
ref: o
}],
- [yA, p],
- [SA, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [mA, p],
+ [_A, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ b.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var xA = /*#__PURE__*/ gv(Vre, bA), SA = /*#__PURE__*/ (0, b.createContext)(null), CA = /*#__PURE__*/ hv(Bre, function(e, t, n) {
- [e, t] = ZO(e, t, SA);
- let r = XO(SA)?.id, i = (0, b.useContext)(_A), a = nv(t), o = (0, b.useContext)(yA), { isVirtualized: s } = (0, b.useContext)(ik), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Zoe({
+var gA = /*#__PURE__*/ pv(Hre, hA), _A = /*#__PURE__*/ (0, b.createContext)(null), vA = /*#__PURE__*/ fv(Vre, function(e, t, n) {
+ [e, t] = WO(e, t, _A);
+ let r = UO(_A)?.id, i = (0, b.useContext)(fA), a = $_(t), o = (0, b.useContext)(mA), { isVirtualized: s } = (0, b.useContext)(QO), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Qoe({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = ax({ isDisabled: f.isDisabled }), h = YO({
+ }, i, a), { hoverProps: p, isHovered: m } = rx({ isDisabled: f.isDisabled }), h = HO({
...e,
id: void 0,
children: n.rendered,
@@ -36218,7 +36203,7 @@ var xA = /*#__PURE__*/ gv(Vre, bA), SA = /*#__PURE__*/ (0, b.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? ek.a : ek.div, _ = Bv(e, { global: !0 });
+ }), g = e.href ? qO.a : qO.div, _ = Lv(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(g, {
...W(_, h, c, p),
ref: a,
@@ -36231,19 +36216,19 @@ var xA = /*#__PURE__*/ gv(Vre, bA), SA = /*#__PURE__*/ (0, b.createContext)(null
"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,
"data-has-submenu": !!e["aria-haspopup"] || void 0,
"data-open": e["aria-expanded"] === "true" || void 0
- }, /*#__PURE__*/ b.createElement(JO, { values: [
- [uk, { slots: {
- [qO]: l,
+ }, /*#__PURE__*/ b.createElement(VO, { values: [
+ [rk, { slots: {
+ [BO]: l,
label: l,
description: u
} }],
- [ahe, d],
- [Xk, { isSelected: f.isSelected }]
+ [lhe, d],
+ [Gk, { isSelected: f.isSelected }]
] }, h.children));
});
-hv(Fg, function(e, t, n) {
- let r = (0, b.useContext)(_A), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
- sA((0, b.useMemo)(() => ({
+fv(Ng, function(e, t, n) {
+ let r = (0, b.useContext)(fA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
+ eA((0, b.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -36253,7 +36238,7 @@ hv(Fg, function(e, t, n) {
o,
r?.collection
]), c);
- let l = YO({
+ let l = HO({
...s,
id: void 0,
children: n.rendered,
@@ -36266,7 +36251,7 @@ hv(Fg, function(e, t, n) {
width: 0,
height: 0
},
- inert: Qk(!0)
+ inert: qk(!0)
}, /*#__PURE__*/ b.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -36275,8 +36260,8 @@ hv(Fg, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ek.div, {
- ...W(Bv(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(qO.div, {
+ ...W(Lv(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
@@ -36284,83 +36269,83 @@ hv(Fg, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var mhe = /*#__PURE__*/ (0, b.createContext)(null), wA = /*#__PURE__*/ (0, b.createContext)(null), TA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+var vhe = /*#__PURE__*/ (0, b.createContext)(null), yA = /*#__PURE__*/ (0, b.createContext)(null), bA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = ZO(e, t, mhe);
- let { dialogProps: r, titleProps: i, contentProps: a } = Ioe({
+ [e, t] = WO(e, t, vhe);
+ let { dialogProps: r, titleProps: i, contentProps: a } = Loe({
...e,
"aria-labelledby": n
- }, t), o = (0, b.useContext)(wA);
+ }, t), o = (0, b.useContext)(yA);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = YO({
+ let s = HO({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = Bv(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(ek.section, {
+ }), c = Lv(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(qO.section, {
...W(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ b.createElement(JO, { values: [
- [ck, { slots: {
- [qO]: {},
+ }, /*#__PURE__*/ b.createElement(VO, { values: [
+ [tk, { slots: {
+ [BO]: {},
title: {
...i,
level: 2
}
} }],
- [uk, { slots: {
- [qO]: {},
+ [rk, { slots: {
+ [BO]: {},
description: a
} }],
- [ok, { slots: {
- [qO]: {},
+ [ek, { slots: {
+ [BO]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), EA = typeof document < "u" && window.visualViewport;
-function hhe() {
- let e = x_(), [t, n] = (0, b.useState)(() => e ? {
+}), xA = typeof document < "u" && window.visualViewport;
+function yhe() {
+ let e = S_(), [t, n] = (0, b.useState)(() => e ? {
width: 0,
height: 0
- } : DA());
+ } : SA());
return (0, b.useEffect)(() => {
let e = (e) => {
n((t) => e.width === t.width && e.height === t.height ? t : e);
}, t = () => {
- EA && EA.scale > 1 || e(DA());
+ xA && xA.scale > 1 || e(SA());
}, r, i = (t) => {
- EA && EA.scale > 1 || Cv(Jg(t)) && (r = requestAnimationFrame(() => {
- let t = qg();
- (!t || !Cv(t)) && e({
+ xA && xA.scale > 1 || bv(qg(t)) && (r = requestAnimationFrame(() => {
+ let t = Kg();
+ (!t || !bv(t)) && e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(DA()), u_() && d_() && window.addEventListener("blur", i, !0), EA ? EA.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), u_() && d_() && window.removeEventListener("blur", i, !0), EA ? EA.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(SA()), d_() && f_() && window.addEventListener("blur", i, !0), xA ? xA.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), d_() && f_() && window.removeEventListener("blur", i, !0), xA ? xA.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
-function DA() {
+function SA() {
return {
- width: EA ? Math.min(EA.width * EA.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: EA ? EA.height * EA.scale : document.documentElement.clientHeight
+ width: xA ? Math.min(xA.width * xA.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: xA ? xA.height * xA.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var ghe = /*#__PURE__*/ (0, b.createContext)(null), OA = /*#__PURE__*/ (0, b.createContext)(null), _he = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- if ((0, b.useContext)(OA)) return /*#__PURE__*/ b.createElement(AA, {
+var bhe = /*#__PURE__*/ (0, b.createContext)(null), CA = /*#__PURE__*/ (0, b.createContext)(null), xhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ if ((0, b.useContext)(CA)) return /*#__PURE__*/ b.createElement(TA, {
...e,
modalRef: t
}, e.children);
let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;
- return /*#__PURE__*/ b.createElement(kA, {
+ return /*#__PURE__*/ b.createElement(wA, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -36370,15 +36355,15 @@ var ghe = /*#__PURE__*/ (0, b.createContext)(null), OA = /*#__PURE__*/ (0, b.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ b.createElement(AA, {
+ }, /*#__PURE__*/ b.createElement(TA, {
...f,
modalRef: t
}, s));
});
-function vhe(e, t) {
- [e, t] = ZO(e, t, ghe);
- let n = (0, b.useContext)(wA), r = uA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = nv(t), o = (0, b.useRef)(null), s = fA(a, i.isOpen), c = fA(o, i.isOpen), l = s || c || e.isExiting || !1, u = x_();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ b.createElement(yhe, {
+function She(e, t) {
+ [e, t] = WO(e, t, bhe);
+ let n = (0, b.useContext)(yA), r = rA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = $_(t), o = (0, b.useRef)(null), s = aA(a, i.isOpen), c = aA(o, i.isOpen), l = s || c || e.isExiting || !1, u = S_();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ b.createElement(Che, {
...e,
state: i,
isExiting: l,
@@ -36386,9 +36371,9 @@ function vhe(e, t) {
modalRef: o
});
}
-var kA = /*#__PURE__*/ (0, b.forwardRef)(vhe);
-function yhe({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = rse(t, r, n), o = dA(t.overlayRef) || t.isEntering || !1, s = YO({
+var wA = /*#__PURE__*/ (0, b.forwardRef)(She);
+function Che({ UNSTABLE_portalContainer: e, ...t }) {
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = ise(t, r, n), o = iA(t.overlayRef) || t.isEntering || !1, s = HO({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -36396,9 +36381,9 @@ function yhe({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = hhe(), l, u;
+ }), c = yhe(), l, u;
if (typeof document < "u") {
- let e = wy(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = yy(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
l = e.scrollWidth - t, u = e.scrollHeight - n;
}
let d = {
@@ -36408,25 +36393,25 @@ function yhe({ UNSTABLE_portalContainer: e, ...t }) {
"--page-width": l === void 0 ? void 0 : l + "px",
"--page-height": u === void 0 ? void 0 : u + "px"
};
- return /*#__PURE__*/ b.createElement($b, {
+ return /*#__PURE__*/ b.createElement(Zb, {
isExiting: t.isExiting,
portalContainer: e
- }, /*#__PURE__*/ b.createElement(ek.div, {
- ...W(Bv(t, { global: !0 }), a),
+ }, /*#__PURE__*/ b.createElement(qO.div, {
+ ...W(Lv(t, { global: !0 }), a),
...s,
style: d,
ref: t.overlayRef,
"data-entering": o || void 0,
"data-exiting": t.isExiting || void 0
- }, /*#__PURE__*/ b.createElement(JO, { values: [[OA, {
+ }, /*#__PURE__*/ b.createElement(VO, { values: [[CA, {
modalProps: i,
modalRef: n,
isExiting: t.isExiting,
isDismissable: t.isDismissable
- }], [wA, r]] }, s.children)));
+ }], [yA, r]] }, s.children)));
}
-function AA(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, b.useContext)(OA), a = (0, b.useContext)(wA), o = nv((0, b.useMemo)(() => q_(e.modalRef, n), [e.modalRef, n])), s = dA(o), c = YO({
+function TA(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, b.useContext)(CA), a = (0, b.useContext)(yA), o = $_((0, b.useMemo)(() => W_(e.modalRef, n), [e.modalRef, n])), s = iA(o), c = HO({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -36435,19 +36420,19 @@ function AA(e) {
state: a
}
});
- return /*#__PURE__*/ b.createElement(ek.div, {
- ...W(Bv(e, { global: !0 }), t),
+ return /*#__PURE__*/ b.createElement(qO.div, {
+ ...W(Lv(e, { global: !0 }), t),
...c,
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ b.createElement(jS, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ b.createElement(kS, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var bhe = Math.round(Math.random() * 1e10), xhe = 0;
-function She(e) {
- let t = (0, b.useMemo)(() => e.name || `radio-group-${bhe}-${++xhe}`, [e.name]), [n, r] = Vy(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, b.useState)(n), [a, o] = (0, b.useState)(null), s = Iy({
+var whe = Math.round(Math.random() * 1e10), The = 0;
+function Ehe(e) {
+ let t = (0, b.useMemo)(() => e.name || `radio-group-${whe}-${++The}`, [e.name]), [n, r] = Iy(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, b.useState)(n), [a, o] = (0, b.useState)(null), s = jy({
...e,
value: n
}), c = (t) => {
@@ -36470,16 +36455,16 @@ function She(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var Che = /*#__PURE__*/ (0, b.createContext)(null), whe = /*#__PURE__*/ (0, b.createContext)(null), jA = /*#__PURE__*/ (0, b.createContext)(null), MA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = ZO(e, t, Che);
- let { validationBehavior: n } = XO(fk) || {}, r = e.validationBehavior ?? n ?? "native", i = She({
+var Dhe = /*#__PURE__*/ (0, b.createContext)(null), Ohe = /*#__PURE__*/ (0, b.createContext)(null), EA = /*#__PURE__*/ (0, b.createContext)(null), DA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = WO(e, t, Dhe);
+ let { validationBehavior: n } = UO(ak) || {}, r = e.validationBehavior ?? n ?? "native", i = Ehe({
...e,
validationBehavior: r
- }), [a, o] = QO(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = _se({
+ }), [a, o] = GO(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = vse({
...e,
label: o,
validationBehavior: r
- }, i), f = YO({
+ }, i), f = HO({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -36490,8 +36475,8 @@ var Che = /*#__PURE__*/ (0, b.createContext)(null), whe = /*#__PURE__*/ (0, b.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = Bv(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(ek.div, {
+ }), p = Lv(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(qO.div, {
...W(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -36500,39 +36485,39 @@ var Che = /*#__PURE__*/ (0, b.createContext)(null), whe = /*#__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(JO, { values: [
- [jA, i],
- [ak, {
+ }, /*#__PURE__*/ b.createElement(VO, { values: [
+ [EA, i],
+ [$O, {
...c,
ref: a,
elementType: "span"
}],
- [uk, { slots: {
+ [rk, { slots: {
description: l,
errorMessage: u
} }],
- [dk, d]
- ] }, /*#__PURE__*/ b.createElement(Yk, null, f.children)));
-}), NA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [ik, d]
+ ] }, /*#__PURE__*/ b.createElement(Wk, null, f.children)));
+}), OA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = ZO(r, t, whe);
- let i = b.useContext(jA), a = nv((0, b.useMemo)(() => q_(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = gse({
- ...$O(e),
+ [e, t] = WO(r, t, Ohe);
+ let i = b.useContext(EA), a = $_((0, b.useMemo)(() => W_(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = _se({
+ ...KO(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ b.createElement(PA.Provider, { value: {
+ return /*#__PURE__*/ b.createElement(kA.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ b.createElement(The, {
+ } }, /*#__PURE__*/ b.createElement(khe, {
...e,
ref: t
}));
-}), PA = /*#__PURE__*/ (0, b.createContext)(null), The = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, b.useContext)(PA), l = b.useContext(jA), { isFocused: u, isFocusVisible: d, focusProps: f } = tx(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = ax({
+}), kA = /*#__PURE__*/ (0, b.createContext)(null), khe = /*#__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)(kA), l = b.useContext(EA), { isFocused: u, isFocusVisible: d, focusProps: f } = $b(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = rx({
...e,
isDisabled: p
- }), g = YO({
+ }), g = HO({
...e,
defaultClassName: s,
values: {
@@ -36546,8 +36531,8 @@ var Che = /*#__PURE__*/ (0, b.createContext)(null), whe = /*#__PURE__*/ (0, b.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = Bv(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(ek.label, {
+ }), _ = Lv(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(qO.label, {
...W(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -36559,19 +36544,19 @@ var Che = /*#__PURE__*/ (0, b.createContext)(null), whe = /*#__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(Gy, { elementType: "span" }, /*#__PURE__*/ b.createElement("input", {
+ }, /*#__PURE__*/ b.createElement(By, { elementType: "span" }, /*#__PURE__*/ b.createElement("input", {
...W(r, f),
ref: c
})), g.children);
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function Ehe(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = uA(e), [i, a] = (0, b.useState)(null), o = (0, b.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function Ahe(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = rA(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] = Vy((0, b.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = Iy((0, b.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -36583,12 +36568,12 @@ function Ehe(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = oA({
+ }, d = $k({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, b.useMemo)(() => Dhe(l), [l]),
+ selectedKeys: (0, b.useMemo)(() => jhe(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -36598,7 +36583,7 @@ function Ehe(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 = Iy({
+ }), 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 = jy({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, b.useState)(!1), [_] = (0, b.useState)(l);
@@ -36625,16 +36610,16 @@ function Ehe(e) {
setFocused: g
};
}
-function Dhe(e) {
+function jhe(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 Ohe(e) {
+function Mhe(e) {
return e && e.__esModule ? e.default : e;
}
-var FA = /*#__PURE__*/ (0, b.createContext)(null), IA = /*#__PURE__*/ (0, b.createContext)(null), khe = /*#__PURE__*/ sv(function(e, t) {
- [e, t] = ZO(e, t, FA);
+var AA = /*#__PURE__*/ (0, b.createContext)(null), jA = /*#__PURE__*/ (0, b.createContext)(null), Nhe = /*#__PURE__*/ iv(function(e, t) {
+ [e, t] = WO(e, t, AA);
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,
@@ -36649,24 +36634,24 @@ var FA = /*#__PURE__*/ (0, b.createContext)(null), IA = /*#__PURE__*/ (0, b.crea
i,
a
]);
- return /*#__PURE__*/ b.createElement(fv, { content: o }, (n) => /*#__PURE__*/ b.createElement(jhe, {
+ return /*#__PURE__*/ b.createElement(lv, { content: o }, (n) => /*#__PURE__*/ b.createElement(Fhe, {
props: e,
collection: n,
selectRef: t
}));
-}), Ahe = [
- ak,
- ok,
- uk
+}), Phe = [
+ $O,
+ ek,
+ rk
];
-function jhe({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = XO(fk) || {}, i = e.validationBehavior ?? r ?? "native", a = Ehe({
+function Fhe({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = UO(ak) || {}, i = e.validationBehavior ?? r ?? "native", a = Ahe({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = tx({ within: !0 }), c = (0, b.useRef)(null), [l, u] = QO(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = vse({
- ...$O(e),
+ }), { isFocusVisible: o, focusProps: s } = $b({ within: !0 }), c = (0, b.useRef)(null), [l, u] = GO(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = yse({
+ ...KO(e),
label: u,
validationBehavior: i
}, a, c), y = (0, b.useMemo)(() => ({
@@ -36683,48 +36668,48 @@ function jhe({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), x = YO({
+ ]), x = HO({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), S = Bv(e, { global: !0 });
+ }), S = Lv(e, { global: !0 });
delete S.id;
let C = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement(JO, { values: [
- [FA, e],
- [IA, a],
- [LA, p],
- [ak, {
+ return /*#__PURE__*/ b.createElement(VO, { values: [
+ [AA, e],
+ [jA, a],
+ [MA, p],
+ [$O, {
...d,
ref: l,
elementType: "span"
}],
- [ok, {
+ [ek, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [wA, a],
- [pA, {
+ [yA, a],
+ [sA, {
trigger: "Select",
triggerRef: c,
scrollRef: C,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: Ahe
+ clearContexts: Phe
}],
- [cA, {
+ [tA, {
...m,
ref: C
}],
- [lA, a],
- [uk, { slots: {
+ [nA, a],
+ [rk, { slots: {
description: h,
errorMessage: g
} }],
- [dk, v]
- ] }, /*#__PURE__*/ b.createElement(ek.div, {
+ [ik, v]
+ ] }, /*#__PURE__*/ b.createElement(qO.div, {
...W(S, x, s),
ref: t,
slot: e.slot || void 0,
@@ -36734,14 +36719,14 @@ function jhe({ 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(bse, {
+ }, x.children, /*#__PURE__*/ b.createElement(xse, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Mhe = /*#__PURE__*/ sv(function(e, t) {
- [e, t] = ZO(e, t, LA);
- let n = (0, b.useContext)(IA), { placeholder: r } = XO(FA), i = n.selectedItems.map((e) => {
+for (var MA = /*#__PURE__*/ (0, b.createContext)(null), Ihe = /*#__PURE__*/ iv(function(e, t) {
+ [e, t] = WO(e, t, MA);
+ let n = (0, b.useContext)(jA), { placeholder: r } = UO(AA), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -36753,7 +36738,7 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Mhe = /*#__PURE__*/ sv(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Loe(), 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 = Roe(), 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
@@ -36768,7 +36753,7 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Mhe = /*#__PURE__*/ sv(f
a,
o,
i
- ]), u = Rv(Ohe(Uk), "react-aria-components"), d = YO({
+ ]), u = Fv(Mhe(zk), "react-aria-components"), d = HO({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -36779,33 +36764,33 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Mhe = /*#__PURE__*/ sv(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = Bv(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(ek.span, {
+ }), f = Lv(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(qO.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ b.createElement(uk.Provider, { value: void 0 }, d.children));
-}), Nhe = /*#__PURE__*/ (0, b.createContext)(null), RA = /*#__PURE__*/ (0, b.createContext)(null), Phe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ b.createElement(rk.Provider, { value: void 0 }, d.children));
+}), Lhe = /*#__PURE__*/ (0, b.createContext)(null), NA = /*#__PURE__*/ (0, b.createContext)(null), Rhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = ZO(r, t, Nhe);
- let i = nv((0, b.useMemo)(() => q_(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Hy(e), o = Sse({
- ...$O(e),
+ [e, t] = WO(r, t, Lhe);
+ let i = $_((0, b.useMemo)(() => W_(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Ly(e), o = Cse({
+ ...KO(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ b.createElement(JO, { values: [[RA, a], [zA, {
+ return /*#__PURE__*/ b.createElement(VO, { values: [[NA, a], [PA, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ b.createElement(Fhe, {
+ }]] }, /*#__PURE__*/ b.createElement(zhe, {
...e,
ref: t
}));
-}), zA = /*#__PURE__*/ (0, b.createContext)(null), Fhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, b.useContext)(zA), { isFocused: f, isFocusVisible: p, focusProps: m } = tx(), h = a || o, g = (0, b.useContext)(RA), { hoverProps: _, isHovered: v } = ax({
+}), PA = /*#__PURE__*/ (0, b.createContext)(null), zhe = /*#__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)(PA), { isFocused: f, isFocusVisible: p, focusProps: m } = $b(), h = a || o, g = (0, b.useContext)(NA), { hoverProps: _, isHovered: v } = rx({
...e,
isDisabled: h
- }), y = YO({
+ }), y = HO({
...e,
defaultClassName: u,
values: {
@@ -36820,8 +36805,8 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Mhe = /*#__PURE__*/ sv(f
isRequired: d || !1,
state: g
}
- }), x = Bv(e, { global: !0 });
- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(ek.label, {
+ }), x = Lv(e, { global: !0 });
+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(qO.label, {
...W(x, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -36834,11 +36819,11 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Mhe = /*#__PURE__*/ sv(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ b.createElement(Gy, { elementType: "span" }, /*#__PURE__*/ b.createElement("input", {
+ }, /*#__PURE__*/ b.createElement(By, { elementType: "span" }, /*#__PURE__*/ b.createElement("input", {
...W(r, m),
ref: l
})), y.children);
-}), BA = 10, VA = 5, Ihe = class {
+}), FA = 10, IA = 5, Bhe = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -36848,7 +36833,7 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Mhe = /*#__PURE__*/ sv(f
}
resolveDropTarget(e, t, n, r) {
let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;
- if (Math.abs(a) > VA && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > BA && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > IA && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > FA && (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);
@@ -36927,11 +36912,11 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Mhe = /*#__PURE__*/ sv(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > VA && i) {
+ if (Math.abs(r - c.lastSwitchY) > IA && i) {
let t = c.preferredTargetIndex || 0;
i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;
}
- if (l > BA && a) {
+ if (l > FA && 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;
}
@@ -36946,7 +36931,7 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Mhe = /*#__PURE__*/ sv(f
boundaryContext: null
};
}
-}, Lhe = class {
+}, Vhe = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -37016,8 +37001,8 @@ for (var LA = /*#__PURE__*/ (0, b.createContext)(null), Mhe = /*#__PURE__*/ sv(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, HA = "row-header-column-" + Math.random().toString(36).slice(2), UA = "row-header-column-" + Math.random().toString(36).slice(2); HA === UA;) UA = "row-header-column-" + Math.random().toString(36).slice(2);
-function WA(e, t) {
+}, LA = "row-header-column-" + Math.random().toString(36).slice(2), RA = "row-header-column-" + Math.random().toString(36).slice(2); LA === RA;) RA = "row-header-column-" + Math.random().toString(36).slice(2);
+function zA(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -37101,13 +37086,13 @@ function WA(e, t) {
textValue: ""
}));
}
-var Rhe = class extends Lhe {
+var Hhe = class extends Vhe {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: HA,
+ key: LA,
value: null,
textValue: "",
level: 0,
@@ -37122,7 +37107,7 @@ var Rhe = class extends Lhe {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: UA,
+ key: RA,
value: null,
textValue: "",
level: 0,
@@ -37149,7 +37134,7 @@ var Rhe = class extends Lhe {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = WA(s, a);
+ let l = zA(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -37175,10 +37160,10 @@ var Rhe = class extends Lhe {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return Bb(this.body.childNodes)?.key ?? null;
+ return Rb(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return Hb(this.body.childNodes)?.key ?? null;
+ return Bb(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -37210,19 +37195,19 @@ var Rhe = class extends Lhe {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function zhe(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || tA(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function Uhe(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || Yk(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 = zb(n, t);
- e = r === "last" ? Hb(i)?.key ?? null : Bb(i)?.key ?? null;
+ let i = Lb(n, t);
+ e = r === "last" ? Bb(i)?.key ?? null : Rb(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, b.useMemo)(() => new rA(t, r), [t, r]), s = (0, b.useRef)(null);
+ let o = (0, b.useMemo)(() => new Xk(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;
@@ -37242,7 +37227,7 @@ function zhe(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...zb(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...Lb(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);
}
@@ -37261,11 +37246,11 @@ function zhe(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var Bhe = {
+var Whe = {
ascending: "descending",
descending: "ascending"
};
-function Vhe(e) {
+function Ghe(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,
@@ -37276,11 +37261,11 @@ function Vhe(e) {
i,
r,
a
- ]), c = aA(e, (0, b.useCallback)((e) => new Rhe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = zhe({
+ ]), c = Qk(e, (0, b.useCallback)((e) => new Hhe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Uhe({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = Vy(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = Iy(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -37292,7 +37277,7 @@ function Vhe(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Bhe[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Whe[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -37305,7 +37290,7 @@ function Vhe(e) {
treeColumn: o
};
}
-function Hhe(e, t) {
+function Khe(e, t) {
let n = (0, b.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -37315,7 +37300,7 @@ function Hhe(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var Uhe = class extends Hre {
+var qhe = class extends Ure {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -37330,7 +37315,7 @@ var Uhe = class extends Hre {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new ZA(-2);
+ return new KA(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -37356,7 +37341,7 @@ var Uhe = class extends Hre {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = WA(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
+ if (this.headerRows = zA(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;
@@ -37437,11 +37422,11 @@ var Uhe = class extends Hre {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new JA(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new UA(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, Whe = /*#__PURE__*/ (0, b.createContext)(null), Ghe = /*#__PURE__*/ (0, b.createContext)(null), GA = /*#__PURE__*/ (0, b.createContext)(null), KA = /*#__PURE__*/ (0, b.createContext)(null), Khe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = ZO(e, t, Ghe);
- let n = tA(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, b.useMemo)(() => ({
+}, Jhe = /*#__PURE__*/ (0, b.createContext)(null), Yhe = /*#__PURE__*/ (0, b.createContext)(null), BA = /*#__PURE__*/ (0, b.createContext)(null), VA = /*#__PURE__*/ (0, b.createContext)(null), Xhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = WO(e, t, Yhe);
+ let n = Yk(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,
@@ -37451,26 +37436,26 @@ var Uhe = class extends Hre {
i,
a,
o
- ]), c = /*#__PURE__*/ b.createElement(Yhe.Provider, { value: s }, /*#__PURE__*/ b.createElement(yv, e));
- return /*#__PURE__*/ b.createElement(fv, {
+ ]), c = /*#__PURE__*/ b.createElement($he.Provider, { value: s }, /*#__PURE__*/ b.createElement(gv, e));
+ return /*#__PURE__*/ b.createElement(lv, {
content: c,
- createCollection: () => new Uhe()
- }, (r) => /*#__PURE__*/ b.createElement(Jhe, {
+ createCollection: () => new qhe()
+ }, (r) => /*#__PURE__*/ b.createElement(Qhe, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), qhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ik);
- return n ? /*#__PURE__*/ b.createElement(ek.div, {
+}), Zhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(QO);
+ return n ? /*#__PURE__*/ b.createElement(qO.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(ek.table, {
+ }) : /*#__PURE__*/ b.createElement(qO.table, {
...e,
ref: t
});
-}), qA = {
+}), HA = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -37480,26 +37465,26 @@ var Uhe = class extends Hre {
rtl: "ArrowRight"
}
};
-function Jhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = ZO(e, t, tk);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(Whe);
- t = nv((0, b.useMemo)(() => q_(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = Vy(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+function Qhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = WO(e, t, JO);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(Jhe);
+ t = $_((0, b.useMemo)(() => W_(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = Iy(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 = Vhe({
+ let d = Ghe({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Hhe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(ik), { dragAndDropHooks: _ } = e, { gridProps: v } = Ose({
+ }), f = Khe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(QO), { dragAndDropHooks: _ } = e, { gridProps: v } = kse({
...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 } = Mv(), [A] = (0, b.useState)(() => new Ihe());
+ let C, w, T, E = !1, D = null, O = (0, b.useRef)(null), { direction: k } = kv(), [A] = (0, b.useState)(() => new Bhe());
if (x && _) {
C = _.useDraggableCollectionState({
collection: f.collection,
@@ -37514,7 +37499,7 @@ function Jhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new Qy({
+ let e = new Jy({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -37534,12 +37519,12 @@ function Jhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = w?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === qA.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === qA.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === HA.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === HA.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 } = tx(), P = YO({
+ let { focusProps: j, isFocused: M, isFocusVisible: N } = $b(), P = HO({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -37555,19 +37540,19 @@ function Jhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let ne = Bv(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(JO, { values: [
- [GA, f],
- [KA, te],
- [Wk, {
+ let ne = Lv(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(VO, { values: [
+ [BA, f],
+ [VA, te],
+ [Bk, {
dragAndDropHooks: _,
dragState: C,
dropState: w
}],
- [Gk, { render: age }],
- [tk, null],
- [nk, null]
- ] }, /*#__PURE__*/ b.createElement(ly, null, /*#__PURE__*/ b.createElement(qhe, {
+ [Vk, { render: lge }],
+ [JO, null],
+ [YO, null]
+ ] }, /*#__PURE__*/ b.createElement(oy, null, /*#__PURE__*/ b.createElement(Zhe, {
...W(ne, P, v, j, T?.collectionProps),
style: F,
ref: t,
@@ -37577,55 +37562,55 @@ function Jhe({ 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(Yk, null, /*#__PURE__*/ b.createElement(g, {
+ }, /*#__PURE__*/ b.createElement(Wk, null, /*#__PURE__*/ b.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: qk(y, _, w)
+ persistedKeys: Uk(y, _, w)
})))), D);
}
-var Yhe = /*#__PURE__*/ (0, b.createContext)(null), JA = class extends Ng {
+var $he = /*#__PURE__*/ (0, b.createContext)(null), UA = class extends jg {
static {
this.type = "tableheader";
}
-}, Xhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ik);
- return n ? /*#__PURE__*/ b.createElement(ek.div, {
+}, ege = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(QO);
+ return n ? /*#__PURE__*/ b.createElement(qO.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(ek.thead, {
+ }) : /*#__PURE__*/ b.createElement(qO.thead, {
...e,
ref: t
});
-}), YA = /*#__PURE__*/ gv(JA, (e, t) => {
- let n = (0, b.useContext)(GA).collection, r = Lg({
+}), WA = /*#__PURE__*/ pv(UA, (e, t) => {
+ let n = (0, b.useContext)(BA).collection, r = Fg({
items: n.headerRows,
children: (0, b.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ b.createElement(Qhe, { item: e });
+ case "headerrow": return /*#__PURE__*/ b.createElement(nge, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = JC(), { hoverProps: a, isHovered: o } = ax({
+ }), { rowGroupProps: i } = KC(), { hoverProps: a, isHovered: o } = rx({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = YO({
+ }), s = HO({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ b.createElement(Xhe, {
- ...W(Bv(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ b.createElement(ege, {
+ ...W(Lv(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ b.createElement(yv, {
+}, (e) => /*#__PURE__*/ b.createElement(gv, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), Zhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ik);
+}, e.children)), tge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(QO);
return n ? /*#__PURE__*/ b.createElement("div", {
...e,
ref: t
@@ -37634,41 +37619,41 @@ var Yhe = /*#__PURE__*/ (0, b.createContext)(null), JA = class extends Ng {
ref: t
});
});
-function Qhe({ item: e }) {
- let t = (0, b.useRef)(null), n = (0, b.useContext)(GA), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(ik), { rowProps: a } = Mse({
+function nge({ item: e }) {
+ let t = (0, b.useRef)(null), n = (0, b.useContext)(BA), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(QO), { rowProps: a } = Nse({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = zse(n);
- return /*#__PURE__*/ b.createElement(Zhe, {
+ }, n, t), { checkboxProps: o } = Bse(n);
+ return /*#__PURE__*/ b.createElement(tge, {
...a,
ref: t
- }, /*#__PURE__*/ b.createElement(JO, { values: [[pk, { slots: { selection: o } }], [mk, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {
+ }, /*#__PURE__*/ b.createElement(VO, { values: [[ok, { slots: { selection: o } }], [Ome, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var $he = class extends Ng {
+var rge = class extends jg {
static {
this.type = "column";
}
-}, ege = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ik);
- return n ? /*#__PURE__*/ b.createElement(ek.div, {
+}, ige = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(QO);
+ return n ? /*#__PURE__*/ b.createElement(qO.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(ek.th, {
+ }) : /*#__PURE__*/ b.createElement(qO.th, {
...e,
ref: t
});
-}), XA = /*#__PURE__*/ hv($he, (e, t, n) => {
- let r = nv(t), i = (0, b.useContext)(GA), { isVirtualized: a } = (0, b.useContext)(ik), { columnHeaderProps: o, isPressed: s } = jse({
+}), GA = /*#__PURE__*/ fv(rge, (e, t, n) => {
+ let r = $_(t), i = (0, b.useContext)(BA), { isVirtualized: a } = (0, b.useContext)(QO), { columnHeaderProps: o, isPressed: s } = Mse({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = tx(), d = (0, b.useContext)(KA), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = $b(), d = (0, b.useContext)(VA), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = ax({ isDisabled: !e.allowsSorting }), h = YO({
+ let { hoverProps: p, isHovered: m } = rx({ isDisabled: !e.allowsSorting }), h = HO({
...e,
id: void 0,
children: n.rendered,
@@ -37694,8 +37679,8 @@ var $he = class extends Ng {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = Bv(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ b.createElement(ege, {
+ let _ = Lv(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ b.createElement(ige, {
...W(_, o, u, p),
...h,
style: g,
@@ -37707,28 +37692,28 @@ var $he = class extends Ng {
"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(JO, { values: [[tge, {
+ }, /*#__PURE__*/ b.createElement(VO, { values: [[age, {
column: n,
triggerRef: r
- }], [ik, rk]] }, h.children));
-}), tge = /*#__PURE__*/ (0, b.createContext)(null), ZA = class extends Pg {
+ }], [QO, ZO]] }, h.children));
+}), age = /*#__PURE__*/ (0, b.createContext)(null), KA = class extends Mg {
static {
this.type = "tablebody";
}
-}, nge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ik);
- return n ? /*#__PURE__*/ b.createElement(ek.div, {
+}, oge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(QO);
+ return n ? /*#__PURE__*/ b.createElement(qO.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(ek.tbody, {
+ }) : /*#__PURE__*/ b.createElement(qO.tbody, {
...e,
ref: t
});
-}), QA = /*#__PURE__*/ gv(ZA, (e, t, n) => {
- let r = (0, b.useContext)(GA), { isVirtualized: i } = (0, b.useContext)(ik), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(ik), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(Wk), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), qA = /*#__PURE__*/ pv(KA, (e, t, n) => {
+ let r = (0, b.useContext)(BA), { isVirtualized: i } = (0, b.useContext)(QO), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(QO), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(Bk), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = YO({
+ }, p = HO({
...e,
id: void 0,
children: void 0,
@@ -37737,33 +37722,33 @@ var $he = class extends Ng {
}), m, h = a.columnCount;
if (d && e.renderEmptyState && r) {
let t = {}, n = {}, r = {};
- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ b.createElement(ej, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ b.createElement(YA, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ b.createElement(nj, {
+ }, /*#__PURE__*/ b.createElement(ZA, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = JC(), _ = Bv(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(nge, {
+ let { rowGroupProps: g } = KC(), _ = Lv(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(oge, {
...W(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ b.createElement(uge, null), /*#__PURE__*/ b.createElement(o, {
+ }, l && /*#__PURE__*/ b.createElement(mge, null), /*#__PURE__*/ b.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: Kk(s, c)
+ renderDropIndicator: Hk(s, c)
}), m);
});
-(class extends Pg {
+(class extends Mg {
static {
this.type = "tablefooter";
}
});
-var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), rge = class extends Ng {
+var JA = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), sge = class extends jg {
static {
this.type = "item";
}
@@ -37775,31 +37760,31 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), rg
}
return null;
}
-}, ej = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ik);
- return n ? /*#__PURE__*/ b.createElement(ek.div, {
+}, YA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(QO);
+ return n ? /*#__PURE__*/ b.createElement(qO.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(ek.tr, {
+ }) : /*#__PURE__*/ b.createElement(qO.tr, {
...e,
ref: t
});
-}), tj = /*#__PURE__*/ gv(rge, (e, t, n) => {
- let r = nv(t), i = (0, b.useContext)(GA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(Wk), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(ik), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Fse({
+}), XA = /*#__PURE__*/ pv(sge, (e, t, n) => {
+ let r = $_(t), i = (0, b.useContext)(BA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(Bk), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(QO), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Ise({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = tx(), { isFocusVisible: _, focusProps: v } = tx({ within: !0 }), { hoverProps: y, isHovered: x } = ax({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = $b(), { isFocusVisible: _, focusProps: v } = $b({ within: !0 }), { hoverProps: y, isHovered: x } = rx({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: S } = Rse({ key: n.key }, i), C;
+ }), { checkboxProps: S } = zse({ 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 } = Wy();
+ let w, T = (0, b.useRef)(null), { visuallyHiddenProps: E } = zy();
s && a && (w = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -37809,7 +37794,7 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), rg
(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 = YO({
+ 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 = HO({
...A,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -37830,11 +37815,11 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), rg
isExpanded: M,
level: n.level + 1
}
- }), P = Bv(e, { global: !0 });
- return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement(ej, {
+ }), P = Lv(e, { global: !0 });
+ return delete P.id, delete P.onClick, /*#__PURE__*/ b.createElement(b.Fragment, null, w && !w.isHidden && /*#__PURE__*/ b.createElement(YA, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ b.createElement(nj, {
+ }, /*#__PURE__*/ b.createElement(ZA, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -37843,7 +37828,7 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), rg
...E,
...w.dropIndicatorProps,
ref: T
- }))), /*#__PURE__*/ b.createElement(ej, {
+ }))), /*#__PURE__*/ b.createElement(YA, {
...W(P, N, d, g, y, C?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -37859,17 +37844,17 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), rg
"data-expanded": M || void 0,
"data-has-child-items": j || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ b.createElement(JO, { values: [
- [pk, { slots: {
- [qO]: {},
+ }, /*#__PURE__*/ b.createElement(VO, { values: [
+ [ok, { slots: {
+ [BO]: {},
selection: S
} }],
- [mk, { slots: {
- [qO]: {},
+ [Ome, { slots: {
+ [BO]: {},
selection: S
} }],
- [ok, { slots: {
- [qO]: {},
+ [ek, { slots: {
+ [BO]: {},
chevron: f,
drag: {
...C?.dragButtonProps,
@@ -37877,8 +37862,8 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), rg
style: { pointerEvents: "none" }
}
} }],
- [Xk, { isSelected: p.isSelected }],
- [$A, { isFocusVisibleWithinRow: _ }]
+ [Gk, { isSelected: p.isSelected }],
+ [JA, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ b.createElement(l, {
collection: i.collection,
parent: n
@@ -37886,34 +37871,34 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), rg
}, (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(yv, {
+ return /*#__PURE__*/ b.createElement(gv, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), ige = class extends Ng {
+}), cge = class extends jg {
static {
this.type = "cell";
}
-}, nj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ik);
- return n ? /*#__PURE__*/ b.createElement(ek.div, {
+}, ZA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(QO);
+ return n ? /*#__PURE__*/ b.createElement(qO.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(ek.td, {
+ }) : /*#__PURE__*/ b.createElement(qO.td, {
...e,
ref: t
});
-}), rj = /*#__PURE__*/ hv(ige, (e, t, n) => {
- let r = nv(t), i = (0, b.useContext)(GA), { dragState: a } = (0, b.useContext)(Wk), { isVirtualized: o } = (0, b.useContext)(ik);
+}), QA = /*#__PURE__*/ fv(cge, (e, t, n) => {
+ let r = $_(t), i = (0, b.useContext)(BA), { dragState: a } = (0, b.useContext)(Bk), { isVirtualized: o } = (0, b.useContext)(QO);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = kse({
+ let { gridCellProps: s, isPressed: c } = Ase({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = tx(), { hoverProps: f, isHovered: p } = ax({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)($A), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), x = i.selectionManager.isDisabled(n.parentKey), S = YO({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = $b(), { hoverProps: f, isHovered: p } = rx({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(JA), 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 = HO({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -37932,8 +37917,8 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), rg
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), C = Bv(e, { global: !0 });
- return delete C.id, /*#__PURE__*/ b.createElement(nj, {
+ }), C = Lv(e, { global: !0 });
+ return delete C.id, /*#__PURE__*/ b.createElement(ZA, {
...W(C, S, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -37947,14 +37932,14 @@ var $A = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), rg
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": x || void 0
- }, /*#__PURE__*/ b.createElement(ik.Provider, { value: rk }, S.children));
+ }, /*#__PURE__*/ b.createElement(QO.Provider, { value: ZO }, S.children));
});
-function age(e, t) {
- t = nv(t);
- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(Wk), i = (0, b.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function lge(e, t) {
+ t = $_(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(Bk), 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(lge, {
+ return /*#__PURE__*/ b.createElement(pge, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -37963,40 +37948,40 @@ function age(e, t) {
ref: t
});
}
-var oge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ik);
- return n ? /*#__PURE__*/ b.createElement(ek.div, {
+var uge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(QO);
+ return n ? /*#__PURE__*/ b.createElement(qO.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(ek.tr, {
+ }) : /*#__PURE__*/ b.createElement(qO.tr, {
...e,
ref: t
});
-}), sge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(ik);
- return n ? /*#__PURE__*/ b.createElement(ek.div, {
+}), dge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(QO);
+ return n ? /*#__PURE__*/ b.createElement(qO.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement(ek.td, {
+ }) : /*#__PURE__*/ b.createElement(qO.td, {
...e,
ref: t
});
});
-function cge(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(GA), { visuallyHiddenProps: c } = Wy(), l = YO({
+function fge(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(BA), { visuallyHiddenProps: c } = zy(), l = HO({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ b.createElement(oge, {
- ...Bv(e, { global: !0 }),
+ return /*#__PURE__*/ b.createElement(uge, {
+ ...Lv(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ b.createElement(sge, {
+ }, /*#__PURE__*/ b.createElement(dge, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -38007,14 +37992,14 @@ function cge(e, t) {
ref: i
}), l.children));
}
-var lge = /*#__PURE__*/ (0, b.forwardRef)(cge);
-function uge() {
- let e = (0, b.useContext)(GA), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(Wk), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Wy();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement(ej, {
+var pge = /*#__PURE__*/ (0, b.forwardRef)(fge);
+function mge() {
+ let e = (0, b.useContext)(BA), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(Bk), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = zy();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement(YA, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ b.createElement(nj, {
+ }, /*#__PURE__*/ b.createElement(ZA, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -38025,9 +38010,9 @@ function uge() {
ref: r
})));
}
-hv(Fg, function(e, t, n) {
- let r = (0, b.useContext)(GA), { isVirtualized: i } = (0, b.useContext)(ik), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);
- sA((0, b.useMemo)(() => ({
+fv(Ng, function(e, t, n) {
+ let r = (0, b.useContext)(BA), { isVirtualized: i } = (0, b.useContext)(QO), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);
+ eA((0, b.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -38037,7 +38022,7 @@ hv(Fg, function(e, t, n) {
s,
r?.collection
]), u);
- let d = YO({
+ let d = HO({
...c,
id: void 0,
children: n.rendered,
@@ -38045,10 +38030,10 @@ hv(Fg, function(e, t, n) {
defaultStyle: { "--table-row-level": n.level + 1 },
values: void 0
}), f = {}, p = {}, m = {};
- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ej, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(YA, {
style: { height: 0 },
- inert: Qk(!0)
- }, /*#__PURE__*/ b.createElement(nj, { style: {
+ inert: qk(!0)
+ }, /*#__PURE__*/ b.createElement(ZA, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ b.createElement("div", {
@@ -38059,14 +38044,14 @@ hv(Fg, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ b.createElement(ej, {
- ...W(Bv(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ b.createElement(YA, {
+ ...W(Lv(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ b.createElement(nj, {
+ }, /*#__PURE__*/ b.createElement(ZA, {
role: "rowheader",
...p,
style: m
@@ -38074,8 +38059,8 @@ hv(Fg, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function dge(e) {
- let [t, n] = Vy(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = oA({
+function hge(e) {
+ let [t, n] = Iy(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = $k({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -38098,24 +38083,24 @@ function dge(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function fge(e) {
- let t = dge({
+function gge(e) {
+ let t = hge({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? ij(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? $A(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, b.useRef)(i);
return (0, b.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = ij(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = $A(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
}), {
...t,
isDisabled: e.isDisabled || !1
};
}
-function ij(e, t) {
+function $A(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);
@@ -38125,24 +38110,24 @@ function ij(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var aj = /*#__PURE__*/ (0, b.createContext)(null), oj = /*#__PURE__*/ (0, b.createContext)(null), sj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = ZO(e, t, aj);
+var ej = /*#__PURE__*/ (0, b.createContext)(null), tj = /*#__PURE__*/ (0, b.createContext)(null), nj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = WO(e, t, ej);
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(fv, { content: n }, (n) => /*#__PURE__*/ b.createElement(pge, {
+ }) : n, [n, r]), /*#__PURE__*/ b.createElement(lv, { content: n }, (n) => /*#__PURE__*/ b.createElement(_ge, {
props: e,
collection: n,
tabsRef: t
}));
});
-function pge({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = fge({
+function _ge({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = gge({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = tx({ within: !0 }), c = (0, b.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = $b({ within: !0 }), c = (0, b.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -38150,12 +38135,12 @@ function pge({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = YO({
+ ]), l = HO({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = Bv(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(ek.div, {
+ }), u = Lv(e, { global: !0 });
+ return /*#__PURE__*/ b.createElement(qO.div, {
...W(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -38163,20 +38148,20 @@ function pge({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ b.createElement(JO, { values: [[aj, e], [oj, i]] }, l.children));
+ }, /*#__PURE__*/ b.createElement(VO, { values: [[ej, e], [tj, i]] }, l.children));
}
-var cj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- return (0, b.useContext)(oj) ? /*#__PURE__*/ b.createElement(mge, {
+var rj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ return (0, b.useContext)(tj) ? /*#__PURE__*/ b.createElement(vge, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ b.createElement(yv, e);
+ }) : /*#__PURE__*/ b.createElement(gv, e);
});
-function mge({ props: e, forwardedRef: t }) {
- let n = (0, b.useContext)(oj), { CollectionRoot: r } = (0, b.useContext)(ik), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = XO(aj), o = nv(t), { tabListProps: s } = Hse({
+function vge({ props: e, forwardedRef: t }) {
+ let n = (0, b.useContext)(tj), { CollectionRoot: r } = (0, b.useContext)(QO), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = UO(ej), o = $_(t), { tabListProps: s } = Use({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = YO({
+ }, n, o), c = HO({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -38184,30 +38169,30 @@ function mge({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = Bv(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ b.createElement(ek.div, {
+ }), l = Lv(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ b.createElement(qO.div, {
...W(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ b.createElement(Yk, null, /*#__PURE__*/ b.createElement(r, {
+ }, /*#__PURE__*/ b.createElement(Wk, null, /*#__PURE__*/ b.createElement(r, {
collection: n.collection,
- persistedKeys: gme(n.selectionManager.focusedKey)
+ persistedKeys: xme(n.selectionManager.focusedKey)
})));
}
-var lj = /*#__PURE__*/ hv(class extends Ng {
+var ij = /*#__PURE__*/ fv(class extends jg {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, b.useContext)(oj), i = nv(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Bse({
+ let r = (0, b.useContext)(tj), i = $_(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Vse({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = tx(), { hoverProps: f, isHovered: p } = ax({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = $b(), { hoverProps: f, isHovered: p } = rx({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = YO({
+ }), m = HO({
...e,
id: void 0,
children: n.rendered,
@@ -38220,7 +38205,7 @@ var lj = /*#__PURE__*/ hv(class extends Ng {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? ek.a : ek.div, g = Bv(e, { global: !0 });
+ }), h = n.props.href ? qO.a : qO.div, g = Lv(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ b.createElement(h, {
...W(g, m, a, l, f),
ref: i,
@@ -38230,58 +38215,58 @@ var lj = /*#__PURE__*/ hv(class extends Ng {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ b.createElement(Xk.Provider, { value: { isSelected: o } }, m.children));
-}), uj = /*#__PURE__*/ sv(function(e, t) {
- let n = (0, b.useContext)(oj), r = nv(t), i = n.selectedKey === e.id, [a, o] = (0, b.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ b.createElement(Gk.Provider, { value: { isSelected: o } }, m.children));
+}), aj = /*#__PURE__*/ iv(function(e, t) {
+ let n = (0, b.useContext)(tj), r = $_(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 = fA(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(hge, {
+ let s = aA(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(yge, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function hge(e) {
- let t = (0, b.useContext)(oj), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Use(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = tx(), d = t.selectedKey === e.id, f = dA(r) && !i, p = YO({
+function yge(e) {
+ let t = (0, b.useContext)(tj), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Wse(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = $b(), d = t.selectedKey === e.id, f = iA(r) && !i, p = HO({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: Qk(!d),
+ isInert: qk(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = Bv(o, { global: !0 });
+ }), m = Lv(o, { global: !0 });
delete m.id;
let h = d ? W(m, s, c, p) : W(m, p);
- return /*#__PURE__*/ b.createElement(ek.div, {
+ return /*#__PURE__*/ b.createElement(qO.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: Qk(!d || e.inert),
+ inert: qk(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ b.createElement(JO, { values: [[aj, null], [oj, null]] }, /*#__PURE__*/ b.createElement(ik.Provider, { value: rk }, p.children)));
+ }, /*#__PURE__*/ b.createElement(VO, { values: [[ej, null], [tj, null]] }, /*#__PURE__*/ b.createElement(QO.Provider, { value: ZO }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var gge = /*#__PURE__*/ (0, b.createContext)({}), _ge = /*#__PURE__*/ (0, b.createContext)(null), vge = /*#__PURE__*/ sv(function(e, t) {
- [e, t] = ZO(e, t, _ge);
- let { validationBehavior: n } = XO(fk) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);
- [e, i] = ZO(e, i, nk);
- let [a, o] = QO(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = goe({
- ...$O(e),
+var bge = /*#__PURE__*/ (0, b.createContext)({}), xge = /*#__PURE__*/ (0, b.createContext)(null), Sge = /*#__PURE__*/ iv(function(e, t) {
+ [e, t] = WO(e, t, xge);
+ let { validationBehavior: n } = UO(ak) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);
+ [e, i] = WO(e, i, YO);
+ let [a, o] = GO(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = boe({
+ ...KO(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 = YO({
+ }, [i]), h = HO({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -38290,8 +38275,8 @@ var gge = /*#__PURE__*/ (0, b.createContext)({}), _ge = /*#__PURE__*/ (0, b.crea
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = Bv(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ b.createElement(ek.div, {
+ }), g = Lv(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ b.createElement(qO.div, {
...g,
...h,
ref: t,
@@ -38300,43 +38285,43 @@ var gge = /*#__PURE__*/ (0, b.createContext)({}), _ge = /*#__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(JO, { values: [
- [ak, {
+ }, /*#__PURE__*/ b.createElement(VO, { values: [
+ [$O, {
...l,
ref: a
}],
- [_k, {
+ [Ime, {
...u,
ref: m
}],
- [gge, {
+ [bge, {
...u,
ref: m
}],
- [gk, {
+ [Pme, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [uk, { slots: {
+ [rk, { slots: {
description: d,
errorMessage: f
} }],
- [dk, p]
+ [ik, p]
] }, h.children));
-}), yge = {
+}), Cge = {
selection: {
- type: ud,
+ type: cd,
duration: .16,
bounce: 0
},
hover: {
- type: ud,
+ type: cd,
duration: .08,
bounce: 0
}
};
-function dj(e) {
+function oj(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!t) return;
@@ -38357,7 +38342,7 @@ function dj(e) {
let E = `translate(${b}px, ${x}px) scale(1, 1)`;
if (u && a && !r.matches && T && s !== h) {
let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;
- l = zre(n, { transform: [r, E] }, yge[e]);
+ l = Bre(n, { transform: [r, E] }, Cge[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -38394,25 +38379,25 @@ function dj(e) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function fj(e) {
- let t = dj("selection");
- return /* @__PURE__ */ (0, x.jsx)(cj, {
+function sj(e) {
+ let t = oj("selection");
+ return /* @__PURE__ */ (0, x.jsx)(rj, {
...e,
ref: t
});
}
-function pj(e) {
- let t = dj("selection");
- return /* @__PURE__ */ (0, x.jsx)(MA, {
+function cj(e) {
+ let t = oj("selection");
+ return /* @__PURE__ */ (0, x.jsx)(DA, {
...e,
ref: t
});
}
-var mj = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", hj = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", bge = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", gj = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", _j = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", xge = { "text-aa": 1.435 }, vj = /* @__PURE__ */ new Map();
-function yj(e) {
- let t = vj.get(e);
+var lj = "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", uj = "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", wge = "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", dj = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", fj = "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)", Tge = { "text-aa": 1.435 }, pj = /* @__PURE__ */ new Map();
+function mj(e) {
+ let t = pj.get(e);
if (t) return t;
- let n = xge[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+ let n = Tge[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"}`,
@@ -38426,108 +38411,108 @@ function yj(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, vj.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, pj.set(e, r), r;
}
//#endregion
//#region src/react/follow-feed/follow-marks.ts
-var bj = (e) => typeof e == "string" ? e : "", xj = (e) => e.aliases;
-function Sj(e, t = "") {
+var hj = (e) => typeof e == "string" ? e : "", gj = (e) => e.aliases;
+function _j(e, t = "") {
let n = Lr(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${R(t)}"${t ? ` title="${R(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function Cj(e, t = "") {
+function vj(e, t = "") {
let n = R(er(t || e)), r = Lr(e);
return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;
}
-var wj = (e) => bj(e.title).trim() || "未命名内容", Tj = (e, t) => $n(e, xj(t));
-function Ej(e) {
+var yj = (e) => hj(e.title).trim() || "未命名内容", bj = (e, t) => $n(e, gj(t));
+function xj(e) {
let t = e.filter((e) => e.entity_id && e.entity_name);
- return new Set(t.map((e) => e.entity_id)).size === 1 ? bj(t[0]?.entity_name) : "";
+ return new Set(t.map((e) => e.entity_id)).size === 1 ? hj(t[0]?.entity_name) : "";
}
-function Dj(e, t) {
+function Sj(e, t) {
let { src: n, fallback: r } = tr(e), i = er(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${R(i)}</span>`;
let a = r ? ` data-fallbacks="${R(r)}"` : "";
return `<img class="favatar" src="${R(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${R(i)}" data-drop-class="favatar none">`;
}
-function Oj(e, t, n) {
- let r = xj(n), i = e.credit, a = i?.poster;
+function Cj(e, t, n) {
+ let r = gj(n), i = e.credit, a = i?.poster;
if (!a) {
let n = $n(t, r);
return {
- author: n || bj(e.author) || bj(e.source_label) || "创作者未取得",
- avatar: Dj(t, n),
+ author: n || hj(e.author) || hj(e.source_label) || "创作者未取得",
+ avatar: Sj(t, n),
credited: "",
- entityName: Ej(t)
+ entityName: xj(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 && $n(c, r) || a;
return {
author: l,
- avatar: Dj(c, l),
+ avatar: Sj(c, l),
credited: i.credited || "",
- entityName: Ej(c)
+ entityName: xj(c)
};
}
-function kj(e, t = e.primary) {
+function wj(e, t = e.primary) {
let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;
e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));
- let i = bj(e.primary.version);
+ let i = hj(e.primary.version);
i && n.push(r("version", R(i)));
- let a = bj(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = hj(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function Aj(e, t = e.primary) {
+function Tj(e, t = e.primary) {
let n = new Map([
e.primary,
...e.variants,
...e.duplicates
].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));
if (!n.size) return "";
- let r = [...n].map(([e, t]) => Sj(e, t) || `<span>${R(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => _j(e, t) || `<span>${R(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${R([...n.values()].join("、"))}">另见 ${r}</span>`;
}
-function jj(e, t) {
- let n = bj(e.media_error);
+function Ej(e, t) {
+ let n = hj(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var Sge = 864e5, Cge = (e, t) => {
+var Ege = 864e5, Dge = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > Sge;
+ return Number.isFinite(n) && n - t > Ege;
};
-function Mj(e, t) {
- let n = bj(e.published_at);
+function Dj(e, t) {
+ let n = hj(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = gn(n);
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: Cge(n, t) ? " · 晚于现在" : ""
+ suffix: Dge(n, t) ? " · 晚于现在" : ""
};
}
-function Nj(e, t = Date.now()) {
- let n = Mj(e, t);
+function Oj(e, t = Date.now()) {
+ let n = Dj(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function wge(e, t = Date.now()) {
- let n = Mj(e, t);
+function Oge(e, t = Date.now()) {
+ let n = Dj(e, t);
if (!n) return "时间未取得";
if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;
let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);
return `${n.prefix}${r}${n.suffix}`;
}
-var Pj = /* @__PURE__ */ new Set(), Fj = [], Ij = null;
-function Lj() {
- if (Ij = null, !Fj.length) return;
- let e = Fj.splice(0, 200);
- yt("/api/follow/image-dims", {
+var kj = /* @__PURE__ */ new Set(), Aj = [], jj = null;
+function Mj() {
+ if (jj = null, !Aj.length) return;
+ let e = Aj.splice(0, 200);
+ _t("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), Fj.length && (Ij = setTimeout(Lj, 800));
+ }).catch(() => {}), Aj.length && (jj = setTimeout(Mj, 800));
}
-function Tge(e, t, n, r) {
+function kge(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- Pj.has(i) || (Pj.add(i), Fj.push(t === null ? {
+ kj.has(i) || (kj.add(i), Aj.push(t === null ? {
item: e,
width: n,
height: r
@@ -38536,26 +38521,26 @@ function Tge(e, t, n, r) {
width: n,
height: r,
media: t
- }), Ij ||= setTimeout(Lj, 800));
+ }), jj ||= setTimeout(Mj, 800));
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var Ege = (e) => e === "videos", Rj = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var Age = (e) => e === "videos", Nj = () => /* @__PURE__ */ (0, x.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function Dge(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Ege(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+function jge(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Age(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 = KO(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = KO(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 = KO(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 = zO(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = zO(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 = zO(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
return (0, b.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(S.current);
- }, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(zj, {
+ }, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Pj, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, x.jsx)(UO, {
+ }), /* @__PURE__ */ (0, x.jsx)(IO, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -38584,19 +38569,19 @@ function Dge(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(jge, {
+ n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Fge, {
keys: n,
view: t,
row: _,
glide: w,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, x.jsx)(Rj, {}) : null] }) : null,
- D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(kge, {
+ }), d ? /* @__PURE__ */ (0, x.jsx)(Nj, {}) : null] }) : null,
+ D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Nge, {
head: D,
row: E,
glide: O,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, x.jsx)(Rj, {})] }) : null,
+ }), /* @__PURE__ */ (0, x.jsx)(Nj, {})] }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -38617,11 +38602,11 @@ function Dge(e) {
f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));
},
children: e.label
- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, x.jsx)(Rj, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, x.jsx)(Nj, {}) : null]
}), /* @__PURE__ */ (0, x.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(WO, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(LO, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -38630,17 +38615,17 @@ function Dge(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(Age, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(Pge, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, x.jsx)(Mge, { ...e })
+ bottom: /* @__PURE__ */ (0, x.jsx)(Ige, { ...e })
})] });
}
-var Oge = [[
+var Mge = [[
"videos",
"视频",
"play",
@@ -38651,7 +38636,7 @@ var Oge = [[
"pics",
"image"
]];
-function kge({ head: e, row: t, glide: n, onMedia: r }) {
+function Nge({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
ref: t,
role: "group",
@@ -38659,7 +38644,7 @@ function kge({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: Oge.map(([t, i, a, o]) => {
+ children: Mge.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -38677,7 +38662,7 @@ function kge({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function Age({ head: e, actions: t }) {
+function Pge({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -38687,10 +38672,10 @@ function Age({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: Sj(n) }
+ dangerouslySetInnerHTML: { __html: _j(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(Rj, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(WO, {
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(Nj, {}) : null,
+ e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(LO, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -38703,7 +38688,7 @@ function Age({ head: e, actions: t }) {
}, e.k))
] });
}
-function jge({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function Fge({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -38751,7 +38736,7 @@ function jge({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function zj({ items: e, hidden: t, actions: n }) {
+function Pj({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -38771,7 +38756,7 @@ function zj({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function Mge(e) {
+function Ige(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", {
@@ -38783,26 +38768,26 @@ function Mge(e) {
dangerouslySetInnerHTML: { __html: L("chevron-left") }
}), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Nge, {
+ /* @__PURE__ */ (0, x.jsx)(Lge, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)(Pge, {
+ t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)(Rge, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(Ige, {
+ t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(Bge, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(Fge, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(zge, {
head: e.online,
actions: o
}) : null
] });
}
-function Nge({ text: e, busy: t }) {
+function Lge({ text: e, busy: t }) {
return /* @__PURE__ */ (0, x.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, x.jsx)("span", {
@@ -38812,22 +38797,22 @@ function Nge({ text: e, busy: t }) {
}) : e
});
}
-function Bj({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, x.jsx)(MA, {
+function Fj({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, x.jsx)(DA, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: gj,
+ className: dj,
children: r.map(([e, t, n]) => {
- let r = yj(n);
- return /* @__PURE__ */ (0, x.jsx)(NA, {
+ let r = mj(n);
+ return /* @__PURE__ */ (0, x.jsx)(OA, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: _j,
+ className: fj,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -38837,7 +38822,7 @@ function Bj({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function Vj({ onPress: e, busy: t = !1 }) {
+function Ij({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -38848,30 +38833,30 @@ function Vj({ onPress: e, busy: t = !1 }) {
onClick: () => {
t || e();
},
- dangerouslySetInnerHTML: { __html: t ? Qa("正在换一批") : L("shuffle") }
+ dangerouslySetInnerHTML: { __html: t ? Za("正在换一批") : L("shuffle") }
});
}
-function Pge({ head: e, actions: t }) {
+function Rge({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(Vj, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, x.jsx)(Bj, {
+ /* @__PURE__ */ (0, x.jsx)(Ij, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, x.jsx)(Fj, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Hj, {
+ /* @__PURE__ */ (0, x.jsx)(Lj, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function Hj({ sorts: e, onSort: t }) {
+function Lj({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: e.map((e) => {
- let n = yj(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = mj(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -38883,12 +38868,12 @@ function Hj({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function Fge({ head: e, actions: t }) {
+function zge({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(Vj, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Bj, {
+ /* @__PURE__ */ (0, x.jsx)(Ij, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Fj, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -38908,27 +38893,27 @@ function Fge({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: L("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, x.jsx)(Hj, {
+ /* @__PURE__ */ (0, x.jsx)(Lj, {
sorts: e.sorts,
onSort: t.onlineSort
})
]
});
}
-function Ige({ head: e, actions: t, helpers: n }) {
+function Bge({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, b.useState)(!1), a = (0, b.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, b.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, x.jsx)(Vj, {
+ e.shuffle ? /* @__PURE__ */ (0, x.jsx)(Ij, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Bj, {
+ /* @__PURE__ */ (0, x.jsx)(Fj, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -38944,34 +38929,34 @@ function Ige({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var Uj = "";
-function Lge(e) {
- let t = !e.tiers, n = Wge(e.comboHost);
+var Rj = "";
+function Vge(e) {
+ let t = !e.tiers, n = Jge(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, ht.createPortal)(/* @__PURE__ */ (0, x.jsx)(zj, {
+ n ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(Pj, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, x.jsx)(Bge, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(Rge, { ...e })
+ /* @__PURE__ */ (0, x.jsx)(Wge, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(Hge, { ...e })
]
});
}
-function Rge(e) {
- let { actions: t, helpers: n } = e, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = KO(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function Hge(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 = zO(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, b.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let l = !e.tiers, u = Gj(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = Bj(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, b.useLayoutEffect)(() => {
- uo(o.current, "tagbar");
- }, [u]), /* @__PURE__ */ (0, x.jsx)(UO, {
+ co(o.current, "tagbar");
+ }, [u]), /* @__PURE__ */ (0, x.jsx)(IO, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -39014,17 +38999,17 @@ function Rge(e) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(Wj, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(zge, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(zj, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(Uge, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)(Hge, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)(Kge, { ...e })
});
}
-function zge({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, x.jsxs)(WO, {
+function Uge({ tag: e, onPress: t }) {
+ return /* @__PURE__ */ (0, x.jsxs)(LO, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -39035,12 +39020,12 @@ function zge({ tag: e, onPress: t }) {
})]
});
}
-function Bge(e) {
+function Wge(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useCallback)((e) => () => t.moreTops(e), [t]), c = Gj(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = Gj(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
+ }, i = e.empty || !e.tiers, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useCallback)((e) => () => t.moreTops(e), [t]), c = Bj(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = Bj(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);
}, [
@@ -39053,7 +39038,7 @@ function Bge(e) {
children: [u ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, x.jsx)(Wj, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, x.jsx)(zj, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -39070,18 +39055,18 @@ function Bge(e) {
}) : null, d ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, x.jsx)(Wj, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, x.jsx)(zj, { 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)(Vge, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, x.jsx)(Gge, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function Vge({ studio: e }) {
+function Gge({ studio: e }) {
let [t, n] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-tier-mark": "",
@@ -39095,7 +39080,7 @@ function Vge({ studio: e }) {
}) : e.fallback
});
}
-function Wj({ kind: e }) {
+function zj({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -39111,41 +39096,41 @@ function Wj({ kind: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("span", {}), /* @__PURE__ */ (0, x.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function Hge({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function Kge({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let [a, o] = (0, b.useState)(!1);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Uge, { count: e }), /* @__PURE__ */ (0, x.jsxs)("span", {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(qge, { count: e }), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(Vj, {
+ /* @__PURE__ */ (0, x.jsx)(Ij, {
onPress: () => {
o(!0), i.reshuffle().finally(() => o(!1));
},
busy: a || t
}),
- n ? /* @__PURE__ */ (0, x.jsx)(Bj, {
+ n ? /* @__PURE__ */ (0, x.jsx)(Fj, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, x.jsx)(Hj, {
+ /* @__PURE__ */ (0, x.jsx)(Lj, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function Uge({ count: e }) {
+function qge({ 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;
if (!e) {
- Co(n.current);
+ xo(n.current);
return;
}
let i = t.current;
- i && (Uj && i.dataset.popCount === void 0 && (i.dataset.popCount = Uj), Uj = r, so(i, r));
+ i && (Rj && i.dataset.popCount === void 0 && (i.dataset.popCount = Rj), Rj = r, ao(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": "",
@@ -39161,7 +39146,7 @@ function Uge({ count: e }) {
})
}, "skeleton");
}
-function Wge(e) {
+function Jge(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!e) return;
@@ -39171,7 +39156,7 @@ function Wge(e) {
};
}, [e]), t;
}
-function Gj(e, t, n, r, i) {
+function Bj(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -39211,10 +39196,10 @@ function Gj(e, t, n, r, i) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function Kj(e, t) {
+function Vj(e, t) {
let [n, r] = (0, b.useState)(e ? "skeleton" : "none"), [i] = (0, b.useState)(() => e ? t() : ""), a = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- a.current && Co(a.current);
+ a.current && xo(a.current);
}, []), (0, b.useLayoutEffect)(() => {
if (e || n !== "skeleton") return;
let t = !!a.current && !a.current.querySelector(".skeleton-awaiting");
@@ -39237,13 +39222,13 @@ function Kj(e, t) {
fading: n === "fade"
};
}
-function qj({ message: e, onRetry: t }) {
+function Hj({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
e.target.closest("[data-note-action]") && t();
},
- dangerouslySetInnerHTML: { __html: Za(e, {
+ dangerouslySetInnerHTML: { __html: Xa(e, {
variant: "error",
actionLabel: "重试"
}) }
@@ -39251,7 +39236,7 @@ function qj({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/components/art-slot.tsx
-function Gge({ artwork: e, identity: t = e.html, relayout: n }) {
+function Yge({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, b.useState)({
identity: t,
artwork: e
@@ -39271,7 +39256,7 @@ function Gge({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/row-click.ts
-var Kge = [
+var Xge = [
"a",
"button",
"input",
@@ -39284,35 +39269,35 @@ var Kge = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function qge(e, t) {
+function Zge(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Kge);
+ let r = n.closest(Xge);
return !r || !t.contains(r) || r === t;
}
-function Jj(e) {
+function Uj(e) {
e.shiftKey && e.preventDefault();
}
//#endregion
//#region src/react/components/media-card.tsx
-var Jge = 9 / 16, Yge = "未命名视频";
-function Yj({ name: e }) {
+var Qge = 9 / 16, $ge = "未命名视频";
+function Wj({ 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 Xge = {
+var e_e = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
};
-function Zge(e, t, n) {
- return t === "short" ? Jge : Zw(n);
+function t_e(e, t, n) {
+ return t === "short" ? Qge : Yw(n);
}
-function Qge(e) {
+function n_e(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = ma(e), s = i[0] || "", c = ea(e);
return {
avatar: r ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -39359,7 +39344,7 @@ function Qge(e) {
})
};
}
-function $ge() {
+function r_e() {
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -39378,7 +39363,7 @@ function $ge() {
})]
});
}
-function e_e({ item: e, actions: t }) {
+function i_e({ item: e, actions: t }) {
let [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-media-later": "",
@@ -39396,21 +39381,21 @@ function e_e({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(Yj, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, x.jsx)(Wj, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function t_e(e, t) {
+function a_e(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 n_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
+function o_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
let l = (0, b.useRef)(null), u = (0, b.useRef)(e);
u.current = e;
let d = (0, b.useCallback)((e) => {
let t = u.current;
- l.current && l.current !== e && Js(l.current), l.current = e, e && (!t.medium || t.medium === "video") && iee(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 = ua(e, h, !1, n.javImage), _ = h === "small" ? g.html : ua(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || Yge, S = o.titleHtml(e, v).trim() || R(Yge), 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 } = Qge(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
+ l.current && l.current !== e && Ks(l.current), l.current = e, e && (!t.medium || t.medium === "video") && Js(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 = ua(e, h, !1, n.javImage), _ = h === "small" ? g.html : ua(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || $ge, S = o.titleHtml(e, v).trim() || R($ge), 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 } = n_e(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -39440,12 +39425,12 @@ function n_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
u && r.contains(u) ? s.toggleTag(u.dataset.tag || "") : c(e, r);
}, j = /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(Zge(e, t, n)) },
+ style: { "--card-ratio": String(t_e(e, t, n)) },
children: [
- g.html ? /* @__PURE__ */ (0, x.jsx)(Gge, {
+ g.html ? /* @__PURE__ */ (0, x.jsx)(Yge, {
artwork: g,
identity: _,
- relayout: (e) => Bs(e, h)
+ relayout: (e) => Rs(e, h)
}) : /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-nopic": "",
children: "无预览"
@@ -39456,11 +39441,11 @@ function n_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(Yj, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(Wj, { name: "check" })
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, x.jsx)(Yj, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(Wj, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
}),
f && !p ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-group": "",
@@ -39473,7 +39458,7 @@ function n_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}) : null,
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-duration": "",
- children: Ht(w)
+ children: Bt(w)
}),
T > 0 ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-media-progress": "",
@@ -39487,8 +39472,8 @@ function n_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, x.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, x.jsx)($ge, {}),
- /* @__PURE__ */ (0, x.jsx)(e_e, {
+ /* @__PURE__ */ (0, x.jsx)(r_e, {}),
+ /* @__PURE__ */ (0, x.jsx)(i_e, {
item: e,
actions: s
}),
@@ -39498,27 +39483,27 @@ function n_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), t_e(l.current, -a);
+ e.stopPropagation(), a_e(l.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, x.jsx)(Yj, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, x.jsx)(Wj, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), t_e(l.current, a);
+ e.stopPropagation(), a_e(l.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, x.jsx)(Yj, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, x.jsx)(Wj, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, x.jsx)(Yj, { name: "expand" })
+ children: /* @__PURE__ */ (0, x.jsx)(Wj, { name: "expand" })
})
]
})
@@ -39534,7 +39519,7 @@ function n_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": r ? "" : void 0,
onClick: A,
- onMouseDown: Jj,
+ onMouseDown: Uj,
children: [
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -39567,7 +39552,7 @@ function n_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}) : null,
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-size": "",
- children: Number(C) > 0 ? Wt(Number(C)) : "大小未知"
+ children: Number(C) > 0 ? Ht(Number(C)) : "大小未知"
}),
e.play_count ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-watch-count": "",
@@ -39595,8 +39580,8 @@ function n_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
]
});
}
-function r_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : Xge[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {
+function s_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : e_e[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {
t.preventDefault(), t.stopPropagation(), !s && (c(!0), i.resourceOperation(e, p).catch(() => {}).finally(() => c(!1)));
}, g = (t) => {
o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));
@@ -39610,14 +39595,14 @@ function r_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": t ? "" : void 0,
onClick: g,
- onMouseDown: Jj,
+ onMouseDown: Uj,
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)(Yj, { name: f }), /* @__PURE__ */ (0, x.jsx)("b", { children: d })]
+ children: [/* @__PURE__ */ (0, x.jsx)(Wj, { name: f }), /* @__PURE__ */ (0, x.jsx)("b", { children: d })]
}),
l ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-art": "thumb",
@@ -39629,11 +39614,11 @@ function r_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(Yj, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(Wj, { name: "check" })
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, x.jsx)(Yj, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(Wj, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -39643,7 +39628,7 @@ function r_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
onClick: h,
"aria-busy": s || void 0,
"aria-disabled": s || void 0,
- children: s ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: Qa(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, x.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Yj, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, x.jsx)("span", { children: m })] })
+ children: s ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: Za(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, x.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Wj, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, x.jsx)("span", { children: m })] })
})
]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -39652,7 +39637,7 @@ function r_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(Yj, { name: f })
+ children: /* @__PURE__ */ (0, x.jsx)(Wj, { name: f })
}), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-text": "",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
@@ -39673,7 +39658,7 @@ function r_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}) : null,
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-size": "",
- children: Number(e.size) > 0 ? Wt(Number(e.size)) : "大小未知"
+ children: Number(e.size) > 0 ? Ht(Number(e.size)) : "大小未知"
})
]
})]
@@ -39681,23 +39666,23 @@ function r_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
})]
});
}
-function i_e(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(r_e, { ...e }) : /* @__PURE__ */ (0, x.jsx)(n_e, { ...e });
+function c_e(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(s_e, { ...e }) : /* @__PURE__ */ (0, x.jsx)(o_e, { ...e });
}
-var Xj = (0, b.memo)(i_e), a_e = 1100, o_e = 340, s_e = 5e3;
-function c_e(e, t, n) {
+var Gj = (0, b.memo)(c_e), l_e = 1100, u_e = 340, d_e = 5e3;
+function f_e(e, t, n) {
return new Promise((r) => {
let i = new Image();
n && (i.referrerPolicy = n);
let a = !1, o = (e) => {
a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));
- }, s = () => o(!1), c = setTimeout(s, s_e);
+ }, s = () => o(!1), c = setTimeout(s, d_e);
t.cancels.add(s), i.onerror = s, i.onload = () => {
i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);
}, i.src = e;
});
}
-function l_e({ load: e, canFlip: t, referrerPolicy: n }) {
+function p_e({ 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,
@@ -39739,11 +39724,11 @@ function l_e({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => c_e(t, e, n)));
+ let s = await Promise.all(a.map((t) => f_e(t, e, n)));
if (!r() || !u.current.canFlip()) return;
let d = a.filter((e, t) => s[t]);
d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {
- p(), e.cycle = setInterval(p, a_e);
+ p(), e.cycle = setInterval(p, l_e);
}));
};
return (0, b.useEffect)(() => d, [d]), {
@@ -39752,7 +39737,7 @@ function l_e({ 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(o_e, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(u_e, () => {
e.armed = null, m();
});
},
@@ -39763,8 +39748,8 @@ function l_e({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var u_e = yj("play");
-function d_e({ src: e }) {
+var m_e = mj("play");
+function h_e({ src: e }) {
let [t, n] = (0, b.useState)(!1);
return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {
"data-mix-poster": "",
@@ -39777,8 +39762,8 @@ function d_e({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var f_e = "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 p_e({ faces: e, fallback: t, onOpenEntity: n }) {
+var g_e = "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 __e({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, x.jsx)("button", {
@@ -39786,18 +39771,18 @@ function p_e({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${f_e} cursor-pointer outline-none`,
+ className: `${g_e} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: na(e.name, e, Bi(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, x.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${f_e} mt-0.5`,
+ className: `${g_e} mt-0.5`,
children: t
});
}
-function m_e({ 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 = l_e({
+function v_e({ 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 = p_e({
load: i,
canFlip: a
}), C = (0, b.useRef)(S.onPointerLeave);
@@ -39824,11 +39809,11 @@ function m_e({ 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)(Gge, {
+ f?.html ? /* @__PURE__ */ (0, x.jsx)(Yge, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, x.jsx)(d_e, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, x.jsx)(h_e, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -39858,7 +39843,7 @@ function m_e({ 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)(u_e, {
+ children: [/* @__PURE__ */ (0, x.jsx)(m_e, {
"aria-hidden": !0,
className: "size-3.75"
}), g ?? `${n.toLocaleString()} 个视频`]
@@ -39871,10 +39856,10 @@ function m_e({ 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)(u_e, {})
- }) : /* @__PURE__ */ (0, x.jsx)(p_e, {
+ children: /* @__PURE__ */ (0, x.jsx)(m_e, {})
+ }) : /* @__PURE__ */ (0, x.jsx)(__e, {
faces: o,
- fallback: Jt(e),
+ fallback: Kt(e),
onOpenEntity: s
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -39896,20 +39881,20 @@ function m_e({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function Zj(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(g_e, { ...e });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${uE(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, x.jsx)(__e, { ...e }, t);
+function Kj(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(b_e, { ...e });
+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${cE(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return /* @__PURE__ */ (0, x.jsx)(x_e, { ...e }, t);
}
-function h_e({ name: e }) {
+function y_e({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function g_e(e) {
- let { actions: t } = e, n = (0, b.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, x.jsx)(Xj, {
+function b_e(e) {
+ let { actions: t } = e, n = (0, b.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, x.jsx)(Gj, {
item: i,
variant: r,
layout: e.layout,
@@ -39929,15 +39914,15 @@ function g_e(e) {
children: i
});
}
-function __e(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? ble(e) : dE(e), s = i && e.initial ? {
+function x_e(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? xle(e) : lE(e), s = i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
offset: 0
}],
pageParams: [0]
- } : void 0, c = mt({
+ } : void 0, c = ft({
queryKey: o.queryKey,
queryFn: ({ pageParam: e, signal: t }) => o.queryFn({
pageParam: e,
@@ -39950,7 +39935,7 @@ function __e(e) {
(0, b.useEffect)(() => {
c.isPending || l.current || (l.current = !0, e.settled?.(e.revision));
}, [c.isPending]);
- let { tiles: u, pageStarts: d } = (0, b.useMemo)(() => wle(c.data?.pages || [], {
+ let { tiles: u, pageStarts: d } = (0, b.useMemo)(() => Tle(c.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -39960,7 +39945,7 @@ function __e(e) {
e.mix,
a,
r.javImage
- ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = Kj(c.isPending, e.skeletonHtml), h = (0, b.useRef)(null), g = v_e(e, c.data, u, d, h);
+ ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = Vj(c.isPending, e.skeletonHtml), h = (0, b.useRef)(null), g = S_e(e, c.data, u, d, h);
(0, b.useLayoutEffect)(() => {
if (!c.data) return;
let t = !0;
@@ -39987,12 +39972,12 @@ function __e(e) {
let v = (0, b.useCallback)((e, t) => n.open(e, t), [n]), y = (0, b.useCallback)((e, t) => n.openResource(e, t), [n]), S = (0, b.useCallback)((e) => n.openShort(e), [n]), C = (0, b.useCallback)(async () => {
let e = await c.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [c.fetchNextPage]), w = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(b_e, {
+ }, [c.fetchNextPage]), w = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(w_e, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(Xj, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(Gj, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -40009,8 +39994,8 @@ function __e(e) {
"data-grid-reveal": m.fading ? "" : void 0,
children: [m.layer, (() => {
if (c.isPending) return null;
- if (!c.data) return /* @__PURE__ */ (0, x.jsx)(qj, {
- message: vt(c.error),
+ if (!c.data) return /* @__PURE__ */ (0, x.jsx)(Hj, {
+ message: gt(c.error),
onRetry: () => void c.refetch()
});
if (!u.length) {
@@ -40026,15 +40011,15 @@ function __e(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: Dle(u, g).map((t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
+ children: Ole(u, g).map((t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(w)
- }), t.strip ? /* @__PURE__ */ (0, x.jsx)(y_e, {
+ }), t.strip ? /* @__PURE__ */ (0, x.jsx)(C_e, {
cut: t.strip,
props: e,
onOpen: S
}) : null] }, t.start))
- }), c.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(Qj, {
+ }), c.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(qj, {
entity: i,
load: C,
enabled: () => e.canLoadMore?.() !== !1
@@ -40042,7 +40027,7 @@ function __e(e) {
})()]
});
}
-function Qj({ entity: e, load: t, enabled: n, children: r }) {
+function qj({ 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: ""
@@ -40069,7 +40054,7 @@ function Qj({ entity: e, load: t, enabled: n, children: r }) {
} catch (e) {
o.current = !0, i.current && c({
busy: !1,
- error: vt(e)
+ error: gt(e)
});
} finally {
a.current = !1;
@@ -40103,13 +40088,13 @@ function Qj({ entity: e, load: t, enabled: n, children: r }) {
...f,
hidden: !!s.error,
onClick: () => void u(!0),
- dangerouslySetInnerHTML: { __html: eo("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, x.jsx)(qj, {
+ dangerouslySetInnerHTML: { __html: Qa("继续载入中…") }
+ }), s.error ? /* @__PURE__ */ (0, x.jsx)(Hj, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function v_e(e, t, n, r, i) {
+function S_e(e, t, n, r, i) {
let [a, o] = (0, b.useState)([]), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(0), u = (0, b.useRef)(0), d = (0, b.useRef)([]);
return (0, b.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, b.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -40118,7 +40103,7 @@ function v_e(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- B(`/api/items?${Ele(e.filters || {}, l.current)}`, r.signal).then((e) => {
+ tn(`/api/items?${Dle(e.filters || {}, l.current)}`, r.signal).then((e) => {
let t = e.items || [];
t.length ? c({
page: i,
@@ -40130,7 +40115,7 @@ function v_e(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 = Tle(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 = Ele(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, {
@@ -40140,7 +40125,7 @@ function v_e(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function y_e({ cut: e, props: t, onOpen: n }) {
+function C_e({ cut: e, props: t, onOpen: n }) {
let r = (0, b.useRef)(null), { wireDrag: i } = t;
return (0, b.useEffect)(() => {
r.current && i(r.current);
@@ -40156,12 +40141,12 @@ function y_e({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, x.jsx)(h_e, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(y_e, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, x.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, x.jsx)(Xj, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, x.jsx)(Gj, {
item: e,
variant: "short",
layout: t.layout,
@@ -40175,17 +40160,17 @@ function y_e({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function $j(e, t, n) {
+function Jj(e, t, n) {
return da(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function b_e({ seed: e, layout: t, helpers: n, actions: r }) {
+function w_e({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, b.useRef)(/* @__PURE__ */ new Map()), a = (0, b.useRef)(t);
a.current = t;
let o = ga(e, n.tagLabel), s = (0, b.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => fE(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), $j(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = $j(e, t, !1);
- return /* @__PURE__ */ (0, x.jsx)(m_e, {
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => uE(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(n.map((e) => [String(e.id), Jj(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = Jj(e, t, !1);
+ return /* @__PURE__ */ (0, x.jsx)(v_e, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -40195,12 +40180,12 @@ function b_e({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : $j(e, {
+ artworkIdentity: c === "small" ? l.html : Jj(e, {
...t,
size: "small"
}, !1).html,
- relayoutArt: (e) => Bs(e, c),
- ratio: Zge(e, "grid", t),
+ relayoutArt: (e) => Rs(e, c),
+ ratio: t_e(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -40212,41 +40197,41 @@ function b_e({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-async function x_e(e) {
- await H.fetchQuery({
+async function T_e(e) {
+ await V.fetchQuery({
queryKey: fn,
queryFn: () => pn(e)
});
}
-var S_e = [
+var E_e = [
"local",
"115",
"pikpak"
-], C_e = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), w_e = "/api/duplicates?limit=120", eM = ["duplicates"], T_e = "/api/batch", tM = (e) => B(w_e, e), E_e = /[\s\-_.()[\]【】/\\]/;
-function D_e(e) {
+], D_e = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), O_e = "/api/duplicates?limit=120", Yj = ["duplicates"], k_e = "/api/batch", Xj = (e) => tn(O_e, e), A_e = /[\s\-_.()[\]【】/\\]/;
+function j_e(e) {
if (e.length < 2) return "";
let t = 0, n = e[0];
for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;
e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));
let r = t;
- for (; r > 0 && !E_e.test(n[r - 1]);) --r;
+ for (; r > 0 && !A_e.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var O_e = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function k_e(e) {
- await Promise.all([H.fetchQuery({
- queryKey: eM,
- queryFn: () => tM(e)
- }), x_e(e)]);
+var M_e = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function N_e(e) {
+ await Promise.all([V.fetchQuery({
+ queryKey: Yj,
+ queryFn: () => Xj(e)
+ }), T_e(e)]);
}
-var A_e = {
+var P_e = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, j_e = (e, t) => t.filter((t) => e.some((e) => e.location === t)), M_e = (e, t) => j_e(e, t).filter((t) => e.some((e) => e.location !== t)), N_e = (e, t) => t.filter((t) => e.some((e) => M_e(e.files, [t]).length));
-function P_e(e, t) {
+}, F_e = (e, t) => t.filter((t) => e.some((e) => e.location === t)), I_e = (e, t) => F_e(e, t).filter((t) => e.some((e) => e.location !== t)), L_e = (e, t) => t.filter((t) => e.some((e) => I_e(e.files, [t]).length));
+function R_e(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -40265,47 +40250,47 @@ function P_e(e, t) {
}
return n;
}
-function F_e(e, t) {
+function z_e(e, t) {
let n = new Set(t);
return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);
}
-async function I_e(e, t) {
- for (let n = 0; n < e.length; n += 200) await V(T_e, {
+async function B_e(e, t) {
+ for (let n = 0; n < e.length; n += 200) await B(k_e, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var L_e = "/api/library-processing", nM = ["library-processing"], R_e = (e) => B(L_e, e);
-async function z_e(e) {
- await H.fetchQuery({
- queryKey: nM,
- queryFn: () => R_e(e)
+var V_e = "/api/library-processing", Zj = ["library-processing"], H_e = (e) => tn(V_e, e);
+async function U_e(e) {
+ await V.fetchQuery({
+ queryKey: Zj,
+ queryFn: () => H_e(e)
});
}
-var B_e = 2e3, V_e = 1e4, H_e = "连接中断,正在重新读取处理进度";
-function U_e(e, t) {
- return e?.status === "running" ? B_e : t ? V_e : !1;
+var W_e = 2e3, G_e = 1e4, K_e = "连接中断,正在重新读取处理进度";
+function q_e(e, t) {
+ return e?.status === "running" ? W_e : t ? G_e : !1;
}
-var W_e = {
+var J_e = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, G_e = {
+}, Y_e = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function K_e(e) {
- let t = Object.entries(e).filter(([e, t]) => G_e[e] && t > 0).map(([e, t]) => `${G_e[e]} ${t.toLocaleString()} 部`);
+function X_e(e) {
+ let t = Object.entries(e).filter(([e, t]) => Y_e[e] && t > 0).map(([e, t]) => `${Y_e[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function q_e(e) {
- let t = W_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${NO(e.waited_seconds)}` : "";
+function Z_e(e) {
+ let t = J_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${EO(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function J_e(e) {
+function Q_e(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -40319,21 +40304,21 @@ function J_e(e) {
log: e.issues_log || ""
} : null;
}
-var Y_e = "peach.library-processing.announced", X_e = 120;
-function Z_e(e, t, n) {
+var $_e = "peach.library-processing.announced", eve = 120;
+function tve(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < X_e;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < eve;
if (n || r) {
try {
- if (e.job_id && localStorage.getItem(Y_e) === e.job_id) return;
- e.job_id && localStorage.setItem(Y_e, e.job_id);
+ if (e.job_id && localStorage.getItem($_e) === e.job_id) return;
+ e.job_id && localStorage.setItem($_e, 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 rM = "/api/media-repair", iM = ["media-repair"], Q_e = ["media-repair", "libraries"], $_e = {
+var Qj = "/api/media-repair", $j = ["media-repair"], nve = ["media-repair", "libraries"], rve = {
status: "idle",
library: "",
stage: "",
@@ -40345,41 +40330,41 @@ var rM = "/api/media-repair", iM = ["media-repair"], Q_e = ["media-repair", "lib
missing_tool: 0,
skipped: 0,
message: ""
-}, eve = (e) => B(rM, e), tve = async (e) => (await B("/api/libraries", e)).libraries || [];
-async function nve(e) {
- await Promise.all([H.fetchQuery({
- queryKey: iM,
- queryFn: () => eve(e)
- }), H.fetchQuery({
- queryKey: Q_e,
- queryFn: () => tve(e)
+}, ive = (e) => tn(Qj, e), ave = async (e) => (await tn("/api/libraries", e)).libraries || [];
+async function ove(e) {
+ await Promise.all([V.fetchQuery({
+ queryKey: $j,
+ queryFn: () => ive(e)
+ }), V.fetchQuery({
+ queryKey: nve,
+ queryFn: () => ave(e)
})]);
}
-var aM = (e) => Number(e).toLocaleString();
-function rve(e) {
+var eM = (e) => Number(e).toLocaleString();
+function sve(e) {
if (e.status === "running") {
- let t = e.total ? `${aM(Math.min(e.checked || 0, e.total))} / ${aM(e.total)}` : "准备中";
+ let t = e.total ? `${eM(Math.min(e.checked || 0, e.total))} / ${eM(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${aM(e.repaired)} 部,${aM(e.failed)} 部修不了` : `修好 ${aM(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${eM(e.repaired)} 部,${eM(e.failed)} 部修不了` : `修好 ${eM(e.repaired)} 部` : "";
}
-var ive = (e) => `${aM(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, ave = "/api/quality-goals?limit=200", oM = ["quality-goals"], sM = (e) => B(ave, e);
-async function ove(e) {
- await H.fetchQuery({
- queryKey: oM,
- queryFn: () => sM(e)
+var cve = (e) => `${eM(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, lve = "/api/quality-goals?limit=200", tM = ["quality-goals"], nM = (e) => tn(lve, e);
+async function uve(e) {
+ await V.fetchQuery({
+ queryKey: tM,
+ queryFn: () => nM(e)
});
}
-var sve = (e) => e.has_cover ? Zi(e) : `/poster?id=${e.id}&c=4`;
+var dve = (e) => e.has_cover ? Zi(e) : `/poster?id=${e.id}&c=4`;
//#endregion
//#region src/selection.ts
-function cve(e, t, n, r, i, a = i || !e.has(r)) {
+function fve(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 lve = "/api/review", uve = "/api/review/decision", dve = "/api/review/genre", cM = ["review"], lM = {
+var pve = "/api/review", mve = "/api/review/decision", hve = "/api/review/genre", rM = ["review"], iM = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -40389,15 +40374,15 @@ var lve = "/api/review", uve = "/api/review/decision", dve = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, fve = Object.keys(lM), pve = "metadata_fields", uM = (e) => typeof e == "string" && Object.hasOwn(lM, e), mve = {
+}, gve = Object.keys(iM), _ve = "metadata_fields", aM = (e) => typeof e == "string" && Object.hasOwn(iM, e), vve = {
creator_tags: "creator",
western_identity: "creator"
};
-function hve(e, t) {
+function yve(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 gve(e, t) {
+function bve(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -40414,43 +40399,43 @@ function gve(e, t) {
}
return [...n.values()];
}
-function _ve(e, t, n) {
- return n && gve(e, t).find((e) => e.key === n)?.rows || e;
+function xve(e, t, n) {
+ return n && bve(e, t).find((e) => e.key === n)?.rows || e;
}
-function vve(e, t) {
- let n = un(e.length, 20), r = dn(t, n);
+function Sve(e, t) {
+ let n = ln(e.length, 20), r = un(t, n);
return {
page: r,
pages: n,
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function yve(e) {
+function Cve(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 bve(e, t, n, r, i, a) {
- return cve(e, t, n, r, i, a);
+function wve(e, t, n, r, i, a) {
+ return fve(e, t, n, r, i, a);
}
-function xve(e, t) {
+function Tve(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function Sve(e, t) {
+function Eve(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var Cve = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function wve(e, t) {
- let n = Sve(e, t), r = Cve(e, t);
+var Dve = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function Ove(e, t) {
+ let n = Eve(e, t), r = Dve(e, t);
return r ? `${n} · ${r}` : n;
}
-var Tve = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Eve = (e) => String(e.tags || "").split("|").filter(Boolean), Dve = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function Ove(e) {
+var kve = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Ave = (e) => String(e.tags || "").split("|").filter(Boolean), jve = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function Mve(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function kve(e, t, n, r) {
+function Nve(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -40466,19 +40451,19 @@ function kve(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var Ave = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", jve = (e) => B(lve, e), Mve = (e) => V(uve, e), Nve = (e, t) => V(dve, {
+var Pve = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", Fve = (e) => tn(pve, e), Ive = (e) => B(mve, e), Lve = (e, t) => B(hve, {
genre: e,
tag: t
});
-async function Pve(e) {
- await H.fetchQuery({
- queryKey: cM,
- queryFn: () => jve(e)
+async function Rve(e) {
+ await V.fetchQuery({
+ queryKey: rM,
+ queryFn: () => Fve(e)
});
}
-function Fve(e, t) {
+function zve(e, t) {
let n = new Set(t);
- n.size && H.setQueryData(cM, (t) => {
+ n.size && V.setQueryData(rM, (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 : {
@@ -40494,248 +40479,248 @@ function Fve(e, t) {
};
});
}
-var Ive = () => H.invalidateQueries({
- queryKey: cM,
+var Bve = () => V.invalidateQueries({
+ queryKey: rM,
exact: !0
});
-function Lve(e, t) {
+function Vve(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${gn(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var Rve = "/api/links", zve = "/api/links/check", Bve = "/api/links/prune", dM = ["links"], fM = ["links", "check"], Vve = ["links", "prune"], Hve = {
+var Hve = "/api/links", Uve = "/api/links/check", Wve = "/api/links/prune", oM = ["links"], sM = ["links", "check"], Gve = ["links", "prune"], Kve = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function Uve(e) {
+async function qve(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var Wve = (e) => B(Rve, e), Gve = (e) => V(zve, { status_only: !0 }, "POST", e), Kve = ({ retry: e, checkId: t }) => Uve(V(zve, e ? {
+var Jve = (e) => tn(Hve, e), Yve = (e) => B(Uve, { status_only: !0 }, "POST", e), Xve = ({ retry: e, checkId: t }) => qve(B(Uve, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), qve = (e) => B(Bve, e), Jve = (e) => Uve(V(Bve, {
+} : { restart: !0 })), Zve = (e) => tn(Wve, e), Qve = (e) => qve(B(Wve, {
confirm: !0,
check_id: e,
background: !0
-})), pM = (e) => Number(e || 0).toLocaleString(), Yve = (e) => `已删除 ${pM(e.removed)} 条;${e.marked ? `已隐退女优的 ${pM(e.marked)} 条留作不可点的记录;` : ""}保留 ${pM(e.recovered)} 条未确认失效的链接。`;
-function Xve(e) {
+})), cM = (e) => Number(e || 0).toLocaleString(), $ve = (e) => `已删除 ${cM(e.removed)} 条;${e.marked ? `已隐退女优的 ${cM(e.marked)} 条留作不可点的记录;` : ""}保留 ${cM(e.recovered)} 条未确认失效的链接。`;
+function eye(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${pM(e.checked)} / ${pM(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${cM(e.checked)} / ${cM(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var mM = "/api/settings", Zve = "/api/follow/schedule", Qve = "/api/thumbnail-jobs", hM = ["settings"], $ve = ["follow-schedule"], eye = ["thumbnail-jobs"], tye = (e) => B(mM, e), nye = (e) => B(Zve, e), rye = (e) => B(Qve, e);
-function iye(e = H) {
+var lM = "/api/settings", tye = "/api/follow/schedule", nye = "/api/thumbnail-jobs", uM = ["settings"], rye = ["follow-schedule"], iye = ["thumbnail-jobs"], aye = (e) => tn(lM, e), oye = (e) => tn(tye, e), sye = (e) => tn(nye, e);
+function cye(e = V) {
return e.fetchQuery({
- queryKey: hM,
- queryFn: ({ signal: e }) => tye(e),
+ queryKey: uM,
+ queryFn: ({ signal: e }) => aye(e),
staleTime: 0
}).catch(() => null);
}
-function gM() {
- return pt({
- mutationFn: (e) => V(mM, e),
- onSuccess: (e) => H.setQueryData(hM, e)
+function dM() {
+ return dt({
+ mutationFn: (e) => B(lM, e),
+ onSuccess: (e) => V.setQueryData(uM, e)
});
}
-function aye() {
- return pt({
- mutationFn: (e) => V(Zve, {
+function lye() {
+ return dt({
+ mutationFn: (e) => B(tye, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => H.setQueryData($ve, e)
+ onSuccess: (e) => V.setQueryData(rye, e)
});
}
-function oye() {
- return pt({
- mutationFn: (e) => V(Qve, { mode: e }),
- onSuccess: (e) => H.setQueryData(eye, e)
+function uye() {
+ return dt({
+ mutationFn: (e) => B(nye, { mode: e }),
+ onSuccess: (e) => V.setQueryData(iye, e)
});
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var sye = "/api/organize", cye = "/api/organize/preview", lye = "/api/organize/apply", uye = "/api/organize/rollback", _M = ["organize"], vM = (e) => B(sye, e);
-async function dye(e) {
- await H.fetchQuery({
- queryKey: _M,
- queryFn: () => vM(e)
+var dye = "/api/organize", fye = "/api/organize/preview", pye = "/api/organize/apply", mye = "/api/organize/rollback", fM = ["organize"], pM = (e) => tn(dye, e);
+async function hye(e) {
+ await V.fetchQuery({
+ queryKey: fM,
+ queryFn: () => pM(e)
});
}
-var fye = (e) => V(cye, e), pye = (e) => e.kind === "apply" ? V(lye, {
+var gye = (e) => B(fye, e), _ye = (e) => e.kind === "apply" ? B(pye, {
...e.request,
confirm: !0
-}) : V(uye, { confirm: !0 });
-async function mye(e) {
- H.setQueryData(_M, (t) => t && {
+}) : B(mye, { confirm: !0 });
+async function vye(e) {
+ V.setQueryData(fM, (t) => t && {
...t,
templates: e
});
try {
- await V(mM, { organizeTemplates: e });
+ await B(lM, { organizeTemplates: e });
} catch {}
}
-var hye = (e, t) => e && {
+var yye = (e, t) => e && {
...e,
...t
-}, gye = /目录模板|分隔符|盘符|`\.`/;
-function _ye(e) {
+}, bye = /目录模板|分隔符|盘符|`\.`/;
+function mM(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var yM = (e) => Number(e || 0).toLocaleString();
-function vye(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${yM(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${yM(e.counts.change)} 个文件会改名或移动,${yM(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var hM = (e) => Number(e || 0).toLocaleString();
+function xye(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${hM(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${hM(e.counts.change)} 个文件会改名或移动,${hM(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function bM(e) {
+function gM(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${yM(r)} 个文件${n ? `,${yM(n)} 行未能退回` : ""}。` : `已整理 ${yM(r)} 个文件${n ? `,${yM(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${hM(r)} 个文件${n ? `,${hM(n)} 行未能退回` : ""}。` : `已整理 ${hM(r)} 个文件${n ? `,${hM(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var xM = "/api/resource-sync/scan", SM = "/api/resource-sync/apply", CM = ["resource-sync", "scan"], wM = ["resource-sync", "apply"], TM = (e) => V(xM, {
+var _M = "/api/resource-sync/scan", vM = "/api/resource-sync/apply", yM = ["resource-sync", "scan"], bM = ["resource-sync", "apply"], xM = (e) => B(_M, {
background: !0,
status_only: !0
-}, "POST", e), yye = () => V(xM, {
+}, "POST", e), Sye = () => B(_M, {
background: !0,
restart: !0
-}), EM = (e) => B(SM, e), bye = (e) => V(SM, {
+}), SM = (e) => tn(vM, e), Cye = (e) => B(vM, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), DM = (e) => (e?.sources ?? []).some((e) => S_e.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function xye(e) {
- DM(H.getQueryData(fn)) && await Promise.all([H.fetchQuery({
- queryKey: CM,
- queryFn: () => TM(e)
- }), H.fetchQuery({
- queryKey: wM,
- queryFn: () => EM(e)
+}), CM = (e) => (e?.sources ?? []).some((e) => E_e.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function wye(e) {
+ CM(V.getQueryData(fn)) && await Promise.all([V.fetchQuery({
+ queryKey: yM,
+ queryFn: () => xM(e)
+ }), V.fetchQuery({
+ queryKey: bM,
+ queryFn: () => SM(e)
})]);
}
-var Sye = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Cye = {
+var Tye = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Eye = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, OM = (e) => Number(e || 0).toLocaleString(), wye = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", kM = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), AM = (e) => e.vanish ? `${OM(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", jM = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Tye = (e) => `将永久删除文件已不在盘上的 ${OM(kM(e))} 条记录和 ${OM(e.empty)} 个空文件夹,并清理 ${OM(e.cache?.files)} 个闲置缓存。${jM(e)}${AM(e)}`, Eye = (e) => `将永久删除文件已不在盘上的 ${OM(kM(e))} 条记录(含回收站里的)、${OM(e.empty)} 个空文件夹,并清理 ${OM(e.cache?.files)} 个闲置缓存。来源根目录保留。${jM(e)}${AM(e)}`, Dye = (e) => e.online ? [
- `找不到文件 · 共 ${OM(e.total)} 项`,
- e.vanish ? `${OM(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${OM(e.empty)} 个` : "",
- e.unreadable ? `${OM(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${OM(e.total)} 项`;
-function MM(e) {
+}, wM = (e) => Number(e || 0).toLocaleString(), Dye = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", TM = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), EM = (e) => e.vanish ? `${wM(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", DM = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Oye = (e) => `将永久删除文件已不在盘上的 ${wM(TM(e))} 条记录和 ${wM(e.empty)} 个空文件夹,并清理 ${wM(e.cache?.files)} 个闲置缓存。${DM(e)}${EM(e)}`, kye = (e) => `将永久删除文件已不在盘上的 ${wM(TM(e))} 条记录(含回收站里的)、${wM(e.empty)} 个空文件夹,并清理 ${wM(e.cache?.files)} 个闲置缓存。来源根目录保留。${DM(e)}${EM(e)}`, Aye = (e) => e.online ? [
+ `找不到文件 · 共 ${wM(e.total)} 项`,
+ e.vanish ? `${wM(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${wM(e.empty)} 个` : "",
+ e.unreadable ? `${wM(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${wM(e.total)} 项`;
+function OM(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 ? `${OM(t.length)} 条记录没有删除(${o})` : "",
- n ? `${OM(n)} 个文件夹没有删除` : "",
- r.length ? `${OM(r.length)} 个缓存没有清理` : ""
+ t.length ? `${wM(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${wM(n)} 个文件夹没有删除` : "",
+ r.length ? `${wM(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var Oye = (e, t) => {
- let { rest: n } = MM(e), r = `已永久删除 ${OM(e.purged)} 条失效记录和 ${OM(e.dirs_removed)} 个空文件夹,清理 ${OM(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${OM(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${OM(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var jye = (e, t) => {
+ let { rest: n } = OM(e), r = `已永久删除 ${wM(e.purged)} 条失效记录和 ${wM(e.dirs_removed)} 个空文件夹,清理 ${wM(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${wM(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${wM(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, kye = "/api/review?counts=1", NM = ["review", "counts"], Aye = "/api/ads?limit=1", PM = ["junk-summary"], FM = "/api/items?state=trash&limit=1", IM = ["trash-summary"], jye = [
+}, Mye = "/api/review?counts=1", kM = ["review", "counts"], Nye = "/api/ads?limit=1", AM = ["junk-summary"], jM = "/api/items?state=trash&limit=1", MM = ["trash-summary"], Pye = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], LM = (e) => B(kye, e), RM = (e) => B(Aye, e), zM = (e) => {
+], NM = (e) => tn(Mye, e), PM = (e) => tn(Nye, e), FM = (e) => {
let t = sessionStorage.getItem("peach.library");
- return B(t ? `${FM}&library=${encodeURIComponent(t)}` : FM, e);
-}, BM = (e) => Number(e || 0).toLocaleString();
-function Mye(e) {
- let t = lM, 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 tn(t ? `${jM}&library=${encodeURIComponent(t)}` : jM, e);
+}, IM = (e) => Number(e || 0).toLocaleString();
+function Fye(e) {
+ let t = iM, 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 Nye(e) {
+function Iye(e) {
if (!e) return "";
- let t = jye.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${BM(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${BM(e.dismissed_total)}`), t.join(" · ");
-}
-var Pye = [
- [NM, ({ signal: e }) => LM(e)],
- [oM, ({ signal: e }) => sM(e)],
- [IM, ({ signal: e }) => zM(e)],
- [dM, ({ signal: e }) => Wve(e)],
- [fM, ({ signal: e }) => Gve(e)],
- [Vve, ({ signal: e }) => qve(e)]
+ let t = Pye.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${IM(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${IM(e.dismissed_total)}`), t.join(" · ");
+}
+var Lye = [
+ [kM, ({ signal: e }) => NM(e)],
+ [tM, ({ signal: e }) => nM(e)],
+ [MM, ({ signal: e }) => FM(e)],
+ [oM, ({ signal: e }) => Jve(e)],
+ [sM, ({ signal: e }) => Yve(e)],
+ [Gve, ({ signal: e }) => Zve(e)]
];
-async function Fye(e) {
- let t = location.hash === "#resource-sync", n = Pye.map(([n, r]) => {
- if (t) return H.fetchQuery({
+async function Rye(e) {
+ let t = location.hash === "#resource-sync", n = Lye.map(([n, r]) => {
+ if (t) return V.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
}).catch(() => void 0);
- H.getQueryState(n) && H.prefetchQuery({
+ V.getQueryState(n) && V.prefetchQuery({
queryKey: n,
queryFn: r
});
});
await Promise.all([
...n,
- H.fetchQuery({
- queryKey: PM,
- queryFn: () => RM(e)
+ V.fetchQuery({
+ queryKey: AM,
+ queryFn: () => PM(e)
}),
- H.fetchQuery({
- queryKey: eM,
- queryFn: () => tM(e)
+ V.fetchQuery({
+ queryKey: Yj,
+ queryFn: () => Xj(e)
}),
- x_e(e).then(() => xye(e)),
- z_e(e),
- nve(e),
- dye(e)
+ T_e(e).then(() => wye(e)),
+ U_e(e),
+ ove(e),
+ hye(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var Iye = [
+var zye = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], Lye = [
+], Bye = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function VM(e = {}) {
- return `${cO({
+function LM(e = {}) {
+ return `${tO({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var HM = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Rye = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function UM({ interactive: e = !1 } = {}) {
- return cO({
+var RM = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Vye = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function zM({ interactive: e = !1 } = {}) {
+ return tO({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var zye = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function WM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var Hye = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function BM({ 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",
@@ -40768,13 +40753,13 @@ function WM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function GM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function VM({ 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 ${Iye[n % 4]} ${Lye[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${zye[n % 4]} ${Bye[n % 4]}`,
children: /* @__PURE__ */ (0, x.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -40796,16 +40781,16 @@ function GM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function KM(e) {
- let t = dj("hover");
- return /* @__PURE__ */ (0, x.jsx)(TA, {
+function HM(e) {
+ let t = oj("hover");
+ return /* @__PURE__ */ (0, x.jsx)(bA, {
...e,
ref: t
});
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var qM = [
+var UM = [
"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",
@@ -40813,28 +40798,31 @@ var qM = [
"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(" "), Bye = "w-[266px]", Vye = "flex w-full flex-col gap-1 outline-none", JM = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), YM = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", Hye = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", XM = {
+].join(" "), Uye = "w-[266px]", Wye = "flex w-full flex-col gap-1 outline-none", WM = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), GM = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", Gye = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", KM = {
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
-}, Uye = {
- medium: XM.medium,
+}, Kye = {
+ medium: KM.medium,
small: "size-8 rounded-lg p-0 text-body-medium"
-}, Wye = {
+}, qye = {
medium: "size-5 shrink-0",
small: "size-[18px] shrink-0"
-}, Gye = {
+}, Jye = {
medium: "inline-flex items-center justify-center px-1 shrink-0",
small: "inline-flex items-center justify-center px-0.5 shrink-0"
-}, Kye = {
+}, Yye = {
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"
-}, ZM = (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 QM({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {
- let o = r ? XM[t] : Uye[t], s = n ? ZM(n, Wye[t]) : "", c = r ? `<span class="${Gye[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
- return `<button type="button" class="${Hye} ${o} ${Kye[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
+}, qM = (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 JM(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">${qM("search", "size-5 shrink-0")}<input type="search" readonly tabindex="-1" aria-label="${R(n)}" value="${R(t)}" placeholder="${R(e)}" class="min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary"></div></div></div></div>`;
}
-var qye = {
+function YM({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {
+ let o = r ? KM[t] : Kye[t], s = n ? qM(n, qye[t]) : "", c = r ? `<span class="${Jye[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
+ return `<button type="button" class="${Gye} ${o} ${Yye[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
+}
+var Xye = {
md: {
box: "gap-1.5 px-2.5 py-2 text-body-medium",
value: "gap-[5px]",
@@ -40846,156 +40834,156 @@ var qye = {
chevron: "size-3.5"
}
};
-function $M(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
- let i = qye[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>${ZM("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
+function XM(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
+ let i = Xye[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>${qM("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
}
-var Jye = "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", Yye = "flex min-w-0 flex-col gap-2", Xye = "text-body-regular text-text-secondary", Zye = "text-display-4-medium tabular-nums text-text-primary", Qye = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
-function eN(e) {
- return `<div data-collection-summary="" class="${Jye}"><div class="${Yye}"><span class="${Xye}">${e}</span><strong class="${Zye}"><span data-skeleton="count" aria-hidden="true" class="${Qye}"></span></strong></div></div>`;
+var Zye = "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", Qye = "flex min-w-0 flex-col gap-2", $ye = "text-body-regular text-text-secondary", ebe = "text-display-4-medium tabular-nums text-text-primary", tbe = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
+function ZM(e) {
+ return `<div data-collection-summary="" class="${Zye}"><div class="${Qye}"><span class="${$ye}">${e}</span><strong class="${ebe}"><span data-skeleton="count" aria-hidden="true" class="${tbe}"></span></strong></div></div>`;
}
//#endregion
//#region src/management.ts
-var tN = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", nN = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", rN = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", iN = "type=\"button\" disabled data-skeleton-action", aN = "disabled data-skeleton-action", $ye = "aria-disabled=\"true\"", oN = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, sN = (e, t) => `<div data-geist-fieldset-content>
+var QM = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", $M = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", eN = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", tN = "type=\"button\" disabled data-skeleton-action", nN = "disabled data-skeleton-action", nbe = "aria-disabled=\"true\"", rN = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, iN = (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 ebe() {
- return oN(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
- ${sN("扫描与采集", tN)}
- <footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${ZM("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${QM({
+function rbe() {
+ return rN(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
+ ${iN("扫描与采集", QM)}
+ <footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${qM("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${YM({
glyph: "database",
label: "扫描并补全资料",
- attrs: aN
- })}${QM({
+ attrs: nN
+ })}${YM({
glyph: "chevron-down",
- attrs: `${aN} aria-label="更多扫描与采集方式"`
+ attrs: `${nN} aria-label="更多扫描与采集方式"`
})}</span></footer>
</section>`);
}
-function tbe() {
- return oN(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
- ${sN("媒体修复", nN)}
- <footer data-geist-fieldset-footer>${$M(rN, {
+function ibe() {
+ return rN(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
+ ${iN("媒体修复", $M)}
+ <footer data-geist-fieldset-footer>${XM(eN, {
className: "w-48",
- attrs: $ye
- })}${QM({
+ attrs: nbe
+ })}${YM({
label: "开始修复",
- attrs: aN
+ attrs: nN
})}</footer>
</section>`);
}
-function cN() {
+function aN() {
let e = [
["人工复核", "square-check-big"],
["高清版", "sparkles"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["回收站", "trash"]
- ], t = `<span class="geist-button ui-organize-preset-skeleton">${rN}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
- <span class="geist-input ui-organize-input-skeleton">${rN}</span></div>`;
+ ], t = `<span class="geist-button ui-organize-preset-skeleton">${eN}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
+ <span class="geist-input ui-organize-input-skeleton">${eN}</span></div>`;
return `<div class="ui-cleanuppage" data-skeleton="cleanup" aria-busy="true" aria-label="正在读取数据管理状态">
<div class="ui-cleanupstats">${e.map(([e, t]) => `
<button type="button" class="board-plain-stat" disabled>
<span class="ui-board-plain-stat-head"><span class="ui-board-stat-tile">${L(t)}</span>${e}</span>
- <strong>${rN}</strong><span class="cleanupmeta">${rN}</span></button>`).join("")}</div>
+ <strong>${eN}</strong><span class="cleanupmeta">${eN}</span></button>`).join("")}</div>
<div class="cleanupgrid">
- <div class="cleanupscraping">${ebe()}</div>
- <div class="cleanupmediarepair">${tbe()}</div>
+ <div class="cleanupscraping">${rbe()}</div>
+ <div class="cleanupmediarepair">${ibe()}</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">${rN}${L("chevron-down")}</span></span></div>
+ <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${eN}${L("chevron-down")}</span></span></div>
${n("文件名模板")}
${n("目录模板")}
<div class="ui-organizepresets">${t}</div>
- <p class="cleanupmeta">${rN}</p>
+ <p class="cleanupmeta">${eN}</p>
</div></div>
- <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${iN}>预览</button></footer>
+ <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${tN}>预览</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>${rN}</b><small>${rN}</small></div>${[
+ <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${eN}</b><small>${eN}</small></div>${[
"官网/事务所",
"社交账号",
"作品资料站"
- ].map((e) => `<div><span>${e}</span><b>${rN}</b></div>`).join("")}</div>
- <div class="ui-linkhosts"><span>主要站点</span><b>${rN}</b></div></div></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${iN}>${L("unlink")}<span>检查死链</span></button></div>
+ ].map((e) => `<div><span>${e}</span><b>${eN}</b></div>`).join("")}</div>
+ <div class="ui-linkhosts"><span>主要站点</span><b>${eN}</b></div></div></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${tN}>${L("unlink")}<span>检查死链</span></button></div>
</div></section>
<section class="ui-resourcesync" aria-labelledby="cleanup-loading-sync">
<h2 id="cleanup-loading-sync">资源同步</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">文件与记录核对</h3>
<p>按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。</p></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${iN}>${L("git-compare")}<span>检查文件</span></button></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${tN}>${L("git-compare")}<span>检查文件</span></button></div>
</div></section></div>`;
}
//#endregion
//#region src/react/components/fieldset.tsx
-var nbe = cO({
+var abe = tO({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), rbe = {
+}), obe = {
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"
-}, ibe = {
+}, sbe = {
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"
-}, abe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", obe = {
+}, cbe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", lbe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, sbe = cO({
+}, ube = tO({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), lN = "border-t border-border-button-default p-4 first:border-t-0";
-function uN({ tone: e = "neutral", status: t, children: n }) {
+}), oN = "border-t border-border-button-default p-4 first:border-t-0";
+function sN({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: `${abe} ${obe[e]}`,
+ className: `${cbe} ${lbe[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 dN({ id: e, children: t }) {
+function cN({ 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 fN({ id: e, gap: t = "none", children: n }) {
+function lN({ 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 pN({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function uN({ 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: `${nbe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${abe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
- className: rbe[e],
+ className: obe[e],
children: a
}), i ? /* @__PURE__ */ (0, x.jsx)("footer", {
- className: ibe[e],
+ className: sbe[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function mN() {
+function dN() {
let e = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
_a(e.current);
@@ -41003,7 +40991,7 @@ function mN() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var hN = rO({
+var fN = XD({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -41024,21 +41012,21 @@ var hN = rO({
small: "size-4 shrink-0"
}
});
-function gN({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function pN({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
ref: i,
type: r,
- className: nO(hN.base, hN.size[t], n),
+ className: YD(fN.base, fN.size[t], n),
...a,
children: /* @__PURE__ */ (0, x.jsx)(e, {
- className: hN.icon[t],
+ className: fN.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function cbe({ className: e }) {
+function dbe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -41051,8 +41039,8 @@ function cbe({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-open" })
});
}
-var lbe = "打开文件管理器失败,请重试";
-function _N({ path: e, prefix: t, className: n, onRevealed: r }) {
+var fbe = "打开文件管理器失败,请重试";
+function mN({ 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;
@@ -41061,9 +41049,9 @@ function _N({ path: e, prefix: t, className: n, onRevealed: r }) {
if (!i) {
a(!0), s("");
try {
- await V("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
+ await B("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof tn ? e.message : lbe);
+ c.current && s(e instanceof $t ? e.message : fbe);
} finally {
c.current && a(!1);
}
@@ -41074,10 +41062,10 @@ function _N({ 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: nO("min-w-0 break-all", n),
+ className: YD("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, x.jsx)(gN, {
- icon: cbe,
+ }), /* @__PURE__ */ (0, x.jsx)(pN, {
+ icon: dbe,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -41092,38 +41080,38 @@ function _N({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function vN({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function hN({ 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" : cO({
+ className: r ? "flex flex-col gap-1.5" : tO({
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)(pO, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(oO, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary wrap-anywhere",
children: e
- })] }) : /* @__PURE__ */ (0, x.jsx)(uO, { label: e })
+ })] }) : /* @__PURE__ */ (0, x.jsx)(rO, { label: e })
});
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function yN({ toast: e, mode: t, monitor: n }) {
- let r = t === "notice" || !!n, i = ft({
- queryKey: nM,
- queryFn: ({ signal: e }) => R_e(e),
- refetchInterval: (e) => U_e(e.state.data, r)
+function gN({ toast: e, mode: t, monitor: n }) {
+ let r = t === "notice" || !!n, i = ut({
+ queryKey: Zj,
+ queryFn: ({ signal: e }) => H_e(e),
+ refetchInterval: (e) => q_e(e.state.data, r)
}), [a, o] = (0, b.useState)(null), s = (0, b.useRef)(void 0), c = i.data;
return (0, b.useEffect)(() => {
if (!c) return;
let n = s.current;
s.current = c.status;
let r = n === "running" && c.status !== "running";
- r && o(c), (r || t === "notice") && Z_e(c, e, r);
+ r && o(c), (r || t === "notice") && tve(c, e, r);
}, [
c,
t,
@@ -41136,29 +41124,29 @@ function yN({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var ube = [
+var pbe = [
{
label: "扫描并补全资料",
- icon: ED,
+ icon: yD,
command: {}
},
{
label: "只扫描",
- icon: kD,
+ icon: SD,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: Pde,
+ icon: Bde,
command: { stage: "collect" }
}
-], dbe = nO(JM, YM, "text-body-2-medium"), fbe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", pbe = (e) => {
+], mbe = YD(WM, GM, "text-body-2-medium"), hbe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", gbe = (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(",")}。`;
-}, mbe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + pbe(e);
-function hbe({ busy: e, onRun: t }) {
+}, _be = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + gbe(e);
+function vbe({ busy: e, onRun: t }) {
let n = (0, b.useRef)(null), [r, i] = (0, b.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -41167,14 +41155,14 @@ function hbe({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: ED,
+ leadingIcon: yD,
onClick: () => a({}),
...q(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, x.jsx)(G, {
ref: n,
iconOnly: !0,
- leadingIcon: xD,
+ leadingIcon: mD,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -41183,19 +41171,19 @@ function hbe({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, x.jsx)(mA, {
+ }), /* @__PURE__ */ (0, x.jsx)(lA, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: qM,
- children: /* @__PURE__ */ (0, x.jsx)(KM, {
+ className: UM,
+ children: /* @__PURE__ */ (0, x.jsx)(HM, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: ube.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: pbe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: dbe,
+ className: mbe,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, x.jsx)(t, {
"aria-hidden": !0,
@@ -41205,8 +41193,8 @@ function hbe({ busy: e, onRun: t }) {
})
})] });
}
-function gbe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = J_e(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = K_e(e.notes || {}), c = mN();
+function ybe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = Q_e(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = X_e(e.notes || {}), c = dN();
return /* @__PURE__ */ (0, x.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -41214,7 +41202,7 @@ function gbe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "处理较慢",
- children: fbe
+ children: hbe
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -41226,7 +41214,7 @@ function gbe({ 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)(OO, {
+ children: /* @__PURE__ */ (0, x.jsxs)(xO, {
summary: a.label,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "relative",
@@ -41257,7 +41245,7 @@ function gbe({ 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)(_N, {
+ children: /* @__PURE__ */ (0, x.jsx)(mN, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -41271,13 +41259,13 @@ function gbe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "success",
title: "处理完成",
- children: mbe(n)
+ children: _be(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)(_N, {
+ children: /* @__PURE__ */ (0, x.jsx)(mN, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -41289,38 +41277,38 @@ function gbe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function bN(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = yN(e), o = pt({
- mutationFn: (e) => V(L_e, e),
+function _N(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = gN(e), o = dt({
+ mutationFn: (e) => B(V_e, e),
onSuccess: (e) => {
- a(), H.setQueryData(nM, e), H.invalidateQueries({ queryKey: nM });
+ a(), V.setQueryData(Zj, e), V.invalidateQueries({ queryKey: Zj });
}
});
(0, b.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? z(o.error) : r.isError ? r.data ? H_e : z(r.error) : "", l = o.isPending || s.status === "running", u = q_e(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? z(o.error) : r.isError ? r.data ? K_e : z(r.error) : "", l = o.isPending || s.status === "running", u = Z_e(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)(pN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(uN, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(_O, {
+ /* @__PURE__ */ (0, x.jsx)(uO, {
href: "/scraping",
size: "small",
- trailingIcon: SD,
+ trailingIcon: hD,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, x.jsx)(_O, {
+ s.candidates ? /* @__PURE__ */ (0, x.jsx)(uO, {
href: "/review",
size: "small",
- trailingIcon: SD,
+ trailingIcon: hD,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, x.jsx)(hbe, {
+ /* @__PURE__ */ (0, x.jsx)(vbe, {
busy: l,
onRun: d
})
@@ -41328,12 +41316,12 @@ function bN(e) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(fN, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, x.jsx)(lN, { children: "扫描与采集" }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: tN
+ children: QM
}),
- s.status === "running" ? /* @__PURE__ */ (0, x.jsx)(vN, {
+ s.status === "running" ? /* @__PURE__ */ (0, x.jsx)(hN, {
embedded: !0,
label: u,
value: Math.min(s.checked || 0, s.total || 0),
@@ -41341,7 +41329,7 @@ function bN(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, x.jsx)(gbe, {
+ }), /* @__PURE__ */ (0, x.jsx)(ybe, {
state: s,
problem: c,
settled: i,
@@ -41357,7 +41345,7 @@ function bN(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function _be(e) {
+function bbe(e) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -41371,7 +41359,7 @@ function _be(e) {
})
});
}
-function vbe(e) {
+function xbe(e) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -41385,7 +41373,7 @@ function vbe(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function ybe(e, t, n) {
+function Sbe(e, t, n) {
(0, b.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -41399,7 +41387,7 @@ function ybe(e, t, n) {
n
]);
}
-function bbe(e, t) {
+function Cbe(e, t) {
let n = (0, b.useRef)(!1);
return (0, b.useEffect)(() => {
if (!e) return;
@@ -41413,33 +41401,33 @@ function bbe(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var xN = (0, b.createContext)("md");
-function SN({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var vN = (0, b.createContext)("md");
+function yN({ 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);
- ybe(d, () => f(!1), [l, u]);
- let p = bbe(d, l);
- return /* @__PURE__ */ (0, x.jsx)(khe, {
+ Sbe(d, () => f(!1), [l, u]);
+ let p = Cbe(d, l);
+ return /* @__PURE__ */ (0, x.jsx)(Nhe, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: nO("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(sk, {
+ className: YD("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(wme, {
ref: l,
- className: nO("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
- children: [/* @__PURE__ */ (0, x.jsx)(Mhe, {
- className: nO("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: YD("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)(Ihe, {
+ className: YD("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, x.jsx)(_be, { className: nO("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, x.jsx)(mA, {
+ }), /* @__PURE__ */ (0, x.jsx)(bbe, { className: YD("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, x.jsx)(lA, {
ref: u,
isNonModal: !0,
offset: 4,
- className: nO(Bye, qM, "p-2", n),
- children: /* @__PURE__ */ (0, x.jsx)(qme, {
+ className: YD(Uye, UM, "p-2", n),
+ children: /* @__PURE__ */ (0, x.jsx)($me, {
items: a,
- className: nO(Vye, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, x.jsx)(xN.Provider, {
+ className: YD(Wye, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, x.jsx)(vN.Provider, {
value: r,
children: i
})
@@ -41447,33 +41435,33 @@ function SN({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function CN({ className: e, children: t, ...n }) {
- let r = (0, b.useContext)(xN);
- return /* @__PURE__ */ (0, x.jsx)(Zme, {
+function bN({ className: e, children: t, ...n }) {
+ let r = (0, b.useContext)(vN);
+ return /* @__PURE__ */ (0, x.jsx)(rhe, {
...n,
- className: (t) => nO(JM, 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) => YD(WM, 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 wN = 2e3, xbe = (e) => e, Sbe = (e, t) => t;
-function TN(e) {
- let { queryKey: t, jobOf: n = xbe, withJob: r = Sbe, idlePollMs: i } = e, [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(e);
+var xN = 2e3, wbe = (e) => e, Tbe = (e, t) => t;
+function SN(e) {
+ let { queryKey: t, jobOf: n = wbe, withJob: r = Tbe, 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;
});
- let u = ft({
+ let u = ut({
queryKey: t,
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? wN : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? xN : i ?? !1;
}
- }), d = pt({
+ }), d = dt({
mutationFn: (e) => l.current.start(e),
onSuccess: (e) => {
- o(!0), c(null), l.current.onStarted?.(e), H.setQueryData(t, (t) => r(t, e)), H.invalidateQueries({
+ o(!0), c(null), l.current.onStarted?.(e), V.setQueryData(t, (t) => r(t, e)), V.invalidateQueries({
queryKey: t,
exact: !0
});
@@ -41493,32 +41481,32 @@ function TN(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var Cbe = (e) => qa[e] || e, EN = (e) => H.setQueryData(iM, e);
-function wbe() {
- let e = ft({
- queryKey: iM,
- queryFn: ({ signal: e }) => eve(e),
- refetchInterval: (e) => e.state.data?.status === "running" && wN
- }), t = ft({
- queryKey: Q_e,
- queryFn: ({ signal: e }) => tve(e)
- }), [n, r] = (0, b.useState)(""), i = mO(), a = e.data ?? $_e, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
- c && cs({
+var Ebe = (e) => Ka[e] || e, CN = (e) => V.setQueryData($j, e);
+function Dbe() {
+ let e = ut({
+ queryKey: $j,
+ queryFn: ({ signal: e }) => ive(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && xN
+ }), t = ut({
+ queryKey: nve,
+ queryFn: ({ signal: e }) => ave(e)
+ }), [n, r] = (0, b.useState)(""), i = sO(), a = e.data ?? rve, 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 && os({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => EN(await V(rM, {
+ onConfirm: async () => CN(await B(Qj, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => V(rM, { stop: !0 }, "POST", e), EN), d = rve(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => B(Qj, { stop: !0 }, "POST", e), CN), d = sve(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)(pN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(uN, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(SN, {
+ footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -41526,10 +41514,10 @@ function wbe() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(CN, {
+ children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(bN, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, x.jsx)(kO, { mark: Cbe(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, x.jsx)(SO, { mark: Ebe(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, x.jsx)(G, {
onClick: u,
@@ -41543,12 +41531,12 @@ function wbe() {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(fN, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, x.jsx)(lN, { children: "媒体修复" }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: nN
+ children: $M
}),
- s && a.total ? /* @__PURE__ */ (0, x.jsx)(pO, {
+ s && a.total ? /* @__PURE__ */ (0, x.jsx)(oO, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -41572,7 +41560,7 @@ function wbe() {
f && a.missing_tool ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "缺少 untrunc",
- children: ive(a)
+ children: cve(a)
}) : null,
p ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -41584,7 +41572,7 @@ function wbe() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var DN = {
+var wN = {
md: {
box: "size-4",
glyph: "size-4",
@@ -41598,11 +41586,11 @@ var DN = {
gap: "gap-1.5"
}
};
-function ON({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = DN[t], c = n || r, l = o && !a;
+function TN({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = wN[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
- className: nO("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? nO("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : nO("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: YD("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? YD("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : YD("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",
@@ -41626,36 +41614,36 @@ function ON({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function kN({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = DN[n];
- return /* @__PURE__ */ (0, x.jsx)(wme, {
+function EN({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = wN[n];
+ return /* @__PURE__ */ (0, x.jsx)(Mme, {
ref: r,
...i,
- className: (t) => nO("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)(ON, {
+ className: (t) => YD("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)(TN, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: nO(a.label, "text-text-primary"),
+ className: YD(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function AN({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function DN({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: nO("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, x.jsx)(Khe, {
+ className: YD("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, x.jsx)(Xhe, {
ref: r,
...i,
- className: nO("bui-table", e === "sm" && "bui-table-sm", t)
+ className: YD("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function jN({ children: e, follow: t = !1, onRowClick: n }) {
+function ON({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -41663,15 +41651,15 @@ function jN({ 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 && qge(e, r) && n(r.dataset.key);
+ r && Zge(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var Tbe = yj("unlink"), MN = yj("rotate-cw"), Ebe = "站点返回 404 或 410,确认这个地址不存在。", Dbe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Obe = "删除前会逐条重验一次;此操作不可撤销。", kbe = "暂时无法读取进度,正在重新连接…", NN = (e) => Number(e || 0).toLocaleString();
-function PN({ label: e, value: t, note: n }) {
+var Obe = mj("unlink"), kN = mj("rotate-cw"), kbe = "站点返回 404 或 410,确认这个地址不存在。", Abe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", jbe = "删除前会逐条重验一次;此操作不可撤销。", Mbe = "暂时无法读取进度,正在重新连接…", AN = (e) => Number(e || 0).toLocaleString();
+function jN({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -41690,12 +41678,12 @@ function PN({ label: e, value: t, note: n }) {
]
});
}
-function FN({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function MN({ 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: lN,
+ className: oN,
children: [
/* @__PURE__ */ (0, x.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -41708,13 +41696,13 @@ function FN({ 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)(jN, { children: /* @__PURE__ */ (0, x.jsxs)(AN, {
+ /* @__PURE__ */ (0, x.jsx)(ON, { children: /* @__PURE__ */ (0, x.jsxs)(DN, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(YA, { children: [
- i ? /* @__PURE__ */ (0, x.jsx)(XA, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(WA, { children: [
+ i ? /* @__PURE__ */ (0, x.jsx)(GA, {
id: "pick",
- children: /* @__PURE__ */ (0, x.jsx)(kN, {
+ children: /* @__PURE__ */ (0, x.jsx)(EN, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: l,
@@ -41722,53 +41710,53 @@ function FN({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (e) => i(e ? t.map((e) => e.id) : [])
})
}) : null,
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(QA, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(tj, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(qA, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(XA, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)(kN, {
+ i ? /* @__PURE__ */ (0, x.jsx)(QA, { children: /* @__PURE__ */ (0, x.jsx)(EN, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: c.includes(e.id),
onChange: (t) => i(t ? [...c, e.id] : c.filter((t) => t !== e.id))
}) }) : null,
- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(QA, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-24 wrap-anywhere",
children: e.entity
}) }),
- /* @__PURE__ */ (0, x.jsx)(rj, { children: Hve[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(QA, { children: Kve[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, x.jsx)(QA, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-24 wrap-anywhere",
children: e.label || ""
}) }),
- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)("div", {
+ /* @__PURE__ */ (0, x.jsx)(QA, { children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-40 max-w-80",
- children: /* @__PURE__ */ (0, x.jsx)(zO, {
+ children: /* @__PURE__ */ (0, x.jsx)(MO, {
text: e.note,
className: "tabular-nums text-text-error-primary"
})
}) }),
- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsxs)("a", {
+ /* @__PURE__ */ (0, x.jsx)(QA, { children: /* @__PURE__ */ (0, x.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -41778,7 +41766,7 @@ function FN({ 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)(OD, {
+ }), /* @__PURE__ */ (0, x.jsx)(xD, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -41800,27 +41788,27 @@ function FN({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function Abe() {
- let e = ft({
- queryKey: dM,
- queryFn: ({ signal: e }) => Wve(e)
- }), [t, n] = (0, b.useState)([]), r = TN({
- queryKey: Vve,
- queryFn: ({ signal: e }) => qve(e),
- start: Jve,
+function Nbe() {
+ let e = ut({
+ queryKey: oM,
+ queryFn: ({ signal: e }) => Jve(e)
+ }), [t, n] = (0, b.useState)([]), r = SN({
+ queryKey: Gve,
+ queryFn: ({ signal: e }) => Zve(e),
+ start: Qve,
onFinish: () => {
- H.invalidateQueries({
- queryKey: dM,
+ V.invalidateQueries({
+ queryKey: oM,
exact: !0
- }), H.invalidateQueries({
- queryKey: fM,
+ }), V.invalidateQueries({
+ queryKey: sM,
exact: !0
});
}
- }), i = TN({
- queryKey: fM,
- queryFn: ({ signal: e }) => Gve(e),
- start: Kve,
+ }), i = SN({
+ queryKey: sM,
+ queryFn: ({ signal: e }) => Yve(e),
+ start: Xve,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -41828,13 +41816,13 @@ function Abe() {
(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} ${NN(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} ${AN(t)}`).join(" · "), h = (e) => {
s || e && !e.length || i.start.mutate(e ? {
retry: e,
checkId: o
} : {});
}, g = () => {
- !c && u.length && cs({
+ !c && u.length && os({
title: "删除失效链接",
body: `将删除 ${u.length} 条失效链接。删除前会再次检查,删除后无法恢复。`,
confirmLabel: "删除失效链接",
@@ -41850,7 +41838,7 @@ function Abe() {
else if (_) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "success",
title: "完成",
- children: Yve(_)
+ children: $ve(_)
});
else if (v) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -41860,7 +41848,7 @@ function Abe() {
else if (i.query.isError && a) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "任务状态",
- children: kbe
+ children: Mbe
});
else if (a?.status === "failed") S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -41868,12 +41856,12 @@ function Abe() {
children: a.error || "检查失败"
});
else if (a && a.status !== "idle") {
- y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(vN, {
+ y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(hN, {
embedded: !0,
- label: Xve(a),
+ label: eye(a),
value: Math.min(a.checked || 0, a.total || 0),
total: a.total
- }) : null, c ? /* @__PURE__ */ (0, x.jsx)(vN, {
+ }) : null, c ? /* @__PURE__ */ (0, x.jsx)(hN, {
embedded: !0,
label: r.job?.message || "正在重验并删除失效链接…",
value: Math.min(r.job?.checked || 0, r.job?.total || 0),
@@ -41881,38 +41869,38 @@ function Abe() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
S = l || u.length || d.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: sbe,
+ className: ube,
children: [
- /* @__PURE__ */ (0, x.jsx)(FN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
title: "地址已失效",
items: u,
- hint: Ebe
+ hint: kbe
}),
- /* @__PURE__ */ (0, x.jsx)(FN, {
+ /* @__PURE__ */ (0, x.jsx)(MN, {
title: "本次未访问成功",
items: d,
- hint: Dbe,
+ hint: Abe,
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)(uN, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: MN,
+ children: /* @__PURE__ */ (0, x.jsxs)(sN, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ leadingIcon: kN,
disabled: !t.length,
...q(s),
onClick: () => h(t),
children: e
}), /* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: MN,
+ leadingIcon: kN,
...q(s),
onClick: () => h(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, x.jsx)(uN, {
+ l && u.length ? /* @__PURE__ */ (0, x.jsx)(sN, {
tone: "error",
- status: Obe,
+ status: jbe,
children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
...q(c),
@@ -41921,7 +41909,7 @@ function Abe() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, x.jsx)("p", {
- className: `${lN} text-body-regular text-notification-success-foreground`,
+ className: `${oN} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -41932,21 +41920,21 @@ function Abe() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(dN, {
+ /* @__PURE__ */ (0, x.jsx)(cN, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, x.jsxs)(pN, {
+ /* @__PURE__ */ (0, x.jsxs)(uN, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: Tbe,
+ leadingIcon: Obe,
...q(s),
onClick: () => h(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(lN, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -41957,13 +41945,13 @@ function Abe() {
children: z(e.error)
}) : p ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, x.jsx)(PN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(jN, {
label: "链接总数",
- value: NN(p.total),
- note: `分布在 ${NN(p.entities)} 个女优、厂牌与系列`
- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(PN, {
- label: Hve[e] || e,
- value: NN(t)
+ value: AN(p.total),
+ note: `分布在 ${AN(p.entities)} 个女优、厂牌与系列`
+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(jN, {
+ label: Kve[e] || e,
+ value: AN(t)
}, e))]
}), m ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -41992,11 +41980,11 @@ function Abe() {
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function jbe({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsxs)(_me, {
+function Pbe({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsxs)(Sme, {
"data-label": "true",
...a,
- className: nO("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: YD("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, x.jsx)("span", {
@@ -42004,7 +41992,7 @@ function jbe({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, x.jsx)(Ide, {
+ n && /* @__PURE__ */ (0, x.jsx)(Hde, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -42013,33 +42001,33 @@ function jbe({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function Mbe({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, x.jsx)(xme, {
+function Fbe({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, x.jsx)(Dme, {
slot: e ? "errorMessage" : "description",
...n,
- className: nO("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: YD("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 IN = (0, b.createContext)({});
-function LN({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsx)(IN.Provider, {
+var NN = (0, b.createContext)({});
+function PN({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsx)(NN.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, x.jsx)(vge, {
+ children: /* @__PURE__ */ (0, x.jsx)(Sge, {
...a,
"data-input-size": e,
- className: nO("group flex h-max w-full flex-col items-start gap-1", r),
+ className: YD("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-LN.displayName = "TextField";
-var RN = rO({
+PN.displayName = "TextField";
+var FN = XD({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -42068,44 +42056,44 @@ var RN = rO({
].join(" "),
icon: "size-5 shrink-0"
});
-function zN({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, b.useContext)(IN), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, x.jsx)(Eme, {
+function IN({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, b.useContext)(NN), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, x.jsx)(Fme, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => nO(RN.field, d ? RN.fieldWithAddonSize[u] : RN.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 }) => YD(FN.field, d ? FN.fieldWithAddonSize[u] : FN.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: RN.content,
+ className: FN.content,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
- className: RN.leftSection,
+ className: FN.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, x.jsx)(t, {
- className: RN.icon,
+ className: FN.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, x.jsx)(Ome, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(Rme, {
ref: o,
...c,
- className: nO(RN.input, l.inputClassName, a)
+ className: YD(FN.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, x.jsx)(n, {
- className: RN.icon,
+ className: FN.icon,
"aria-hidden": !0
}) : null]
})
});
}
-zN.displayName = "InputBase";
-function BN({ 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)(LN, {
+IN.displayName = "InputBase";
+function LN({ 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)(PN, {
...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)(jbe, {
+ e && /* @__PURE__ */ (0, x.jsx)(Pbe, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, x.jsx)(zN, {
+ /* @__PURE__ */ (0, x.jsx)(IN, {
ref: c,
groupRef: l,
placeholder: r,
@@ -42114,28 +42102,28 @@ function BN({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, x.jsx)(Mbe, {
+ t && /* @__PURE__ */ (0, x.jsx)(Fbe, {
isInvalid: d,
children: t
})
] })
});
}
-BN.displayName = "Input";
+LN.displayName = "Input";
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var Nbe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Pbe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Fbe = 8;
-function Ibe({ plan: e }) {
+var Ibe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Lbe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Rbe = 8;
+function zbe({ 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, Fbe).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
+ children: e.rows.slice(0, Rbe).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: _ye(e.current_path)
+ children: mM(e.current_path)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
@@ -42145,7 +42133,7 @@ function Ibe({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: _ye(e.target_path)
+ children: mM(e.target_path)
})
]
}, e.current_path))
@@ -42154,10 +42142,10 @@ function Ibe({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function Lbe({ toast: e, failure: t }) {
- let n = ft({
- queryKey: _M,
- queryFn: ({ signal: e }) => vM(e)
+function Bbe({ toast: e, failure: t }) {
+ let n = ut({
+ queryKey: fM,
+ queryFn: ({ signal: e }) => pM(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 ?? "",
@@ -42169,39 +42157,39 @@ function Lbe({ toast: e, failure: t }) {
location: s,
file_template: d.file.trim(),
dir_template: d.dir.trim()
- }), v = pt({
- mutationFn: fye,
+ }), v = dt({
+ mutationFn: gye,
onError: (e) => {
- let t = gye.test(z(e)) ? "dir" : "file";
+ let t = bye.test(z(e)) ? "dir" : "file";
m(t), (t === "dir" ? g : h).current?.focus();
}
- }), y = TN({
- queryKey: _M,
- queryFn: ({ signal: e }) => vM(e),
- start: pye,
+ }), y = SN({
+ queryKey: fM,
+ queryFn: ({ signal: e }) => pM(e),
+ start: _ye,
jobOf: (e) => e,
- withJob: hye,
+ withJob: yye,
onStarted: () => v.reset(),
onFinish: (n) => {
- if (H.invalidateQueries({
- queryKey: _M,
+ if (V.invalidateQueries({
+ queryKey: fM,
exact: !0
}), n.status !== "complete") return;
- let { text: r, failed: i } = bM(n);
+ let { text: r, failed: i } = gM(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 = Xt[s] || s, E = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), D = () => {
+ }), S = y.running || y.start.isPending, C = v.data, w = Number(C?.counts?.change || 0), T = Jt[s] || s, E = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), D = () => {
!v.isPending && s && (m(null), v.mutate(_()));
- }, O = () => void cs({
+ }, O = () => void os({
title: "按模板整理文件",
- body: Nbe(T),
+ body: Ibe(T),
confirmLabel: "整理文件",
onConfirm: async () => {
let e = _();
await y.start.mutateAsync({
kind: "apply",
request: e
- }), mye({
+ }), vye({
...r?.templates ?? {},
[e.location]: {
file: e.file_template,
@@ -42209,15 +42197,15 @@ function Lbe({ toast: e, failure: t }) {
}
});
}
- }), k = () => void cs({
+ }), k = () => void os({
title: "回滚上一批整理",
- body: Pbe,
+ body: Lbe,
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)(vN, {
+ A = /* @__PURE__ */ (0, x.jsx)(hN, {
embedded: !0,
label: e,
value: Math.min(j.checked || 0, j.total || 0),
@@ -42229,7 +42217,7 @@ function Lbe({ toast: e, failure: t }) {
children: M.error || "请查看任务记录,核对已处理的文件。"
});
else if (M) {
- let { text: e, failed: t } = bM(M);
+ let { text: e, failed: t } = gM(M);
A = /* @__PURE__ */ (0, x.jsx)(K, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -42239,7 +42227,7 @@ function Lbe({ toast: e, failure: t }) {
tone: "error",
title: "整理失败",
children: z(y.start.error)
- }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)(vN, {
+ }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)(hN, {
embedded: !0,
label: "正在按模板算计划…"
}) : v.isError ? A = /* @__PURE__ */ (0, x.jsx)(K, {
@@ -42249,9 +42237,9 @@ function Lbe({ toast: e, failure: t }) {
}) : C && (A = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "预览结果",
- children: vye(C)
- }), w ? /* @__PURE__ */ (0, x.jsx)(Ibe, { plan: C }) : null] }));
- return /* @__PURE__ */ (0, x.jsxs)(pN, {
+ children: xye(C)
+ }), w ? /* @__PURE__ */ (0, x.jsx)(zbe, { plan: C }) : null] }));
+ return /* @__PURE__ */ (0, x.jsxs)(uN, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -42275,7 +42263,7 @@ function Lbe({ toast: e, failure: t }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(lN, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -42295,20 +42283,20 @@ function Lbe({ toast: e, failure: t }) {
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- i.length ? /* @__PURE__ */ (0, x.jsx)(SN, {
+ i.length ? /* @__PURE__ */ (0, x.jsx)(yN, {
"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)(CN, {
+ children: i.map((e) => /* @__PURE__ */ (0, x.jsxs)(bN, {
id: e.location,
- textValue: Xt[e.location] || e.location,
- children: [/* @__PURE__ */ (0, x.jsx)(kO, { mark: qa[e.location] || "database" }), Xt[e.location] || e.location]
+ textValue: Jt[e.location] || e.location,
+ children: [/* @__PURE__ */ (0, x.jsx)(SO, { mark: Ka[e.location] || "database" }), Jt[e.location] || e.location]
}, e.location))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: d.file,
@@ -42319,7 +42307,7 @@ function Lbe({ toast: e, failure: t }) {
f({ file: e }), m(null);
}
}),
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: d.dir,
@@ -42364,56 +42352,56 @@ function Lbe({ toast: e, failure: t }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var Rbe = "/api/orphan-records", zbe = "/api/orphan-records/attach", VN = ["orphan-records"], Bbe = [
+var Vbe = "/api/orphan-records", Hbe = "/api/orphan-records/attach", RN = ["orphan-records"], Ube = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], Vbe = (e) => B(Rbe, e), Hbe = (e, t) => V(zbe, {
+], Wbe = (e) => tn(Vbe, e), Gbe = (e, t) => B(Hbe, {
id: e,
target: t
-}), Ube = (e) => V(T_e, {
+}), Kbe = (e) => B(k_e, {
ids: [e],
operation: "delete"
-}), Wbe = (e) => [
+}), qbe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], HN = (e) => [...Bbe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Wbe(e)].filter(Boolean).join(" · "), Gbe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", UN = (e) => [e.name, Gbe(e.duration)].filter(Boolean).join(" · "), Kbe = yj("play"), WN = () => H.invalidateQueries({
- queryKey: VN,
+], zN = (e) => [...Ube.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...qbe(e)].filter(Boolean).join(" · "), Jbe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", BN = (e) => [e.name, Jbe(e.duration)].filter(Boolean).join(" · "), Ybe = mj("play"), VN = () => V.invalidateQueries({
+ queryKey: RN,
exact: !0
});
-function qbe({ item: e, toast: t }) {
- let [n, r] = (0, b.useState)(e.candidates[0]?.id ?? null), i = pt({
- mutationFn: () => Hbe(e.id, Number(n)),
+function Xbe({ item: e, toast: t }) {
+ let [n, r] = (0, b.useState)(e.candidates[0]?.id ?? null), i = dt({
+ mutationFn: () => Gbe(e.id, Number(n)),
onSuccess: (e) => {
- t(`记录已接到新文件,批次 ${e.batch}`), WN();
+ t(`记录已接到新文件,批次 ${e.batch}`), VN();
},
onError: (e) => t(z(e))
- }), a = pt({
- mutationFn: () => Ube(e.id),
+ }), a = dt({
+ mutationFn: () => Kbe(e.id),
onSuccess: (n) => {
- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), WN();
+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), VN();
}
}), o = () => {
- cs({
+ os({
title: "彻底删除",
- body: `将删除「${e.name}」这一条和它带的记录(${HN(e.records)})。此操作不可撤销。`,
+ body: `将删除「${e.name}」这一条和它带的记录(${zN(e.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => a.mutateAsync()
});
}, s = i.isPending || a.isPending;
- return /* @__PURE__ */ (0, x.jsxs)(tj, {
+ return /* @__PURE__ */ (0, x.jsxs)(XA, {
id: e.id,
children: [
- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
+ /* @__PURE__ */ (0, x.jsx)(QA, { 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)(Kbe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Ybe, {
"aria-hidden": !0,
className: "size-5"
}), e.has_thumb ? /* @__PURE__ */ (0, x.jsx)("img", {
@@ -42431,31 +42419,31 @@ function qbe({ item: e, toast: t }) {
children: e.name
}), /* @__PURE__ */ (0, x.jsx)("small", {
className: "max-w-56 truncate text-caption-1-regular text-text-secondary",
- children: [e.code, Xt[e.location] || e.location].filter(Boolean).join(" · ")
+ children: [e.code, Jt[e.location] || e.location].filter(Boolean).join(" · ")
})]
})]
}) }),
- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(QA, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-28",
- children: HN(e.records)
+ children: zN(e.records)
}) }),
- /* @__PURE__ */ (0, x.jsx)(rj, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(SN, {
+ /* @__PURE__ */ (0, x.jsx)(QA, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(yN, {
"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)(CN, {
+ children: e.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e.id,
- textValue: UN(e),
- children: UN(e)
+ textValue: BN(e),
+ children: BN(e)
}, e.id))
}) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-text-secondary",
children: "没有番号或文件名对得上的文件"
}) }),
- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
+ /* @__PURE__ */ (0, x.jsx)(QA, { children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex flex-wrap gap-2",
children: [e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
@@ -42475,23 +42463,23 @@ function qbe({ item: e, toast: t }) {
]
});
}
-function Jbe({ toast: e }) {
- let t = ft({
- queryKey: VN,
- queryFn: ({ signal: e }) => Vbe(e)
+function Zbe({ toast: e }) {
+ let t = ut({
+ queryKey: RN,
+ queryFn: ({ signal: e }) => Wbe(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)(dN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(cN, {
id: "orphan-records-title",
children: "孤儿记录"
- }), /* @__PURE__ */ (0, x.jsxs)(pN, {
+ }), /* @__PURE__ */ (0, x.jsxs)(uN, {
layout: "stack",
labelledBy: "orphan-records-box",
children: [
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(lN, {
id: "orphan-records-box",
gap: "small",
children: "文件已消失的作品"
@@ -42504,28 +42492,28 @@ function Jbe({ toast: e }) {
tone: "error",
title: "孤儿记录读取失败",
children: z(t.error)
- }) : /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsxs)(AN, {
+ }) : /* @__PURE__ */ (0, x.jsx)(ON, { children: /* @__PURE__ */ (0, x.jsxs)(DN, {
"aria-label": "文件已消失的作品",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(YA, { children: [
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(WA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "item",
isRowHeader: !0,
children: "作品"
}),
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "records",
children: "带的记录"
}),
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "target",
children: "接到"
}),
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(QA, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(qbe, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(qA, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(Xbe, {
item: t,
toast: e
}, t.id)) })]
@@ -42540,99 +42528,99 @@ function Jbe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var Ybe = yj("git-compare"), Xbe = yj("rotate-cw"), Zbe = "暂时无法读取进度,正在重新连接…", GN = "清理失效条目", KN = "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", qN = (e) => Number(e || 0).toLocaleString();
-function Qbe({ scan: e }) {
+var Qbe = mj("git-compare"), $be = mj("rotate-cw"), exe = "暂时无法读取进度,正在重新连接…", HN = "清理失效条目", UN = "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", WN = (e) => Number(e || 0).toLocaleString();
+function txe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
- className: KN,
+ className: UN,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, x.jsx)("article", {
- className: UM(),
- children: /* @__PURE__ */ (0, x.jsx)(WM, {
- label: Cye[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, x.jsx)(kO, { mark: qa[e.location] ?? "database" }),
+ className: zM(),
+ children: /* @__PURE__ */ (0, x.jsx)(BM, {
+ label: Eye[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, x.jsx)(SO, { mark: Ka[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 ? `${qN(e.missing)} 项` : "—",
- meta: Dye(e),
+ figure: e.online ? `${WN(e.missing)} 项` : "—",
+ meta: Aye(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, x.jsxs)("div", {
- className: KN,
+ className: UN,
children: [
/* @__PURE__ */ (0, x.jsx)("article", {
- className: UM(),
- children: /* @__PURE__ */ (0, x.jsx)(WM, {
+ className: zM(),
+ children: /* @__PURE__ */ (0, x.jsx)(BM, {
label: "待永久删除",
- figure: `${qN(kM(e))} 项`,
+ figure: `${WN(TM(e))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: UM(),
- children: /* @__PURE__ */ (0, x.jsx)(WM, {
+ className: zM(),
+ children: /* @__PURE__ */ (0, x.jsx)(BM, {
label: "将标为已消失",
- figure: `${qN(e.vanish)} 项`,
+ figure: `${WN(e.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: UM(),
- children: /* @__PURE__ */ (0, x.jsx)(WM, {
+ className: zM(),
+ children: /* @__PURE__ */ (0, x.jsx)(BM, {
label: "空文件夹",
- figure: `${qN(e.empty)} 个`,
+ figure: `${WN(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: UM(),
- children: /* @__PURE__ */ (0, x.jsx)(WM, {
+ className: zM(),
+ children: /* @__PURE__ */ (0, x.jsx)(BM, {
label: "可清理的缓存",
- figure: `${qN(t.files)} 个`,
- meta: t.files ? Wt(t.bytes) : ""
+ figure: `${WN(t.files)} 个`,
+ meta: t.files ? Ht(t.bytes) : ""
})
})
]
})] });
}
-function $be({ toast: e }) {
- let t = TN({
- queryKey: wM,
- queryFn: ({ signal: e }) => EM(e),
- start: bye,
+function nxe({ toast: e }) {
+ let t = SN({
+ queryKey: bM,
+ queryFn: ({ signal: e }) => SM(e),
+ start: Cye,
onFinish: (t) => {
- if (H.invalidateQueries({
- queryKey: IM,
+ if (V.invalidateQueries({
+ queryKey: MM,
exact: !0
- }), H.invalidateQueries({
- queryKey: CM,
+ }), V.invalidateQueries({
+ queryKey: yM,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = MM(t);
- r ? e(`已完成 ${qN(n)} 项,${qN(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = OM(t);
+ r ? e(`已完成 ${WN(n)} 项,${WN(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = TN({
- queryKey: CM,
- queryFn: ({ signal: e }) => TM(e),
- start: yye,
+ }), n = SN({
+ queryKey: yM,
+ queryFn: ({ signal: e }) => xM(e),
+ start: Sye,
onStarted: () => t.dismiss()
- }), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", s = i ? "扫描中" : o ? "重新扫描" : "检查文件", c = (e) => void cs({
- title: GN,
- body: Eye(e),
- confirmLabel: GN,
+ }), 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 os({
+ title: HN,
+ body: kye(e),
+ confirmLabel: HN,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), l = t.outcome, u = (e) => {
- let t = MM(e).left > 0;
+ let t = OM(e).left > 0;
return /* @__PURE__ */ (0, x.jsx)(K, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: Oye(e, Wt)
+ children: jye(e, Ht)
});
}, d = null, f = null;
if (l?.status === "failed") f = /* @__PURE__ */ (0, x.jsx)(K, {
@@ -42641,7 +42629,7 @@ function $be({ toast: e }) {
children: l.error || "请查看任务记录,核对已处理的文件。"
});
else if (l) f = u(l);
- else if (t.running) d = /* @__PURE__ */ (0, x.jsx)(vN, {
+ else if (t.running) d = /* @__PURE__ */ (0, x.jsx)(hN, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -42653,11 +42641,11 @@ function $be({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "任务状态",
- children: Zbe
+ children: exe
});
else if (r?.status === "running") {
- let e = wye(r);
- d = /* @__PURE__ */ (0, x.jsx)(vN, {
+ let e = Dye(r);
+ d = /* @__PURE__ */ (0, x.jsx)(hN, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -42674,13 +42662,13 @@ function $be({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = Sye(r);
+ let e = Tye(r);
f = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(Qbe, { scan: r }),
+ /* @__PURE__ */ (0, x.jsx)(txe, { scan: r }),
e ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "清理内容",
- children: Tye(r)
+ children: Oye(r)
}) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -42688,7 +42676,7 @@ function $be({ toast: e }) {
variant: "danger",
...q(a),
onClick: () => c(r),
- children: a ? "正在复核并清理…" : GN
+ children: a ? "正在复核并清理…" : HN
}) : /* @__PURE__ */ (0, x.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -42705,16 +42693,16 @@ function $be({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(dN, {
+ /* @__PURE__ */ (0, x.jsx)(cN, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, x.jsxs)(pN, {
+ /* @__PURE__ */ (0, x.jsxs)(uN, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, x.jsx)(G, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? Xbe : Ybe,
+ leadingIcon: o && !i ? $be : Qbe,
...q(i),
onClick: () => {
i || n.start.mutate();
@@ -42722,7 +42710,7 @@ function $be({ toast: e }) {
children: s
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(fN, {
+ /* @__PURE__ */ (0, x.jsx)(lN, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -42748,16 +42736,16 @@ function $be({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function JN(e, t) {
+function GN(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function YN({ section: e, label: t, icon: n, value: r, open: i }) {
+function KN({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
- className: UM({ interactive: !0 }),
+ className: zM({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, x.jsx)(WM, {
+ children: /* @__PURE__ */ (0, x.jsx)(BM, {
label: t,
icon: n,
figure: r.figure,
@@ -42765,82 +42753,82 @@ function YN({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var exe = yj("square-check-big"), txe = yj("sparkles"), nxe = yj("file-stack"), rxe = yj("file-archive"), ixe = yj("trash"), axe = [
- NM,
- oM,
- eM
-], oxe = () => {
- for (let e of axe) H.invalidateQueries({
+var rxe = mj("square-check-big"), ixe = mj("sparkles"), axe = mj("file-stack"), oxe = mj("file-archive"), sxe = mj("trash"), cxe = [
+ kM,
+ tM,
+ Yj
+], lxe = () => {
+ for (let e of cxe) V.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function sxe({ toast: e, failure: t, open: n }) {
- let r = ft({
- queryKey: NM,
- queryFn: ({ signal: e }) => LM(e)
- }), i = ft({
- queryKey: oM,
- queryFn: ({ signal: e }) => sM(e)
- }), a = ft({
- queryKey: eM,
- queryFn: ({ signal: e }) => tM(e)
- }), o = ft({
- queryKey: PM,
- queryFn: ({ signal: e }) => RM(e)
- }), s = ft({
- queryKey: IM,
- queryFn: ({ signal: e }) => zM(e)
- }), c = ft({
+function uxe({ toast: e, failure: t, open: n }) {
+ let r = ut({
+ queryKey: kM,
+ queryFn: ({ signal: e }) => NM(e)
+ }), i = ut({
+ queryKey: tM,
+ queryFn: ({ signal: e }) => nM(e)
+ }), a = ut({
+ queryKey: Yj,
+ queryFn: ({ signal: e }) => Xj(e)
+ }), o = ut({
+ queryKey: AM,
+ queryFn: ({ signal: e }) => PM(e)
+ }), s = ut({
+ queryKey: MM,
+ queryFn: ({ signal: e }) => FM(e)
+ }), c = ut({
queryKey: fn,
queryFn: ({ signal: e }) => pn(e)
}), l = (t) => e(t);
- return /* @__PURE__ */ (0, x.jsxs)(dO, { children: [
+ return /* @__PURE__ */ (0, x.jsxs)(iO, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: zye,
+ className: Hye,
children: [
- /* @__PURE__ */ (0, x.jsx)(YN, {
+ /* @__PURE__ */ (0, x.jsx)(KN, {
section: "review",
label: "人工复核",
- icon: exe,
+ icon: rxe,
open: n,
- value: JN(r, Mye)
+ value: GN(r, Fye)
}),
- /* @__PURE__ */ (0, x.jsx)(YN, {
+ /* @__PURE__ */ (0, x.jsx)(KN, {
section: "quality",
label: "高清版",
- icon: txe,
+ icon: ixe,
open: n,
- value: JN(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: GN(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, x.jsx)(YN, {
+ /* @__PURE__ */ (0, x.jsx)(KN, {
section: "duplicates",
label: "重复文件",
- icon: nxe,
+ icon: axe,
open: n,
- value: JN(a, (e) => Number(e.total || 0) ? {
+ value: GN(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
- meta: `可回收 ${Wt(e.reclaimable || 0)}`
+ meta: `可回收 ${Ht(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, x.jsx)(YN, {
+ /* @__PURE__ */ (0, x.jsx)(KN, {
section: "ads",
label: "垃圾文件",
- icon: rxe,
+ icon: oxe,
open: n,
- value: JN(o, (e) => ({
+ value: GN(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: Nye(e)
+ meta: Iye(e)
}))
}),
- /* @__PURE__ */ (0, x.jsx)(YN, {
+ /* @__PURE__ */ (0, x.jsx)(KN, {
section: "trash",
label: "回收站",
- icon: ixe,
+ icon: sxe,
open: n,
- value: JN(s, (e) => ({
+ value: GN(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
- meta: e.total ? `占用 ${Wt(e.bytes || 0)}` : ""
+ meta: e.total ? `占用 ${Ht(e.bytes || 0)}` : ""
}))
})
]
@@ -42851,31 +42839,31 @@ function sxe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, x.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, x.jsx)(bN, {
+ children: /* @__PURE__ */ (0, x.jsx)(_N, {
toast: l,
monitor: !0,
- onComplete: oxe
+ onComplete: lxe
})
}),
/* @__PURE__ */ (0, x.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, x.jsx)(wbe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(Dbe, {})
}),
- /* @__PURE__ */ (0, x.jsx)(Lbe, {
+ /* @__PURE__ */ (0, x.jsx)(Bbe, {
toast: l,
failure: t
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(Abe, {}),
- /* @__PURE__ */ (0, x.jsx)(Jbe, { toast: l }),
- DM(c.data) ? /* @__PURE__ */ (0, x.jsx)($be, { toast: e }) : null
+ /* @__PURE__ */ (0, x.jsx)(Nbe, {}),
+ /* @__PURE__ */ (0, x.jsx)(Zbe, { toast: l }),
+ CM(c.data) ? /* @__PURE__ */ (0, x.jsx)(nxe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var XN = (e) => ["feed-new", e ?? "home"], cxe = 8, lxe = 1500;
-function uxe(e, t, n) {
+var qN = (e) => ["feed-new", e ?? "home"], dxe = 8, fxe = 1500;
+function pxe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -42886,32 +42874,32 @@ function uxe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function dxe(e, t, n) {
+async function mxe(e, t, n) {
let r = new URLSearchParams({ limit: "12" });
e && r.set("entity", String(e));
- let i = await yt(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await uxe(s, cxe, lxe), {
+ let i = await _t(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
+ return n && o.length && await pxe(s, dxe, fxe), {
items: o,
html: s
};
}
-var ZN = (e, t, n = !1) => ({
- queryKey: XN(e),
- queryFn: () => dxe(e, t, n),
+var JN = (e, t, n = !1) => ({
+ queryKey: qN(e),
+ queryFn: () => mxe(e, t, n),
staleTime: Infinity
-}), QN = (e, t) => yt("/api/feeds/discovery", {
+}), YN = (e, t) => _t("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function fxe(e) {
- H.removeQueries({ queryKey: XN(null) }), await H.fetchQuery(ZN(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function hxe(e) {
+ V.removeQueries({ queryKey: qN(null) }), await V.fetchQuery(JN(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var $N = [
+var XN = [
"loc",
"creator",
"tag",
@@ -42921,51 +42909,51 @@ var $N = [
"orient",
"sort",
"dir"
-], eP = {
+], ZN = {
media: "videos",
set: 0
-}, tP = (e, t) => [
+}, QN = (e, t) => [
"entity",
e,
t
-], pxe = (e, t, n, r) => [
+], gxe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], nP = (e, t, n, r) => [
+], $N = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], rP = (e) => String(e || "").split(",").filter(Boolean), mxe = (e, t) => rP(e).includes(t);
-function iP(e, t, n, r, i = 0) {
+], eP = (e) => String(e || "").split(",").filter(Boolean), _xe = (e, t) => eP(e).includes(t);
+function tP(e, t, n, r, i = 0) {
let a = new URLSearchParams();
a.set(e, t), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
- for (let t of $N) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ for (let t of XN) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function aP(e, t, n, r, i, a) {
- return await yt(`/api/items?${iP(e, t, n, r, i)}`, a ? { signal: a } : {});
+async function nP(e, t, n, r, i, a) {
+ return await _t(`/api/items?${tP(e, t, n, r, i)}`, a ? { signal: a } : {});
}
-var oP = (e) => {
+var rP = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = iP(e.kind, e.name, e.filters, t).toString();
+ }, n = tP(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: pxe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => aP(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: gxe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => nP(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, sP = (e, t) => ({
- queryKey: tP(e, t),
- queryFn: ({ signal: n }) => yt(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
+}, iP = (e, t) => ({
+ queryKey: QN(e, t),
+ queryFn: ({ signal: n }) => _t(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function hxe(e, t, n, r, i, a) {
+function vxe(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)}` : ""}`;
@@ -42974,10 +42962,10 @@ function hxe(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 cP = (e, t, n, r) => ({
- queryKey: nP(e, t, n, r),
+var aP = (e, t, n, r) => ({
+ queryKey: $N(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await yt(hxe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await _t(vxe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -42990,38 +42978,38 @@ var cP = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), lP = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function gxe(e) {
+}), oP = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function yxe(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
"entity-items",
"entity-photos"
- ]) H.removeQueries({ queryKey: [
+ ]) V.removeQueries({ queryKey: [
e,
t,
n
] });
await Promise.all([
- H.fetchQuery(sP(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: XN(Number(t.id)) }), H.fetchQuery(ZN(Number(t.id), e.helpers.feedRowHtml, !0)))),
- H.fetchQuery(oP(e)),
- H.fetchInfiniteQuery(cP(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(cP(t, n, e.media.set, "")) : null
+ V.fetchQuery(iP(t, n)).then((t) => !t || t.error || !t.id ? null : (V.removeQueries({ queryKey: qN(Number(t.id)) }), V.fetchQuery(JN(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ V.fetchQuery(rP(e)),
+ V.fetchInfiniteQuery(aP(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? V.fetchInfiniteQuery(aP(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/identity-filter.ts
-var uP = [
+var sP = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], dP = "mb-4 flex flex-wrap gap-2";
-function _xe(e) {
- let t = uP.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${dP}">${uP.map(([e, n]) => QM({
+], cP = "mb-4 flex flex-wrap gap-2";
+function bxe(e) {
+ let t = sP.some(([t]) => t === e) ? e : "all";
+ return `<div class="peach-react"><div aria-label="身份分类" class="${cP}">${sP.map(([e, n]) => YM({
variant: e === t ? "primary" : "secondary",
size: "small",
label: n,
@@ -43030,43 +43018,43 @@ function _xe(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var vxe = "/api/follow/authors", yxe = "/api/follow/tags", bxe = (e) => [
+var xxe = "/api/follow/authors", Sxe = "/api/follow/tags", Cxe = (e) => [
"follow",
"authors",
e
-], xxe = (e, t) => [
+], wxe = (e, t) => [
"follow",
"tags",
e,
t
];
-function Sxe(e, t, n) {
+function Txe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${vxe}?${r}`;
+ return e && r.set("q", e), `${xxe}?${r}`;
}
-function Cxe(e, t, n, r) {
+function Exe(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), `${yxe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Sxe}?${i}`;
}
-var wxe = (e, t, n, r) => B(Sxe(e, t, n), r), Txe = (e, t, n, r, i) => B(Cxe(e, t, n, r), i), Exe = "/api/index", fP = {
+var Dxe = (e, t, n, r) => tn(Txe(e, t, n), r), Oxe = (e, t, n, r, i) => tn(Exe(e, t, n, r), i), kxe = "/api/index", lP = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, Dxe = {
+}, Axe = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, pP = [
+}, uP = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -43076,31 +43064,31 @@ var wxe = (e, t, n, r) => B(Sxe(e, t, n), r), Txe = (e, t, n, r, i) => B(Cxe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], mP = [
+], dP = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], hP = {
+], fP = {
people: 120,
tags: 180
-}, gP = (e) => e !== "tags", _P = (e) => e === "studios" || e === "agencies";
-function vP(e) {
- if (e.kind === "creators" && e.category === "animation") return vP({
+}, pP = (e) => e !== "tags", mP = (e) => e === "studios" || e === "agencies";
+function hP(e) {
+ if (e.kind === "creators" && e.category === "animation") return hP({
...e,
kind: "performers",
scope: "local"
});
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? mP : pP : e.kind === "performers" && t === "local" ? uP : []).some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? dP : uP : e.kind === "performers" && t === "local" ? sP : []).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: n ? e.category : "all"
};
}
-function yP(e) {
+function gP(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -43120,54 +43108,54 @@ function yP(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var bP = (e, t, n = "all") => [
+var _P = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function xP(e, t, n, r, i) {
+function vP(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), `${Exe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${kxe}?${a}`;
}
-function SP(e) {
- let t = e.what === "people" || e.what === "online-authors" ? hP.people : hP.tags, n = {
+function yP(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? fP.people : fP.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: bP(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: n, signal: r }) => B(xP(e.kind, e.q, e.category || "all", t, n), r)
+ queryKey: _P(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: n, signal: r }) => tn(vP(e.kind, e.q, e.category || "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: bP("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => B(xP("tags", e.q, e.category, t, n), r)
+ queryKey: _P("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => tn(vP("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: bxe(e.q),
- queryFn: ({ pageParam: n, signal: r }) => wxe(e.q, t, n, r)
+ queryKey: Cxe(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => Dxe(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: xxe(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => Txe(e.q, e.category, t, n, r)
+ queryKey: wxe(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => Oxe(e.q, e.category, t, n, r)
};
}
}
-async function Oxe(e, t) {
- let n = SP(yP(vP(e)));
- H.removeQueries({
+async function jxe(e, t) {
+ let n = yP(gP(hP(e)));
+ V.removeQueries({
queryKey: n.queryKey,
exact: !0
- }), await H.fetchInfiniteQuery({
+ }), await V.fetchInfiniteQuery({
queryKey: n.queryKey,
queryFn: ({ pageParam: e }) => n.queryFn({
pageParam: e,
@@ -43177,21 +43165,21 @@ async function Oxe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var kxe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Axe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, CP = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", jxe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Mxe = {
+var Mxe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Nxe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, bP = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Pxe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Fxe = {
numeric: !0,
sensitivity: "base"
};
-function Nxe(e, t) {
+function Ixe(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Mxe))) {
- let e = Jt(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Fxe))) {
+ let e = Kt(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]);
}
return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));
}
//#endregion
//#region src/react/index/index-people.tsx
-function wP({ html: e, face: t, company: n, big: r }) {
+function xP({ 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");
@@ -43203,18 +43191,18 @@ function wP({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var Pxe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Fxe = yj("rss");
-function TP({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+var Lxe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Rxe = mj("rss");
+function SP({ 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: cO({
+ className: tO({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${Pxe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${Lxe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -43223,10 +43211,10 @@ function TP({ 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)(aO, {
+ children: /* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: "blue",
- children: /* @__PURE__ */ (0, x.jsx)(Fxe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(Rxe, {})
})
}) : null,
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -43242,24 +43230,24 @@ function TP({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function EP({ kind: e, items: t, layout: n, props: r }) {
- let i = _P(e), a = n === "big";
+function CP({ kind: e, items: t, layout: n, props: r }) {
+ let i = mP(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 || Dxe[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, x.jsx)(TP, {
+ let n = t.entity_kind || Axe[e], o = r.personAvatar(t, n, a);
+ return /* @__PURE__ */ (0, x.jsx)(SP, {
"data-k": t.k,
"data-kind": n,
name: t.k,
- readout: `${jxe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${Pxe(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)(wP, {
+ children: /* @__PURE__ */ (0, x.jsx)(xP, {
html: o.html,
face: o.face,
company: i,
@@ -43269,14 +43257,14 @@ function EP({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function Ixe({ items: e, layout: t, props: n }) {
+function zxe({ 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)(TP, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(SP, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
@@ -43285,7 +43273,7 @@ function Ixe({ 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)(wP, {
+ children: /* @__PURE__ */ (0, x.jsx)(xP, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -43295,24 +43283,24 @@ function Ixe({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function DP(e) {
+function wP(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 OP = /* @__PURE__ */ new WeakSet();
-function Lxe() {
- if (OP.has(document)) return;
- OP.add(document);
+var TP = /* @__PURE__ */ new WeakSet();
+function Bxe() {
+ if (TP.has(document)) return;
+ TP.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(DP), zxe(e), Rxe(e);
+ e.querySelectorAll("input[type=range]").forEach(wP), Hxe(e), Vxe(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]") && DP(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && wP(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && DP(e.target);
+ e.target instanceof HTMLInputElement && e.target.type === "range" && wP(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);
@@ -43332,10 +43320,10 @@ function Lxe() {
}), document.addEventListener("focusin", (e) => s(e.target, 0)), document.addEventListener("focusout", o), document.addEventListener("keydown", (e) => {
e.key === "Escape" && o();
}), document.addEventListener("scroll", (e) => {
- n && Ha(e, n) && o();
+ n && Va(e, n) && o();
}, !0), window.addEventListener("resize", o);
}
-function Rxe(e) {
+function Vxe(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;
@@ -43359,15 +43347,15 @@ function Rxe(e) {
r.observe(e);
});
}
-var kP = /* @__PURE__ */ new Map();
-function zxe(e) {
+var EP = /* @__PURE__ */ new Map();
+function Hxe(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 = kP.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = EP.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -43376,7 +43364,7 @@ function zxe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- Go(t, r, a, "x"), r = a, kP.set(n, a);
+ Uo(t, r, a, "x"), r = a, EP.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -43393,8 +43381,8 @@ function zxe(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var AP = "/vendor/swiper/14.3.0/", jP = null, Bxe = () => jP ??= Promise.all([new Promise((e, t) => {
- let n = `${AP}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var DP = "/vendor/swiper/14.3.0/", OP = null, Uxe = () => OP ??= Promise.all([new Promise((e, t) => {
+ let n = `${DP}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -43408,11 +43396,11 @@ var AP = "/vendor/swiper/14.3.0/", jP = null, Bxe = () => jP ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${AP}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${DP}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 jP = null, e;
+ throw OP = null, e;
});
-function Vxe(e, t, n) {
+function Wxe(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);
@@ -43433,47 +43421,47 @@ function Vxe(e, t, n) {
}
};
}
-var MP = (e) => {
+var kP = (e) => {
let t = Number(e) || 0;
- return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Wt(t)).replace(" ", "\xA0") : "大小未知";
-}, Hxe = (e) => e.asset?.name || e.name || "未命名图片";
-function Uxe(e, t) {
+ return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Ht(t)).replace(" ", "\xA0") : "大小未知";
+}, Gxe = (e) => e.asset?.name || e.name || "未命名图片";
+function Kxe(e, t) {
let n = e.asset;
- if (n) return [Xt[n.location ?? ""] || n.location || "来源未知", MP(n.size)].join(" · ");
+ if (n) return [Jt[n.location ?? ""] || n.location || "来源未知", kP(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
- e.size ? MP(e.size) : ""
+ e.size ? kP(e.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var NP = null, PP = null, Wxe = 0;
-function Gxe() {
- return (!PP || !NP?.isConnected) && (PP?.unmount(), NP = document.createElement("div"), NP.className = "peach-react", NP.dataset.photoLightboxHost = "", document.body.append(NP), PP = (0, gt.createRoot)(NP)), PP;
+var AP = null, jP = null, qxe = 0;
+function Jxe() {
+ return (!jP || !AP?.isConnected) && (jP?.unmount(), AP = document.createElement("div"), AP.className = "peach-react", AP.dataset.photoLightboxHost = "", document.body.append(AP), jP = (0, mt.createRoot)(AP)), jP;
}
-async function FP(e, t, n) {
+async function MP(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await Bxe();
+ r = await Uxe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = Gxe();
- (0, ht.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)(Kxe, {
+ let i = Jxe();
+ (0, pt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)(Yxe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++Wxe)));
+ }, ++qxe)));
}
-function IP() {
- PP && (0, ht.flushSync)(() => PP.render(null));
+function NP() {
+ jP && (0, pt.flushSync)(() => jP.render(null));
}
-function Kxe({ slides: e, index: t, Swiper: n, host: r }) {
+function Yxe({ 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: ""
@@ -43516,8 +43504,8 @@ function Kxe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = Vxe(e, a, S);
- let m = rs(e, f.current, p.current), _ = (e = !1) => {
+ i(t, 0), h.current = Wxe(e, a, S);
+ let m = ts(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();
};
g.current = {
@@ -43533,18 +43521,18 @@ function Kxe({ 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) : IP());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : NP());
};
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 && DP(m.current);
+ m.current && wP(m.current);
}, [y]);
let N = e[_], P = N.asset ?? null, ee = async (e) => {
if (!P || !r || e.getAttribute("aria-busy") === "true") return;
let t = _;
- Yo(e), A(!0), M({
+ qo(e), A(!0), M({
at: t,
text: ""
});
@@ -43554,7 +43542,7 @@ function Kxe({ slides: e, index: t, Swiper: n, host: r }) {
text: await r.revealSource(P.id)
});
} finally {
- Yo(e, !1), A(!1);
+ qo(e, !1), A(!1);
}
}, F = (e, t) => {
t.naturalWidth && t.naturalHeight && !C[e] && w((n) => ({
@@ -43570,18 +43558,18 @@ function Kxe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), IP();
+ e.preventDefault(), NP();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && IP();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && NP();
},
children: [
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: IP,
+ onClick: NP,
dangerouslySetInnerHTML: { __html: L("x") }
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -43717,10 +43705,10 @@ function Kxe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: Hxe(N)
+ children: Gxe(N)
}, _), /* @__PURE__ */ (0, x.jsx)("span", {
"data-photo-detail-meta": "",
- children: Uxe(N, C[_])
+ children: Kxe(N, C[_])
})]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -43728,7 +43716,7 @@ function Kxe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-reveal": "",
hidden: !P || !r,
onClick: (e) => void ee(e.currentTarget),
- dangerouslySetInnerHTML: { __html: (k ? Qa("正在定位") : L("folder-open")) + "<span>在资源管理器中显示</span>" }
+ dangerouslySetInnerHTML: { __html: (k ? Za("正在定位") : L("folder-open")) + "<span>在资源管理器中显示</span>" }
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-photo-status": "",
@@ -43759,40 +43747,40 @@ function Kxe({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function qxe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(Jxe, {
+function Xxe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(Zxe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(Yxe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(Qxe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(Qxe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(tSe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-var LP = hP.people;
-function Jxe({ roster: e, props: t }) {
+var PP = fP.people;
+function Zxe({ 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)(LP), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {
- o((e) => e + LP);
+ }), [n, r]), [a, o] = (0, b.useState)(PP), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {
+ o((e) => e + PP);
}, []);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(EP, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(CP, {
kind: e.kind,
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(Qj, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(qj, {
entity: !0,
load: c,
enabled: () => !0
}, a) : null] });
}
-function Yxe(e) {
- let t = Kj(!e.items, e.skeletonHtml);
+function Qxe(e) {
+ let t = Vj(!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)(Zj, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, x.jsx)(Kj, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -43811,33 +43799,33 @@ function Yxe(e) {
}) : null]
});
}
-var Xxe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var $xe = (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 || "官方样张"
-})), RP = (e) => e.sample === !0, zP = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, BP = (e) => RP(e) ? `/sample-thumb?${zP(e)}` : `/photo-thumb?id=${e.id}`, Zxe = (e) => RP(e) ? {
- src: `/sample-image?${zP(e)}`,
- thumb: BP(e),
+})), FP = (e) => e.sample === !0, IP = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, LP = (e) => FP(e) ? `/sample-thumb?${IP(e)}` : `/photo-thumb?id=${e.id}`, eSe = (e) => FP(e) ? {
+ src: `/sample-image?${IP(e)}`,
+ thumb: LP(e),
name: e.name,
asset: null,
source: e.source
} : {
src: `/photo?id=${e.id}`,
- thumb: BP(e),
+ thumb: LP(e),
name: e.name || "",
asset: e
};
-function Qxe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(Xxe), ...e.items], [e]), [s, c] = (0, b.useState)(() => /* @__PURE__ */ new Set()), l = (0, b.useCallback)((e) => c((t) => {
+function tSe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap($xe), ...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) => {
- FP(e, o.map(Zxe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)($xe, {
+ MP(e, o.map(eSe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(nSe, {
item: e,
index: t,
lost: s.has(t),
@@ -43855,7 +43843,7 @@ function Qxe({ 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)(VP, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(RP, {
label: e.code,
title: e.name,
meta: [
@@ -43867,7 +43855,7 @@ function Qxe({ 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)(VP, {
+ m.length && e.total ? /* @__PURE__ */ (0, x.jsx)(RP, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -43876,14 +43864,14 @@ function Qxe({ 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)(Qj, {
+ e.hasMore ? /* @__PURE__ */ (0, x.jsx)(qj, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function VP({ label: e, title: t, meta: n }) {
+function RP({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -43900,7 +43888,7 @@ function VP({ label: e, title: t, meta: n }) {
]
});
}
-function $xe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function nSe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -43909,7 +43897,7 @@ function $xe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, x.jsx)("img", {
- src: BP(e),
+ src: LP(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -43920,8 +43908,8 @@ function $xe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var eSe = (e) => Number(e) > 0;
-function HP({ name: e, actions: t, children: n, ...r }) {
+var rSe = (e) => Number(e) > 0;
+function zP({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, x.jsx)("a", {
...r,
href: `/creators/${encodeURIComponent(e)}`,
@@ -43931,13 +43919,13 @@ function HP({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var UP = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var BP = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: Cj(e) }
+ dangerouslySetInnerHTML: { __html: vj(e) }
});
-function tSe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a }) {
+function iSe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a }) {
let [o, s] = (0, b.useState)(!1), [c, l] = (0, b.useState)(!1);
- return o ? /* @__PURE__ */ (0, x.jsx)(UP, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {
+ return o ? /* @__PURE__ */ (0, x.jsx)(BP, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {
src: c ? t : e,
alt: "",
loading: "lazy",
@@ -43953,8 +43941,8 @@ function tSe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function nSe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ai(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => Tge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? si(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = li({
+function aSe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ai(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) => kge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? si(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = li({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -43962,7 +43950,7 @@ function nSe(e) {
limit: 9
}), w = (0, b.useRef)(C.faces);
w.current = C.faces;
- let T = l_e({
+ let T = p_e({
load: async () => w.current,
canFlip: () => w.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -43970,7 +43958,7 @@ function nSe(e) {
E.current = T.onPointerLeave;
let D = (0, b.useCallback)((e) => {
e && (e._stopHover = () => E.current());
- }, []), O = Oj(u, n, i), k = wj(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = jj(u, i), N = Aj(t, u), P = u.status === "saved", ee = (e) => {
+ }, []), O = Cj(u, n, i), k = yj(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = Ej(u, i), N = Tj(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();
@@ -43985,7 +43973,7 @@ function nSe(e) {
"data-collection": C.isMix ? "" : void 0,
"data-selected": a ? "" : void 0,
onClick: ee,
- onMouseDown: Jj,
+ onMouseDown: Uj,
onMouseEnter: T.onPointerEnter,
onMouseLeave: T.onPointerLeave,
children: [
@@ -43999,14 +43987,14 @@ function nSe(e) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, x.jsx)(tSe, {
+ p ? /* @__PURE__ */ (0, x.jsx)(iSe, {
src: p,
fallback: m,
width: _?.width,
height: _?.height,
provider: A,
onLearn: v
- }, p) : /* @__PURE__ */ (0, x.jsx)(UP, { provider: A }),
+ }, p) : /* @__PURE__ */ (0, x.jsx)(BP, { provider: A }),
C.faces.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-mix-faces": "",
hidden: !T.faces.length,
@@ -44024,7 +44012,7 @@ function nSe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: Cj(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: vj(u.provider, u.provider_label) }
}),
l.toggleSelection ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
@@ -44033,9 +44021,9 @@ function nSe(e) {
},
dangerouslySetInnerHTML: { __html: L("check") }
}) : null,
- eSe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ rSe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-duration": "",
- children: Ht(u.duration)
+ children: Bt(u.duration)
}) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-corner": "",
@@ -44104,7 +44092,7 @@ function nSe(e) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-meta": "",
- children: [O.entityName ? /* @__PURE__ */ (0, x.jsx)(HP, {
+ children: [O.entityName ? /* @__PURE__ */ (0, x.jsx)(zP, {
name: O.entityName,
actions: l,
"data-media-avatar": "",
@@ -44122,11 +44110,11 @@ function nSe(e) {
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: kj(t, u) + R(k) }
+ dangerouslySetInnerHTML: { __html: wj(t, u) + R(k) }
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-byline": "",
- children: [O.entityName ? /* @__PURE__ */ (0, x.jsx)(HP, {
+ children: [O.entityName ? /* @__PURE__ */ (0, x.jsx)(zP, {
name: O.entityName,
actions: l,
"data-follow-author": "",
@@ -44138,8 +44126,8 @@ function nSe(e) {
children: O.author
}), /* @__PURE__ */ (0, x.jsx)("time", {
dateTime: u.published_at || "",
- title: Nj(u),
- children: wge(u)
+ title: Oj(u),
+ children: Oge(u)
})]
}),
O.credited ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -44157,7 +44145,7 @@ function nSe(e) {
"data-media-tag": "",
"data-tag-cat": `r34-${u.tag_types?.[e] || "unknown"}`,
"data-follow-tag": e,
- children: Zs(e)
+ children: Xs(e)
}, e))
}) : null,
M ? /* @__PURE__ */ (0, x.jsx)("span", {
@@ -44175,10 +44163,10 @@ function nSe(e) {
]
});
}
-var WP = (0, b.memo)(nSe), GP = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var VP = (0, b.memo)(aSe), HP = () => /* @__PURE__ */ (0, x.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), rSe = yj("settings"), KP = yj("chevron-down"), iSe = yj("history"), aSe = [[
+}), oSe = mj("settings"), UP = mj("chevron-down"), sSe = mj("history"), cSe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -44187,7 +44175,7 @@ var WP = (0, b.memo)(nSe), GP = () => /* @__PURE__ */ (0, x.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function oSe(e, t, n) {
+function lSe(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) => {
@@ -44235,16 +44223,16 @@ function oSe(e, t, n) {
n
]);
}
-function sSe(e) {
- let { view: t, seed: n, revision: r, actions: i } = e, a = Kr(t, r), o = mt(a), s = ft({
+function uSe(e) {
+ let { view: t, seed: n, revision: r, actions: i } = e, a = Kr(t, r), o = ft(a), s = ut({
queryKey: qr,
queryFn: ({ signal: e }) => Jr(e)
}), c = (0, b.useMemo)(() => Xr(o.data), [o.data]), l = (0, b.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, b.useMemo)(() => ({
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = oSe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({
- tags: oc(d.visible.flatMap(Qr).map((e) => ({ tags: e.tags || [] }))),
+ }), [c, l]), d = lSe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({
+ tags: rc(d.visible.flatMap(Qr).map((e) => ({ tags: e.tags || [] }))),
providers: [...d.providers].map(([e, t]) => [
e,
t,
@@ -44269,11 +44257,11 @@ function sSe(e) {
m,
i
]);
- let h = lSe(e, !!c);
+ let h = fSe(e, !!c);
if (!c) return o.isError ? /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, x.jsx)(qP, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(qj, {
- message: vt(o.error),
+ children: [/* @__PURE__ */ (0, x.jsx)(WP, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(Hj, {
+ message: gt(o.error),
onRetry: () => void o.refetch()
})]
}) : null;
@@ -44285,7 +44273,7 @@ function sSe(e) {
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, Tj(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, bj(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);
@@ -44296,7 +44284,7 @@ function sSe(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(qP, {
+ /* @__PURE__ */ (0, x.jsx)(WP, {
onManage: i.openManage,
children: d.sources.length ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
@@ -44306,24 +44294,24 @@ function sSe(e) {
onClick: () => void h.start(!1),
children: h.starting === "check" ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: Qa("检查中") }
+ dangerouslySetInnerHTML: { __html: Za("检查中") }
}) : "检查更新"
}) : null
}),
- /* @__PURE__ */ (0, x.jsx)(uSe, {
+ /* @__PURE__ */ (0, x.jsx)(pSe, {
facets: d,
pressed: d.author,
context: u,
props: e,
onPick: (e) => g({ author: d.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, x.jsx)(dSe, {
+ /* @__PURE__ */ (0, x.jsx)(mSe, {
rows: d.workRows,
pressed: t.work,
props: e,
onPick: (e) => g({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, x.jsx)(fSe, {
+ /* @__PURE__ */ (0, x.jsx)(hSe, {
facets: d,
view: t,
total: v,
@@ -44331,7 +44319,7 @@ function sSe(e) {
props: e,
route: g
}),
- /* @__PURE__ */ (0, x.jsx)(pSe, {
+ /* @__PURE__ */ (0, x.jsx)(gSe, {
conditions: _,
onDrop: (e) => i.route(hi(t, e)),
onClear: () => g({
@@ -44343,11 +44331,11 @@ function sSe(e) {
durMax: 0
})
}),
- d.broken.length ? /* @__PURE__ */ (0, x.jsx)(mSe, {
+ d.broken.length ? /* @__PURE__ */ (0, x.jsx)(_Se, {
count: d.broken.length,
onManage: i.openManage
}) : null,
- /* @__PURE__ */ (0, x.jsx)(hSe, {
+ /* @__PURE__ */ (0, x.jsx)(vSe, {
pending: f,
facets: d,
data: c,
@@ -44358,16 +44346,16 @@ function sSe(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)(Qj, {
+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, x.jsxs)(qj, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
await o.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, x.jsx)(KP, { className: "size-3.5" }), "加载更多"]
- }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(cSe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(UP, { className: "size-3.5" }), "加载更多"]
+ }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(dSe, {
busy: o.isFetchingNextPage,
- error: o.isFetchNextPageError ? vt(o.error) : "",
+ error: o.isFetchNextPageError ? gt(o.error) : "",
load: () => {
!h.busyRef.current && !o.isFetchingNextPage && o.fetchNextPage();
}
@@ -44376,13 +44364,13 @@ function sSe(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- leadingIcon: h.olderBusy ? void 0 : iSe,
+ leadingIcon: h.olderBusy ? void 0 : sSe,
"data-follow-older": "",
"aria-busy": h.busy || void 0,
onClick: () => void h.start(!0),
children: h.olderBusy ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: Qa("抓取中") }
+ dangerouslySetInnerHTML: { __html: Za("抓取中") }
}), /* @__PURE__ */ (0, x.jsx)("span", { children: "抓取中…" })] }) : "抓更早的一页"
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-backfill": "",
@@ -44393,7 +44381,7 @@ function sSe(e) {
]
})] });
}
-function qP({ onManage: e, children: t }) {
+function WP({ onManage: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
@@ -44403,7 +44391,7 @@ function qP({ onManage: e, children: t }) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- leadingIcon: rSe,
+ leadingIcon: oSe,
"data-follow-manage": "",
onClick: e,
children: "管理关注"
@@ -44411,20 +44399,20 @@ function qP({ onManage: e, children: t }) {
})]
});
}
-function cSe({ busy: e, error: t, load: n }) {
+function dSe({ 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)(KP, { className: "size-3.5" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, x.jsx)(qj, {
+ children: [/* @__PURE__ */ (0, x.jsx)(UP, { className: "size-3.5" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, x.jsx)(Hj, {
message: t,
onRetry: n
}) : null] });
}
-function lSe(e, t) {
+function fSe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, b.useState)(0), [o, s] = (0, b.useState)(!1), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(!1), f = (0, b.useRef)(!1), p = (0, b.useRef)(null), m = (0, b.useRef)({
helpers: n,
actions: r
@@ -44439,7 +44427,7 @@ function lSe(e, t) {
return m.current.helpers.jobProgress({
host: e,
active: () => t,
- read: (e) => B(yn, e),
+ read: (e) => tn(yn, e),
busy: (e) => {
t && (f.current = e, s(e));
},
@@ -44449,7 +44437,7 @@ function lSe(e, t) {
ok: !1,
error: e.error
}] } : e;
- m.current.actions.checkReport(n), f.current = !1, s(!1), d(!1), H.invalidateQueries({ queryKey: ["follow-feed"] }), a((e) => e + 1);
+ m.current.actions.checkReport(n), f.current = !1, s(!1), d(!1), V.invalidateQueries({ queryKey: ["follow-feed"] }), a((e) => e + 1);
}
}), () => {
t = !1;
@@ -44464,7 +44452,7 @@ function lSe(e, t) {
f.current = !0, l(e ? "older" : "check");
let t = !1;
try {
- let n = await V(yn, e ? {
+ let n = await B(yn, e ? {
older: !0,
background: !0
} : { background: !0 });
@@ -44472,8 +44460,8 @@ function lSe(e, t) {
} catch (t) {
m.current.actions.checkReport({ results: [{
ok: !1,
- error: vt(t)
- }] }), e && H.invalidateQueries({ queryKey: ["follow-feed"] });
+ error: gt(t)
+ }] }), e && V.invalidateQueries({ queryKey: ["follow-feed"] });
} finally {
f.current = t, l("");
}
@@ -44482,12 +44470,12 @@ function lSe(e, t) {
olderBusy: c === "older" || u && o
};
}
-function uSe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function pSe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, b.useRef)(null);
(0, b.useEffect)(() => {
r.helpers.wireDrag(a.current);
}, [r.helpers]);
- let o = (t) => Tj(e.authorSources.get(t) || [], n);
+ let o = (t) => bj(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, x.jsx)("div", {
@@ -44495,14 +44483,14 @@ function uSe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
"data-follow-authors": "",
"aria-label": "创作者",
children: e.authorOrder.map((n) => {
- let a = e.authorSources.get(n) || [], s = Ej(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = xj(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: Dj(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: Sj(a, o(n)) }
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, x.jsx)(HP, {
+ return s ? /* @__PURE__ */ (0, x.jsx)(zP, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -44519,7 +44507,7 @@ function uSe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function dSe({ rows: e, pressed: t, props: n, onPick: r }) {
+function mSe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -44534,19 +44522,19 @@ function dSe({ rows: e, pressed: t, props: n, onPick: r }) {
onClick: () => r(e[0]),
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-mark": "",
- "data-fallback": qt(e[1], 2),
+ "data-fallback": Gt(e[1], 2),
dangerouslySetInnerHTML: { __html: n.helpers.workMark(e) }
}), e[1]]
}, e[0]))
}) : null;
}
-function fSe({ 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 = KO(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = KO(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function hSe({ 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 = zO(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = zO(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)(UO, {
+ return /* @__PURE__ */ (0, x.jsx)(IO, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -44598,7 +44586,7 @@ function fSe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: L(i) }
}, e);
})
- }), /* @__PURE__ */ (0, x.jsx)(GP, {})] }) : null, /* @__PURE__ */ (0, x.jsxs)("div", {
+ }), /* @__PURE__ */ (0, x.jsx)(HP, {})] }) : null, /* @__PURE__ */ (0, x.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -44618,7 +44606,7 @@ function fSe({ 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)(GP, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, x.jsx)(HP, {}) : null]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -44631,16 +44619,16 @@ function fSe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
title: n,
"aria-label": `来源:${n}`,
onClick: () => a({ provider: e.provider === t ? "" : t }),
- dangerouslySetInnerHTML: { __html: Cj(t, n) }
+ dangerouslySetInnerHTML: { __html: vj(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(GP, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(WO, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(HP, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(LO, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${gi(e.groups, n)}`,
pressed: t.tags.includes(n),
onPress: () => a({ tags: t.tags.includes(n) ? t.tags.filter((e) => e !== n) : [...t.tags, n] }),
- children: [Zs(n), r ? /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [Xs(n), r ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-count-badge": n,
children: String(r)
}) : null]
@@ -44655,11 +44643,11 @@ function fSe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(Vj, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Bj, {
+ /* @__PURE__ */ (0, x.jsx)(Ij, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Fj, {
label: "图片布局",
value: i.photoLayout,
- options: aSe,
+ options: cSe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
@@ -44677,7 +44665,7 @@ function fSe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})]
})] }) : null,
Vr.map(([e, n]) => {
- let r = t.sort === e, i = yj(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ let r = t.sort === e, i = mj(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-sort": e,
@@ -44696,7 +44684,7 @@ function fSe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})] })
});
}
-function pSe({ conditions: e, onDrop: t, onClear: n }) {
+function gSe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -44721,7 +44709,7 @@ function pSe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function mSe({ count: e, onManage: t }) {
+function _Se({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -44730,12 +44718,12 @@ function mSe({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${L("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function hSe({ pending: e, facets: t, data: n, context: r, props: i }) {
- let { view: a, helpers: o } = i, s = a.media === "images", c = Kj(e, () => o.listSkeletonHtml(a.media));
+function vSe({ pending: e, facets: t, data: n, context: r, props: i }) {
+ let { view: a, helpers: o } = i, s = a.media === "images", c = Vj(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
- children: [c.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(gSe, {
+ children: [c.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(ySe, {
facets: t,
data: n,
context: r,
@@ -44744,28 +44732,28 @@ function hSe({ pending: e, facets: t, data: n, context: r, props: i }) {
})]
});
}
-function gSe({ facets: e, data: t, context: n, props: r, images: i }) {
- let { view: a, actions: o } = r, s = YP(r), c = i ? {
+function ySe({ facets: e, data: t, context: n, props: r, images: i }) {
+ let { view: a, actions: o } = r, s = KP(r), c = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
} : {}, l;
return l = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), c = i?.author_key && e.authorSources.get(i.author_key) || [], l = t.primary.id;
- return /* @__PURE__ */ (0, x.jsx)(WP, {
+ return /* @__PURE__ */ (0, x.jsx)(VP, {
group: t,
authorSources: c,
media: a.media,
context: n,
- selected: r.selected.has(JP(t, a)),
+ selected: r.selected.has(GP(t, a)),
selectMode: r.selectMode,
- busy: s.busy.get(JP(t, a)) || "",
- failure: s.failures.get(JP(t, a)) || "",
+ busy: s.busy.get(GP(t, a)) || "",
+ failure: s.failures.get(GP(t, a)) || "",
actions: o,
onStatus: s.status,
onSave: s.save
}, `${l}:${a.media}`);
- }) : /* @__PURE__ */ (0, x.jsx)(_Se, {
+ }) : /* @__PURE__ */ (0, x.jsx)(bSe, {
data: t,
filtered: !!(a.status || e.author || e.provider || a.work || a.tags.length)
}), /* @__PURE__ */ (0, x.jsx)("div", {
@@ -44775,63 +44763,63 @@ function gSe({ facets: e, data: t, context: n, props: r, images: i }) {
children: l
});
}
-function JP(e, t) {
+function GP(e, t) {
return ai(e, t.media).id;
}
-function _Se({ data: e, filtered: t }) {
- let n = (e.groups || []).length ? no("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源、时长或标签后再试。") : (e.sources || []).length ? t ? no("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : no("rss", "还没有更新", "点「检查更新」去各个来源取一遍;来源有新内容时会集中显示在这里。") : no("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
+function bSe({ data: e, filtered: t }) {
+ let n = (e.groups || []).length ? eo("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源、时长或标签后再试。") : (e.sources || []).length ? t ? eo("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : eo("rss", "还没有更新", "点「检查更新」去各个来源取一遍;来源有新内容时会集中显示在这里。") : eo("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-empty": "",
className: "contents",
dangerouslySetInnerHTML: { __html: n }
});
}
-var vSe = {
+var xSe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function YP(e) {
+function KP(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 = Kr(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
}), u = (e, n) => {
- H.setQueryData(c, (r) => r && pi(r, t, e, n));
- }, d = () => void H.invalidateQueries({
+ V.setQueryData(c, (r) => r && pi(r, t, e, n));
+ }, d = () => void V.invalidateQueries({
queryKey: c,
exact: !0
}), f = (e) => {
- let t = Xr(H.getQueryData(c));
+ let t = Xr(V.getQueryData(c));
for (let n of t?.groups || []) for (let t of [
n.primary,
...n.variants,
...n.duplicates
]) if (t.id === e) return t.status;
return "new";
- }, p = pt({
- mutationFn: ({ id: e, to: t }) => V(Tn, {
+ }, p = dt({
+ mutationFn: ({ id: e, to: t }) => B(Tn, {
item: e,
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(vSe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
- await V(Tn, {
+ u(t, n), d(), r.toast(xSe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ await B(Tn, {
item: t,
to: i
}), u(t, i), d();
} });
},
onError: (e, { id: t }) => {
- l(t, vt(e), s), r.failure("更新关注状态", e);
+ l(t, gt(e), s), r.failure("更新关注状态", e);
},
onSettled: (e, t, { id: n }) => l(n, "", a)
- }), m = pt({
- mutationFn: (e) => V("/api/follow/save", { item: e }),
+ }), m = dt({
+ mutationFn: (e) => B("/api/follow/save", { item: e }),
onSuccess: (e, t) => {
u(t, "saved"), d(), r.toast("已保存到账本");
},
onError: (e, t) => {
- l(t, vt(e), s), r.failure("保存到账本", e);
+ l(t, gt(e), s), r.failure("保存到账本", e);
},
onSettled: (e, t, n) => l(n, "", a)
}), h = (0, b.useRef)({
@@ -44860,10 +44848,10 @@ function YP(e) {
}
//#endregion
//#region src/react/entity-body/entity-online.tsx
-function ySe(e) {
- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = Kj(a, () => i.listSkeletonHtml(r));
- return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(qj, {
- message: vt(t.error),
+function SSe(e) {
+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = Vj(a, () => i.listSkeletonHtml(r));
+ return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(Hj, {
+ message: gt(t.error),
onRetry: () => {
t.refetch();
}
@@ -44873,11 +44861,11 @@ function ySe(e) {
"data-grid-reveal": o.fading ? "" : void 0,
children: [
o.layer,
- a || !n ? null : /* @__PURE__ */ (0, x.jsx)(bSe, {
+ a || !n ? null : /* @__PURE__ */ (0, x.jsx)(CSe, {
...e,
data: n
}),
- !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(Qj, {
+ !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(qj, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -44887,8 +44875,8 @@ function ySe(e) {
]
});
}
-function bSe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
- let l = YP({
+function CSe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
+ let l = KP({
view: e,
revision: 0,
actions: c
@@ -44906,7 +44894,7 @@ function bSe({ 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 = ai(e, t).id, r = u.byId.get(e.primary?.source_id)?.author_key;
- return /* @__PURE__ */ (0, x.jsx)(WP, {
+ return /* @__PURE__ */ (0, x.jsx)(VP, {
group: e,
authorSources: r && u.byAuthor.get(r) || [],
media: t,
@@ -44919,7 +44907,7 @@ function bSe({ 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)(xSe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
+ }) : /* @__PURE__ */ (0, x.jsx)(wSe, { 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,
@@ -44927,15 +44915,15 @@ function bSe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: p
});
}
-function xSe({ searched: e }) {
- let t = e ? no("search-x", "当前筛选下没有更新", "切换媒体类型、状态、来源或标签后再试。") : no("rss", "还没有抓到更新", "关注页检查更新之后,这位创作者的新内容会出现在这里。");
+function wSe({ searched: e }) {
+ let t = e ? eo("search-x", "当前筛选下没有更新", "切换媒体类型、状态、来源或标签后再试。") : eo("rss", "还没有抓到更新", "关注页检查更新之后,这位创作者的新内容会出现在这里。");
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-empty": "",
className: "contents",
dangerouslySetInnerHTML: { __html: t }
});
}
-function XP(e) {
+function qP(e) {
return {
x0: 0,
y0: 0,
@@ -44943,7 +44931,7 @@ function XP(e) {
y1: e.height
};
}
-function ZP(e) {
+function JP(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -44951,40 +44939,40 @@ function ZP(e) {
y1: Math.round(e.y1)
};
}
-function QP(e) {
+function YP(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function $P(e, t) {
- if (!QP(e)) return {
+function XP(e, t) {
+ if (!YP(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return XP(e);
+ if (t == null || !(t > 0)) return qP(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 ZP({
+ return JP({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function SSe(e, t) {
- if (!QP(e) || !(t > 0)) return XP(e);
+function TSe(e, t) {
+ if (!YP(e) || !(t > 0)) return qP(e);
let n = Math.min(e.width, e.height * t);
- return ZP({
+ return JP({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function CSe(e, t, n) {
- if (!QP(t) || !(n > 0)) return XP(t);
- let r = eF(e, t), i = $P({
+function ESe(e, t, n) {
+ if (!YP(t) || !(n > 0)) return qP(t);
+ let r = ZP(e, t), i = XP({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -44995,8 +44983,8 @@ function CSe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function eF(e, t, n = null, r = "width") {
- if (!QP(t)) return {
+function ZP(e, t, n = null, r = "width") {
+ if (!YP(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -45005,43 +44993,43 @@ function eF(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 ZP({
+ return JP({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function tF(e, t, n, r) {
+function QP(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 ZP({
+ return JP({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function nF(e, t, n, r = null) {
- if (!QP(n) || !(t > 0)) return e;
+function $P(e, t, n, r = null) {
+ if (!YP(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 eF({
+ return ZP({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function wSe(e, t, n, r, i = null) {
+function DSe(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 eF(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return ZP(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function TSe(e, t) {
- return QP(t) ? {
+function OSe(e, t) {
+ return YP(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -45053,8 +45041,8 @@ function TSe(e, t) {
height: 0
};
}
-function ESe(e, t) {
- if (!QP(t)) return {
+function kSe(e, t) {
+ if (!YP(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -45064,7 +45052,7 @@ function ESe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function DSe(e, t) {
+function ASe(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}%`,
@@ -45073,32 +45061,32 @@ function DSe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function rF(e, t, n) {
+function eF(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function OSe(e, t) {
+function jSe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var kSe = {
+var MSe = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function iF({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
- let { isFocusVisible: a } = Mie();
- return /* @__PURE__ */ (0, x.jsx)(kA, {
+function tF({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+ let { isFocusVisible: a } = Pie();
+ return /* @__PURE__ */ (0, x.jsx)(wA, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
"data-modal-motion": "",
"data-motion-instant": a || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, x.jsx)(_he, {
+ children: /* @__PURE__ */ (0, x.jsx)(xhe, {
"data-modal-surface": "",
- className: `flex max-h-full w-full ${kSe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, x.jsx)(TA, {
+ className: `flex max-h-full w-full ${MSe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, x.jsx)(bA, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -45106,7 +45094,7 @@ function iF({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function aF({ children: e }) {
+function nF({ 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",
@@ -45115,8 +45103,8 @@ function aF({ children: e }) {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var ASe = .02, oF = 1.08;
-function sF({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var NSe = .02, rF = 1.08;
+function iF({ 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);
@@ -45135,8 +45123,8 @@ function sF({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: rF(e, n.clientWidth, r.width),
- dy: rF(t, n.clientHeight, r.height)
+ dx: eF(e, n.clientWidth, r.width),
+ dy: eF(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -45153,22 +45141,22 @@ function sF({ 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(tF(n.box, o.dx, o.dy, r)) : i(wSe(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(QP(n.box, o.dx, o.dy, r)) : i(DSe(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) * ASe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * NSe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(tF(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(nF(n, e.key === "-" ? 1 / oF : oF, r, t)));
+ o[e.key] ? (e.preventDefault(), i(QP(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i($P(n, e.key === "-" ? 1 / rF : rF, r, t)));
}
- let v = n && r ? TSe(eF(n, r, t), r) : null, y = v ? OSe(v, d) : !1, S = v ? {
+ let v = n && r ? OSe(ZP(n, r, t), r) : null, y = v ? jSe(v, d) : !1, S = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -45187,7 +45175,7 @@ function sF({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- QP({
+ YP({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -45226,7 +45214,7 @@ function sF({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(nF(n, e.deltaY > 0 ? oF : 1 / oF, r, t));
+ n && r && i($P(n, e.deltaY > 0 ? rF : 1 / rF, 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", {
@@ -45249,13 +45237,13 @@ function sF({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var jSe = "/api/avatar-choices", cF = "/api/avatar-pick", MSe = "/api/avatar-code-cover", lF = "/api/avatar-frame", NSe = "/avatar-choice", uF = (e, t) => [
+var PSe = "/api/avatar-choices", aF = "/api/avatar-pick", FSe = "/api/avatar-code-cover", oF = "/api/avatar-frame", ISe = "/avatar-choice", sF = (e, t) => [
"avatar-choices",
e,
t
-], dF = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, fF = (e, t, n, r = "") => `${NSe}${dF(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), pF = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", PSe = (e, t, n) => B(jSe + dF(e, t), n), FSe = (e) => V(MSe, { code: e });
-async function ISe(e, t, n) {
- let r = await V(lF, {
+], cF = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, lF = (e, t, n, r = "") => `${ISe}${cF(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), uF = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", LSe = (e, t, n) => tn(PSe + cF(e, t), n), RSe = (e) => B(FSe, { code: e });
+async function zSe(e, t, n) {
+ let r = await B(oF, {
kind: e,
id: t,
ref: n.ref
@@ -45268,31 +45256,31 @@ async function ISe(e, t, n) {
bases: r.bases
};
}
-var LSe = (e, t, n) => V(lF, {
+var BSe = (e, t, n) => B(oF, {
kind: e,
id: t,
url: n
-}), RSe = (e, t, n) => mF(`${lF}${dF(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function mF(e, t) {
+}), VSe = (e, t, n) => dF(`${oF}${cF(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function dF(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
body: t
}), r = await n.json().catch(() => null);
if (n.ok) return r;
- throw new tn(r?.error || `请求失败(${n.status})`, n.status, r);
+ throw new $t(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function hF(e, t, n) {
+function fF(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? CSe(e.focus, t, n) : $P(t, n);
+ return e.focus && r ? ESe(e.focus, t, n) : XP(t, n);
}
-var zSe = (e) => e.crop && QP({
+var HSe = (e) => e.crop && YP({
width: e.width,
height: e.height
});
-async function BSe(e, t, n) {
+async function USe(e, t, n) {
if (!("file" in n)) {
- await V(cF, {
+ await B(aF, {
kind: e,
id: t,
...n
@@ -45305,19 +45293,19 @@ async function BSe(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await mF(`${cF}${dF(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await dF(`${aF}${cF(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var gF = 2;
-function VSe(e, t) {
+var pF = 2;
+function WSe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, gF).join("」「")}」`}${n.length > gF ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, pF).join("」「")}」`}${n.length > pF ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
}
-var HSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function USe(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${HSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var GSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function KSe(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${GSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var _F = (e) => e.cast > 1, WSe = (e) => _F(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, GSe = {
+var mF = (e) => e.cast > 1, qSe = (e) => mF(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, JSe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -45327,7 +45315,7 @@ var _F = (e) => e.cast > 1, WSe = (e) => _F(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function KSe(e) {
+function YSe(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -45338,19 +45326,19 @@ function KSe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var qSe = (e) => `${GSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (_F(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), JSe = 8, YSe = 3 / 4;
-async function XSe(e, t, n) {
+var XSe = (e) => `${JSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (mF(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), ZSe = 8, QSe = 3 / 4;
+async function $Se(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await ISe(e, t, n.choice) };
- case "code": return { choice: await FSe(n.code) };
- case "url": return { choice: await LSe(e, t, n.url) };
+ case "choice": return { choice: await zSe(e, t, n.choice) };
+ case "code": return { choice: await RSe(n.code) };
+ case "url": return { choice: await BSe(e, t, n.url) };
case "file": return {
- choice: await RSe(e, t, n.file),
+ choice: await VSe(e, t, n.file),
file: n.file
};
}
}
-function ZSe({ kind: e, entityId: t, name: n, onPicked: r }) {
+function eCe({ 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",
@@ -45360,17 +45348,17 @@ function ZSe({ 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)(yde, {
+ children: /* @__PURE__ */ (0, x.jsx)(Tde, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, x.jsx)(iF, {
+ }), /* @__PURE__ */ (0, x.jsx)(tF, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, x.jsx)(QSe, {
+ children: /* @__PURE__ */ (0, x.jsx)(tCe, {
kind: e,
entityId: t,
name: n,
@@ -45379,22 +45367,22 @@ function ZSe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function QSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, b.useRef)(null), o = mN(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = uF(e, t), m = (0, b.useRef)(!1), h = ft({
+function tCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, b.useRef)(null), o = dN(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = sF(e, t), m = (0, b.useRef)(!1), h = ut({
queryKey: p,
- queryFn: ({ signal: n }) => PSe(e, t, n),
+ queryFn: ({ signal: n }) => LSe(e, t, n),
retryOnMount: !0
});
(0, b.useEffect)(() => () => {
- m.current && H.removeQueries({ queryKey: uF(e, t) });
+ m.current && V.removeQueries({ queryKey: sF(e, t) });
}, [e, t]);
- let g = pt({
- mutationFn: (n) => BSe(e, t, n),
+ let g = dt({
+ mutationFn: (n) => USe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
- }), _ = pt({
- mutationFn: (n) => XSe(e, t, n),
+ }), _ = dt({
+ mutationFn: (n) => $Se(e, t, n),
onSuccess: f
}), v = (e) => _.isPending && _.variables?.via === e;
function y(e) {
@@ -45412,28 +45400,28 @@ function QSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
crop: e.crop
} : { file: n }) : g.mutate(e ?? { ref: t.ref });
}
- let C = h.data, w = C?.choices ?? [], T = (g.error ? z(g.error) : "") || (!d && _.error ? z(_.error) : "") || (h.error ? z(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : USe(C), O = !!T && !!h.error && T === z(h.error), k = h.isPending || w.length > 0;
+ let C = h.data, w = C?.choices ?? [], T = (g.error ? z(g.error) : "") || (!d && _.error ? z(_.error) : "") || (h.error ? z(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : KSe(C), O = !!T && !!h.error && T === z(h.error), k = h.isPending || w.length > 0;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, x.jsx)(aF, { children: /* @__PURE__ */ (0, x.jsx)(Jde, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, x.jsx)(nF, { children: /* @__PURE__ */ (0, x.jsx)(efe, { 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)(lk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(nk, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
- }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(aO, {
+ }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(QD, {
color: "soft",
children: [w.length.toLocaleString(), " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? WSe(d.choice) : VSe(n, C)
+ children: d ? qSe(d.choice) : WSe(n, C)
}),
D ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
@@ -45454,14 +45442,14 @@ function QSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(gN, {
- icon: wD,
+ /* @__PURE__ */ (0, x.jsx)(pN, {
+ icon: _D,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, x.jsx)(tCe, {
+ }), d ? /* @__PURE__ */ (0, x.jsx)(iCe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -45480,7 +45468,7 @@ function QSe({ 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: JSe }, (e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: ZSe }, (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",
@@ -45493,7 +45481,7 @@ function QSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: qSe(n),
+ title: XSe(n),
...q(E),
onClick: () => {
E || (n.crop ? f({ choice: n }) : _.mutate({
@@ -45503,8 +45491,8 @@ function QSe({ 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)($Se, {
- src: fF(e, t, n.ref, pF(n, n.ref)),
+ /* @__PURE__ */ (0, x.jsx)(nCe, {
+ src: lF(e, t, n.ref, uF(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -45513,15 +45501,15 @@ function QSe({ 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)(aO, {
+ children: /* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- _F(n) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ mF(n) ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, x.jsxs)(aO, {
+ children: /* @__PURE__ */ (0, x.jsxs)(QD, {
variant: "caption",
color: "gray",
children: [n.cast.toLocaleString(), " 人"]
@@ -45543,7 +45531,7 @@ function QSe({ 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)(BN, {
+ children: /* @__PURE__ */ (0, x.jsx)(LN, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -45578,7 +45566,7 @@ function QSe({ 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)(BN, {
+ children: /* @__PURE__ */ (0, x.jsx)(LN, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -45601,7 +45589,7 @@ function QSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function $Se({ src: e, choice: t }) {
+function nCe({ 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);
@@ -45609,7 +45597,7 @@ function $Se({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = zSe(t) ? DSe(hF(t, s, YSe), s) : null, l = r || a ? !0 : void 0;
+ }, c = HSe(t) ? ASe(fF(t, s, QSe), 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",
@@ -45635,7 +45623,7 @@ function $Se({ src: e, choice: t }) {
})]
});
}
-function eCe(e) {
+function rCe(e) {
let [t, n] = (0, b.useState)("");
return (0, b.useEffect)(() => {
if (!e) return;
@@ -45643,23 +45631,23 @@ function eCe(e) {
return n(t), () => URL.revokeObjectURL(t);
}, [e]), t;
}
-function tCe({ 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 = pF(n, c), h = eCe(r), g = r ? h : fF(e, t, c, m), _ = mN();
+function iCe({ 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 = uF(n, c), h = rCe(r), g = r ? h : lF(e, t, c, m), _ = dN();
function v(e) {
l(e), d(null), p(null);
}
- let y = f && u ? ESe(f, u) : null;
+ let y = f && u ? kSe(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)(sF, {
+ children: [g ? /* @__PURE__ */ (0, x.jsx)(iF, {
src: g,
aspect: 1,
box: f,
size: u,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- d(e), QP(e) && p(c === n.ref ? hF(n, e, 1) : $P(e, 1));
+ d(e), YP(e) && p(c === n.ref ? fF(n, e, 1) : XP(e, 1));
},
onBox: p
}) : null, s.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -45673,7 +45661,7 @@ function tCe({ 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: KSe(e)
+ children: YSe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -45722,7 +45710,7 @@ function tCe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
}
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function vF({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+function hF({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
let a = (0, b.useRef)(null), o = e?.items.length ? e.html : "";
(0, b.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !o, e && i?.(!!o);
@@ -45754,12 +45742,12 @@ function vF({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var nCe = {
+var aCe = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function yF({ name: e }) {
- let t = nCe[e];
+function gF({ name: e }) {
+ let t = aCe[e];
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -45769,20 +45757,20 @@ function yF({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function bF(e, t) {
+function _F(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 xF = (e) => !!e?.isConnected && e.matches(":popover-open");
-function SF(e, t, n, r) {
+var vF = (e) => !!e?.isConnected && e.matches(":popover-open");
+function yF(e, t, n, r) {
let i = (0, b.useRef)(r);
i.current = r, (0, b.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && xF(n.current) ? bF(t.current, n.current) : i.current();
+ t.current && vF(n.current) ? _F(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -45796,17 +45784,17 @@ function SF(e, t, n, r) {
n
]);
}
-function CF({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function bF({ 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, xF(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, vF(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !xF(s.current) && (s.current.showPopover(), bF(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !vF(s.current) && (s.current.showPopover(), _F(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 SF(c, o, s, f), (0, b.useEffect)(() => {
+ return yF(c, o, s, f), (0, b.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -45832,7 +45820,7 @@ function CF({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && xF(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && vF(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -45850,16 +45838,16 @@ function CF({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function rCe({ following: e, busy: t, onToggle: n, tip: r }) {
+function oCe({ 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 = () => {
- xF(o.current) && o.current.hidePopover(), c(!1);
+ vF(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !xF(o.current) && (o.current.showPopover(), bF(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !vF(o.current) && (o.current.showPopover(), _F(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return SF(s, i, o, () => c(!1)), (0, b.useEffect)(() => {
- i.current && xF(o.current) && bF(i.current, o.current);
+ return yF(s, i, o, () => c(!1)), (0, b.useEffect)(() => {
+ i.current && vF(o.current) && _F(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, x.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -45868,7 +45856,7 @@ function rCe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, x.jsx)(yF, { name: "rss" }),
+ /* @__PURE__ */ (0, x.jsx)(gF, { name: "rss" }),
/* @__PURE__ */ (0, x.jsx)("input", {
ref: a,
type: "checkbox",
@@ -45903,29 +45891,29 @@ function rCe({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function iCe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function sCe({ 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)(lhe, {
+ }, []), /* @__PURE__ */ (0, x.jsxs)(phe, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, x.jsx)(sk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(wme, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, x.jsx)(yF, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, x.jsx)(mA, {
+ children: /* @__PURE__ */ (0, x.jsx)(gF, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, x.jsx)(lA, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: qM,
+ className: UM,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, x.jsxs)(dhe, {
+ children: /* @__PURE__ */ (0, x.jsxs)(hhe, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(xA, {
+ /* @__PURE__ */ (0, x.jsx)(gA, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -45933,31 +45921,31 @@ function iCe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, x.jsxs)(CA, {
+ children: t.map((e) => /* @__PURE__ */ (0, x.jsxs)(vA, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, x.jsx)(yF, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, x.jsx)(gF, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(Bme, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, x.jsx)(xA, { children: /* @__PURE__ */ (0, x.jsxs)(CA, {
+ /* @__PURE__ */ (0, x.jsx)(Wme, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, x.jsx)(gA, { children: /* @__PURE__ */ (0, x.jsxs)(vA, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, x.jsx)(yF, { name: "plus" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(gF, { name: "plus" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var aCe = (e) => e === "studio" || e === "agency", wF = (e) => e === "performer" || e === "creator", oCe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function sCe(e) {
+var cCe = (e) => e === "studio" || e === "agency", xF = (e) => e === "performer" || e === "creator", lCe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function uCe(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function TF(e) {
+function SF(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -45968,13 +45956,13 @@ function TF(e) {
linked: !1
} : null;
}
-function EF(e, t) {
- let n = Bt(e, "performer"), r = Lt(t);
- return r && [e.label, n].map(Lt).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
+function CF(e, t) {
+ let n = Rt(e, "performer"), r = Ft(t);
+ return r && [e.label, n].map(Ft).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var DF = (e) => ({ site: Nt(e) });
-function cCe(e, t) {
- let n = TF(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var wF = (e) => ({ site: jt(e) });
+function dCe(e, t) {
+ let n = SF(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -45984,7 +45972,7 @@ function cCe(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${EF(e, n)} · ${t}`
+ title: `${CF(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -45992,32 +45980,32 @@ function cCe(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (wF(t) && e.link_kind !== "social") return {
+ if (xF(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: EF(e, n),
- mark: DF(e)
+ title: CF(e, n),
+ mark: wF(e)
};
if (e.link_kind === "social") {
- let t = It(r);
+ let t = Pt(r);
return {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : DF(e)
+ mark: t ? { brand: t } : wF(e)
};
}
return {
type: "url",
url: r,
title: e.label || "",
- text: Bt(e, t, i),
- mark: DF(e)
+ text: Rt(e, t, i),
+ mark: wF(e)
};
});
- return [...r, ...lCe(a)];
+ return [...r, ...fCe(a)];
}
-function lCe(e) {
+function fCe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -46025,8 +46013,8 @@ function lCe(e) {
sources: t.map((e) => e.label)
}];
}
-var OF = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function uCe(e) {
+var TF = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function pCe(e) {
return [
[
"legal_name",
@@ -46082,7 +46070,7 @@ function uCe(e) {
}]
}] : []);
}
-function dCe(e) {
+function mCe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -46139,14 +46127,14 @@ function dCe(e) {
tags: e.tags
}), t;
}
-function kF(e, t = 4) {
+function EF(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
rest: e.length - n
};
}
-function fCe(e) {
+function hCe(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 ? {
@@ -46157,7 +46145,7 @@ function fCe(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function pCe(e) {
+function gCe(e) {
return ta({
id: e.id,
hasImage: e.has_image,
@@ -46168,8 +46156,8 @@ function pCe(e) {
standIn: e.avatar_stand_in
});
}
-function mCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = wF(e), c = aCe(e), l = s ? dCe(n.profile) : c ? uCe(n.company_profile) : [], u = cCe(n, e), d = OF(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, b.useRef)(null), m = (0, b.useRef)(null);
+function _Ce({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ let s = xF(e), c = cCe(e), l = s ? mCe(n.profile) : c ? pCe(n.company_profile) : [], u = dCe(n, e), d = TF(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)(() => {
@@ -46182,7 +46170,7 @@ function mCe({ 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)(hCe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(vCe, {
kind: e,
name: t,
helpers: o,
@@ -46190,7 +46178,7 @@ function mCe({ 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)(ZSe, {
+ children: /* @__PURE__ */ (0, x.jsx)(eCe, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -46203,14 +46191,14 @@ function mCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, x.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, x.jsx)(iCe, {
+ children: [/* @__PURE__ */ (0, x.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, x.jsx)(sCe, {
current: n.canonical_name,
- choices: sCe(n),
+ choices: uCe(n),
onChoose: a.chooseName,
onAddAlias: a.addAlias
})]
}),
- /* @__PURE__ */ (0, x.jsx)(gCe, {
+ /* @__PURE__ */ (0, x.jsx)(yCe, {
kind: e,
entity: n,
actions: a
@@ -46231,14 +46219,14 @@ function mCe({ 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)(SCe, { link: e }, t))
+ children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(TCe, { link: e }, t))
}) : null,
- d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(CCe, {
+ d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(ECe, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(yCe, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(SCe, {
follow: n.follow,
entity: n,
actions: a
@@ -46247,11 +46235,11 @@ function mCe({ 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)(bCe, {
+ children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(CCe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, x.jsx)(xCe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, x.jsx)(wCe, { 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))
@@ -46270,7 +46258,7 @@ function mCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${R(Jt(e.k))}</span>${pCe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${R(Kt(e.k))}</span>${gCe(e)}` }
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -46278,15 +46266,15 @@ function mCe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, ht.createPortal)(/* @__PURE__ */ (0, x.jsx)(vF, {
+ }), i ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(hF, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function hCe({ kind: e, name: t, helpers: n, people: r, company: i }) {
- let [a] = (0, b.useState)(() => `${n.portraitImg()}<span>${R(Jt(t))}</span>`);
+function vCe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+ let [a] = (0, b.useState)(() => `${n.portraitImg()}<span>${R(Kt(t))}</span>`);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
"data-fit-native": i ? "mark" : "portrait",
@@ -46294,51 +46282,51 @@ function hCe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: a }
});
}
-function gCe({ kind: e, entity: t, actions: n }) {
- let r = TF(t), i = (e, t) => (r) => {
+function yCe({ kind: e, entity: t, actions: n }) {
+ let r = SF(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, x.jsx)("a", {
- href: Ot("agency", r.name),
+ href: Et("agency", r.name),
"data-agency": r.name,
onClick: i("agency", r.name),
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 = fCe(t.name_groups);
+ let e = hCe(t.name_groups);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, x.jsx)(AF, { entity: t }),
+ /* @__PURE__ */ (0, x.jsx)(DF, { entity: t }),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, x.jsx)(yF, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, x.jsx)(gF, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(vCe, {
+ t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(xCe, {
follow: t.follow,
actions: n
}) : null,
a ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, x.jsx)(yF, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, x.jsx)(gF, { 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)(yF, { name: "id-card" }),
+ /* @__PURE__ */ (0, x.jsx)(gF, { 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)(CF, {
+ e.rest > 0 ? /* @__PURE__ */ (0, x.jsx)(bF, {
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)(jF, {
+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, x.jsx)(OF, {
label: e.label,
names: e.names
}, t)) })
@@ -46360,64 +46348,64 @@ function gCe({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, x.jsx)(AF, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, x.jsx)(DF, { entity: t }) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, x.jsx)(yF, { name: "film" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, x.jsx)(gF, { 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)(yF, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, x.jsx)(gF, { 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)(yF, { name: "clapperboard" }), /* @__PURE__ */ (0, x.jsx)("a", {
- href: Ot("studio", l.name),
+ children: [/* @__PURE__ */ (0, x.jsx)(gF, { name: "clapperboard" }), /* @__PURE__ */ (0, x.jsx)("a", {
+ href: Et("studio", l.name),
"data-studio-link": l.name,
onClick: i("studio", l.name),
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, x.jsx)(_Ce, {
+ s.length ? /* @__PURE__ */ (0, x.jsx)(bCe, {
aliases: s,
wide: e === "studio" || e === "agency"
}) : null
]
});
}
-function _Ce({ aliases: e, wide: t }) {
- let { shown: n, rest: r } = kF(e, 3);
+function bCe({ aliases: e, wide: t }) {
+ let { shown: n, rest: r } = EF(e, 3);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": t ? "" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(yF, { name: "id-card" }),
+ /* @__PURE__ */ (0, x.jsx)(gF, { name: "id-card" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: n.map((e, t) => /* @__PURE__ */ (0, x.jsx)("span", { children: e }, t))
}),
- r ? /* @__PURE__ */ (0, x.jsx)(CF, {
+ r ? /* @__PURE__ */ (0, x.jsx)(bF, {
id: "entityAliasPop",
hook: "alias",
rest: r,
label: `另外 ${r.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(jF, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(OF, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
}
-function vCe({ follow: e, actions: t }) {
+function xCe({ 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)(yF, { name: "rss" }), /* @__PURE__ */ (0, x.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, x.jsx)(gF, { name: "rss" }), /* @__PURE__ */ (0, x.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -46426,7 +46414,7 @@ function vCe({ follow: e, actions: t }) {
})]
});
}
-function yCe({ follow: e, entity: t, actions: n }) {
+function SCe({ follow: e, entity: t, actions: n }) {
let [r, i] = (0, b.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -46460,14 +46448,14 @@ function yCe({ follow: e, entity: t, actions: n }) {
}, e.key))
});
}
-function AF({ entity: e }) {
+function DF({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, x.jsx)(yF, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, x.jsx)(gF, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function jF({ label: e, names: t }) {
+function OF({ 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", {
@@ -46476,20 +46464,20 @@ function jF({ label: e, names: t }) {
}, t))
})] });
}
-function bCe({ 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)(yF, { name: e }), t] }), /* @__PURE__ */ (0, x.jsx)("dd", {
+function CCe({ 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)(gF, { 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 xCe({ tags: e }) {
- let { shown: t, rest: n } = kF(e);
+function wCe({ tags: e }) {
+ let { shown: t, rest: n } = EF(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)(CF, {
+ }, e)), n ? /* @__PURE__ */ (0, x.jsx)(bF, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -46505,10 +46493,10 @@ function xCe({ tags: e }) {
})
}) : null] });
}
-function MF({ mark: e }) {
+function kF({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, x.jsx)(yF, { name: e.brand })
+ children: /* @__PURE__ */ (0, x.jsx)(gF, { name: e.brand })
});
let t = L("globe") + ("site" in e ? `<img src="${R(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, x.jsx)("span", {
@@ -46516,7 +46504,7 @@ function MF({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function SCe({ link: e }) {
+function TCe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, x.jsx)("a", {
"data-link": "icon",
@@ -46525,19 +46513,19 @@ function SCe({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, x.jsx)(MF, { mark: e.mark })
+ children: /* @__PURE__ */ (0, x.jsx)(kF, { 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)(MF, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, x.jsx)(kF, { 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)(MF, { mark: { globe: !0 } }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(kF, { mark: { globe: !0 } }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -46548,14 +46536,14 @@ function SCe({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, x.jsx)(MF, { mark: e.mark }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(kF, { mark: e.mark }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function CCe({ entity: e, actions: t, helpers: n }) {
+function ECe({ 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);
@@ -46573,34 +46561,34 @@ function CCe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entry-marks": "",
- children: [OF(e).map((e, t) => /* @__PURE__ */ (0, x.jsxs)("a", {
+ children: [TF(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)(yF, { name: e.mark }) : /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(gF, { 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)(rCe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(oCe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: oCe(r)
+ tip: lCe(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/use-entity-online.ts
-var wCe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function TCe(e, t, n) {
+var DCe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function OCe(e, t, n) {
let [r, i] = (0, b.useState)(() => oi(e));
r.author !== e && i(oi(e));
let [a, o] = (0, b.useState)({
@@ -46614,10 +46602,10 @@ function TCe(e, t, n) {
let s = a.author === e ? a.media : "", c = (t) => o({
author: e,
media: t
- }), l = Kr(r, 0), u = mt({
+ }), l = Kr(r, 0), u = ft({
...l,
enabled: t && !!e
- }), d = ft({
+ }), d = ut({
queryKey: qr,
queryFn: ({ signal: e }) => Jr(e),
enabled: t
@@ -46651,7 +46639,7 @@ function TCe(e, t, n) {
providers: (y.providers || []).map((e) => [e, x.get(e) || e]),
tags: S.map(([e, t]) => ({
k: e,
- label: Zs(e),
+ label: Xs(e),
n: t,
selected: r.tags.includes(e),
cat: gi(f?.groups || [], e)
@@ -46679,7 +46667,7 @@ function TCe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => E({
sort: Ur,
- seed: wCe()
+ seed: DCe()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => E({ status: e }),
@@ -46697,8 +46685,8 @@ function TCe(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function ECe(e) {
- let { kind: t, name: n } = e, r = ft(sP(t, n)), i = !!r.data?.error, a = r.data?.redirect, { actions: o } = e;
+function kCe(e) {
+ let { kind: t, name: n } = e, r = ut(iP(t, n)), i = !!r.data?.error, a = r.data?.redirect, { actions: o } = e;
return (0, b.useLayoutEffect)(() => {
i && o.missing();
}, [o, i]), (0, b.useLayoutEffect)(() => {
@@ -46713,17 +46701,17 @@ function ECe(e) {
o,
a?.kind,
a?.name
- ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(qj, {
+ ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(Hj, {
message: z(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || a ? null : /* @__PURE__ */ (0, x.jsx)(kCe, {
+ }) : !r.data || i || a ? null : /* @__PURE__ */ (0, x.jsx)(MCe, {
...e,
entity: r.data
});
}
-function NF(e) {
+function AF(e) {
let [t, n] = (0, b.useState)({
key: e,
n: 1
@@ -46735,22 +46723,22 @@ function NF(e) {
};
return n(r), r.n;
}
-var DCe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function OCe(e, t) {
+var ACe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function jCe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function kCe(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 = mt(cP(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 || lP(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+function MCe(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(aP(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 || oP(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
- } : eP, [y, S] = (0, b.useState)("people"), C = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, b.useState)(C);
+ } : ZN, [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 = TCe(g, E === "online", {
+ let E = l && y === "people" && u.length ? "people" : v.media, D = OCe(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 = oP(e), M = ft(j), N = NF(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 = rP(e), M = ut(j), N = AF(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]);
@@ -46760,26 +46748,26 @@ function kCe(e) {
}, [e.layout, P]), F = {
jav: e.jav,
seed: e.seed
- }, te = (0, b.useCallback)((e, r) => aP(t, n, i, F, e, r), [N]), [ne, re] = (0, b.useState)({}), ie = v.set, ae = ne[ie] || "", oe = mt({
- ...cP(t, n, ie, ae),
+ }, te = (0, b.useCallback)((e, r) => nP(t, n, i, F, e, r), [N]), [ne, re] = (0, b.useState)({}), ie = v.set, ae = ne[ie] || "", oe = ft({
+ ...aP(t, n, ie, ae),
enabled: E === "photos"
- }), se = oe.data?.pages[0], ce = NF(JSON.stringify(nP(t, n, ie, ae))), le = (0, b.useMemo)(() => {
+ }), se = oe.data?.pages[0], ce = AF(JSON.stringify($N(t, n, ie, ae))), le = (0, b.useMemo)(() => {
let e = oe.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: ce,
- codeSets: t.id ? [] : lP(t),
+ codeSets: t.id ? [] : oP(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
- }, [oe.data, ce]), ue = oe.refetch, de = oe.fetchNextPage, fe = ft({
- ...ZN(d, o.feedRowHtml),
+ }, [oe.data, ce]), ue = oe.refetch, de = oe.fetchNextPage, fe = ut({
+ ...JN(d, o.feedRowHtml),
enabled: !!d
}), pe = (0, b.useRef)(e.feedRevision);
(0, b.useEffect)(() => {
- pe.current !== e.feedRevision && (pe.current = e.feedRevision, H.invalidateQueries({ queryKey: XN(d) }));
+ pe.current !== e.feedRevision && (pe.current = e.feedRevision, V.invalidateQueries({ queryKey: qN(d) }));
}, [d, e.feedRevision]);
let me = !!M.data;
(0, b.useEffect)(() => {
@@ -46798,13 +46786,13 @@ function kCe(e) {
he.current = !1;
}, []);
let ge = (0, b.useCallback)(async () => {
- await H.invalidateQueries({ queryKey: tP(t, n) }), await H.invalidateQueries({ queryKey: [
+ await V.invalidateQueries({ queryKey: QN(t, n) }), await V.invalidateQueries({ queryKey: [
"entity-items",
t,
n
] });
- }, [t, n]), _e = pt({
- mutationFn: (e) => yt("/api/entity-alias", {
+ }, [t, n]), _e = dt({
+ mutationFn: (e) => _t("/api/entity-alias", {
method: "POST",
body: JSON.stringify({
kind: t,
@@ -46813,15 +46801,15 @@ function kCe(e) {
})
}),
onSuccess: () => ge()
- }), ve = pt({ mutationFn: ({ from: e, to: n }) => yt("/api/entity-name", {
+ }), ve = dt({ mutationFn: ({ from: e, to: n }) => _t("/api/entity-name", {
method: "POST",
body: JSON.stringify({
kind: t,
name: e,
canonical: n
})
- }) }), ye = pt({
- mutationFn: (e) => yt("/api/feeds/source", {
+ }) }), ye = dt({
+ mutationFn: (e) => _t("/api/feeds/source", {
method: "POST",
body: JSON.stringify({
action: "follow",
@@ -46829,14 +46817,14 @@ function kCe(e) {
enabled: e
})
}),
- onSuccess: (e, r) => H.setQueryData(tP(t, n), (e) => e && {
+ onSuccess: (e, r) => V.setQueryData(QN(t, n), (e) => e && {
...e,
feed: {
...e.feed,
following: r
}
})
- }), be = pt({ mutationFn: (e) => yt("/api/follow/creator", {
+ }), be = dt({ mutationFn: (e) => _t("/api/follow/creator", {
method: "POST",
body: JSON.stringify({
entity_id: d,
@@ -46846,7 +46834,7 @@ function kCe(e) {
openEntity: s.openEntity,
chooseName: (e) => {
let n = r.canonical_name;
- e !== n && cs({
+ e !== n && os({
title: "更改统称",
body: `「${e}」将成为这条实体的规范名,「${n}」留作别名。作品上的署名、搜索和标签都会跟着改写。`,
confirmLabel: "更改统称",
@@ -46880,13 +46868,13 @@ function kCe(e) {
await new Promise((e) => {
setTimeout(e, 3e3);
});
- let e = await yt("/api/feeds/check").catch(() => null);
+ let e = await _t("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- he.current && await H.invalidateQueries({ queryKey: XN(d) });
+ he.current && await V.invalidateQueries({ queryKey: qN(d) });
})();
},
- feedAction: QN,
+ feedAction: YN,
avatarPicked: () => {
s.avatarChanged(), ge().then(() => {
he.current && A((e) => e + 1);
@@ -46934,19 +46922,19 @@ function kCe(e) {
(e !== E || v.set) && (S(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : eP));
+ } : ZN));
},
setState: (e) => s.route({
...i,
state: e
- }, eP),
+ }, ZN),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (E !== "photos") {
- let r = s.reshuffleVideos(), a = oP({
+ let r = s.reshuffleVideos(), a = rP({
kind: t,
name: n,
filters: {
@@ -46957,10 +46945,10 @@ function kCe(e) {
seed: r,
revision: e.revision
});
- await H.fetchQuery(a).catch(() => null);
+ await V.fetchQuery(a).catch(() => null);
return;
}
- let r = DCe(), a = await H.fetchInfiniteQuery(cP(t, n, ie, r)).catch(() => null);
+ let r = ACe(), a = await V.fetchInfiniteQuery(aP(t, n, ie, r)).catch(() => null);
he.current && a?.pages[0] && !a.pages[0].error && re((e) => ({
...e,
[ie]: r
@@ -46993,9 +46981,9 @@ function kCe(e) {
})
}), [o, ue]), Te = (r.tags || []).map((e) => ({
k: e.k,
- label: Zs(e.k),
+ label: Xs(e.k),
n: e.n,
- selected: mxe(i.tag, e.k)
+ selected: _xe(i.tag, e.k)
})), Ee = [
u.length,
!_,
@@ -47030,14 +47018,14 @@ function kCe(e) {
creator: "",
studio: "",
owner: ""
- }, eP), Pe = "", Fe = !1;
+ }, ZN), Pe = "", Fe = !1;
if (E === "people") Pe = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (E === "online") Fe = D.busy, Pe = `在线 · ${(D.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;
else if (E === "videos") {
Fe = !M.data;
- let e = rP(i.tag).length;
+ let e = eP(i.tag).length;
Pe = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : OCe(se, lP(se).length) : Fe = oe.isPending;
+ } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : jCe(se, oP(se).length) : Fe = oe.isPending;
let Ie = (0, b.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -47054,7 +47042,7 @@ function kCe(e) {
u
]);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(mCe, {
+ /* @__PURE__ */ (0, x.jsx)(_Ce, {
kind: t,
name: n,
entity: r,
@@ -47064,7 +47052,7 @@ function kCe(e) {
actions: xe,
helpers: Se
}, k),
- (0, ht.createPortal)(/* @__PURE__ */ (0, x.jsx)(Dge, {
+ (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(jge, {
kind: t,
name: n,
view: E,
@@ -47081,7 +47069,7 @@ function kCe(e) {
actions: Ce,
helpers: we
}), c.filter),
- (0, ht.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(ySe, {
+ (0, pt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(SSe, {
view: D.view,
media: D.media,
result: D.result,
@@ -47094,15 +47082,15 @@ function kCe(e) {
helpers: e.follow.helpers,
actions: e.follow.actions,
canLoadMore: e.canLoadMore
- }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(qj, {
+ }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(Hj, {
message: z(M.error),
onRetry: () => {
M.refetch();
}
- }) : Me ? /* @__PURE__ */ (0, x.jsx)(ACe, {
+ }) : Me ? /* @__PURE__ */ (0, x.jsx)(NCe, {
filtered: je,
onShowAll: Ne
- }) : /* @__PURE__ */ (0, x.jsx)(qxe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Xxe, {
kind: t,
name: n,
view: E,
@@ -47126,9 +47114,9 @@ function kCe(e) {
}), c.body)
] });
}
-function ACe({ filtered: e, onShowAll: t }) {
- return e ? /* @__PURE__ */ (0, x.jsx)(lO, {
- icon: yj("search"),
+function NCe({ filtered: e, onShowAll: t }) {
+ return e ? /* @__PURE__ */ (0, x.jsx)(nO, {
+ icon: mj("search"),
title: "没有符合条件的视频",
actions: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -47136,15 +47124,15 @@ function ACe({ filtered: e, onShowAll: t }) {
children: "查看全部视频"
}),
children: "清除筛选后查看名下全部视频。"
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
- icon: yj("film"),
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
+ icon: mj("film"),
title: "还没有视频",
children: "署上这个名字的视频入库后会显示在这里。"
});
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function PF({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function jF({ 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
@@ -47171,30 +47159,30 @@ function PF({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var jCe = yj("play"), MCe = yj("file-stack"), NCe = cO({
+var PCe = mj("play"), FCe = mj("file-stack"), ICe = tO({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), FF = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", IF = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", LF = "font-mono text-caption-1-regular leading-5 text-text-secondary", RF = () => {
- H.invalidateQueries({
- queryKey: eM,
+}), MF = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", NF = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", PF = "font-mono text-caption-1-regular leading-5 text-text-secondary", FF = () => {
+ V.invalidateQueries({
+ queryKey: Yj,
exact: !0
- }), H.invalidateQueries({
- queryKey: IM,
+ }), V.invalidateQueries({
+ queryKey: MM,
exact: !0
});
};
-function PCe(e) {
+function LCe(e) {
return e.identical ? /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${IF} text-(--keep)`,
+ className: `${NF} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${IF} text-text-secondary`,
+ className: `${NF} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function FCe({ file: e, prefix: t, openItem: n }) {
- let r = () => n(e.id), i = Xt[e.location] || e.location || e.drive;
+function RCe({ file: e, prefix: t, openItem: n }) {
+ let r = () => n(e.id), i = Jt[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",
children: [
@@ -47203,7 +47191,7 @@ function FCe({ 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)(jCe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(PCe, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, x.jsx)("img", {
@@ -47223,58 +47211,58 @@ function FCe({ 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: O_e(e.name, t)
+ children: M_e(e.name, t)
}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex flex-none gap-1",
children: [e.is_largest ? /* @__PURE__ */ (0, x.jsx)("i", {
- className: `${FF} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${MF} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, e.is_longest ? /* @__PURE__ */ (0, x.jsx)("i", {
- className: `${FF} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${MF} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
- className: `${LF} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, x.jsx)(kO, { mark: qa[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ className: `${PF} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, x.jsx)(SO, { mark: Ka[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {
title: i,
className: "min-w-0 truncate",
children: i
})]
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: LF,
- children: Wt(e.size || 0)
+ className: PF,
+ children: Ht(e.size || 0)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: LF,
- children: Ht(e.duration)
+ className: PF,
+ children: Bt(e.duration)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: `${LF} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
+ className: `${PF} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
children: e.path ?? ""
})
]
});
}
-function ICe({ openItem: e, toast: t, failure: n }) {
- let r = ft({
- queryKey: eM,
- queryFn: ({ signal: e }) => tM(e)
- }), i = ft({
+function zCe({ openItem: e, toast: t, failure: n }) {
+ let r = ut({
+ queryKey: Yj,
+ queryFn: ({ signal: e }) => Xj(e)
+ }), i = ut({
queryKey: fn,
queryFn: ({ signal: e }) => pn(e)
- }), [a, o] = (0, b.useState)(""), s = pt({
- mutationFn: (e) => I_e(e, "dispose"),
+ }), [a, o] = (0, b.useState)(""), s = dt({
+ mutationFn: (e) => B_e(e, "dispose"),
onSuccess: (e, r) => {
- RF(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
+ FF(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
try {
- await I_e(r, "restore");
+ await B_e(r, "restore");
} catch (e) {
n("撤销移入回收站", e);
} finally {
- RF();
+ FF();
}
} });
},
@@ -47288,12 +47276,12 @@ function ICe({ openItem: e, toast: t, failure: n }) {
children: r.error ? z(r.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let l = c.groups ?? [], u = C_e(i.data), d = ({ groups: e, keep: t, key: n }) => {
+ let l = c.groups ?? [], u = D_e(i.data), d = ({ groups: e, keep: t, key: n }) => {
if (s.isPending) return;
- let r = P_e(e, t);
- r.length && cs({
+ let r = R_e(e, t);
+ r.length && os({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${A_e[t] ?? A_e.largest}。文件共 ${Wt(F_e(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${P_e[t] ?? P_e.largest}。文件共 ${Ht(z_e(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (o(n), s.mutateAsync(r))
});
@@ -47301,15 +47289,15 @@ function ICe({ 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)(PF, {
+ /* @__PURE__ */ (0, x.jsx)(jF, {
label: "重复内容",
figure: `${Number(c.total || 0).toLocaleString()} 组`,
- detail: `${Number(c.files || 0).toLocaleString()} 个文件 · 可回收 ${Wt(c.reclaimable)}`
+ detail: `${Number(c.files || 0).toLocaleString()} 个文件 · 可回收 ${Ht(c.reclaimable)}`
}),
- l.length ? /* @__PURE__ */ (0, x.jsxs)(ome, {
+ l.length ? /* @__PURE__ */ (0, x.jsxs)(fme, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, x.jsx)(GO, {
+ /* @__PURE__ */ (0, x.jsx)(RO, {
busy: a === "all:largest",
onPress: () => d({
groups: l,
@@ -47318,7 +47306,7 @@ function ICe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, x.jsx)(GO, {
+ /* @__PURE__ */ (0, x.jsx)(RO, {
busy: a === "all:longest",
onPress: () => d({
groups: l,
@@ -47327,16 +47315,16 @@ function ICe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最长"
}),
- N_e(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(GO, {
+ L_e(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(RO, {
busy: a === `all:${e}`,
onPress: () => d({
groups: l,
keep: e,
key: `all:${e}`
}),
- children: /* @__PURE__ */ (0, x.jsx)(IO, {
+ children: /* @__PURE__ */ (0, x.jsx)(kO, {
source: e,
- label: `全部优先 ${Xt[e] || e}`
+ label: `全部优先 ${Jt[e] || e}`
})
}, e))
]
@@ -47350,10 +47338,10 @@ function ICe({ openItem: e, toast: t, failure: n }) {
})
}) : null,
l.length ? l.map((t, n) => {
- let r = [t], i = D_e(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
+ let r = [t], i = j_e(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": t.code,
- className: NCe,
+ className: ICe,
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: [
@@ -47363,11 +47351,11 @@ function ICe({ openItem: e, toast: t, failure: n }) {
}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
- children: `${Number(t.count || 0).toLocaleString()} 个 · 可回收 ${Wt(t.reclaimable)}`
+ children: `${Number(t.count || 0).toLocaleString()} 个 · 可回收 ${Ht(t.reclaimable)}`
}),
- PCe(t),
+ LCe(t),
t.cross_drive ? /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${IF} text-text-secondary`,
+ className: `${NF} text-text-secondary`,
children: `跨盘 ${t.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
@@ -47395,7 +47383,7 @@ function ICe({ openItem: e, toast: t, failure: n }) {
}),
children: "留最长"
}),
- M_e(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(G, {
+ I_e(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
...f(a(e)),
@@ -47404,9 +47392,9 @@ function ICe({ openItem: e, toast: t, failure: n }) {
keep: e,
key: a(e)
}),
- children: /* @__PURE__ */ (0, x.jsx)(IO, {
+ children: /* @__PURE__ */ (0, x.jsx)(kO, {
source: e,
- label: `留 ${Xt[e] || e}`
+ label: `留 ${Jt[e] || e}`
})
}, e)),
/* @__PURE__ */ (0, x.jsx)(G, {
@@ -47423,14 +47411,14 @@ function ICe({ openItem: e, toast: t, failure: n }) {
]
})
]
- }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(FCe, {
+ }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(RCe, {
file: t,
prefix: i,
openItem: e
}, t.id)) })]
}, `${t.code}-${n}`);
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
- icon: MCe,
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
+ icon: FCe,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
}),
@@ -47443,23 +47431,23 @@ function ICe({ openItem: e, toast: t, failure: n }) {
}
//#endregion
//#region src/react/diagnostics/diagnostics.ts
-var zF = ["diagnostics"], BF = (e) => B("/api/diagnostics", e);
-async function LCe(e) {
- await H.fetchQuery({
- queryKey: zF,
- queryFn: () => BF(e),
+var IF = ["diagnostics"], LF = (e) => tn("/api/diagnostics", e);
+async function BCe(e) {
+ await V.fetchQuery({
+ queryKey: IF,
+ queryFn: () => LF(e),
staleTime: 1e4
});
}
//#endregion
//#region src/react/diagnostics/diagnostics-page.tsx
-var VF = {
+var RF = {
ok: "正常",
warning: "需检查",
failed: "需处理",
unknown: "未取得",
disabled: "未配置"
-}, RCe = [
+}, VCe = [
["媒体库与挂载", ["media_mounts", "data_root"]],
["数据库与迁移", ["database", "schema"]],
["工具", ["ffmpeg"]],
@@ -47470,8 +47458,8 @@ var VF = {
"version"
]],
["后台任务", ["tasks"]]
-], HF = (e) => new Date(e).toLocaleString();
-function zCe({ name: e, check: t, navigate: n, configure: r }) {
+], zF = (e) => new Date(e).toLocaleString();
+function HCe({ 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",
@@ -47483,7 +47471,7 @@ function zCe({ 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: VF[t.status] ?? "未取得"
+ children: RF[t.status] ?? "未取得"
})]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
@@ -47503,14 +47491,14 @@ function zCe({ name: e, check: t, navigate: n, configure: r }) {
]
});
}
-function BCe({ group: e, openItem: t, receipt: n }) {
- let r = mO(), i = mN(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
- return /* @__PURE__ */ (0, x.jsx)(OO, {
+function UCe({ group: e, openItem: t, receipt: n }) {
+ let r = sO(), i = dN(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
+ return /* @__PURE__ */ (0, x.jsx)(xO, {
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)(bO, { children: [
+ }) : e.items.length ? /* @__PURE__ */ (0, x.jsxs)(pO, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2",
children: [e.truncated ? /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -47545,20 +47533,20 @@ function BCe({ group: e, openItem: t, receipt: n }) {
}) }, e.id))
})
})
- ] }) : /* @__PURE__ */ (0, x.jsx)(lO, {
- icon: Mde,
+ ] }) : /* @__PURE__ */ (0, x.jsx)(nO, {
+ icon: Rde,
title: "清单为空",
shell: "plain",
children: "没有需要处理的作品。"
})
});
}
-function VCe(e) {
- let t = ft({
- queryKey: zF,
- queryFn: ({ signal: e }) => BF(e),
+function WCe(e) {
+ let t = ut({
+ queryKey: IF,
+ queryFn: ({ signal: e }) => LF(e),
staleTime: 1e4
- }), n = mO(), [r, i] = (0, b.useState)(""), a = () => void n.run("refresh", async () => {
+ }), n = sO(), [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;
@@ -47579,27 +47567,27 @@ function VCe(e) {
tone: "error",
children: r
}) : null,
- /* @__PURE__ */ (0, x.jsx)(vO, {
+ /* @__PURE__ */ (0, x.jsx)(dO, {
title: "库健康",
- children: /* @__PURE__ */ (0, x.jsxs)(bO, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {
+ children: /* @__PURE__ */ (0, x.jsxs)(pO, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ["处理记录 · ", HF(o.library.issue_at)]
- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(BCe, {
+ children: ["处理记录 · ", zF(o.library.issue_at)]
+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(UCe, {
group: n,
...e
}, t))] })
}),
- RCe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(vO, {
+ VCe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(dO, {
title: t,
- children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(zCe, {
+ children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(HCe, {
name: t,
check: o.checks[t],
...e
}, t) : null)
}, t)),
- /* @__PURE__ */ (0, x.jsx)(vO, {
+ /* @__PURE__ */ (0, x.jsx)(dO, {
title: "来源会话",
- children: /* @__PURE__ */ (0, x.jsxs)(bO, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: /* @__PURE__ */ (0, x.jsxs)(pO, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
/* @__PURE__ */ (0, x.jsxs)("h3", {
@@ -47607,19 +47595,19 @@ function VCe(e) {
children: [
e.label,
" · ",
- VF[e.status] ?? "未取得"
+ RF[e.status] ?? "未取得"
]
}),
- /* @__PURE__ */ (0, x.jsx)(zO, {
+ /* @__PURE__ */ (0, x.jsx)(MO, {
text: e.reason,
className: "text-body-regular text-text-primary"
}),
- /* @__PURE__ */ (0, x.jsxs)(EO, { children: [/* @__PURE__ */ (0, x.jsx)(DO, {
+ /* @__PURE__ */ (0, x.jsxs)(yO, { children: [/* @__PURE__ */ (0, x.jsx)(bO, {
term: "上次解析成功",
- children: e.last_success_at ? HF(e.last_success_at) : "未取得"
- }), /* @__PURE__ */ (0, x.jsx)(DO, {
+ children: e.last_success_at ? zF(e.last_success_at) : "未取得"
+ }), /* @__PURE__ */ (0, x.jsx)(bO, {
term: "冷却截止",
- children: e.cooldown_until ? HF(e.cooldown_until) : "未在冷却"
+ children: e.cooldown_until ? zF(e.cooldown_until) : "未在冷却"
})] })
]
}, e.source)), /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(G, {
@@ -47647,21 +47635,21 @@ function VCe(e) {
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function HCe({ host: e, revision: t, helpers: n, actions: r }) {
- let i = ft(ZN(null, n.feedRowHtml)), a = (0, b.useRef)(t);
+function GCe({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = ut(JN(null, n.feedRowHtml)), a = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: XN(null) }));
- }, [t]), (0, ht.createPortal)(/* @__PURE__ */ (0, x.jsx)(vF, {
+ a.current !== t && (a.current = t, V.invalidateQueries({ queryKey: qN(null) }));
+ }, [t]), (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(hF, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: QN,
+ act: YN,
settled: r.settled
}), e);
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function UF({ provider: e, label: t }) {
+function BF({ provider: e, label: t }) {
let n = Lr(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,
@@ -47671,9 +47659,9 @@ function UF({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, x.jsx)(Gy, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, x.jsx)(By, { children: t }) : null] });
}
-function WF({ group: e, name: t }) {
+function VF({ group: e, name: t }) {
let { src: n, fallback: r } = tr(e), [i, a] = (0, b.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, x.jsx)("img", {
src: o,
@@ -47690,15 +47678,15 @@ function WF({ group: e, name: t }) {
children: er(t)
});
}
-function GF({ source: e }) {
+function HF({ source: e }) {
let t = Kn(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, x.jsx)(aO, {
+ return /* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: t,
children: Gn(e)
});
}
-function KF({ source: e }) {
+function UF({ source: e }) {
return /* @__PURE__ */ (0, x.jsx)("a", {
href: e.url,
target: "_blank",
@@ -47708,7 +47696,7 @@ function KF({ source: e }) {
children: e.label
});
}
-function qF({ text: e, prefix: t = "", tone: n = "error" }) {
+function WF({ 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 = Jn(e);
(0, b.useLayoutEffect)(() => {
let e = r.current;
@@ -47739,11 +47727,11 @@ function qF({ text: e, prefix: t = "", tone: n = "error" }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var JF = nO(JM, YM, "text-body-2-medium"), UCe = "粘贴来源链接,或输入创作者名、id…", WCe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", GCe = "识别中…", KCe = "站内没有查到来源", YF = (e, t) => `${e}:${t.url}`;
-function qCe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var GF = YD(WM, GM, "text-body-2-medium"), KCe = "粘贴来源链接,或输入创作者名、id…", qCe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", JCe = "识别中…", YCe = "站内没有查到来源", KF = (e, t) => `${e}:${t.url}`;
+function XCe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, b.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, x.jsxs)(mA, {
+ }, [t, r]), /* @__PURE__ */ (0, x.jsxs)(lA, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -47755,17 +47743,17 @@ function qCe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: nO(qM, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: YD(UM, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, x.jsx)(uO, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, x.jsx)(rO, { 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 ? nO(JF, "bg-background-secondary-default") : JF,
+ className: t === r ? YD(GF, "bg-background-secondary-default") : GF,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -47785,7 +47773,7 @@ function qCe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function JCe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function ZCe({ 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);
@@ -47793,20 +47781,20 @@ function JCe({ 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: Nde,
+ leadingIcon: zde,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, x.jsx)(mA, {
+ }), /* @__PURE__ */ (0, x.jsx)(lA, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: qM,
- children: /* @__PURE__ */ (0, x.jsxs)(TA, {
+ className: UM,
+ children: /* @__PURE__ */ (0, x.jsxs)(bA, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -47822,16 +47810,16 @@ function JCe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, x.jsx)(SO, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, x.jsx)(hO, { 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)(kN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(EN, {
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)(UF, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, x.jsx)(BF, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
@@ -47847,7 +47835,7 @@ function JCe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function YCe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function QCe({ 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,
@@ -47855,7 +47843,7 @@ function YCe({ 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: cO({
+ className: tO({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -47866,15 +47854,15 @@ function YCe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = YF(t, e);
- return /* @__PURE__ */ (0, x.jsx)(kN, {
+ let n = KF(t, e);
+ return /* @__PURE__ */ (0, x.jsx)(EN, {
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)(UF, { provider: e.provider }),
+ /* @__PURE__ */ (0, x.jsx)(BF, { provider: e.provider }),
/* @__PURE__ */ (0, x.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -47890,22 +47878,22 @@ function YCe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, x.jsx)(SO, { children: KCe }),
+ }) : /* @__PURE__ */ (0, x.jsx)(hO, { children: YCe }),
(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)(TO, {
+ }), /* @__PURE__ */ (0, x.jsx)(vO, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, x.jsx)(SO, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, x.jsx)(hO, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function XCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function $Ce({ 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();
@@ -47916,19 +47904,19 @@ function XCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = setTimeout(() => u(e), 250);
return () => clearTimeout(t);
}, [a]);
- let k = ft({
+ let k = ut({
queryKey: Fn(l),
- queryFn: ({ signal: e }) => pr(l, e),
+ queryFn: ({ signal: e }) => fr(l, e),
enabled: l.length > 0 && d
}), A = (0, b.useMemo)(() => (k.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [k.data]), { job: j, running: M, outcome: N, start: P, dismiss: ee } = TN({
+ }))), [k.data]), { job: j, running: M, outcome: N, start: P, dismiss: ee } = SN({
queryKey: Nn,
- queryFn: ({ signal: e }) => fr(e),
- start: (e) => hr([e]),
+ queryFn: ({ signal: e }) => dr(e),
+ start: (e) => mr([e]),
onStarted: () => w(/* @__PURE__ */ new Set()),
onError: (e) => E(z(e)),
onFinish: (e) => {
@@ -47957,14 +47945,14 @@ function XCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, ae = N?.results || [], oe = ae.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: YF(t, e)
- })).filter((e) => !C.has(e.key))), se = pt({
+ key: KF(t, e)
+ })).filter((e) => !C.has(e.key))), se = dt({
mutationFn: async (e) => {
let t = [], n = [];
O(0);
for (let r of e) {
try {
- let e = await vr(r.candidate);
+ let e = await _r(r.candidate);
n.push(e.source);
} catch (e) {
t.push(`${r.candidate.label}:${z(e)}`);
@@ -47972,7 +47960,7 @@ function XCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
O((e) => e + 1);
}
if (n.length) try {
- await mr(n);
+ await pr(n);
} catch (e) {
t.push(z(e));
}
@@ -47982,12 +47970,12 @@ function XCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
};
},
onSuccess: (e) => {
- Nr(), e.failures.length ? E(e.failures.join(";")) : (E(""), ee(), r(`已添加 ${e.sources.length} 个关注来源`));
+ jr(), e.failures.length ? E(e.failures.join(";")) : (E(""), ee(), r(`已添加 ${e.sources.length} 个关注来源`));
},
onError: (e) => E(z(e))
}), ce = e.suggestions || [], le = !s.includes("/");
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: cO({
+ className: tO({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -48007,16 +47995,16 @@ function XCe({ 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)(BN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(LN, {
"aria-label": "来源链接、名字或 id",
- placeholder: UCe,
+ placeholder: KCe,
value: a,
- leadingIcon: ND,
+ leadingIcon: ED,
enterKeyHint: "search",
isDisabled: n,
onChange: o,
onKeyDown: ie
- }), ne ? /* @__PURE__ */ (0, x.jsx)(qCe, {
+ }), ne ? /* @__PURE__ */ (0, x.jsx)(XCe, {
field: _,
menu: v,
options: A,
@@ -48026,7 +48014,7 @@ function XCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: re
}) : null]
}),
- /* @__PURE__ */ (0, x.jsx)(JCe, {
+ /* @__PURE__ */ (0, x.jsx)(ZCe, {
credentials: t,
hidden: y,
onHidden: S,
@@ -48044,9 +48032,9 @@ function XCe({ 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)(vN, {
+ children: [M || P.isPending ? /* @__PURE__ */ (0, x.jsx)(hN, {
embedded: !0,
- label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : le ? WCe : GCe),
+ label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : le ? qCe : JCe),
value: j?.checked,
total: j?.total
}) : null, T ? /* @__PURE__ */ (0, x.jsx)(K, {
@@ -48058,8 +48046,8 @@ function XCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
ae.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(wO, { children: "查找结果" }),
- ae.map((e, t) => /* @__PURE__ */ (0, x.jsx)(YCe, {
+ /* @__PURE__ */ (0, x.jsx)(_O, { children: "查找结果" }),
+ ae.map((e, t) => /* @__PURE__ */ (0, x.jsx)(QCe, {
row: e,
at: t,
hidden: y,
@@ -48114,16 +48102,16 @@ function XCe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var ZCe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, XF = (e) => e.alias;
-function QCe(e, t, n) {
+var ewe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, qF = (e) => e.alias;
+function twe(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 ZF({ sources: e, name: t, canonicalKey: n }) {
+function JF({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(WF, {
- group: QCe(e, t, n),
+ children: [/* @__PURE__ */ (0, x.jsx)(VF, {
+ group: twe(e, t, n),
name: t
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-body-medium",
@@ -48131,15 +48119,15 @@ function ZF({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function $Ce({ 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 = pt({
+function nwe({ 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;
for (let n of e) {
try {
- await yr(n.canonical, n.alias);
+ await vr(n.canonical, n.alias);
} catch (n) {
- throw t && Nr(), Error(`${z(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && jr(), Error(`${z(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -48149,31 +48137,31 @@ function $Ce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- c(""), o(/* @__PURE__ */ new Set()), Nr(), i(`已合并 ${e.done} 组创作者别名`);
+ c(""), o(/* @__PURE__ */ new Set()), jr(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => c(z(e))
- }), m = pt({
- mutationFn: (e) => yr(e.canonical, e.alias),
+ }), m = dt({
+ mutationFn: (e) => vr(e.canonical, e.alias),
onSuccess: () => {
- c(""), u(""), f(""), Nr(), i("已保存创作者别名");
+ c(""), u(""), f(""), jr(), i("已保存创作者别名");
},
onError: (e) => c(z(e))
- }), h = pt({
- mutationFn: (e) => br(e),
+ }), h = dt({
+ mutationFn: (e) => yr(e),
onSuccess: () => {
- c(""), Nr(), i("已移除创作者别名");
+ c(""), jr(), i("已移除创作者别名");
},
onError: (e) => c(z(e))
}), g = (e, t) => {
- e.length && cs({
+ e.length && os({
title: t ? "合并全部创作者别名" : "合并所选创作者别名",
body: `将合并以下 ${e.length} 组创作者:${e.map((e) => `「${e.alias}」归入「${e.canonical}」`).join(";")}。`,
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, _ = t.filter((e) => a.has(XF(e))), v = t.length > 0 && _.length === t.length, y = q(p.isPending);
+ }, _ = t.filter((e) => a.has(qF(e))), v = t.length > 0 && _.length === t.length, y = q(p.isPending);
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: cO({
+ className: tO({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -48184,10 +48172,10 @@ function $Ce({ 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)(wO, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(_O, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -48195,7 +48183,7 @@ function $Ce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -48216,13 +48204,13 @@ function $Ce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, x.jsx)(CO, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, x.jsx)(gO, { 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)(wO, { children: "待合并" }),
+ /* @__PURE__ */ (0, x.jsx)(_O, { children: "待合并" }),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -48244,44 +48232,44 @@ function $Ce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsxs)(AN, {
+ }), /* @__PURE__ */ (0, x.jsx)(ON, { children: /* @__PURE__ */ (0, x.jsxs)(DN, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(YA, { children: [
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(WA, { children: [
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "select",
- children: /* @__PURE__ */ (0, x.jsx)(kN, {
+ children: /* @__PURE__ */ (0, x.jsx)(EN, {
slot: null,
isSelected: v,
isIndeterminate: _.length > 0 && !v,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(XF)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(qF)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, x.jsx)(XA, {
+ /* @__PURE__ */ (0, x.jsx)(GA, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(QA, { children: t.map((e) => {
- let t = XF(e);
- return /* @__PURE__ */ (0, x.jsxs)(tj, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(qA, { children: t.map((e) => {
+ let t = qF(e);
+ return /* @__PURE__ */ (0, x.jsxs)(XA, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)(kN, {
+ /* @__PURE__ */ (0, x.jsx)(QA, { children: /* @__PURE__ */ (0, x.jsx)(EN, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -48290,16 +48278,16 @@ function $Ce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)(ZF, {
+ /* @__PURE__ */ (0, x.jsx)(QA, { children: /* @__PURE__ */ (0, x.jsx)(JF, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, x.jsx)(rj, { children: e.alias }),
- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ /* @__PURE__ */ (0, x.jsx)(QA, { children: e.alias }),
+ /* @__PURE__ */ (0, x.jsx)(QA, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(QA, { children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
disabled: r,
@@ -48316,27 +48304,27 @@ function $Ce({ 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)(wO, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(_O, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, x.jsx)(jN, { children: /* @__PURE__ */ (0, x.jsxs)(AN, {
+ }), e.length ? /* @__PURE__ */ (0, x.jsx)(ON, { children: /* @__PURE__ */ (0, x.jsxs)(DN, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsxs)(YA, { children: [/* @__PURE__ */ (0, x.jsx)(XA, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(WA, { children: [/* @__PURE__ */ (0, x.jsx)(GA, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, x.jsx)(XA, {
+ }), /* @__PURE__ */ (0, x.jsx)(GA, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, x.jsx)(QA, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(tj, {
+ })] }), /* @__PURE__ */ (0, x.jsx)(qA, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(XA, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)(ZF, {
+ children: [/* @__PURE__ */ (0, x.jsx)(QA, { children: /* @__PURE__ */ (0, x.jsx)(JF, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, x.jsx)(rj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, x.jsx)(QA, { 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",
@@ -48344,13 +48332,13 @@ function $Ce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: wD,
+ leadingIcon: _D,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...q(h.isPending),
- onClick: () => void cs({
+ onClick: () => void os({
title: "移除创作者别名",
- body: ZCe(e.name),
+ body: ewe(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => h.mutateAsync(e.name)
})
@@ -48358,9 +48346,9 @@ function $Ce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, x.jsx)(lO, {
+ }) }) : /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: Jde,
+ icon: efe,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -48370,7 +48358,7 @@ function $Ce({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function QF() {
+function YF() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -48383,24 +48371,24 @@ function QF() {
group: (e) => e
};
}
-function $F(e, t) {
+function XF(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function eI(e, t) {
+function ZF(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: $F(n, t[e])
+ [e]: XF(n, t[e])
}));
};
}
-function tI(e) {
+function QF(e) {
return e instanceof Function;
}
-function ewe(e) {
+function rwe(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function twe(e, t) {
+function iwe(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -48410,7 +48398,7 @@ function twe(e, t) {
};
return r(e), n;
}
-function nI(e, t, n) {
+function $F(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -48432,21 +48420,21 @@ function nI(e, t, n) {
return i;
};
}
-function rI(e, t, n, r) {
+function eI(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function nwe(e, t, n, r) {
+function awe(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: nI(() => [
+ getContext: $F(() => [
e,
n,
t,
@@ -48458,13 +48446,13 @@ function nwe(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), rI(e.options, "debugCells", "cell.getContext"))
+ }), eI(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function rwe(e, t, n, r) {
+function owe(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -48481,17 +48469,17 @@ function rwe(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: nI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], rI(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: nI(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: $F(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], eI(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: $F(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, rI(e.options, "debugColumns", "column.getLeafColumns"))
+ }, eI(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var iI = "debugHeaders";
-function aI(e, t, n) {
+var tI = "debugHeaders";
+function nI(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -48519,42 +48507,42 @@ function aI(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var iwe = { createTable: (e) => {
- e.getHeaderGroups = nI(() => [
+var swe = { createTable: (e) => {
+ e.getHeaderGroups = $F(() => [
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 oI(t, [
+ return rI(t, [
...a,
...s,
...o
], e);
- }, rI(e.options, iI, "getHeaderGroups")), e.getCenterHeaderGroups = nI(() => [
+ }, eI(e.options, tI, "getHeaderGroups")), e.getCenterHeaderGroups = $F(() => [
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))), oI(t, n, e, "center")), rI(e.options, iI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = nI(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), rI(t, n, e, "center")), eI(e.options, tI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = $F(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => oI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), rI(e.options, iI, "getLeftHeaderGroups")), e.getRightHeaderGroups = nI(() => [
+ ], (t, n, r) => rI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), eI(e.options, tI, "getLeftHeaderGroups")), e.getRightHeaderGroups = $F(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => oI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), rI(e.options, iI, "getRightHeaderGroups")), e.getFooterGroups = nI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), rI(e.options, iI, "getFooterGroups")), e.getLeftFooterGroups = nI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), rI(e.options, iI, "getLeftFooterGroups")), e.getCenterFooterGroups = nI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), rI(e.options, iI, "getCenterFooterGroups")), e.getRightFooterGroups = nI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), rI(e.options, iI, "getRightFooterGroups")), e.getFlatHeaders = nI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rI(e.options, iI, "getFlatHeaders")), e.getLeftFlatHeaders = nI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rI(e.options, iI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = nI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rI(e.options, iI, "getCenterFlatHeaders")), e.getRightFlatHeaders = nI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), rI(e.options, iI, "getRightFlatHeaders")), e.getCenterLeafHeaders = nI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => rI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), eI(e.options, tI, "getRightHeaderGroups")), e.getFooterGroups = $F(() => [e.getHeaderGroups()], (e) => [...e].reverse(), eI(e.options, tI, "getFooterGroups")), e.getLeftFooterGroups = $F(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), eI(e.options, tI, "getLeftFooterGroups")), e.getCenterFooterGroups = $F(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), eI(e.options, tI, "getCenterFooterGroups")), e.getRightFooterGroups = $F(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), eI(e.options, tI, "getRightFooterGroups")), e.getFlatHeaders = $F(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), eI(e.options, tI, "getFlatHeaders")), e.getLeftFlatHeaders = $F(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), eI(e.options, tI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = $F(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), eI(e.options, tI, "getCenterFlatHeaders")), e.getRightFlatHeaders = $F(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), eI(e.options, tI, "getRightFlatHeaders")), e.getCenterLeafHeaders = $F(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), rI(e.options, iI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = nI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), eI(e.options, tI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = $F(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), rI(e.options, iI, "getLeftLeafHeaders")), e.getRightLeafHeaders = nI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), eI(e.options, tI, "getLeftLeafHeaders")), e.getRightLeafHeaders = $F(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), rI(e.options, iI, "getRightLeafHeaders")), e.getLeafHeaders = nI(() => [
+ }), eI(e.options, tI, "getRightLeafHeaders")), e.getLeafHeaders = $F(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -48562,9 +48550,9 @@ var iwe = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), rI(e.options, iI, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), eI(e.options, tI, "getLeafHeaders"));
} };
-function oI(e, t, n, r) {
+function rI(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;
@@ -48582,7 +48570,7 @@ function oI(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 = aI(n, c, {
+ let i = nI(n, c, {
id: [
r,
t,
@@ -48599,7 +48587,7 @@ function oI(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) => aI(n, e, {
+ s(t.map((e, t) => nI(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -48617,7 +48605,7 @@ function oI(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var awe = (e, t, n, r, i, a, o) => {
+var cwe = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -48638,7 +48626,7 @@ var awe = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => twe(s.subRows, (e) => e.subRows),
+ getLeafRows: () => iwe(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -48649,95 +48637,95 @@ var awe = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: nI(() => [e.getAllLeafColumns()], (t) => t.map((t) => nwe(e, s, t, t.id)), rI(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: nI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), rI(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: $F(() => [e.getAllLeafColumns()], (t) => t.map((t) => awe(e, s, t, t.id)), eI(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: $F(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), eI(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;
-}, owe = { createColumn: (e, t) => {
+}, lwe = { 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();
};
-} }, sI = (e, t, n) => {
+} }, iI = (e, t, n) => {
var r, i;
let a = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();
return !!((i = e.getValue(t)) != null && (i = i.toString()) != null && (i = i.toLowerCase()) != null && i.includes(a));
};
-sI.autoRemove = (e) => _I(e);
-var cI = (e, t, n) => {
+iI.autoRemove = (e) => mI(e);
+var aI = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-cI.autoRemove = (e) => _I(e);
-var lI = (e, t, n) => {
+aI.autoRemove = (e) => mI(e);
+var oI = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-lI.autoRemove = (e) => _I(e);
-var uI = (e, t, n) => e.getValue(t)?.includes(n);
-uI.autoRemove = (e) => _I(e);
-var dI = (e, t, n) => !n.some((n) => {
+oI.autoRemove = (e) => mI(e);
+var sI = (e, t, n) => e.getValue(t)?.includes(n);
+sI.autoRemove = (e) => mI(e);
+var cI = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-dI.autoRemove = (e) => _I(e) || !(e != null && e.length);
-var fI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-fI.autoRemove = (e) => _I(e) || !(e != null && e.length);
-var pI = (e, t, n) => e.getValue(t) === n;
-pI.autoRemove = (e) => _I(e);
-var mI = (e, t, n) => e.getValue(t) == n;
-mI.autoRemove = (e) => _I(e);
-var hI = (e, t, n) => {
+cI.autoRemove = (e) => mI(e) || !(e != null && e.length);
+var lI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+lI.autoRemove = (e) => mI(e) || !(e != null && e.length);
+var uI = (e, t, n) => e.getValue(t) === n;
+uI.autoRemove = (e) => mI(e);
+var dI = (e, t, n) => e.getValue(t) == n;
+dI.autoRemove = (e) => mI(e);
+var fI = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-hI.resolveFilterValue = (e) => {
+fI.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];
-}, hI.autoRemove = (e) => _I(e) || _I(e[0]) && _I(e[1]);
-var gI = {
- includesString: sI,
- includesStringSensitive: cI,
- equalsString: lI,
- arrIncludes: uI,
- arrIncludesAll: dI,
- arrIncludesSome: fI,
- equals: pI,
- weakEquals: mI,
- inNumberRange: hI
+}, fI.autoRemove = (e) => mI(e) || mI(e[0]) && mI(e[1]);
+var pI = {
+ includesString: iI,
+ includesStringSensitive: aI,
+ equalsString: oI,
+ arrIncludes: sI,
+ arrIncludesAll: cI,
+ arrIncludesSome: lI,
+ equals: uI,
+ weakEquals: dI,
+ inNumberRange: fI
};
-function _I(e) {
+function mI(e) {
return e == null || e === "";
}
-var swe = {
+var uwe = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: eI("columnFilters", e),
+ onColumnFiltersChange: ZF("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? gI.includesString : typeof n == "number" ? gI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? gI.equals : Array.isArray(n) ? gI.arrIncludes : gI.weakEquals;
- }, e.getFilterFn = () => tI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? gI[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" ? pI.includesString : typeof n == "number" ? pI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? pI.equals : Array.isArray(n) ? pI.arrIncludes : pI.weakEquals;
+ }, e.getFilterFn = () => QF(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? pI[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 = $F(n, i ? i.value : void 0);
- if (vI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = XF(n, i ? i.value : void 0);
+ if (hI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -48752,19 +48740,19 @@ var swe = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => $F(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => XF(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && vI(t.getFilterFn(), e.value, t));
+ return !(t && hI(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 vI(e, t, n) {
+function hI(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var yI = {
+var gI = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -48800,7 +48788,7 @@ var yI = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!ewe(n)) return;
+ if (!rwe(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];
@@ -48808,7 +48796,7 @@ var yI = {
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
-}, cwe = {
+}, dwe = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -48821,7 +48809,7 @@ var yI = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: eI("grouping", e),
+ onGroupingChange: ZF("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -48834,11 +48822,11 @@ var yI = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return yI.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return yI.extent;
+ if (typeof n == "number") return gI.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return gI.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return tI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? yI[e.columnDef.aggregationFn];
+ return QF(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? gI[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -48860,27 +48848,27 @@ var yI = {
};
}
};
-function lwe(e, t, n) {
+function fwe(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 uwe = {
+var pwe = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: eI("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: ZF("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = nI((e) => [TI(t, e)], (t) => t.findIndex((t) => t.id === e.id), rI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => TI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = TI(t, n);
+ e.getIndex = $F((e) => [SI(t, e)], (t) => t.findIndex((t) => t.id === e.id), eI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => SI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = SI(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 = nI(() => [
+ }, e._getOrderColumnsFn = $F(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -48895,18 +48883,18 @@ var uwe = {
}
i = [...i, ...n];
}
- return lwe(i, t, n);
- }, rI(e.options, "debugTable", "_getOrderColumnsFn"));
+ return fwe(i, t, n);
+ }, eI(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, bI = () => ({
+}, _I = () => ({
left: [],
right: []
-}), dwe = {
+}), mwe = {
getInitialState: (e) => ({
- columnPinning: bI(),
+ columnPinning: _I(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: eI("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: ZF("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -48930,75 +48918,75 @@ var uwe = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = nI(() => [
+ e.getCenterVisibleCells = $F(() => [
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));
- }, rI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = nI(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, eI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = $F(() => [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"
- })), rI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = nI(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), eI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = $F(() => [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"
- })), rI(t.options, "debugRows", "getRightVisibleCells"));
+ })), eI(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 ? bI() : e.initialState?.columnPinning ?? bI()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? _I() : e.initialState?.columnPinning ?? _I()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = nI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), rI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = nI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), rI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = nI(() => [
+ }, e.getLeftLeafColumns = $F(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), eI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = $F(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), eI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = $F(() => [
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));
- }, rI(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, eI(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function fwe(e) {
+function hwe(e) {
return e || (typeof document < "u" ? document : null);
}
-var xI = {
+var vI = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, SI = () => ({
+}, yI = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), pwe = {
- getDefaultColumnDef: () => xI,
+}), gwe = {
+ getDefaultColumnDef: () => vI,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: SI(),
+ columnSizingInfo: yI(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: eI("columnSizing", e),
- onColumnSizingInfoChange: eI("columnSizingInfo", e)
+ onColumnSizingChange: ZF("columnSizing", e),
+ onColumnSizingInfoChange: ZF("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? xI.minSize, n ?? e.columnDef.size ?? xI.size), e.columnDef.maxSize ?? xI.maxSize);
- }, e.getStart = nI((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? vI.minSize, n ?? e.columnDef.size ?? vI.size), e.columnDef.maxSize ?? vI.maxSize);
+ }, e.getStart = $F((e) => [
e,
- TI(t, e),
+ SI(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), rI(t.options, "debugColumns", "getStart")), e.getAfter = nI((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), eI(t.options, "debugColumns", "getStart")), e.getAfter = $F((e) => [
e,
- TI(t, e),
+ SI(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), rI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), eI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -49020,8 +49008,8 @@ var xI = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), wI(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 = wI(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), xI(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 = xI(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) => {
@@ -49046,7 +49034,7 @@ var xI = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = fwe(n), m = {
+ }, p = hwe(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -49056,8 +49044,8 @@ var xI = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = mwe() ? { passive: !1 } : !1;
- wI(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 = _we() ? { passive: !1 } : !1;
+ xI(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,
@@ -49073,12 +49061,12 @@ var xI = {
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 ? SI() : e.initialState.columnSizingInfo ?? SI());
+ e.setColumnSizingInfo(t ? yI() : e.initialState.columnSizingInfo ?? yI());
}, 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;
}
-}, CI = null;
-function mwe() {
- if (typeof CI == "boolean") return CI;
+}, bI = null;
+function _we() {
+ if (typeof bI == "boolean") return bI;
let e = !1;
try {
let t = { get passive() {
@@ -49088,17 +49076,17 @@ function mwe() {
} catch {
e = !1;
}
- return CI = e, CI;
+ return bI = e, bI;
}
-function wI(e) {
+function xI(e) {
return e.type === "touchstart";
}
-var hwe = {
+var vwe = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: eI("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: ZF("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -49113,7 +49101,7 @@ var hwe = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = nI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), rI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = nI(() => [
+ e._getAllVisibleCells = $F(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), eI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = $F(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -49121,10 +49109,10 @@ var hwe = {
...e,
...t,
...n
- ], rI(t.options, "debugRows", "getVisibleCells"));
+ ], eI(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => nI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), rI(e.options, "debugColumns", t));
+ let t = (t, n) => $F(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), eI(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) => {
@@ -49137,20 +49125,20 @@ var hwe = {
};
}
};
-function TI(e, t) {
+function SI(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var gwe = { createTable: (e) => {
+var ywe = { 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();
};
-} }, _we = {
+} }, bwe = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: eI("globalFilter", e),
+ onGlobalFilterChange: ZF("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -49162,22 +49150,22 @@ var gwe = { 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 = () => gI.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => pI.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return tI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? gI[t];
+ return QF(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? pI[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, vwe = {
+}, xwe = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: eI("expanded", e),
+ onExpandedChange: ZF("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -49245,18 +49233,18 @@ var gwe = { createTable: (e) => {
};
};
}
-}, EI = 0, DI = 10, OI = () => ({
- pageIndex: EI,
- pageSize: DI
-}), ywe = {
+}, CI = 0, wI = 10, TI = () => ({
+ pageIndex: CI,
+ pageSize: wI
+}), Swe = {
getInitialState: (e) => ({
...e,
pagination: {
- ...OI(),
+ ...TI(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: eI("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: ZF("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -49269,11 +49257,11 @@ var gwe = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => $F(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? OI() : e.initialState.pagination ?? OI());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => XF(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? TI() : e.initialState.pagination ?? TI());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = $F(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = XF(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
@@ -49281,13 +49269,13 @@ var gwe = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? EI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? EI);
+ e.setPageIndex(t ? CI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? CI);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? DI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? DI);
+ e.setPageSize(t ? wI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? wI);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, $F(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, XF(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -49295,28 +49283,28 @@ var gwe = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = $F(t, e.options.pageCount ?? -1);
+ let r = XF(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = nI(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = $F(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, rI(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, eI(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;
}
-}, kI = () => ({
+}, EI = () => ({
top: [],
bottom: []
-}), bwe = {
+}), Cwe = {
getInitialState: (e) => ({
- rowPinning: kI(),
+ rowPinning: EI(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: eI("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: ZF("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -49355,7 +49343,7 @@ var gwe = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? kI() : e.initialState?.rowPinning ?? kI()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? EI() : e.initialState?.rowPinning ?? EI()), 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) => {
@@ -49364,22 +49352,22 @@ var gwe = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = nI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), rI(e.options, "debugRows", "getTopRows")), e.getBottomRows = nI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), rI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = nI(() => [
+ })), e.getTopRows = $F(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), eI(e.options, "debugRows", "getTopRows")), e.getBottomRows = $F(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), eI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = $F(() => [
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));
- }, rI(e.options, "debugRows", "getCenterRows"));
+ }, eI(e.options, "debugRows", "getCenterRows"));
}
-}, xwe = {
+}, wwe = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: eI("rowSelection", e),
+ onRowSelectionChange: ZF("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -49398,21 +49386,21 @@ var gwe = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- AI(i, t.id, r, !0, e);
+ DI(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = nI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? jI(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = $F(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? OI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, rI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = nI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? jI(e, n) : {
+ }, eI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = $F(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? OI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, rI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = nI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? jI(e, n) : {
+ }, eI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = $F(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? OI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, rI(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, eI(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 = () => {
@@ -49436,17 +49424,17 @@ var gwe = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return AI(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return DI(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return MI(e, n);
+ return kI(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return NI(e, n) === "some";
+ return AI(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return NI(e, n) === "all";
+ return AI(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) => {
@@ -49454,16 +49442,16 @@ var gwe = { createTable: (e) => {
};
};
}
-}, AI = (e, t, n, r, i) => {
+}, DI = (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) => AI(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) => DI(e, t.id, n, r, i));
};
-function jI(e, t) {
+function OI(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = MI(e, n);
+ let o = kI(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -49476,32 +49464,32 @@ function jI(e, t) {
rowsById: i
};
}
-function MI(e, t) {
+function kI(e, t) {
return t[e.id] ?? !1;
}
-function NI(e, t, n) {
+function AI(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() && (MI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = NI(e, t);
+ if ((!a || i) && (e.getCanSelect() && (kI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = AI(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var PI = /([0-9]+)/gm, Swe = (e, t, n) => LI(II(e.getValue(n)).toLowerCase(), II(t.getValue(n)).toLowerCase()), Cwe = (e, t, n) => LI(II(e.getValue(n)), II(t.getValue(n))), wwe = (e, t, n) => FI(II(e.getValue(n)).toLowerCase(), II(t.getValue(n)).toLowerCase()), Twe = (e, t, n) => FI(II(e.getValue(n)), II(t.getValue(n))), Ewe = (e, t, n) => {
+var jI = /([0-9]+)/gm, Twe = (e, t, n) => PI(NI(e.getValue(n)).toLowerCase(), NI(t.getValue(n)).toLowerCase()), Ewe = (e, t, n) => PI(NI(e.getValue(n)), NI(t.getValue(n))), Dwe = (e, t, n) => MI(NI(e.getValue(n)).toLowerCase(), NI(t.getValue(n)).toLowerCase()), Owe = (e, t, n) => MI(NI(e.getValue(n)), NI(t.getValue(n))), kwe = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, Dwe = (e, t, n) => FI(e.getValue(n), t.getValue(n));
-function FI(e, t) {
+}, Awe = (e, t, n) => MI(e.getValue(n), t.getValue(n));
+function MI(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function II(e) {
+function NI(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function LI(e, t) {
- let n = e.split(PI).filter(Boolean), r = t.split(PI).filter(Boolean);
+function PI(e, t) {
+ let n = e.split(jI).filter(Boolean), r = t.split(jI).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])) {
@@ -49515,22 +49503,22 @@ function LI(e, t) {
}
return n.length - r.length;
}
-var RI = {
- alphanumeric: Swe,
- alphanumericCaseSensitive: Cwe,
- text: wwe,
- textCaseSensitive: Twe,
- datetime: Ewe,
- basic: Dwe
-}, Owe = [
- iwe,
- hwe,
- uwe,
- dwe,
- owe,
+var FI = {
+ alphanumeric: Twe,
+ alphanumericCaseSensitive: Ewe,
+ text: Dwe,
+ textCaseSensitive: Owe,
+ datetime: kwe,
+ basic: Awe
+}, jwe = [
swe,
- gwe,
- _we,
+ vwe,
+ pwe,
+ mwe,
+ lwe,
+ uwe,
+ ywe,
+ bwe,
{
getInitialState: (e) => ({
sorting: [],
@@ -49541,7 +49529,7 @@ var RI = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: eI("sorting", e),
+ onSortingChange: ZF("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -49549,13 +49537,13 @@ var RI = {
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 RI.datetime;
- if (typeof n == "string" && (r = !0, n.split(PI).length > 1)) return RI.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return FI.datetime;
+ if (typeof n == "string" && (r = !0, n.split(jI).length > 1)) return FI.alphanumeric;
}
- return r ? RI.text : RI.basic;
+ return r ? FI.text : FI.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return tI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? RI[e.columnDef.sortingFn];
+ return QF(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? FI[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -49592,15 +49580,15 @@ var RI = {
}, 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());
}
},
- cwe,
- vwe,
- ywe,
- bwe,
+ dwe,
xwe,
- pwe
+ Swe,
+ Cwe,
+ wwe,
+ gwe
];
-function kwe(e) {
- let t = [...Owe, ...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 Mwe(e) {
+ let t = [...jwe, ...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 ?? {} };
@@ -49626,7 +49614,7 @@ function kwe(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = $F(e, n.options);
+ let t = XF(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -49641,7 +49629,7 @@ function kwe(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: nI(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: $F(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -49652,20 +49640,20 @@ function kwe(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), rI(e, "debugColumns", "_getDefaultColumnDef")),
+ }), eI(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: nI(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: $F(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = rwe(n, e, i, r), o = e;
+ let a = owe(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, rI(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: nI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), rI(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: nI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), rI(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: nI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), rI(e, "debugColumns", "getAllLeafColumns")),
+ }, eI(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: $F(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), eI(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: $F(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), eI(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: $F(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), eI(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -49675,8 +49663,8 @@ function kwe(e) {
}
return n;
}
-function zI() {
- return (e) => nI(() => [e.options.data], (t) => {
+function II() {
+ return (e) => $F(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -49685,7 +49673,7 @@ function zI() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = awe(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = cwe(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));
@@ -49694,9 +49682,9 @@ function zI() {
return o;
};
return n.rows = r(t), n;
- }, rI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, eI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function Awe(e) {
+function Nwe(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -49707,8 +49695,8 @@ function Awe(e) {
rowsById: e.rowsById
};
}
-function BI(e) {
- return (e) => nI(() => [
+function LI(e) {
+ return (e) => $F(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -49721,7 +49709,7 @@ function BI(e) {
rows: a,
flatRows: o,
rowsById: s
- } : Awe({
+ } : Nwe({
rows: a,
flatRows: o,
rowsById: s
@@ -49730,32 +49718,32 @@ function BI(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, rI(e.options, "debugTable", "getPaginationRowModel"));
+ }, eI(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function VI(e, t) {
- return e ? jwe(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;
+function RI(e, t) {
+ return e ? Pwe(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;
}
-function jwe(e) {
- return Mwe(e) || typeof e == "function" || Nwe(e);
+function Pwe(e) {
+ return Fwe(e) || typeof e == "function" || Iwe(e);
}
-function Mwe(e) {
+function Fwe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function Nwe(e) {
+function Iwe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function HI(e) {
+function zI(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = b.useState(() => ({ current: kwe(t) })), [r, i] = b.useState(() => n.current.initialState);
+ }, [n] = b.useState(() => ({ current: Mwe(t) })), [r, i] = b.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -49770,7 +49758,7 @@ function HI(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var Pwe = rO({
+var Lwe = XD({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -49832,23 +49820,23 @@ var Pwe = rO({
}
}
});
-function Fwe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = Pwe[t];
+function Rwe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = Lwe[t];
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
- className: nO("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? nO("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: YD("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? YD("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: nO("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: nO("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: YD("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: YD("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 UI({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsx)(Phe, {
+function BI({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsx)(Rhe, {
ref: i,
...a,
- className: (t) => nO("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)(Fwe, {
+ className: (t) => YD("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)(Rwe, {
state: e,
size: n,
shape: r
@@ -49860,8 +49848,8 @@ function UI({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var WI = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", Iwe = "输入女优名,到 JavDB 找她的演员页";
-function Lwe(e, t) {
+var VI = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", zwe = "输入女优名,到 JavDB 找她的演员页";
+function Bwe(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 {
@@ -49880,10 +49868,10 @@ function Lwe(e, t) {
blocked: !1
};
}
-function Rwe({ card: e, picked: t, onPick: n }) {
+function Vwe({ 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)(kN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(EN, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -49893,7 +49881,7 @@ function Rwe({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, x.jsx)(aO, {
+ e.record ? /* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: "neutral",
children: e.record
@@ -49904,16 +49892,16 @@ function Rwe({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, x.jsx)(TO, {
+ }), /* @__PURE__ */ (0, x.jsx)(vO, {
href: e.url,
children: e.id
})]
});
}
-function zwe({ 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 = mO(), u = () => {
+function Hwe({ 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 = sO(), u = () => {
let t = r.trim();
- t && !e && l.run("lookup", (e) => Or(t, e), (e) => {
+ t && !e && l.run("lookup", (e) => Er(t, e), (e) => {
o(e), c(new Set(e.suggested));
});
}, d = (e) => {
@@ -49921,12 +49909,12 @@ function zwe({ readOnly: e, toast: t, onAdded: n }) {
}, f = () => {
o(null), c(/* @__PURE__ */ new Set()), l.setError("");
}, p = () => {
- a && l.run("follow", (e) => kr(a.q, [...s], e), (e) => {
+ a && l.run("follow", (e) => Dr(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? Lwe(a, s) : null;
+ }, m = a ? Bwe(a, s) : null;
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: cO({
+ className: tO({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -49939,11 +49927,11 @@ function zwe({ 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)(BN, {
+ children: /* @__PURE__ */ (0, x.jsx)(LN, {
"aria-label": "女优名",
- placeholder: Iwe,
+ placeholder: zwe,
value: r,
- leadingIcon: ND,
+ leadingIcon: ED,
enterKeyHint: "search",
isDisabled: e,
onChange: i,
@@ -49965,16 +49953,16 @@ function zwe({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(wO, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(Rwe, {
+ /* @__PURE__ */ (0, x.jsx)(_O, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(Vwe, {
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)(SO, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(SO, {
+ }, e.id)) : /* @__PURE__ */ (0, x.jsx)(hO, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(hO, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -50001,19 +49989,19 @@ function zwe({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var GI = (e) => (Number(e) || 0).toLocaleString(), Bwe = Object.fromEntries(Object.entries(zn).map(([e, t]) => [t, e])), KI = 740;
-function Vwe() {
+var HI = (e) => (Number(e) || 0).toLocaleString(), Uwe = Object.fromEntries(Object.entries(zn).map(([e, t]) => [t, e])), UI = 740;
+function Wwe() {
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 < KI));
- r.observe(e), n.current = r, t(e.clientWidth < KI);
+ let r = new ResizeObserver(() => t(e.clientWidth < UI));
+ r.observe(e), n.current = r, t(e.clientWidth < UI);
}, []);
return (0, b.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var Hwe = {
+var Gwe = {
select: "选择",
author: "创作者",
source: "来源",
@@ -50022,7 +50010,7 @@ var Hwe = {
checked: "上次检查",
actions: "操作"
};
-function qI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function WI({ 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",
@@ -50036,7 +50024,7 @@ function qI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
}),
/* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: ln(e, t).map((t, r) => /* @__PURE__ */ (0, x.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, x.jsx)("span", {
+ children: cn(e, t).map((t, r) => /* @__PURE__ */ (0, x.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -50059,33 +50047,33 @@ function qI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
]
});
}
-function Uwe({ source: e, selected: t, onToggle: n, handlers: r }) {
+function Kwe({ 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) => {
- qge(e, e.currentTarget) && n(!t);
+ Zge(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, x.jsx)(kN, {
+ /* @__PURE__ */ (0, x.jsx)(EN, {
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)(KF, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(qF, { text: e.last_error }) : null]
+ children: [/* @__PURE__ */ (0, x.jsx)(UF, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(WF, { 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)(UF, {
+ children: /* @__PURE__ */ (0, x.jsx)(BF, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, x.jsx)(GF, { source: e }),
+ /* @__PURE__ */ (0, x.jsx)(HF, { 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",
@@ -50094,7 +50082,7 @@ function Uwe({ 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: Fr(e)
}),
- /* @__PURE__ */ (0, x.jsx)(UI, {
+ /* @__PURE__ */ (0, x.jsx)(BI, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -50106,7 +50094,7 @@ function Uwe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: MD,
+ leadingIcon: TD,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...q(r.busy),
@@ -50115,7 +50103,7 @@ function Uwe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: DD,
+ leadingIcon: bD,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -50126,11 +50114,11 @@ function Uwe({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function Wwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
- let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(Kn).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = sr(r, c);
+function qwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
+ let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(Kn).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = or(r, c);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: cO({
+ className: tO({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -50140,7 +50128,7 @@ function Wwe({ 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)(WF, {
+ /* @__PURE__ */ (0, x.jsx)(VF, {
group: e,
name: t
}),
@@ -50152,7 +50140,7 @@ function Wwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: MD,
+ leadingIcon: TD,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...q(i.busy),
@@ -50165,7 +50153,7 @@ function Wwe({ 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)(UF, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, x.jsx)(Gy, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, x.jsx)(BF, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, x.jsx)(By, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -50174,7 +50162,7 @@ function Wwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: wde,
+ leadingIcon: Ade,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -50185,7 +50173,7 @@ function Wwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? Sde : xD,
+ leadingIcon: n ? Ode : mD,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -50197,7 +50185,7 @@ function Wwe({ 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)(Uwe, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(Kwe, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -50206,49 +50194,49 @@ function Wwe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function Gwe(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] = Vwe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => rr(g, n, r, _), [
+function Jwe(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] = Wwe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => rr(g, n, r, _), [
g,
n,
r,
_
- ]), O = (0, b.useMemo)(() => ir(D, n, r, _), [
+ ]), O = (0, b.useMemo)(() => ree(D, n, r, _), [
D,
n,
r,
_
- ]), { job: k, running: A, outcome: j, start: M } = TN({
+ ]), { job: k, running: A, outcome: j, start: M } = SN({
queryKey: Mn,
- queryFn: ({ signal: e }) => dr(e),
- start: (e) => mr(e),
+ queryFn: ({ signal: e }) => ur(e),
+ start: (e) => pr(e),
onError: (e) => E(z(e)),
onFinish: (e) => {
- Nr(), m(e.status === "failed" ? e.error || "检查失败" : nee(e));
+ jr(), m(e.status === "failed" ? e.error || "检查失败" : Mr(e));
}
}), N = (e) => {
A || M.isPending || (E(""), M.mutate(e));
- }, P = (e, t) => p(cr(s, [e], t)), ee = (e, t) => p(cr(s, e, t)), F = pt({
- mutationFn: (e) => _r(e),
+ }, P = (e, t) => p(sr(s, [e], t)), ee = (e, t) => p(sr(s, e, t)), F = dt({
+ mutationFn: (e) => gr(e),
onSuccess: (e, t) => {
- Mr([t]), p(cr(s, [t], !1)), m("已取消关注来源");
+ Ar([t]), p(sr(s, [t], !1)), m("已取消关注来源");
},
onError: (e) => E(z(e))
- }), te = pt({
- mutationFn: (e) => gr(e.id, e.enabled),
+ }), te = dt({
+ mutationFn: (e) => hr(e.id, e.enabled),
onSuccess: (e, t) => {
- jr(t.id, { enabled: t.enabled }), E("");
+ kr(t.id, { enabled: t.enabled }), E("");
},
onError: (e) => E(z(e))
- }), ne = (e) => void cs({
+ }), ne = (e) => void os({
title: "取消关注来源",
body: "将移除这个来源及已抓取的条目,媒体文件保留。",
confirmLabel: "取消关注来源",
danger: !0,
onConfirm: () => F.mutateAsync(e.id)
- }), re = pt({
+ }), re = dt({
mutationFn: async (e) => {
- let t = await xt(e.ids, 4, async (t) => {
- e.action === "remove" ? await _r(t) : await gr(t, e.action === "enabled");
+ let t = await yt(e.ids, 4, async (t) => {
+ e.action === "remove" ? await gr(t) : await hr(t, e.action === "enabled");
});
return {
...e,
@@ -50257,9 +50245,9 @@ function Gwe(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") Mr(e.done);
- else for (let t of e.done) jr(t, { enabled: e.action === "enabled" });
- p(cr(s, e.done, !1));
+ if (e.action === "remove") Ar(e.done);
+ else for (let t of e.done) kr(t, { enabled: e.action === "enabled" });
+ p(sr(s, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
E(`${t.length}/${e.ids.length} 个来源未更新:${z(t[0]?.error)}`);
@@ -50270,20 +50258,20 @@ function Gwe(e) {
m(`已${n} ${e.done.length} 个关注来源`);
},
onError: (e) => E(z(e))
- }), ie = pt({
+ }), ie = dt({
mutationFn: async (e) => {
- let t = ((await Cr()).groups || []).flatMap((e) => [
+ let t = ((await xr()).groups || []).flatMap((e) => [
e.primary,
...e.variants,
...e.duplicates
]).filter((e) => e.status === "new").map((e) => e.id);
return {
ids: t,
- failed: (await xt(t, 6, (t) => Sr(t, e))).filter((e) => !e.ok)
+ failed: (await yt(t, 6, (t) => iee(t, e))).filter((e) => !e.ok)
};
},
onSuccess: (e) => {
- Nr(), e.failed.length ? E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`) : (E(""), m(`已批量标记 ${e.ids.length} 项`));
+ jr(), e.failed.length ? E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`) : (E(""), m(`已批量标记 ${e.ids.length} 项`));
},
onError: (e) => E(z(e))
}), ae = (e, t) => te.mutate({
@@ -50304,12 +50292,12 @@ function Gwe(e) {
readOnly: c
};
let se = oe.current, ce = (0, b.useMemo)(() => {
- let e = QF(), t = (e) => () => Hwe[e] || e;
+ let e = YF(), t = (e) => () => Gwe[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(kN, {
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(EN, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -50321,7 +50309,7 @@ function Gwe(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)(WF, {
+ children: [/* @__PURE__ */ (0, x.jsx)(VF, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, x.jsx)("span", {
@@ -50335,7 +50323,7 @@ function Gwe(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)(KF, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(qF, { text: e.row.original.source.last_error }) : null]
+ children: [/* @__PURE__ */ (0, x.jsx)(UF, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(WF, { text: e.row.original.source.last_error }) : null]
})
}),
e.accessor((e) => e.source.provider_label, {
@@ -50343,13 +50331,13 @@ function Gwe(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(UF, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, x.jsx)(BF, { 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)(GF, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(HF, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
@@ -50362,7 +50350,7 @@ function Gwe(e) {
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(UI, {
+ /* @__PURE__ */ (0, x.jsx)(BI, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: se.readOnly,
@@ -50372,7 +50360,7 @@ function Gwe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: MD,
+ leadingIcon: TD,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || se.readOnly,
...q(se.busy),
@@ -50382,7 +50370,7 @@ function Gwe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: DD,
+ leadingIcon: bD,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: se.readOnly,
onClick: () => oe.current.remove(e.row.original.source)
@@ -50392,12 +50380,12 @@ function Gwe(e) {
})
];
}, [se]), le = (0, b.useMemo)(() => {
- let e = Bwe[n];
+ let e = Uwe[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ue = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), de = a === "table", fe = ar(de ? O.length : D.length, o, i), pe = HI({
+ }, [n, r]), ue = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), de = a === "table", fe = ir(de ? O.length : D.length, o, i), pe = zI({
data: O,
columns: ce,
getRowId: (e) => String(e.source.id),
@@ -50428,11 +50416,11 @@ function Gwe(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && u(n.pageIndex + 1) : f(n.pageSize);
},
- getCoreRowModel: zI(),
- getPaginationRowModel: BI()
- }), me = pe.getRowModel().rows, he = de ? me.map((e) => e.original.source.id) : D.slice(fe.start, fe.end).flatMap((e) => e.map((e) => e.id)), ge = sr(s, he), _e = [...s], ve = ree(j), ye = Pr(j), be = D.length > 0 && y.size >= D.length;
+ getCoreRowModel: II(),
+ getPaginationRowModel: LI()
+ }), me = pe.getRowModel().rows, he = de ? me.map((e) => e.original.source.id) : D.slice(fe.start, fe.end).flatMap((e) => e.map((e) => e.id)), ge = or(s, he), _e = [...s], ve = Nr(j), ye = Pr(j), be = D.length > 0 && y.size >= D.length;
return g.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: cO({
+ className: tO({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -50449,12 +50437,12 @@ function Gwe(e) {
children: "关注列表"
}), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${GI(v.new)} 条未看` : ""}`
+ children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${HI(v.new)} 条未看` : ""}`
})]
}),
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
- leadingIcon: MD,
+ leadingIcon: TD,
disabled: c,
"aria-label": "检查全部",
iconOnly: w,
@@ -50473,28 +50461,28 @@ function Gwe(e) {
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: zde,
+ leadingIcon: Gde,
"aria-label": In[0][1],
"aria-pressed": !de,
onClick: () => d("default")
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Wde,
+ leadingIcon: Xde,
"aria-label": In[1][1],
"aria-pressed": de,
onClick: () => d("table")
})]
}),
- /* @__PURE__ */ (0, x.jsx)(SN, {
+ /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- l(t, on[t]);
+ l(t, an[t]);
},
- children: rn.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ children: nn.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e,
children: t
}, e))
@@ -50502,14 +50490,14 @@ function Gwe(e) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? xde : bde,
+ leadingIcon: r === "asc" ? Dde : Ede,
"aria-label": Un(n, r),
onClick: () => l(n, r === "asc" ? "desc" : "asc")
}),
de ? null : /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: be ? xD : Sde,
+ leadingIcon: be ? mD : Ode,
"aria-label": be ? "全部展开" : "全部收起",
onClick: () => S(be ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
children: be ? "全部展开" : "全部收起"
@@ -50522,7 +50510,7 @@ function Gwe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? /* @__PURE__ */ (0, x.jsx)(vN, {
+ A ? /* @__PURE__ */ (0, x.jsx)(hN, {
embedded: !0,
label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),
value: k?.checked,
@@ -50548,7 +50536,7 @@ function Gwe(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(QC, {
+ /* @__PURE__ */ (0, x.jsxs)(XC, {
label: "关注来源批量操作",
visible: _e.length > 0,
count: `已选 ${_e.length} 个来源`,
@@ -50588,7 +50576,7 @@ function Gwe(e) {
size: "small",
disabled: c,
...q(re.isPending),
- onClick: () => void cs({
+ onClick: () => void os({
title: `删除 ${_e.length} 个关注来源`,
body: "将移除所选关注来源及其已抓取条目,媒体文件保留。",
confirmLabel: "删除所选来源",
@@ -50608,10 +50596,10 @@ function Gwe(e) {
})
]
}),
- de ? /* @__PURE__ */ (0, x.jsx)(jN, {
+ de ? /* @__PURE__ */ (0, x.jsx)(ON, {
follow: !0,
onRowClick: (e) => P(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, x.jsxs)(AN, {
+ children: /* @__PURE__ */ (0, x.jsxs)(DN, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: le[0] ? {
@@ -50622,9 +50610,9 @@ function Gwe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, x.jsx)(YA, { children: pe.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in zn, n = VI(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, x.jsx)(XA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(WA, { children: pe.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in zn, n = RI(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, x.jsx)(GA, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -50633,20 +50621,20 @@ function Gwe(e) {
children: [n, /* @__PURE__ */ (0, x.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(vbe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(xbe, {})
})]
- }) : /* @__PURE__ */ (0, x.jsx)(Gy, { children: n })
+ }) : /* @__PURE__ */ (0, x.jsx)(By, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, x.jsx)(QA, {
+ }) }), /* @__PURE__ */ (0, x.jsx)(qA, {
renderEmptyState: () => "这一页没有来源",
- children: me.map((e) => /* @__PURE__ */ (0, x.jsx)(tj, {
+ children: me.map((e) => /* @__PURE__ */ (0, x.jsx)(XA, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(rj, { children: VI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(QA, { children: RI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(kN, {
+ }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(EN, {
isSelected: ge.all,
isIndeterminate: ge.some,
onChange: (e) => ee(he, e),
@@ -50656,7 +50644,7 @@ function Gwe(e) {
className: "flex flex-col gap-3",
children: D.slice(fe.start, fe.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, x.jsx)(Wwe, {
+ return /* @__PURE__ */ (0, x.jsx)(qwe, {
group: e,
name: $n(e, _),
handlers: se,
@@ -50676,21 +50664,21 @@ function Gwe(e) {
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${GI(fe.start + 1)}–${GI(fe.end)} / ${GI(fe.total)} ${de ? "个来源" : "位创作者"}`
+ children: `${HI(fe.start + 1)}–${HI(fe.end)} / ${HI(fe.total)} ${de ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, x.jsx)(SN, {
+ /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && pe.setPageSize(Number(e));
},
- children: Ln.map((e) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ children: Ln.map((e) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: String(e),
children: `每页 ${e} ${de ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(qI, {
+ /* @__PURE__ */ (0, x.jsx)(WI, {
page: fe.page,
pages: fe.pages,
onPage: (e) => pe.setPageIndex(e - 1)
@@ -50702,7 +50690,7 @@ function Gwe(e) {
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
- children: `未看 ${GI(v.new)} · 已看 ${GI(v.seen)} · 已保存 ${GI(v.saved)} · 已忽略 ${GI(v.ignored)}`
+ children: `未看 ${HI(v.new)} · 已看 ${HI(v.seen)} · 已保存 ${HI(v.saved)} · 已忽略 ${HI(v.ignored)}`
}),
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -50715,7 +50703,7 @@ function Gwe(e) {
size: "small",
disabled: c,
...q(ie.isPending),
- onClick: () => void cs({
+ onClick: () => void os({
title: "标记已看",
body: "将把当前未看作品标记为已看。",
confirmLabel: "标记已看",
@@ -50728,7 +50716,7 @@ function Gwe(e) {
size: "small",
disabled: c,
...q(ie.isPending),
- onClick: () => void cs({
+ onClick: () => void os({
title: "标记已忽略",
body: "将把当前未看作品标记为已忽略。",
confirmLabel: "标记已忽略",
@@ -50739,11 +50727,11 @@ function Gwe(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: Hde,
+ icon: Jde,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, x.jsx)(sO, {
+ actions: /* @__PURE__ */ (0, x.jsx)(eO, {
variant: "primary",
size: "small",
href: "/follow-manage?tab=add",
@@ -50754,7 +50742,7 @@ function Gwe(e) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var Kwe = {
+var Ywe = {
select: "选择",
name: "名称",
kind: "类型",
@@ -50764,33 +50752,33 @@ var Kwe = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, qwe = /* @__PURE__ */ new Set(["select", "actions"]), JI = () => H.invalidateQueries({
+}, Xwe = /* @__PURE__ */ new Set(["select", "actions"]), GI = () => V.invalidateQueries({
queryKey: Pn,
exact: !0
-}), YI = (e) => e.name || e.url;
-function Jwe(e) {
+}), KI = (e) => e.name || e.url;
+function Zwe(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function Ywe({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, x.jsx)(aO, {
+function Qwe({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(aO, {
+ }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, x.jsx)(aO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function Xwe({ source: e }) {
+function $we({ source: e }) {
let t = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -50799,31 +50787,31 @@ function Xwe({ 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 ${WI}`,
- dangerouslySetInnerHTML: { __html: na(YI(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 ${VI}`,
+ dangerouslySetInnerHTML: { __html: na(KI(e), t, null, "performer") }
});
}
-var Zwe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function Qwe(e) {
+var eTe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function tTe(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 XI(e, t) {
+function qI(e, t) {
let n = e.length === 1 ? e[0] : null;
- return cs({
+ return os({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${YI(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${KI(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function $we({ readOnly: e, toast: t }) {
- let n = ft({
+function nTe({ readOnly: e, toast: t }) {
+ let n = ut({
queryKey: Pn,
- queryFn: ({ signal: e }) => wr(e)
- }), r = mO(), 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 = ar(a.length, u, c);
+ queryFn: ({ signal: e }) => Sr(e)
+ }), r = sO(), 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 = ir(a.length, u, c);
(0, b.useEffect)(() => {
l((e) => Math.min(e, f.pages));
}, [f.pages]), (0, b.useEffect)(() => {
@@ -50832,10 +50820,10 @@ function $we({ readOnly: e, toast: t }) {
return n.size === e.size ? e : n;
});
}, [a]);
- let p = pt({
+ let p = dt({
mutationFn: async (e) => {
- let t = await xt(e.ids, 4, async (t) => {
- e.action === "remove" ? await Er(t) : await Tr(t, e.action === "enabled");
+ let t = await yt(e.ids, 4, async (t) => {
+ e.action === "remove" ? await wr(t) : await Cr(t, e.action === "enabled");
});
return {
...e,
@@ -50844,13 +50832,13 @@ function $we({ 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()), JI(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (s(/* @__PURE__ */ new Set()), GI(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : z(e.error)}`);
}
},
onError: (e) => r.setError(z(e))
- }), m = (0, b.useMemo)(() => Qwe(a), [a]), h = (0, b.useRef)({
+ }), m = (0, b.useMemo)(() => tTe(a), [a]), h = (0, b.useRef)({
readOnly: e,
shared: m,
busy: null,
@@ -50862,34 +50850,34 @@ function $we({ readOnly: e, toast: t }) {
readOnly: e,
shared: m,
busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Tr(e.id, t, n), () => void JI()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => Dr(t, [e.id]), () => void JI()),
- remove: (e) => void XI([e], async () => {
- await Er(e.id), t(`已移除订阅源「${YI(e)}」`), JI();
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Cr(e.id, t, n), () => void GI()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => Tr(t, [e.id]), () => void GI()),
+ remove: (e) => void qI([e], async () => {
+ await wr(e.id), t(`已移除订阅源「${KI(e)}」`), GI();
})
};
let g = (0, b.useMemo)(() => {
- let e = QF(), t = (e) => () => Kwe[e] || e;
+ let e = YF(), t = (e) => () => Ywe[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(kN, {
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(EN, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${YI(e.row.original)}`
+ "aria-label": `选择 ${KI(e.row.original)}`
})
}),
- e.accessor(YI, {
+ e.accessor(KI, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = Zwe(e.row.original, h.current.shared);
+ let t = eTe(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)(Xwe, { source: e.row.original }),
+ /* @__PURE__ */ (0, x.jsx)($we, { source: e.row.original }),
e.getValue(),
t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -50917,13 +50905,13 @@ function $we({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: Jwe(e.getValue())
+ children: Zwe(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(Ywe, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(Qwe, { source: e.row.original })
}),
e.accessor((e) => qn(e.interval_minutes), {
id: "interval",
@@ -50955,8 +50943,8 @@ function $we({ readOnly: e, toast: t }) {
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(UI, {
- "aria-label": `启用 ${YI(e.row.original)}`,
+ /* @__PURE__ */ (0, x.jsx)(BI, {
+ "aria-label": `启用 ${KI(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: h.current.readOnly,
onChange: (t) => h.current.toggle(e.row.original, t)
@@ -50965,8 +50953,8 @@ function $we({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: MD,
- "aria-label": `拉取 ${YI(e.row.original)}`,
+ leadingIcon: TD,
+ "aria-label": `拉取 ${KI(e.row.original)}`,
disabled: h.current.readOnly,
...q(h.current.busy === `check-${e.row.original.id}`),
onClick: () => h.current.fetch(e.row.original)
@@ -50975,8 +50963,8 @@ function $we({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: DD,
- "aria-label": `移除 ${YI(e.row.original)}`,
+ leadingIcon: bD,
+ "aria-label": `移除 ${KI(e.row.original)}`,
disabled: h.current.readOnly,
onClick: () => h.current.remove(e.row.original)
})
@@ -50984,7 +50972,7 @@ function $we({ readOnly: e, toast: t }) {
})
})
];
- }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = HI({
+ }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = zI({
data: a,
columns: g,
getRowId: (e) => String(e.id),
@@ -51000,27 +50988,27 @@ function $we({ 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: zI(),
- getPaginationRowModel: BI()
+ getCoreRowModel: II(),
+ getPaginationRowModel: LI()
});
if (!i) return n.error ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "打不开订阅源",
children: z(n.error)
- }) : /* @__PURE__ */ (0, x.jsx)(SO, { children: "正在读订阅源。" });
- let y = () => void r.run("check", (e) => Dr(e), () => void JI()), S = (e) => s((t) => {
+ }) : /* @__PURE__ */ (0, x.jsx)(hO, { children: "正在读订阅源。" });
+ let y = () => void r.run("check", (e) => Tr(e), () => void GI()), 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)(zwe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Hwe, {
readOnly: e,
toast: t,
- onAdded: () => void JI()
+ onAdded: () => void GI()
}), /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": "JAV 订阅列表",
- className: cO({
+ className: tO({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -51054,13 +51042,13 @@ function $we({ readOnly: e, toast: t }) {
children: w.map((e) => /* @__PURE__ */ (0, x.jsx)("li", {
className: "min-w-0 truncate",
title: e.last_error || "",
- children: `${YI(e)}:${Jn(e.last_error || "") || "未说明原因"}`
+ children: `${KI(e)}:${Jn(e.last_error || "") || "未说明原因"}`
}, e.id))
}),
children: "这些订阅源这一轮没有取到新条目。"
- }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(CO, { children: r.error }) : null]
+ }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(gO, { children: r.error }) : null]
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(QC, {
+ /* @__PURE__ */ (0, x.jsxs)(XC, {
visible: C.length > 0,
label: "订阅源批量操作",
count: `已选 ${C.length} 条订阅源`,
@@ -51092,7 +51080,7 @@ function $we({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...q(p.isPending),
- onClick: () => void XI(C, () => p.mutateAsync({
+ onClick: () => void qI(C, () => p.mutateAsync({
ids: C.map((e) => e.id),
action: "remove"
})),
@@ -51106,26 +51094,26 @@ function $we({ readOnly: e, toast: t }) {
})
]
}),
- a.length ? /* @__PURE__ */ (0, x.jsx)(jN, {
+ a.length ? /* @__PURE__ */ (0, x.jsx)(ON, {
onRowClick: (e) => S(Number(e)),
- children: /* @__PURE__ */ (0, x.jsxs)(AN, {
+ children: /* @__PURE__ */ (0, x.jsxs)(DN, {
"aria-label": "JAV 订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, x.jsx)(YA, { children: v.getHeaderGroups()[0].headers.map((e) => {
- let t = VI(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, x.jsx)(XA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(WA, { children: v.getHeaderGroups()[0].headers.map((e) => {
+ let t = RI(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, x.jsx)(GA, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: qwe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(Gy, { children: t }) : t
+ children: Xwe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(By, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, x.jsx)(QA, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(tj, {
+ }) }), /* @__PURE__ */ (0, x.jsx)(qA, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(XA, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(rj, { children: VI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(QA, { children: RI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
- icon: Hde,
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
+ icon: Jde,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -51137,19 +51125,19 @@ function $we({ 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)(SN, {
+ /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(u),
onSelectionChange: (e) => {
e !== null && (d(Number(e)), l(1));
},
- children: Ln.map((e) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ children: Ln.map((e) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: String(e),
children: `每页 ${e} 条`
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(qI, {
+ /* @__PURE__ */ (0, x.jsx)(WI, {
label: "JAV 订阅分页",
page: f.page,
pages: f.pages,
@@ -51171,14 +51159,14 @@ function $we({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var ZI = [
+var JI = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], QI = (e) => ZI.some(([t]) => t === e);
-function $I({ term: e, figure: t, unit: n }) {
+], YI = (e) => JI.some(([t]) => t === e);
+function XI({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: cO({
+ className: tO({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -51198,23 +51186,23 @@ function $I({ term: e, figure: t, unit: n }) {
})]
});
}
-function eTe(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, b.useState)(QI(e.tab) ? e.tab : "list"), [d, f] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, b.useState)(() => cn(e.sort, e.dir).sort), [h, g] = (0, b.useState)(() => cn(e.sort, e.dir).dir), [_, v] = (0, b.useState)(Bn(e.layout) ? e.layout : "default"), [y, S] = (0, b.useState)(Vn(e.pageSize)), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), T = ft({
+function rTe(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, b.useState)(YI(e.tab) ? e.tab : "list"), [d, f] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, b.useState)(() => sn(e.sort, e.dir).sort), [h, g] = (0, b.useState)(() => sn(e.sort, e.dir).dir), [_, v] = (0, b.useState)(Bn(e.layout) ? e.layout : "default"), [y, S] = (0, b.useState)(Vn(e.pageSize)), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), T = ut({
queryKey: An,
- queryFn: ({ signal: e }) => lr(e)
- }), E = ft({
+ queryFn: ({ signal: e }) => cr(e)
+ }), E = ut({
queryKey: jn,
- queryFn: ({ signal: e }) => ur(e)
- }), D = ft({
+ queryFn: ({ signal: e }) => lr(e)
+ }), D = ut({
queryKey: Pn,
- queryFn: ({ signal: e }) => wr(e)
+ queryFn: ({ signal: e }) => Sr(e)
}), O = T.data || { sources: [] }, k = E.data || {
root: "",
providers: []
}, A = O.sources;
(0, b.useEffect)(() => {
w((e) => {
- let t = or(e, A);
+ let t = ar(e, A);
return t.size === e.size ? e : t;
});
}, [A]);
@@ -51224,10 +51212,10 @@ function eTe(e) {
tab: e.tab ?? l,
page: e.page ?? d,
sort: n === "checked" ? "" : n,
- dir: r === on[n] ? "" : r
+ dir: r === an[n] ? "" : r
});
}, M = nr(A), N = A.filter(Kn).length, P = A.filter((e) => e.enabled).length, ee = (k.providers || []).filter((e) => e.requirement === "required" && !zr(e)).length, F = new Set((D.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, x.jsxs)(dO, { children: [
+ return /* @__PURE__ */ (0, x.jsxs)(iO, { children: [
o ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "本机只能浏览",
@@ -51242,64 +51230,64 @@ function eTe(e) {
children: s
}) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: Rye,
+ className: Vye,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, x.jsx)($I, {
+ /* @__PURE__ */ (0, x.jsx)(XI, {
term: "关注创作者",
figure: M.length,
unit: "位"
}),
- /* @__PURE__ */ (0, x.jsx)($I, {
+ /* @__PURE__ */ (0, x.jsx)(XI, {
term: "启用来源",
figure: P,
unit: `/ ${A.length}`
}),
- /* @__PURE__ */ (0, x.jsx)($I, {
+ /* @__PURE__ */ (0, x.jsx)(XI, {
term: "检查失败",
figure: N,
unit: "个来源"
}),
- /* @__PURE__ */ (0, x.jsx)($I, {
+ /* @__PURE__ */ (0, x.jsx)(XI, {
term: "未看更新",
figure: O.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, x.jsx)($I, {
+ /* @__PURE__ */ (0, x.jsx)(XI, {
term: "JAV 订阅",
figure: F,
unit: "位"
}),
- /* @__PURE__ */ (0, x.jsx)($I, {
+ /* @__PURE__ */ (0, x.jsx)(XI, {
term: "未看新作",
figure: D.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(sj, {
+ /* @__PURE__ */ (0, x.jsxs)(nj, {
selectedKey: l,
onSelectionChange: (e) => {
let t = String(e);
- QI(t) && (u(t), j({ tab: t }));
+ YI(t) && (u(t), j({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, x.jsx)(cj, {
+ /* @__PURE__ */ (0, x.jsx)(rj, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: ZI.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(lj, {
+ children: JI.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ij, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: t
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(uj, {
+ /* @__PURE__ */ (0, x.jsx)(aj, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, x.jsx)(Gwe, {
+ children: /* @__PURE__ */ (0, x.jsx)(Jwe, {
data: O,
sort: p,
dir: h,
@@ -51329,16 +51317,16 @@ function eTe(e) {
}
})
}),
- /* @__PURE__ */ (0, x.jsxs)(uj, {
+ /* @__PURE__ */ (0, x.jsxs)(aj, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, x.jsx)(XCe, {
+ children: [/* @__PURE__ */ (0, x.jsx)($Ce, {
data: O,
credentials: k,
readOnly: o,
toast: r,
openCredentials: a
- }), /* @__PURE__ */ (0, x.jsx)($Ce, {
+ }), /* @__PURE__ */ (0, x.jsx)(nwe, {
groups: O.author_aliases || [],
readOnly: o,
toast: r,
@@ -51346,10 +51334,10 @@ function eTe(e) {
sources: O.sources
})]
}),
- /* @__PURE__ */ (0, x.jsx)(uj, {
+ /* @__PURE__ */ (0, x.jsx)(aj, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, x.jsx)($we, {
+ children: /* @__PURE__ */ (0, x.jsx)(nTe, {
readOnly: o,
toast: r
})
@@ -51365,15 +51353,15 @@ function eTe(e) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function eL({ value: e }) {
+function ZI({ 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 tTe = "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 tL({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+var iTe = "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 QI({ 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;
@@ -51397,14 +51385,14 @@ function tL({ 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 ? yj(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? mj(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: tTe,
+ className: iTe,
onClick: () => {
i || r(e.value);
},
@@ -51415,24 +51403,24 @@ function tL({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
}
//#endregion
//#region src/react/index/index-tags.tsx
-var nL = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var $I = () => /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function nTe({ tag: e, actions: t }) {
+function aTe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": CP(t.online, e.cat),
+ "data-tag-cat": bP(t.online, e.cat),
"aria-pressed": n,
title: e.label,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, x.jsx)(nL, {}),
+ /* @__PURE__ */ (0, x.jsx)($I, {}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -51444,23 +51432,23 @@ function nTe({ tag: e, actions: t }) {
]
});
}
-function rTe({ groups: e, actions: t }) {
+function oTe({ 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: cO({
+ className: tO({
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)(eL, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, x.jsx)(ZI, { 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)(nTe, {
+ children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(aTe, {
tag: e,
actions: t
}, e.k))
@@ -51468,8 +51456,8 @@ function rTe({ groups: e, actions: t }) {
}, e))
});
}
-var iTe = "\xA0";
-function aTe({ tags: e, actions: t }) {
+var sTe = "\xA0";
+function cTe({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -51477,11 +51465,11 @@ function aTe({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": CP(t.online, e.cat),
+ "data-tag-cat": bP(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 + iTe, /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [e.label + sTe, /* @__PURE__ */ (0, x.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -51489,7 +51477,7 @@ function aTe({ tags: e, actions: t }) {
}, e.k))
});
}
-var oTe = [[
+var lTe = [[
"cloud",
"标签云",
"tags"
@@ -51498,16 +51486,16 @@ var oTe = [[
"字母表",
"text-aa"
]];
-function sTe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, x.jsx)(UO, {
+function uTe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, x.jsx)(IO, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(WO, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(LO, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : CP(n, e),
+ "data-tag-cat": e === "all" ? "all" : bP(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, x.jsx)(nL, {}), r]
+ children: [/* @__PURE__ */ (0, x.jsx)($I, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -51526,19 +51514,19 @@ function sTe({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(MA, {
+ /* @__PURE__ */ (0, x.jsx)(DA, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${gj}`,
- children: oTe.map(([e, t, n]) => {
- let r = yj(n);
- return /* @__PURE__ */ (0, x.jsx)(NA, {
+ className: `ml-auto ${dj}`,
+ children: lTe.map(([e, t, n]) => {
+ let r = mj(n);
+ return /* @__PURE__ */ (0, x.jsx)(OA, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: _j,
+ className: fj,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -51550,13 +51538,13 @@ function sTe({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function cTe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, x.jsxs)(QC, {
+function dTe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, x.jsxs)(XC, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
children: [
- /* @__PURE__ */ (0, x.jsx)(kN, {
+ /* @__PURE__ */ (0, x.jsx)(EN, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -51588,7 +51576,7 @@ function cTe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var lTe = [{
+var fTe = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -51596,7 +51584,7 @@ var lTe = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], uTe = [{
+}], pTe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -51604,7 +51592,7 @@ var lTe = [{
value: "online",
label: "在线",
symbol: "rss"
-}], dTe = [
+}], mTe = [
{
value: "performers",
label: "艺人",
@@ -51620,7 +51608,7 @@ var lTe = [{
label: "在线",
symbol: "rss"
}
-], fTe = {
+], hTe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -51640,20 +51628,20 @@ var lTe = [{
"layout-grid"
]]
};
-function pTe({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, x.jsx)(pj, {
- "aria-label": `${fP[e]}索引版式`,
+function gTe({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, x.jsx)(cj, {
+ "aria-label": `${lP[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${mj}`,
- children: fTe[_P(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = yj(n);
- return /* @__PURE__ */ (0, x.jsx)(NA, {
+ className: `flex-none max-board-narrow:order-3 ${lj}`,
+ children: hTe[mP(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = mj(n);
+ return /* @__PURE__ */ (0, x.jsx)(OA, {
value: e,
"aria-label": t,
- className: bge,
+ className: wge,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -51663,8 +51651,8 @@ function pTe({ kind: e, layout: t, onChange: n }) {
})
});
}
-var mTe = yj("search");
-function hTe({ label: e, value: t, onQuery: n }) {
+var _Te = mj("search");
+function vTe({ 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) => {
@@ -51679,16 +51667,16 @@ function hTe({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, x.jsx)(LN, {
+ children: /* @__PURE__ */ (0, x.jsx)(PN, {
"aria-label": e,
value: r,
enterKeyHint: "search",
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, x.jsx)(zN, {
+ children: /* @__PURE__ */ (0, x.jsx)(IN, {
type: "search",
- leadingIcon: mTe,
+ leadingIcon: _Te,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -51698,14 +51686,14 @@ function hTe({ label: e, value: t, onQuery: n }) {
})
});
}
-function gTe(e) {
- let [t, n] = (0, b.useState)(() => vP({
+function yTe(e) {
+ let [t, n] = (0, b.useState)(() => hP({
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 = fP[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 = lP[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;
@@ -51723,7 +51711,7 @@ function gTe(e) {
...r
};
y(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, C = SP(yP(t)), w = mt({
+ }, C = yP(gP(t)), w = ft({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -51732,26 +51720,26 @@ function gTe(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: v ? de : void 0
- }), T = kxe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = Axe(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;
+ }), T = Mxe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = Nxe(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
});
let j = A ?? (k.current?.key === O ? k.current.counts : void 0), M = w.isPending && !j, N = ([e]) => e === "all" || M || Number(j?.[e] || 0) > 0;
(0, b.useLayoutEffect)(() => {
- l.current && zs(l.current);
+ l.current && Ls(l.current);
}, [r]);
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" ? Nxe(P, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? Ixe(P, (t) => e.tagLabel(t)) : [], [
P,
p,
u
]), F = (t) => {
i(t), e.savePreference({ layout: t });
- }, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(tL, {
- tabs: uTe,
+ }, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(QI, {
+ tabs: pTe,
value: f,
label: "词表",
onChange: (e) => {
@@ -51761,8 +51749,8 @@ function gTe(e) {
view: e === "online" ? "alphabet" : p
});
}
- }) : _P(u) ? /* @__PURE__ */ (0, x.jsx)(tL, {
- tabs: lTe,
+ }) : mP(u) ? /* @__PURE__ */ (0, x.jsx)(QI, {
+ tabs: fTe,
value: u,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -51771,7 +51759,7 @@ function gTe(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
}) : e.showTags([t], "all");
- }, re = (g ? mP : pP).filter(N);
+ }, re = (g ? dP : uP).filter(N);
return /* @__PURE__ */ (0, x.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -51786,12 +51774,12 @@ function gTe(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: h
}),
- gP(u) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ pP(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,
- gP(u) ? /* @__PURE__ */ (0, x.jsx)(pTe, {
+ pP(u) ? /* @__PURE__ */ (0, x.jsx)(gTe, {
kind: u,
layout: r,
onChange: F
@@ -51800,7 +51788,7 @@ function gTe(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, x.jsx)(hTe, {
+ /* @__PURE__ */ (0, x.jsx)(vTe, {
label: `过滤${h}`,
value: d,
onQuery: (e) => {
@@ -51809,8 +51797,8 @@ function gTe(e) {
})
]
}),
- u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(tL, {
- tabs: dTe,
+ u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(QI, {
+ tabs: mTe,
value: _ ? "online" : u,
label: "人物名册",
onChange: (t) => {
@@ -51824,8 +51812,8 @@ function gTe(e) {
te,
u === "performers" && f === "local" ? /* @__PURE__ */ (0, x.jsx)("div", {
"aria-label": "身份分类",
- className: dP,
- children: uP.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(G, {
+ className: cP,
+ children: sP.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,
@@ -51833,7 +51821,7 @@ function gTe(e) {
children: t
}, e))
}) : null,
- u === "tags" ? /* @__PURE__ */ (0, x.jsx)(sTe, {
+ u === "tags" ? /* @__PURE__ */ (0, x.jsx)(uTe, {
categories: re,
category: m,
online: g,
@@ -51852,34 +51840,34 @@ function gTe(e) {
children: (() => {
if (w.isPending) return /* @__PURE__ */ (0, x.jsx)("div", {
"aria-busy": "true",
- dangerouslySetInnerHTML: { __html: go({
+ dangerouslySetInnerHTML: { __html: mo({
kind: u,
layout: r,
mode: p
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, x.jsx)(lO, {
- icon: yj("alert"),
+ if (w.isError) return /* @__PURE__ */ (0, x.jsx)(nO, {
+ icon: mj("alert"),
title: `没能读取${h}`,
actions: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: () => void w.refetch(),
children: "重试"
}),
- children: vt(w.error)
+ children: gt(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, x.jsx)(vTe, {
+ if (!T.length) return /* @__PURE__ */ (0, x.jsx)(xTe, {
kind: u,
filtered: !!d || m !== "all",
online: g || _,
configurable: e.configurable
});
- if (_) return /* @__PURE__ */ (0, x.jsx)(Ixe, {
+ if (_) return /* @__PURE__ */ (0, x.jsx)(zxe, {
items: T,
layout: r,
props: e
});
- if (gP(u)) return /* @__PURE__ */ (0, x.jsx)(EP, {
+ if (pP(u)) return /* @__PURE__ */ (0, x.jsx)(CP, {
kind: u,
items: T,
layout: r,
@@ -51890,10 +51878,10 @@ function gTe(e) {
picked: a,
press: ne
};
- return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(rTe, {
+ return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(oTe, {
groups: ee,
actions: t
- }) : /* @__PURE__ */ (0, x.jsx)(aTe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(cTe, {
tags: P,
actions: t
});
@@ -51908,13 +51896,13 @@ function gTe(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(uO, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(rO, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(cTe, {
+ u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(dTe, {
count: a.size,
match: s,
onMatch: c,
@@ -51927,31 +51915,31 @@ function gTe(e) {
]
});
}
-var _Te = {
+var bTe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所"
};
-function vTe({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, x.jsx)(lO, {
- icon: yj("search"),
+function xTe({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, x.jsx)(nO, {
+ icon: mj("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, x.jsx)(sO, {
+ actions: /* @__PURE__ */ (0, x.jsx)(eO, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : _Te[e], a = /* @__PURE__ */ (0, x.jsx)(sO, {
+ let i = n && e === "performers" ? "创作者" : bTe[e], a = /* @__PURE__ */ (0, x.jsx)(eO, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, x.jsx)(lO, {
- icon: yj(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, x.jsx)(nO, {
+ icon: mj(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",
@@ -51961,15 +51949,15 @@ function vTe({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var rL = {
+var eL = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, yTe = (e) => rL[e.junk_kind || "other"] || rL.other;
-function bTe(e) {
+}, STe = (e) => eL[e.junk_kind || "other"] || eL.other;
+function CTe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -51980,21 +51968,21 @@ function bTe(e) {
glyph: "check"
};
}
-var iL = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), xTe = (e, t) => [
+var tL = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), wTe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function STe({ kind: e, view: t }) {
+function TTe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function CTe(e, t) {
- let n = await B(`/api/ads?${STe(e)}`, t);
+async function ETe(e, t) {
+ let n = await tn(`/api/ads?${TTe(e)}`, t);
return {
...n,
items: n.items || []
@@ -52002,19 +51990,19 @@ async function CTe(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function aL({ name: e }) {
+function nL({ 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 oL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function wTe({ 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] = yTe(e), m = String(e.name || ""), h = bTe(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]") || oL(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var rL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function DTe({ 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] = STe(e), m = String(e.name || ""), h = CTe(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]") || rL(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), oL(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), rL(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) => {
@@ -52045,7 +52033,7 @@ function wTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"data-junk-kind": d,
"data-selected": n ? "" : void 0,
onClick: v,
- onMouseDown: Jj,
+ onMouseDown: Uj,
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
@@ -52053,7 +52041,7 @@ function wTe({ 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)(aL, { name: p }), /* @__PURE__ */ (0, x.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, x.jsx)(nL, { name: p }), /* @__PURE__ */ (0, x.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-art": "thumb",
@@ -52065,7 +52053,7 @@ function wTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(aL, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(nL, { name: "check" })
})
]
}),
@@ -52084,7 +52072,7 @@ function wTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}) : null,
/* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-size": "",
- children: Number(e.size) > 0 ? Wt(Number(e.size)) : "大小未知"
+ children: Number(e.size) > 0 ? Ht(Number(e.size)) : "大小未知"
})
]
})]
@@ -52101,8 +52089,8 @@ function wTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
onClick: S,
children: [s === "reveal" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-spinner": "",
- dangerouslySetInnerHTML: { __html: Qa("正在定位") }
- }) : /* @__PURE__ */ (0, x.jsx)(aL, { name: "folder-open" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ dangerouslySetInnerHTML: { __html: Za("正在定位") }
+ }) : /* @__PURE__ */ (0, x.jsx)(nL, { name: "folder-open" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -52114,7 +52102,7 @@ function wTe({ 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)(aL, { name: h.glyph }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(nL, { name: h.glyph }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -52126,7 +52114,7 @@ function wTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...w("dispose"),
onClick: C("dispose"),
- children: [/* @__PURE__ */ (0, x.jsx)(aL, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(nL, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -52141,7 +52129,7 @@ function wTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var TTe = (0, b.memo)(wTe), sL = [
+var OTe = (0, b.memo)(DTe), iL = [
[
"",
"全部",
@@ -52177,65 +52165,65 @@ var TTe = (0, b.memo)(wTe), sL = [
"其它",
"hard-drive"
]
-], ETe = (e) => sL.find(([t]) => t === e)?.[0] ?? "";
-function cL(e) {
+], kTe = (e) => iL.find(([t]) => t === e)?.[0] ?? "";
+function aL(e) {
let t = new URLSearchParams(e);
return {
- kind: ETe(t.get("type")),
+ kind: kTe(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function lL(e = "", t = "pending") {
+function oL(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 uL(e) {
+function ATe(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: lL("", "pending")
+ href: oL("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: lL("", "dismissed")
+ href: oL("", "dismissed")
};
}
-var DTe = (e) => e === "dismissed" ? "已排除" : "待判断", OTe = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function kTe({ kind: e, view: t }) {
- let n = sL.map(([n, r, i]) => `<a href="${lL(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${OTe(i)}${R(r)}</a>`).join(""), r = uL(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${eN(DTe(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\"" : ""}>${OTe(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var jTe = (e) => e === "dismissed" ? "已排除" : "待判断", MTe = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function NTe({ kind: e, view: t }) {
+ let n = iL.map(([n, r, i]) => `<a href="${oL(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${MTe(i)}${R(r)}</a>`).join(""), r = ATe(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${ZM(jTe(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\"" : ""}>${MTe(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function ATe({ name: e }) {
+function PTe({ 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 jTe({ scope: e, count: t }) {
+function FTe({ 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 MTe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = mN(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = KO(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? sL.map(([e]) => iL(t, e)).join(",") : ""}`), l = uL(s), u = (e) => {
+function ITe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = dN(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = zO(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? iL.map(([e]) => tL(t, e)).join(",") : ""}`), l = ATe(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") || lL()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || oL()));
}, 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)(PF, {
- label: DTe(s),
+ children: /* @__PURE__ */ (0, x.jsx)(jF, {
+ label: jTe(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -52255,17 +52243,17 @@ function MTe({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- sL.map(([e, n, r]) => /* @__PURE__ */ (0, x.jsxs)("a", {
- href: lL(e, s),
+ iL.map(([e, n, r]) => /* @__PURE__ */ (0, x.jsxs)("a", {
+ href: oL(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, x.jsx)(ATe, { name: r }),
+ /* @__PURE__ */ (0, x.jsx)(PTe, { name: r }),
n,
- /* @__PURE__ */ (0, x.jsx)(jTe, {
+ /* @__PURE__ */ (0, x.jsx)(FTe, {
scope: e,
- count: t ? iL(t, e) : 0
+ count: t ? tL(t, e) : 0
})
]
}, e || "all")),
@@ -52279,9 +52267,9 @@ function MTe({ 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)(ATe, { name: l.glyph }),
+ /* @__PURE__ */ (0, x.jsx)(PTe, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, x.jsx)(jTe, {
+ /* @__PURE__ */ (0, x.jsx)(FTe, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -52294,33 +52282,33 @@ function MTe({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var NTe = yj("check"), PTe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function FTe(e) {
+var LTe = mj("check"), RTe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function zTe(e) {
let t = {
kind: e.kind,
view: e.view
- }, n = ft({
- queryKey: xTe(t, e.revision),
- queryFn: ({ signal: e }) => CTe(t, e),
- placeholderData: (e, n) => n && PTe(n.queryKey, t) ? e : void 0
+ }, n = ut({
+ queryKey: wTe(t, e.revision),
+ queryFn: ({ signal: e }) => ETe(t, e),
+ placeholderData: (e, n) => n && RTe(n.queryKey, t) ? e : void 0
});
(0, b.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = ITe(e.countRow), i = n.isPending;
+ let r = BTe(e.countRow), i = n.isPending;
(0, b.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, b.useLayoutEffect)(() => {
- r && n.data && uo(r, "junk");
+ r && n.data && co(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, ht.createPortal)(/* @__PURE__ */ (0, x.jsx)(MTe, {
+ let { navigate: a } = e.actions, o = r ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)(ITe, {
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)(LTe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(VTe, {
props: e,
data: n.data,
pending: i,
@@ -52328,7 +52316,7 @@ function FTe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function ITe(e) {
+function BTe(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!e) return;
@@ -52338,8 +52326,8 @@ function ITe(e) {
};
}, [e]), t;
}
-function LTe({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = Kj(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, b.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, b.useCallback)(() => {
+function VTe({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = Vj(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", {
@@ -52347,14 +52335,14 @@ function LTe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-grid-reveal": a.fading ? "" : void 0,
children: [a.layer, (() => {
if (n) return null;
- if (!t) return /* @__PURE__ */ (0, x.jsx)(qj, {
- message: vt(r),
+ if (!t) return /* @__PURE__ */ (0, x.jsx)(Hj, {
+ message: gt(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, x.jsx)(lO, {
- icon: NTe,
+ return /* @__PURE__ */ (0, x.jsx)(nO, {
+ icon: LTe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -52364,7 +52352,7 @@ function LTe({ 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)(TTe, {
+ children: u.map((t) => /* @__PURE__ */ (0, x.jsx)(OTe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -52373,7 +52361,7 @@ function LTe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(RTe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(HTe, { 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",
@@ -52383,7 +52371,7 @@ function LTe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function RTe({ onMore: e }) {
+function HTe({ onMore: e }) {
let t = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
let n = t.current;
@@ -52396,50 +52384,61 @@ function RTe({ onMore: e }) {
ref: t,
"data-load-more": "",
onClick: e,
- dangerouslySetInnerHTML: { __html: eo("继续载入中…") }
+ dangerouslySetInnerHTML: { __html: Qa("继续载入中…") }
});
}
//#endregion
//#region src/react/jav/jav-navigation.ts
-var dL = [
+var sL = [
["library", "我的馆藏"],
["discover", "发现"],
["wants", "想要"]
-], fL = (e) => dL.some(([t]) => t === e) ? e : "library", zTe = (e) => fL(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function BTe(e) {
+], cL = (e) => sL.some(([t]) => t === e) ? e : "library", UTe = (e) => cL(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function WTe(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
//#endregion
//#region src/jav-skeleton.ts
-var pL = (e) => `<span class="skeleton block h-5 rounded-md" style="width:${e}" aria-hidden="true"></span>`, VTe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, HTe = `<div class="flex h-11 items-center gap-2 rounded-2lg bg-background-tertiary-default px-3">${ZM("search", "size-5 shrink-0")}<span class="text-body-regular text-text-secondary">筛选番号、女优或标题</span></div>`, UTe = "inline-grid w-full min-w-0 gap-5 sm:grid-cols-2 lg:grid-cols-3";
-function mL(e) {
- return e === "wants" ? `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${pL("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${VTe("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">${pL("80%")}${pL("60%")}${pL("40%")}</div></div>`).join("")}</div>` : `<div class="${UTe}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div class="flex min-w-0 flex-col gap-3">${VTe("block w-full aspect-card-cover rounded-2lg")}${pL("85%")}${pL("65%")}${pL("55%")}<span class="skeleton block h-8 w-32 rounded-md"></span></div>`).join("")}</div>`;
-}
-function WTe(e) {
- return `<div class="peach-react"><div class="flex w-full flex-col gap-6"><div class="flex 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>${QM({
- variant: "secondary",
+var lL = (e) => `<span class="skeleton block h-5 rounded-md" style="width:${e}" aria-hidden="true"></span>`, GTe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, KTe = "inline-grid w-full min-w-0 gap-5 sm:grid-cols-2 lg:grid-cols-3";
+function uL(e) {
+ return e === "wants" ? `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${lL("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${GTe("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">${lL("80%")}${lL("60%")}${lL("40%")}</div></div>`).join("")}</div>` : `<div class="${KTe}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card class="flex min-w-0 flex-col gap-3">
+ ${GTe("block w-full aspect-card-cover rounded-2lg")}
+ <div class="flex h-10 flex-col">${lL("85%")}${lL("65%")}</div>
+ <div class="flex h-10 items-center gap-2"><span data-jav-skeleton-avatar class="skeleton block size-9 shrink-0 rounded-full"></span>${lL("55%")}</div>
+ ${lL("55%")}
+ <span data-jav-skeleton-actions class="skeleton block h-9 w-32 rounded-md"></span>
+ </div>`).join("")}</div>`;
+}
+function qTe(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>${YM({
+ variant: "primary",
label: "查找资源",
attrs: "disabled data-skeleton-action"
- })}</div><div class="flex gap-1">${dL.map(([t, n]) => `<span class="rounded-md px-3 py-2 text-body-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div>${HTe}${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>${pL("100%")}</div>` : ""}${mL(e)}</div></div>`;
+ })}</div>
+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${sL.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}">${JM("筛选番号、女优或标题", "", 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>${lL("100%")}</div>` : ""}${uL(e)}</div></div>`;
}
//#endregion
//#region src/react/activity/work-code.ts
-var hL = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), gL = (e, t) => !!hL(e) && hL(e) === hL(t);
+var dL = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), fL = (e, t) => !!dL(e) && dL(e) === dL(t);
//#endregion
//#region src/react/activity/resource-search.tsx
-function GTe({ className: e }) {
+function JTe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
"aria-hidden": !0,
- dangerouslySetInnerHTML: { __html: Qa("") }
+ dangerouslySetInnerHTML: { __html: Za("") }
});
}
-function KTe(e) {
+function YTe(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function qTe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => KTe(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 = mO(), S = (0, b.useRef)(null);
+function XTe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => YTe(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 = sO(), S = (0, b.useRef)(null);
(0, b.useEffect)(() => () => S.current?.abort(), []);
let C = () => {
if (!a.trim() || y.busy) return;
@@ -52449,13 +52448,13 @@ function qTe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
});
l && e.set("min_size", String(Math.round(Number(l) * 1024 ** 3))), d && e.set("max_size", String(Math.round(Number(d) * 1024 ** 3))), m(null), v("");
let t = a.trim();
- if (r?.(t), S.current?.abort(), y.run("search", (t) => B(`/api/resources/search?${e}`, t), (e) => {
+ if (r?.(t), S.current?.abort(), y.run("search", (t) => tn(`/api/resources/search?${e}`, t), (e) => {
m(e), g(t);
}), i) {
let e = new AbortController();
- S.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
+ S.current = e, tn(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => gL(e.code, t));
+ let r = (n.items || []).find((e) => fL(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -52476,18 +52475,18 @@ function qTe({ 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)(SO, { children: [
+ t ? /* @__PURE__ */ (0, x.jsxs)(hO, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
label: "按番号查找资源",
value: a,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? GTe : ND,
+ leadingIcon: y.busy ? JTe : ED,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -52497,7 +52496,7 @@ function qTe({ 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)(wO, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(SN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(_O, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(yN, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -52505,15 +52504,15 @@ function qTe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, x.jsx)(CN, {
+ /* @__PURE__ */ (0, x.jsx)(bN, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, x.jsx)(CN, {
+ /* @__PURE__ */ (0, x.jsx)(bN, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, x.jsx)(CN, {
+ /* @__PURE__ */ (0, x.jsx)(bN, {
id: "uncensored",
children: "无码"
})
@@ -52522,32 +52521,32 @@ function qTe({ 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)(BN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(LN, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
- }), /* @__PURE__ */ (0, x.jsx)(BN, {
+ }), /* @__PURE__ */ (0, x.jsx)(LN, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: d,
onChange: f
})]
}),
- y.busy ? /* @__PURE__ */ (0, x.jsx)(SO, {
+ y.busy ? /* @__PURE__ */ (0, x.jsx)(hO, {
role: "status",
children: "正在搜索资源"
}) : null,
- y.error ? /* @__PURE__ */ (0, x.jsx)(CO, { children: y.error }) : null,
- p?.error ? /* @__PURE__ */ (0, x.jsx)(SO, {
+ y.error ? /* @__PURE__ */ (0, x.jsx)(gO, { children: y.error }) : null,
+ p?.error ? /* @__PURE__ */ (0, x.jsx)(hO, {
role: "status",
children: p.error
}) : null,
- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, x.jsx)(SO, {
+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, x.jsx)(hO, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- p?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(SO, { children: e }, e)),
+ p?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(hO, { 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", {
@@ -52557,7 +52556,7 @@ function qTe({ 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)(SO, { children: [
+ /* @__PURE__ */ (0, x.jsx)(hO, { children: [
e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",
e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",
e.resolution ? `${e.resolution}p` : "",
@@ -52582,19 +52581,19 @@ function qTe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}
//#endregion
//#region src/react/activity/cloud-download-dialog.tsx
-var JTe = {
+var ZTe = {
submitted: "已提交离线下载,进度在活动页",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "远端已有同一任务,已接管"
};
-function _L({ prefill: e, close: t, receipt: n, provider: r }) {
- return /* @__PURE__ */ (0, x.jsx)(iF, {
+function pL({ prefill: e, close: t, receipt: n, provider: r }) {
+ return /* @__PURE__ */ (0, x.jsx)(tF, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, x.jsx)(YTe, {
+ children: e ? /* @__PURE__ */ (0, x.jsx)(QTe, {
prefill: e,
close: t,
receipt: n,
@@ -52602,20 +52601,26 @@ function _L({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function YTe({ prefill: e, close: t, receipt: n, provider: r }) {
- let i = ft({
- queryKey: RO,
- queryFn: ({ signal: e }) => B(`${LO}?limit=50`, e),
- refetchInterval: (e) => qpe(e.state.data)
- }), a = i.data, o = /* @__PURE__ */ (0, x.jsx)("div", {
- className: "flex flex-col gap-1 px-5 pt-5",
- children: /* @__PURE__ */ (0, x.jsx)(lk, {
+function QTe({ prefill: e, close: t, receipt: n, provider: r }) {
+ let i = ut({
+ queryKey: jO,
+ queryFn: ({ signal: e }) => tn(`${AO}?limit=50`, e),
+ refetchInterval: (e) => $pe(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)(nk, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
- })
+ }), /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "ghost",
+ iconOnly: !0,
+ leadingIcon: _D,
+ "aria-label": "关闭资源面板",
+ onClick: t
+ })]
});
- return a ? /* @__PURE__ */ (0, x.jsx)(XTe, {
+ return a ? /* @__PURE__ */ (0, x.jsx)($Te, {
header: o,
snapshot: a,
prefill: e,
@@ -52644,8 +52649,8 @@ function YTe({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function XTe({ 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 = mO(), E = (0, b.useRef)(null), D = (e) => {
+function $Te({ 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 = sO(), E = (0, b.useRef)(null), D = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
return /* @__PURE__ */ (0, x.jsxs)("form", {
@@ -52661,14 +52666,14 @@ function XTe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
title: _?.title,
origin: _?.origin
};
- S(""), T.run("submit", (e) => V(LO, t, "POST", e), (e) => {
- o.invalidateQueries({ queryKey: RO });
- let t = JTe[e.outcome];
+ S(""), T.run("submit", (e) => B(AO, t, "POST", e), (e) => {
+ o.invalidateQueries({ queryKey: jO });
+ let t = ZTe[e.outcome];
if (e.ok && t) {
i(t), r();
return;
}
- let n = Xpe(e.task);
+ let n = nme(e.task);
S(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");
});
},
@@ -52692,7 +52697,7 @@ function XTe({ 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)(SO, { children: [
+ }), _ ? /* @__PURE__ */ (0, x.jsx)(hO, { children: [
_.performers,
_.studio,
_.release_date,
@@ -52700,22 +52705,22 @@ function XTe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(qTe, {
+ /* @__PURE__ */ (0, x.jsx)(XTe, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- gL(e, _?.code) || (v(gL(e, n.code) ? n : null), f("")), m(e);
+ fL(e, _?.code) || (v(fL(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? gL(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? fL(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : gL(t?.code, n.code) ? t : null),
+ } : e : fL(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), E.current?.focus();
}
}),
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
ref: E,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -52727,24 +52732,24 @@ function XTe({ 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)(wO, { children: "下载到" }),
- /* @__PURE__ */ (0, x.jsx)(SN, {
+ /* @__PURE__ */ (0, x.jsx)(_O, { children: "下载到" }),
+ /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "下载到",
selectedKey: l,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && D(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ children: s.map((e) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, x.jsx)(IO, {
+ children: /* @__PURE__ */ (0, x.jsx)(kO, {
source: e.key,
label: e.label
})
}, e.key))
}),
- l === "115" ? /* @__PURE__ */ (0, x.jsx)(SO, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
+ l === "115" ? /* @__PURE__ */ (0, x.jsx)(hO, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
]
}),
t.available ? null : /* @__PURE__ */ (0, x.jsx)(K, {
@@ -52758,7 +52763,7 @@ function XTe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: "下载渠道设置"
})]
}),
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
label: "目标目录",
placeholder: "/云下载",
autoComplete: "off",
@@ -52766,17 +52771,17 @@ function XTe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
value: h,
onChange: g
}),
- n.code ? null : /* @__PURE__ */ (0, x.jsx)(BN, {
+ n.code ? null : /* @__PURE__ */ (0, x.jsx)(LN, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), gL(e, _?.code) || v(null);
+ m(e), fL(e, _?.code) || v(null);
}
}),
- y || T.error ? /* @__PURE__ */ (0, x.jsx)(CO, { children: y || T.error }) : null
+ y || T.error ? /* @__PURE__ */ (0, x.jsx)(gO, { children: y || T.error }) : null
]
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -52797,14 +52802,14 @@ function XTe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
}
//#endregion
//#region node_modules/d3-array/src/ascending.js
-function vL(e, t) {
+function mL(e, t) {
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
}
//#endregion
//#region node_modules/d3-array/src/bisector.js
-function yL(e) {
+function hL(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = ZTe(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = eEe(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -52830,15 +52835,15 @@ function yL(e) {
right: i
};
}
-function ZTe(e) {
- return (t, n) => vL(e(t), n);
+function eEe(e) {
+ return (t, n) => mL(e(t), n);
}
//#endregion
//#region node_modules/d3-array/src/number.js
-function QTe(e) {
+function tEe(e) {
return e === null ? NaN : +e;
}
-function* $Te(e, t) {
+function* nEe(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -52847,52 +52852,52 @@ function* $Te(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/bisect.js
-var eEe = yL(vL), bL = eEe.right;
-eEe.left, yL(QTe).center;
+var rEe = hL(mL), gL = rEe.right;
+rEe.left, hL(tEe).center;
//#endregion
//#region node_modules/internmap/src/index.js
-var tEe = class extends Map {
- constructor(e, t = aEe) {
+var iEe = class extends Map {
+ constructor(e, t = cEe) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
}), e != null) for (let [t, n] of e) this.set(t, n);
}
get(e) {
- return super.get(nEe(this, e));
+ return super.get(aEe(this, e));
}
has(e) {
- return super.has(nEe(this, e));
+ return super.has(aEe(this, e));
}
set(e, t) {
- return super.set(rEe(this, e), t);
+ return super.set(oEe(this, e), t);
}
delete(e) {
- return super.delete(iEe(this, e));
+ return super.delete(sEe(this, e));
}
};
-function nEe({ _intern: e, _key: t }, n) {
+function aEe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function rEe({ _intern: e, _key: t }, n) {
+function oEe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function iEe({ _intern: e, _key: t }, n) {
+function sEe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function aEe(e) {
+function cEe(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
//#region node_modules/d3-array/src/ticks.js
-var xL = Math.sqrt(50), SL = Math.sqrt(10), CL = Math.sqrt(2);
-function wL(e, t, n) {
+var _L = Math.sqrt(50), vL = Math.sqrt(10), yL = Math.sqrt(2);
+function bL(e, t, n) {
var r, i = -1, a, o, s;
if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];
- if ((r = t < e) && (a = e, e = t, t = a), (s = oEe(e, t, n)) === 0 || !isFinite(s)) return [];
+ if ((r = t < e) && (a = e, e = t, t = a), (s = lEe(e, t, n)) === 0 || !isFinite(s)) return [];
if (s > 0) {
let n = Math.round(e / s), r = Math.round(t / s);
for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;
@@ -52903,17 +52908,17 @@ function wL(e, t, n) {
}
return r && o.reverse(), o;
}
-function oEe(e, t, n) {
+function lEe(e, t, n) {
var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;
- return i >= 0 ? (a >= xL ? 10 : a >= SL ? 5 : a >= CL ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= xL ? 10 : a >= SL ? 5 : a >= CL ? 2 : 1);
+ return i >= 0 ? (a >= _L ? 10 : a >= vL ? 5 : a >= yL ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= _L ? 10 : a >= vL ? 5 : a >= yL ? 2 : 1);
}
-function TL(e, t, n) {
+function xL(e, t, n) {
var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;
- return a >= xL ? i *= 10 : a >= SL ? i *= 5 : a >= CL && (i *= 2), t < e ? -i : i;
+ return a >= _L ? i *= 10 : a >= vL ? i *= 5 : a >= yL && (i *= 2), t < e ? -i : i;
}
//#endregion
//#region node_modules/d3-array/src/max.js
-function EL(e, t) {
+function SL(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
else {
@@ -52924,7 +52929,7 @@ function EL(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/min.js
-function DL(e, t) {
+function CL(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
else {
@@ -52935,36 +52940,36 @@ function DL(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/quickselect.js
-function sEe(e, t, n = 0, r = e.length - 1, i = vL) {
+function uEe(e, t, n = 0, r = e.length - 1, i = mL) {
for (; r > n;) {
if (r - n > 600) {
let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);
- sEe(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
+ uEe(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
}
let a = e[t], o = n, s = r;
- for (OL(e, n, t), i(e[r], a) > 0 && OL(e, n, r); o < s;) {
- for (OL(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
+ for (wL(e, n, t), i(e[r], a) > 0 && wL(e, n, r); o < s;) {
+ for (wL(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
for (; i(e[s], a) > 0;) --s;
}
- i(e[n], a) === 0 ? OL(e, n, s) : (++s, OL(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
+ i(e[n], a) === 0 ? wL(e, n, s) : (++s, wL(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
}
return e;
}
-function OL(e, t, n) {
+function wL(e, t, n) {
let r = e[t];
e[t] = e[n], e[n] = r;
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function cEe(e, t, n) {
- if (e = Float64Array.from($Te(e, n)), r = e.length) {
- if ((t = +t) <= 0 || r < 2) return DL(e);
- if (t >= 1) return EL(e);
- var r, i = (r - 1) * t, a = Math.floor(i), o = EL(sEe(e, a).subarray(0, a + 1));
- return o + (DL(e.subarray(a + 1)) - o) * (i - a);
+function dEe(e, t, n) {
+ if (e = Float64Array.from(nEe(e, n)), r = e.length) {
+ if ((t = +t) <= 0 || r < 2) return CL(e);
+ if (t >= 1) return SL(e);
+ var r, i = (r - 1) * t, a = Math.floor(i), o = SL(uEe(e, a).subarray(0, a + 1));
+ return o + (CL(e.subarray(a + 1)) - o) * (i - a);
}
}
-function lEe(e, t, n = QTe) {
+function fEe(e, t, n = tEe) {
if (r = e.length) {
if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);
if (t >= 1) return +n(e[r - 1], r - 1, e);
@@ -52974,14 +52979,14 @@ function lEe(e, t, n = QTe) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function uEe(e, t, n) {
+function pEe(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
}
//#endregion
//#region node_modules/d3-array/src/sum.js
-function kL(e, t) {
+function TL(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -52992,66 +52997,66 @@ function kL(e, t) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function dEe(e, t) {
+function mEe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
//#region node_modules/d3-sankey/src/constant.js
-function AL(e) {
+function EL(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-sankey/src/sankey.js
-function fEe(e, t) {
- return jL(e.source, t.source) || e.index - t.index;
+function hEe(e, t) {
+ return DL(e.source, t.source) || e.index - t.index;
}
-function pEe(e, t) {
- return jL(e.target, t.target) || e.index - t.index;
+function gEe(e, t) {
+ return DL(e.target, t.target) || e.index - t.index;
}
-function jL(e, t) {
+function DL(e, t) {
return e.y0 - t.y0;
}
-function ML(e) {
+function OL(e) {
return e.value;
}
-function mEe(e) {
+function _Ee(e) {
return e.index;
}
-function hEe(e) {
+function vEe(e) {
return e.nodes;
}
-function gEe(e) {
+function yEe(e) {
return e.links;
}
-function _Ee(e, t) {
+function bEe(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function vEe({ nodes: e }) {
+function xEe({ nodes: e }) {
for (let t of e) {
let e = t.y0, n = e;
for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function yEe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = mEe, c = dEe, l, u, d = hEe, f = gEe, p = 6;
+function SEe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = _Ee, c = mEe, l, u, d = vEe, f = yEe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
links: f.apply(null, arguments)
};
- return h(e), g(e), _(e), v(e), x(e), vEe(e), e;
+ return h(e), g(e), _(e), v(e), x(e), xEe(e), e;
}
m.update = function(e) {
- return vEe(e), e;
+ return xEe(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : AL(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : EL(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : AL(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : EL(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -53059,9 +53064,9 @@ function yEe() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : AL(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : EL(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : AL(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : EL(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -53077,12 +53082,12 @@ function yEe() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = _Ee(n, t)), typeof i != "object" && (i = r.target = _Ee(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = bEe(n, t)), typeof i != "object" && (i = r.target = bEe(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
}
if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);
}
function g({ nodes: e }) {
- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(kL(t.sourceLinks, ML), kL(t.targetLinks, ML)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(TL(t.sourceLinks, OL), TL(t.targetLinks, OL)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -53107,7 +53112,7 @@ function yEe() {
}
}
function y({ nodes: t }) {
- let r = EL(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = SL(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
for (let n of t) {
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
@@ -53116,7 +53121,7 @@ function yEe() {
return o;
}
function b(e) {
- let n = DL(e, (e) => (r - t - (e.length - 1) * o) / kL(e, ML));
+ let n = CL(e, (e) => (r - t - (e.length - 1) * o) / TL(e, OL));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -53133,7 +53138,7 @@ function yEe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (EL(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (SL(n, (e) => e.length) - 1)), b(n);
for (let e = 0; e < p; ++e) {
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
C(n, t, r), S(n, t, r);
@@ -53152,7 +53157,7 @@ function yEe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(jL), w(i, n);
+ l === void 0 && i.sort(DL), w(i, n);
}
}
function C(e, t, n) {
@@ -53168,7 +53173,7 @@ function yEe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(jL), w(i, n);
+ l === void 0 && i.sort(DL), w(i, n);
}
}
function w(e, n) {
@@ -53189,12 +53194,12 @@ function yEe() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(pEe);
- for (let { target: { targetLinks: t } } of e) t.sort(fEe);
+ for (let { source: { sourceLinks: e } } of t) e.sort(gEe);
+ for (let { target: { targetLinks: t } } of e) t.sort(hEe);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(pEe), n.sort(fEe);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(gEe), n.sort(hEe);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -53224,15 +53229,15 @@ function yEe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var NL = Math.PI, PL = 2 * NL, FL = 1e-6, bEe = PL - FL;
-function IL() {
+var kL = Math.PI, AL = 2 * kL, jL = 1e-6, CEe = AL - jL;
+function ML() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function xEe() {
- return new IL();
+function wEe() {
+ return new ML();
}
-IL.prototype = xEe.prototype = {
- constructor: IL,
+ML.prototype = wEe.prototype = {
+ constructor: ML,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -53253,11 +53258,11 @@ IL.prototype = xEe.prototype = {
var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (i < 0) throw Error("negative radius: " + i);
if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);
- else if (d > FL) {
- if (!(Math.abs(u * s - c * l) > FL) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > jL) {
+ if (!(Math.abs(u * s - c * l) > jL) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
else {
- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((NL - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > FL && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((kL - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > jL && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
}
}
},
@@ -53265,7 +53270,7 @@ IL.prototype = xEe.prototype = {
e = +e, t = +t, n = +n, a = !!a;
var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
if (n < 0) throw Error("negative radius: " + n);
- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > FL || Math.abs(this._y1 - l) > FL) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % PL + PL), d > bEe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > FL && (this._ += "A" + n + "," + n + ",0," + +(d >= NL) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > jL || Math.abs(this._y1 - l) > jL) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % AL + AL), d > CEe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > jL && (this._ += "A" + n + "," + n + ",0," + +(d >= kL) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
},
rect: function(e, t, n, r) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";
@@ -53276,83 +53281,83 @@ IL.prototype = xEe.prototype = {
};
//#endregion
//#region node_modules/d3-shape/src/constant.js
-function SEe(e) {
+function TEe(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function CEe(e) {
+function EEe(e) {
return e[0];
}
-function wEe(e) {
+function DEe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var TEe = Array.prototype.slice;
+var OEe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function EEe(e) {
+function kEe(e) {
return e.source;
}
-function DEe(e) {
+function AEe(e) {
return e.target;
}
-function OEe(e) {
- var t = EEe, n = DEe, r = CEe, i = wEe, a = null;
+function jEe(e) {
+ var t = kEe, n = AEe, r = EEe, i = DEe, a = null;
function o() {
- var o, s = TEe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = xEe(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
+ var o, s = OEe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = wEe(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
}
return o.source = function(e) {
return arguments.length ? (t = e, o) : t;
}, o.target = function(e) {
return arguments.length ? (n = e, o) : n;
}, o.x = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : SEe(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : TEe(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : SEe(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : TEe(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function kEe(e, t, n, r, i) {
+function MEe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function AEe() {
- return OEe(kEe);
+function NEe() {
+ return jEe(MEe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function jEe(e) {
+function PEe(e) {
return [e.source.x1, e.y0];
}
-function MEe(e) {
+function FEe(e) {
return [e.target.x0, e.y1];
}
-function NEe() {
- return AEe().source(jEe).target(MEe);
+function IEe() {
+ return NEe().source(PEe).target(FEe);
}
//#endregion
//#region src/react/stats/stats.ts
-var PEe = "/api/stats", FEe = ["stats"], IEe = (e) => B(PEe, e);
-async function LEe(e) {
- await H.fetchQuery({
- queryKey: FEe,
- queryFn: () => IEe(e)
- });
-}
-var LL = (e) => e != null && Number.isFinite(e), RL = (e) => LL(e) ? e.toLocaleString() : "未取得", REe = (e, t) => LL(e) && LL(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, zL = (e, t) => {
- let n = REe(e, t);
- return !n && LL(e) && e > 0 && LL(t) && t > 0 ? "<1%" : `${n}%`;
-}, zEe = (e) => {
- if (!LL(e)) return "未取得";
+var LEe = "/api/stats", REe = ["stats"], zEe = (e) => tn(LEe, e);
+async function BEe(e) {
+ await V.fetchQuery({
+ queryKey: REe,
+ queryFn: () => zEe(e)
+ });
+}
+var NL = (e) => e != null && Number.isFinite(e), PL = (e) => NL(e) ? e.toLocaleString() : "未取得", VEe = (e, t) => NL(e) && NL(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, FL = (e, t) => {
+ let n = VEe(e, t);
+ return !n && NL(e) && e > 0 && NL(t) && t > 0 ? "<1%" : `${n}%`;
+}, HEe = (e) => {
+ if (!NL(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)} 分钟`;
-}, BEe = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, VEe = (e) => (e.max_reached || 0) * 100, HEe = (e) => e.kind === "online" ? "在线直接观看" : BEe(e) < VEe(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", UEe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`;
-function WEe(e, t = 6) {
+}, UEe = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, WEe = (e) => (e.max_reached || 0) * 100, GEe = (e) => e.kind === "online" ? "在线直接观看" : UEe(e) < WEe(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", KEe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`;
+function qEe(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);
@@ -53362,7 +53367,7 @@ function WEe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var GEe = (e) => Math.max(1, ...e) * 1.1, KEe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, qEe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), JEe = {
+var JEe = (e) => Math.max(1, ...e) * 1.1, YEe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, XEe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), ZEe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -53370,18 +53375,18 @@ var GEe = (e) => Math.max(1, ...e) * 1.1, KEe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, YEe = (e) => e.map((e) => ({
- name: JEe[e.k] ?? e.k,
+}, QEe = (e) => e.map((e) => ({
+ name: ZEe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), XEe = {
+})).sort((e, t) => t.value - e.value), $Ee = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, ZEe = (e, t = {}) => e.map((e) => ({
+}, eDe = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), QEe = (e) => ZEe(e, XEe), $Ee = [
+})), tDe = (e) => eDe(e, $Ee), nDe = [
[
1,
1,
@@ -53417,32 +53422,32 @@ var GEe = (e) => Math.max(1, ...e) * 1.1, KEe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], eDe = (e) => $Ee.map(([t, n, r]) => ({
+], rDe = (e) => nDe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), tDe = "/api/taste", nDe = "/api/taste/refresh", rDe = "/api/taste/import", iDe = "/api/taste/source", BL = (e) => ["taste", e], aDe = ["taste", "refresh"], oDe = [
+})), iDe = "/api/taste", aDe = "/api/taste/refresh", oDe = "/api/taste/import", sDe = "/api/taste/source", IL = (e) => ["taste", e], cDe = ["taste", "refresh"], lDe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], VL = (e, t) => B(`${tDe}?window=${e}`, t), sDe = (e) => B(nDe, e);
-async function cDe(e, t) {
- await H.fetchQuery({
- queryKey: BL(e),
- queryFn: () => VL(e, t)
+], LL = (e, t) => tn(`${iDe}?window=${e}`, t), uDe = (e) => tn(aDe, e);
+async function dDe(e, t) {
+ await V.fetchQuery({
+ queryKey: IL(e),
+ queryFn: () => LL(e, t)
});
}
-var lDe = (e) => V(nDe, {
+var fDe = (e) => B(aDe, {
window: e,
background: !0
-}), uDe = (e, t) => V(iDe, {
+}), pDe = (e, t) => B(sDe, {
operation: "remove",
source_key: e,
window: t
});
-async function dDe(e) {
- let t = await fetch(rDe, {
+async function mDe(e) {
+ let t = await fetch(oDe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -53456,51 +53461,51 @@ async function dDe(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new tn(e || `导入失败(${t.status})`, t.status, n);
+ throw new $t(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var fDe = 1e4, HL = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function pDe(e) {
+var hDe = 1e4, RL = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function gDe(e) {
let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;
- return !e.range_start && !e.range_end ? t : `${t} · ${HL(e.range_start)}—${HL(e.range_end)}`;
+ return !e.range_start && !e.range_end ? t : `${t} · ${RL(e.range_start)}—${RL(e.range_end)}`;
}
-var mDe = zEe, hDe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), gDe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function _De(e) {
+var _De = HEe, vDe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), yDe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function bDe(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${Number(e.web_visits).toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");
}
-function vDe(e) {
- let t = e.map(gDe), n = Math.max(1, ...t);
+function xDe(e) {
+ let t = e.map(yDe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var yDe = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var SDe = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
name: e.name,
value: Number(e.score)
})).sort((e, t) => t.value - e.value).slice(0, t);
-function bDe(e) {
- let t = yDe(e, 6);
+function CDe(e) {
+ let t = SDe(e, 6);
return t.length < 3 ? [] : t;
}
-var xDe = {
+var wDe = {
width: 720,
height: 435
-}, SDe = {
+}, TDe = {
source: 145,
target: 545
-}, CDe = 30, wDe = 240;
-function TDe(e, t, n) {
+}, EDe = 30, DDe = 240;
+function ODe(e, t, n) {
let r = /* @__PURE__ */ new Map();
for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);
if (r.size <= 12) return (e) => e;
let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);
return (e) => a.has(e) ? e : o;
}
-function EDe(e = []) {
+function kDe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = TDe(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = TDe(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
+ let n = ODe(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = ODe(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
for (let e of t) {
let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);
s ? s.value += e.value : i.set(o, {
@@ -53509,7 +53514,7 @@ function EDe(e = []) {
value: e.value
});
}
- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * CDe + wDe), u = yEe().nodeId((e) => e.id).nodeWidth(10).nodePadding(CDe).extent([[155, 16], [535, l]])({
+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * EDe + DDe), u = SEe().nodeId((e) => e.id).nodeWidth(10).nodePadding(EDe).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -53524,7 +53529,7 @@ function EDe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = NEe();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = IEe();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -53552,19 +53557,19 @@ function EDe(e = []) {
};
}),
total: d,
- height: l + xDe.height - 404
+ height: l + wDe.height - 404
};
}
-var DDe = (e) => Yt(e, 17), ODe = "peach.want-resources.v1", kDe = 864e5;
-function UL(e, t = Date.now()) {
+var ADe = (e) => qt(e, 17), jDe = "peach.want-resources.v1", MDe = 864e5;
+function zL(e, t = Date.now()) {
let n = Date.parse(e || ""), r = new Date(t), i = new Date(Date.UTC(r.getFullYear(), r.getMonth(), r.getDate())), a = i.getUTCDate();
i.setUTCHours(0, 0, 0, 0), i.setUTCDate(1), i.setUTCMonth(i.getUTCMonth() - 3);
let o = new Date(Date.UTC(i.getUTCFullYear(), i.getUTCMonth() + 1, 0)).getUTCDate();
- return i.setUTCDate(Math.min(a, o)), Number.isFinite(n) && n < i.getTime() ? 365 * kDe : 7 * kDe;
+ return i.setUTCDate(Math.min(a, o)), Number.isFinite(n) && n < i.getTime() ? 365 * MDe : 7 * MDe;
}
-function ADe() {
+function NDe() {
try {
- let e = JSON.parse(localStorage.getItem(ODe) || "[]");
+ let e = JSON.parse(localStorage.getItem(jDe) || "[]");
return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && (e.result.items.length > 0 || !e.result.warnings?.length) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
@@ -53574,14 +53579,14 @@ function ADe() {
return [];
}
}
-function jDe(e, t) {
- let n = ADe().find((t) => t.code === e);
- return n && Date.now() - n.saved < UL(t) ? n : void 0;
+function PDe(e, t) {
+ let n = NDe().find((t) => t.code === e);
+ return n && Date.now() - n.saved < zL(t) ? n : void 0;
}
-function MDe(e, t) {
+function FDe(e, t) {
if (t.state === "ready") try {
- let n = ADe().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(ODe, JSON.stringify([{
+ let n = NDe().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(jDe, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -53590,7 +53595,7 @@ function MDe(e, t) {
}
//#endregion
//#region src/react/wants/want-magnets.tsx
-function WL({ icon: e, children: t }) {
+function BL({ icon: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex items-center gap-1",
children: [/* @__PURE__ */ (0, x.jsx)(e, {
@@ -53599,8 +53604,8 @@ function WL({ icon: e, children: t }) {
}), t]
});
}
-function NDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a }) {
- let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(typeof IntersectionObserver > "u"), [l, u] = (0, b.useState)([]), d = mO(), f = C(), p = (0, b.useRef)(!1), m = (0, b.useMemo)(() => jDe(e.code || "", e.release_date), [e.code, e.release_date]);
+function IDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a }) {
+ let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(typeof IntersectionObserver > "u"), [l, u] = (0, b.useState)([]), d = sO(), f = C(), p = (0, b.useRef)(!1), m = (0, b.useMemo)(() => PDe(e.code || "", e.release_date), [e.code, e.release_date]);
(0, b.useEffect)(() => {
if (!o.current || s) return;
let e = new IntersectionObserver((t) => {
@@ -53608,23 +53613,23 @@ function NDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}, { rootMargin: "100px" });
return e.observe(o.current), () => e.disconnect();
}, [s]);
- let h = ft({
+ let h = ut({
queryKey: [
"want-magnets",
e.id,
e.code
],
queryFn: async ({ signal: t }) => {
- let n = p.current, r = await B(`/api/wants/magnets?id=${e.id}${n ? "&refresh=1" : ""}`, t);
- return p.current = n && r.state === "busy", MDe(e.code || "", r), r;
+ let n = p.current, r = await tn(`/api/wants/magnets?id=${e.id}${n ? "&refresh=1" : ""}`, t);
+ return p.current = n && r.state === "busy", FDe(e.code || "", r), r;
},
initialData: m?.result,
initialDataUpdatedAt: m?.saved,
enabled: s,
retry: !1,
- staleTime: (t) => Date.now() - t.state.dataUpdatedAt < (t.state.data?.state === "error" ? 6e4 : UL(e.release_date)) ? Infinity : 0,
+ staleTime: (t) => Date.now() - t.state.dataUpdatedAt < (t.state.data?.state === "error" ? 6e4 : zL(e.release_date)) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => Date.now() - t.state.dataUpdatedAt >= (t.state.data?.state === "error" ? 6e4 : UL(e.release_date)) && "always",
+ refetchOnMount: (t) => Date.now() - t.state.dataUpdatedAt >= (t.state.data?.state === "error" ? 6e4 : zL(e.release_date)) && "always",
refetchOnWindowFocus: !1,
refetchInterval: (e) => e.state.data?.state === "busy" && 3e3
});
@@ -53633,7 +53638,7 @@ function NDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}, [h.data?.source_url, a]);
let g = n?.providers.find((e) => e.key === r && e.configured), _ = (r) => {
!t && n?.available && g && r.protocol === "magnet" && d.run(r.id, async (t) => {
- let n = await V(LO, {
+ let n = await B(AO, {
magnet: r.uri,
provider: g.key,
target: g.target,
@@ -53644,7 +53649,7 @@ function NDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
if (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");
return n;
}, (e) => {
- u((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), f.invalidateQueries({ queryKey: RO });
+ u((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), f.invalidateQueries({ queryKey: jO });
});
}, v = (e) => {
d.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -53662,7 +53667,7 @@ function NDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: MD,
+ leadingIcon: TD,
...q(y),
onClick: () => {
y || (p.current = !0, h.refetch());
@@ -53670,7 +53675,7 @@ function NDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
children: "重新查询"
})]
}),
- y ? /* @__PURE__ */ (0, x.jsx)(uO, { label: "正在查找资源链接…" }) : null,
+ y ? /* @__PURE__ */ (0, x.jsx)(rO, { label: "正在查找资源链接…" }) : null,
S ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "资源链接未取得",
@@ -53699,18 +53704,18 @@ function NDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(aO, {
+ children: [/* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex items-center gap-1",
- children: [e.protocol === "magnet" ? /* @__PURE__ */ (0, x.jsx)(Xde, {
+ children: [e.protocol === "magnet" ? /* @__PURE__ */ (0, x.jsx)(nfe, {
"aria-hidden": !0,
className: "size-3.5"
- }) : e.protocol === "ed2k" ? /* @__PURE__ */ (0, x.jsx)(Ade, {
+ }) : e.protocol === "ed2k" ? /* @__PURE__ */ (0, x.jsx)(Ide, {
"aria-hidden": !0,
className: "size-3.5"
- }) : /* @__PURE__ */ (0, x.jsx)(Bde, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Kde, {
"aria-hidden": !0,
className: "size-3.5"
}), e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ed2k" : "网页链接"]
@@ -53722,24 +53727,24 @@ function NDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap gap-x-3 gap-y-1 break-words text-caption-1-regular text-text-secondary",
children: [
- /* @__PURE__ */ (0, x.jsx)(WL, {
- icon: Bde,
+ /* @__PURE__ */ (0, x.jsx)(BL, {
+ icon: Kde,
children: e.source
}),
- /* @__PURE__ */ (0, x.jsx)(WL, {
- icon: kD,
+ /* @__PURE__ */ (0, x.jsx)(BL, {
+ icon: SD,
children: e.size || "大小未知"
}),
- e.files ? /* @__PURE__ */ (0, x.jsx)(WL, {
- icon: jde,
+ e.files ? /* @__PURE__ */ (0, x.jsx)(BL, {
+ icon: Lde,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, x.jsx)(WL, {
- icon: Cde,
+ /* @__PURE__ */ (0, x.jsx)(BL, {
+ icon: kde,
children: e.date ? `${e.source === "JavDB 评论" ? "评论" : "收录"} ${e.date}` : "日期未知"
}),
- e.attributes.map((e) => /* @__PURE__ */ (0, x.jsx)(WL, {
- icon: jD,
+ e.attributes.map((e) => /* @__PURE__ */ (0, x.jsx)(BL, {
+ icon: wD,
children: e
}, e))
]
@@ -53747,11 +53752,11 @@ function NDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 flex-wrap gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(sO, {
+ /* @__PURE__ */ (0, x.jsx)(eO, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: OD,
+ trailingIcon: xD,
href: e.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -53760,7 +53765,7 @@ function NDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: kde,
+ leadingIcon: Fde,
...q(d.busy === `copy:${e.id}`),
onClick: () => v(e),
children: "复制链接"
@@ -53768,7 +53773,7 @@ function NDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
e.protocol === "magnet" ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
size: "small",
- leadingIcon: g ? Wpe[g.key] : Ede,
+ leadingIcon: g ? Xpe[g.key] : Mde,
title: g ? `下载到 ${g.label}` : void 0,
disabled: t || !n?.available || !g || r,
...q(d.busy === e.id),
@@ -53782,7 +53787,7 @@ function NDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
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)(OO, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, x.jsx)(xO, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -53795,41 +53800,41 @@ function NDe({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}
//#endregion
//#region src/react/wants/wants.ts
-var GL = "/api/wants", KL = ["wants"], PDe = (e) => [
+var VL = "/api/wants", HL = ["wants"], LDe = (e) => [
"wants",
"follow",
e
-], FDe = [
+], RDe = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], IDe = (e) => B(GL, e), LDe = (e, t) => B(`${GL}?follow=${encodeURIComponent(e)}`, t), qL = (e, t) => V(GL, {
+], zDe = (e) => tn(VL, e), BDe = (e, t) => tn(`${VL}?follow=${encodeURIComponent(e)}`, t), UL = (e, t) => B(VL, {
action: "add",
...e
-}, "POST", t), RDe = (e, t) => V(GL, {
+}, "POST", t), VDe = (e, t) => B(VL, {
action: "remove",
ids: e
-}, "POST", t), zDe = (e, t) => V(GL, {
+}, "POST", t), HDe = (e, t) => B(VL, {
action: "reset",
ids: e
-}, "POST", t), JL = () => H.invalidateQueries({ queryKey: KL }), YL = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function BDe(e) {
+}, "POST", t), WL = () => V.invalidateQueries({ queryKey: HL }), GL = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function UDe(e) {
return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";
}
//#endregion
//#region src/react/wants/want-list.tsx
-var VDe = {
+var WDe = {
code: "手动添加",
feed: "订阅新作",
follow: "关注"
-}, HDe = (e) => [
+}, GDe = (e) => [
e.release_date,
e.studio,
e.performers,
- VDe[e.origin]
+ WDe[e.origin]
].filter(Boolean).join(" · ");
-function UDe({ want: e }) {
+function KDe({ 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", {
@@ -53845,39 +53850,39 @@ function UDe({ want: e }) {
}) : null]
});
}
-function WDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
+function qDe({ 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: cO({
+ className: tO({
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)(UDe, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(KDe, { 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: YL(e)
+ children: GL(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]
}),
- HDe(e) ? /* @__PURE__ */ (0, x.jsx)("p", {
+ GDe(e) ? /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: HDe(e)
+ children: GDe(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: BDe(e)
+ children: UDe(e)
}) : null,
- e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(qF, {
+ e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(WF, {
text: e.scrape_error,
prefix: "资料未取得:",
tone: "muted"
@@ -53885,11 +53890,11 @@ function WDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "mt-1 flex flex-wrap items-center gap-2",
children: [
- d ? /* @__PURE__ */ (0, x.jsx)(sO, {
+ d ? /* @__PURE__ */ (0, x.jsx)(eO, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: OD,
+ trailingIcon: xD,
href: d,
target: "_blank",
rel: "noopener noreferrer",
@@ -53912,7 +53917,7 @@ function WDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: DD,
+ leadingIcon: bD,
disabled: t,
...q(n === `remove:${e.id}`),
onClick: i,
@@ -53922,7 +53927,7 @@ function WDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
})
]
})]
- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(NDe, {
+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(IDe, {
want: e,
readOnly: t,
downloads: o,
@@ -53932,8 +53937,8 @@ function WDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
}) : null]
});
}
-function GDe({ phase: e, label: t, rows: n, row: r }) {
- let [i, a] = (0, b.useState)(1), o = ar(n.length, 20, i);
+function JDe({ phase: e, label: t, rows: n, row: r }) {
+ let [i, a] = (0, b.useState)(1), o = ir(n.length, 20, i);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": t,
"data-want-phase": e,
@@ -53956,7 +53961,7 @@ function GDe({ phase: e, label: t, rows: n, row: r }) {
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${(o.start + 1).toLocaleString()}–${o.end.toLocaleString()} / ${o.total.toLocaleString()} 条`
- }), /* @__PURE__ */ (0, x.jsx)(qI, {
+ }), /* @__PURE__ */ (0, x.jsx)(WI, {
label: `${t}分页`,
page: o.page,
pages: o.pages,
@@ -53966,33 +53971,33 @@ function GDe({ phase: e, label: t, rows: n, row: r }) {
]
});
}
-function KDe({ readOnly: e, toast: t, query: n = "" }) {
- let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), s = mO(), c = ft({
- queryKey: KL,
- queryFn: ({ signal: e }) => IDe(e),
+function YDe({ readOnly: e, toast: t, query: n = "" }) {
+ let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), s = sO(), c = ut({
+ queryKey: HL,
+ queryFn: ({ signal: e }) => zDe(e),
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), l = () => {
let n = r.trim();
- n && !e && s.run("add", (e) => qL({ code: n }, e), (e) => {
- t(e.created ? `已加入想要:${YL(e.want)}` : `${YL(e.want)} 已经在想要里`), i(""), JL();
+ n && !e && s.run("add", (e) => UL({ code: n }, e), (e) => {
+ t(e.created ? `已加入想要:${GL(e.want)}` : `${GL(e.want)} 已经在想要里`), i(""), WL();
});
}, u = (e) => {
e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), l());
}, d = (e) => {
- s.run(`remove:${e.id}`, (t) => RDe([e.id], t), () => {
- t(`已移除:${YL(e)}`), JL();
+ s.run(`remove:${e.id}`, (t) => VDe([e.id], t), () => {
+ t(`已移除:${GL(e)}`), WL();
});
}, f = (e) => {
- s.run(`reset:${e.id}`, (t) => zDe([e.id], t), () => {
- t(`${YL(e)} 回到待找`), JL();
+ s.run(`reset:${e.id}`, (t) => HDe([e.id], t), () => {
+ t(`${GL(e)} 回到待找`), WL();
});
}, p = c.data, m = (p?.items || []).filter((e) => !n || [
e.code,
e.title,
e.performers
- ].join(" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())), h = ft({
- queryKey: RO,
- queryFn: ({ signal: e }) => B(`${LO}?limit=100`, e),
+ ].join(" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())), h = ut({
+ queryKey: jO,
+ queryFn: ({ signal: e }) => tn(`${AO}?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", {
@@ -54000,7 +54005,7 @@ function KDe({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-col gap-8",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: cO({
+ className: tO({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -54013,7 +54018,7 @@ function KDe({ 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)(BN, {
+ children: /* @__PURE__ */ (0, x.jsx)(LN, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -54044,9 +54049,9 @@ function KDe({ readOnly: e, toast: t, query: n = "" }) {
c.isPending ? /* @__PURE__ */ (0, x.jsx)("div", {
role: "status",
"aria-label": "正在读取想要",
- dangerouslySetInnerHTML: { __html: mL("wants") }
+ dangerouslySetInnerHTML: { __html: uL("wants") }
}) : null,
- p?.scraping ? /* @__PURE__ */ (0, x.jsx)(SO, {
+ p?.scraping ? /* @__PURE__ */ (0, x.jsx)(hO, {
role: "status",
children: "正在给刚加入的番号取资料与封面。"
}) : null,
@@ -54066,19 +54071,19 @@ function KDe({ readOnly: e, toast: t, query: n = "" }) {
tone: "neutral",
children: "云下载只在账本写入端可用。"
}) : null,
- p && !m.length ? /* @__PURE__ */ (0, x.jsx)(lO, {
+ p && !m.length ? /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: Ude,
+ icon: Yde,
title: n ? "没有符合条件的作品" : "还没有想要的作品",
children: n ? "试试其他番号、女优或标题。" : "输入番号,添加想看的作品。"
}) : null,
- FDe.map(([n, r]) => {
+ RDe.map(([n, r]) => {
let i = m.filter((e) => e.phase === n);
- return i.length ? /* @__PURE__ */ (0, x.jsx)(GDe, {
+ return i.length ? /* @__PURE__ */ (0, x.jsx)(JDe, {
phase: n,
label: r,
rows: i,
- row: (n) => /* @__PURE__ */ (0, x.jsx)(WDe, {
+ row: (n) => /* @__PURE__ */ (0, x.jsx)(qDe, {
want: n,
readOnly: e,
busy: s.busy,
@@ -54099,7 +54104,7 @@ function KDe({ readOnly: e, toast: t, query: n = "" }) {
}, n.id)
}, n) : null;
}),
- /* @__PURE__ */ (0, x.jsx)(_L, {
+ /* @__PURE__ */ (0, x.jsx)(pL, {
prefill: a,
close: () => o(null),
receipt: t,
@@ -54110,19 +54115,19 @@ function KDe({ readOnly: e, toast: t, query: n = "" }) {
}
//#endregion
//#region src/react/jav/jav.ts
-async function qDe(e, t) {
- e === "wants" ? await H.fetchQuery({
- queryKey: KL,
- queryFn: () => IDe(t)
- }) : e === "discover" && await Promise.all([H.fetchQuery({
- queryKey: BL("all"),
- queryFn: () => VL("all", t)
- }), H.fetchQuery({
+async function XDe(e, t) {
+ e === "wants" ? await V.fetchQuery({
+ queryKey: HL,
+ queryFn: () => zDe(t)
+ }) : e === "discover" && await Promise.all([V.fetchQuery({
+ queryKey: IL("all"),
+ queryFn: () => LL("all", t)
+ }), V.fetchQuery({
queryKey: ["jav-discoveries"],
- queryFn: () => B("/api/feeds/discoveries?limit=100", t)
+ queryFn: () => tn("/api/feeds/discoveries?limit=100", t)
})]);
}
-function JDe(e, t) {
+function ZDe(e, t) {
let n = [...t.rankings?.peach_performers || [], ...t.rankings?.browser_creators || []];
return e.map((e) => {
let t = (e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean), r = n.filter((n) => (e.performer_refs || []).some((e) => n.entity_id != null && e.id === n.entity_id || e.name === n.name) || t.includes(n.name));
@@ -54135,7 +54140,7 @@ function JDe(e, t) {
}
//#endregion
//#region src/react/jav/jav-header.tsx
-function YDe({ tab: e, navigate: t, find: n }) {
+function QDe({ 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", {
@@ -54145,29 +54150,29 @@ function YDe({ tab: e, navigate: t, find: n }) {
className: "text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium",
children: "JAV"
}), /* @__PURE__ */ (0, x.jsx)(G, {
- variant: "secondary",
+ variant: "primary",
onClick: n,
children: "查找资源"
})]
- }), /* @__PURE__ */ (0, x.jsx)(tL, {
- tabs: dL.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, x.jsx)(QI, {
+ tabs: sL.map(([e, t]) => ({
value: e,
label: t
})),
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(zTe(e))
+ onChange: (e) => t(UTe(e))
})]
});
}
-function XDe({ navigate: e, receipt: t }) {
+function $De({ navigate: e, receipt: t }) {
let [n, r] = (0, b.useState)(null);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(YDe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(QDe, {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, x.jsx)(_L, {
+ }), /* @__PURE__ */ (0, x.jsx)(pL, {
prefill: n,
close: () => r(null),
receipt: t
@@ -54175,12 +54180,13 @@ function XDe({ navigate: e, receipt: t }) {
}
//#endregion
//#region src/react/jav/jav-page.tsx
-function ZDe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
- let [i, a] = (0, b.useState)(null), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)("");
+var eOe = mj("search");
+function tOe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
+ let [i, a] = (0, b.useState)(null), [o, s] = (0, b.useState)("");
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex w-full flex-col gap-6",
children: [
- /* @__PURE__ */ (0, x.jsx)(YDe, {
+ /* @__PURE__ */ (0, x.jsx)(QDe, {
tab: e,
navigate: n,
find: () => a({})
@@ -54188,28 +54194,30 @@ function ZDe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
/* @__PURE__ */ (0, x.jsx)("form", {
"aria-label": e === "discover" ? "筛选推荐" : "筛选想要",
onSubmit: (e) => {
- e.preventDefault(), l(o.trim());
+ e.preventDefault();
},
- children: /* @__PURE__ */ (0, x.jsx)(BN, {
+ children: /* @__PURE__ */ (0, x.jsx)(LN, {
+ type: "search",
"aria-label": e === "discover" ? "筛选推荐" : "筛选想要",
placeholder: "筛选番号、女优或标题",
- leadingIcon: ND,
+ leadingIcon: eOe,
value: o,
onChange: s,
enterKeyHint: "search"
})
}),
- e === "discover" ? /* @__PURE__ */ (0, x.jsx)(QDe, {
+ e === "discover" ? /* @__PURE__ */ (0, x.jsx)(nOe, {
readOnly: t,
receipt: r,
resource: a,
- query: c
- }) : /* @__PURE__ */ (0, x.jsx)(KDe, {
+ query: o.trim(),
+ navigate: n
+ }) : /* @__PURE__ */ (0, x.jsx)(YDe, {
readOnly: t,
toast: r,
- query: c
+ query: o.trim()
}),
- /* @__PURE__ */ (0, x.jsx)(_L, {
+ /* @__PURE__ */ (0, x.jsx)(pL, {
prefill: i,
close: () => a(null),
receipt: r
@@ -54217,88 +54225,115 @@ function ZDe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
]
});
}
-function QDe({ readOnly: e, receipt: t, resource: n, query: r }) {
- let i = ft({
- queryKey: BL("all"),
- queryFn: ({ signal: e }) => VL("all", e)
- }), a = ft({
+function nOe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i }) {
+ let a = ut({
+ queryKey: IL("all"),
+ queryFn: ({ signal: e }) => LL("all", e)
+ }), o = ut({
queryKey: ["jav-discoveries"],
- queryFn: ({ signal: e }) => B("/api/feeds/discoveries?limit=100", e)
- }), o = mO(), s = JDe(a.data?.items || [], i.data || {}).filter((e) => !r || [
+ queryFn: ({ signal: e }) => tn("/api/feeds/discoveries?limit=100", e)
+ }), s = sO(), c = ZDe(o.data?.items || [], a.data || {}).filter((e) => !r || [
e.code,
e.title,
e.performers,
...e.matches
- ].join(" ").toLocaleLowerCase().includes(r.toLocaleLowerCase())), c = i.isPending || a.isPending;
+ ].join(" ").toLocaleLowerCase().includes(r.toLocaleLowerCase())), l = a.isPending || o.isPending;
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": "为你推荐",
- "aria-busy": c,
+ "aria-busy": l,
className: "flex min-w-0 flex-col gap-4",
children: [
- c ? /* @__PURE__ */ (0, x.jsx)("div", {
+ l ? /* @__PURE__ */ (0, x.jsx)("div", {
role: "status",
"aria-label": "正在读取推荐",
- dangerouslySetInnerHTML: { __html: mL("discover") }
+ dangerouslySetInnerHTML: { __html: uL("discover") }
}) : null,
- i.error || a.error ? /* @__PURE__ */ (0, x.jsx)(K, {
+ a.error || o.error ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "推荐未取得",
- children: z(i.error || a.error)
+ children: z(a.error || o.error)
}) : null,
- !c && !i.error && !a.error && !s.length ? /* @__PURE__ */ (0, x.jsx)(lO, {
+ !l && !a.error && !o.error && !c.length ? /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: TD,
+ icon: vD,
title: r ? "没有符合条件的推荐" : "暂无匹配口味的新作",
- actions: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(sO, {
+ actions: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(eO, {
href: "/taste",
variant: "secondary",
children: "查看口味"
- }), /* @__PURE__ */ (0, x.jsx)(sO, {
+ }), /* @__PURE__ */ (0, x.jsx)(eO, {
href: "/follow-manage?tab=feeds",
variant: "secondary",
children: "管理订阅"
})] }),
- children: r ? "试试其他番号、女优或标题。" : i.data?.summary?.history_visits || i.data?.summary?.peach_items ? "可以查找番号,或查看订阅的新作。" : "读取浏览记录后,可按口味推荐新作。"
+ children: r ? "试试其他番号、女优或标题。" : a.data?.summary?.history_visits || a.data?.summary?.peach_items ? "可以查找番号,或查看订阅的新作。" : "读取浏览记录后,可按口味推荐新作。"
}) : null,
- o.error ? /* @__PURE__ */ (0, x.jsx)(K, {
+ s.error ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
- children: o.error
+ children: s.error
}) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
- className: UTe,
- children: s.map((r) => /* @__PURE__ */ (0, x.jsxs)("article", {
- className: "flex min-w-0 flex-col gap-3",
+ className: KTe,
+ children: c.map((r) => /* @__PURE__ */ (0, x.jsxs)("article", {
+ "data-media-card": "",
+ "data-jav-card": "",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
+ "data-media-pic": "",
+ "data-jav-cover": "",
className: "relative inline-grid aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "text-text-secondary",
children: "无封面"
- }), r.has_cover || r.cover_url ? /* @__PURE__ */ (0, x.jsx)("img", {
+ }), r.has_cover ? /* @__PURE__ */ (0, x.jsx)("span", {
+ className: "contents",
+ dangerouslySetInnerHTML: { __html: sa(r, "big") }
+ }) : r.cover_url ? /* @__PURE__ */ (0, x.jsx)("img", {
alt: "",
- src: r.has_cover ? Zi(r, !0) : r.cover_url,
+ src: r.cover_url,
+ loading: "lazy",
+ decoding: "async",
referrerPolicy: "no-referrer",
onError: (e) => e.currentTarget.remove(),
className: "absolute inset-0 size-full object-cover"
}) : null]
}),
/* @__PURE__ */ (0, x.jsxs)("h3", {
- className: "break-words text-body-medium text-text-primary",
+ "data-jav-title": "",
+ title: `${r.code} · ${r.title || "标题未取得"}`,
children: [
r.code,
" · ",
r.title || "标题未取得"
]
}),
- /* @__PURE__ */ (0, x.jsx)("p", {
- className: "break-words text-body-2-regular text-text-secondary",
- children: [r.performers, r.release_date].filter(Boolean).join(" · ")
+ /* @__PURE__ */ (0, x.jsxs)("div", {
+ "data-jav-identity": "",
+ children: [/* @__PURE__ */ (0, x.jsx)("div", {
+ "data-media-avatars": "",
+ children: (r.performer_refs || []).slice(0, 5).map((e) => /* @__PURE__ */ (0, x.jsx)("a", {
+ "data-media-avatar": "",
+ href: `/performers/${encodeURIComponent(e.name)}`,
+ "aria-label": `查看 ${e.name}`,
+ title: e.name,
+ onClick: (t) => {
+ t.preventDefault(), i(`/performers/${encodeURIComponent(e.name)}`);
+ },
+ dangerouslySetInnerHTML: { __html: ra(e.name, e, "performer") }
+ }, e.id))
+ }), /* @__PURE__ */ (0, x.jsx)("p", {
+ className: "min-w-0 truncate text-body-2-regular text-text-secondary",
+ title: r.performers,
+ children: [r.performers, r.release_date].filter(Boolean).join(" · ")
+ })]
}),
/* @__PURE__ */ (0, x.jsxs)("p", {
- className: "text-body-2-regular text-text-secondary",
+ className: "truncate text-body-2-regular text-text-secondary",
+ title: `你常看的女优:${r.matches.join("、")}`,
children: ["你常看的女优:", r.matches.join("、")]
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
+ "data-jav-actions": "",
className: "flex flex-wrap gap-2",
children: [
/* @__PURE__ */ (0, x.jsx)(G, {
@@ -54311,18 +54346,20 @@ function QDe({ readOnly: e, receipt: t, resource: n, query: r }) {
children: "查找资源"
}),
/* @__PURE__ */ (0, x.jsx)(G, {
- variant: "secondary",
+ variant: "ghost",
disabled: e || r.wanted,
- ...q(o.busy === String(r.id)),
+ ...q(s.busy === String(r.id)),
onClick: () => {
- o.run(String(r.id), (e) => qL({ code: r.code }, e), () => {
- t("已加入想要"), JL(), a.refetch();
+ s.run(String(r.id), (e) => UL({ code: r.code }, e), () => {
+ t("已加入想要"), WL(), o.refetch();
});
},
children: r.wanted ? "已加入想要" : "想要"
}),
- r.link ? /* @__PURE__ */ (0, x.jsx)(sO, {
+ r.link ? /* @__PURE__ */ (0, x.jsx)(eO, {
+ "data-button-link": "",
variant: "secondary",
+ trailingIcon: xD,
href: r.link,
target: "_blank",
rel: "noopener noreferrer",
@@ -54338,12 +54375,12 @@ function QDe({ readOnly: e, receipt: t, resource: n, query: r }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var XL = "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", $De = {
- gray: `${XL} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${XL} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${XL} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var KL = "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", rOe = {
+ gray: `${KL} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${KL} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${KL} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function eOe({ value: e, max: t }) {
+function iOe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, x.jsxs)("svg", {
role: "progressbar",
@@ -54371,16 +54408,16 @@ function eOe({ value: e, max: t }) {
})]
});
}
-function tOe(e) {
- let { job: t } = yN(e), n = t.data, r = t.isError ? n ? H_e : z(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function aOe(e) {
+ let { job: t } = gN(e), n = t.data, r = t.isError ? n ? K_e : z(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
if (!r && !o && !a) return null;
- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : q_e(n) + (c ? ` · ${PO(l, c)}` : "")), d = s === "gray" ? Lde : Dde;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : Z_e(n) + (c ? ` · ${DO(l, c)}` : "")), d = s === "gray" ? Ude : Nde;
return /* @__PURE__ */ (0, x.jsxs)("aside", {
role: a ? "alert" : "status",
- className: $De[s],
+ className: rOe[s],
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && c ? /* @__PURE__ */ (0, x.jsx)(eOe, {
+ children: [o && c ? /* @__PURE__ */ (0, x.jsx)(iOe, {
value: l,
max: c
}) : /* @__PURE__ */ (0, x.jsx)(d, {
@@ -54390,42 +54427,42 @@ function tOe(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, x.jsx)(_O, {
+ }), /* @__PURE__ */ (0, x.jsx)(uO, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: SD,
+ trailingIcon: hD,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var nOe = "/api/playlists", ZL = "/api/playlist", QL = ["playlists"], rOe = (e) => B(nOe, e);
-async function iOe(e) {
- await H.fetchQuery({
- queryKey: QL,
- queryFn: () => rOe(e),
+var oOe = "/api/playlists", qL = "/api/playlist", JL = ["playlists"], sOe = (e) => tn(oOe, e);
+async function cOe(e) {
+ await V.fetchQuery({
+ queryKey: JL,
+ queryFn: () => sOe(e),
staleTime: 0
});
}
-var $L = () => H.invalidateQueries({
- queryKey: QL,
+var YL = () => V.invalidateQueries({
+ queryKey: JL,
exact: !0
-}), aOe = (e) => e.current_asset_id || e.preview_asset_id || null, oOe = (e) => `/poster?id=${e}&c=4`, sOe = (e) => V(ZL, {
+}), lOe = (e) => e.current_asset_id || e.preview_asset_id || null, uOe = (e) => `/poster?id=${e}&c=4`, dOe = (e) => B(qL, {
action: "create",
name: e,
asset_ids: []
-}), cOe = (e, t) => V(ZL, {
+}), fOe = (e, t) => B(qL, {
action: "rename",
id: e,
name: t
-}), lOe = (e) => V(ZL, {
+}), pOe = (e) => B(qL, {
action: "delete",
id: e
-}), uOe = (e) => B(`${ZL}?id=${e}`).catch(() => null);
-function dOe(e) {
+}), mOe = (e) => tn(`${qL}?id=${e}`).catch(() => null);
+function hOe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return V(ZL, {
+ return B(qL, {
action: "create",
name: e.name,
asset_ids: t,
@@ -54435,18 +54472,18 @@ function dOe(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var fOe = yj("ellipsis"), pOe = yj("pencil"), mOe = yj("trash"), hOe = yj("playlist"), gOe = nO(JM, YM, "text-body-2-medium"), _Oe = "播放列表名称不能为空", eR = (e) => async () => {
+var gOe = mj("ellipsis"), _Oe = mj("pencil"), vOe = mj("trash"), yOe = mj("playlist"), bOe = YD(WM, GM, "text-body-2-medium"), xOe = "播放列表名称不能为空", XL = (e) => async () => {
try {
await e();
} finally {
- $L();
+ YL();
}
};
-function vOe({ toast: e }) {
- let [t, n] = (0, b.useState)(""), [r, i] = (0, b.useState)(""), a = pt({
- mutationFn: (e) => sOe(e),
+function SOe({ toast: e }) {
+ let [t, n] = (0, b.useState)(""), [r, i] = (0, b.useState)(""), a = dt({
+ mutationFn: (e) => dOe(e),
onSuccess: (t) => {
- n(""), i(""), $L(), e("已新建播放列表", { undo: eR(() => lOe(t.playlist.id)) });
+ n(""), i(""), YL(), e("已新建播放列表", { undo: XL(() => pOe(t.playlist.id)) });
},
onError: (e) => i(z(e) || "新建失败")
});
@@ -54454,12 +54491,12 @@ function vOe({ toast: e }) {
"data-playlist-create": "",
"aria-label": "新建播放列表",
onSubmit: (e) => {
- e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(_Oe));
+ e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(xOe));
},
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)(BN, {
+ children: /* @__PURE__ */ (0, x.jsx)(LN, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -54478,7 +54515,7 @@ function vOe({ toast: e }) {
})]
});
}
-function yOe({ target: e, close: t, toast: n }) {
+function COe({ 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;
@@ -54488,14 +54525,14 @@ function yOe({ target: e, close: t, toast: n }) {
});
return () => cancelAnimationFrame(t);
}, [e]);
- let c = pt({
- mutationFn: ({ row: e, value: t }) => cOe(e.id, t),
+ let c = dt({
+ mutationFn: ({ row: e, value: t }) => fOe(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), $L(), n("已重命名播放列表", { undo: eR(() => cOe(r.id, r.name)) });
+ t(), YL(), n("已重命名播放列表", { undo: XL(() => fOe(r.id, r.name)) });
},
onError: (e) => o(z(e))
});
- return /* @__PURE__ */ (0, x.jsx)(iF, {
+ return /* @__PURE__ */ (0, x.jsx)(tF, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -54509,16 +54546,16 @@ function yOe({ target: e, close: t, toast: n }) {
n ? c.mutate({
row: e,
value: n
- }) : o(_Oe);
+ }) : o(xOe);
},
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)(lk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(nk, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, x.jsx)(BN, {
+ }), /* @__PURE__ */ (0, x.jsx)(LN, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -54546,7 +54583,7 @@ function yOe({ target: e, close: t, toast: n }) {
})
});
}
-function bOe({ name: e, onRename: t, onDelete: n }) {
+function wOe({ name: e, onRename: t, onDelete: n }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -54560,33 +54597,33 @@ function bOe({ 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)(fOe, {
+ children: /* @__PURE__ */ (0, x.jsx)(gOe, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, x.jsx)(mA, {
+ }), /* @__PURE__ */ (0, x.jsx)(lA, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: qM,
- children: /* @__PURE__ */ (0, x.jsxs)(KM, {
+ className: UM,
+ children: /* @__PURE__ */ (0, x.jsxs)(HM, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: gOe,
+ className: bOe,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, x.jsx)(pOe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(_Oe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: gOe,
+ className: bOe,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, x.jsx)(mOe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(vOe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -54594,23 +54631,23 @@ function bOe({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function xOe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
- let a = ft({
- queryKey: QL,
- queryFn: ({ signal: e }) => rOe(e)
+function TOe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
+ let a = ut({
+ queryKey: JL,
+ queryFn: ({ signal: e }) => sOe(e)
}), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(i);
(0, b.useEffect)(() => {
- c.current !== i && (c.current = i, $L());
+ c.current !== i && (c.current = i, YL());
}, [i]);
let l = a.data, u = l?.items ?? [], d = (e) => {
- cs({
+ os({
title: "删除播放列表",
body: "这个播放列表将被删除,视频文件保留。",
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await uOe(e.id);
- await lOe(e.id), $L(), r("已删除播放列表", t ? { undo: eR(() => dOe(t)) } : void 0);
+ let t = await mOe(e.id);
+ await pOe(e.id), YL(), r("已删除播放列表", t ? { undo: XL(() => hOe(t)) } : void 0);
}
});
};
@@ -54625,7 +54662,7 @@ function xOe({ 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)(vOe, { toast: r })]
+ })] }), /* @__PURE__ */ (0, x.jsx)(SOe, { toast: r })]
}),
/* @__PURE__ */ (0, x.jsx)("div", {
className: "mx-auto w-full max-w-board",
@@ -54633,36 +54670,36 @@ function xOe({ 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 = aOe(r), a = r.name.trim() || "未命名播放列表";
- return /* @__PURE__ */ (0, x.jsx)(m_e, {
+ let i = lOe(r), a = r.name.trim() || "未命名播放列表";
+ return /* @__PURE__ */ (0, x.jsx)(v_e, {
"data-playlist-card": String(r.id),
name: a,
caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: r.item_count,
- poster: r.preview_asset_id ? oOe(r.preview_asset_id) : null,
- flipImages: async () => (r.preview_ids || []).map(oOe),
+ poster: r.preview_asset_id ? uOe(r.preview_asset_id) : null,
+ flipImages: async () => (r.preview_ids || []).map(uOe),
canFlip: n,
faces: r.faces || [],
onOpenEntity: t,
...i ? { onOpen: () => e(r.id, i) } : {},
openLabel: `打开播放列表 ${a}`,
- menu: /* @__PURE__ */ (0, x.jsx)(bOe, {
+ menu: /* @__PURE__ */ (0, x.jsx)(wOe, {
name: a,
onRename: () => s(r),
onDelete: () => d(r)
})
}, r.id);
})
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
- icon: hOe,
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
+ icon: yOe,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
- }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(qj, {
+ }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(Hj, {
message: z(a.error) || "播放列表读取失败",
onRetry: () => void a.refetch()
}) : null
}),
- /* @__PURE__ */ (0, x.jsx)(yOe, {
+ /* @__PURE__ */ (0, x.jsx)(COe, {
target: o,
close: () => s(null),
toast: r
@@ -54672,11 +54709,11 @@ function xOe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function SOe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function EOe({ 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: cO({
+ className: tO({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -54692,7 +54729,7 @@ function SOe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, x.jsx)("img", {
- src: sve(e),
+ src: dve(e),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -54718,9 +54755,9 @@ function SOe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "contents",
dangerouslySetInnerHTML: { __html: a(e.location, e.cost) }
}),
- /* @__PURE__ */ (0, x.jsx)("span", { children: Xt[e.location] ?? e.location }),
- /* @__PURE__ */ (0, x.jsx)("span", { children: Ht(e.duration) }),
- /* @__PURE__ */ (0, x.jsx)("span", { children: Number(e.size) > 0 ? Wt(Number(e.size)) : "大小未知" })
+ /* @__PURE__ */ (0, x.jsx)("span", { children: Jt[e.location] ?? e.location }),
+ /* @__PURE__ */ (0, x.jsx)("span", { children: Bt(e.duration) }),
+ /* @__PURE__ */ (0, x.jsx)("span", { children: Number(e.size) > 0 ? Ht(Number(e.size)) : "大小未知" })
]
}),
e.reason ? /* @__PURE__ */ (0, x.jsx)("p", {
@@ -54740,7 +54777,7 @@ function SOe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
origin: `asset:${e.id}`,
searchReason: e.reason || "",
duration: e.duration,
- cover: sve(e)
+ cover: dve(e)
}),
children: "查找资源"
}) : null, /* @__PURE__ */ (0, x.jsx)(G, {
@@ -54752,26 +54789,26 @@ function SOe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
})]
});
}
-function COe({ toast: e, ...t }) {
- let [n, r] = (0, b.useState)(null), i = ft({
- queryKey: oM,
- queryFn: ({ signal: e }) => sM(e)
+function DOe({ toast: e, ...t }) {
+ let [n, r] = (0, b.useState)(null), i = ut({
+ queryKey: tM,
+ queryFn: ({ signal: e }) => nM(e)
}), a = i.data;
- if (!a) return /* @__PURE__ */ (0, x.jsx)(dO, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!a) return /* @__PURE__ */ (0, x.jsx)(iO, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "高清版目标读取失败",
children: i.error ? z(i.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let o = a.items || [];
- return o.length ? /* @__PURE__ */ (0, x.jsxs)(dO, { children: [
- /* @__PURE__ */ (0, x.jsx)(PF, {
+ return o.length ? /* @__PURE__ */ (0, x.jsxs)(iO, { children: [
+ /* @__PURE__ */ (0, x.jsx)(jF, {
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)(SOe, {
+ children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(EOe, {
item: e,
...t,
searchResources: r
@@ -54781,22 +54818,22 @@ function COe({ 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)(_L, {
+ /* @__PURE__ */ (0, x.jsx)(pL, {
prefill: n,
close: () => r(null),
receipt: e
})
- ] }) : /* @__PURE__ */ (0, x.jsx)(dO, { children: /* @__PURE__ */ (0, x.jsx)(lO, {
+ ] }) : /* @__PURE__ */ (0, x.jsx)(iO, { children: /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: Zde,
+ icon: rfe,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function wOe(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 = yve(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), S = y.length ? "统一选择来源" : "所选项目无共同来源";
+function OOe(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 = Cve(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": "复核筛选",
@@ -54804,29 +54841,29 @@ function wOe(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(SN, {
+ /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, x.jsxs)(SN, {
+ i.length > 1 ? /* @__PURE__ */ (0, x.jsxs)(yN, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, x.jsx)(CN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(bN, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -54834,7 +54871,7 @@ function wOe(e) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: wde,
+ leadingIcon: Ade,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -54845,12 +54882,12 @@ function wOe(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), /* @__PURE__ */ (0, x.jsxs)(QC, {
+ }), /* @__PURE__ */ (0, x.jsxs)(XC, {
label: "复核所选项目",
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, x.jsxs)(SN, {
+ b ? /* @__PURE__ */ (0, x.jsxs)(yN, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -54858,10 +54895,10 @@ function wOe(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, x.jsx)(CN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(bN, {
id: "",
children: S
- }), y.map((e) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ }), y.map((e) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e,
children: e
}, e))]
@@ -54897,7 +54934,7 @@ function wOe(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var TOe = {
+var kOe = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -54907,14 +54944,14 @@ var TOe = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, EOe = "reviewgenretags";
-function DOe({ tags: e }) {
+}, AOe = "reviewgenretags";
+function jOe({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("datalist", {
- id: EOe,
+ id: AOe,
children: e.map((e) => /* @__PURE__ */ (0, x.jsx)("option", { value: e }, e))
}) : null;
}
-function OOe({ candidate: e, selectable: t = !1 }) {
+function MOe({ 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",
@@ -54951,7 +54988,7 @@ function OOe({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, x.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: TOe[e] || e
+ children: kOe[e] || e
}),
/* @__PURE__ */ (0, x.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -54966,32 +55003,32 @@ function OOe({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function kOe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function NOe({ 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)(OOe, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, x.jsx)(MA, {
+ children: /* @__PURE__ */ (0, x.jsx)(MOe, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, x.jsx)(DA, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(NA, {
+ children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(OA, {
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)(OOe, {
+ children: /* @__PURE__ */ (0, x.jsx)(MOe, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function AOe({ genre: e, tags: t, locked: n, toast: r }) {
- let [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), c = pt({
- mutationFn: (t) => Nve(e, t),
+function POe({ genre: e, tags: t, locked: n, toast: r }) {
+ let [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), c = dt({
+ mutationFn: (t) => Lve(e, t),
onSuccess: async (t, n) => {
- t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Ive()) : s(t.error || "服务端拒绝了这次收录");
+ t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Bve()) : s(t.error || "服务端拒绝了这次收录");
},
onError: (e) => s(z(e))
}), l = () => {
@@ -55006,16 +55043,16 @@ function AOe({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, x.jsx)(LN, {
+ /* @__PURE__ */ (0, x.jsx)(PN, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(zN, {
+ children: /* @__PURE__ */ (0, x.jsx)(IN, {
size: "small",
- list: t.length ? EOe : void 0,
+ list: t.length ? AOe : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -55047,8 +55084,8 @@ function AOe({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function jOe({ row: e, tags: t, locked: n, toast: r }) {
- let i = Dve(e);
+function FOe({ row: e, tags: t, locked: n, toast: r }) {
+ let i = jve(e);
return i.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -55056,7 +55093,7 @@ function jOe({ 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)(AOe, {
+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(POe, {
genre: e,
tags: t,
locked: n,
@@ -55066,9 +55103,9 @@ function jOe({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var MOe = (e = "") => /^https?:\/\//i.test(e) ? e : "", NOe = (e = "") => MOe(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function POe({ url: e }) {
- let t = NOe(e || ""), [n, r] = (0, b.useState)(!1);
+var IOe = (e = "") => /^https?:\/\//i.test(e) ? e : "", LOe = (e = "") => IOe(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function ROe({ url: e }) {
+ let t = LOe(e || ""), [n, r] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, x.jsx)("img", {
@@ -55083,7 +55120,7 @@ function POe({ url: e }) {
})
});
}
-function FOe({ asset: e, openItem: t }) {
+function zOe({ 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",
@@ -55099,7 +55136,7 @@ function FOe({ asset: e, openItem: t }) {
}) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, x.jsx)(Gy, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, x.jsx)(By, { children: `打开原视频 ${n}` })]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
children: [/* @__PURE__ */ (0, x.jsx)("b", {
@@ -55109,21 +55146,21 @@ function FOe({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Vde,
+ leadingIcon: qde,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function IOe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function BOe({ 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 ${WI}`,
+ 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 ${VI}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -55139,8 +55176,8 @@ function IOe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function LOe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = MOe(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function VOe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = IOe(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: [
@@ -55150,10 +55187,10 @@ function LOe({ 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)(sO, {
+ children: [o ? /* @__PURE__ */ (0, x.jsx)(eO, {
variant: "secondary",
size: "small",
- trailingIcon: OD,
+ trailingIcon: xD,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -55165,7 +55202,7 @@ function LOe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, x.jsx)(POe, { url: e.preview_url }),
+ /* @__PURE__ */ (0, x.jsx)(ROe, { url: e.preview_url }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -55208,7 +55245,7 @@ function LOe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function ROe({ assets: e, picked: t, onPicked: n, locked: r }) {
+function HOe({ 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);
@@ -55264,7 +55301,7 @@ function ROe({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, x.jsx)(ON, {
+ children: /* @__PURE__ */ (0, x.jsx)(TN, {
size: "sm",
state: {
isSelected: n,
@@ -55275,7 +55312,7 @@ function ROe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, x.jsx)(Gy, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, x.jsx)(By, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -55284,22 +55321,22 @@ function ROe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var zOe = cO({
+var UOe = tO({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), tR = "flex min-h-6 min-w-0 items-center", nR = 2, BOe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function VOe(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 = mN(), h = mN(), g = t === "metadata_fields", _ = mve[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = wve(t, n), C = Cve(t, n), w = Sve(t, n), T = Tve(n), E = Eve(n), D = xve(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", {
+}), ZL = "flex min-h-6 min-w-0 items-center", QL = 2, WOe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function GOe(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 = dN(), h = dN(), g = t === "metadata_fields", _ = vve[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = Ove(t, n), C = Dve(t, n), w = Eve(t, n), T = kve(n), E = Ave(n), D = Tve(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, nR).map((e) => /* @__PURE__ */ (0, x.jsx)(FOe, {
+ children: [O.slice(0, QL).map((e) => /* @__PURE__ */ (0, x.jsx)(zOe, {
asset: e,
openItem: f.openItem
- }, e.id)), O.length > nR ? /* @__PURE__ */ (0, x.jsx)("p", {
+ }, e.id)), O.length > QL ? /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: `另有 ${(O.length - nR).toLocaleString()} 部对照作品`
+ children: `另有 ${(O.length - QL).toLocaleString()} 部对照作品`
}) : null]
- }) : y ? /* @__PURE__ */ (0, x.jsx)(IOe, {
+ }) : y ? /* @__PURE__ */ (0, x.jsx)(BOe, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -55310,14 +55347,14 @@ function VOe(e) {
image_version: n.image_version,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(FOe, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(zOe, {
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)(kOe, {
+ }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(NOe, {
row: n,
fieldName: C,
value: r.candidateKey,
@@ -55326,7 +55363,7 @@ function VOe(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(ROe, {
+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(HOe, {
assets: k,
picked: r.assets,
locked: s,
@@ -55334,24 +55371,24 @@ function VOe(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "inset",
- icon: Fde,
+ icon: Vde,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(LOe, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(VOe, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, x.jsx)(POe, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {
- className: `${tR} flex-wrap gap-2`,
+ }) : /* @__PURE__ */ (0, x.jsx)(ROe, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {
+ className: `${ZL} 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)(aO, {
+ children: /* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: "blue",
children: C
@@ -55362,7 +55399,7 @@ function VOe(e) {
children: w
})]
}) : /* @__PURE__ */ (0, x.jsx)("h4", {
- className: tR,
+ className: ZL,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: S,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -55372,20 +55409,20 @@ function VOe(e) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": S,
"data-review-key": n.item_key,
- className: `${zOe} ${BOe(t)} overflow-hidden`,
+ className: `${UOe} ${WOe(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: `${tR} shrink-0`,
+ className: `${ZL} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, x.jsx)(kN, {
+ children: /* @__PURE__ */ (0, x.jsx)(EN, {
isSelected: a,
"aria-label": `选择 ${S}`,
onChange: (e) => o(p.current, e)
@@ -55395,7 +55432,7 @@ function VOe(e) {
className: "min-w-0 flex-1",
children: N
}),
- A ? /* @__PURE__ */ (0, x.jsx)(aO, {
+ A ? /* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -55419,7 +55456,7 @@ function VOe(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)(aO, {
+ children: E.length ? E.map((e) => /* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: "soft",
children: e
@@ -55429,7 +55466,7 @@ function VOe(e) {
})
}) : null,
M,
- /* @__PURE__ */ (0, x.jsx)(jOe, {
+ /* @__PURE__ */ (0, x.jsx)(FOe, {
row: n,
tags: u,
locked: s,
@@ -55492,8 +55529,8 @@ function VOe(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var HOe = "flex cursor-pointer items-center justify-between gap-2";
-function UOe({ page: e, pages: t, onPage: n }) {
+var KOe = "flex cursor-pointer items-center justify-between gap-2";
+function qOe({ 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",
@@ -55507,7 +55544,7 @@ function UOe({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: ln(e, t).map((t, r) => /* @__PURE__ */ (0, x.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, x.jsx)("span", {
+ children: cn(e, t).map((t, r) => /* @__PURE__ */ (0, x.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -55530,44 +55567,44 @@ function UOe({ page: e, pages: t, onPage: n }) {
]
});
}
-function WOe(e) {
+function JOe(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)(uM(e.category) ? e.category : pve), [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)(aM(e.category) ? e.category : _ve), [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 = ft({
- queryKey: cM,
- queryFn: ({ signal: e }) => jve(e)
+ let ee = ut({
+ queryKey: rM,
+ queryFn: ({ signal: e }) => Fve(e)
}), F = ee.data || {
sections: {},
counts: {}
- }, te = F.sections[d] || [], ne = d === "metadata_fields", re = c, ie = hve(te, ne), ae = ie.some(([e]) => e === p) ? p : "candidates", oe = gve(te, ae), se = oe.some((e) => e.key === h) ? h : "", ce = vve(_ve(te, ae, se), _), le = ce.rows.map((e) => e.item_key), ue = new Set(le), de = oe.map((e) => ({
+ }, te = F.sections[d] || [], ne = d === "metadata_fields", re = c, ie = yve(te, ne), ae = ie.some(([e]) => e === p) ? p : "candidates", oe = bve(te, ae), se = oe.some((e) => e.key === h) ? h : "", ce = Sve(xve(te, ae, se), _), le = ce.rows.map((e) => e.item_key), ue = new Set(le), de = oe.map((e) => ({
...e,
rows: e.rows.filter((e) => ue.has(e.item_key))
- })).filter((e) => e.rows.length), fe = (e) => C.get(e.item_key) || Ove(e), pe = te.filter((e) => y.has(e.item_key)), me = (e) => {
+ })).filter((e) => e.rows.length), fe = (e) => C.get(e.item_key) || Mve(e), pe = te.filter((e) => y.has(e.item_key)), me = (e) => {
let t = new Set(e);
S((e) => new Set([...e].filter((e) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e)))), E((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, he = (e, t) => E((n) => new Map(n).set(e, t)), ge = (e) => {
f(e), m("candidates"), g(""), v(1), S(/* @__PURE__ */ new Set()), w(/* @__PURE__ */ new Map()), E(/* @__PURE__ */ new Map()), O(""), k.current = null, r({ category: e === "metadata_fields" ? "" : e });
- }, _e = pt({
- mutationFn: ({ row: e, status: t }) => Mve(kve(d, e, t, fe(e))),
+ }, _e = dt({
+ mutationFn: ({ row: e, status: t }) => Ive(Nve(d, e, t, fe(e))),
onSuccess: (e, { row: t, status: n }) => {
- e.ok ? (Fve(d, [t.item_key]), me([t.item_key]), s(Ave(n))) : he(t.item_key, e.error || "服务端拒绝了这次判定");
+ e.ok ? (zve(d, [t.item_key]), me([t.item_key]), s(Pve(n))) : he(t.item_key, e.error || "服务端拒绝了这次判定");
},
onError: (e, { row: t }) => he(t.item_key, z(e))
- }), ve = pt({
+ }), ve = dt({
mutationFn: async (e) => {
let t = pe, n = [], r = [];
for (let [i, a] of t.entries()) {
if (!P.current) break;
O(`正在处理 ${i} / ${t.length}`);
try {
- let t = await Mve(kve(d, a, e, fe(a)));
+ let t = await Ive(Nve(d, a, e, fe(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -55581,7 +55618,7 @@ function WOe(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- Fve(d, t), me(t), n.forEach(([e, t]) => he(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ zve(d, t), me(t), n.forEach(([e, t]) => he(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
O(z(e));
@@ -55605,7 +55642,7 @@ function WOe(e) {
j(e), N("");
let t = await o(e);
P.current && (j(0), N(t));
- }, Se = Lve(F.mirror, l), Ce = F.genre_tags || [], we = {
+ }, Se = Vve(F.mirror, l), Ce = F.genre_tags || [], we = {
openItem: i,
openEntity: a,
onReveal: xe,
@@ -55613,7 +55650,7 @@ function WOe(e) {
revealNote: M,
toast: s
};
- return /* @__PURE__ */ (0, x.jsx)(dO, { children: /* @__PURE__ */ (0, x.jsxs)("div", {
+ return /* @__PURE__ */ (0, x.jsx)(iO, { children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
re ? /* @__PURE__ */ (0, x.jsx)(K, {
@@ -55629,13 +55666,13 @@ function WOe(e) {
}) : void 0,
children: Se
}) : null,
- /* @__PURE__ */ (0, x.jsx)(DOe, { tags: Ce }),
- /* @__PURE__ */ (0, x.jsxs)(sj, {
+ /* @__PURE__ */ (0, x.jsx)(jOe, { tags: Ce }),
+ /* @__PURE__ */ (0, x.jsxs)(nj, {
orientation: t ? "horizontal" : "vertical",
selectedKey: d,
onSelectionChange: (e) => {
let t = String(e);
- uM(t) && ge(t);
+ aM(t) && ge(t);
},
className: "flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -55644,27 +55681,27 @@ function WOe(e) {
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, x.jsx)(cj, {
+ }), /* @__PURE__ */ (0, x.jsx)(rj, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: fve.map((e) => {
+ children: gve.map((e) => {
let t = Number(F.counts[e] || 0);
- return /* @__PURE__ */ (0, x.jsxs)(lj, {
+ return /* @__PURE__ */ (0, x.jsxs)(ij, {
id: e,
- className: HOe,
- children: [lM[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {
+ className: KOe,
+ children: [iM[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, x.jsxs)(uj, {
+ }), /* @__PURE__ */ (0, x.jsxs)(aj, {
id: d,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- te.length && !re ? /* @__PURE__ */ (0, x.jsx)(wOe, {
+ te.length && !re ? /* @__PURE__ */ (0, x.jsx)(OOe, {
groupOptions: ie,
groupBy: ae,
onGroupBy: (e) => {
@@ -55680,7 +55717,7 @@ function WOe(e) {
onSelected: S,
selectedRows: pe,
metadata: ne,
- approvable: pe.every((e) => xve(d, e)),
+ approvable: pe.every((e) => Tve(d, e)),
busy: ve.isPending,
feedback: D,
onUnifySource: be,
@@ -55705,7 +55742,7 @@ function WOe(e) {
})]
}) : null, /* @__PURE__ */ (0, x.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(VOe, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(GOe, {
category: d,
row: e,
choice: fe(e),
@@ -55713,7 +55750,7 @@ function WOe(e) {
selected: y.has(e.item_key),
onSelect: (t, n) => S((r) => {
let i = new Set(r);
- return k.current = bve(i, le, k.current, e.item_key, t, n), i;
+ return k.current = wve(i, le, k.current, e.item_key, t, n), i;
}),
locked: re,
busy: _e.isPending && _e.variables?.row.item_key === e.item_key,
@@ -55739,12 +55776,12 @@ function WOe(e) {
children: "重试"
}),
children: z(ee.error)
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
- icon: Tde,
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
+ icon: jde,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, x.jsx)(UOe, {
+ /* @__PURE__ */ (0, x.jsx)(qOe, {
page: ce.page,
pages: ce.pages,
onPage: v
@@ -55757,41 +55794,41 @@ function WOe(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var GOe = "/api/scraping", KOe = "/api/scraping/settings", qOe = "/api/scraping/check", JOe = "/api/scraping/cover", YOe = "/api/scraping/amane-bridge", XOe = "/api/scraping/amane-bridge/check", ZOe = "/api/scraping/amane-bridge/rebuild", rR = ["scraping"], QOe = ["scraping", "cover"], $Oe = ["scraping", "amane-bridge"], eke = (e) => B(GOe, e), tke = (e) => B(JOe, e), nke = (e) => B(YOe, e);
-async function rke(e) {
+var YOe = "/api/scraping", XOe = "/api/scraping/settings", ZOe = "/api/scraping/check", QOe = "/api/scraping/cover", $Oe = "/api/scraping/amane-bridge", eke = "/api/scraping/amane-bridge/check", tke = "/api/scraping/amane-bridge/rebuild", $L = ["scraping"], nke = ["scraping", "cover"], rke = ["scraping", "amane-bridge"], ike = (e) => tn(YOe, e), ake = (e) => tn(QOe, e), oke = (e) => tn($Oe, e);
+async function ske(e) {
await Promise.all([
- H.fetchQuery({
- queryKey: rR,
- queryFn: () => eke(e)
+ V.fetchQuery({
+ queryKey: $L,
+ queryFn: () => ike(e)
}),
- H.fetchQuery({
- queryKey: QOe,
- queryFn: () => tke(e)
+ V.fetchQuery({
+ queryKey: nke,
+ queryFn: () => ake(e)
}),
- H.fetchQuery({
- queryKey: $Oe,
- queryFn: () => nke(e)
+ V.fetchQuery({
+ queryKey: rke,
+ queryFn: () => oke(e)
})
]);
}
-function ike(e, t) {
+function cke(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.message ? `。${e.message}` : "");
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var iR = [["peach", "Peach 代理"], ["direct", "直接连接"]];
-function ake(e) {
- return iR.some(([t]) => t === e) || !e ? [...iR] : [...iR, [e, e]];
+var eR = [["peach", "Peach 代理"], ["direct", "直接连接"]];
+function lke(e) {
+ return eR.some(([t]) => t === e) || !e ? [...eR] : [...eR, [e, e]];
}
-function oke(e) {
+function uke(e) {
try {
return new URL(e).host || e;
} catch {
return e;
}
}
-var ske = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function cke({ source: e }) {
+var dke = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function fke({ source: e }) {
let t = [
"javten",
"fc2ppvdb",
@@ -55800,7 +55837,7 @@ function cke({ source: e }) {
"github"
].includes(e);
return /* @__PURE__ */ (0, x.jsx)("img", {
- src: t ? `/site-icon/${e}.png` : Pt({ source: e }),
+ src: t ? `/site-icon/${e}.png` : Mt({ source: e }),
alt: "",
width: 16,
height: 16,
@@ -55809,16 +55846,16 @@ function cke({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function lke() {
- return /* @__PURE__ */ (0, x.jsx)(cke, { source: "github" });
+function pke() {
+ return /* @__PURE__ */ (0, x.jsx)(fke, { 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)(ske[0][0]), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(""), m = (0, b.useRef)(null);
+function mke({ 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)(dke[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 = pt({
- mutationFn: (t) => V(KOe, {
+ let g = dt({
+ mutationFn: (t) => B(XOe, {
source: e.source,
network: n,
cookie: i,
@@ -55826,12 +55863,12 @@ function uke({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- H.setQueryData(rR, (t) => t && {
+ V.setQueryData($L, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = pt({ mutationFn: () => V(qOe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = dt({ mutationFn: () => B(ZOe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, S = () => {
v || (_.reset(), g.mutate(!0));
@@ -55850,41 +55887,41 @@ function uke({ source: e, toast: t }) {
}
}
let T = f || (g.error ? z(g.error) : "") || (_.error ? z(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || e.browser || !!T || E.length > 0;
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
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)(cke, { source: e.source }), /* @__PURE__ */ (0, x.jsx)(TO, {
+ children: [/* @__PURE__ */ (0, x.jsx)(fke, { source: e.source }), /* @__PURE__ */ (0, x.jsx)(vO, {
href: e.login,
- children: oke(e.login)
+ children: uke(e.login)
})]
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(yO, { children: /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsx)(fO, { children: /* @__PURE__ */ (0, x.jsx)(cO, {
label: "连接方式",
- children: /* @__PURE__ */ (0, x.jsx)(SN, {
+ children: /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "连接方式",
className: "w-44 min-w-0",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: ake(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ children: lke(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e,
children: t
}, e))
})
}) }),
- D ? /* @__PURE__ */ (0, x.jsxs)(bO, {
+ D ? /* @__PURE__ */ (0, x.jsxs)(pO, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, x.jsx)(_O, {
+ children: /* @__PURE__ */ (0, x.jsx)(uO, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: SD,
+ trailingIcon: hD,
children: "配置 Peach 代理"
})
}) : null,
@@ -55897,20 +55934,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)(pj, {
+ /* @__PURE__ */ (0, x.jsx)(cj, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: mj,
- children: ske.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(NA, {
+ className: lj,
+ children: dke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(OA, {
value: e,
- className: hj,
+ className: uj,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, x.jsx)(BN, {
+ c === "paste" ? /* @__PURE__ */ (0, x.jsx)(LN, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -55919,7 +55956,7 @@ function uke({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(wO, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, x.jsx)(_O, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
@@ -55945,14 +55982,14 @@ function uke({ source: e, toast: t }) {
]
})
] }) : null,
- T ? /* @__PURE__ */ (0, x.jsx)(CO, { children: T }) : null,
+ T ? /* @__PURE__ */ (0, x.jsx)(gO, { children: T }) : null,
E.map((t) => /* @__PURE__ */ (0, x.jsx)(K, {
tone: t.ok ? "success" : "error",
- children: ike(t, e.label)
+ children: cke(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(xO, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(mO, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: S,
@@ -55974,26 +56011,26 @@ function uke({ source: e, toast: t }) {
]
});
}
-function dke({ toast: e }) {
- let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = TN({
- queryKey: QOe,
- queryFn: ({ signal: e }) => tke(e),
- start: () => V(JOe, { code: t }),
+function hke({ toast: e }) {
+ let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = SN({
+ queryKey: nke,
+ queryFn: ({ signal: e }) => ake(e),
+ start: () => B(QOe, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? z(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, x.jsx)(vO, {
+ return /* @__PURE__ */ (0, x.jsx)(dO, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, x.jsxs)(bO, { children: [
+ children: /* @__PURE__ */ (0, x.jsxs)(pO, { 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)(BN, {
+ children: /* @__PURE__ */ (0, x.jsx)(LN, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -56008,7 +56045,7 @@ function dke({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, x.jsx)(uO, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, x.jsx)(rO, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: s
@@ -56020,11 +56057,11 @@ function dke({ toast: e }) {
] })
});
}
-function fke({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = TN({
- queryKey: $Oe,
- queryFn: ({ signal: e }) => nke(e),
- start: () => V(ZOe, {}),
+function gke({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = SN({
+ queryKey: rke,
+ queryFn: ({ signal: e }) => oke(e),
+ start: () => B(tke, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -56033,52 +56070,52 @@ function fke({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = pt({ mutationFn: () => V(XOe, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(vO, {
+ }), a = dt({ mutationFn: () => B(eke, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(dO, {
title: "amane",
- children: /* @__PURE__ */ (0, x.jsx)(bO, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(pO, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: z(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? z(i.error) : a.error ? z(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "amane",
- aside: /* @__PURE__ */ (0, x.jsx)(TO, {
+ aside: /* @__PURE__ */ (0, x.jsx)(vO, {
href: o.repository,
- leadingIcon: lke,
+ leadingIcon: pke,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, x.jsxs)(EO, { children: [
- /* @__PURE__ */ (0, x.jsx)(DO, {
+ /* @__PURE__ */ (0, x.jsxs)(yO, { children: [
+ /* @__PURE__ */ (0, x.jsx)(bO, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, x.jsx)(DO, {
+ /* @__PURE__ */ (0, x.jsx)(bO, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, x.jsx)(DO, {
+ /* @__PURE__ */ (0, x.jsx)(bO, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, x.jsxs)(DO, {
+ /* @__PURE__ */ (0, x.jsxs)(bO, {
term: "内置站点",
children: [o.sites.length.toLocaleString(), " 个"]
})
] }),
- /* @__PURE__ */ (0, x.jsxs)(bO, {
+ /* @__PURE__ */ (0, x.jsxs)(pO, {
divided: !0,
children: [
- o.sites.length ? /* @__PURE__ */ (0, x.jsx)(OO, {
+ o.sites.length ? /* @__PURE__ */ (0, x.jsx)(xO, {
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)(SO, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(hO, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -56087,7 +56124,7 @@ function fke({ toast: e }) {
o.version,
" 版本,不随上游自动升级。"
] }),
- n ? /* @__PURE__ */ (0, x.jsx)(uO, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, x.jsx)(rO, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: c
@@ -56098,7 +56135,7 @@ function fke({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(xO, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsxs)(mO, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -56115,23 +56152,23 @@ function fke({ toast: e }) {
]
});
}
-function pke({ toast: e }) {
- let t = ft({
- queryKey: rR,
- queryFn: ({ signal: e }) => eke(e)
+function _ke({ toast: e }) {
+ let t = ut({
+ queryKey: $L,
+ queryFn: ({ signal: e }) => ike(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, x.jsxs)(dO, { children: [
+ return n ? /* @__PURE__ */ (0, x.jsxs)(iO, { children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, x.jsx)(dke, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(uke, {
+ /* @__PURE__ */ (0, x.jsx)(hke, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(mke, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, x.jsx)(fke, { toast: e })
- ] }) : /* @__PURE__ */ (0, x.jsx)(dO, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ /* @__PURE__ */ (0, x.jsx)(gke, { toast: e })
+ ] }) : /* @__PURE__ */ (0, x.jsx)(iO, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? z(t.error) : "读取采集来源失败"
@@ -56139,21 +56176,21 @@ function pke({ toast: e }) {
}
//#endregion
//#region src/react/search/search.ts
-var mke = /* @__PURE__ */ new Set([
+var vke = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), hke = /* @__PURE__ */ new Set(["asset"]), aR = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function gke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
+]), yke = /* @__PURE__ */ new Set(["asset"]), tR = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function bke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
let s = 0, c = [], l = (e) => {
let t = {
...e,
index: s++
};
return c.push(t), t;
- }, u = t.filter((t) => !e || aR(t).includes(aR(e)));
+ }, u = t.filter((t) => !e || tR(t).includes(tR(e)));
if (!e) {
let e = u.length ? {
label: "搜索记录",
@@ -56200,7 +56237,7 @@ function gke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, h = p.filter((e) => !hke.has(e.kind)).map(m), g = p.filter((e) => hke.has(e.kind)).map(m), _ = d && !p.some((e) => e.items.length);
+ }, h = p.filter((e) => !yke.has(e.kind)).map(m), g = p.filter((e) => yke.has(e.kind)).map(m), _ = d && !p.some((e) => e.items.length);
return {
tabs: d && a.length > 1 ? [...a] : null,
recent: f,
@@ -56210,17 +56247,17 @@ function gke({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: c
};
}
-function _ke(e, t, n = Math.random) {
+function xke(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) => aR(t) === aR(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => tR(t) === tR(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
-var vke = () => ({
+var Ske = () => ({
history: [],
pool: [],
poolRequest: 0,
@@ -56236,7 +56273,7 @@ var vke = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), oR = (e) => gke({
+}), nR = (e) => bke({
query: e.query,
history: e.history,
picks: e.picks,
@@ -56244,18 +56281,18 @@ var vke = () => ({
groups: e.groups,
tabs: e.tabs,
kind: e.kind
-}), yke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), sR = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+}), Cke = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), rR = ({ 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 bke(e) {
+function wke(e) {
let t = (0, b.useRef)(e);
t.current = e;
let n = (0, b.useRef)(null);
- n.current ??= vke();
+ n.current ??= Ske();
let r = n.current, i = (0, b.useRef)(null), [, a] = (0, b.useReducer)((e) => e + 1, 0), o = (0, b.useRef)(null);
- o.current ??= xke(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= Tke(() => 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();
@@ -56268,7 +56305,7 @@ function bke(e) {
let e = i.current?.closest("[data-search-menu]");
r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;
});
- let c = oR(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(Cke, {
+ let c = nR(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(Dke, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -56292,7 +56329,7 @@ function bke(e) {
"data-search-root": "",
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, x.jsx)(Ske, {
+ c.tabs ? /* @__PURE__ */ (0, x.jsx)(Eke, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -56318,18 +56355,18 @@ function bke(e) {
]
});
}
-function xke(e, t, n, r) {
+function Tke(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 () => {
let n = e().historyLimit;
if (!n) t.history = [];
else try {
- let e = await B(`/api/search-history?limit=${n}`);
+ let e = await tn(`/api/search-history?limit=${n}`);
t.history = Array.isArray(e.items) ? e.items.map(String) : [];
} catch {}
}, l = (t) => {
- t && e().historyLimit && (s([t, ...o().filter((e) => aR(e) !== aR(t))]), V("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => tR(e) !== tR(t))]), B("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -56346,7 +56383,7 @@ function xke(e, t, n, r) {
let r = ++t.suggestRequest;
n || (t.asked = e);
try {
- let i = await B(`/api/suggest?q=${encodeURIComponent(e)}` + (n ? `&kind=${n}` : "") + "&limit=20");
+ let i = await tn(`/api/suggest?q=${encodeURIComponent(e)}` + (n ? `&kind=${n}` : "") + "&limit=20");
if (r !== t.suggestRequest) return;
t.suggestFor = i.q || "", t.groups = i.groups || [], !n && t.groups.length > 1 && (t.groups = t.groups.map((e) => ({
...e,
@@ -56366,9 +56403,9 @@ function xke(e, t, n, r) {
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
}, m = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : _ke(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : xke(t.pool, o()), t.active = -1;
let a = n();
- a && (yke(oR(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (Cke(nR(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, h = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -56380,7 +56417,7 @@ function xke(e, t, n, r) {
n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), m(), t.rewind = !0, d(n, e).then(() => {
a() && t.kind === e && m();
}));
- }, _ = () => f() ? oR(t).options : [], v = (e) => {
+ }, _ = () => f() ? nR(t).options : [], v = (e) => {
let n = _();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
}, y = (t, n) => {
@@ -56389,7 +56426,7 @@ function xke(e, t, n, r) {
}, b = (t, n) => {
i().blur(), l(n), e().actions.openEntity(t, n);
}, x = (t) => {
- t.type === "more" ? (y(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && mke.has(t.kind) ? b(t.kind, t.value) : (i().value = t.value, y(!1, !0));
+ t.type === "more" ? (y(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && vke.has(t.kind) ? b(t.kind, t.value) : (i().value = t.value, y(!1, !0));
};
return {
input: (t) => {
@@ -56430,15 +56467,15 @@ function xke(e, t, n, r) {
p(), i().blur(), e().actions.openItem(t.id);
},
remove: async (e) => {
- await V("/api/search-history", {
+ await B("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => aR(t) !== aR(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => tR(t) !== tR(e))), t.active = -1, r();
},
pickKind: g
};
}
-function Ske({ tabs: e, kind: t, onPick: n, wire: r }) {
+function Eke({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => {
r(i.current);
@@ -56450,7 +56487,7 @@ function Ske({ 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)(eL, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, x.jsx)(ZI, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, x.jsxs)("div", {
ref: i,
@@ -56460,8 +56497,8 @@ function Ske({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var cR = (e) => e.preventDefault();
-function Cke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var iR = (e) => e.preventDefault();
+function Dke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -56473,40 +56510,40 @@ function Cke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: cR,
+ onMouseDown: iR,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, x.jsx)(sR, { name: "chevron-right" })
+ /* @__PURE__ */ (0, x.jsx)(rR, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, x.jsx)(sR, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, x.jsx)(rR, { 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: cR,
+ onMouseDown: iR,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, x.jsx)(sR, { name: "x" })
+ children: /* @__PURE__ */ (0, x.jsx)(rR, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = mke.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = vke.has(c) ? c : void 0;
if (c === "asset") {
let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-search-option": "work",
"data-open-item": s.id,
...o,
- children: [/* @__PURE__ */ (0, x.jsx)(wke, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Oke, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -56532,7 +56569,7 @@ function Cke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- /* @__PURE__ */ (0, x.jsx)(Tke, {
+ /* @__PURE__ */ (0, x.jsx)(kke, {
item: s,
kind: c
}),
@@ -56552,11 +56589,11 @@ function Cke({ 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: cR,
+ onMouseDown: iR,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, x.jsx)(wke, {
+ children: /* @__PURE__ */ (0, x.jsx)(Oke, {
card: e,
helpers: n
})
@@ -56570,7 +56607,7 @@ function Cke({ 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)(Tke, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, x.jsx)(kke, {
item: s,
kind: c
}) : null,
@@ -56583,13 +56620,13 @@ function Cke({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function wke({ card: e, helpers: t }) {
+function Oke({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function Tke({ item: e, kind: t }) {
+function kke({ item: e, kind: t }) {
let n = {
id: e.entity_id,
has_image: e.has_image,
@@ -56605,45 +56642,45 @@ function Tke({ item: e, kind: t }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var lR = "/api/configuration", Eke = "/api/pick-folder", uR = ["configuration"], dR = (e) => B(lR, e);
-async function Dke(e) {
- await H.fetchQuery({
- queryKey: uR,
- queryFn: () => dR(e)
+var aR = "/api/configuration", Ake = "/api/pick-folder", oR = ["configuration"], sR = (e) => tn(aR, e);
+async function jke(e) {
+ await V.fetchQuery({
+ queryKey: oR,
+ queryFn: () => sR(e)
});
}
//#endregion
//#region src/react/settings/configuration-panel.ts
-var fR = "flex flex-col gap-6";
-function pR(e) {
+var cR = "flex flex-col gap-6";
+function lR(e) {
return e ? {
- className: e.active ? `${fR} ui-board-group-active` : fR,
+ className: e.active ? `${cR} ui-board-group-active` : cR,
"data-board-group": String(e.index),
id: e.id,
role: "tabpanel",
"aria-labelledby": e.labelledBy
- } : { className: fR };
+ } : { className: cR };
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var Oke = "/api/configuration/downloads", kke = "/api/configuration/downloads/check", Ake = "/api/configuration/downloads/folder", jke = "/api/configuration/downloads/pikpak/login", Mke = "/api/configuration/downloads/pikpak/logout", mR = "/api/configuration/downloads/pikpak/browser-login", Nke = 2e3;
-function Pke({ initial: e, receipt: t, panel: n }) {
+var Mke = "/api/configuration/downloads", Nke = "/api/configuration/downloads/check", Pke = "/api/configuration/downloads/folder", Fke = "/api/configuration/downloads/pikpak/login", Ike = "/api/configuration/downloads/pikpak/logout", uR = "/api/configuration/downloads/pikpak/browser-login", Lke = 2e3;
+function Rke({ initial: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- ...pR(n),
- children: /* @__PURE__ */ (0, x.jsx)(Fke, {
+ ...lR(n),
+ children: /* @__PURE__ */ (0, x.jsx)(zke, {
initial: e,
receipt: t
})
});
}
-function Fke({ initial: e, receipt: t }) {
+function zke({ 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)(Ike, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Bke, {
state: n,
settle: r,
receipt: t,
pikpakAccount: o
- }), /* @__PURE__ */ (0, x.jsx)(zke, {
+ }), /* @__PURE__ */ (0, x.jsx)(Uke, {
state: n,
settle: r,
receipt: t,
@@ -56651,8 +56688,8 @@ function Fke({ initial: e, receipt: t }) {
setUsername: a
})] });
}
-function Ike({ 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)(Lke), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = mO(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({
+function Bke({ 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)(Vke), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = sO(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -56681,8 +56718,8 @@ function Ike({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- S.run("auto", (e) => B(kke, e), (e) => E(e, t), (e) => _(z(e)));
- }, []), /* @__PURE__ */ (0, x.jsxs)(vO, {
+ S.run("auto", (e) => tn(Nke, e), (e) => E(e, t), (e) => _(z(e)));
+ }, []), /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "云下载",
onSubmit: (e) => {
if (e.preventDefault(), T) {
@@ -56695,18 +56732,18 @@ function Ike({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
token: o,
pikpak_account: r
};
- S.run("save", (e) => V(Oke, f, "POST", e), (e) => {
+ S.run("save", (e) => B(Mke, 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(Lke), y(!1), _("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(Vke), y(!1), _("")), n("已保存配置");
}, (e) => _(z(e)));
},
children: [
- /* @__PURE__ */ (0, x.jsxs)(bO, { children: [
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsxs)(pO, { children: [
+ /* @__PURE__ */ (0, x.jsx)(LN, {
label: "CloudDrive2 地址",
placeholder: "留空自动查找",
autoComplete: "off",
@@ -56718,7 +56755,7 @@ function Ike({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -56729,8 +56766,8 @@ function Ike({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, x.jsx)(BN, {
- label: /* @__PURE__ */ (0, x.jsx)(IO, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
+ label: /* @__PURE__ */ (0, x.jsx)(kO, {
source: "115",
label: "115 目标目录"
}),
@@ -56744,8 +56781,8 @@ function Ike({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => w("115", e)
}),
- /* @__PURE__ */ (0, x.jsx)(BN, {
- label: /* @__PURE__ */ (0, x.jsx)(IO, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
+ label: /* @__PURE__ */ (0, x.jsx)(kO, {
source: "pikpak",
label: "PikPak 目标目录"
}),
@@ -56759,10 +56796,10 @@ function Ike({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(wO, { children: /* @__PURE__ */ (0, x.jsx)(IO, {
+ children: [/* @__PURE__ */ (0, x.jsx)(_O, { children: /* @__PURE__ */ (0, x.jsx)(kO, {
source: "pikpak",
label: "PikPak 根目录对应的媒体文件夹"
- }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(SN, {
+ }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "PikPak 根目录对应的媒体文件夹",
selectedKey: i.pikpak_root || null,
isDisabled: !e.available,
@@ -56771,13 +56808,13 @@ function Ike({ 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)(CN, {
+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e,
children: e
}, e))
- }) : /* @__PURE__ */ (0, x.jsx)(SO, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
+ }) : /* @__PURE__ */ (0, x.jsx)(hO, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
}),
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -56788,11 +56825,11 @@ function Ike({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: l
})
] }),
- S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)(pO, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(uO, { label: "正在检查 CloudDrive2" })
+ children: /* @__PURE__ */ (0, x.jsx)(rO, { label: "正在检查 CloudDrive2" })
}) : null,
- u ? /* @__PURE__ */ (0, x.jsx)(Rke, {
+ u ? /* @__PURE__ */ (0, x.jsx)(Hke, {
report: u,
detected: f,
suggested: m,
@@ -56804,7 +56841,7 @@ function Ike({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- S.run("folder", (e) => V(Ake, t, "POST", e), (t) => {
+ S.run("folder", (e) => B(Pke, t, "POST", e), (t) => {
d(t), h((t) => ({
...t,
target: {
@@ -56816,11 +56853,11 @@ function Ike({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
} : void 0,
creating: S.busy === "folder"
}) : null,
- g || S.error ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ g || S.error ? /* @__PURE__ */ (0, x.jsx)(pO, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(CO, { children: g || S.error })
+ children: /* @__PURE__ */ (0, x.jsx)(gO, { children: g || S.error })
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(xO, {
+ /* @__PURE__ */ (0, x.jsxs)(mO, {
status: e.available ? void 0 : "云下载只在账本写入端可用。",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -56836,7 +56873,7 @@ function Ike({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- S.run("check", (e) => V(kke, t, "POST", e), (t) => E(t, e), (e) => _(z(e)));
+ S.run("check", (e) => B(Nke, t, "POST", e), (t) => E(t, e), (e) => _(z(e)));
},
disabled: !e.available,
...q(S.busy === "check"),
@@ -56851,29 +56888,29 @@ function Ike({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var Lke = {
+var Vke = {
target: null,
root: "",
saved: !1
};
-function Rke({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function Hke({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target;
- return /* @__PURE__ */ (0, x.jsxs)(bO, {
+ return /* @__PURE__ */ (0, x.jsxs)(pO, {
divided: !0,
- children: [/* @__PURE__ */ (0, x.jsxs)(EO, { children: [
- t ? /* @__PURE__ */ (0, x.jsx)(DO, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(yO, { children: [
+ t ? /* @__PURE__ */ (0, x.jsx)(bO, {
term: "CloudDrive2 地址",
children: `探测到 ${t},保存配置后生效`
}) : null,
- a?.exists ? /* @__PURE__ */ (0, x.jsx)(DO, {
- term: /* @__PURE__ */ (0, x.jsx)(IO, {
+ a?.exists ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ term: /* @__PURE__ */ (0, x.jsx)(kO, {
source: "115",
label: "115 目标目录"
}),
children: n.saved ? `已按推送发现填入 ${a.path}` : `按推送发现填入 ${a.path},保存配置后生效`
}) : null,
- a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(DO, {
- term: /* @__PURE__ */ (0, x.jsx)(IO, {
+ a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(bO, {
+ term: /* @__PURE__ */ (0, x.jsx)(kO, {
source: "115",
label: "115 目标目录"
}),
@@ -56885,55 +56922,55 @@ function Rke({ report: e, detected: t, suggested: n, create: r, creating: i }) {
children: "新建这个目录"
}) : null]
}) : null,
- n.root ? /* @__PURE__ */ (0, x.jsx)(DO, {
- term: /* @__PURE__ */ (0, x.jsx)(IO, {
+ n.root ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ term: /* @__PURE__ */ (0, x.jsx)(kO, {
source: "pikpak",
label: "PikPak 根目录"
}),
children: `按推送发现填入 ${n.root},保存配置后生效`
}) : null,
- e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(DO, {
+ e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(bO, {
term: "离线权限",
children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"
}) : null,
- e.folder ? /* @__PURE__ */ (0, x.jsx)(DO, {
+ e.folder ? /* @__PURE__ */ (0, x.jsx)(bO, {
term: "目标目录",
children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`
}) : null,
- e.quota ? /* @__PURE__ */ (0, x.jsx)(DO, {
- term: /* @__PURE__ */ (0, x.jsx)(IO, {
+ e.quota ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ term: /* @__PURE__ */ (0, x.jsx)(kO, {
source: "115",
label: "115 离线配额"
}),
children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`
}) : null
- ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(CO, { children: e }, e))]
+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(gO, { children: e }, e))]
});
}
-function zke({ 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 = mO(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
+function Uke({ 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 = sO(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
(0, b.useEffect)(() => {
if (!v) return;
let e = new AbortController(), r, i = async () => {
try {
- let r = await B(mR, e.signal);
+ let r = await tn(uR, e.signal);
if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;
} catch (t) {
if (e.signal.aborted) return;
f(z(t));
}
- r = setTimeout(i, Nke);
+ r = setTimeout(i, Lke);
};
- return r = setTimeout(i, Nke), () => {
+ return r = setTimeout(i, Lke), () => {
e.abort(), clearTimeout(r);
};
}, [v]);
let y = () => {
- m(""), h.run("browser", (e) => V(mR, {}, "POST", e), (e) => {
+ m(""), h.run("browser", (e) => B(uR, {}, "POST", e), (e) => {
t(e), f("");
}, (e) => f(z(e)));
}, S = () => {
- h.run("cancel", (e) => V(`${mR}/cancel`, {}, "POST", e), (e) => {
+ h.run("cancel", (e) => B(`${uR}/cancel`, {}, "POST", e), (e) => {
t(e), f(""), m(e.pikpak_browser.message);
}, (e) => f(z(e)));
}, C = (e) => {
@@ -56943,15 +56980,15 @@ function zke({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
password: a,
remember: s
};
- h.run("login", (e) => V(jke, i, "POST", e), (e) => {
+ h.run("login", (e) => B(Fke, i, "POST", e), (e) => {
t(e.settings), f(""), e.ok ? (u(""), o(""), n("已登录 PikPak")) : u(e.captcha_url ?? "");
}, (e) => f(z(e)));
}, w = () => {
- h.run("logout", (e) => V(Mke, {}, "POST", e), (e) => {
+ h.run("logout", (e) => B(Ike, {}, "POST", e), (e) => {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(z(e)));
}, T = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -56960,7 +56997,7 @@ function zke({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -56969,7 +57006,7 @@ function zke({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, x.jsx)(kN, {
+ /* @__PURE__ */ (0, x.jsx)(EN, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -56980,7 +57017,7 @@ function zke({ 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)(TO, {
+ children: /* @__PURE__ */ (0, x.jsx)(vO, {
href: l,
children: "打开 PikPak 验证页"
})
@@ -56993,24 +57030,24 @@ function zke({ 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)(vO, {
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "PikPak 账号",
- icon: /* @__PURE__ */ (0, x.jsx)(Wpe.pikpak, {}),
+ icon: /* @__PURE__ */ (0, x.jsx)(Xpe.pikpak, {}),
onSubmit: C,
children: [
- g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(EO, { children: [/* @__PURE__ */ (0, x.jsx)(DO, {
+ g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(yO, { children: [/* @__PURE__ */ (0, x.jsx)(bO, {
term: "账号",
children: g.username || "已登录"
- }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(DO, {
+ }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(bO, {
term: "登录方式",
children: "浏览器登录,由 Peach 续期"
- }) : /* @__PURE__ */ (0, x.jsx)(DO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(bO, {
term: "密码",
children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"
- })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)(bO, { children: [p ? D ? /* @__PURE__ */ (0, x.jsx)(CO, { children: p }) : /* @__PURE__ */ (0, x.jsx)(SO, {
+ })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)(pO, { children: [p ? D ? /* @__PURE__ */ (0, x.jsx)(gO, { children: p }) : /* @__PURE__ */ (0, x.jsx)(hO, {
role: "status",
children: p
- }) : null, /* @__PURE__ */ (0, x.jsx)(OO, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(xO, {
summary: "用账号密码登录",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4",
@@ -57019,13 +57056,13 @@ function zke({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
children: E
})]
})
- })] }) : /* @__PURE__ */ (0, x.jsx)(bO, { children: T }),
- d || h.error ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ })] }) : /* @__PURE__ */ (0, x.jsx)(pO, { children: T }),
+ d || h.error ? /* @__PURE__ */ (0, x.jsx)(pO, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(CO, { children: d || h.error })
+ children: /* @__PURE__ */ (0, x.jsx)(gO, { children: d || h.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(xO, {
- status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(uO, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(mO, {
+ status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(rO, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
children: g.logged_in ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: w,
@@ -57051,33 +57088,33 @@ function zke({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var Bke = [
+var Wke = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function Vke({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
+function Gke({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...pR(r),
+ ...lR(r),
children: [
- /* @__PURE__ */ (0, x.jsx)(Wke, { facts: e.facts }),
- /* @__PURE__ */ (0, x.jsx)(Hke, {
+ /* @__PURE__ */ (0, x.jsx)(Jke, { facts: e.facts }),
+ /* @__PURE__ */ (0, x.jsx)(Kke, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, x.jsx)(Gke, {
+ e.uninstall ? /* @__PURE__ */ (0, x.jsx)(Yke, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function Hke({ receipt: e, reopenTutorial: t }) {
- let n = mO();
+function Kke({ receipt: e, reopenTutorial: t }) {
+ let n = sO();
return /* @__PURE__ */ (0, x.jsx)("section", {
"aria-label": "安装教程",
className: "w-full",
- children: /* @__PURE__ */ (0, x.jsxs)(xpe, { children: [/* @__PURE__ */ (0, x.jsx)(yO, { children: /* @__PURE__ */ (0, x.jsx)(hO, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Dpe, { children: [/* @__PURE__ */ (0, x.jsx)(fO, { children: /* @__PURE__ */ (0, x.jsx)(cO, {
label: "安装教程",
children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -57085,61 +57122,61 @@ function Hke({ receipt: e, reopenTutorial: t }) {
...q(n.busy === "reopen"),
children: "重新打开教程"
})
- }) }), n.error ? /* @__PURE__ */ (0, x.jsx)(bO, { children: /* @__PURE__ */ (0, x.jsx)(CO, { children: n.error }) }) : null] })
+ }) }), n.error ? /* @__PURE__ */ (0, x.jsx)(pO, { children: /* @__PURE__ */ (0, x.jsx)(gO, { children: n.error }) }) : null] })
});
}
-function Uke({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = mO(e.error), s = (r) => {
- r.preventDefault(), e.available && o.run("save", (e) => V("/api/configuration/automatic-updates", {
+function qke({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = sO(e.error), s = (r) => {
+ r.preventDefault(), e.available && o.run("save", (e) => B("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "下载完成后在这里确认重启安装。" : void 0 : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, x.jsxs)(yO, { children: [
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsxs)(fO, { children: [
+ /* @__PURE__ */ (0, x.jsx)(cO, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ children: /* @__PURE__ */ (0, x.jsx)(BI, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsx)(cO, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ children: /* @__PURE__ */ (0, x.jsx)(BI, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsx)(cO, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, x.jsx)(SN, {
+ children: /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: Bke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ children: Wke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ o.error ? /* @__PURE__ */ (0, x.jsx)(pO, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(CO, { children: o.error })
+ children: /* @__PURE__ */ (0, x.jsx)(gO, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(xO, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(mO, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
disabled: !e.available,
...q(o.busy === "save"),
@@ -57148,18 +57185,18 @@ function Uke({ initial: e, receipt: t }) {
]
});
}
-function Wke({ facts: e }) {
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+function Jke({ facts: e }) {
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "运行信息",
- children: [/* @__PURE__ */ (0, x.jsx)(EO, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(DO, {
+ children: [/* @__PURE__ */ (0, x.jsx)(yO, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(bO, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(TO, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(vO, {
href: e.download_url,
children: e.download_label
}) : null]
- }, e.term)) }), /* @__PURE__ */ (0, x.jsx)(yO, { children: /* @__PURE__ */ (0, x.jsx)(hO, {
+ }, e.term)) }), /* @__PURE__ */ (0, x.jsx)(fO, { children: /* @__PURE__ */ (0, x.jsx)(cO, {
label: "系统诊断",
- children: /* @__PURE__ */ (0, x.jsx)(sO, {
+ children: /* @__PURE__ */ (0, x.jsx)(eO, {
variant: "secondary",
href: "/diagnostics",
children: "打开系统诊断"
@@ -57167,44 +57204,44 @@ function Wke({ facts: e }) {
}) })]
});
}
-function Gke({ uninstall: e, receipt: t }) {
- let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), o = () => void cs({
+function Yke({ uninstall: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), o = () => void os({
title: "卸载 Peach",
danger: !0,
body: n ? "将退出 Peach,移除程序、开机自启、桌面图标、设置、本地数据库、观看记录、凭据和缓存。原始媒体文件保留。" : "将退出 Peach 并移除程序、开机自启和桌面图标。设置、本地数据库、观看记录与缓存保留。",
confirmLabel: "卸载 Peach",
onConfirm: async () => {
- let e = await V("/api/configuration/uninstall", {
+ let e = await B("/api/configuration/uninstall", {
delete_data: n,
confirmation: "卸载 Peach"
});
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, x.jsxs)(bO, { children: [
- e.available ? /* @__PURE__ */ (0, x.jsx)(SO, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(pO, { children: [
+ e.available ? /* @__PURE__ */ (0, x.jsx)(hO, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(cO, {
label: "完全卸载",
description: "同时删除设置、本地数据库、观看记录、凭据和缓存",
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ children: /* @__PURE__ */ (0, x.jsx)(BI, {
"aria-label": "完全卸载",
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r
})
}),
- /* @__PURE__ */ (0, x.jsx)(OO, {
+ /* @__PURE__ */ (0, x.jsx)(xO, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(_N, {
+ children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(mN, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, x.jsx)(xO, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(mO, {
status: s ? /* @__PURE__ */ (0, x.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -57220,30 +57257,30 @@ function Gke({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var Kke = /* @__PURE__ */ new Set([
+var Xke = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), qke = [
+]), Zke = [
65,
67,
90
-], Jke = 120;
-function Yke({ initial: e, initialJob: t }) {
+], Qke = 120;
+function $ke({ 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 = mO(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = Kke.has(i.state);
+ }), [o, s] = (0, b.useState)(""), c = sO(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = Xke.has(i.state);
(0, b.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
let f = async () => {
- let e = await V("/api/configuration/update-restart", {});
+ let e = await B("/api/configuration/update-restart", {});
u.current && a(e);
- }, p = () => void cs({
+ }, p = () => void os({
title: "更新已准备好",
body: `Peach ${i.version || ""} 将在重启后安装。`,
confirmLabel: "立即重启",
@@ -57253,9 +57290,9 @@ function Yke({ 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 = Kke.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = Xke.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
- let t = await B("/api/configuration/update-status", e.signal);
+ let t = await tn("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
a(t), o = 0, t.state === "complete" && r((e) => ({
...e,
@@ -57263,76 +57300,76 @@ function Yke({ initial: e, initialJob: t }) {
state: "current",
message: "已是最新测试版。"
}));
- let n = await B("/api/configuration/automatic-updates", e.signal);
+ let n = await tn("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= Jke && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= Qke && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < Jke && (n = setTimeout(c, t));
+ !e.signal.aborted && o < Qke && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
};
}, [i.state]);
let m = () => {
- d || (l.current = !1, s(""), c.run("download", (e) => V("/api/configuration/update", {}, "POST", e), a));
- }, h = () => void c.run("check", (e) => B("/api/configuration/updates", e), r, (t) => {
+ d || (l.current = !1, s(""), c.run("download", (e) => B("/api/configuration/update", {}, "POST", e), a));
+ }, h = () => void c.run("check", (e) => tn("/api/configuration/updates", e), r, (t) => {
r({
...e,
state: "error"
}), c.setError(z(t));
}), g = c.error || o, _ = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, x.jsxs)(EO, { children: [
- /* @__PURE__ */ (0, x.jsx)(DO, {
+ /* @__PURE__ */ (0, x.jsxs)(yO, { children: [
+ /* @__PURE__ */ (0, x.jsx)(bO, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, x.jsx)(DO, {
+ /* @__PURE__ */ (0, x.jsx)(bO, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, x.jsx)(DO, {
+ /* @__PURE__ */ (0, x.jsx)(bO, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, x.jsx)(DO, {
+ /* @__PURE__ */ (0, x.jsx)(bO, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)(bO, {
+ n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)(pO, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(SO, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(hO, { 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)(CO, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(SO, {
+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, x.jsx)(gO, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(hO, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(CO, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(gO, { 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)(pO, {
+ /* @__PURE__ */ (0, x.jsx)(oO, {
label: "更新准备进度",
value: i.progress,
- stops: qke
+ stops: Zke
}),
- /* @__PURE__ */ (0, x.jsxs)(SO, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, x.jsx)(SO, { children: _ })
+ /* @__PURE__ */ (0, x.jsxs)(hO, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, x.jsx)(hO, { children: _ })
]
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(xO, {
- status: /* @__PURE__ */ (0, x.jsx)(TO, {
+ /* @__PURE__ */ (0, x.jsxs)(mO, {
+ status: /* @__PURE__ */ (0, x.jsx)(vO, {
href: n.release_url,
children: "查看发布页"
}),
@@ -57360,60 +57397,60 @@ function Yke({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function Xke({ data: e, receipt: t, panel: n }) {
+function eAe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...pR(n),
+ ...lR(n),
children: [
- e.startup ? /* @__PURE__ */ (0, x.jsx)(Zke, {
+ e.startup ? /* @__PURE__ */ (0, x.jsx)(tAe, {
startup: e.startup,
receipt: t
}) : null,
- e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(Uke, {
+ e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(qke, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, x.jsx)(Yke, {
+ e.updates ? /* @__PURE__ */ (0, x.jsx)($ke, {
initial: e.updates,
initialJob: e.update_job
}) : null
]
});
}
-function Zke({ 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 = mO(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+function tAe({ 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 = sO(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "开机自启",
onSubmit: (r) => {
- r.preventDefault(), e.available && c.run("save", (e) => V("/api/configuration/startup", {
+ r.preventDefault(), e.available && c.run("save", (e) => B("/api/configuration/startup", {
enabled: n,
silent: i,
desktop: o
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, x.jsxs)(yO, { children: [
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsxs)(fO, { children: [
+ /* @__PURE__ */ (0, x.jsx)(cO, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ children: /* @__PURE__ */ (0, x.jsx)(BI, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsx)(cO, {
label: "只启动托盘,不打开网页",
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ children: /* @__PURE__ */ (0, x.jsx)(BI, {
"aria-label": "只启动托盘,不打开网页",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsx)(cO, {
label: "在桌面创建快捷方式",
description: e.desktop_message || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ children: /* @__PURE__ */ (0, x.jsx)(BI, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -57421,11 +57458,11 @@ function Zke({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)(bO, {
+ e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)(pO, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, x.jsx)(SO, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(CO, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, x.jsx)(hO, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(gO, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(xO, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(mO, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
disabled: !e.available,
...q(c.busy === "save"),
@@ -57436,7 +57473,7 @@ function Zke({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/restart-redirect.ts
-var Qke = 8e3, $ke = [
+var nAe = 8e3, rAe = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -57455,33 +57492,33 @@ var Qke = 8e3, $ke = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], eAe = [
+], iAe = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function tAe() {
+function aAe() {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "@container flex flex-col gap-3",
- children: /* @__PURE__ */ (0, x.jsxs)(OO, {
+ children: /* @__PURE__ */ (0, x.jsxs)(xO, {
summary: "CloudDrive 设置帮助",
children: [
- /* @__PURE__ */ (0, x.jsxs)(SO, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(TO, {
+ /* @__PURE__ */ (0, x.jsxs)(hO, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(vO, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
})] }),
- /* @__PURE__ */ (0, x.jsx)(SO, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, x.jsx)(hO, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, x.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: $ke.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
+ children: rAe.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: eAe.map(([t, n]) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: iAe.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",
@@ -57502,7 +57539,7 @@ function tAe() {
/* @__PURE__ */ (0, x.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, x.jsx)(SO, { children: /* @__PURE__ */ (0, x.jsx)(TO, {
+ /* @__PURE__ */ (0, x.jsx)(hO, { children: /* @__PURE__ */ (0, x.jsx)(vO, {
href: "https://github.com/peach-mitao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "完整配置与调优说明"
}) })
@@ -57512,7 +57549,7 @@ function tAe() {
}
//#endregion
//#region src/react/settings/folder-rows.tsx
-function nAe({ className: e }) {
+function oAe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -57525,12 +57562,12 @@ function nAe({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-search" })
});
}
-var hR = [
+var dR = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], rAe = (e) => qa[e] || "database", iAe = (e) => e === "115" || e === "pikpak";
-function aAe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
+], sAe = (e) => Ka[e] || "database", cAe = (e) => e === "115" || e === "pikpak";
+function lAe({ 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));
@@ -57573,7 +57610,7 @@ function aAe({ 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 uAe({ 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);
@@ -57586,7 +57623,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)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
className: "min-w-0 flex-1",
"aria-label": e,
placeholder: "本机文件夹路径",
@@ -57604,8 +57641,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)(gN, {
- icon: nAe,
+ /* @__PURE__ */ (0, x.jsx)(pN, {
+ icon: oAe,
"aria-label": "选择文件夹",
onClick: o,
...q(a)
@@ -57613,7 +57650,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: DD,
+ leadingIcon: bD,
"aria-label": "移除这个文件夹",
onClick: s
}) : null
@@ -57624,23 +57661,23 @@ function oAe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
})]
});
}
-function sAe({ index: e, value: t, onChange: n, options: r = hR }) {
- return /* @__PURE__ */ (0, x.jsx)(SN, {
+function dAe({ index: e, value: t, onChange: n, options: r = dR }) {
+ return /* @__PURE__ */ (0, x.jsx)(yN, {
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)(CN, {
+ children: r.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(bN, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, x.jsx)(kO, { mark: rAe(e) }), t]
+ children: [/* @__PURE__ */ (0, x.jsx)(SO, { mark: sAe(e) }), t]
}, e))
});
}
-function cAe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
- return /* @__PURE__ */ (0, x.jsx)(BN, {
+function fAe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
+ return /* @__PURE__ */ (0, x.jsx)(LN, {
label: n,
placeholder: r,
value: e,
@@ -57649,7 +57686,7 @@ function cAe({ value: e, onChange: t, label: n = "Windows 中的对应路径", p
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var lAe = [
+var pAe = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -57693,13 +57730,13 @@ var lAe = [
["star", "收藏"],
["tags", "主题"]
];
-function uAe(e) {
- let t = e === "local" ? "" : qa[e];
+function mAe(e) {
+ let t = e === "local" ? "" : Ka[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var gR = "auto";
-function dAe({ 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] = uAe(n);
+var fR = "auto";
+function hAe({ 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] = mAe(n);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
ref: i,
variant: "secondary",
@@ -57713,35 +57750,35 @@ function dAe({ 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)(kO, { mark: e || l }), ((e) => e && lAe.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, x.jsx)(SO, { mark: e || l }), ((e) => e && pAe.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, x.jsx)(mA, {
+ }), /* @__PURE__ */ (0, x.jsx)(lA, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: qM,
- children: /* @__PURE__ */ (0, x.jsxs)(TA, {
+ className: UM,
+ children: /* @__PURE__ */ (0, x.jsxs)(bA, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, x.jsx)(lk, {
+ /* @__PURE__ */ (0, x.jsx)(nk, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, x.jsx)(MA, {
+ /* @__PURE__ */ (0, x.jsx)(DA, {
"aria-label": "候选图标",
- value: s || gR,
- onChange: (e) => c(e === gR ? "" : e),
+ value: s || fR,
+ onChange: (e) => c(e === fR ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: lAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(NA, {
- value: e || gR,
+ children: pAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(OA, {
+ value: e || fR,
"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)(kO, { mark: e || l })
- }, e || gR))
+ children: /* @__PURE__ */ (0, x.jsx)(SO, { mark: e || l })
+ }, e || fR))
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -57763,9 +57800,9 @@ function dAe({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var fAe = "/api/configuration/push-discovery", pAe = "/api/configuration/push-discovery/secret";
-function mAe({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = mO(), l = mN(), u = n.media_roots, [d, f] = (0, b.useState)(e), p = (e, n) => {
+var gAe = "/api/configuration/push-discovery", _Ae = "/api/configuration/push-discovery/secret";
+function vAe({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = sO(), l = dN(), 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,
@@ -57778,21 +57815,21 @@ function mAe({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => V(fAe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(z(e)));
+ c.run("save", (e) => B(gAe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(z(e)));
}, g = () => {
- c.run("secret", (e) => V(pAe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(z(e)));
+ c.run("secret", (e) => B(_Ae, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(z(e)));
}, _ = () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看配置」选中自己复制。"));
}, v = `已入库 ${d.queue.ingested} 个文件` + (d.queue.pending ? `,队列里还有 ${d.queue.pending} 条` : ""), y = d.local_running ? `正在监视 ${d.local_roots.join("、")}` : d.local_message || "没有运行";
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "推送发现",
onSubmit: h,
children: [
- /* @__PURE__ */ (0, x.jsxs)(yO, { children: [
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsxs)(fO, { children: [
+ /* @__PURE__ */ (0, x.jsx)(cO, {
label: "新文件落地就入库",
description: d.enabled ? v : void 0,
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ children: /* @__PURE__ */ (0, x.jsx)(BI, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -57802,10 +57839,10 @@ function mAe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsx)(cO, {
label: "监视本机文件夹",
description: d.enabled && d.watch_local ? y : void 0,
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ children: /* @__PURE__ */ (0, x.jsx)(BI, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -57815,9 +57852,9 @@ function mAe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsx)(cO, {
label: "接收 CloudDrive2 通知",
- children: /* @__PURE__ */ (0, x.jsx)(UI, {
+ children: /* @__PURE__ */ (0, x.jsx)(BI, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -57827,7 +57864,7 @@ function mAe({ initial: e, receipt: t }) {
})
})
}),
- d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)(hO, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)(cO, {
label: "Webhook 配置",
description: d.config_toml ? "贴进 CloudDrive2「设置 → Webhooks」,需要会员;更换密钥后要重贴。" : d.origin ? "还没有共享密钥,保存配置后生成。" : "要先有 CloudDrive2 能访问的 HTTPS 地址才能生成。",
children: d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
@@ -57838,11 +57875,11 @@ function mAe({ initial: e, receipt: t }) {
}) : null
}) : null
] }),
- d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(pO, {
divided: !0,
children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-3",
- children: /* @__PURE__ */ (0, x.jsxs)(OO, {
+ children: /* @__PURE__ */ (0, x.jsxs)(xO, {
summary: "查看配置",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "relative",
@@ -57852,16 +57889,16 @@ function mAe({ 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)(SO, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]
+ }), /* @__PURE__ */ (0, x.jsx)(hO, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]
})
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)(pO, {
divided: !0,
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(wO, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, x.jsx)(_O, { children: "云端路径前缀" }),
/* @__PURE__ */ (0, x.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -57869,7 +57906,7 @@ function mAe({ 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)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -57878,13 +57915,13 @@ function mAe({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, x.jsx)(SN, {
+ /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ children: u.map((e) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e,
children: e
}, e))
@@ -57892,7 +57929,7 @@ function mAe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
iconOnly: !0,
- leadingIcon: DD,
+ leadingIcon: bD,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -57911,11 +57948,11 @@ function mAe({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ o || c.error ? /* @__PURE__ */ (0, x.jsx)(pO, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(CO, { children: o || c.error })
+ children: /* @__PURE__ */ (0, x.jsx)(gO, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(xO, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsxs)(mO, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: g,
disabled: !n.available,
@@ -57932,84 +57969,84 @@ function mAe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/application/initial-follow-ranges.ts
-var hAe = [
+var yAe = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
-], gAe = [
+], bAe = [
["off", "关闭"],
["precise", "每 10 秒一张"],
["coarse", "每 30 秒一张"]
-], _Ae = [
+], xAe = [
["7", "每周"],
["30", "每月"],
["90", "每季"],
["0", "从不"]
];
-function vAe({ epoch: e = 0 }) {
- let t = ft({
- queryKey: eye,
- queryFn: ({ signal: e }) => rye(e),
+function SAe({ epoch: e = 0 }) {
+ let t = ut({
+ queryKey: iye,
+ queryFn: ({ signal: e }) => sye(e),
refetchOnMount: "always"
- }), n = oye(), r = n.reset;
+ }), n = uye(), r = n.reset;
(0, b.useEffect)(() => {
r();
}, [e, r]);
let i = t.data, a = n.error || t.error;
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "时间轴缩略图",
children: [
- /* @__PURE__ */ (0, x.jsx)(yO, { children: /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsx)(fO, { children: /* @__PURE__ */ (0, x.jsx)(cO, {
label: "采集间隔",
description: "仅采集本机磁盘上的视频。",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "videoThumbnailSetting",
- children: /* @__PURE__ */ (0, x.jsx)(SN, {
+ children: /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "缩略图采集间隔",
selectedKey: i?.mode || "off",
isDisabled: !i || t.isFetching || n.isPending,
onSelectionChange: (e) => {
e !== null && n.mutate(String(e));
},
- children: gAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ children: bAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e,
children: t
}, e))
})
})
}) }),
- n.isPending || i?.status === "running" ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ n.isPending || i?.status === "running" ? /* @__PURE__ */ (0, x.jsx)(pO, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(SO, {
+ children: /* @__PURE__ */ (0, x.jsx)(hO, {
role: "status",
children: n.isPending ? "正在保存…" : "正在采集,进度在活动页查看。"
})
}) : null,
- a ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ a ? /* @__PURE__ */ (0, x.jsx)(pO, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(CO, { children: z(a) })
+ children: /* @__PURE__ */ (0, x.jsx)(gO, { children: z(a) })
}) : null
]
});
}
-function yAe({ receipt: e }) {
- let t = Nw();
+function CAe({ receipt: e }) {
+ let t = jw();
(0, b.useSyncExternalStore)(t.subscribe, t.version);
- let n = ft({
- queryKey: hM,
- queryFn: ({ signal: e }) => tye(e),
+ let n = ut({
+ queryKey: uM,
+ queryFn: ({ signal: e }) => aye(e),
refetchOnMount: "always"
- }), r = gM(), i = gM(), a = n.data?.followInitialDays ?? t.value.followInitialDays, o = n.data?.metadataRefreshDays ?? t.value.metadataRefreshDays, s = r.error || i.error || n.error;
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+ }), r = dM(), i = dM(), a = n.data?.followInitialDays ?? t.value.followInitialDays, o = n.data?.metadataRefreshDays ?? t.value.metadataRefreshDays, s = r.error || i.error || n.error;
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "关注采集",
- children: [/* @__PURE__ */ (0, x.jsxs)(yO, { children: [
- /* @__PURE__ */ (0, x.jsx)(bAe, {}),
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(fO, { children: [
+ /* @__PURE__ */ (0, x.jsx)(wAe, {}),
+ /* @__PURE__ */ (0, x.jsx)(cO, {
label: "首次采集范围",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "followInitialDaysSetting",
- children: /* @__PURE__ */ (0, x.jsx)(SN, {
+ children: /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "首次采集范围",
selectedKey: String(a),
isDisabled: n.isFetching || r.isPending,
@@ -58018,45 +58055,45 @@ function yAe({ receipt: e }) {
typeof n.followInitialDays == "number" && (t.value.followInitialDays = n.followInitialDays), t.save(), e("已保存首次采集范围");
} });
},
- children: hAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ children: yAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e,
children: t
}, e))
})
})
}),
- /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsx)(cO, {
label: "头像与图标刷新",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "metadataRefreshSetting",
- children: /* @__PURE__ */ (0, x.jsx)(SN, {
+ children: /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "头像与图标刷新",
selectedKey: String(o),
isDisabled: n.isFetching || i.isPending,
onSelectionChange: (n) => {
- n !== null && kw.includes(Number(n)) && i.mutate({ metadataRefreshDays: Number(n) }, { onSuccess: (n) => {
+ n !== null && Dw.includes(Number(n)) && i.mutate({ metadataRefreshDays: Number(n) }, { onSuccess: (n) => {
typeof n.metadataRefreshDays == "number" && (t.value.metadataRefreshDays = n.metadataRefreshDays), t.save(), e("已保存头像与图标刷新频率");
} });
},
- children: _Ae.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ children: xAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e,
children: t
}, e))
})
})
})
- ] }), s ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ ] }), s ? /* @__PURE__ */ (0, x.jsx)(pO, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(CO, { children: z(s) })
+ children: /* @__PURE__ */ (0, x.jsx)(gO, { children: z(s) })
}) : null]
});
}
-function bAe() {
- let e = ft({
- queryKey: $ve,
- queryFn: ({ signal: e }) => nye(e),
+function wAe() {
+ let e = ut({
+ queryKey: rye,
+ queryFn: ({ signal: e }) => oye(e),
refetchOnMount: "always"
- }), t = aye(), n = e.data, r = (0, b.useRef)(rw(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, b.useState)("60"), [o, s] = (0, b.useState)(!1);
+ }), t = lye(), n = e.data, r = (0, b.useRef)(tw(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]);
@@ -58065,12 +58102,12 @@ function bAe() {
!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)(hO, {
+ /* @__PURE__ */ (0, x.jsx)(cO, {
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)(UI, {
+ children: [/* @__PURE__ */ (0, x.jsx)(BI, {
"aria-label": "自动检查更新",
isSelected: n?.enabled === !0,
isDisabled: c,
@@ -58079,7 +58116,7 @@ function bAe() {
}
}), n?.enabled ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(BN, {
+ children: [/* @__PURE__ */ (0, x.jsx)(LN, {
type: "number",
inputMode: "numeric",
name: "follow-interval",
@@ -58104,39 +58141,39 @@ function bAe() {
}) : null]
})
}),
- o ? /* @__PURE__ */ (0, x.jsx)(bO, { children: /* @__PURE__ */ (0, x.jsx)(CO, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
- t.isPending || n?.running ? /* @__PURE__ */ (0, x.jsx)(bO, { children: /* @__PURE__ */ (0, x.jsx)(SO, {
+ o ? /* @__PURE__ */ (0, x.jsx)(pO, { children: /* @__PURE__ */ (0, x.jsx)(gO, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
+ t.isPending || n?.running ? /* @__PURE__ */ (0, x.jsx)(pO, { children: /* @__PURE__ */ (0, x.jsx)(hO, {
role: "status",
children: t.isPending ? "正在保存…" : "正在检查来源更新…"
}) }) : null,
- u ? /* @__PURE__ */ (0, x.jsx)(bO, { children: /* @__PURE__ */ (0, x.jsx)(CO, { children: z(u) }) }) : null
+ u ? /* @__PURE__ */ (0, x.jsx)(pO, { children: /* @__PURE__ */ (0, x.jsx)(gO, { children: z(u) }) }) : null
] });
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var xAe = (e) => hR.find(([t]) => t === e)?.[1] ?? e, SAe = async (e) => (await V(Eke, { initial: e })).path, CAe = (e = "") => ({
+var TAe = (e) => dR.find(([t]) => t === e)?.[1] ?? e, EAe = async (e) => (await B(Ake, { initial: e })).path, DAe = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function wAe(e) {
- let t = e.media_sources?.filter((e) => hR.some(([t]) => t === e.location));
+function OAe(e) {
+ let t = e.media_sources?.filter((e) => dR.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) => CAe(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => DAe(e));
}
-var TAe = (e) => !(e instanceof tn) || e.status !== 400 ? null : e.body?.errors ?? null;
-function EAe({ data: e, receipt: t, panel: n }) {
+var kAe = (e) => !(e instanceof $t) || e.status !== 400 ? null : e.body?.errors ?? null;
+function AAe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...pR(n),
+ ...lR(n),
children: [
- e.editable ? /* @__PURE__ */ (0, x.jsx)(DAe, {
+ e.editable ? /* @__PURE__ */ (0, x.jsx)(jAe, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, x.jsx)(K, {
@@ -58144,29 +58181,29 @@ function EAe({ 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)(mAe, {
+ e.editable ? null : /* @__PURE__ */ (0, x.jsx)(NAe, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, x.jsx)(vAe, {
initial: e.push_discovery,
receipt: t
}) : null,
- /* @__PURE__ */ (0, x.jsx)(vAe, {})
+ /* @__PURE__ */ (0, x.jsx)(SAe, {})
]
});
}
-function DAe({ data: e, receipt: t }) {
- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = aAe({
- initial: () => wAe(e),
- blank: () => CAe(),
- pickFolder: SAe,
+function jAe({ data: e, receipt: t }) {
+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = lAe({
+ initial: () => OAe(e),
+ blank: () => DAe(),
+ pickFolder: EAe,
describe: z
- }), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(null), _ = (0, b.useRef)(e.revision), v = mO();
+ }), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(null), _ = (0, b.useRef)(e.revision), v = sO();
(0, b.useEffect)(() => {
if (!h) return;
- let e = setTimeout(() => location.assign(h.url), Qke);
+ let e = setTimeout(() => location.assign(h.url), nAe);
return () => clearTimeout(e);
}, [h]);
let y = (r) => {
- r.preventDefault(), m(""), v.run("save", (t) => V(lR, {
+ r.preventDefault(), m(""), v.run("save", (t) => B(aR, {
revision: _.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -58175,18 +58212,18 @@ function DAe({ data: e, receipt: t }) {
}, "POST", t), (e) => {
_.current = e.revision, s([]), t("已保存配置"), g(e);
}, (e) => {
- let t = TAe(e);
+ let t = kAe(e);
s(t?.media_dirs ?? []), (!t || t.port) && m(t?.port || z(e));
});
};
- if (h) return /* @__PURE__ */ (0, x.jsx)(vO, {
+ if (h) return /* @__PURE__ */ (0, x.jsx)(dO, {
title: "媒体文件夹",
- children: /* @__PURE__ */ (0, x.jsx)(bO, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(pO, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, x.jsx)(_O, {
+ /* @__PURE__ */ (0, x.jsx)(uO, {
href: h.url,
size: "small",
children: "进入馆藏"
@@ -58195,20 +58232,20 @@ function DAe({ data: e, receipt: t }) {
]
}) })
});
- let S = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, C = n.some((e) => iAe(e.location)), w = C ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+ let S = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, C = n.some((e) => cAe(e.location)), w = C ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "媒体文件夹",
onSubmit: y,
- children: [/* @__PURE__ */ (0, x.jsxs)(bO, { children: [
+ children: [/* @__PURE__ */ (0, x.jsxs)(pO, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(wO, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, x.jsx)(_O, { 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)(uAe, {
label: `媒体文件夹 ${i + 1}`,
path: t.path,
onPath: (e) => r(i, { path: e }),
@@ -58217,14 +58254,14 @@ function DAe({ 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)(OAe, { online: S(t.path)?.online }) : null,
+ status: S(t.path) ? /* @__PURE__ */ (0, x.jsx)(MAe, { online: S(t.path)?.online }) : null,
children: [
- /* @__PURE__ */ (0, x.jsx)(sAe, {
+ /* @__PURE__ */ (0, x.jsx)(dAe, {
index: i,
value: t.location,
onChange: (e) => r(i, { location: e })
}),
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
className: "min-w-40 flex-1",
"aria-label": `媒体库名称 ${i + 1}`,
maxLength: 80,
@@ -58232,13 +58269,13 @@ function DAe({ data: e, receipt: t }) {
value: t.library,
onChange: (e) => r(i, { library: e })
}),
- /* @__PURE__ */ (0, x.jsx)(dAe, {
+ /* @__PURE__ */ (0, x.jsx)(hAe, {
label: `媒体库图标 ${i + 1}`,
value: t.library_icon,
kind: t.location,
onChange: (e) => r(i, { library_icon: e })
}),
- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(cAe, {
+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(fAe, {
value: t.root,
onChange: (e) => r(i, { root: e })
}) : null
@@ -58253,18 +58290,18 @@ function DAe({ data: e, receipt: t }) {
})
]
}),
- C ? /* @__PURE__ */ (0, x.jsx)(tAe, {}) : null,
- w.map((e) => /* @__PURE__ */ (0, x.jsxs)(SO, { children: [
+ C ? /* @__PURE__ */ (0, x.jsx)(aAe, {}) : null,
+ w.map((e) => /* @__PURE__ */ (0, x.jsxs)(hO, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, x.jsxs)(TO, {
+ /* @__PURE__ */ (0, x.jsxs)(vO, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(SO, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,
- /* @__PURE__ */ (0, x.jsx)(kN, {
+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(hO, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(EN, {
isSelected: d,
onChange: f,
children: "保存后扫描并补全资料"
@@ -58274,7 +58311,7 @@ function DAe({ data: e, receipt: t }) {
title: "没有保存",
children: p
}) : null
- ] }), /* @__PURE__ */ (0, x.jsx)(xO, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(mO, {
status: "保存后 Peach 会重新启动。",
children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
@@ -58284,7 +58321,7 @@ function DAe({ data: e, receipt: t }) {
})]
});
}
-function OAe({ online: e }) {
+function MAe({ 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",
@@ -58308,22 +58345,22 @@ function OAe({ online: e }) {
}), "未检测"]
});
}
-function kAe({ data: e }) {
- let t = e.media_sources, n = mO();
- return t ? /* @__PURE__ */ (0, x.jsxs)(vO, {
+function NAe({ data: e }) {
+ let t = e.media_sources, n = sO();
+ return t ? /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, x.jsx)(EO, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(DO, {
- term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(kO, { mark: rAe(e.location) }), xAe(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(OAe, { online: e.online })]
+ /* @__PURE__ */ (0, x.jsx)(yO, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(bO, {
+ term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(SO, { mark: sAe(e.location) }), TAe(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(MAe, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, x.jsx)(bO, {
+ n.error ? /* @__PURE__ */ (0, x.jsx)(pO, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(CO, { children: n.error })
+ children: /* @__PURE__ */ (0, x.jsx)(gO, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(xO, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(mO, { children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- onClick: () => void n.run("refresh", (e) => dR(e), (e) => H.setQueryData(uR, e)),
+ onClick: () => void n.run("refresh", (e) => sR(e), (e) => V.setQueryData(oR, e)),
...q(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -58332,8 +58369,8 @@ function kAe({ data: e }) {
}
//#endregion
//#region src/react/settings/password-pair.tsx
-function AAe({ 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)(BN, {
+function PAe({ 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)(LN, {
id: "access-password",
type: "password",
label: e,
@@ -58346,7 +58383,7 @@ function AAe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
validationBehavior: "aria",
isInvalid: !a && !!o,
hint: a ? s : o || s
- }), /* @__PURE__ */ (0, x.jsx)(BN, {
+ }), /* @__PURE__ */ (0, x.jsx)(LN, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -58363,16 +58400,16 @@ function AAe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var jAe = {
+var FAe = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function MAe({ 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 = mO(), g = (e) => {
+function IAe({ 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 = sO(), 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) => V("/api/configuration/access", {
+ n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length ? requestAnimationFrame(() => m.current?.querySelector("input[aria-invalid=\"true\"]")?.focus()) : h.run("save", (e) => B("/api/configuration/access", {
revision: n.revision,
action: u ? "disable" : "set",
confirm_disable: u,
@@ -58382,28 +58419,28 @@ function MAe({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof tn ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof $t ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(z(e));
});
- }, _ = jAe[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+ }, _ = FAe[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, x.jsxs)(bO, { children: [
- _ ? /* @__PURE__ */ (0, x.jsx)(SO, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, x.jsxs)(pO, { children: [
+ _ ? /* @__PURE__ */ (0, x.jsx)(hO, { 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)(kN, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, x.jsx)(EN, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(BN, {
+ n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(LN, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -58416,7 +58453,7 @@ function MAe({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, x.jsx)(AAe, {
+ v ? /* @__PURE__ */ (0, x.jsx)(PAe, {
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
password: o,
confirmation: c,
@@ -58432,9 +58469,9 @@ function MAe({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, x.jsx)(CO, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, x.jsx)(gO, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, x.jsx)(xO, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ }), v ? /* @__PURE__ */ (0, x.jsx)(mO, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(h.busy === "save"),
children: "保存配置"
@@ -58443,27 +58480,27 @@ function MAe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/port-settings.tsx
-function NAe({ 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 = mO();
+function LAe({ 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 = sO();
return (0, b.useEffect)(() => {
if (!o) return;
- let e = setTimeout(() => location.assign(o.url), Qke);
+ let e = setTimeout(() => location.assign(o.url), nAe);
return () => clearTimeout(e);
- }, [o]), o ? /* @__PURE__ */ (0, x.jsx)(vO, {
+ }, [o]), o ? /* @__PURE__ */ (0, x.jsx)(dO, {
title: "本机访问端口",
- children: /* @__PURE__ */ (0, x.jsx)(bO, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(pO, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
tone: "success",
title: "配置已保存",
- children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, x.jsx)(_O, {
+ children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, x.jsx)(uO, {
href: o.url,
size: "small",
children: "进入馆藏"
})]
}) })
- }) : /* @__PURE__ */ (0, x.jsxs)(vO, {
+ }) : /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "本机访问端口",
onSubmit: (r) => {
- r.preventDefault(), a(""), c.run("save", (t) => V(lR, {
+ r.preventDefault(), a(""), c.run("save", (t) => B(aR, {
revision: e.revision,
media_dirs: e.media_dirs,
...e.media_sources ? { media_sources: e.media_sources } : {},
@@ -58472,11 +58509,11 @@ function NAe({ data: e, receipt: t }) {
}, "POST", t), (e) => {
s(e), t("已保存配置");
}, (e) => {
- let t = e instanceof tn && e.status === 400 ? e.body?.errors : null;
+ let t = e instanceof $t && e.status === 400 ? e.body?.errors : null;
t?.port ? a(t.port) : c.setError(z(e));
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(bO, { children: [/* @__PURE__ */ (0, x.jsx)(BN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(pO, { children: [/* @__PURE__ */ (0, x.jsx)(LN, {
id: "configPort",
label: "端口",
inputMode: "numeric",
@@ -58489,7 +58526,7 @@ function NAe({ data: e, receipt: t }) {
tone: "error",
title: "没有保存",
children: c.error
- }) : null] }), /* @__PURE__ */ (0, x.jsx)(xO, {
+ }) : null] }), /* @__PURE__ */ (0, x.jsx)(mO, {
status: "保存后 Peach 会重启,并跳转到新地址。",
children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
@@ -58501,25 +58538,25 @@ function NAe({ data: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var PAe = 2e3, FAe = [["quick", "临时链接"], ["named", "命名隧道"]], IAe = {
+var RAe = 2e3, zAe = [["quick", "临时链接"], ["named", "命名隧道"]], BAe = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function LAe({ 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 = mO(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function VAe({ 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 = sO(), 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(() => {
- dR(e.signal).then((t) => {
- !e.signal.aborted && t.tunnel && (H.setQueryData(uR, t), i(t.tunnel), o(t.revision));
+ sR(e.signal).then((t) => {
+ !e.signal.aborted && t.tunnel && (V.setQueryData(oR, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, PAe);
+ }, RAe);
return () => {
e.abort(), window.clearInterval(t);
};
}, [r.state]);
let v = (e, t, n) => {
- m({}), h.run(e, (e) => V("/api/configuration/tunnel", {
+ m({}), h.run(e, (e) => B("/api/configuration/tunnel", {
revision: a,
enabled: t,
mode: s,
@@ -58528,30 +58565,30 @@ function LAe({ revision: e, initial: t, receipt: n }) {
}, "POST", e), (e) => {
i(e), o(e.revision), c(e.mode), u(e.hostname), f(""), n(e);
}, (e) => {
- let t = e instanceof tn ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof $t ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : h.setError(z(e));
});
};
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, x.jsxs)(bO, { children: [
- r.named_available ? /* @__PURE__ */ (0, x.jsx)(pj, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(pO, { children: [
+ r.named_available ? /* @__PURE__ */ (0, x.jsx)(cj, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: mj,
- children: FAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(NA, {
+ className: lj,
+ children: zAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(OA, {
value: e,
- className: hj,
+ className: uj,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(SO, { children: IAe[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(hO, { children: BAe[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(LN, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -58562,7 +58599,7 @@ function LAe({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"
- }), /* @__PURE__ */ (0, x.jsx)(BN, {
+ }), /* @__PURE__ */ (0, x.jsx)(LN, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -58582,7 +58619,7 @@ function LAe({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, x.jsx)(TO, {
+ children: /* @__PURE__ */ (0, x.jsx)(vO, {
href: r.url,
children: r.url
})
@@ -58592,9 +58629,9 @@ function LAe({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, x.jsx)(CO, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, x.jsx)(CO, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsxs)(xO, {
+ r.error ? /* @__PURE__ */ (0, x.jsx)(gO, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, x.jsx)(gO, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(mO, {
status: r.enabled ? "Peach 重启后自动恢复。" : void 0,
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: r.named_available ? "secondary" : "primary",
@@ -58611,28 +58648,28 @@ function LAe({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var RAe = [
+var HAe = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function zAe({ data: e, receipt: t, panel: n }) {
+function UAe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...pR(n),
+ ...lR(n),
children: [
- e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, x.jsx)(NAe, {
+ e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, x.jsx)(LAe, {
data: e,
receipt: t
}) : null,
- e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(BAe, {
+ e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(WAe, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, x.jsx)(MAe, {
+ e.access ? /* @__PURE__ */ (0, x.jsx)(IAe, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, x.jsx)(LAe, {
+ e.tunnel ? /* @__PURE__ */ (0, x.jsx)(VAe, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -58640,13 +58677,13 @@ function zAe({ data: e, receipt: t, panel: n }) {
]
});
}
-function BAe({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = mO();
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+function WAe({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = sO();
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
- e.preventDefault(), c.run("save", (e) => V("/api/configuration/peach-proxy", {
+ e.preventDefault(), c.run("save", (e) => B("/api/configuration/peach-proxy", {
mode: i,
proxy: o
}, "POST", e), (e) => {
@@ -58654,24 +58691,24 @@ function BAe({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, x.jsx)(yO, { children: /* @__PURE__ */ (0, x.jsx)(hO, {
+ /* @__PURE__ */ (0, x.jsx)(fO, { children: /* @__PURE__ */ (0, x.jsx)(cO, {
label: "连接方式",
- children: /* @__PURE__ */ (0, x.jsx)(SN, {
+ children: /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: RAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ children: HAe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(bO, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(pO, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(BN, {
+ i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(LN, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -58685,10 +58722,10 @@ function BAe({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, x.jsx)(CO, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, x.jsx)(gO, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(xO, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(mO, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(c.busy === "save"),
children: "保存配置"
@@ -58698,28 +58735,28 @@ function BAe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var VAe = "将清除这个来源在本机和共享副本中的登录凭据。", HAe = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function UAe(e, t) {
+var GAe = "将清除这个来源在本机和共享副本中的登录凭据。", KAe = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function qAe(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function WAe({ row: e }) {
- if (zr(e)) return /* @__PURE__ */ (0, x.jsx)(aO, {
+function JAe({ row: e }) {
+ if (zr(e)) return /* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, x.jsx)(aO, {
+ return /* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: t,
children: Rr[e.requirement] || ""
});
}
-function GAe({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, b.useState)({}), [a, o] = (0, b.useState)(""), s = zr(e), c = pt({
- mutationFn: (t) => xr(e.provider, t),
+function YAe({ row: e, readOnly: t, toast: n }) {
+ let [r, i] = (0, b.useState)({}), [a, o] = (0, b.useState)(""), s = zr(e), c = dt({
+ mutationFn: (t) => br(e.provider, t),
onSuccess: (e, t) => {
- e.note ? o(e.note) : (o(""), i({}), H.invalidateQueries({
+ e.note ? o(e.note) : (o(""), i({}), V.invalidateQueries({
queryKey: jn,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据"));
@@ -58732,17 +58769,17 @@ function GAe({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsxs)(SO, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(TO, {
+ /* @__PURE__ */ (0, x.jsxs)(hO, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(vO, {
href: e.where,
children: "获取凭据"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, x.jsx)(SO, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, x.jsx)(hO, { 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)(BN, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)(LN, {
type: "password",
label: n,
- placeholder: UAe(e, n),
+ placeholder: qAe(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -58768,9 +58805,9 @@ function GAe({ row: e, readOnly: t, toast: n }) {
size: "small",
disabled: t,
...q(c.isPending),
- onClick: () => void cs({
+ onClick: () => void os({
title: "清除来源凭据",
- body: VAe,
+ body: GAe,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -58778,11 +58815,11 @@ function GAe({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, x.jsx)(CO, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(SO, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, x.jsx)(OO, {
+ a ? /* @__PURE__ */ (0, x.jsx)(gO, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(hO, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, x.jsx)(xO, {
summary: "凭据文件",
- children: /* @__PURE__ */ (0, x.jsx)(_N, {
+ children: /* @__PURE__ */ (0, x.jsx)(mN, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -58791,20 +58828,20 @@ function GAe({ row: e, readOnly: t, toast: n }) {
]
});
}
-function KAe({ row: e, readOnly: t, toast: n }) {
+function XAe({ 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)(UF, { provider: e.provider })
+ children: /* @__PURE__ */ (0, x.jsx)(BF, { 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)(WAe, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, x.jsx)(aO, {
+ /* @__PURE__ */ (0, x.jsx)(JAe, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, x.jsx)(QD, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -58813,15 +58850,15 @@ function KAe({ 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)(SO, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, x.jsx)(hO, { 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)(OO, {
+ /* @__PURE__ */ (0, x.jsx)(xO, {
summary: zr(e) ? "修改凭据" : "填写凭据",
defaultOpen: e.requirement === "required" && !zr(e),
- children: /* @__PURE__ */ (0, x.jsx)(GAe, {
+ children: /* @__PURE__ */ (0, x.jsx)(YAe, {
row: e,
readOnly: t,
toast: n
@@ -58830,15 +58867,15 @@ function KAe({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "凭据文件权限过宽",
- children: HAe
+ children: KAe
}) : null
]
});
}
-function qAe({ data: e, readOnly: t, toast: n }) {
+function ZAe({ data: e, readOnly: t, toast: n }) {
let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !zr(e));
return r.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: cO({
+ className: tO({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -58871,47 +58908,47 @@ function qAe({ data: e, readOnly: t, toast: n }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, x.jsx)("div", {
- className: cO({
+ className: tO({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(KAe, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(XAe, {
row: e,
readOnly: t,
toast: n
}, e.provider))
})]
}, e.title))]
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: Rde,
+ icon: Wde,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region src/configuration-copy.ts
-var JAe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", YAe = "只填域名,留空用默认地址";
+var QAe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", $Ae = "只填域名,留空用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function XAe({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.sites), i = mO(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function eje({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.sites), i = sO(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "作品资料站点",
onSubmit: (e) => {
e.preventDefault();
let a = { sites: Object.fromEntries(n.map((e) => [e.key, { host: e.host }])) };
- i.run("save", (e) => V("/api/configuration/entry-links", a, "POST", e), (e) => {
+ i.run("save", (e) => B("/api/configuration/entry-links", a, "POST", e), (e) => {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(bO, { children: [
- /* @__PURE__ */ (0, x.jsx)(SO, { children: JAe }),
- n.map((e) => /* @__PURE__ */ (0, x.jsx)(BN, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(pO, { children: [
+ /* @__PURE__ */ (0, x.jsx)(hO, { children: QAe }),
+ n.map((e) => /* @__PURE__ */ (0, x.jsx)(LN, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -58920,10 +58957,10 @@ function XAe({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: YAe
+ hint: $Ae
}, e.key)),
- i.error ? /* @__PURE__ */ (0, x.jsx)(CO, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsx)(xO, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, x.jsx)(gO, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsx)(mO, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(i.busy === "save"),
children: "保存配置"
@@ -58932,46 +58969,46 @@ function XAe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/indexer-settings.tsx
-var ZAe = "/api/configuration/indexers";
-function QAe({ receipt: e }) {
- let t = ft({
+var tje = "/api/configuration/indexers";
+function nje({ receipt: e }) {
+ let t = ut({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => B(ZAe, e),
+ queryFn: ({ signal: e }) => tn(tje, e),
refetchOnMount: "always"
});
- return t.error ? /* @__PURE__ */ (0, x.jsx)(CO, { children: z(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(uO, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)($Ae, {
+ return t.error ? /* @__PURE__ */ (0, x.jsx)(gO, { children: z(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(rO, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)(rje, {
initial: t.data,
receipt: e
}) : null;
}
-function $Ae({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.indexers), i = mO(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function rje({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.indexers), i = sO(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, x.jsxs)(vO, {
+ return /* @__PURE__ */ (0, x.jsxs)(dO, {
title: "资源搜索",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => V(ZAe, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => B(tje, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(bO, { children: [
- /* @__PURE__ */ (0, x.jsx)(OO, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(pO, { children: [
+ /* @__PURE__ */ (0, x.jsx)(xO, {
summary: "索引器连接帮助",
- children: /* @__PURE__ */ (0, x.jsx)(SO, { children: "填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。" })
+ children: /* @__PURE__ */ (0, x.jsx)(hO, { 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)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
label: `索引器 ${t + 1} 名称`,
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { name: t })
}),
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
label: `索引器 ${t + 1} Torznab 地址`,
value: e.url,
type: "url",
@@ -58980,7 +59017,7 @@ function $Ae({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { url: t })
}),
- /* @__PURE__ */ (0, x.jsx)(BN, {
+ /* @__PURE__ */ (0, x.jsx)(LN, {
label: `索引器 ${t + 1} API key`,
type: "password",
autoComplete: "new-password",
@@ -58989,13 +59026,13 @@ function $Ae({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { api_key: t })
}),
- /* @__PURE__ */ (0, x.jsx)(kN, {
+ /* @__PURE__ */ (0, x.jsx)(EN, {
isSelected: e.enabled,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { enabled: t }),
children: "启用"
}),
- e.api_key_set ? /* @__PURE__ */ (0, x.jsx)(kN, {
+ e.api_key_set ? /* @__PURE__ */ (0, x.jsx)(EN, {
isSelected: !!e.clear_api_key,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { clear_api_key: t }),
@@ -59010,8 +59047,8 @@ function $Ae({ initial: e, receipt: t }) {
}) })
]
}, e.key)),
- i.error ? /* @__PURE__ */ (0, x.jsx)(CO, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsxs)(xO, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, x.jsx)(gO, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(mO, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
type: "button",
disabled: !!i.busy || n.length >= e.max_indexers,
@@ -59032,22 +59069,22 @@ function $Ae({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/source-settings.tsx
-function eje({ data: e, receipt: t, panel: n }) {
- let r = ft({
+function ije({ data: e, receipt: t, panel: n }) {
+ let r = ut({
queryKey: jn,
- queryFn: ({ signal: e }) => ur(e),
+ queryFn: ({ signal: e }) => lr(e),
enabled: n?.active !== !1,
refetchOnMount: "always"
});
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...pR(n),
+ ...lR(n),
children: [
- /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(sO, {
+ /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(eO, {
href: "/scraping",
variant: "secondary",
children: "采集来源与登录状态"
}) }),
- r.data ? /* @__PURE__ */ (0, x.jsx)(qAe, {
+ r.data ? /* @__PURE__ */ (0, x.jsx)(ZAe, {
data: r.data,
readOnly: !!e.ledger_read_only,
toast: t
@@ -59055,24 +59092,24 @@ function eje({ data: e, receipt: t, panel: n }) {
tone: "error",
title: "来源凭据未取得",
children: z(r.error)
- }) : n?.active === !1 ? null : /* @__PURE__ */ (0, x.jsx)(uO, { label: "正在读取来源凭据" }),
- e.entry_links ? /* @__PURE__ */ (0, x.jsx)(XAe, {
+ }) : n?.active === !1 ? null : /* @__PURE__ */ (0, x.jsx)(rO, { label: "正在读取来源凭据" }),
+ e.entry_links ? /* @__PURE__ */ (0, x.jsx)(eje, {
initial: e.entry_links,
receipt: t
}) : null,
- /* @__PURE__ */ (0, x.jsx)(QAe, { receipt: t }),
- /* @__PURE__ */ (0, x.jsx)(yAe, { receipt: t })
+ /* @__PURE__ */ (0, x.jsx)(nje, { receipt: t }),
+ /* @__PURE__ */ (0, x.jsx)(CAe, { receipt: t })
]
});
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function tje({ receipt: e, reopenTutorial: t, section: n = "" }) {
- let r = ft({
- queryKey: uR,
- queryFn: ({ signal: e }) => dR(e)
+function aje({ receipt: e, reopenTutorial: t, section: n = "" }) {
+ let r = ut({
+ queryKey: oR,
+ queryFn: ({ signal: e }) => sR(e)
}), i = r.data;
- return i ? /* @__PURE__ */ (0, x.jsx)(rje, {
+ return i ? /* @__PURE__ */ (0, x.jsx)(sje, {
data: i,
receipt: e,
reopenTutorial: t,
@@ -59086,9 +59123,9 @@ function tje({ receipt: e, reopenTutorial: t, section: n = "" }) {
})
});
}
-var nje = 0;
-function rje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
- let [i] = (0, b.useState)(() => `board-tabs-${++nje}`), [a, o] = (0, b.useState)(r), [s, c] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);
+var oje = 0;
+function sje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
+ let [i] = (0, b.useState)(() => `board-tabs-${++oje}`), [a, o] = (0, b.useState)(r), [s, c] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);
(0, b.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => c(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
@@ -59099,21 +59136,21 @@ function rje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}, d = !!(e.peach_proxy || e.access || e.tunnel || e.editable && e.port_editable !== !1), f = e.downloads, p = [
{
title: "媒体库与入库",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(EAe, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(AAe, {
...u,
panel: e
})
},
{
title: "来源与订阅",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(eje, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(ije, {
...u,
panel: e
})
},
...f ? [{
title: "下载渠道",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(Pke, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(Rke, {
initial: f,
receipt: t,
panel: e
@@ -59121,7 +59158,7 @@ function rje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}] : [],
...d ? [{
title: "网络与访问",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(zAe, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(UAe, {
...u,
panel: e
})
@@ -59129,8 +59166,8 @@ function rje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
{
title: "应用与维护",
body: (e) => /* @__PURE__ */ (0, x.jsxs)("div", {
- ...pR(e),
- children: [/* @__PURE__ */ (0, x.jsx)(Xke, { ...u }), /* @__PURE__ */ (0, x.jsx)(Vke, {
+ ...lR(e),
+ children: [/* @__PURE__ */ (0, x.jsx)(eAe, { ...u }), /* @__PURE__ */ (0, x.jsx)(Gke, {
...u,
reopenTutorial: n
})]
@@ -59181,20 +59218,20 @@ function rje({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}
//#endregion
//#region src/react/settings-panel/legacy-controls.tsx
-var ije = (e) => e.map(([e, t, n]) => n ? [
+var cje = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function _R({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function pR({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(l);
return f.current = l, (0, b.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Qo(t, n, ije(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Xo(t, n, cje(r), i, {
attr: a,
className: o,
text: s
- }), $o(e, a, (e) => {
+ }), Zo(e, a, (e) => {
d.current = {
value: e,
epoch: c
@@ -59208,18 +59245,18 @@ function _R({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function aje({ 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 lje({ 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 = Ga(ije(n), r, { label: t });
- let i = Ka(e.firstElementChild);
+ e.innerHTML = Wa(cje(n), r, { label: t });
+ let i = Ga(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
let o = f.current;
- o.value !== r && (o.value = r), o.disabled !== i && (o.disabled = i), o.getAttribute("aria-busy") === "true" !== a && Yo(o, a), u?.(o);
+ o.value !== r && (o.value = r), o.disabled !== i && (o.disabled = i), o.getAttribute("aria-busy") === "true" !== a && qo(o, a), u?.(o);
}), /* @__PURE__ */ (0, x.jsx)("div", {
id: e,
ref: d,
@@ -59227,7 +59264,7 @@ function aje({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a
"aria-describedby": s
});
}
-function oje({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function uje({ 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
@@ -59237,14 +59274,14 @@ function oje({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
onSettle: o
}, (0, b.useLayoutEffect)(() => {
let i = s.current;
- i && !c.current && (i.insertAdjacentHTML("beforeend", ts({
+ i && !c.current && (i.insertAdjacentHTML("beforeend", $o({
value: r,
min: 0,
max: n,
step: 1,
label: t,
attr: `data-glow-dial="${e}"`
- })), c.current = ns(i.lastElementChild, {
+ })), c.current = es(i.lastElementChild, {
onInput: (e) => l.current.onStep(e),
onChange: (e) => l.current.onSettle(e)
}));
@@ -59262,7 +59299,7 @@ function oje({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var sje = [
+var dje = [
[
"strength",
"强度",
@@ -59289,8 +59326,8 @@ var sje = [
100
]
];
-function cje({ 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 fje({ host: e, spot: t, index: n, glow: r }) {
+ let i = nce[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,
@@ -59299,11 +59336,11 @@ function cje({ host: e, spot: t, index: n, glow: r }) {
];
e && t && n && (t.addEventListener("click", () => {
n.style.width = `${e.getBoundingClientRect().width}px`;
- }), Ua(e, t, n));
+ }), Ha(e, t, n));
}, []);
let u = r[t].color, d = (n) => {
let r = e.store.value.homeGlow;
- r[t].color = ww(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), La(), o.current?.focus();
+ r[t].color = Sw(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), Ia(), o.current?.focus();
};
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-glow-stop": t,
@@ -59328,7 +59365,7 @@ function cje({ host: e, spot: t, index: n, glow: r }) {
children: u
})]
}),
- /* @__PURE__ */ (0, x.jsx)(hD, { name: "chevron-down" })
+ /* @__PURE__ */ (0, x.jsx)(cD, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "popmenu",
@@ -59340,7 +59377,7 @@ function cje({ host: e, spot: t, index: n, glow: r }) {
"data-glow-pills": "",
role: "group",
"aria-label": "色系",
- children: ice.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)("button", {
+ children: ace.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-glow-pill": e,
"aria-pressed": e === c,
@@ -59351,7 +59388,7 @@ function cje({ host: e, spot: t, index: n, glow: r }) {
"data-glow-palette": "",
role: "radiogroup",
"aria-label": `${i}颜色`,
- children: ace.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,
@@ -59367,8 +59404,8 @@ function cje({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function lje({ host: e }) {
- let t = e.store.value.homeGlow, n = _w(t.preset);
+function pje({ host: e }) {
+ let t = e.store.value.homeGlow, n = hw(t.preset);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"data-glow-setting": "",
id: "homeGlowControls",
@@ -59383,10 +59420,10 @@ function lje({ host: e }) {
"data-glow-current": "",
children: ["当前配色", /* @__PURE__ */ (0, x.jsx)("b", {
"data-glow-preset-name": "",
- children: nce(t.preset)
+ children: rce(t.preset)
})]
}),
- /* @__PURE__ */ (0, x.jsx)(dT, {
+ /* @__PURE__ */ (0, x.jsx)(lT, {
store: e.store,
label: "光晕配色"
}),
@@ -59397,7 +59434,7 @@ function lje({ host: e }) {
}),
/* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-fields": "",
- children: sje.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(oje, {
+ children: dje.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(uje, {
field: r,
label: i,
max: a,
@@ -59419,7 +59456,7 @@ function lje({ host: e }) {
hidden: n,
children: [/* @__PURE__ */ (0, x.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-stops": "",
- children: mw.map((n, r) => /* @__PURE__ */ (0, x.jsx)(cje, {
+ children: fw.map((n, r) => /* @__PURE__ */ (0, x.jsx)(fje, {
host: e,
spot: n,
index: r,
@@ -59434,7 +59471,7 @@ function lje({ host: e }) {
className: "geist-button",
"data-glow-reset": "",
onClick: () => {
- e.store.value.homeGlow = Ew(null), e.store.save(), e.changed("glow");
+ e.store.value.homeGlow = ww(null), e.store.save(), e.changed("glow");
},
children: "恢复默认"
})
@@ -59444,7 +59481,7 @@ function lje({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var uje = {
+var mje = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -59485,22 +59522,22 @@ var uje = {
optional: !0,
fallback: 60
}
-}, vR = (e) => `peach.number.${e}`;
-function dje(e, t) {
+}, mR = (e) => `peach.number.${e}`;
+function hje(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function yR({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = uje[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);
- d.current ||= rw(Number(localStorage.getItem(vR(e))), o, s, n && n > 0 ? n : l);
+function hR({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = mje[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);
+ d.current ||= tw(Number(localStorage.getItem(mR(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(vR(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(mR(e), String(d.current)), y.current(d.current)));
}, C = (0, b.useRef)(S);
C.current = S, (0, b.useEffect)(() => {
let e = v.current;
@@ -59510,7 +59547,7 @@ function yR({ 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(vR(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(mR(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": "",
@@ -59547,7 +59584,7 @@ function yR({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, x.jsxs)("span", {
"aria-hidden": "true",
- children: [c, dje(Number(m), c) ? ` · ${dje(Number(m), c)}` : ""]
+ children: [c, hje(Number(m), c) ? ` · ${hje(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, x.jsx)("small", {
id: `${e}-error`,
@@ -59561,13 +59598,13 @@ function yR({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
//#endregion
//#region src/react/sidebar/sidebar-order.ts
-function fje(e) {
- let { mutate: t } = gM();
+function gje(e) {
+ let { mutate: t } = dM();
return (0, b.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function pje(e, t, n, r) {
+function _je(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -59577,23 +59614,23 @@ function pje(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var mje = "__home__", bR = (e) => e === "" ? mje : e;
-function hje({ host: e }) {
- let t = fje(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 = pje(n, e, r, i);
+var vje = "__home__", gR = (e) => e === "" ? vje : e;
+function yje({ host: e }) {
+ let t = gje(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 = _je(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]) => bR(e) === o) ?? a[0], y = () => {
- h.current && Ba(h.current), l(!1);
+ }, v = a.find(([e]) => gR(e) === o) ?? a[0], y = () => {
+ h.current && za(h.current), l(!1);
}, S = () => {
let e = h.current;
if (!e) return;
let t = !c;
- t ? za(e) : Ba(e), l(t), t && e.querySelector("[aria-selected=\"true\"]")?.focus();
+ t ? Ra(e) : za(e), l(t), t && e.querySelector("[aria-selected=\"true\"]")?.focus();
}, C = (e) => {
if (e.key === "Escape") {
e.preventDefault(), y(), m.current?.focus();
@@ -59608,7 +59645,7 @@ function hje({ host: e }) {
}, T = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", bR(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", gR(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -59640,9 +59677,9 @@ function hje({ host: e }) {
/* @__PURE__ */ (0, x.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(hD, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, x.jsx)(cD, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, x.jsx)(hD, { name: a ?? "" }),
+ /* @__PURE__ */ (0, x.jsx)(cD, { name: a ?? "" }),
/* @__PURE__ */ (0, x.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -59656,7 +59693,7 @@ function hje({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => _(e, -1),
- children: /* @__PURE__ */ (0, x.jsx)(hD, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, x.jsx)(cD, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -59666,7 +59703,7 @@ function hje({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => _(e, 1),
- children: /* @__PURE__ */ (0, x.jsx)(hD, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(cD, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -59678,11 +59715,11 @@ function hje({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, x.jsx)(hD, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, x.jsx)(cD, { name: "eye-off" })
})
]
})]
- }, bR(e))), /* @__PURE__ */ (0, x.jsxs)("div", {
+ }, gR(e))), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -59698,13 +59735,13 @@ function hje({ host: e }) {
ref: m,
onClick: S,
children: v ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(hD, { name: v[2] ?? "" }),
+ /* @__PURE__ */ (0, x.jsx)(cD, { name: v[2] ?? "" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-add-label": "",
children: v[1]
}),
- /* @__PURE__ */ (0, x.jsx)(hD, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(hD, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, x.jsx)(cD, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(cD, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -59715,15 +59752,15 @@ function hje({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": bR(e),
+ "data-sidebar-add-option": gR(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: C,
onClick: () => {
- s(bR(e)), y(), m.current?.focus();
+ s(gR(e)), y(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, x.jsx)(hD, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
- }, bR(e)))
+ children: [/* @__PURE__ */ (0, x.jsx)(cD, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
+ }, gR(e)))
}) : null]
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -59740,13 +59777,13 @@ function hje({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/settings-panel.tsx
-var xR = [
+var _R = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], gje = [
+], bje = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -59755,7 +59792,7 @@ var xR = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], _je = [["desc", "降序"], ["asc", "升序"]], vje = [[
+], xje = [["desc", "降序"], ["asc", "升序"]], Sje = [[
"cover",
"官方封面",
""
@@ -59763,7 +59800,7 @@ var xR = [
"thumbnail",
"预览图",
""
-]], yje = [
+]], Cje = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -59782,83 +59819,83 @@ var xR = [
"切片",
"隐藏切片"
]
-], bje = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", SR = null, CR = {
+], wje = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", vR = null, yR = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, wR = 0, TR = null, ER = /* @__PURE__ */ new Set();
-function xje(e) {
- return ER.add(e), () => {
- ER.delete(e);
+}, bR = 0, xR = null, SR = /* @__PURE__ */ new Set();
+function Tje(e) {
+ return SR.add(e), () => {
+ SR.delete(e);
};
}
-function Sje() {
- for (let e of [...ER]) e();
+function Eje() {
+ for (let e of [...SR]) e();
}
-function DR(e) {
- CR = {
- ...CR,
+function CR(e) {
+ yR = {
+ ...yR,
...e
- }, (0, ht.flushSync)(Sje);
+ }, (0, pt.flushSync)(Eje);
}
-async function Cje(e) {
- let t = CR.epoch, n = await e.configurable();
- CR.open && CR.epoch === t && DR({ configurable: n });
+async function Dje(e) {
+ let t = yR.epoch, n = await e.configurable();
+ yR.open && yR.epoch === t && CR({ configurable: n });
}
-function wje(e = "") {
- let t = SR;
+function Oje(e = "") {
+ let t = vR;
if (!t) return;
- La(), wR += 1, TR ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let n = xR.findIndex(([t]) => t === e), r = iye();
- DR({
+ Ia(), bR += 1, xR ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let n = _R.findIndex(([t]) => t === e), r = cye();
+ CR({
open: !0,
closing: !1,
configurable: null,
- epoch: CR.epoch + 1,
- tab: n >= 0 ? n : CR.tab
+ epoch: yR.epoch + 1,
+ tab: n >= 0 ? n : yR.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), Cje(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), Dje(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function OR() {
- if (!CR.open || CR.closing) return;
- let e = ++wR;
- DR({ closing: !0 });
+function wR() {
+ if (!yR.open || yR.closing) return;
+ let e = ++bR;
+ CR({ closing: !0 });
let t = () => {
- e === wR && CR.closing && (DR({
+ e === bR && yR.closing && (CR({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), TR instanceof HTMLElement && document.contains(TR) && TR.focus(), TR = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), xR instanceof HTMLElement && document.contains(xR) && xR.focus(), xR = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(t) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380));
}
-var Tje = {
- open: wje,
- close: OR,
- isOpen: () => CR.open,
+var kje = {
+ open: Oje,
+ close: wR,
+ isOpen: () => yR.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function Eje(e) {
- return SR = e, Tje;
+function Aje(e) {
+ return vR = e, kje;
}
-function Dje() {
- let e = (0, b.useSyncExternalStore)(xje, () => CR);
- return SR ? /* @__PURE__ */ (0, x.jsx)(Mje, {
- host: SR,
+function jje() {
+ let e = (0, b.useSyncExternalStore)(Tje, () => yR);
+ return vR ? /* @__PURE__ */ (0, x.jsx)(Ije, {
+ host: vR,
view: e
}) : null;
}
-function Oje(e) {
+function Mje(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(bje)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(wje)].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 kje = (e) => `settings-tab-${e}`, Aje = (e) => `settings-group-${e}`;
-function jje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var Nje = (e) => `settings-tab-${e}`, Pje = (e) => `settings-group-${e}`;
+function Fje({ 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;
@@ -59873,12 +59910,12 @@ function jje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
w: e.offsetWidth,
h: e.offsetHeight
}, i = s.current;
- s.current = r, Go(n, t ? i : null, r, "y");
+ s.current = r, Uo(n, t ? i : null, r, "y");
}, d = (0, b.useRef)(u);
d.current = u, (0, b.useLayoutEffect)(() => {
let e = a.current;
if (!e) return;
- Po(e);
+ Mo(e);
let t = new ResizeObserver(() => d.current(l.current[c.current], !1));
return t.observe(e), () => t.disconnect();
}, []), (0, b.useLayoutEffect)(() => {
@@ -59886,7 +59923,7 @@ function jje({ 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 = xR.length, r = t;
+ let n = _R.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;
@@ -59915,11 +59952,11 @@ function jje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- xR.map(([t, n], r) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ _R.map(([t, n], r) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "tab",
- id: kje(r),
- "aria-controls": Aje(r),
+ id: Nje(r),
+ "aria-controls": Pje(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -59930,7 +59967,7 @@ function jje({ 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)(hD, { name: n }) : /* @__PURE__ */ (0, x.jsx)(rde, { name: n }), t]
+ children: [n === "jav" ? /* @__PURE__ */ (0, x.jsx)(cD, { name: n }) : /* @__PURE__ */ (0, x.jsx)(lde, { name: n }), t]
}, t)),
/* @__PURE__ */ (0, x.jsx)("div", {
"data-settings-service": "",
@@ -59941,26 +59978,26 @@ function jje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onClick: r,
title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(hD, { name: "folder-cog" }),
+ /* @__PURE__ */ (0, x.jsx)(cD, { name: "folder-cog" }),
"Peach 配置",
- /* @__PURE__ */ (0, x.jsx)(hD, { name: "chevron-right" })
+ /* @__PURE__ */ (0, x.jsx)(cD, { name: "chevron-right" })
]
})
})
]
});
}
-function kR({ index: e, tab: t, children: n }) {
+function TR({ index: e, tab: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
"data-setting-group": "",
- id: Aje(e),
+ id: Pje(e),
role: "tabpanel",
- "aria-labelledby": kje(e),
+ "aria-labelledby": Nje(e),
hidden: e !== t,
- children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: xR[e][0] }), n]
+ children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: _R[e][0] }), n]
});
}
-function AR({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function ER({ 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", {
@@ -59977,7 +60014,7 @@ function AR({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function jR({ title: e, description: t, kind: n, children: r }) {
+function DR({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -59985,7 +60022,7 @@ function jR({ 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 Mje({ host: e, view: t }) {
+function Ije({ 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];
@@ -60001,12 +60038,12 @@ function Mje({ host: e, view: t }) {
return t.addEventListener("scroll", n, { passive: !0 }), () => t.removeEventListener("scroll", n);
}, [e]), (0, b.useLayoutEffect)(() => {
let e = c.current !== t.tab;
- c.current = t.tab, o.current && (o.current.scrollTop = 0), e && a.current && fo(a.current, "h2"), u.current();
+ c.current = t.tab, o.current && (o.current.scrollTop = 0), e && a.current && lo(a.current, "h2"), u.current();
}, [t.tab, t.epoch]), (0, b.useLayoutEffect)(() => {
s.current?.();
});
let d = t.epoch, f = (e) => {
- e !== CR.tab && DR({ tab: e });
+ e !== yR.tab && CR({ tab: e });
}, p = () => e.store.save();
return /* @__PURE__ */ (0, x.jsx)("section", {
"data-settings-panel": "",
@@ -60017,9 +60054,9 @@ function Mje({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: Oje,
+ onKeyDown: Mje,
onClick: (e) => {
- e.target === e.currentTarget && OR();
+ e.target === e.currentTarget && wR();
},
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-settings-card": "",
@@ -60030,38 +60067,38 @@ function Mje({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
id: "settingsTitle",
- children: xR[t.tab][0]
+ children: _R[t.tab][0]
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
id: "settingsClose",
"aria-label": "关闭设置",
- onClick: OR,
+ onClick: wR,
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-x" })
})
})]
}),
- /* @__PURE__ */ (0, x.jsx)(jje, {
+ /* @__PURE__ */ (0, x.jsx)(Fje, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- OR(), e.openConfiguration();
+ wR(), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, x.jsxs)(kR, {
+ /* @__PURE__ */ (0, x.jsxs)(TR, {
index: 0,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, x.jsx)(jR, {
+ /* @__PURE__ */ (0, x.jsx)(DR, {
title: "主题",
- children: /* @__PURE__ */ (0, x.jsx)(_R, {
+ children: /* @__PURE__ */ (0, x.jsx)(pR, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -60089,7 +60126,7 @@ function Mje({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, x.jsx)(AR, {
+ /* @__PURE__ */ (0, x.jsx)(ER, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -60097,7 +60134,7 @@ function Mje({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, x.jsx)(AR, {
+ /* @__PURE__ */ (0, x.jsx)(ER, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -60105,40 +60142,40 @@ function Mje({ host: e, view: t }) {
n.homeGlow.on = t, p(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, x.jsx)(lje, { host: e }),
+ /* @__PURE__ */ (0, x.jsx)(pje, { 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)(hje, { host: e })]
+ }) }), /* @__PURE__ */ (0, x.jsx)(yje, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(Pje, {
+ /* @__PURE__ */ (0, x.jsx)(Rje, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsx)(Fje, {
+ /* @__PURE__ */ (0, x.jsx)(zje, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsxs)(kR, {
+ /* @__PURE__ */ (0, x.jsxs)(TR, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, x.jsx)(Rje, {
+ /* @__PURE__ */ (0, x.jsx)(Hje, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsx)(jR, {
+ /* @__PURE__ */ (0, x.jsx)(DR, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, x.jsx)(yR, {
+ children: /* @__PURE__ */ (0, x.jsx)(hR, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -60148,24 +60185,24 @@ function Mje({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, x.jsx)(jR, {
+ /* @__PURE__ */ (0, x.jsx)(DR, {
title: "口味与记录",
children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, x.jsx)(sO, {
+ children: /* @__PURE__ */ (0, x.jsx)(eO, {
variant: "secondary",
href: "/taste",
- onClick: OR,
+ onClick: wR,
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(kR, {
+ /* @__PURE__ */ (0, x.jsx)(TR, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, x.jsx)(AR, {
+ children: /* @__PURE__ */ (0, x.jsx)(ER, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -60180,27 +60217,27 @@ function Mje({ host: e, view: t }) {
})
});
}
-function Nje(e, t) {
+function Lje(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
- n.querySelector("[data-icon-swap]") || (n.innerHTML = io("arrow-up", "arrow-down", "a", {
+ n.querySelector("[data-icon-swap]") || (n.innerHTML = no("arrow-up", "arrow-down", "a", {
className: "gselectmark",
iconClass: "gselectmark"
- }) + "<span data-sort-direction-label></span>"), ao(n, t ? "a" : "b");
+ }) + "<span data-sort-direction-label></span>"), ro(n, t ? "a" : "b");
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function Pje({ host: e, tab: t, epoch: n }) {
+function Rje({ 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)(kR, {
+ return /* @__PURE__ */ (0, x.jsxs)(TR, {
index: 1,
tab: t,
children: [
- /* @__PURE__ */ (0, x.jsx)(jR, {
+ /* @__PURE__ */ (0, x.jsx)(DR, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, x.jsx)(yR, {
+ children: /* @__PURE__ */ (0, x.jsx)(hR, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -60210,24 +60247,24 @@ function Pje({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, x.jsx)(jR, {
+ /* @__PURE__ */ (0, x.jsx)(DR, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, x.jsx)(aje, {
+ children: [/* @__PURE__ */ (0, x.jsx)(lje, {
id: "defaultSortSetting",
label: "默认排序",
- options: gje,
+ options: bje,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, x.jsx)(aje, {
+ }), /* @__PURE__ */ (0, x.jsx)(lje, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: _je,
+ options: xje,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -60235,13 +60272,13 @@ function Pje({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => Nje(e, o)
+ decorate: (e) => Lje(e, o)
})]
})
}),
- /* @__PURE__ */ (0, x.jsx)(jR, {
+ /* @__PURE__ */ (0, x.jsx)(DR, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, x.jsx)(_R, {
+ children: /* @__PURE__ */ (0, x.jsx)(pR, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -60254,16 +60291,16 @@ function Pje({ host: e, tab: t, epoch: n }) {
onChoose: (t) => e.setVideoLayout(t)
})
}),
- /* @__PURE__ */ (0, x.jsx)(Lje, {
+ /* @__PURE__ */ (0, x.jsx)(Vje, {
host: e,
epoch: n
})
]
});
}
-function Fje({ host: e, tab: t, epoch: n }) {
+function zje({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, x.jsxs)(kR, {
+ return /* @__PURE__ */ (0, x.jsxs)(TR, {
index: 2,
tab: t,
children: [
@@ -60271,13 +60308,13 @@ function Fje({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, x.jsx)(jR, {
+ /* @__PURE__ */ (0, x.jsx)(DR, {
title: "默认图片",
- children: /* @__PURE__ */ (0, x.jsx)(_R, {
+ children: /* @__PURE__ */ (0, x.jsx)(pR, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: vje,
+ options: Sje,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -60305,7 +60342,7 @@ function Fje({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, x.jsx)(AR, {
+ /* @__PURE__ */ (0, x.jsx)(ER, {
id: "feedAutoScrollSetting",
title: "新作自动滚动",
checked: r.feedAutoScroll,
@@ -60313,7 +60350,7 @@ function Fje({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- yje.map(([t, n, r, i]) => /* @__PURE__ */ (0, x.jsx)(Ije, {
+ Cje.map(([t, n, r, i]) => /* @__PURE__ */ (0, x.jsx)(Bje, {
host: e,
id: t,
settingKey: n,
@@ -60323,15 +60360,15 @@ function Fje({ host: e, tab: t, epoch: n }) {
]
});
}
-function Ije({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = gM(), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(null), l = e.store.value, u = (t) => {
- s(t), Yo(c.current), a.mutate({ [n]: t }, {
+function Bje({ host: e, id: t, settingKey: n, label: r, title: i }) {
+ let a = dM(), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(null), l = e.store.value, u = (t) => {
+ s(t), qo(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
},
onError: (t) => e.failure(`保存${r}开关`, t),
onSettled: () => {
- s(null), Yo(c.current, !1);
+ s(null), qo(c.current, !1);
}
});
};
@@ -60348,24 +60385,24 @@ function Ije({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function Lje({ host: e, epoch: t }) {
+function Vje({ 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)(jR, {
+ /* @__PURE__ */ (0, x.jsx)(DR, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, x.jsx)(yR, {
+ children: /* @__PURE__ */ (0, x.jsx)(hR, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: n.hoverDelaySeconds,
onApply: (t) => {
- n.hoverDelaySeconds = rw(t, 0, 60, 5), r(), e.changed("hoverDelay");
+ n.hoverDelaySeconds = tw(t, 0, 60, 5), r(), e.changed("hoverDelay");
}
}, t)
})
}),
- /* @__PURE__ */ (0, x.jsx)(AR, {
+ /* @__PURE__ */ (0, x.jsx)(ER, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -60373,7 +60410,7 @@ function Lje({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, x.jsx)(AR, {
+ /* @__PURE__ */ (0, x.jsx)(ER, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -60381,11 +60418,11 @@ function Lje({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, x.jsx)(jR, {
+ /* @__PURE__ */ (0, x.jsx)(DR, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, x.jsx)(yR, {
+ children: /* @__PURE__ */ (0, x.jsx)(hR, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -60397,18 +60434,18 @@ function Lje({ host: e, epoch: t }) {
})
] });
}
-function Rje({ host: e, epoch: t }) {
- let n = e.store.value, r = gM();
- return /* @__PURE__ */ (0, x.jsx)(jR, {
+function Hje({ host: e, epoch: t }) {
+ let n = e.store.value, r = dM();
+ return /* @__PURE__ */ (0, x.jsx)(DR, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, x.jsx)(yR, {
+ children: /* @__PURE__ */ (0, x.jsx)(hR, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
onApply: (t) => {
- n.searchHistoryLimit = rw(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
+ n.searchHistoryLimit = tw(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
}
}, t)
})
@@ -60416,68 +60453,68 @@ function Rje({ host: e, epoch: t }) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var MR = "__home__", zje = {
+var OR = "__home__", Uje = {
creator: 26,
tag: 30,
tech: 16
-}, NR = 180, PR = null, FR = {
+}, kR = 180, AR = null, jR = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, IR = /* @__PURE__ */ new Set();
-function Bje(e) {
- return IR.add(e), () => {
- IR.delete(e);
+}, MR = /* @__PURE__ */ new Set();
+function Wje(e) {
+ return MR.add(e), () => {
+ MR.delete(e);
};
}
-function Vje() {
- for (let e of [...IR]) e();
+function Gje() {
+ for (let e of [...MR]) e();
}
-var Hje = {
+var Kje = {
render(e) {
- FR = {
- ...FR,
+ jR = {
+ ...jR,
props: e
- }, (0, ht.flushSync)(Vje);
+ }, (0, pt.flushSync)(Gje);
},
navChanged() {
- FR = {
- ...FR,
- epoch: FR.epoch + 1
- }, (0, ht.flushSync)(Vje);
+ jR = {
+ ...jR,
+ epoch: jR.epoch + 1
+ }, (0, pt.flushSync)(Gje);
}
};
-function Uje(e) {
- return PR = e, FR = {
- ...FR,
+function qje(e) {
+ return AR = e, jR = {
+ ...jR,
props: {
content: null,
filters: {},
latest: null
}
- }, Hje;
+ }, Kje;
}
-function Wje() {
- let e = (0, b.useSyncExternalStore)(Bje, () => FR);
- return PR ? /* @__PURE__ */ (0, x.jsx)(Gje, {
- host: PR,
+function Jje() {
+ let e = (0, b.useSyncExternalStore)(Wje, () => jR);
+ return AR ? /* @__PURE__ */ (0, x.jsx)(Yje, {
+ host: AR,
props: e.props,
epoch: e.epoch
}) : null;
}
-function Gje({ host: e, props: t, epoch: n }) {
+function Yje({ 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)(Kje, {
+ /* @__PURE__ */ (0, x.jsx)(Xje, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, x.jsx)(Jje, {
+ t.content ? /* @__PURE__ */ (0, x.jsx)(Qje, {
host: e,
content: t.content,
filters: t.filters,
@@ -60485,8 +60522,8 @@ function Gje({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function Kje({ host: e, epoch: t, version: n }) {
- let r = fje(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 = KO(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || MR : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function Xje({ host: e, epoch: t, version: n }) {
+ let r = gje(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 = zO(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || OR : "").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 [
@@ -60504,7 +60541,7 @@ function Kje({ host: e, epoch: t, version: n }) {
}, _ = (e) => ({
draggable: !0,
onDragStart: (t) => {
- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || MR);
+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || OR);
},
onDragOver: (t) => {
if (f === null || f === e) return;
@@ -60519,7 +60556,7 @@ function Kje({ host: e, epoch: t, version: n }) {
t.preventDefault();
let n = f, a = m?.key === e && m.after;
g();
- let o = n === null ? null : pje(i, n, e, a);
+ let o = n === null ? null : _je(i, n, e, a);
o && r(o);
},
onDragEnd: g
@@ -60542,16 +60579,16 @@ function Kje({ host: e, epoch: t, version: n }) {
"data-sidebar-home-logo": "",
src: "/peach-logo.png",
alt: ""
- }) : /* @__PURE__ */ (0, x.jsx)(hD, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
- }, t || MR))
- }), v ? (0, ht.createPortal)(/* @__PURE__ */ (0, x.jsx)("span", {
+ }) : /* @__PURE__ */ (0, x.jsx)(cD, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
+ }, t || OR))
+ }), v ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-glide": "",
"aria-hidden": "true",
ref: l
}), v) : null] });
}
-var LR = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function qje(e) {
+var NR = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function Zje(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -60564,17 +60601,17 @@ function qje(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function Jje({ host: e, content: t, filters: n, latest: r }) {
+function Qje({ host: e, content: t, filters: n, latest: r }) {
let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;
(0, b.useLayoutEffect)(() => {
- t.kind === "catalog" && uo(e.scroll, "drawer");
+ t.kind === "catalog" && co(e.scroll, "drawer");
}, [
e,
i,
t.kind
]);
- let a = t.kind === "catalog" ? Yje(e, t.facets, n, r, i) : Xje(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)(Qje, {
+ let a = t.kind === "catalog" ? $je(e, t.facets, n, r, i) : eMe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)(nMe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -60583,11 +60620,11 @@ function Jje({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function Yje(e, t, n, r, i) {
- let a = qje(r), o = (t, r, i) => {
+function $je(e, t, n, r, i) {
+ let a = Zje(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = LR(n, r);
- return /* @__PURE__ */ (0, x.jsx)(RR, {
+ let o = NR(n, r);
+ return /* @__PURE__ */ (0, x.jsx)(PR, {
rows: t,
filterKey: r,
multi: i,
@@ -60597,7 +60634,7 @@ function Yje(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = LR(n, l), p = c.some((e) => f.includes(e.value));
+ let f = NR(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -60609,12 +60646,12 @@ function Yje(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, x.jsx)(tMe, {
+ body: /* @__PURE__ */ (0, x.jsx)(aMe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: zje[d],
+ limit: Uje[d],
filterKey: l,
selected: f,
counts: a,
@@ -60629,7 +60666,7 @@ function Yje(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(rMe, {
+ body: /* @__PURE__ */ (0, x.jsx)(sMe, {
host: e,
filters: n
})
@@ -60643,7 +60680,7 @@ function Yje(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(nMe, {
+ body: /* @__PURE__ */ (0, x.jsx)(oMe, {
rows: t.followTags,
host: e,
selected: null,
@@ -60652,14 +60689,14 @@ function Yje(e, t, n, r, i) {
} : null
];
}
-function Xje(e, t, n) {
- let r = t.providers || [], i = LR(n, "provider"), a = new Set(t.selected);
+function eMe(e, t, n) {
+ let r = t.providers || [], i = NR(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)(RR, {
+ body: /* @__PURE__ */ (0, x.jsx)(PR, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -60673,7 +60710,7 @@ function Xje(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(rMe, {
+ body: /* @__PURE__ */ (0, x.jsx)(sMe, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -60683,7 +60720,7 @@ function Xje(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, x.jsx)(nMe, {
+ body: /* @__PURE__ */ (0, x.jsx)(oMe, {
rows: t.tags,
host: e,
selected: a,
@@ -60692,19 +60729,19 @@ function Xje(e, t, n) {
} : null
];
}
-function Zje(e, t) {
+function tMe(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function Qje({ 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)(() => Zje(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)(() => tMe(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 ? Zje(e, n) : c;
+ let i = u.current ? tMe(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) => {
@@ -60725,7 +60762,7 @@ function Qje({ 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)(hD, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, x.jsx)(cD, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, x.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -60736,7 +60773,7 @@ function Qje({ 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)($je.Provider, {
+ children: /* @__PURE__ */ (0, x.jsx)(rMe.Provider, {
value: d,
children: a
})
@@ -60745,15 +60782,15 @@ function Qje({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var $je = (0, b.createContext)(() => {});
-function eMe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(hD, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, x.jsx)("img", {
+var rMe = (0, b.createContext)(() => {});
+function iMe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(cD, { 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 RR({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function PR({ 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) => {
@@ -60770,7 +60807,7 @@ function RR({ 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)(eMe, { dot: e.dot }),
+ /* @__PURE__ */ (0, x.jsx)(iMe, { dot: e.dot }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -60785,8 +60822,8 @@ function RR({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function tMe({ 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)($je), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(e);
+function aMe({ 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)(rMe), [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)(() => {
@@ -60801,7 +60838,7 @@ function tMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), xa(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(RR, {
+ }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(PR, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -60826,10 +60863,10 @@ function tMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !_
}), _ && u());
},
- children: /* @__PURE__ */ (0, x.jsx)(hD, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(cD, { name: "chevron-down" })
}) : null] });
}
-function nMe({ rows: e, host: t, selected: n, badges: r }) {
+function oMe({ 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", {
@@ -60851,10 +60888,10 @@ function nMe({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var zR = (e, t) => e ? Math.min(NR, Number(e) / 60) : t;
-function rMe({ 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)(() => [zR(t.dur_min, 0), zR(t.dur_max, NR)]), [c, l] = (0, b.useState)("max");
- i !== r && (a(r), s([zR(t.dur_min, 0), zR(t.dur_max, NR)]));
+var FR = (e, t) => e ? Math.min(kR, Number(e) / 60) : t;
+function sMe({ 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)(() => [FR(t.dur_min, 0), FR(t.dur_max, kR)]), [c, l] = (0, b.useState)("max");
+ i !== r && (a(r), s([FR(t.dur_min, 0), FR(t.dur_max, kR)]));
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) => {
@@ -60867,11 +60904,11 @@ function rMe({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, b.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / NR * 100}%`), e.style.setProperty("--hi", `${d / NR * 100}%`);
+ e.style.setProperty("--lo", `${u / kR * 100}%`), e.style.setProperty("--hi", `${d / kR * 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 / NR * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / kR * 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`);
});
@@ -60881,7 +60918,7 @@ function rMe({ 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 >= NR ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= kR ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-duration": "",
@@ -60896,7 +60933,7 @@ function rMe({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: NR,
+ max: kR,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -60907,7 +60944,7 @@ function rMe({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: NR,
+ max: kR,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -60922,23 +60959,23 @@ function rMe({ host: e, filters: t, commit: n = e.setDuration }) {
}
//#endregion
//#region src/configuration-skeleton.ts
-var iMe = (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">${QM({
+var cMe = (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">${YM({
label: "保存配置",
attrs: "disabled data-skeleton-action"
-})}</div></div></section>`, aMe = (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() {
+})}</div></div></section>`, lMe = (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 uMe() {
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">${iMe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${aMe("媒体文件夹", "", "ui-configuration-skeleton-select")}${aMe("媒体库名称", "", "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">${cMe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${lMe("媒体文件夹", "", "ui-configuration-skeleton-select")}${lMe("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
}
//#endregion
//#region src/management-skeletons.ts
-var BR = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", VR = (e = "60%") => `<span class="${BR} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, HR = "disabled data-skeleton-action", UR = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function sMe() {
+var IR = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", LR = (e = "60%") => `<span class="${IR} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, RR = "disabled data-skeleton-action", zR = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function dMe() {
let e = [
"馆藏视频",
"看过",
@@ -60946,27 +60983,27 @@ function sMe() {
"使用空间"
].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="${BR} 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">${VR("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">${VR("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${UR}" 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">${VR("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="${IR} 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">${LR("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">${LR("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${zR}" 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">${LR("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">${VR()}</span><b class="text-title-2-medium">${VR("3em")}</b><small class="text-caption-1-regular">${VR()}</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">${LR()}</span><b class="text-title-2-medium">${LR("3em")}</b><small class="text-caption-1-regular">${LR()}</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">账本当前快照 · ${VR("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${LR("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="${UR}"><h3 class="text-title-2-medium">${e}</h3><div class="${BR} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${zR}"><h3 class="text-title-2-medium">${e}</h3><div class="${IR} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -60975,11 +61012,11 @@ function sMe() {
"最近看过",
"标签来源"
].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="${BR} 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="${IR} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function cMe() {
+function fMe() {
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 = [
"浏览记录",
"口味维度",
@@ -60987,20 +61024,20 @@ function cMe() {
"私有导出"
].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="${BR} 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">${VR("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">${VR("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${BR} h-6"></div>`).join(""), r = (e) => `<section class="${UR}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${BR} 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="${IR} 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">${LR("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">${LR("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${IR} h-6"></div>`).join(""), r = (e) => `<section class="${zR}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${IR} 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">${$M("全部时间")}<span data-button-group data-split-button data-variant="primary">${QM({
+ <div class="flex flex-wrap items-center gap-2">${XM("全部时间")}<span data-button-group data-split-button data-variant="primary">${YM({
glyph: "compass",
label: "读取浏览器历史",
- attrs: HR
- })}${QM({
+ attrs: RR
+ })}${YM({
glyph: "chevron-down",
- attrs: HR
+ attrs: RR
})}</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>
@@ -61018,11 +61055,11 @@ function cMe() {
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">${VR("8em")}</small></div>
+ <small class="text-caption-1-regular">${LR("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="${UR}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${BR} h-72 max-sm:h-48"></div></section>
+ <section class="${zR}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${IR} 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([
"标签",
@@ -61030,128 +61067,128 @@ function cMe() {
"常访问网站",
"浏览候选"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${BR} 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="${IR} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function lMe() {
+function pMe() {
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="${BR} 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">${VR("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${VR("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">${VR("75%")}</span>
+ <span class="${IR} 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">${LR("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${LR("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">${LR("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">${VR("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${VR("8em")}</span>
+ <b class="text-title-2-medium">${LR("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${LR("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
"整组回收"
- ].map((e) => QM({
+ ].map((e) => YM({
variant: "secondary",
size: "small",
label: e,
- attrs: HR
+ attrs: RR
})).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">${VR("4em")}</strong></div><p class="text-body-regular text-text-secondary">${VR("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">${LR("4em")}</strong></div><p class="text-body-regular text-text-secondary">${LR("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 ${HR} 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 ${RR} 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 uMe() {
+function mMe() {
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="${BR} 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">${VR("80%")}</h3><p class="text-body-2-regular">${VR("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${IR} 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">${LR("80%")}</h3><p class="text-body-2-regular">${LR("60%")}</p></div>
</div>
- <footer class="flex justify-end">${QM({
+ <footer class="flex justify-end">${YM({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: HR
+ attrs: RR
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- ${eN("待升级")}
+ ${ZM("待升级")}
<ul class="card-grid-cover gap-5">${e.repeat(6)}</ul>
</div></div>`;
}
//#endregion
//#region src/board-skeleton.ts
-var WR = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, GR = () => `${WR("80%")}${WR("48%")}`, KR = (e, t) => e.repeat(t), qR = "disabled data-skeleton-action", JR = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, YR = (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", fMe = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var BR = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, VR = () => `${BR("80%")}${BR("48%")}`, HR = (e, t) => e.repeat(t), UR = "disabled data-skeleton-action", WR = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, GR = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, hMe = "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", gMe = () => `<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="${dMe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${JR("3em")}</b></div>`).join("")}</div>`, pMe = [
+].map((e) => `<div class="${hMe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${WR("3em")}</b></div>`).join("")}</div>`, _Me = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], mMe = (e = "") => pMe.some(([t]) => t === e) ? e : "list", hMe = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${pMe.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, XR = (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>`, gMe = ({ table: e, sort: t, dir: n }) => {
- let r = rn.find(([e]) => e === t)[1];
- return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${JR("132px")}</span></span>${QM({
+], vMe = (e = "") => _Me.some(([t]) => t === e) ? e : "list", yMe = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${_Me.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, KR = (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>`, bMe = ({ table: e, sort: t, dir: n }) => {
+ let r = nn.find(([e]) => e === t)[1];
+ return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${WR("132px")}</span></span>${YM({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: qR
- })}<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">${QM({
+ attrs: UR
+ })}<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">${YM({
variant: "ghost",
glyph: "layout-grid",
attrs: `aria-pressed="${!e}"`
- })}${QM({
+ })}${YM({
variant: "ghost",
glyph: "table",
attrs: `aria-pressed="${e}"`
- })}</span>${$M(r)}${QM({
+ })}</span>${XM(r)}${YM({
variant: "secondary",
glyph: n === "asc" ? "arrow-up" : "arrow-down"
- })}${e ? "" : QM({
+ })}${e ? "" : YM({
variant: "secondary",
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: qR
+ attrs: UR
})}</span></div>`;
-}, _Me = () => `<span class="flex shrink-0 items-center gap-1">${QM({
+}, xMe = () => `<span class="flex shrink-0 items-center gap-1">${YM({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: qR
-})}${QM({
+ attrs: UR
+})}${YM({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: qR
-})}</span>`, vMe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${XR()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${JR("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${YR(14, 14)}</span>${YR(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">${JR("113px")}</span>${_Me()}</span></div>`, ZR = (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>${YR(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${JR("92px")}</b>${QM({
+ attrs: UR
+})}</span>`, SMe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${KR()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${WR("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${GR(14, 14)}</span>${GR(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">${WR("113px")}</span>${xMe()}</span></div>`, qR = (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>${GR(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${WR("92px")}</b>${YM({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: qR
-})}<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">${YR(14, 14)}${YR(14, 14)}</span>${QM({
+ attrs: UR
+})}<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">${GR(14, 14)}${GR(14, 14)}</span>${YM({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: qR
-})}${QM({
+ attrs: UR
+})}${YM({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: qR
-})}</span></div><div data-source-divider>${KR(vMe(), e)}</div></section>`, yMe = () => {
+ attrs: UR
+})}</span></div><div data-source-divider>${HR(SMe(), e)}</div></section>`, CMe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, bMe = [
+}, wMe = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -61159,64 +61196,64 @@ var WR = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, GR
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], xMe = {
+], TMe = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, SMe = "<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>", CMe = (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>${bMe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${xMe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${SMe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${KR(`<tr>${[
- XR(),
- `<span class="flex min-w-0 items-center gap-2">${YR(32, 32, !0)}${JR("5em")}</span>`,
- JR("10em"),
- `<span class="flex items-center gap-1.5">${YR(14, 14)}${JR("4em")}</span>`,
- YR(48, 24),
- JR("113px"),
- _Me()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, wMe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${JR("111px")}</span>${$M(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${YR(204, 32)}</div>`, TMe = () => `<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">${JR("120px")}</h3>${[
+}, EMe = "<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>", DMe = (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>${wMe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${TMe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${EMe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${HR(`<tr>${[
+ KR(),
+ `<span class="flex min-w-0 items-center gap-2">${GR(32, 32, !0)}${WR("5em")}</span>`,
+ WR("10em"),
+ `<span class="flex items-center gap-1.5">${GR(14, 14)}${WR("4em")}</span>`,
+ GR(48, 24),
+ WR("113px"),
+ xMe()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, OMe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${WR("111px")}</span>${XM(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${GR(204, 32)}</div>`, kMe = () => `<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">${WR("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${JR(e)}</span>`).join("")}</div>`, EMe = (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">${fMe()}<div class="flex flex-col gap-6">${hMe(t)}<div class="flex flex-col gap-4">${TMe()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = cn(e.followSort, e.followDir), i = e.followPageSize || yMe(), a = n ? CMe(i, r) : `${XR("全选本页")}<div class="flex flex-col gap-3">${ZR(3)}${ZR(4)}${ZR(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${fMe()}<div class="flex flex-col gap-6">${hMe(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"}">${gMe({
+].map((e) => `<span class="text-body-medium">${WR(e)}</span>`).join("")}</div>`, AMe = (e) => {
+ let t = vMe(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${gMe()}<div class="flex flex-col gap-6">${yMe(t)}<div class="flex flex-col gap-4">${kMe()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = sn(e.followSort, e.followDir), i = e.followPageSize || CMe(), a = n ? DMe(i, r) : `${KR("全选本页")}<div class="flex flex-col gap-3">${qR(3)}${qR(4)}${qR(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${gMe()}<div class="flex flex-col gap-6">${yMe(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"}">${bMe({
table: n,
...r
- })}${a}${wMe(n, i)}</div></div></div></div></div>`;
+ })}${a}${OMe(n, i)}</div></div></div></div></div>`;
};
-function DMe() {
- 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">${WR("85%")}${WR("65%")}${KR(GR(), 4)}</div></aside></div>`;
+function jMe() {
+ 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">${BR("85%")}${BR("65%")}${HR(VR(), 4)}</div></aside></div>`;
}
-function OMe(e, t = {}) {
+function MMe(e, t = {}) {
let n = "";
- if (e === "/stats") n = sMe();
- else if (e === "/jav") n = WTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = cMe();
- else if (e === "/follow-manage") n = EMe(t);
- else if (e === "/configuration") n = oMe();
+ if (e === "/stats") n = dMe();
+ else if (e === "/jav") n = qTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = fMe();
+ else if (e === "/follow-manage") n = AMe(t);
+ else if (e === "/configuration") n = uMe();
else if (e === "/activity") n = `<div class="ui-activitypage">${[
"正在进行",
"被挡下的",
"最近完成"
- ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${WR("35%")}${GR()}</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>${WR("200px")}</div></header><div class="ui-playlistcards">${KR(`<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">${GR()}</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">${BR("35%")}${VR()}</div></article></div></section>`).join("")}</div>`;
+ else if (e === "/duplicates") n = pMe();
+ else if (e === "/quality-goals") n = mMe();
+ 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>${BR("200px")}</div></header><div class="ui-playlistcards">${HR(`<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">${VR()}</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 QR = (e) => ["follow-item", e], kMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, AMe = "/api/follow/save", jMe = "/api/follow/media/hide", MMe = class extends Error {
+var JR = (e) => ["follow-item", e], NMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, PMe = "/api/follow/save", FMe = "/api/follow/media/hide", IMe = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function NMe(e, t) {
- let n = await B(kMe(e), t);
+async function YR(e, t) {
+ let n = await tn(NMe(e), t);
for (let t of n.groups || []) {
let r = Qr(t).find((t) => t.id === e);
if (r) return {
@@ -61226,10 +61263,10 @@ async function NMe(e, t) {
aliases: n.author_aliases || []
};
}
- throw new MMe();
+ throw new IMe();
}
-function PMe(e) {
- for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {
+function LMe(e) {
+ for (let [, t] of V.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = Qr(t.group).find((t) => t.id === e);
if (n) return {
@@ -61239,20 +61276,20 @@ function PMe(e) {
}
return null;
}
-async function FMe(e, t) {
- let n = QR(e.id), r = $r(e.id), i = H.getQueryData(qr) ? null : H.fetchQuery({
+async function XR(e, t) {
+ let n = JR(e.id), r = $r(e.id), i = V.getQueryData(qr) ? null : V.fetchQuery({
queryKey: qr,
queryFn: () => Jr(t)
}), a = r ? {
...r,
item: r.item
- } : H.getQueryData(n) ?? PMe(e.id);
- a ? H.setQueryData(n, a) : await H.fetchQuery({
+ } : V.getQueryData(n) ?? LMe(e.id);
+ a ? V.setQueryData(n, a) : await V.fetchQuery({
queryKey: n,
- queryFn: () => NMe(e.id, t)
+ queryFn: () => YR(e.id, t)
}), await i;
}
-function IMe(e, t, n, r) {
+function RMe(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 && si(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,
@@ -61267,32 +61304,32 @@ function IMe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var LMe = (e) => Qr(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), RMe = {
+var zMe = (e) => Qr(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), BMe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, zMe = {
+}, VMe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function BMe(e) {
+function HMe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return RMe[t] || t;
+ return BMe[t] || t;
} catch {
return "外部文件页";
}
}
-function VMe(e, t) {
- return zMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function ZR(e, t) {
+ return VMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function HMe(e, t, n = "") {
+function UMe(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;
@@ -61301,7 +61338,7 @@ function HMe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var UMe = (e) => String(e.name || "").trim(), WMe = (e, t) => e.tag_types?.[t] || "unknown", GMe = /* @__PURE__ */ new Set([
+var WMe = (e) => String(e.name || "").trim(), QR = (e, t) => e.tag_types?.[t] || "unknown", GMe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
@@ -61309,7 +61346,7 @@ var UMe = (e) => String(e.name || "").trim(), WMe = (e, t) => e.tag_types?.[t] |
"unknown"
]);
function KMe(e, t) {
- let n = WMe(e, t);
+ let n = QR(e, t);
return `r34-${GMe.has(n) ? n : "general"}`;
}
var $R = [
@@ -61321,7 +61358,7 @@ var $R = [
];
function qMe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = $R.indexOf(WMe(e, t));
+ let n = $R.indexOf(QR(e, t));
return n < 0 ? $R.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
@@ -61341,13 +61378,13 @@ function YMe(e, 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: VMe(t, e),
+ source: ZR(t, e),
...tz(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: VMe(a, e),
+ source: ZR(a, e),
...tz(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
@@ -61356,7 +61393,7 @@ function YMe(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var XMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", nz = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => ho(e, {
+var XMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", nz = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => po(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -61379,10 +61416,10 @@ var XMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", nz
<div class="reviewtabs" data-section-items>${ZMe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${R(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
<div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>
<section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, $Me = {
- "/data-cleanup": () => cN(),
- "/resource-sync": () => cN(),
+ "/data-cleanup": () => aN(),
+ "/resource-sync": () => aN(),
"/review": () => QMe(),
- "/diagnostics": () => mo(),
+ "/diagnostics": () => fo(),
"/scraping": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
${nz("正在读取采集来源", {
cards: !0,
@@ -61392,7 +61429,7 @@ var XMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", nz
})}</div>`
};
function rz(e, { followLayout: t, followSort: n, followDir: r }) {
- return OMe(e, {
+ return MMe(e, {
followLayout: t,
...e === "/follow-manage" ? {
followSort: n,
@@ -61403,7 +61440,7 @@ function rz(e, { followLayout: t, followSort: n, followDir: r }) {
var iz = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
function az(e, t) {
let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = iz(t);
- (!r || r !== n) && (e.innerHTML = t, Co(e));
+ (!r || r !== n) && (e.innerHTML = t, xo(e));
}
//#endregion
//#region src/react/components/mix-queue.tsx
@@ -61478,7 +61515,7 @@ var eNe = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
//#region src/react/components/related-section.tsx
function cz({ children: e, wireDrag: t, busy: n, ...r }) {
let i = (0, b.useCallback)((e) => {
- e && (Co(e), t(e));
+ e && (xo(e), t(e));
}, [t]);
return /* @__PURE__ */ (0, x.jsxs)("div", {
...r,
@@ -61535,7 +61572,7 @@ async function nNe(e, t, n, r) {
sort: "rand",
seed: e.item.id
}, o = [], s = async (e, t) => {
- let n = await B(Wr({
+ let n = await tn(Wr({
...a,
author: e
}, t), r);
@@ -61553,10 +61590,10 @@ var dz = (e) => Number(e) > 0, rNe = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)
dangerouslySetInnerHTML: { __html: L(e) }
}), fz = L("external-link", "ui-externalmark");
function iNe(e) {
- let { id: t, actions: n } = e, r = ft({
- queryKey: QR(t),
- queryFn: ({ signal: e }) => NMe(t, e)
- }), i = ft({
+ let { id: t, actions: n } = e, r = ut({
+ queryKey: JR(t),
+ queryFn: ({ signal: e }) => YR(t, e)
+ }), i = ut({
queryKey: qr,
queryFn: ({ signal: e }) => Jr(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);
@@ -61574,22 +61611,22 @@ function iNe(e) {
"data-follow-detail-media": "none",
children: [/* @__PURE__ */ (0, x.jsx)(pz, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? aNe(r.error) ? /* @__PURE__ */ (0, x.jsx)(oNe, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(qj, {
- message: vt(r.error),
+ children: r.isError ? aNe(r.error) ? /* @__PURE__ */ (0, x.jsx)(oNe, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(Hj, {
+ message: gt(r.error),
onRetry: () => void r.refetch()
}) : null
})]
})
});
}
-var aNe = (e) => e instanceof MMe || e instanceof tn && e.status === 404;
+var aNe = (e) => e instanceof IMe || e instanceof $t && e.status === 404;
function oNe({ onBack: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
t.target.closest("[data-note-action]") && e();
},
- dangerouslySetInnerHTML: { __html: Za("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
+ dangerouslySetInnerHTML: { __html: Xa("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
var pz = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
@@ -61602,7 +61639,7 @@ var pz = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
dangerouslySetInnerHTML: { __html: L("x") }
});
function sNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = IMe(c, l, n, i), d = pNe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, b.useState)({
+ let { item: c, group: l } = e, u = RMe(c, l, n, i), d = pNe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, b.useState)({
key: "",
kind: ""
}), h = {
@@ -61622,7 +61659,7 @@ function sNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? LMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(_z, {
+ let g = !u.embedded.length && u.collection ? zMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(_z, {
item: c,
current: u.selected.index,
helpers: o,
@@ -61675,7 +61712,7 @@ function sNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
})] });
}
function cNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
- let o = ft({
+ let o = ut({
queryKey: tNe(e.item.id, t, n),
queryFn: ({ signal: r }) => nNe(e, t, n, r)
}), [s] = (0, b.useState)(() => nz("正在读取推荐", {
@@ -61696,7 +61733,7 @@ function cNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
"data-follow-related": "",
wireDrag: i.wireDrag,
busy: o.isPending,
- children: o.data ? l.map((e) => /* @__PURE__ */ (0, x.jsx)(WP, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, x.jsx)(VP, {
variant: "next",
group: e,
media: t,
@@ -61751,7 +61788,7 @@ function lNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
src: S,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: h.length ? () => void FP(Math.max(0, l), h) : void 0,
+ onClick: h.length ? () => void MP(Math.max(0, l), h) : void 0,
onError: () => {
y && S !== y ? (C(y), i.thumbFallback()) : i.failed();
}
@@ -61759,7 +61796,7 @@ function lNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: Sj(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: _j(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, x.jsx)("span", { children: "没有可用预览" })]
}),
u ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
@@ -61830,9 +61867,9 @@ function uNe({ group: e, itemId: t, helpers: n, actions: r }) {
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${wj(e.primary)} · ${i.length} 个视频`,
+ summary: `${yj(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = HMe(e, n, i ? n.provider_label : ""), o = i ? Sj(n.provider, n.provider_label) : "";
+ let i = e.duplicates.includes(n), a = UMe(e, n, i ? n.provider_label : ""), o = i ? _j(n.provider, n.provider_label) : "";
return /* @__PURE__ */ (0, x.jsxs)(sz, {
current: n.id === t,
"data-follow-queue-item": n.id,
@@ -61840,7 +61877,7 @@ function uNe({ group: e, itemId: t, helpers: n, actions: r }) {
pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(hz, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(mz, { kind: "video" }), dz(n.duration) ? /* @__PURE__ */ (0, x.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
- children: Ht(n.duration)
+ children: Bt(n.duration)
}) : null] }),
children: [/* @__PURE__ */ (0, x.jsx)("b", {
"data-truncate-end": "",
@@ -61855,7 +61892,7 @@ function uNe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, x.jsx)("time", {
dateTime: n.published_at || "",
- children: Nj(n)
+ children: Oj(n)
})]
})]
}, n.id);
@@ -61879,7 +61916,7 @@ function _z({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${wj(e)} · ${o.length} 个媒体`,
+ summary: `${yj(e)} · ${o.length} 个媒体`,
children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(eNe, {
label: n.label,
count: n.items.length
@@ -61892,7 +61929,7 @@ function _z({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
pic: n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(hz, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(mz, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, x.jsx)("b", {
"data-middle-truncate": "",
- children: UMe(n)
+ children: WMe(n)
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -61906,7 +61943,7 @@ function dNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, f = Aj(d, e), p = Oj(e, ez(e, t.sources), n), m = p.credited ? "" : e.author && Lt(e.author) !== Lt(p.author) ? e.author : "", h = jj(e, n), g = qMe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = Tj(d, e), p = Cj(e, ez(e, t.sources), n), m = p.credited ? "" : e.author && Ft(e.author) !== Ft(p.author) ? e.author : "", h = Ej(e, n), g = qMe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -61922,7 +61959,7 @@ function dNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-title": "",
"data-follow-detail-name": "",
"data-reveal-line": "",
- dangerouslySetInnerHTML: { __html: kj(d, e) + R(wj(e)) }
+ dangerouslySetInnerHTML: { __html: wj(d, e) + R(yj(e)) }
}), e.url ? /* @__PURE__ */ (0, x.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -61938,8 +61975,8 @@ function dNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, x.jsx)("span", { children: Nj(e) }),
- dz(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Ht(e.duration) }) : null,
+ /* @__PURE__ */ (0, x.jsx)("span", { children: Oj(e) }),
+ dz(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Bt(e.duration) }) : null,
f ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -61956,7 +61993,7 @@ function dNe({ 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)(HP, {
+ children: p.entityName ? /* @__PURE__ */ (0, x.jsxs)(zP, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -62011,7 +62048,7 @@ function dNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [BMe(e), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [HMe(e), /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: fz }
})]
@@ -62161,11 +62198,11 @@ function fNe({ text: e }) {
}) : null] });
}
function pNe(e, t, n) {
- let r = e.id, i = QR(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), l = (e, t) => o((n) => {
+ let r = e.id, i = JR(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) => {
- H.setQueryData(i, (t) => t && {
+ V.setQueryData(i, (t) => t && {
...t,
item: {
...t.item,
@@ -62173,15 +62210,15 @@ function pNe(e, t, n) {
}
}), ti(r, e);
}, d = (e) => {
- c(vt(e) || "操作失败"), t.failure("更新关注状态", e);
- }, f = pt({
- mutationFn: ({ to: e }) => V(Tn, {
+ c(gt(e) || "操作失败"), t.failure("更新关注状态", e);
+ }, f = dt({
+ mutationFn: ({ to: e }) => B(Tn, {
item: r,
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && JL(), t.toast(XMe(n), { undo: i === "saved" ? void 0 : async () => {
- await V(Tn, {
+ u(n), c(""), n === "ignored" && WL(), t.toast(XMe(n), { undo: i === "saved" ? void 0 : async () => {
+ await B(Tn, {
item: r,
to: i
}), u(i);
@@ -62189,37 +62226,37 @@ function pNe(e, t, n) {
},
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
- }), p = pt({
- mutationFn: () => V(AMe, { item: r }),
+ }), p = dt({
+ mutationFn: () => B(PMe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
onError: d,
onSettled: () => l("save", !1)
- }), m = pt({
+ }), m = dt({
mutationFn: async ({ index: e, hidden: t }) => {
- await V(jMe, {
+ await B(FMe, {
item: r,
media: e,
hidden: t
- }), await H.invalidateQueries({
+ }), await V.invalidateQueries({
queryKey: i,
exact: !0
});
},
onSuccess: (e, { hidden: r, next: a }) => {
- let o = H.getQueryData(i);
+ let o = V.getQueryData(i);
o && ei(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
},
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
- }), h = ft({
- queryKey: PDe(r),
- queryFn: ({ signal: e }) => LDe(r, e)
- }).data?.want ?? null, g = pt({
- mutationFn: async (e) => (e ? await RDe([e.id]) : await qL({ follow: r }), !e),
+ }), h = ut({
+ queryKey: LDe(r),
+ queryFn: ({ signal: e }) => BDe(r, e)
+ }).data?.want ?? null, g = dt({
+ mutationFn: async (e) => (e ? await VDe([e.id]) : await UL({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), JL();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), WL();
},
onError: d,
onSettled: () => l("want", !1)
@@ -62271,7 +62308,7 @@ function hNe(e) {
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var gNe = "/api/cover-crop", _Ne = (e, t) => V(gNe, {
+var gNe = "/api/cover-crop", _Ne = (e, t) => B(gNe, {
code: e,
box: t
});
@@ -62302,9 +62339,9 @@ function vNe({ code: e, coverUrl: t, box: n, onSaved: r }) {
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: /* @__PURE__ */ (0, x.jsx)(vz, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, x.jsx)(Xb, {
+ }), /* @__PURE__ */ (0, x.jsx)(Jb, {
getContainer: () => hNe(o.current),
- children: /* @__PURE__ */ (0, x.jsx)(iF, {
+ children: /* @__PURE__ */ (0, x.jsx)(tF, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
@@ -62320,7 +62357,7 @@ function vNe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})] });
}
function yNe({ 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 = mN(), f = pt({
+ let [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(null), [l, u] = (0, b.useState)(!0), d = dN(), f = dt({
mutationFn: (t) => _Ne(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
@@ -62333,19 +62370,19 @@ function yNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : SSe(e, Gi);
- c(eF(t, e, null));
+ } : TSe(e, Gi);
+ c(ZP(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)(aF, { children: /* @__PURE__ */ (0, x.jsx)(vz, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, x.jsx)(nF, { children: /* @__PURE__ */ (0, x.jsx)(vz, { className: "size-6" }) }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(lk, {
+ /* @__PURE__ */ (0, x.jsx)(nk, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -62360,8 +62397,8 @@ function yNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(gN, {
- icon: wD,
+ /* @__PURE__ */ (0, x.jsx)(pN, {
+ icon: _D,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -62371,24 +62408,24 @@ function yNe({ 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)(sF, {
+ children: /* @__PURE__ */ (0, x.jsx)(iF, {
src: t,
aspect: l ? Gi : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- QP(e) && p(e);
+ YP(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)(UI, {
+ children: [/* @__PURE__ */ (0, x.jsx)(BI, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(eF(s, a, Gi));
+ u(e), e && s && a && c(ZP(s, a, Gi));
},
children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -62423,15 +62460,15 @@ var yz = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
}), bz = ({ html: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), xz = (e) => Number(e) > 0 ? Wt(Number(e)) : "大小未知";
+}), xz = (e) => Number(e) > 0 ? Ht(Number(e)) : "大小未知";
function bNe(e) {
- let { queue: t, actions: n } = e, r = ft({
- queryKey: t ? gE(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => TE(t, e.helpers, n),
+ let { queue: t, actions: n } = e, r = ut({
+ queryKey: t ? mE(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => CE(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? OE(i, e.id) : t ? null : e.id, o = ft({
- queryKey: hE(a ?? 0),
- queryFn: ({ signal: e }) => wE(a, e),
+ }), i = t && r.data || null, a = i ? Mle(i, e.id) : t ? null : e.id, o = ut({
+ queryKey: pE(a ?? 0),
+ queryFn: ({ signal: e }) => SE(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -62444,8 +62481,8 @@ function bNe(e) {
"data-item-media": "none",
children: [/* @__PURE__ */ (0, x.jsx)(Sz, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, x.jsx)(qj, {
- message: vt(e),
+ children: e ? /* @__PURE__ */ (0, x.jsx)(Hj, {
+ message: gt(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
}
@@ -62456,7 +62493,7 @@ function bNe(e) {
}
return /* @__PURE__ */ (0, x.jsx)(xNe, {
...e,
- item: jle(o.data, i),
+ item: Nle(o.data, i),
queue: i
}, o.data.id);
}
@@ -62474,13 +62511,13 @@ function xNe(e) {
(0, b.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, b.useEffect)(() => {
- n?.kind === "playlist" && V(_E, {
+ n?.kind === "playlist" && B(hE, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = Jle(t, i.sourceOffline(t.location || "")), c = Mle(n, t.id);
+ let s = eue(t, i.sourceOffline(t.location || "")), c = Ple(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,
@@ -62593,7 +62630,7 @@ function CNe({ item: e, badge: t, helpers: n, actions: r }) {
});
}
function wNe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = Ule(e), a = (0, b.useRef)(null), o = ENe(e, t, r), s = (0, b.useRef)(o);
+ let i = Yle(e), a = (0, b.useRef)(null), o = ENe(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, {
@@ -62629,10 +62666,10 @@ function wNe({ 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 ${Vle[i.edition_label] || "censored"}`,
+ className: `javedition ${qle[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && DE(i);
+ }) : null, s = e.kind === "playlist" && TE(i);
return /* @__PURE__ */ (0, x.jsxs)(sz, {
current: i.id === t,
"data-queue-item": i.id,
@@ -62646,7 +62683,7 @@ function wNe({ queue: e, itemId: t, helpers: n, actions: r }) {
pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(bz, { html: fa(i, n.javImage()) }), /* @__PURE__ */ (0, x.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
- children: Ht(i.duration)
+ children: Bt(i.duration)
})] }),
lead: /* @__PURE__ */ (0, x.jsx)(bz, { html: ha(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -62672,14 +62709,14 @@ function wNe({ 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 ? Wle(i.part_label) : ga(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? Xle(i.part_label) : ga(i, n.tagLabel)
})]
}, i.id);
})
});
}
function TNe(e, t) {
- let n = pt({ mutationFn: (t) => V(_E, {
+ let n = dt({ mutationFn: (t) => B(hE, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -62693,13 +62730,13 @@ function TNe(e, t) {
});
}
function ENe(e, t, n) {
- let r = gE({
+ let r = mE({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (H.setQueryData(r, EE(e)), e), a = (t) => V(_E, {
+ }), i = (e) => (V.setQueryData(r, wE(e)), e), a = (t) => B(hE, {
id: e.playlistId,
...t
- }).then((e) => e.playlist), o = pt({
+ }).then((e) => e.playlist), o = dt({
mutationFn: (e) => a({
action: "reorder",
asset_ids: e
@@ -62712,8 +62749,8 @@ function ENe(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = Kle(s, t, r, c);
- if (qle(l, s)) return;
+ let l = Qle(s, t, r, c);
+ if ($le(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -62724,7 +62761,7 @@ function ENe(e, t, n) {
},
remove: (e) => {
let r = s;
- cs({
+ os({
title: "移出播放列表",
body: "这个视频将从播放列表移除,视频文件保留。",
confirmLabel: "移出播放列表",
@@ -62949,7 +62986,7 @@ function ONe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}, n = new ResizeObserver(t);
return n.observe(e), t(), () => n.disconnect();
}, []);
- let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Gle(e, t);
+ let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Zle(e, t);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -62985,10 +63022,10 @@ function ONe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
coverUrl: Zi(e),
box: e.poster_box || null,
onSaved: (t) => {
- H.invalidateQueries({
- queryKey: hE(e.id),
+ V.invalidateQueries({
+ queryKey: pE(e.id),
exact: !0
- }), mE((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
+ }), fE((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
}
})
}) : null,
@@ -63021,7 +63058,7 @@ function kNe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void a(),
- dangerouslySetInnerHTML: { __html: r === "reveal" ? Qa("正在定位") : L("folder-open") }
+ dangerouslySetInnerHTML: { __html: r === "reveal" ? Za("正在定位") : L("folder-open") }
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-sync": e,
@@ -63036,13 +63073,13 @@ function kNe({ id: e, actions: t, onStatus: n }) {
})] });
}
function ANe({ item: e, write: t }) {
- let n = jE(e.rating);
+ let n = EE(e.rating);
return /* @__PURE__ */ (0, x.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": AE(e.rating),
+ "data-value": Lle(e.rating),
children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-rating-stars": "",
children: [
@@ -63064,15 +63101,15 @@ function ANe({ item: e, write: t }) {
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: Ple(e.rating)
+ children: Rle(e.rating)
})]
});
}
function jNe({ item: e, actions: t }) {
- let n = (0, b.useMemo)(() => Nle(e), [e]), [r, i] = (0, b.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+ let n = (0, b.useMemo)(() => Ile(e), [e]), [r, i] = (0, b.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r, o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-id-face": "",
- dangerouslySetInnerHTML: { __html: `<span>${R(Jt(n.name))}</span>` + ta({
+ dangerouslySetInnerHTML: { __html: `<span>${R(Kt(n.name))}</span>` + ta({
kind: e,
id: n.id,
hasImage: n.has_image,
@@ -63083,12 +63120,12 @@ function jNe({ item: e, actions: t }) {
}) }
}) : /* @__PURE__ */ (0, x.jsx)("span", {
"data-id-face": "",
- children: e === "studio" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { children: qt(n.name, 2) }), n.has_logo ? /* @__PURE__ */ (0, x.jsx)("img", {
+ children: e === "studio" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { children: Gt(n.name, 2) }), n.has_logo ? /* @__PURE__ */ (0, x.jsx)("img", {
src: Qi(n.name, "icon", n.logo_version),
alt: "",
loading: "lazy",
"data-drop": "self"
- }) : null] }) : /* @__PURE__ */ (0, x.jsx)("span", { children: Jt(n.name) })
+ }) : null] }) : /* @__PURE__ */ (0, x.jsx)("span", { children: Kt(n.name) })
}), s = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)("span", {
"data-id-name": "",
children: n.name
@@ -63147,7 +63184,7 @@ function jNe({ item: e, actions: t }) {
size: "small",
id: "castMore",
"data-cast-more": "",
- trailingIcon: xD,
+ trailingIcon: mD,
"aria-expanded": !1,
onClick: () => i(!0),
children: [
@@ -63191,7 +63228,7 @@ function jNe({ item: e, actions: t }) {
});
}
function MNe({ item: e, write: t, helpers: n, actions: r }) {
- let i = Ile(e, n);
+ let i = Ble(e, n);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-tags": "",
id: "detailTags",
@@ -63222,7 +63259,7 @@ function MNe({ item: e, write: t, helpers: n, actions: r }) {
}
function NNe({ 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 && Ba(i.current), c(!1);
+ i.current && za(i.current), c(!1);
}, []);
(0, b.useEffect)(() => {
if (!s) return;
@@ -63234,7 +63271,7 @@ function NNe({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [s, h]);
- let g = s ? Ble(d, n.tagCandidates(), Rle()) : {
+ let g = s ? Kle(d, n.tagCandidates(), Wle()) : {
recent: [],
results: [],
create: ""
@@ -63257,12 +63294,12 @@ function NNe({ 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 && ME(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
+ r ? v(r, r.n !== -1 && DE(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
}
}
}, S = -1, C = (t) => {
S += 1;
- let r = S, i = ME(e, t.k);
+ let r = S, i = DE(e, t.k);
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -63291,7 +63328,7 @@ function NNe({ item: e, write: t, helpers: n }) {
"aria-label": "添加标签",
"aria-expanded": s,
onClick: () => {
- i.current && (za(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));
+ i.current && (Ra(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));
},
children: /* @__PURE__ */ (0, x.jsx)(yz, { name: "plus" })
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -63360,7 +63397,7 @@ function NNe({ item: e, write: t, helpers: n }) {
})] });
}
function PNe({ item: e }) {
- let t = Yle(e);
+ let t = tue(e);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -63428,20 +63465,20 @@ function FNe({ item: e, open: t, write: n }) {
"aria-label": "提交喜爱理由",
...n.busyAttrs("preference"),
onClick: () => n.preference({ reason: r }),
- dangerouslySetInnerHTML: { __html: o ? `${Qa("正在提交喜爱理由")}<span>提交中…</span>` : "<span>提交</span>" }
+ dangerouslySetInnerHTML: { __html: o ? `${Za("正在提交喜爱理由")}<span>提交中…</span>` : "<span>提交</span>" }
})]
})]
});
}
function INe(e) {
- let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = ft({
- queryKey: Ole(t.id, n),
- queryFn: async ({ signal: e }) => (await B(Ale(t.id, n), e)).items || []
+ let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = ut({
+ queryKey: kle(t.id, n),
+ queryFn: async ({ signal: e }) => (await tn(jle(t.id, n), e)).items || []
}), [o] = (0, b.useState)(() => r.relatedSkeletonHtml());
return a.isError || a.data && !a.data.length ? null : /* @__PURE__ */ (0, x.jsx)(cz, {
wireDrag: r.wireDrag,
busy: a.isPending,
- children: a.data ? /* @__PURE__ */ (0, x.jsx)(Zj, {
+ children: a.data ? /* @__PURE__ */ (0, x.jsx)(Kj, {
mode: "items",
variant: "next",
items: a.data,
@@ -63458,15 +63495,15 @@ function INe(e) {
});
}
function LNe(e, t, n) {
- let r = e.id, i = hE(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 = e.id, i = pE(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 = () => H.getQueryData(i) || e, p = (e) => {
+ }), f = () => V.getQueryData(i) || e, p = (e) => {
let t = typeof e == "function" ? e(f()) : {
...f(),
...e
};
- H.setQueryData(i, t);
+ V.setQueryData(i, t);
let n = {
feedback: t.feedback,
disposal: t.disposal,
@@ -63474,11 +63511,11 @@ function LNe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return pE(r, n), t;
- }, m = (e, t) => V(e, {
+ return dE(r, n), t;
+ }, m = (e, t) => B(e, {
id: r,
...t
- }), h = pt({
+ }), h = dt({
mutationFn: ({ run: e }) => e(),
onError: (e, { action: n }) => t.failure(n, e),
onSettled: (e, t, { name: n }) => d(n, !1)
@@ -63489,7 +63526,7 @@ function LNe(e, t, n) {
run: n
}));
}, _ = async (e, t) => {
- let n = await m(vE, t === void 0 ? { kind: e } : {
+ let n = await m(gE, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -63509,21 +63546,21 @@ function LNe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = Fle(n, e);
- await _("rate", r), t.toast(r ? `已评 ${jE(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = zle(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${EE(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(Xle(e, r), { undo: async () => {
+ t.toast(nue(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(bE, {});
+ let e = await m(vE, {});
p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- p({ watch_later: (await m(bE, {})).watch_later });
+ p({ watch_later: (await m(vE, {})).watch_later });
} });
}),
quality: () => g("quality", "更新版本需求", async () => {
@@ -63533,9 +63570,9 @@ function LNe(e, t, n) {
}, n = (e) => p({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await m(xE, { wanted: !e.wanted });
+ }), r = await m(yE, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await m(xE, e));
+ n(await m(yE, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -63549,7 +63586,7 @@ function LNe(e, t, n) {
});
u("保存中…");
try {
- o(await m(SE, {
+ o(await m(bE, {
liked: a,
reason: i
}));
@@ -63559,7 +63596,7 @@ function LNe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await m(SE, r));
+ o(await m(bE, r));
} });
});
},
@@ -63568,30 +63605,30 @@ function LNe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => NE(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await m(yE, {
+ p((t) => Vle(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await m(_E, {
operation: "add",
tag: e.k
- }), p((t) => PE(t, e));
+ }), p((t) => Hle(t, e));
} });
}),
addTag: (e) => {
let r = e.trim();
r && g(`add:${r}`, "添加标签", async () => {
- let e = await m(yE, {
+ let e = await m(_E, {
operation: "add",
tag: r
});
if (!e.ok) return;
let i = e.tag || r;
- ME(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => PE(e, {
+ DE(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => Hle(e, {
k: i,
cat: "general"
- })), zle(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
- await m(yE, {
+ })), Gle(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
+ await m(_E, {
operation: "remove",
tag: i
- }), p((e) => NE(e, i));
+ }), p((e) => Vle(e, i));
} }));
});
}
@@ -63601,15 +63638,15 @@ function LNe(e, t, n) {
//#region src/react/stage/stage-player.ts
var Cz = null, wz = null, Tz = null, Ez = null, Dz = null, Oz = !1, kz = 0, Az = null, jz = () => !1, Mz = (e, t, n) => `${e}:${t}:${n ?? ""}`;
function RNe(e, t) {
- Cz = e, jz = () => t.isOpen(), Az = () => t.requestClose(), zce({
+ Cz = e, jz = () => t.isOpen(), Az = () => t.requestClose(), Bce({
...e.player,
stage: () => document.getElementById("stage")
- }), Bce({
+ }), Vce({
inMiniplayer: (e) => wz?.player === e,
kind: (e) => wz?.player === e ? wz.kind : Tz?.kind ?? Ez?.kind ?? "item",
expand: () => Zz(),
toMiniplayer: () => Qz()
- }), Nz || (Nz = !0, addEventListener("pagehide", () => qT()));
+ }), Nz || (Nz = !0, addEventListener("pagehide", () => GT()));
}
var Nz = !1;
function Pz() {
@@ -63634,7 +63671,7 @@ function Iz(e, t) {
Tz = 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 = sE(s, {
+ let c = aE(s, {
kind: n,
item: r,
media: i,
@@ -63647,12 +63684,12 @@ function Iz(e, t) {
});
return () => {
let e = !!o.player && wz?.player === o.player;
- Tz === o && (Tz = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), qT());
+ Tz === o && (Tz = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), GT());
};
}
function BNe(e, t) {
let { player: n } = t;
- Jz(t), wz = null, Yz(), n.el().classList.remove("vjs-peach-mini"), aE(e), e.append(n.el()), xT(n);
+ Jz(t), wz = null, Yz(), n.el().classList.remove("vjs-peach-mini"), rE(e), e.append(n.el()), yT(n);
let r = {
player: n,
kind: t.kind,
@@ -63661,9 +63698,9 @@ function BNe(e, t) {
key: t.key
};
Tz = r;
- let i = oE(n, e);
- return ST(n), () => {
- Tz === r && (Tz = null), i(), wz?.player !== n && (bT() === n && xT(null), zT(n), qT());
+ let i = iE(n, e);
+ return bT(n), () => {
+ Tz === r && (Tz = null), i(), wz?.player !== n && (vT() === n && yT(null), LT(n), GT());
};
}
var Lz = () => {
@@ -63709,13 +63746,13 @@ function Uz() {
let e = wz?.player;
if (!e || e.isDisposed() || !Dz) return;
let t = e.paused();
- Dz.play.setAttribute("aria-label", t ? "播放" : "暂停"), Dz.play.querySelector("[data-icon-swap]") || (Dz.play.innerHTML = io("player-pause", "player-play", t ? "b" : "a")), ao(Dz.play, t ? "b" : "a");
+ Dz.play.setAttribute("aria-label", t ? "播放" : "暂停"), Dz.play.querySelector("[data-icon-swap]") || (Dz.play.innerHTML = no("player-pause", "player-play", t ? "b" : "a")), ro(Dz.play, t ? "b" : "a");
}
function Wz() {
let e = wz?.player;
if (!e || e.isDisposed() || !Dz) return;
- let t = Vt(wz?.item.duration) || Vt(e.duration());
- Dz.time.textContent = `${Ut(e.currentTime())} / ${t ? Ut(t) : "0:00"}`;
+ let t = zt(wz?.item.duration) || zt(e.duration());
+ Dz.time.textContent = `${Vt(e.currentTime())} / ${t ? Vt(t) : "0:00"}`;
}
var Gz = () => Math.max(1, Number(Pz().player.settings().seekSeconds) || 10);
function Kz() {
@@ -63773,13 +63810,13 @@ function GNe(e, t) {
off: [],
pending: !1
};
- wz = n, kz++, e.player.el().classList.add("vjs-peach-mini"), Dz.frame.prepend(e.player.el()), Vz(t), qz(n), WNe(), ST(e.player);
+ wz = n, kz++, e.player.el().classList.add("vjs-peach-mini"), Dz.frame.prepend(e.player.el()), Vz(t), qz(n), WNe(), bT(e.player);
}
function Xz() {
let e = wz;
e && Jz(e), wz = null, kz++;
let t = e?.player ?? null;
- t && bT() === t && xT(null), zT(t), t && qT(), Dz?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), vT(), Yz();
+ t && vT() === t && yT(null), LT(t), t && GT(), Dz?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), gT(), Yz();
}
function Zz() {
if (!Bz() || !wz) return;
@@ -63796,7 +63833,7 @@ function KNe() {
function $z(e) {
let t = wz?.player;
if (!t || t.isDisposed()) return;
- let n = Vt(t.duration()) || Vt(wz?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + Gz() * e);
+ let n = zt(t.duration()) || zt(wz?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + Gz() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
function eB(e) {
@@ -63804,14 +63841,14 @@ function eB(e) {
}
async function qNe(e) {
if (!Bz() || !wz || !Dz) return;
- let t = ++kz, n = await yt(`/api/item?id=${e}`).catch(() => null);
+ let t = ++kz, n = await _t(`/api/item?id=${e}`).catch(() => null);
if (t !== kz || !Bz() || !wz || !Dz || !n || n.error) return;
if (!eB(n)) {
Pz().openItem(e);
return;
}
let r = wz;
- Jz(r), bT() === r.player && xT(null), zT(r.player), qT(), Dz.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ Jz(r), vT() === r.player && yT(null), LT(r.player), GT(), Dz.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", Dz.frame.prepend(i);
let a = {
@@ -63820,14 +63857,14 @@ async function qNe(e) {
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- Vz(a), sE(i, {
+ Vz(a), aE(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
if (t !== kz) {
- r && bT() === r && xT(null), zT(r);
+ r && vT() === r && yT(null), LT(r);
return;
}
if (!r) {
@@ -64036,7 +64073,7 @@ function $Ne() {
for (let e of [...aB]) e();
}
function fB() {
- (0, ht.flushSync)($Ne);
+ (0, pt.flushSync)($Ne);
}
function ePe({ view: e }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(tPe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(YNe, {})] });
@@ -64045,7 +64082,7 @@ var pB = () => /* @__PURE__ */ (0, x.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: DMe() }
+ dangerouslySetInnerHTML: { __html: jMe() }
});
function mB(e) {
let t = e.currentTarget;
@@ -64199,10 +64236,10 @@ async function rPe(e) {
}, fB();
let i = uB();
if (!i) return;
- Co(i), document.body.setAttribute("data-detail-open", ""), i.open || i.showModal();
+ xo(i), document.body.setAttribute("data-detail-open", ""), i.open || i.showModal();
let a = iB.content;
try {
- a.kind === "item" ? await kE(a.props, r.signal) : await FMe(a.props, r.signal);
+ a.kind === "item" ? await Fle(a.props, r.signal) : await XR(a.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
@@ -64211,7 +64248,7 @@ async function rPe(e) {
iB = {
...iB,
phase: o ? "content" : "reveal"
- }, fB(), o || nPe(i, n), fo(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, fB(), o || nPe(i, n), lo(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let s = document.activeElement;
(s === i || !i.contains(s)) && i.querySelector("#closeStage")?.focus();
}
@@ -64222,17 +64259,17 @@ async function iPe(e, t) {
sB = r, lB = !1;
let i = _B(e);
try {
- i.kind === "item" ? await kE(i.props, r.signal) : await FMe(i.props, r.signal);
+ i.kind === "item" ? await Fle(i.props, r.signal) : await XR(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
if (n !== oB || !iB || vB(e.kind) !== t) return;
- Rz(e.kind, e.id ?? NaN), qs(t), vT(), iB = {
+ Rz(e.kind, e.id ?? NaN), Gs(t), gT(), iB = {
...iB,
request: e,
content: i,
phase: "content"
- }, fB(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), fo(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, fB(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), lo(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 });
}
@@ -64250,7 +64287,7 @@ function aPe() {
function yB({ miniplayer: e = !0 } = {}) {
if (oB++, sB?.abort(), sB = null, VNe(e), !iB) return;
let t = uB();
- t && qs(t), vT(), t?.open && t.close(), iB = null, cB = !1, lB = !1, fB(), Fz(null), document.body.removeAttribute("data-detail-open");
+ t && Gs(t), gT(), t?.open && t.close(), iB = null, cB = !1, lB = !1, fB(), Fz(null), document.body.removeAttribute("data-detail-open");
}
function oPe(e) {
iB && (iB = {
@@ -64287,7 +64324,7 @@ var cPe = {
showing: () => iB && vB(iB.content.kind) ? iB.content.kind : null,
activeVideo: () => UNe(),
toggleTheater: () => {
- iB && RT(!dB().player.settings().theaterMode);
+ iB && IT(!dB().player.settings().theaterMode);
},
toggleMiniplayer: () => Qz(),
closeMiniplayer: () => Xz(),
@@ -64391,7 +64428,7 @@ var DB = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
height: i,
x: 0,
y: 0
- }, f = X_("recharts-surface", o);
+ }, f = q_("recharts-surface", o);
return /*#__PURE__*/ b.createElement("svg", EB({}, TB(u), {
className: f,
width: r,
@@ -64429,7 +64466,7 @@ function yPe(e, t) {
return n;
}
var kB = /*#__PURE__*/ b.forwardRef((e, t) => {
- var n = e.children, r = e.className, i = vPe(e, _Pe), a = X_("recharts-layer", r);
+ var n = e.children, r = e.className, i = vPe(e, _Pe), a = q_("recharts-layer", r);
return /*#__PURE__*/ b.createElement("g", OB({ className: a }, TB(i), { ref: t }), n);
});
//#endregion
@@ -65524,7 +65561,7 @@ var $V = {
if (t !== null) return t;
}, u = s.className, d = s.cx, f = s.cy, p = TB(s);
return HB(d) && HB(f) && HB(i) ? /*#__PURE__*/ b.createElement("path", XV({}, p, {
- className: X_("recharts-symbols", u),
+ className: q_("recharts-symbols", u),
transform: `translate(${d}, ${f})`,
d: l()
})) : null;
@@ -65721,7 +65758,7 @@ function kFe(e) {
marginRight: 4
};
return t.map((t, r) => {
- var d = t.formatter || i, f = X_({
+ var d = t.formatter || i, f = q_({
"recharts-legend-item": !0,
[`legend-item-${r}`]: !0,
inactive: t.inactive
@@ -66136,7 +66173,7 @@ function XH(e, t, n) {
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
var eIe = /* @__PURE__ */ o(((e) => {
- var t = d(), n = lv();
+ var t = d(), n = ov();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -68223,7 +68260,7 @@ var iK = () => (0, b.useContext)(nK), hRe = /*#__PURE__*/ (0, b.forwardRef)((e,
}), A = k.calculatedWidth, j = k.calculatedHeight;
return YG(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", QG({
id: m ? `${m}` : void 0,
- className: X_("recharts-responsive-container", h),
+ className: q_("recharts-responsive-container", h),
style: eK(eK({}, v), {}, {
width: a,
height: o,
@@ -68750,7 +68787,7 @@ function oze(e) {
chartHeight: g,
contextPayload: r
})));
- return /*#__PURE__*/ (0, ht.createPortal)(E, T);
+ return /*#__PURE__*/ (0, pt.createPortal)(E, T);
}
var kK = /*#__PURE__*/ b.memo(oze, wK);
kK.displayName = "Legend";
@@ -68904,7 +68941,7 @@ var _ze = (e) => {
}, t);
}
return null;
- }, _ = MK(MK({}, PK.contentStyle), r), v = MK({ margin: 0 }, o), y = !YB(f), x = y ? f : "", S = X_("recharts-default-tooltip", u), C = X_("recharts-tooltip-label", d);
+ }, _ = MK(MK({}, PK.contentStyle), r), v = MK({ margin: 0 }, o), y = !YB(f), x = y ? f : "", S = q_("recharts-default-tooltip", u), C = q_("recharts-tooltip-label", d);
y && p && s != null && (x = p(f, s));
var w = h ? {
role: "status",
@@ -68920,7 +68957,7 @@ var _ze = (e) => {
}, FK = "recharts-tooltip-wrapper", vze = { visibility: "hidden" };
function yze(e) {
var t = e.coordinate, n = e.translateX, r = e.translateY;
- return X_(FK, {
+ return q_(FK, {
[`${FK}-right`]: HB(n) && t && HB(t.x) && n >= t.x,
[`${FK}-left`]: HB(n) && t && HB(t.x) && n < t.x,
[`${FK}-bottom`]: HB(r) && t && HB(t.y) && r >= t.y,
@@ -69278,7 +69315,7 @@ var qK = {
connectNulls: e.connectNulls
}, s = n && n.length ? Hze(o) : r;
return /*#__PURE__*/ b.createElement("path", WK({}, CB(e), nH(e), {
- className: X_("recharts-curve", t),
+ className: q_("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
@@ -69371,7 +69408,7 @@ var Xze = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, Zze = (e) => {
height: f
}, m);
return !HB(n) || !HB(i) || !HB(u) || !HB(f) || !HB(o) || !HB(c) ? null : /*#__PURE__*/ b.createElement("path", eq({}, TB(h), {
- className: X_("recharts-cross", p),
+ className: q_("recharts-cross", p),
d: Xze(n, i, u, f, o, c)
}));
};
@@ -69914,7 +69951,7 @@ var Sq = (e, t, n, r, i) => {
u
]), "rectangle-");
if (o !== +o || s !== +s || c !== +c || l !== +l || c === 0 || l === 0) return null;
- var C = X_("recharts-rectangle", d);
+ var C = q_("recharts-rectangle", d);
if (!g) {
var w = TB(t);
w.radius;
@@ -70251,7 +70288,7 @@ var aVe = (e, t) => zB(t - e) * Math.min(Math.abs(t - e), 359.999), Nq = (e) =>
}, Fq = (e) => {
var t = aH(e, sVe), 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 = X_("recharts-sector", d), p = a - i, m = GB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? oVe({
+ var f = q_("recharts-sector", d), p = a - i, m = GB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? oVe({
cx: n,
cy: r,
innerRadius: i,
@@ -71256,7 +71293,7 @@ function WJ(e, t) {
//#region node_modules/d3-scale/src/ordinal.js
var GJ = Symbol("implicit");
function KJ() {
- var e = new tEe(), t = [], n = [], r = GJ;
+ var e = new iEe(), t = [], n = [], r = GJ;
function i(i) {
let a = e.get(i);
if (a === void 0) {
@@ -71267,7 +71304,7 @@ function KJ() {
}
return i.domain = function(n) {
if (!arguments.length) return t.slice();
- t = [], e = new tEe();
+ t = [], e = new iEe();
for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
return i;
}, i.range = function(e) {
@@ -71286,7 +71323,7 @@ function qJ() {
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = uEe(e).map(function(e) {
+ var m = pEe(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -71791,7 +71828,7 @@ function iHe(e, t, n) {
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = NY(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
- var n = bL(e, t, 1, r) - 1;
+ var n = gL(e, t, 1, r) - 1;
return a[n](i[n](t));
};
}
@@ -72043,7 +72080,7 @@ function hHe(e, t) {
//#endregion
//#region node_modules/d3-scale/src/tickFormat.js
function XY(e, t, n, r) {
- var i = TL(e, t, n), a;
+ var i = xL(e, t, n), a;
switch (r = zY(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
@@ -72066,7 +72103,7 @@ function ZY(e) {
var t = e.domain;
return e.ticks = function(e) {
var n = t();
- return wL(n[0], n[n.length - 1], e ?? 10);
+ return bL(n[0], n[n.length - 1], e ?? 10);
}, e.tickFormat = function(e, n) {
var r = t();
return XY(r[0], r[r.length - 1], e ?? 10, n);
@@ -72074,7 +72111,7 @@ function ZY(e) {
n ??= 10;
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
- if (l = oEe(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
+ if (l = lEe(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
else break;
@@ -72160,8 +72197,8 @@ function iX(e) {
if (f > s) break;
m.push(f);
}
- m.length * 2 < p && (m = wL(o, s, p));
- } else m = wL(l, u, Math.min(u - l, p)).map(a);
+ m.length * 2 < p && (m = bL(o, s, p));
+ } else m = bL(l, u, Math.min(u - l, p)).map(a);
return c ? m.reverse() : m;
}, t.tickFormat = (e, n) => {
if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = zY(n)).precision == null && (n.trim = !0), n = JY(n)), e === Infinity) return n;
@@ -72272,11 +72309,11 @@ function hX() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = lEe(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = fEe(e, r / i);
return a;
}
function a(e) {
- return e == null || isNaN(e = +e) ? r : t[bL(n, e)];
+ return e == null || isNaN(e = +e) ? r : t[gL(n, e)];
}
return a.invertExtent = function(r) {
var i = t.indexOf(r);
@@ -72285,7 +72322,7 @@ function hX() {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(vL), i();
+ return e.sort(mL), i();
}, a.range = function(e) {
return arguments.length ? (t = Array.from(e), i()) : t.slice();
}, a.unknown = function(e) {
@@ -72301,7 +72338,7 @@ function hX() {
function gX() {
var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;
function o(e) {
- return e != null && e <= e ? i[bL(r, e, 0, n)] : a;
+ return e != null && e <= e ? i[gL(r, e, 0, n)] : a;
}
function s() {
var i = -1;
@@ -72328,7 +72365,7 @@ function gX() {
function _X() {
var e = [.5], t = [0, 1], n, r = 1;
function i(i) {
- return i != null && i <= i ? t[bL(e, i, 0, r)] : n;
+ return i != null && i <= i ? t[gL(e, i, 0, r)] : n;
}
return i.domain = function(n) {
return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();
@@ -72590,9 +72627,9 @@ function YX(e, t, n, r, i, a) {
return r ? a.reverse() : a;
}
function c(t, n, r) {
- let i = Math.abs(n - t) / r, a = yL(([, , e]) => e).right(o, i);
- if (a === o.length) return e.every(TL(t / OX, n / OX, r));
- if (a === 0) return xX.every(Math.max(TL(t, n, r), 1));
+ let i = Math.abs(n - t) / r, a = hL(([, , e]) => e).right(o, i);
+ if (a === o.length) return e.every(xL(t / OX, n / OX, r));
+ if (a === 0) return xX.every(Math.max(xL(t, n, r), 1));
let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];
return s.every(c);
}
@@ -73239,19 +73276,19 @@ function HUe() {
function DZ() {
var e = [], t = MY;
function n(n) {
- if (n != null && !isNaN(n = +n)) return t((bL(e, n, 1) - 1) / (e.length - 1));
+ if (n != null && !isNaN(n = +n)) return t((gL(e, n, 1) - 1) / (e.length - 1));
}
return n.domain = function(t) {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(vL), n;
+ return e.sort(mL), n;
}, n.interpolator = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => cEe(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => dEe(e, r / t));
}, n.copy = function() {
return DZ(t).domain(e);
}, WJ.apply(n, arguments);
@@ -75088,7 +75125,7 @@ function x1(e) {
};
}, [s]), !r) return n;
var l = c ?? a.current;
- return l ? /*#__PURE__*/ (0, ht.createPortal)(n, l) : null;
+ return l ? /*#__PURE__*/ (0, pt.createPortal)(n, l) : null;
}
//#endregion
//#region node_modules/recharts/es6/component/Cursor.js
@@ -75171,7 +75208,7 @@ function sKe(e) {
}, i), p), wB(s)), {}, {
payload: d,
payloadIndex: f,
- className: X_("recharts-tooltip-cursor", x)
+ className: q_("recharts-tooltip-cursor", x)
});
return /*#__PURE__*/ b.createElement(x1, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ b.createElement(oKe, {
cursor: s,
@@ -75687,7 +75724,7 @@ function LKe(e) {
innerRef: ne,
hasPortalFromProps: !!y
}, FKe(o, se));
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ (0, ht.createPortal)(ce, ie), ee && /*#__PURE__*/ b.createElement(cKe, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ (0, pt.createPortal)(ce, ie), ee && /*#__PURE__*/ b.createElement(cKe, {
cursor: h,
tooltipEventType: E,
coordinate: M,
@@ -76198,7 +76235,7 @@ var u0 = (e, t, n, r) => e.reduce((e, i) => {
ref: t,
x: y,
y: x,
- className: X_("recharts-text", g),
+ className: q_("recharts-text", g),
textAnchor: l,
fill: s.includes("url") ? m0 : s
}), f.map((e, t) => {
@@ -76349,7 +76386,7 @@ var b0 = /*#__PURE__*/ (0, b.createContext)(null), x0 = (e) => {
${x.x},${x.y}`, C = YB(e.id) ? WB("recharts-radial-line-") : e.id;
return /*#__PURE__*/ b.createElement("text", y0({}, r, {
dominantBaseline: "central",
- className: X_("recharts-radial-bar-label", o)
+ className: q_("recharts-radial-bar-label", o)
}), /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("path", {
id: C,
d: S
@@ -76443,7 +76480,7 @@ function D0(e) {
var w = TB(t);
return v && E0(m) ? jqe(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ b.createElement(x1, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(h0, y0({
ref: d,
- className: X_("recharts-label", l)
+ className: q_("recharts-label", l)
}, w, g, {
textAnchor: l0(w.textAnchor) ? w.textAnchor : g.textAnchor,
breakAll: u
@@ -76611,7 +76648,7 @@ var R0 = (e) => e != null && e.x === +e.x && e.y === +e.y, Jqe = function() {
}, B0 = (e) => {
var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = Gqe(e, Uqe);
if (!t || !t.length) return null;
- var o = X_("recharts-polygon", n);
+ var o = q_("recharts-polygon", n);
if (r && r.length) {
var s = a.stroke && a.stroke !== "none", c = Yqe(t, r, i);
return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", L0({}, TB(a), {
@@ -76645,7 +76682,7 @@ function V0() {
}, V0.apply(null, arguments);
}
var H0 = (e) => {
- var t = e.cx, n = e.cy, r = e.r, i = e.className, a = X_("recharts-dot", i);
+ var t = e.cx, n = e.cy, r = e.r, i = e.className, a = q_("recharts-dot", i);
return HB(t) && HB(n) && HB(r) ? /*#__PURE__*/ b.createElement("circle", V0({}, CB(e), nH(e), {
className: a,
cx: t,
@@ -76865,7 +76902,7 @@ var cJe = (e, t, n, r) => {
}, r2 = (e) => {
var t = e.cx, n = e.cy, r = e.radius, i = n2({}, CB(e));
return /*#__PURE__*/ b.createElement("circle", t2({}, i, {
- className: X_("recharts-polar-grid-concentric-circle", e.className),
+ className: q_("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
@@ -76873,7 +76910,7 @@ var cJe = (e, t, n, r) => {
}, i2 = (e) => {
var t = e.radius, n = n2({}, CB(e));
return /*#__PURE__*/ b.createElement("path", t2({}, n, {
- className: X_("recharts-polar-grid-concentric-polygon", e.className),
+ className: q_("recharts-polar-grid-concentric-polygon", e.className),
d: cJe(t, e.cx, e.cy, e.polarAngles)
}));
}, uJe = (e) => {
@@ -77122,7 +77159,7 @@ var OJe = (e, t, n, r) => {
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
return /*#__PURE__*/ b.createElement(kB, u2({
- className: X_("recharts-polar-radius-axis-tick", l2(a)),
+ className: q_("recharts-polar-radius-axis-tick", l2(a)),
key: `tick-${t.coordinate}`
}, rH(e, t, o)), MJe(a, d, r ? r(t.value, o) : t.value));
});
@@ -77131,7 +77168,7 @@ var OJe = (e, t, n, r) => {
var t = e.radiusAxisId, n = J(jJ), r = J((e) => Q0(e, "radiusAxis", t)), i = J((e) => e2(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = f2(f2({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
- return /*#__PURE__*/ b.createElement(x1, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(kB, { className: X_("recharts-polar-radius-axis", EJe, a.className) }, s && jJe(a, i), o && NJe(a, i), /*#__PURE__*/ b.createElement(Oqe, AJe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(Fqe, { label: a.label }), a.children)));
+ return /*#__PURE__*/ b.createElement(x1, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(kB, { className: q_("recharts-polar-radius-axis", EJe, a.className) }, s && jJe(a, i), o && NJe(a, i), /*#__PURE__*/ b.createElement(Oqe, AJe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(Fqe, { label: a.label }), a.children)));
};
function m2(e) {
var t = aH(e, gJ);
@@ -77283,7 +77320,7 @@ var WJe = (e, t) => {
y: u.y2
});
return /*#__PURE__*/ b.createElement(kB, h2({
- className: X_("recharts-polar-angle-axis-tick", l2(t)),
+ className: q_("recharts-polar-angle-axis-tick", l2(t)),
key: `tick-${a.coordinate}`
}, rH(e, a, o)), n && /*#__PURE__*/ b.createElement("line", h2({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(JJe, {
tick: t,
@@ -77299,7 +77336,7 @@ var WJe = (e, t) => {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ b.createElement(x1, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(kB, { className: X_("recharts-polar-angle-axis", HJe, o.className) }, /*#__PURE__*/ b.createElement(qJe, o), /*#__PURE__*/ b.createElement(YJe, o)));
+ return /*#__PURE__*/ b.createElement(x1, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(kB, { className: q_("recharts-polar-angle-axis", HJe, o.className) }, /*#__PURE__*/ b.createElement(qJe, o), /*#__PURE__*/ b.createElement(YJe, o)));
};
function b2(e) {
var t = aH(e, hJ);
@@ -77912,7 +77949,7 @@ function HYe(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 = X_(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};
+ var i = q_(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};
a.points;
var o = BYe(a, IYe);
return /*#__PURE__*/ b.createElement(H0, t4({}, o, { className: i }));
@@ -78506,7 +78543,7 @@ var FXe = {
function IXe(e) {
var t = e.hide, n = e.className, r = e.points;
if (t) return null;
- var i = X_("recharts-radar", n);
+ var i = q_("recharts-radar", n);
return /*#__PURE__*/ b.createElement(x1, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(kB, { className: i }, /*#__PURE__*/ b.createElement(PXe, e)), /*#__PURE__*/ b.createElement(u4, {
points: r,
mainColor: y4(e.stroke, e.fill),
@@ -79105,7 +79142,7 @@ var yZe = /*#__PURE__*/ b.memo((e) => {
if (!i) return null;
var o = q4(q4(q4(q4(q4({ cornerRadius: S4(t) }, a), {}, { fill: "#eee" }, i), n), rH(this.props, e, r)), {}, {
index: r,
- className: X_("recharts-radial-bar-background-sector", String(n?.className)),
+ className: q_("recharts-radial-bar-background-sector", String(n?.className)),
option: i,
isActive: !1
});
@@ -79115,7 +79152,7 @@ var yZe = /*#__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 = X_("recharts-area", r);
+ var a = q_("recharts-area", r);
return /*#__PURE__*/ b.createElement(x1, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(kB, { className: a }, i && /*#__PURE__*/ b.createElement(kB, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(kB, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement(_Ze, this.props))));
}
};
@@ -79540,7 +79577,7 @@ function nQe(e) {
x2: v,
y2: y
});
- return /*#__PURE__*/ b.createElement(x1, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(kB, { className: X_("recharts-reference-line", i) }, XZe(r, x), /*#__PURE__*/ b.createElement(x0, $4({}, S, {
+ return /*#__PURE__*/ b.createElement(x1, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(kB, { className: q_("recharts-reference-line", i) }, XZe(r, x), /*#__PURE__*/ b.createElement(x0, $4({}, S, {
lowerWidth: S.width,
upperWidth: S.width
}), /*#__PURE__*/ b.createElement(k0, { label: e.label }), e.children)));
@@ -80054,7 +80091,7 @@ function VQe(e) {
y2: n + i
});
}
- return /*#__PURE__*/ b.createElement("line", a3({}, l, { className: X_("recharts-cartesian-axis-line", IB(s, "className")) }));
+ return /*#__PURE__*/ b.createElement("line", a3({}, l, { className: q_("recharts-cartesian-axis-line", IB(s, "className")) }));
}
function HQe(e, t, n, r, i, a, o, s, c) {
var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = HB(e.tickCoord) ? e.tickCoord : e.coordinate;
@@ -80099,12 +80136,12 @@ function WQe(e, t) {
}
}
function GQe(e) {
- var t = e.option, n = e.tickProps, r = e.value, i, a = X_(n.className, "recharts-cartesian-axis-tick-value");
+ var t = e.option, n = e.tickProps, r = e.value, i, a = q_(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ b.isValidElement(t)) i = /*#__PURE__*/ b.cloneElement(t, o3(o3({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(o3(o3({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = X_(o, l2(t))), i = /*#__PURE__*/ b.createElement(h0, a3({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = q_(o, l2(t))), i = /*#__PURE__*/ b.createElement(h0, a3({}, n, { className: o }), r);
}
return i;
}
@@ -80152,7 +80189,7 @@ var qQe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
return /*#__PURE__*/ b.createElement(kB, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, a && /*#__PURE__*/ b.createElement("line", a3({}, M, n, { className: X_("recharts-cartesian-axis-tick-line", IB(a, "className")) })));
+ }, a && /*#__PURE__*/ b.createElement("line", a3({}, M, n, { className: q_("recharts-cartesian-axis-tick-line", IB(a, "className")) })));
}), ee = N.map((e, t) => {
var n = e.entry, r = e.tick, a = o3(o3({}, o3(o3(o3(o3({ verticalAnchor: A }, D), {}, {
textAnchor: k,
@@ -80211,7 +80248,7 @@ var qQe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
}
}
}, [f, h]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(x1, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(kB, { className: X_("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(VQe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(x1, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(kB, { className: q_("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(VQe, {
x: e.x,
y: e.y,
width: r,
@@ -81077,7 +81114,7 @@ var o1e = (e, t) => ({
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 = X_("recharts-line", i), h = d, g = H$e(n), _ = g.r, v = g.strokeWidth, y = E2(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
+ var m = q_("recharts-line", i), h = d, g = H$e(n), _ = g.r, v = g.strokeWidth, y = E2(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
return /*#__PURE__*/ b.createElement(x1, { zIndex: p }, /*#__PURE__*/ b.createElement(kB, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(h3, {
clipPathId: h,
xAxisId: a,
@@ -81620,7 +81657,7 @@ var K1e = 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 = X_("recharts-area", i), g = f, _ = H$e(n), v = _.r, y = _.strokeWidth, x = E2(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;
+ var h = q_("recharts-area", i), g = f, _ = H$e(n), v = _.r, y = _.strokeWidth, x = E2(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;
return /*#__PURE__*/ b.createElement(x1, { zIndex: m }, /*#__PURE__*/ b.createElement(kB, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(h3, {
clipPathId: g,
xAxisId: c,
@@ -82280,7 +82317,7 @@ var K0e = 0, q0e = (e, t) => {
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 = X_("recharts-bar", i), d = l;
+ var u = q_("recharts-bar", i), d = l;
return /*#__PURE__*/ b.createElement(kB, {
className: u,
id: l
@@ -82598,7 +82635,7 @@ var h2e = (e) => {
y: p.y,
width: f.width,
height: f.height,
- className: X_(`recharts-${u} ${u}`, n),
+ className: q_(`recharts-${u} ${u}`, n),
viewBox: s,
ticks: d,
axisType: u,
@@ -82783,7 +82820,7 @@ function O2e(e) {
tickTextProps: r === "auto" ? { width: void 0 } : { width: r },
width: d.width,
height: d.height,
- className: X_(`recharts-${u} ${u}`, n),
+ className: q_(`recharts-${u} ${u}`, n),
viewBox: s,
ticks: p,
axisType: u,
@@ -83672,7 +83709,7 @@ var B4e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
return /*#__PURE__*/ b.createElement(T1.Provider, { value: T }, /*#__PURE__*/ b.createElement(iV.Provider, { value: O }, /*#__PURE__*/ b.createElement(pe, {
width: M ?? g?.width,
height: N ?? g?.height,
- className: X_("recharts-wrapper", r),
+ className: q_("recharts-wrapper", r),
style: T4e({
position: "relative",
cursor: "default",
@@ -84139,7 +84176,7 @@ var E3e = ["axis", "item"], D3e = S3e(S3e({}, u6), {}, {
//#endregion
//#region src/react/charts/cn.ts
function d6(...e) {
- return nO(X_(e));
+ return YD(q_(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
@@ -84479,16 +84516,16 @@ function U3e({ 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 = Ag(ee), ne = Ag(F);
+ let ee = T > 1 ? P.startIndex / (T - 1) * 100 : 0, F = T > 1 ? P.endIndex / (T - 1) * 100 : 100, te = Og(ee), ne = Og(F);
te.get() !== ee && te.set(ee), ne.get() !== F && ne.set(F);
- let re = Ire(te, V3e), ie = Ire(ne, V3e), ae = jg(re, (e) => `${e}%`), oe = jg(ie, (e) => `${e}%`), se = jg(re, (e) => `${e}%`), ce = jg(ie, (e) => `${Math.max(0, 100 - e)}%`), le = Ag(`${Math.max(0, F - ee)}%`), ue = (0, b.useCallback)(() => {
+ let re = Lre(te, V3e), ie = Lre(ne, V3e), ae = kg(re, (e) => `${e}%`), oe = kg(ie, (e) => `${e}%`), se = kg(re, (e) => `${e}%`), ce = kg(ie, (e) => `${Math.max(0, 100 - e)}%`), le = Og(`${Math.max(0, F - ee)}%`), ue = (0, b.useCallback)(() => {
le.set(`${Math.max(0, ie.get() - re.get())}%`);
}, [
re,
ie,
le
]);
- Are(re, "change", ue), Are(ie, "change", ue);
+ jre(re, "change", ue), jre(ie, "change", ue);
let de = (0, b.useCallback)((t) => {
if (!r) return String(t);
let n = e[t]?.[r];
@@ -84523,15 +84560,15 @@ function U3e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
barRadius: u
})
}),
- /* @__PURE__ */ (0, x.jsx)(Mg.div, {
+ /* @__PURE__ */ (0, x.jsx)(Ag.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 left-0 rounded-l-md backdrop-blur-[2px]",
style: { width: se }
}),
- /* @__PURE__ */ (0, x.jsx)(Mg.div, {
+ /* @__PURE__ */ (0, x.jsx)(Ag.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 right-0 rounded-r-md backdrop-blur-[2px]",
style: { width: ce }
}),
- /* @__PURE__ */ (0, x.jsx)(Mg.div, {
+ /* @__PURE__ */ (0, x.jsx)(Ag.div, {
className: "absolute inset-y-0 cursor-grab touch-none rounded-sm border active:cursor-grabbing",
style: {
left: ae,
@@ -84556,7 +84593,7 @@ function U3e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}
function W3e({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
- return /* @__PURE__ */ (0, x.jsxs)(Mg.div, {
+ return /* @__PURE__ */ (0, x.jsxs)(Ag.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, x.jsx)("div", {
@@ -85045,7 +85082,7 @@ function T6({ config: e, data: t, children: n, className: r, chartProps: i, stac
});
}
function n6e({ 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 } = w6(), S = (0, b.useId)().replace(/:/g, ""), C = Lre();
+ let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = w6(), S = (0, b.useId)().replace(/:/g, ""), C = Rre();
if (f) return null;
let w = n ?? p, T = _ === e, E = C ? "none" : r ?? m, D = {
id: S,
@@ -85216,7 +85253,7 @@ var c6e = (e) => {
children: [/* @__PURE__ */ (0, x.jsx)(wq, {
...e,
fill: "transparent"
- }), T ? /* @__PURE__ */ (0, x.jsx)(Mg.g, {
+ }), T ? /* @__PURE__ */ (0, x.jsx)(Ag.g, {
initial: T.initial,
animate: T.animate,
transition: T.transition,
@@ -85654,7 +85691,7 @@ var S6e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fr
height: "1",
x: "0",
y: "0",
- children: /* @__PURE__ */ (0, x.jsx)(Mg.rect, {
+ children: /* @__PURE__ */ (0, x.jsx)(Ag.rect, {
y: "0",
width: "1",
height: "1",
@@ -85687,7 +85724,7 @@ var S6e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fr
T6.Bar = n6e, T6.XAxis = r6e, T6.YAxis = i6e, T6.Grid = a6e, T6.Tooltip = o6e, T6.Legend = s6e, T6.Brush = S6;
//#endregion
//#region src/react/charts/chart-card.tsx
-var E6 = `${cO({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var E6 = `${tO({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
function D6({ title: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
className: E6,
@@ -86125,7 +86162,7 @@ function K6e({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, x.jsx)(xD, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, x.jsx)(mD, { "aria-hidden": !0 })
}) : null]
});
}
@@ -86339,15 +86376,15 @@ var c8e = [
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
function u8e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
- let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = WEe(t);
+ let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = qEe(t);
if (!c.length) return /* @__PURE__ */ (0, x.jsx)(D6, {
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 = GEe(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 = JEe(c.map((e) => e.value)), m = c.map((e, t) => ({
slice: P6(t),
value: e.value,
- arc: KEe(e.value, p)
+ arc: YEe(e.value, p)
}));
return /* @__PURE__ */ (0, x.jsxs)("section", {
className: E6,
@@ -86358,7 +86395,7 @@ function u8e({ 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)(kO, { mark: d.mark }) : null, d ? d.name : e]
+ children: [d?.mark ? /* @__PURE__ */ (0, x.jsx)(SO, { 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()
@@ -86381,7 +86418,7 @@ function u8e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, x.jsx)(V6.RadialBar, {
dataKey: "arc",
- barSize: qEe(c.length),
+ barSize: XEe(c.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, x.jsx)(Fq, {
...e,
@@ -86417,7 +86454,7 @@ function u8e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
className: `mt-0.5 size-3 shrink-0 rounded-sm ${c8e[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)(kO, { mark: e.mark }) : null, e.name]
+ children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(SO, { mark: e.mark }) : null, e.name]
})]
}),
/* @__PURE__ */ (0, x.jsx)("b", {
@@ -86426,7 +86463,7 @@ function u8e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
}),
e.bytes == null ? null : /* @__PURE__ */ (0, x.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: Wt(e.bytes)
+ children: Ht(e.bytes)
})
]
}, P6(t)))
@@ -86436,7 +86473,7 @@ function u8e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var d8e = 10, H6 = M6[5], f8e = M6[4], p8e = `${cO()} flex flex-col gap-4`, U6 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", m8e = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", h8e = "开始播放后,这里会显示最近的真实观看证据。", g8e = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", _8e = "添加媒体文件夹后,这里会显示存储空间。", v8e = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", y8e = "探测时长后,这里会显示时长分布。", b8e = "探测画质后,这里会显示画质分布。", x8e = "开始播放后,这里会显示播放落在一周的哪些时段。", S8e = "开始播放后,这里会显示每个作品播了几次。", W6 = (e, t) => Math.min(Math.max(e, 0), t);
+var d8e = 10, H6 = M6[5], f8e = M6[4], p8e = `${tO()} flex flex-col gap-4`, U6 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", m8e = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", h8e = "开始播放后,这里会显示最近的真实观看证据。", g8e = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", _8e = "添加媒体文件夹后,这里会显示存储空间。", v8e = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", y8e = "探测时长后,这里会显示时长分布。", b8e = "探测画质后,这里会显示画质分布。", x8e = "开始播放后,这里会显示播放落在一周的哪些时段。", S8e = "开始播放后,这里会显示每个作品播了几次。", W6 = (e, t) => Math.min(Math.max(e, 0), t);
function G6({ 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",
@@ -86445,7 +86482,7 @@ function G6({ term: e, value: t }) {
children: e
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-title-3-medium tabular-nums text-text-primary",
- children: RL(t)
+ children: PL(t)
})]
});
}
@@ -86457,14 +86494,14 @@ function K6({ 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: [RL(t), LL(t) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [PL(t), NL(t) ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: zL(t, n)
+ children: FL(t, n)
}) : null]
})]
- }), /* @__PURE__ */ (0, x.jsx)(pO, {
- label: `${e}:${RL(t)} / ${n.toLocaleString()}`,
- value: LL(t) ? W6(t, r) : 0,
+ }), /* @__PURE__ */ (0, x.jsx)(oO, {
+ label: `${e}:${PL(t)} / ${n.toLocaleString()}`,
+ value: NL(t) ? W6(t, r) : 0,
max: r
})]
});
@@ -86506,10 +86543,10 @@ function C8e({ data: e, configurable: t, openMediaSettings: n }) {
title: "网盘与本地",
empty: U6,
rows: e.by_loc.map((e) => ({
- name: Xt[e.k] ?? e.k,
+ name: Jt[e.k] ?? e.k,
value: e.videos,
bytes: e.bytes,
- mark: qa[e.k] || "database"
+ mark: Ka[e.k] || "database"
}))
}), /* @__PURE__ */ (0, x.jsx)(u8e, {
title: "媒体库",
@@ -86518,7 +86555,7 @@ function C8e({ data: e, configurable: t, openMediaSettings: n }) {
name: e.name,
value: e.videos,
bytes: e.bytes,
- mark: qa[e.icon] || e.icon || "database"
+ mark: Ka[e.icon] || e.icon || "database"
}))
})]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -86529,7 +86566,7 @@ function C8e({ data: e, configurable: t, openMediaSettings: n }) {
unit: "个视频",
series: "视频",
color: H6,
- rows: QEe(e.by_length),
+ rows: tDe(e.by_length),
empty: y8e
}),
/* @__PURE__ */ (0, x.jsx)(L6, {
@@ -86537,7 +86574,7 @@ function C8e({ data: e, configurable: t, openMediaSettings: n }) {
unit: "个视频",
series: "视频",
color: H6,
- rows: ZEe(e.by_quality),
+ rows: eDe(e.by_quality),
empty: b8e
}),
/* @__PURE__ */ (0, x.jsx)(L6, {
@@ -86546,20 +86583,20 @@ function C8e({ data: e, configurable: t, openMediaSettings: n }) {
series: "条目",
color: H6,
layout: "horizontal",
- rows: YEe(e.by_medium),
+ rows: QEe(e.by_medium),
empty: U6
})
]
})]
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: Yde,
+ icon: tfe,
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)(sO, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(eO, {
variant: "secondary",
href: "/follow-manage?tab=add",
size: "small",
@@ -86585,7 +86622,7 @@ function w8e({ data: e }) {
unit: "个作品",
series: "作品",
color: f8e,
- rows: eDe(e.replays),
+ rows: rDe(e.replays),
empty: S8e
})] });
}
@@ -86637,13 +86674,13 @@ function E8e({ volume: e }) {
children: e.online ? "容量未取得" : "离线"
}) : /* @__PURE__ */ (0, x.jsxs)("b", {
className: "whitespace-nowrap tabular-nums",
- children: [Wt(n), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [Ht(n), /* @__PURE__ */ (0, x.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: zL(n, t)
+ children: FL(n, t)
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, x.jsx)(pO, {
+ t == null ? null : /* @__PURE__ */ (0, x.jsx)(oO, {
label: `${e.label}空间使用率`,
value: W6(n, Math.max(t, 1)),
max: Math.max(t, 1)
@@ -86655,7 +86692,7 @@ function E8e({ volume: e }) {
children: e.root ?? "未映射"
}), t == null ? null : /* @__PURE__ */ (0, x.jsx)("span", {
className: "whitespace-nowrap tabular-nums",
- children: `可用 ${Wt(e.free ?? 0)} · 共 ${Wt(t)}`
+ children: `可用 ${Ht(e.free ?? 0)} · 共 ${Ht(t)}`
})]
})
]
@@ -86665,9 +86702,9 @@ function D8e({ 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)(E8e, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: kD,
+ icon: SD,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
@@ -86703,11 +86740,11 @@ function O8e({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, `${e.k}:${r}`))
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: jD,
+ icon: wD,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, x.jsx)(sO, {
+ actions: /* @__PURE__ */ (0, x.jsx)(eO, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
@@ -86720,7 +86757,7 @@ function k8e({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = BEe(e);
+ let t = UEe(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", {
@@ -86728,7 +86765,7 @@ function k8e({ 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: UEe(e),
+ href: KEe(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
@@ -86738,25 +86775,25 @@ function k8e({ 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: HEe(e) })]
+ }) : null, /* @__PURE__ */ (0, x.jsx)("span", { children: GEe(e) })]
})]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, x.jsx)(pO, {
+ children: [/* @__PURE__ */ (0, x.jsx)(oO, {
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)}% · 到达 ${VEe(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${WEe(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: AD,
+ icon: CD,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, x.jsx)(sO, {
+ actions: /* @__PURE__ */ (0, x.jsx)(eO, {
variant: "secondary",
href: "/",
size: "small",
@@ -86784,7 +86821,7 @@ function A8e({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, x.jsx)(pO, {
+ /* @__PURE__ */ (0, x.jsx)(oO, {
label: `${e.k} 覆盖视频`,
value: W6(e.assets, Math.max(t, 1)),
max: Math.max(t, 1)
@@ -86795,11 +86832,11 @@ function A8e({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: jD,
+ icon: wD,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, x.jsx)(sO, {
+ actions: /* @__PURE__ */ (0, x.jsx)(eO, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
@@ -86809,13 +86846,13 @@ function A8e({ sources: e, videos: t }) {
});
}
function Y6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, x.jsx)(lj, {
+ return /* @__PURE__ */ (0, x.jsx)(ij, {
id: e,
- className: VM({
+ className: LM({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, x.jsx)(GM, {
+ children: /* @__PURE__ */ (0, x.jsx)(VM, {
label: t,
icon: i,
accent: a,
@@ -86825,49 +86862,49 @@ function Y6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
});
}
function j8e(e) {
- let t = ft({
- queryKey: FEe,
- queryFn: ({ signal: e }) => IEe(e)
+ let t = ut({
+ queryKey: REe,
+ queryFn: ({ signal: e }) => zEe(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, x.jsx)(dO, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!n) return /* @__PURE__ */ (0, x.jsx)(iO, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? z(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = LL(n.tag_cov) ? zL(n.tag_cov, n.attribution.videos) : "未取得", c = `${RL(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
- return /* @__PURE__ */ (0, x.jsxs)(dO, { 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 = NL(n.tag_cov) ? FL(n.tag_cov, n.attribution.videos) : "未取得", c = `${PL(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
+ return /* @__PURE__ */ (0, x.jsxs)(iO, { children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
- children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${Wt(o)}`
+ children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${Ht(o)}`
}),
- /* @__PURE__ */ (0, x.jsxs)(sj, {
+ /* @__PURE__ */ (0, x.jsxs)(nj, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsxs)(cj, {
+ /* @__PURE__ */ (0, x.jsxs)(rj, {
"aria-label": "统计视图",
- className: HM,
+ className: RM,
children: [
/* @__PURE__ */ (0, x.jsx)(Y6, {
id: "inventory",
label: "馆藏视频",
- icon: ED,
+ icon: yD,
accent: 0,
figure: a.toLocaleString(),
- detail: Wt(o)
+ detail: Ht(o)
}),
/* @__PURE__ */ (0, x.jsx)(Y6, {
id: "viewing",
label: "看过",
- icon: Ode,
+ icon: Pde,
accent: 1,
- figure: RL(r.played),
- detail: zEe(r.play_seconds)
+ figure: PL(r.played),
+ detail: HEe(r.play_seconds)
}),
/* @__PURE__ */ (0, x.jsx)(Y6, {
id: "coverage",
label: "内容标签",
- icon: jD,
+ icon: wD,
accent: 2,
figure: s,
detail: c
@@ -86875,27 +86912,27 @@ function j8e(e) {
/* @__PURE__ */ (0, x.jsx)(Y6, {
id: "storage",
label: "使用空间",
- icon: kD,
+ icon: SD,
accent: 3,
figure: `${i.online.toLocaleString()} 个卷`,
- detail: i.measured ? `已用 ${Wt(i.used)}` : "容量未取得"
+ detail: i.measured ? `已用 ${Ht(i.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(uj, {
+ /* @__PURE__ */ (0, x.jsx)(aj, {
id: "inventory",
children: /* @__PURE__ */ (0, x.jsx)(C8e, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, x.jsxs)(uj, {
+ /* @__PURE__ */ (0, x.jsxs)(aj, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, x.jsx)(J6, {
headline: /* @__PURE__ */ (0, x.jsx)(q6, {
term: "观看",
- figure: RL(r.played),
+ figure: PL(r.played),
unit: "个作品有播放记录"
}),
children: /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -86937,7 +86974,7 @@ function j8e(e) {
})
}), /* @__PURE__ */ (0, x.jsx)(w8e, { data: n })]
}),
- /* @__PURE__ */ (0, x.jsx)(uj, {
+ /* @__PURE__ */ (0, x.jsx)(aj, {
id: "coverage",
children: /* @__PURE__ */ (0, x.jsx)(J6, {
headline: /* @__PURE__ */ (0, x.jsx)(q6, {
@@ -86948,7 +86985,7 @@ function j8e(e) {
children: /* @__PURE__ */ (0, x.jsx)(T8e, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, x.jsx)(uj, {
+ /* @__PURE__ */ (0, x.jsx)(aj, {
id: "storage",
children: /* @__PURE__ */ (0, x.jsx)(J6, {
headline: /* @__PURE__ */ (0, x.jsx)(q6, {
@@ -86964,35 +87001,35 @@ function j8e(e) {
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(sj, {
+ /* @__PURE__ */ (0, x.jsxs)(nj, {
defaultSelectedKey: "tags",
- className: `${cO({ padding: "none" })} flex flex-col`,
+ className: `${tO({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, x.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, x.jsxs)(fj, {
+ children: /* @__PURE__ */ (0, x.jsxs)(sj, {
"aria-label": "统计维度",
- className: mj,
+ className: lj,
children: [
- /* @__PURE__ */ (0, x.jsx)(lj, {
+ /* @__PURE__ */ (0, x.jsx)(ij, {
id: "tags",
- className: hj,
+ className: uj,
children: "内容标签"
}),
- /* @__PURE__ */ (0, x.jsx)(lj, {
+ /* @__PURE__ */ (0, x.jsx)(ij, {
id: "recent",
- className: hj,
+ className: uj,
children: "最近看过"
}),
- /* @__PURE__ */ (0, x.jsx)(lj, {
+ /* @__PURE__ */ (0, x.jsx)(ij, {
id: "sources",
- className: hj,
+ className: uj,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, x.jsx)(uj, {
+ /* @__PURE__ */ (0, x.jsx)(aj, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, x.jsx)(O8e, {
@@ -87000,12 +87037,12 @@ function j8e(e) {
...e
})
}),
- /* @__PURE__ */ (0, x.jsx)(uj, {
+ /* @__PURE__ */ (0, x.jsx)(aj, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, x.jsx)(k8e, { rows: n.recent })
}),
- /* @__PURE__ */ (0, x.jsx)(uj, {
+ /* @__PURE__ */ (0, x.jsx)(aj, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, x.jsx)(A8e, {
@@ -87461,7 +87498,7 @@ var a5e = [
"min-h-64"
], l5e = 26, u5e = { radius: s5e.value }, d5e = (e, t) => Math.sqrt(e / t);
function f5e({ rows: e, label: t }) {
- let n = bDe(e);
+ let n = CDe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
@@ -87493,7 +87530,7 @@ function f5e({ rows: e, label: t }) {
});
}
function p5e({ rows: e, label: t }) {
- let n = yDe(e, 8);
+ let n = SDe(e, 8);
return n.length ? /* @__PURE__ */ (0, x.jsx)("section", {
"aria-label": t,
className: `flex grow flex-col ${c5e[n.length]}`,
@@ -87537,7 +87574,7 @@ function p5e({ rows: e, label: t }) {
}) : null;
}
function m5e({ flows: e }) {
- let [t, n] = (0, b.useState)(null), r = EDe(e);
+ let [t, n] = (0, b.useState)(null), r = kDe(e);
if (!r) return null;
let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;
return /* @__PURE__ */ (0, x.jsxs)("section", {
@@ -87565,7 +87602,7 @@ function m5e({ flows: e }) {
/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 max-sm:hidden",
children: /* @__PURE__ */ (0, x.jsxs)("svg", {
- viewBox: `0 0 ${xDe.width} ${r.height}`,
+ viewBox: `0 0 ${wDe.width} ${r.height}`,
fill: "none",
role: "img",
"aria-label": "来源网站与创作者线索",
@@ -87615,13 +87652,13 @@ function m5e({ flows: e }) {
rx: 5,
className: e.side === "source" ? o5e[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, x.jsxs)("text", {
- x: SDe[e.side],
+ x: TDe[e.side],
y: e.y + e.height / 2,
textAnchor: e.side === "source" ? "end" : "start",
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
- children: [DDe(e.name), /* @__PURE__ */ (0, x.jsx)("tspan", {
- x: SDe[e.side],
+ children: [ADe(e.name), /* @__PURE__ */ (0, x.jsx)("tspan", {
+ x: TDe[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
})]
@@ -87638,11 +87675,11 @@ function m5e({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var h5e = 10, g5e = nO(JM, YM, "text-body-2-medium"), $6 = `${cO()} flex flex-col gap-4`, e8 = "rounded-xl bg-background-primary-default p-3", _5e = "读取运行 Peach 的这台电脑上的浏览记录", v5e = "导入或读取浏览记录后,这里会列出已采集设备。", y5e = "馆藏里暂时没有对得上浏览信号的标签。", b5e = "采集浏览记录后,这里会显示聚合后的口味证据。", x5e = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", S5e = "采集浏览记录后,这里会列出浏览过的标签。", C5e = "采集浏览记录后,这里会列出浏览过的创作者。", w5e = "采集浏览记录后,这里会列出常访问的网站。", T5e = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", E5e = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", D5e = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", O5e = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", k5e = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", A5e = "需要刷新时再次读取或导入;数据源可在页面底部移除。", j5e = "这个数据源将不再用于口味分析。原始导出文件保留。", M5e = "peach-taste-guide-dismissed";
+var h5e = 10, g5e = YD(WM, GM, "text-body-2-medium"), $6 = `${tO()} flex flex-col gap-4`, e8 = "rounded-xl bg-background-primary-default p-3", _5e = "读取运行 Peach 的这台电脑上的浏览记录", v5e = "导入或读取浏览记录后,这里会列出已采集设备。", y5e = "馆藏里暂时没有对得上浏览信号的标签。", b5e = "采集浏览记录后,这里会显示聚合后的口味证据。", x5e = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", S5e = "采集浏览记录后,这里会列出浏览过的标签。", C5e = "采集浏览记录后,这里会列出浏览过的创作者。", w5e = "采集浏览记录后,这里会列出常访问的网站。", T5e = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", E5e = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", D5e = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", O5e = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", k5e = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", A5e = "需要刷新时再次读取或导入;数据源可在页面底部移除。", j5e = "这个数据源将不再用于口味分析。原始导出文件保留。", M5e = "peach-taste-guide-dismissed";
function t8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: VM(),
- children: /* @__PURE__ */ (0, x.jsx)(GM, {
+ className: LM(),
+ children: /* @__PURE__ */ (0, x.jsx)(VM, {
label: t,
icon: e,
accent: i,
@@ -87654,8 +87691,8 @@ function t8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
function N5e({ name: e, domain: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",
- children: [Jt(e).toUpperCase(), /* @__PURE__ */ (0, x.jsx)("img", {
- src: Pt({ domain: t }),
+ children: [Kt(e).toUpperCase(), /* @__PURE__ */ (0, x.jsx)("img", {
+ src: Mt({ domain: t }),
alt: "",
loading: "lazy",
width: 20,
@@ -87667,18 +87704,18 @@ function N5e({ name: e, domain: t }) {
}
function P5e({ 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 ${WI}`,
+ 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 ${VI}`,
dangerouslySetInnerHTML: { __html: e }
});
}
function F5e({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
- if (!e.length) return /* @__PURE__ */ (0, x.jsx)(lO, {
+ if (!e.length) return /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: ND,
+ icon: ED,
title: "暂无足够证据",
children: r
});
- let a = vDe(e);
+ let a = xDe(e);
return /* @__PURE__ */ (0, x.jsx)(K6e, {
previewCount: h5e,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
@@ -87721,10 +87758,10 @@ function F5e({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: e.name
}), /* @__PURE__ */ (0, x.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: _De(e)
+ children: bDe(e)
})]
}),
- o ? /* @__PURE__ */ (0, x.jsx)(CD, {
+ o ? /* @__PURE__ */ (0, x.jsx)(gD, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -87745,20 +87782,20 @@ function F5e({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
});
}
function I5e({ label: e, panels: t, onSignal: n }) {
- return /* @__PURE__ */ (0, x.jsxs)(sj, {
- className: `${cO({ padding: "none" })} flex flex-col`,
+ return /* @__PURE__ */ (0, x.jsxs)(nj, {
+ className: `${tO({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, x.jsx)(fj, {
+ children: /* @__PURE__ */ (0, x.jsx)(sj, {
"aria-label": e,
- className: mj,
- children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(lj, {
+ className: lj,
+ children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(ij, {
id: e.id,
- className: hj,
+ className: uj,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(uj, {
+ }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(aj, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, x.jsx)(F5e, {
@@ -87837,14 +87874,14 @@ function L5e({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular wrap-anywhere text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, x.jsx)(CD, {
+ }), /* @__PURE__ */ (0, x.jsx)(gD, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: ND,
+ icon: ED,
title: "还没有可探索的入口",
children: y5e
})
@@ -87860,11 +87897,11 @@ function R5e({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, x.jsx)("div", {
- className: cO({
+ className: tO({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, x.jsxs)(OO, {
+ children: /* @__PURE__ */ (0, x.jsxs)(xO, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
@@ -87933,7 +87970,7 @@ function z5e({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: TD,
+ leadingIcon: vD,
title: _5e,
onClick: t,
...q(e),
@@ -87941,7 +87978,7 @@ function z5e({ busy: e, onRefresh: t, onImport: n }) {
}), /* @__PURE__ */ (0, x.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: xD,
+ leadingIcon: mD,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
@@ -87950,21 +87987,21 @@ function z5e({ busy: e, onRefresh: t, onImport: n }) {
e || a(!0);
}
})]
- }), /* @__PURE__ */ (0, x.jsx)(mA, {
+ }), /* @__PURE__ */ (0, x.jsx)(lA, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: qM,
- children: /* @__PURE__ */ (0, x.jsxs)(KM, {
+ className: UM,
+ children: /* @__PURE__ */ (0, x.jsxs)(HM, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
className: g5e,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, x.jsx)(TD, {
+ children: [/* @__PURE__ */ (0, x.jsx)(vD, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -87972,7 +88009,7 @@ function z5e({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: g5e,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, x.jsx)(qde, {
+ children: [/* @__PURE__ */ (0, x.jsx)($de, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -87981,10 +88018,10 @@ function z5e({ busy: e, onRefresh: t, onImport: n }) {
})] });
}
function B5e({ sources: e, window: t, toast: n }) {
- let r = pt({
- mutationFn: (e) => uDe(e, t),
+ let r = dt({
+ mutationFn: (e) => pDe(e, t),
onSuccess: (e) => {
- H.setQueryData(BL(t), e.dashboard), n("已移除口味数据源");
+ V.setQueryData(IL(t), e.dashboard), n("已移除口味数据源");
}
});
return /* @__PURE__ */ (0, x.jsxs)("section", {
@@ -88006,10 +88043,10 @@ function B5e({ 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)(qde, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, x.jsx)($de, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, x.jsx)(ED, {
+ }) : /* @__PURE__ */ (0, x.jsx)(yD, {
"aria-hidden": !0,
className: "size-4"
})
@@ -88030,10 +88067,10 @@ function B5e({ sources: e, window: t, toast: n }) {
"aria-label": `移除 ${e.profile}`,
className: "shrink-0",
iconOnly: !0,
- leadingIcon: DD,
+ leadingIcon: bD,
...q(r.isPending),
onClick: () => {
- r.isPending || cs({
+ r.isPending || os({
title: "移除口味数据源",
body: j5e,
confirmLabel: "移除口味数据源",
@@ -88043,9 +88080,9 @@ function B5e({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: ED,
+ icon: yD,
title: "还没有数据源",
children: v5e
})
@@ -88053,22 +88090,22 @@ function B5e({ sources: e, window: t, toast: n }) {
});
}
function V5e(e) {
- let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, b.useState)("all"), [s, c] = (0, b.useState)("browser"), l = (0, b.useRef)(null), u = ft({
- queryKey: BL(a),
- queryFn: ({ signal: e }) => VL(a, e),
+ let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, b.useState)("all"), [s, c] = (0, b.useState)("browser"), l = (0, b.useRef)(null), u = ut({
+ queryKey: IL(a),
+ queryFn: ({ signal: e }) => LL(a, e),
placeholderData: de
- }), { job: d, running: f, outcome: p, start: m } = TN({
- queryKey: aDe,
- queryFn: ({ signal: e }) => sDe(e),
- start: () => lDe(a),
- idlePollMs: fDe,
+ }), { job: d, running: f, outcome: p, start: m } = SN({
+ queryKey: cDe,
+ queryFn: ({ signal: e }) => uDe(e),
+ start: () => fDe(a),
+ idlePollMs: hDe,
onFinish: (e) => {
- e.status !== "failed" && (H.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
+ e.status !== "failed" && (V.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
- }), h = pt({
- mutationFn: (e) => dDe(e),
+ }), h = dt({
+ mutationFn: (e) => mDe(e),
onSuccess: (e) => {
- H.setQueryData(BL("all"), e.dashboard), o("all"), r("已导入口味数据");
+ V.setQueryData(IL("all"), e.dashboard), o("all"), r("已导入口味数据");
}
}), g = (e) => {
let t = e.currentTarget.files?.[0];
@@ -88076,42 +88113,42 @@ function V5e(e) {
}, _ = () => {
f || m.isPending || (m.reset(), m.mutate());
}, v = u.data;
- if (!v) return /* @__PURE__ */ (0, x.jsx)(dO, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!v) return /* @__PURE__ */ (0, x.jsx)(iO, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "口味分析读取失败",
children: u.error ? z(u.error) : "读取口味分析失败"
}) });
- let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = hDe(C.browser_categories || []), E = bDe(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? z(m.error) : h.error ? z(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, x.jsxs)(dO, { children: [
- /* @__PURE__ */ (0, x.jsxs)(sj, {
+ let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = vDe(C.browser_categories || []), E = CDe(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? z(m.error) : h.error ? z(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
+ return /* @__PURE__ */ (0, x.jsxs)(iO, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(nj, {
selectedKey: s,
onSelectionChange: (e) => c(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, x.jsxs)(fj, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(sj, {
"aria-label": "口味证据来源",
- className: mj,
- children: [/* @__PURE__ */ (0, x.jsx)(lj, {
+ className: lj,
+ children: [/* @__PURE__ */ (0, x.jsx)(ij, {
id: "browser",
- className: hj,
+ className: uj,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, x.jsx)(lj, {
+ }), /* @__PURE__ */ (0, x.jsx)(ij, {
id: "peach",
- className: hj,
+ className: uj,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(SN, {
+ /* @__PURE__ */ (0, x.jsx)(yN, {
"aria-label": "分析范围",
selectedKey: a,
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: oDe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(CN, {
+ children: lDe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(bN, {
id: e,
children: t
}, e))
@@ -88140,51 +88177,51 @@ function V5e(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- f ? /* @__PURE__ */ (0, x.jsx)(vN, {
+ f ? /* @__PURE__ */ (0, x.jsx)(hN, {
label: d?.message || "正在读取浏览记录并更新口味分析",
value: d?.checked,
total: d?.total
}) : null,
- h.isPending ? /* @__PURE__ */ (0, x.jsx)(vN, { label: "正在导入历史文件" }) : null,
+ h.isPending ? /* @__PURE__ */ (0, x.jsx)(hN, { label: "正在导入历史文件" }) : null,
A ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: A
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(uj, {
+ /* @__PURE__ */ (0, x.jsxs)(aj, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: HM,
+ className: RM,
children: [
/* @__PURE__ */ (0, x.jsx)(t8, {
accent: 0,
- icon: AD,
+ icon: CD,
term: "浏览记录",
figure: Number(y.history_visits || 0).toLocaleString(),
- detail: pDe(y)
+ detail: gDe(y)
}),
/* @__PURE__ */ (0, x.jsx)(t8, {
accent: 1,
- icon: jD,
+ icon: wD,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, x.jsx)(t8, {
accent: 2,
- icon: ND,
+ icon: ED,
term: "浏览候选",
figure: D.length.toLocaleString()
}),
/* @__PURE__ */ (0, x.jsx)(t8, {
accent: 3,
- icon: ED,
+ icon: yD,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
- detail: Wt(w.bytes || 0)
+ detail: Ht(w.bytes || 0)
})
]
}),
@@ -88204,7 +88241,7 @@ function V5e(e) {
}) : null,
/* @__PURE__ */ (0, x.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: v.updated_at ? `更新于 ${HL(v.updated_at)}` : "尚未采集浏览记录"
+ children: v.updated_at ? `更新于 ${RL(v.updated_at)}` : "尚未采集浏览记录"
})
]
}), /* @__PURE__ */ (0, x.jsx)("div", {
@@ -88212,9 +88249,9 @@ function V5e(e) {
children: T.length ? /* @__PURE__ */ (0, x.jsx)(p5e, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, x.jsx)(lO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(nO, {
shell: "plain",
- icon: ND,
+ icon: ED,
title: "暂无口味维度",
children: b5e
})
@@ -88281,35 +88318,35 @@ function V5e(e) {
})
]
}),
- /* @__PURE__ */ (0, x.jsxs)(uj, {
+ /* @__PURE__ */ (0, x.jsxs)(aj, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: HM,
+ className: RM,
children: [
/* @__PURE__ */ (0, x.jsx)(t8, {
accent: 0,
- icon: Ode,
+ icon: Pde,
term: "Peach 看过",
figure: Number(y.peach_items || 0).toLocaleString(),
- detail: mDe(y.peach_seconds || 0)
+ detail: _De(y.peach_seconds || 0)
}),
/* @__PURE__ */ (0, x.jsx)(t8, {
accent: 1,
- icon: Kde,
+ icon: Qde,
term: "喜欢",
figure: Number(y.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, x.jsx)(t8, {
accent: 2,
- icon: Gde,
+ icon: Zde,
term: "不合口味",
figure: Number(y.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, x.jsx)(t8, {
accent: 3,
- icon: jD,
+ icon: wD,
term: "有标签",
figure: O.toLocaleString()
})
@@ -88412,7 +88449,7 @@ function H5e({ term: e, value: t, rest: n }) {
children: `${n.toLocaleString()} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, x.jsx)(pO, {
+ }), /* @__PURE__ */ (0, x.jsx)(oO, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -89632,10 +89669,10 @@ function R9e() {
}
function z9e({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)(w, {
- client: H,
- children: /* @__PURE__ */ (0, x.jsx)(ane, {
+ client: V,
+ children: /* @__PURE__ */ (0, x.jsx)(one, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, x.jsx)(Xb, {
+ children: /* @__PURE__ */ (0, x.jsx)(Jb, {
getContainer: R9e,
children: e
})
@@ -89644,9 +89681,9 @@ function z9e({ children: e }) {
}
//#endregion
//#region src/react/router/pages/overlay.tsx
-var B9e = () => Dc, V9e = () => Oc;
+var B9e = () => wc, V9e = () => Tc;
function H9e() {
- let e = (0, b.useContext)(i5), t = (0, b.useSyncExternalStore)(Rc, V9e), n = (0, b.useSyncExternalStore)(Rc, B9e);
+ let e = (0, b.useContext)(i5), t = (0, b.useSyncExternalStore)(Fc, V9e), n = (0, b.useSyncExternalStore)(Fc, B9e);
return (0, b.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -89662,10 +89699,10 @@ function H9e() {
]), null;
}
function n5(e, t = !1) {
- let n = (0, b.useSyncExternalStore)(Rc, B9e), r = (0, b.useRef)(void 0);
+ let n = (0, b.useSyncExternalStore)(Fc, B9e), r = (0, b.useRef)(void 0);
if (r.current === void 0) {
let { claimed: e } = Z8.navigation;
- r.current = Dc === 0 || $8() ? "boot" : e && !t ? null : "history";
+ r.current = wc === 0 || $8() ? "boot" : e && !t ? null : "history";
}
let i = (0, b.useRef)(e);
(0, b.useEffect)(() => {
@@ -89712,7 +89749,7 @@ var q9e = (0, b.createContext)(0), r5 = () => (0, b.useContext)(q9e), i5 = (0, b
function J9e({ children: e }) {
let [t, n] = (0, b.useState)(() => Z8.navigation);
return (0, b.useLayoutEffect)(() => (n(Z8.navigation), Z8.listen((e) => {
- (0, ht.flushSync)(() => n(e));
+ (0, pt.flushSync)(() => n(e));
})), []), /* @__PURE__ */ (0, x.jsx)(q9e.Provider, {
value: t.openEpoch,
children: /* @__PURE__ */ (0, x.jsx)(b9e, {
@@ -89736,7 +89773,7 @@ function X9e(e, t, n) {
function Z9e() {
let e = (0, b.useContext)(i5), [t, n] = (0, b.useState)(z8), r = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => (n(z8()), N9e((e, t) => {
- t ? (0, ht.flushSync)(() => n(e)) : n(e);
+ t ? (0, pt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, b.useMemo)(() => (t) => {
e && r.current && X9e(t, e, r.current);
@@ -89762,7 +89799,7 @@ var Q9e = class extends b.Component {
return this.state.failed ? null : this.props.children;
}
}, $9e = (0, b.memo)(function({ entry: e, actions: t, go: n }) {
- return ytt(e.path) ? (0, ht.createPortal)(Stt(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+ return ytt(e.path) ? (0, pt.createPortal)(Stt(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
function eet({ children: e }) {
let t = x8();
@@ -89901,7 +89938,7 @@ function det(e, t) {
category: n.get("category") || "all"
};
}
-var o5 = (e, t, n) => to(e.map(([e, t, n]) => ({
+var o5 = (e, t, n) => $a(e.map(([e, t, n]) => ({
value: e,
label: t,
symbol: n
@@ -89912,21 +89949,18 @@ var o5 = (e, t, n) => to(e.map(([e, t, n]) => ({
}), fet = (e) => `<div class="board-filter-frame" data-filter-frame>
<div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div>
<div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>
- ${Qo("tag-view", "标签视图", cet, e)}</div></div>`;
+ ${Xo("tag-view", "标签视图", cet, e)}</div></div>`;
function pet({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = a5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? Qo("people-layout", o + "索引版式", c ? iet : ret, a) : "";
- return `<div class="ihead">
+ let o = a5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? Xo("people-layout", o + "索引版式", c ? iet : ret, a) : "";
+ return `<div class="ihead peach-react">
<h2 class="disp indexheading">${o}</h2>
${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}
- ${$a({
- label: "过滤" + o,
- value: t || ""
- })}
+ <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">${JM("", t, "过滤" + o)}</div>
</div>
${e === "tags" ? o5(oet, n, "词表") : e === "performers" || e === "creators" ? o5(set, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? o5(aet, e, "公司类型") : ""}
${e === "tags" ? fet(r) : ""}
- ${e === "performers" && n !== "online" ? _xe(i) : ""}
- ${go({
+ ${e === "performers" && n !== "online" ? bxe(i) : ""}
+ ${mo({
kind: e,
layout: a,
mode: r
@@ -89935,13 +89969,13 @@ function pet({ kind: e, q: t, scope: n, view: r, category: i }, a) {
var met = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
function het(e, t, n) {
let r = pet(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== met(r) && (e.innerHTML = r, Co(e));
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== met(r) && (e.innerHTML = r, xo(e));
}
//#endregion
//#region src/react/router/pages/index-entity.tsx
-var get = () => Dc, _et = () => fc, s5 = () => document.getElementById("index");
+var get = () => wc, _et = () => lc, s5 = () => document.getElementById("index");
function c5(e, t, n = {}) {
- let r = (0, b.useSyncExternalStore)(Rc, get);
+ let r = (0, b.useSyncExternalStore)(Fc, get);
x8();
let i = E8(Z8.navigation.location.pathname), a = (0, b.useRef)({
mounted: !0,
@@ -89967,8 +90001,8 @@ function c5(e, t, n = {}) {
r !== 0 && queueMicrotask(() => {
let t = a.current;
if (!t.mounted) return;
- let n = t.epoch !== e || t.opens !== Dc, r = t.opens !== Dc;
- if (t.epoch = e, t.opens = Dc, E8(Z8.navigation.location.pathname)) {
+ let n = t.epoch !== e || t.opens !== wc, r = t.opens !== wc;
+ if (t.epoch = e, t.opens = wc, E8(Z8.navigation.location.pathname)) {
n && o.current.options.onCovered?.();
return;
}
@@ -89994,11 +90028,11 @@ async function vet(e, t, n, r) {
if (!i) return;
let a = `/${t}`;
e.surfaceChanged("index", a);
- let o = det(t, n), s = uet(Nw().value.peopleLayout);
+ let o = det(t, n), s = uet(jw().value.peopleLayout);
het(i, o, s), await V8(a, {
...o,
layout: s,
- selectMode: fc,
+ selectMode: lc,
configurable: !!e.configurable?.()
}, {
container: i,
@@ -90016,7 +90050,7 @@ function bet({ epoch: e }) {
}, { shown: () => yet(`/${r}`) }), null;
}
function xet() {
- let e = r5(), t = (0, b.useSyncExternalStore)(Rc, _et), n = (0, b.useRef)(t);
+ let e = r5(), t = (0, b.useSyncExternalStore)(Fc, _et), n = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
n.current !== t && (n.current = t, window.location.pathname === "/tags" && H8(s5(), { selectMode: t }));
}, [t]), /* @__PURE__ */ (0, x.jsx)(bet, { epoch: e }, e);
@@ -90028,7 +90062,7 @@ function Cet(e) {
} catch {
return null;
}
- let [n = "", ...r] = t.split("/").filter(Boolean), i = Object.hasOwn(Dt, n) ? Dt[n] : void 0, a = r.join("/");
+ let [n = "", ...r] = t.split("/").filter(Boolean), i = Object.hasOwn(Tt, n) ? Tt[n] : void 0, a = r.join("/");
return i && a ? {
segment: n,
kind: i,
@@ -90058,7 +90092,7 @@ async function Det(e, t, n, r, i, a) {
if (!o) return;
let { segment: s, kind: c, name: l } = n;
if (e.surfaceChanged("entity", r), await t.loading(c, l, a), !a()) return;
- Ic({ entityJavLayout: !1 });
+ Nc({ entityJavLayout: !1 });
let u = document.createElement("template");
u.innerHTML = "<div data-entity-hero><div class=\"peach-react\"></div></div>\n <div data-entity-filter><div class=\"peach-react\"></div></div>\n <section class=\"feednew\" data-feed-new aria-label=\"未入库的新作\" hidden></section>\n <div data-entity-body><div class=\"peach-react\"></div></div>";
let d = [...u.content.childNodes], f = u.content.querySelector("[data-entity-hero]"), p = {
@@ -90072,7 +90106,7 @@ async function Det(e, t, n, r, i, a) {
actions: {
...m.actions,
javContext: (e) => {
- Ic({ entityJavLayout: !!e });
+ Nc({ entityJavLayout: !!e });
}
}
};
@@ -90098,7 +90132,7 @@ function ket() {
}
//#endregion
//#region src/react/router/pages/catalog.tsx
-var Aet = () => Dc, jet = Z8.navigation.seq, Met = Z8.navigation.openEpoch, l5 = Z8.navigation.location.pathname, u5 = {
+var Aet = () => wc, jet = Z8.navigation.seq, Met = Z8.navigation.openEpoch, l5 = Z8.navigation.location.pathname, u5 = {
seq: jet,
claimed: !0,
from: l5
@@ -90112,11 +90146,11 @@ Z8.listen((e) => {
});
var d5 = !1;
function Net(e) {
- let { seq: t, openEpoch: n, location: r } = Z8.navigation, i = E8(r.pathname), a = e5() ?? r, o = U ?? {};
+ let { seq: t, openEpoch: n, location: r } = Z8.navigation, i = E8(r.pathname), a = e5() ?? r, o = H ?? {};
return {
seq: t,
epoch: n,
- opens: Dc,
+ opens: wc,
covered: i,
address: `${a.pathname}${a.search}`,
filters: JSON.stringify(o, Object.keys(o).sort()),
@@ -90124,7 +90158,7 @@ function Net(e) {
};
}
function Pet(e, t, n, r) {
- let i = { ...U };
+ let i = { ...H };
if (e === "/trash") return {
...i,
creator: "",
@@ -90134,22 +90168,22 @@ function Pet(e, t, n, r) {
state: "trash",
q: ""
};
- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = Nw().value;
+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = jw().value;
return {
...i,
loc: a.get("loc") ?? r.defaultLoc(),
creator: a.get("creator") || "",
studio: a.get("studio") || "",
owner: a.get("owner") === "none" ? "none" : "",
- tag: en(a.get("tag")),
+ tag: Qt(a.get("tag")),
tag_match: a.get("tag_match") === "any" ? "any" : "all",
len: a.get("len") || "",
dur_min: a.get("dur_min") || "",
dur_max: a.get("dur_max") || "",
orient: a.get("orient") || "",
- state: Ct[e] || a.get("state") || "",
- ...pw(a.get("sort"), a.get("dir"), o, s),
- seed: a.get("seed") || (n ? Qt() : i.seed || Qt()),
+ state: xt[e] || a.get("state") || "",
+ ...dw(a.get("sort"), a.get("dir"), o, s),
+ seed: a.get("seed") || (n ? Xt() : i.seed || Xt()),
q: a.get("q") || "",
jav: a.get("jav") || ""
};
@@ -90174,21 +90208,21 @@ function Fet(e, t) {
}
let { pathname: o, search: s } = Z8.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = cL(s);
- d5 = !0, Q8(lL(e, t), { replace: !0 });
+ let { kind: e, view: t } = aL(s);
+ d5 = !0, Q8(oL(e, t), { replace: !0 });
return;
}
let c = d5;
- d5 = !1, a &&= o === "/", e.opened = !0, Ic({ state: Pet(o, s, a, i) }), i.open(o, {
+ d5 = !1, a &&= o === "/", e.opened = !0, Nc({ state: Pet(o, s, a, i) }), i.open(o, {
entering: a,
retitle: c
});
}
function Iet(e) {
- return Tt(e) || e === "/trash" || E8(e) || e === "/immerse" || !!Cet(e);
+ return Ct(e) || e === "/trash" || E8(e) || e === "/immerse" || !!Cet(e);
}
function Let() {
- let e = (0, b.useContext)(i5), t = r5(), n = (0, b.useSyncExternalStore)(Rc, Aet), r = x8(), i = (0, b.useRef)(null), a = (0, b.useRef)({
+ let e = (0, b.useContext)(i5), t = r5(), n = (0, b.useSyncExternalStore)(Fc, Aet), r = x8(), i = (0, b.useRef)(null), a = (0, b.useRef)({
mounted: !0,
queued: !1
});
@@ -90214,29 +90248,29 @@ function Let() {
]), null;
}
function Ret() {
- let { pathname: e, search: t } = x8(), n = (0, b.useContext)(i5), r = document.getElementById("javLibraryHeader"), i = Tt(e) && new URLSearchParams(t).get("jav") === "1";
+ let { pathname: e, search: t } = x8(), n = (0, b.useContext)(i5), r = document.getElementById("javLibraryHeader"), i = Ct(e) && new URLSearchParams(t).get("jav") === "1";
return (0, b.useLayoutEffect)(() => {
if (r) return r.hidden = !i, () => {
r.hidden = !0;
};
- }, [r, i]), E8(e) && !w9e(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Let, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, ht.createPortal)(/* @__PURE__ */ (0, x.jsx)(XDe, {
+ }, [r, i]), E8(e) && !w9e(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Let, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, pt.createPortal)(/* @__PURE__ */ (0, x.jsx)($De, {
navigate: n.navigate,
receipt: (e) => n.receipt(e)
}), r) : null] });
}
//#endregion
//#region src/react/router/pages/follow.tsx
-var f5 = () => document.getElementById("stats"), zet = () => Nc;
+var f5 = () => document.getElementById("stats"), zet = () => Ac;
function Bet(e) {
let t = document.createElement("div");
- return t.className = "peach-react", po(e, () => {
+ return t.className = "peach-react", uo(e, () => {
e.textContent = "", e.append(t);
}), t;
}
async function Vet(e, t) {
let n = f5(), r = e.follow;
if (!n || !r || r.refresh()) return;
- let i = Mc;
+ let i = kc;
e.surfaceChanged("follow", "/follow"), az(n, r.skeleton()), await V8("/follow", r.props(), {
container: n,
isCurrent: t,
@@ -90274,7 +90308,7 @@ async function Get(e, t) {
followLayout: "",
followSort: "",
followDir: ""
- })), await V8("/playlists", { revision: Nc }, {
+ })), await V8("/playlists", { revision: Ac }, {
container: n,
isCurrent: t
}), t() && window.scrollTo({
@@ -90283,7 +90317,7 @@ async function Get(e, t) {
}));
}
function Ket() {
- let e = (0, b.useContext)(i5), t = (0, b.useSyncExternalStore)(Rc, zet), n = (0, b.useRef)(t);
+ let e = (0, b.useContext)(i5), t = (0, b.useSyncExternalStore)(Fc, zet), n = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
if (n.current === t) return;
n.current = t;
@@ -90317,7 +90351,7 @@ var Xet = [
"list",
"add",
"feeds"
-], Zet = () => Dc > 0, Qet = () => (0, b.useSyncExternalStore)(Rc, Zet), p5 = !1, $et = () => Nw().value.followLayout === "table" ? "table" : "default", m5 = () => new URLSearchParams(window.location.search);
+], Zet = () => wc > 0, Qet = () => (0, b.useSyncExternalStore)(Fc, Zet), p5 = !1, $et = () => jw().value.followLayout === "table" ? "table" : "default", m5 = () => new URLSearchParams(window.location.search);
function ett(e) {
let t = m5();
return rz(e, {
@@ -90327,8 +90361,8 @@ function ett(e) {
});
}
function h5(e) {
- return yt("/healthz", { signal: e.controller.signal }).catch((e) => {
- if (bt(e)) return null;
+ return _t("/healthz", { signal: e.controller.signal }).catch((e) => {
+ if (vt(e)) return null;
throw e;
});
}
@@ -90343,24 +90377,24 @@ async function ntt(e, t) {
if (e === "/jav") {
let e = await h5(t);
return t.live ? {
- tab: fL(m5().get("tab")),
+ tab: cL(m5().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
- if (e === "/stats") return { configurable: !!Tc };
+ if (e === "/stats") return { configurable: !!Sc };
if (e === "/taste") {
- let e = Ec;
- return Ic({ cameFromSetup: !1 }), { onboarding: e };
+ let e = Cc;
+ return Nc({ cameFromSetup: !1 }), { onboarding: e };
}
if (e === "/configuration") {
- window.location.hash === "#peachProxy" && Ic({ configurationRequestedSection: "网络与访问" });
- let e = m5().get("section") || wc;
+ window.location.hash === "#peachProxy" && Nc({ configurationRequestedSection: "网络与访问" });
+ let e = m5().get("section") || xc;
return e ? { section: e } : {};
}
if (e === "/review") {
let e = m5().get("category") || "", n = await h5(t);
return t.live ? {
- category: uM(e) ? e : "",
+ category: aM(e) ? e : "",
...ttt(n, "/review")
} : null;
}
@@ -90372,7 +90406,7 @@ async function ntt(e, t) {
dir: e.get("dir") || ""
}, i = await h5(t);
if (!t.live) return null;
- let a = Nw().value;
+ let a = jw().value;
return {
...r,
pageSize: Number(a.followPageSize) || 20,
@@ -90396,8 +90430,8 @@ var g5 = () => {
"/follow-manage"
]);
async function att(e, t, n) {
- if (e === "/jav" && fL(m5().get("tab")) === "library") {
- Z8.replace(BTe(window.location.search));
+ if (e === "/jav" && cL(m5().get("tab")) === "library") {
+ Z8.replace(WTe(window.location.search));
return;
}
if (e === "/follow-manage" && m5().get("tab") === "wants") {
@@ -90410,8 +90444,8 @@ async function att(e, t, n) {
}
let r = document.getElementById("stats");
if (!r) return;
- t.surfaceChanged("management", e), e === "/taste" && (Ic({ state: {
- ...U,
+ t.surfaceChanged("management", e), e === "/taste" && (Nc({ state: {
+ ...H,
creator: "",
studio: "",
tag: "",
@@ -90433,7 +90467,7 @@ async function att(e, t, n) {
container: r,
isCurrent: () => n.live
});
- if (o && (n.revision = L8(r)?.revision ?? 0), e === "/configuration" && o && Ic({ configurationRequestedSection: "" }), rtt.has(e) && g5(), n.live) {
+ if (o && (n.revision = L8(r)?.revision ?? 0), e === "/configuration" && o && Nc({ configurationRequestedSection: "" }), rtt.has(e) && g5(), n.live) {
let { hash: t } = window.location;
itt.has(e) && g5(), e === "/configuration" && (t === "#libraryProcessing" ? queueMicrotask(() => {
n.live && Q8("/data-cleanup#libraryProcessing", {
@@ -90501,8 +90535,8 @@ function ctt(e, t, n) {
var y5 = {
"/jav": {
element: /* @__PURE__ */ (0, x.jsx)(v5, { path: "/jav" }),
- prefetch: (e, t) => qDe(e.tab, t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(ZDe, {
+ prefetch: (e, t) => XDe(e.tab, t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(tOe, {
...e,
navigate: t.navigate,
receipt: (e) => t.receipt(e)
@@ -90510,9 +90544,9 @@ var y5 = {
},
"/stats": {
element: /* @__PURE__ */ (0, x.jsx)(v5, { path: "/stats" }),
- prefetch: (e, t) => LEe(t),
+ prefetch: (e, t) => BEe(t),
page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(j8e, {
- tagLabel: Zs,
+ tagLabel: Xs,
onTag: t.openTag,
configurable: e.configurable,
openMediaSettings: () => {
@@ -90522,7 +90556,7 @@ var y5 = {
},
"/taste": {
element: /* @__PURE__ */ (0, x.jsx)(v5, { path: "/taste" }),
- prefetch: (e, t) => cDe("all", t),
+ prefetch: (e, t) => dDe("all", t),
page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(V5e, {
onSignal: t.openTasteSignal,
navigate: n,
@@ -90532,8 +90566,8 @@ var y5 = {
},
"/review": {
element: /* @__PURE__ */ (0, x.jsx)(v5, { path: "/review" }),
- prefetch: (e, t) => Pve(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(WOe, {
+ prefetch: (e, t) => Rve(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(JOe, {
...e,
route: t.routeReview,
openItem: t.openItem,
@@ -90544,8 +90578,8 @@ var y5 = {
},
"/data-cleanup": {
element: /* @__PURE__ */ (0, x.jsx)(v5, { path: "/data-cleanup" }),
- prefetch: (e, t) => Fye(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(sxe, {
+ prefetch: (e, t) => Rye(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(uxe, {
failure: t.failure,
open: (e) => ctt(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
@@ -90553,8 +90587,8 @@ var y5 = {
},
"/duplicates": {
element: /* @__PURE__ */ (0, x.jsx)(v5, { path: "/duplicates" }),
- prefetch: (e, t) => k_e(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(ICe, {
+ prefetch: (e, t) => N_e(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(zCe, {
openItem: t.openItem,
failure: t.failure,
toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})
@@ -90562,24 +90596,24 @@ var y5 = {
},
"/quality-goals": {
element: /* @__PURE__ */ (0, x.jsx)(v5, { path: "/quality-goals" }),
- prefetch: (e, t) => ove(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(COe, {
+ prefetch: (e, t) => uve(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(DOe, {
openItem: t.openItem,
- javTitleHtml: bD,
- javDisplayName: yD,
+ javTitleHtml: pD,
+ javDisplayName: fD,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
})
},
"/scraping": {
element: /* @__PURE__ */ (0, x.jsx)(v5, { path: "/scraping" }),
- prefetch: (e, t) => rke(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(pke, { toast: (e) => t.toast(e) })
+ prefetch: (e, t) => ske(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(_ke, { toast: (e) => t.toast(e) })
},
"/configuration": {
element: /* @__PURE__ */ (0, x.jsx)(v5, { path: "/configuration" }),
- prefetch: (e, t) => Dke(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(tje, {
+ prefetch: (e, t) => jke(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(aje, {
receipt: (e) => t.receipt(e),
reopenTutorial: t.reopenTutorial,
section: e.section ?? ""
@@ -90587,8 +90621,8 @@ var y5 = {
},
"/diagnostics": {
element: /* @__PURE__ */ (0, x.jsx)(v5, { path: "/diagnostics" }),
- prefetch: (e, t) => LCe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(VCe, {
+ prefetch: (e, t) => BCe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(WCe, {
navigate: n,
openItem: t.openItem,
receipt: (e) => t.receipt(e),
@@ -90599,13 +90633,13 @@ var y5 = {
},
"/activity": {
element: /* @__PURE__ */ (0, x.jsx)(v5, { path: "/activity" }),
- prefetch: (e, t) => jpe(t),
- page: () => /* @__PURE__ */ (0, x.jsx)(ime, {})
+ prefetch: (e, t) => Lpe(t),
+ page: () => /* @__PURE__ */ (0, x.jsx)(ume, {})
},
"/follow-manage": {
element: /* @__PURE__ */ (0, x.jsx)(v5, { path: "/follow-manage" }),
- prefetch: (e, t) => Ar(t, e.tab),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(eTe, {
+ prefetch: (e, t) => Or(t, e.tab),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(rTe, {
...e,
route: t.routeFollowManage,
savePreference: t.saveFollowPreference,
@@ -90617,8 +90651,8 @@ var y5 = {
}, b5 = (e) => Object.hasOwn(y5, e), ltt = { "/resource-sync": { element: /* @__PURE__ */ (0, x.jsx)(stt, {}) } }, utt = { "/immerse": { element: /* @__PURE__ */ (0, x.jsx)(Yet, {}) } }, x5 = {
"/playlists": {
element: /* @__PURE__ */ (0, x.jsx)(Ket, {}),
- prefetch: (e, t) => iOe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(xOe, {
+ prefetch: (e, t) => cOe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(TOe, {
revision: e.revision,
openPlaylist: t.openPlaylist,
openEntity: t.openEntity,
@@ -90629,19 +90663,19 @@ var y5 = {
"/follow": {
element: /* @__PURE__ */ (0, x.jsx)(Uet, {}),
prefetch: (e, t) => Yr(e, t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(sSe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(uSe, { ...e })
}
}, dtt = (e) => Object.hasOwn(x5, e), S5 = {
element: /* @__PURE__ */ (0, x.jsx)(xet, {}),
- prefetch: (e, t) => Oxe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(gTe, {
+ prefetch: (e, t) => jxe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(yTe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
exitSelectMode: t.exitSelectMode,
personAvatar: t.personAvatar,
authorAvatar: t.authorAvatar,
- tagLabel: Zs,
+ tagLabel: Xs,
openEntity: t.openEntity,
showTags: t.showIndexTags,
openFollowAuthor: t.openFollowAuthor,
@@ -90655,8 +90689,8 @@ var y5 = {
"/tags": S5
}, w5 = {
element: /* @__PURE__ */ (0, x.jsx)(ket, {}),
- prefetch: (e) => gxe(e),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(ECe, { ...e })
+ prefetch: (e) => yxe(e),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(kCe, { ...e })
}, T5 = {
"/performers/*": w5,
"/studios/*": w5,
@@ -90666,55 +90700,55 @@ var y5 = {
}, E5 = {
"/": {
element: /* @__PURE__ */ (0, x.jsx)(Ret, {}),
- prefetch: (e, t) => xle(e, t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Zj, { ...e })
+ prefetch: (e, t) => Sle(e, t),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(Kj, { ...e })
},
"/junk-files": {
element: /* @__PURE__ */ (0, x.jsx)(Ret, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(FTe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(zTe, { ...e })
}
-}, ftt = (e) => Object.hasOwn(E5, e), ptt = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(tOe, { ...e }) : /* @__PURE__ */ (0, x.jsx)(bN, { ...e }), mtt = {
+}, ftt = (e) => Object.hasOwn(E5, e), ptt = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(aOe, { ...e }) : /* @__PURE__ */ (0, x.jsx)(_N, { ...e }), mtt = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Lge, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(Vge, { ...e })
},
"feed-new": {
- prefetch: (e) => fxe(e),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(HCe, { ...e })
+ prefetch: (e) => hxe(e),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(GCe, { ...e })
},
"library-processing": {
- prefetch: (e, t) => z_e(t),
+ prefetch: (e, t) => U_e(t),
page: (e) => /* @__PURE__ */ (0, x.jsx)(ptt, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(bke, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(wke, { ...e })
}
}, htt = (e) => Object.hasOwn(mtt, e), gtt = {
"batch-dock": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(Qse, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)($se, {})
},
"glow-picker": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(Lce, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(Rce, {})
},
"manage-header": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(cde, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(mde, {})
},
immerse: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(Jue, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(ede, {})
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(Dje, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(jje, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(Wje, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(Jje, {})
},
stage: {
prefetch: async () => {},
@@ -91243,7 +91277,7 @@ var Ztt = /*#__PURE__*/ b.forwardRef(function(e, t) {
delete: !0
} : t));
}) : setTimeout(() => {
- ht.flushSync(() => {
+ pt.flushSync(() => {
w((t) => {
let n = t.findIndex((t) => t.id === e.id);
return n === -1 ? [e, ...t] : [
@@ -91378,7 +91412,7 @@ function $tt() {
var ent = (e, t) => {
if (A5?.host === e) return;
$tt();
- let n = (0, gt.createRoot)(e);
+ let n = (0, mt.createRoot)(e);
A5 = {
host: e,
root: n
@@ -91449,42 +91483,42 @@ function ont(e) {
var R5 = () => L5, z5 = null, B5 = null;
function snt(e) {
return z5 ??= (async () => {
- let t = que(e), n = document.createElement("div");
+ let t = $ue(e), n = document.createElement("div");
return n.dataset.immerseHost = "", await F5("immerse", n, (e) => (document.body.append(e), e)), B5 = t, t;
})(), z5;
}
var V5 = () => B5, H5 = null, U5 = null;
function cnt(e) {
return H5 ??= (async () => {
- let t = Eje(e), n = document.createElement("div");
+ let t = Aje(e), n = document.createElement("div");
return n.dataset.settingsHost = "", await F5("settings-panel", n, (e) => (document.body.append(e), e)), U5 = t, t;
})(), H5;
}
var lnt = () => U5, W5 = null, G5 = null;
function unt(e) {
return W5 ??= (async () => {
- let t = Uje(e);
+ let t = qje(e);
return await F5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), G5 = t, t;
})(), W5;
}
var K5 = () => G5, q5 = null, J5 = null;
function dnt(e) {
return q5 ??= (async () => {
- let t = sde(e);
+ let t = pde(e);
return await F5("manage-header", e.root, (e) => (e.replaceChildren(), e)), J5 = t, t;
})(), q5;
}
var fnt = () => J5, Y5 = null, X5 = null;
function pnt(e) {
return Y5 ??= (async () => {
- let t = Zse(e);
+ let t = Qse(e);
return await F5("batch-dock", e.root), X5 = t, t;
})(), Y5;
}
var mnt = () => X5, Z5 = null;
function hnt(e) {
return Z5 ??= (async () => {
- Ice(e), await F5("glow-picker", e.root);
+ Lce(e), await F5("glow-picker", e.root);
})(), Z5;
}
function gnt(e, t, n, r) {
@@ -91592,7 +91626,7 @@ var $5 = {
function ynt() {
$5.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : R(e && typeof e == "object" ? e.text ?? "" : e ?? ""), $5.toastSeq = 0, $5.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
let a = `toast-${++$5.toastSeq}`, o = (e, t, n, r) => {
- ka(i || (t ? "error" : "success")), gnt(I("#toasts"), {
+ Oa(i || (t ? "error" : "success")), gnt(I("#toasts"), {
success: L("check"),
error: L("circle-alert")
}, a, {
@@ -91602,7 +91636,7 @@ function ynt() {
action: r && !t ? {
label: r.label,
run: (e) => {
- Yo(e), r.run();
+ qo(e), r.run();
}
} : null
});
@@ -91626,9 +91660,9 @@ function ynt() {
}
} : null
}), r;
- }, $5.actionFailure = (e, t) => $5.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), $5.rollSeed = () => Qt(), $5.seededSample = (e, t, n, r = (e) => e.k) => {
+ }, $5.actionFailure = (e, t) => $5.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), $5.rollSeed = () => Xt(), $5.seededSample = (e, t, n, r = (e) => e.k) => {
if (e.length <= t) return e;
- let i = new Set([...e].sort((e, t) => Zt(n, r(e)) - Zt(n, r(t))).slice(0, t).map(r));
+ let i = new Set([...e].sort((e, t) => Yt(n, r(e)) - Yt(n, r(t))).slice(0, t).map(r));
return e.filter((e) => i.has(r(e)));
};
}
@@ -91652,23 +91686,23 @@ var bnt = [
"jav"
];
function xnt(e, t, n, r = n.defaultSort) {
- return pw(e, t, n.defaultSort, n.defaultSortDirection, r);
+ return dw(e, t, n.defaultSort, n.defaultSortDirection, r);
}
function Snt(e, t, n) {
- let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Tt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
+ let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Ct(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
creator: o("creator") || "",
studio: o("studio") || "",
owner: o("owner") === "none" ? "none" : "",
- tag: en(o("tag")),
+ tag: Qt(o("tag")),
tag_match: o("tag_match") === "any" ? "any" : "all",
len: o("len") || "",
dur_min: o("dur_min") || "",
dur_max: o("dur_max") || "",
orient: o("orient") || "",
region: o("region") || "",
- state: Ct[r] || o("state") || "",
+ state: xt[r] || o("state") || "",
...xnt(o("sort"), o("dir"), t),
seed: o("seed") || n(),
q: o("q") || "",
@@ -91680,12 +91714,12 @@ function Cnt(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
function wnt(e) {
- let t = St[e.state ?? ""] || "/", n = new URLSearchParams();
+ let t = bt[e.state ?? ""] || "/", n = new URLSearchParams();
for (let t of bnt) {
let r = e[t];
- r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== uw(e.sort ?? "")) && n.set(t, r);
+ r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== cw(e.sort ?? "")) && n.set(t, r);
}
- return !St[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
+ return !bt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
function Tnt(e, t, n) {
return {
@@ -91702,7 +91736,7 @@ function Tnt(e, t, n) {
region: "",
state: "",
sort: t.defaultSort,
- dir: fw(t.defaultSort, t.defaultSort, t.defaultSortDirection),
+ dir: uw(t.defaultSort, t.defaultSort, t.defaultSortDirection),
seed: n(),
q: "",
jav: "",
@@ -91781,22 +91815,22 @@ var Dnt = class {
t
];
async function jnt(e) {
- let t = String(e), n = await yt(`/api/tops?${t}`), r = new URLSearchParams(t);
- return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await yt(`/api/tops?${r}`));
+ let t = String(e), n = await _t(`/api/tops?${t}`), r = new URLSearchParams(t);
+ return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await _t(`/api/tops?${r}`));
}
function Mnt(e, t) {
- return Promise.all([H.fetchQuery({
+ return Promise.all([V.fetchQuery({
queryKey: Ont(e),
- queryFn: () => yt(`/api/facets${e ? `?${e}` : ""}`),
+ queryFn: () => _t(`/api/facets${e ? `?${e}` : ""}`),
staleTime: e7
- }), H.fetchQuery({
+ }), V.fetchQuery({
queryKey: knt(t, e),
queryFn: () => jnt(t),
staleTime: e7
})]);
}
function Nnt(e) {
- return H.fetchQuery({
+ return V.fetchQuery({
queryKey: Ant(e),
queryFn: () => jnt(e),
staleTime: e7
@@ -91805,10 +91839,10 @@ function Nnt(e) {
function n7() {
t7 += 1;
let e = (e) => e.state.fetchStatus === "idle";
- H.removeQueries({
+ V.removeQueries({
queryKey: ["facets"],
predicate: e
- }), H.removeQueries({
+ }), V.removeQueries({
queryKey: ["tops"],
predicate: e
});
@@ -92007,30 +92041,30 @@ function Jnt(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
- r && (Yo(r), r.innerHTML = `${Qa("正在定位")}${a ? `<span>${R(a)}</span>` : ""}`), n.textContent = "";
+ r && (qo(r), r.innerHTML = `${Za("正在定位")}${a ? `<span>${R(a)}</span>` : ""}`), n.textContent = "";
try {
await e.request(t), n.textContent = "", e.success();
} catch (t) {
n.textContent = e.failureText(t);
} finally {
- r && (Yo(r, !1), r.innerHTML = i);
+ r && (qo(r, !1), r.innerHTML = i);
}
};
}
//#endregion
//#region src/react/entity-page/entity-route.ts
-var i7 = () => Object.fromEntries($N.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+var i7 = () => Object.fromEntries(XN.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
function Ynt(e, t) {
let n = new URLSearchParams(e), r = i7();
- for (let e of $N) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+ for (let e of XN) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
- ...pw(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
+ ...dw(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
function Xnt(e) {
let t = new URLSearchParams();
- for (let n of $N) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== uw(e.sort || "")) && t.set(n, e[n]);
+ for (let n of XN) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== cw(e.sort || "")) && t.set(n, e[n]);
return t.toString();
}
function Znt(e) {
@@ -92046,16 +92080,16 @@ function Qnt(e, t) {
}
function $nt(e, t, n, r) {
let i = Qnt(n, r);
- return Ot(e, t) + (i ? `?${i}` : "");
+ return Et(e, t) + (i ? `?${i}` : "");
}
function ert() {
let e = "";
return {
fresh(t, n) {
- return e = Ot(t, n), e;
+ return e = Et(t, n), e;
},
read(t, n, r, i) {
- let a = e === Ot(t, n) && !r;
+ let a = e === Et(t, n) && !r;
e = "";
let o = a ? i7() : { ...Ynt(r, i) };
return t === "creator" && (o.creator = ""), {
@@ -92111,7 +92145,7 @@ function rrt(e, t, n) {
jav: o.jav
}), !0;
}, i = /* @__PURE__ */ new Map(), a = (t, a) => {
- let o = Ot(t, a), s = i.get(o);
+ let o = Et(t, a), s = i.get(o);
if (s) return s;
let c = () => {
let n = e.context();
@@ -92128,7 +92162,7 @@ function rrt(e, t, n) {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let n = c(), i = dw(e, n.sort || "new", n.dir || "");
+ let n = c(), i = lw(e, n.sort || "new", n.dir || "");
i && r(t, a, {
...n,
...i
@@ -92148,7 +92182,7 @@ function rrt(e, t, n) {
e.setPhotoLayout(t), e.syncPhotoWalls();
},
openEntity: (t, n, r = !1) => {
- r ? e.route(Ot(t, n) + e.search(), !0) : e.openEntity(t, n);
+ r ? e.route(Et(t, n) + e.search(), !0) : e.openEntity(t, n);
},
painted: (t, n) => {
let r = e.photoViewActive();
@@ -92248,14 +92282,14 @@ function srt(e) {
return e.has_cover ? sa(e, "big") : e.cover_url ? sa({ code: e.code }, "big").replace(/ src="[^"]*"/, ` src="${R(e.cover_url)}" referrerpolicy="no-referrer" data-panel-prior="1"`) : "<span class=\"nopic\">无封面</span>";
}
function crt(e) {
- let t = [e.performers && `<span class="feednewperformers">${R(e.performers)}</span>`, e.release_date && `<span>${R(e.release_date)}</span>`].filter(Boolean).join("<span aria-hidden=\"true\">·</span>"), n = srt(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? bD({
+ let t = [e.performers && `<span class="feednewperformers">${R(e.performers)}</span>`, e.release_date && `<span>${R(e.release_date)}</span>`].filter(Boolean).join("<span aria-hidden=\"true\">·</span>"), n = srt(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? pD({
is_jav: !0,
code: e.code,
name: e.code,
display_title: e.title || ""
}) : R(r), a = e.link ? `<a class="feednewopen" href="${R(e.link)}" target="_blank" rel="noreferrer" aria-label="打开 ${R(r)} 的作品页"></a>` : "";
return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">
- ${a}<div class="pic" style="--card-ratio:${Hw}">${n}
+ ${a}<div class="pic" style="--card-ratio:${Bw}">${n}
<div class="hovertools feednewtools">
<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${R(r)}">${L("star")}</button>
<button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${R(r)}">${L("x")}</button>
@@ -92264,14 +92298,14 @@ function crt(e) {
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
async function o7() {
- let e = Q5, t = await yt("/api/entity/shapes", { signal: e.signal }).catch(() => null);
- return e.isActive && t && !t.error && (a7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${Lt(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), s7(location.pathname) && lrt(I("#feedNew"))), a7.entityShapes;
+ let e = Q5, t = await _t("/api/entity/shapes", { signal: e.signal }).catch(() => null);
+ return e.isActive && t && !t.error && (a7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${Ft(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), s7(location.pathname) && lrt(I("#feedNew"))), a7.entityShapes;
}
function lrt(e) {
!e || R8(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = a7.feedNewSkeletonHtml())));
}
function urt(e, t) {
- return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Za(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
+ return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Xa(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
actionLabel: "配置连接方式",
@@ -92283,13 +92317,13 @@ function drt(e) {
return urt(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(crt).join("")}</div>`;
}
function frt(e) {
- e && (y9(e), Z.appSettings.feedAutoScroll && Vo(e));
+ e && (y9(e), Z.appSettings.feedAutoScroll && zo(e));
}
function s7(e) {
- return Tt(e) && e !== "/junk-files";
+ return Ct(e) && e !== "/junk-files";
}
function prt(e) {
- return Tt(e) && e !== "/junk-files";
+ return Ct(e) && e !== "/junk-files";
}
function mrt() {
let e = I("#feedNew");
@@ -92305,21 +92339,21 @@ function mrt() {
}
function c7() {
let e = I("#feedNew");
- e.querySelectorAll(".feednewrow").forEach(Ho), U8(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
+ e.querySelectorAll(".feednewrow").forEach(Bo), U8(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
}
function hrt() {
a7.feedRevision += 1, H8(I("#feedNew"), { revision: a7.feedRevision }), d7({ feedRevision: a7.feedRevision });
}
function grt() {
- document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Vo(e) : Ho(e));
+ document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? zo(e) : Bo(e));
}
function _rt([e]) {
I("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= a7.HERO_WIDE_PX);
}
function vrt() {
- a7.FEED_SKELETON_CARDS = 8, a7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${Hw}"></div>
+ a7.FEED_SKELETON_CARDS = 8, a7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${Bw}"></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(a7.FEED_SKELETON_CARDS)}</div>`, a7.entityShapes = null, a7.hasEntityPart = (e, t, n) => !!t && !!a7.entityShapes?.get(`${e}/${Lt(t)}`)?.includes(n), a7.feedNewSkeletonSection = () => `<section class="feednew">${a7.feedNewSkeletonHtml()}</section>`, a7.COSTAR_SKELETON_PEOPLE = 12, a7.costarSkeletonFoot = () => `<div class="entityfoot"><div class="relatedpeople">${"<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\">&#8203;</span></span>".repeat(a7.COSTAR_SKELETON_PEOPLE)}</div></div>`, a7.factsSkeleton = () => `<dl class="entityfacts">${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, a7.feedRevision = 0, a7.feedNewHelpers = {
+ <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(a7.FEED_SKELETON_CARDS)}</div>`, a7.entityShapes = null, a7.hasEntityPart = (e, t, n) => !!t && !!a7.entityShapes?.get(`${e}/${Ft(t)}`)?.includes(n), a7.feedNewSkeletonSection = () => `<section class="feednew">${a7.feedNewSkeletonHtml()}</section>`, a7.COSTAR_SKELETON_PEOPLE = 12, a7.costarSkeletonFoot = () => `<div class="entityfoot"><div class="relatedpeople">${"<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\">&#8203;</span></span>".repeat(a7.COSTAR_SKELETON_PEOPLE)}</div></div>`, a7.factsSkeleton = () => `<dl class="entityfacts">${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, a7.feedRevision = 0, a7.feedNewHelpers = {
feedRowHtml: drt,
wireFeedRow: (e) => frt(e)
}, a7.feedNewActions = { settled: (e) => {
@@ -92375,7 +92409,7 @@ function d7(e) {
l7.entityPageCurrent() && H8(I("#index"), e);
}
function f7() {
- if (cc.type === "item") return cc;
+ if (ac.type === "item") return ac;
let e = u7();
if (e) {
let { kind: t, name: n, filters: r } = e.props;
@@ -92386,17 +92420,17 @@ function f7() {
filters: { ...r }
};
}
- return cc;
+ return ac;
}
function brt(e, t, n = U7()) {
return kit(n).map(([n, r]) => {
- let i = e === n, a = dw(n, e, t);
+ let i = e === n, a = lw(n, e, t);
return {
key: n,
label: r,
pressed: i,
- dir: i && lw(n, t) ? t === "asc" ? "asc" : "desc" : "",
- ariaLabel: a ? `按${r}${a.dir ? lw(a.sort, a.dir) : ""}排序` : ""
+ dir: i && sw(n, t) ? t === "asc" ? "asc" : "desc" : "",
+ ariaLabel: a ? `按${r}${a.dir ? sw(a.sort, a.dir) : ""}排序` : ""
};
});
}
@@ -92417,13 +92451,13 @@ function h7() {
l7.photos.sync();
}
function xrt() {
- m7() ? kce(Jw()) : rT();
+ m7() ? Ace(Kw()) : tT();
}
function Srt(e) {
l7.photos.setSize(e);
}
var Crt = Jnt({
- request: (e) => yt("/api/reveal", {
+ request: (e) => _t("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
}),
@@ -92446,7 +92480,7 @@ async function Trt(e) {
async function Ert(e, t, n) {
t.textContent = "正在核对目录…";
try {
- let r = await yt("/api/purge-missing", {
+ let r = await _t("/api/purge-missing", {
method: "POST",
body: JSON.stringify({ id: e })
});
@@ -92457,7 +92491,7 @@ async function Ert(e, t, n) {
if (t.textContent = r.removed ? `${l7.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {
let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);
n && n(r), $5.actionReceipt(l7.syncedText(r), { undo: e.length ? async () => {
- await yt("/api/batch", {
+ await _t("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: e,
@@ -92484,7 +92518,7 @@ function Ort(e, t) {
r && Q5.handler(r, "onclick", () => Crt(Number(r.dataset.reveal), n, { button: r })), i && Q5.handler(i, "onclick", () => Ert(Number(i.dataset.sync), n, t));
}
async function krt(e, t) {
- let n = os({
+ let n = is({
title: "添加别名",
description: "图库按名字存图,多记一个写法就多一批候选;这里添的名字也能提为统称。",
body: "<label class=\"modalfield\"><span>别名</span>\n <input class=\"geist-input\" name=\"alias\" maxlength=\"80\" autocomplete=\"off\"\n placeholder=\"另一种写法,或另一个艺名\"></label>" + (e.length ? `<div class="modalfield"><span>自己添过的</span>
@@ -92522,15 +92556,15 @@ async function krt(e, t) {
} }) : $5.actionReceipt(`${a?.alias} 已经是这条实体的名字`));
}
function Art(e, t) {
- let n = yrt(e, Ya({
+ let n = yrt(e, Ja({
readout: "&nbsp;",
loading: !0,
filterRow: "bottom"
- }), e === "agency" ? go({
+ }), e === "agency" ? mo({
kind: "performers",
layout: T7.peopleIndexLayout()
}) : m9());
- I("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? g7(e, t) : (I("#index").innerHTML = n, g7(e, t), Co(I("#index")));
+ I("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? g7(e, t) : (I("#index").innerHTML = n, g7(e, t), xo(I("#index")));
}
function g7(e, t) {
let n = I("#index").firstElementChild;
@@ -92541,7 +92575,7 @@ function g7(e, t) {
r(n.querySelector(".entityfoot"), e !== "agency" && a7.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", a7.costarSkeletonFoot())), r(n.querySelector(".feednew"), a7.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", a7.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && a7.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", a7.factsSkeleton()));
}
function jrt(e) {
- let t = Et[e] || e, n = a5[t] || "条目", r = a5[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
+ let t = wt[e] || e, n = a5[t] || "条目", r = a5[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
I("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });
}
function _7(e, t) {
@@ -92566,8 +92600,8 @@ function Mrt() {
filters: { ...e.filters }
} : e, l7.activeFilterState = () => {
let e = f7();
- return e.type === "home" ? U : e.filters;
- }, I("#q").value = U.q, X.rememberSearchValue();
+ return e.type === "home" ? H : e.filters;
+ }, I("#q").value = H.q, X.rememberSearchValue();
}
function Nrt() {
l7.entityPageView = "", l7.entityPageWall = !1, l7.entityPageRevision = 0, l7.entityPageCurrent = () => !!u7(), l7.entityPageLive = (e, t) => {
@@ -92581,7 +92615,7 @@ function Nrt() {
e && y9(e);
},
wireScroller: (e) => {
- e && Po(e);
+ e && Mo(e);
},
wireFeedRow: (e) => frt(e),
feedRowHtml: drt,
@@ -92625,30 +92659,30 @@ function Prt() {
current: () => l7.entityPageCurrent(),
route: (e, t = !1) => Q.route(e, t),
search: () => location.search,
- restoreHomeContext: () => Ic({ barsContext: {
+ restoreHomeContext: () => Nc({ barsContext: {
type: "home",
- filters: U
+ filters: H
} }),
- releaseBodyPreviews: () => qs(I("#index [data-entity-body]")),
+ releaseBodyPreviews: () => Gs(I("#index [data-entity-body]")),
push: d7,
state: () => ({
- seed: String(U.seed || ""),
- jav: U.jav === "1"
+ seed: String(H.seed || ""),
+ jav: H.jav === "1"
}),
preferences: () => ({
revision: l7.entityPageRevision,
feedRevision: a7.feedRevision,
- photoSize: Jw(),
- photoLayout: Yw(),
- photoLayouts: Vw,
+ photoSize: Kw(),
+ photoLayout: qw(),
+ photoLayouts: zw,
followImagesOnly: !!Z.appSettings.followImagesOnly,
- javLayout: Ww(),
- javLayouts: zw,
+ javLayout: Hw(),
+ javLayouts: Lw,
states: X.VIEW_PILLS,
peopleLayout: T7.peopleIndexLayout(),
layout: p9(),
- selectMode: fc,
- selected: new Set(uc),
+ selectMode: lc,
+ selected: new Set(sc),
seekSeconds: Z.appSettings.seekSeconds,
groupCollapse: Z.appSettings.groupCollapse,
wireDrag: y9,
@@ -92662,11 +92696,11 @@ function Prt() {
changeFilter: n9,
rollSeed: () => $5.rollSeed(),
writeSeed: (e) => {
- U.seed = e, Lc();
+ H.seed = e, Pc();
},
setJavLayout: jit,
- javLayout: Ww,
- setPhotoLayout: Qw,
+ javLayout: Hw,
+ setPhotoLayout: Xw,
syncPhotoWalls: h7,
openEntity: _7,
photoViewActive: m7,
@@ -92684,28 +92718,28 @@ function Prt() {
waitShapes: pit,
paintSkeleton: Art,
resetView: () => {
- Ic({ detailReturnBarsContext: null }), l7.entityPageView = "", l7.entityPageWall = !1;
+ Nc({ detailReturnBarsContext: null }), l7.entityPageView = "", l7.entityPageWall = !1;
},
loadShapes: o7,
syncParts: g7
},
photos: {
preferences: () => ({
- size: Jw(),
- layout: Yw(),
+ size: Kw(),
+ layout: qw(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
walls: () => document.querySelectorAll(".followphotowall"),
pushEntity: d7,
pushFollow: I9,
syncDensity: xrt,
- storeSize: Ece
+ storeSize: Dce
},
helpers: l7.entityPageHelpers,
actions: {
toggleTag: o9,
openFollowAuthor: lit,
- javContext: (e) => Ic({ entityJavLayout: !!e })
+ javContext: (e) => Nc({ entityJavLayout: !!e })
},
sortPreference: () => ({
sort: Z.appSettings.defaultSort,
@@ -92717,8 +92751,8 @@ function Prt() {
//#region src/application/playlists.js
var v7 = { playlistWrite: void 0 };
function Frt(e, t) {
- e === "tag" ? (Ic({ state: {
- ...U,
+ e === "tag" ? (Nc({ state: {
+ ...H,
tag: t,
tag_match: "all",
creator: "",
@@ -92733,7 +92767,7 @@ function Irt(e = "") {
maxlength="80" placeholder="输入名称" value="${R(e)}"></label>`;
}
async function Lrt({ title: e, count: t, save: n }) {
- let r = os({
+ let r = is({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
body: Irt(e),
@@ -92754,11 +92788,11 @@ async function Lrt({ title: e, count: t, save: n }) {
} }));
}
async function Rrt(e) {
- let t = ((await yt("/api/playlists")).items || []).map((e) => `<label class="pickrow">${ro(`data-pick-playlist="${e.id}"`)}
- <span class="pickrowtext"><b>${R(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = os({
+ let t = ((await _t("/api/playlists")).items || []).map((e) => `<label class="pickrow">${to(`data-pick-playlist="${e.id}"`)}
+ <span class="pickrowtext"><b>${R(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = is({
title: "加入播放列表",
description: "勾选要加入的列表,或者填个名称新建一份。",
- body: Irt() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Za("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: Irt() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Xa("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
confirmLabel: "保存",
confirmDisabled: !0,
onConfirm: async () => {
@@ -92798,18 +92832,18 @@ async function Rrt(e) {
} });
}
function zrt() {
- qs(), x9(!1), P7();
+ Gs(), x9(!1), P7();
let e = L8(I("#stats"));
- e?.path !== "/playlists" || !e.host.isConnected ? Ic({ pageOpens: Dc + 1 }) : (N7({ manage: !1 }), Ic({ playlistsRevision: Nc + 1 }));
+ e?.path !== "/playlists" || !e.host.isConnected ? Nc({ pageOpens: wc + 1 }) : (N7({ manage: !1 }), Nc({ playlistsRevision: Ac + 1 }));
}
function Brt(e) {
Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));
}
function Vrt(e) {
- Ic({ configurationRequestedSection: e }), Q.navigatePath("/configuration");
+ Nc({ configurationRequestedSection: e }), Q.navigatePath("/configuration");
}
function Hrt() {
- v7.playlistWrite = (e) => yt("/api/playlist", {
+ v7.playlistWrite = (e) => _t("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
});
@@ -92828,7 +92862,7 @@ function Urt(e, t, n, r, i = !1) {
};
}
function Wrt(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = cve(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+ let o = n === "follow", s = fve(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
...Urt(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
@@ -92839,7 +92873,7 @@ function Grt(e, t, n, r) {
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: cL(n).view === "dismissed"
+ junkDismissed: aL(n).view === "dismissed"
};
}
//#endregion
@@ -92854,38 +92888,38 @@ var b7 = {
};
function x7() {
f9({
- selected: new Set(uc),
- selectMode: fc
+ selected: new Set(sc),
+ selectMode: lc
}), d7({
- selected: new Set(uc),
- selectMode: fc
+ selected: new Set(sc),
+ selectMode: lc
}), I9({
- selected: new Set(dc),
- selectMode: fc
+ selected: new Set(cc),
+ selectMode: lc
}), b7.batchDockProps = tit(), mnt() && (mnt().render(b7.batchDockProps), Z.syncGlassOptics());
}
function S7(e, t = !1) {
- Ic(Urt({
- selected: uc,
- followSelected: dc
- }, w7(), y7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", fc), fc && qs(), I("#selectMode").setAttribute("aria-pressed", String(fc)), x7();
+ Nc(Urt({
+ selected: sc,
+ followSelected: cc
+ }, w7(), y7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", lc), lc && Gs(), I("#selectMode").setAttribute("aria-pressed", String(lc)), x7();
}
function Krt() {
return [...O7.gridCards()].map((e) => +e.dataset.id);
}
function C7(e, t = !1) {
- Ic(Wrt({
- selected: uc,
- followSelected: dc
+ Nc(Wrt({
+ selected: sc,
+ followSelected: cc
}, w7(), y7(location.pathname), Krt(), e, t)), S7(!0);
}
function qrt() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
function Jrt(e, t = !1) {
- Ic(Wrt({
- selected: uc,
- followSelected: dc
+ Nc(Wrt({
+ selected: sc,
+ followSelected: cc
}, w7(), "follow", qrt(), e, t)), S7(!0);
}
async function Yrt(e, t) {
@@ -92903,16 +92937,16 @@ async function Yrt(e, t) {
dispose: "移入回收站",
restore: "还原所选项目",
delete: "永久删除所选项目"
- }, i = [...uc];
- if (i.length) return cs({
+ }, i = [...sc];
+ if (i.length) return os({
title: r[e],
body: `将处理选中的 ${i.length} 项。${e === "delete" ? "文件和馆藏记录会永久删除,无法恢复。" : e === "dispose" ? "馆藏记录可在回收站还原。" : ""}`,
confirmLabel: r[e],
danger: e === "delete",
onConfirm: async () => {
- Yo(t);
+ qo(t);
try {
- let t = await yt("/api/batch", {
+ let t = await _t("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: i,
@@ -92923,7 +92957,7 @@ async function Yrt(e, t) {
S7(!1, !0), await q7();
let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;
$5.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
- await yt("/api/batch", {
+ await _t("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: i,
@@ -92932,17 +92966,17 @@ async function Yrt(e, t) {
}), await q7();
} : null });
} catch (e) {
- throw Yo(t, !1), e;
+ throw qo(t, !1), e;
} finally {
- Yo(t, !1), x7();
+ qo(t, !1), x7();
}
}
});
}
async function Xrt() {
- let e = [...uc];
+ let e = [...sc];
if (!e.length) return;
- let t = os({
+ let t = is({
title: "判定产地",
description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,
body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + b7.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
@@ -92952,7 +92986,7 @@ async function Xrt() {
onConfirm: async () => {
let n = t.dialog.querySelector("[data-region-pick][aria-pressed=\"true\"]");
if (!n) throw Error("先选一个产地");
- return await yt("/api/batch", {
+ return await _t("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: e,
@@ -92972,7 +93006,7 @@ async function Xrt() {
n && (S7(!1, !0), await q7(), $5.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
async function Zrt(e, t) {
- let n = [...dc];
+ let n = [...cc];
if (!n.length) return;
let r = {
save: "保存到账本",
@@ -92983,31 +93017,31 @@ async function Zrt(e, t) {
seen: "标记为已看",
ignored: "忽略所选作品"
};
- return cs({
+ return os({
title: i[e],
body: `将处理选中的 ${n.length} 项关注作品。`,
confirmLabel: i[e],
danger: !1,
onConfirm: async () => {
- Yo(t);
+ qo(t);
try {
- await yt(e === "save" ? "/api/follow/save" : "/api/follow/status", {
+ await _t(e === "save" ? "/api/follow/save" : "/api/follow/status", {
method: "POST",
body: JSON.stringify(e === "save" ? { items: n } : {
items: n,
to: e
})
- }), S7(!1, !0), location.pathname === "/follow" && Ic({ pageOpens: Dc + 1 }), $5.actionReceipt(`已${r[e]} ${n.length} 项`);
+ }), S7(!1, !0), location.pathname === "/follow" && Nc({ pageOpens: wc + 1 }), $5.actionReceipt(`已${r[e]} ${n.length} 项`);
} catch (e) {
- throw Yo(t, !1), e;
+ throw qo(t, !1), e;
} finally {
- Yo(t, !1), x7();
+ qo(t, !1), x7();
}
}
});
}
async function Qrt(e, t) {
- let n = [...uc];
+ let n = [...sc];
if (!n.length) return;
let r = {
"dismiss-junk": "不是垃圾",
@@ -93018,15 +93052,15 @@ async function Qrt(e, t) {
"reconsider-junk": "重新检查文件",
dispose: "移入回收站"
};
- return cs({
+ return os({
title: i[e],
body: `将处理选中的 ${n.length} 个文件。`,
confirmLabel: i[e],
danger: !1,
onConfirm: async () => {
- Yo(t);
+ qo(t);
try {
- await yt("/api/batch", {
+ await _t("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
@@ -93035,7 +93069,7 @@ async function Qrt(e, t) {
}), S7(!1, !0), await c9();
let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;
$5.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
- await yt("/api/batch", {
+ await _t("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
@@ -93044,9 +93078,9 @@ async function Qrt(e, t) {
}), await c9();
} : null });
} catch (e) {
- throw Yo(t, !1), e;
+ throw qo(t, !1), e;
} finally {
- Yo(t, !1), x7();
+ qo(t, !1), x7();
}
}
});
@@ -93066,7 +93100,7 @@ function eit() {
count: 0,
context: "catalog",
junkDismissed: !1
- }, b7.trashCount = null, b7.currentSelectSurface = () => y7(location.pathname), Q5.handler(I("#selectMode"), "onclick", () => S7(!fc, !!fc)), b7.REGION_CHOICES = [
+ }, b7.trashCount = null, b7.currentSelectSurface = () => y7(location.pathname), Q5.handler(I("#selectMode"), "onclick", () => S7(!lc, !!lc)), b7.REGION_CHOICES = [
["jp", "日本"],
["kr", "韩国"],
["cn", "国产"],
@@ -93080,32 +93114,32 @@ function eit() {
junk: Qrt,
clear: () => S7(!1, !0)
}, Q5.handler(I("#density"), "onclick", () => {
- m7() ? Srt(Jw() === "big" ? "small" : "big") : Oce();
- }), rT(), Gs({
- selecting: () => fc,
+ m7() ? Srt(Kw() === "big" ? "small" : "big") : kce();
+ }), tT(), Us({
+ selecting: () => lc,
censored: () => v9(),
delaySeconds: () => Z.appSettings.hoverDelaySeconds
- }), Q5.listen(window, "pagehide", () => qs()), Q5.listen(document, "visibilitychange", () => {
- document.hidden && qs();
- }), Hs(), b7.coverRecheck = 0, Q5.listen(window, "resize", () => {
- zs(I("#index")), clearTimeout(b7.coverRecheck), b7.coverRecheck = Q5.delay(() => I("#index").querySelectorAll("img.cover").forEach((e) => {
- e.complete && As(e);
+ }), Q5.listen(window, "pagehide", () => Gs()), Q5.listen(document, "visibilitychange", () => {
+ document.hidden && Gs();
+ }), Bs(), b7.coverRecheck = 0, Q5.listen(window, "resize", () => {
+ Ls(I("#index")), clearTimeout(b7.coverRecheck), b7.coverRecheck = Q5.delay(() => I("#index").querySelectorAll("img.cover").forEach((e) => {
+ e.complete && Os(e);
}), 200);
}, { passive: !0 });
}
function w7() {
return {
- selectMode: fc,
- selectSurface: hc,
- lastSelectedId: pc,
- followLastSelectedId: mc
+ selectMode: lc,
+ selectSurface: fc,
+ lastSelectedId: uc,
+ followLastSelectedId: dc
};
}
function tit() {
return Grt({
- selected: uc,
- followSelected: dc
- }, location.pathname, location.search, U.state);
+ selected: sc,
+ followSelected: cc
+ }, location.pathname, location.search, H.state);
}
//#endregion
//#region src/application/index.js
@@ -93138,8 +93172,8 @@ function D7() {
I("#stats").hidden = !0, I("#index").hidden = !1, l9(), X.hideCatalogCombo(), I("#count").textContent = "", I("#loadSentinel").hidden = !0;
}
function cit(e, t) {
- Ic({ state: {
- ...U,
+ Nc({ state: {
+ ...H,
state: "",
tag: e.join(","),
tag_match: t
@@ -93184,12 +93218,12 @@ var O7 = {
};
function k7(e = "正在读取作品") {
let t = I("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";
- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = kTe(cL(location.search)), Co(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && i9({
+ if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = NTe(aL(location.search)), xo(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", H && i9({
count: null,
...rat()
})), I("#loadSentinel").hidden = !0, d9()) return;
let r = I("#grid"), i = m9(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== iz(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== hat()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : O7.setGridCards(i), Co(I("#grid")));
+ (a?.dataset.skeleton !== iz(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== hat()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : O7.setGridCards(i), xo(I("#grid")));
}
function A7() {
I("#catalogFilter").style.display = "none", r9();
@@ -93209,17 +93243,17 @@ function mit() {
if (document.body.dataset.surface = location.pathname, /^\/(item\/\d+|(?:mix|parts|editions|playlists)\/\d+\/\d+)$/.test(e)) A7();
else if (e.startsWith("/follow/item/")) A7();
else if (e === "/junk-files") k7("正在读取垃圾文件");
- else if (e === "/jav" && fL(new URLSearchParams(location.search).get("tab")) === "library") k7("正在读取馆藏");
+ else if (e === "/jav" && cL(new URLSearchParams(location.search).get("tab")) === "library") k7("正在读取馆藏");
else if (Q.managedPagePath(e)) {
A7();
let t = I("#stats");
- t.hidden = !1, l9(), t.innerHTML = e.startsWith("/follow") && e !== "/follow-manage" ? $.followSkeletonHtml("正在读取关注内容") : O7.managementPlaceholder(e), Co(t);
+ t.hidden = !1, l9(), t.innerHTML = e.startsWith("/follow") && e !== "/follow-manage" ? $.followSkeletonHtml("正在读取关注内容") : O7.managementPlaceholder(e), xo(t);
} else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) A7(), D7(), het(I("#index"), det(e.slice(1), location.search), T7.peopleIndexLayout());
else if (/^\/(?:performers|creators|studios|agencies)\//.test(e)) {
A7(), I("#index").hidden = !1, l9();
- let t = Dt[e.split("/")[1]], n = e.split("/").slice(2).join("/");
+ let t = Tt[e.split("/")[1]], n = e.split("/").slice(2).join("/");
pit().then(() => {
- I("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (Art(t, n), Co(I("#index")));
+ I("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (Art(t, n), xo(I("#index")));
});
} else Q.routeMeta(e) ? k7() : (l9(), I("#count").textContent = "", I("#loadSentinel").hidden = !0);
}
@@ -93228,15 +93262,15 @@ function hit() {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
- gridSize: Jw()
- }), $.followSkeletonHtml = (e = "正在读取关注内容") => `<div class="follow">
- <div class="followhead"><h2 class="pagetitle">关注</h2></div>
+ gridSize: Kw()
+ }), $.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>
<div class="tier followworks" data-skeleton-tier="brandpill"></div>
<div class="board-filter-frame" data-filter-frame>
<div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div>
<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>
- ${$.followContentSkeletonHtml(void 0, e)}</div>`, I("#loadSentinel").innerHTML = eo("继续载入中…"), O7.setGridCards = (e) => po(I("#grid"), () => {
+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, I("#loadSentinel").innerHTML = Qa("继续载入中…"), O7.setGridCards = (e) => uo(I("#grid"), () => {
I("#grid").innerHTML = `<div class="grid">${e}</div>`;
}), O7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), O7.managementPlaceholder = (e) => rz(e, {
followLayout: nit(),
@@ -93327,7 +93361,7 @@ function yit({ tags: e = [], providers: t = [], duration: n = !1 }) {
kind: "follow",
tags: e.map(([e, t]) => ({
value: e,
- label: Zs(e),
+ label: Xs(e),
n: t
})),
selected: [...$.followTags],
@@ -93362,8 +93396,8 @@ function xit() {
I7() && L7(!1);
}
function Sit() {
- Tc === null && (Ic({ runtimeConfigurable: !1 }), yt("/healthz").then((e) => {
- Ic({ runtimeConfigurable: !!e.configurable }), Tc && R7() && z7();
+ Sc === null && (Nc({ runtimeConfigurable: !1 }), _t("/healthz").then((e) => {
+ Nc({ runtimeConfigurable: !!e.configurable }), Sc && R7() && z7();
}).catch(() => {}));
}
function Cit(e = "") {
@@ -93412,14 +93446,14 @@ function Tit() {
async function Eit() {
let e = Q5, t = null;
try {
- t = await yt("/api/settings", { signal: e.signal });
+ t = await _t("/api/settings", { signal: e.signal });
} catch {
return;
}
- e.isActive && Pw(t, (e) => Z.settingsEffects[e]?.());
+ e.isActive && Mw(t, (e) => Z.settingsEffects[e]?.());
}
function R7() {
- return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");
+ return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (H.state === "ads" ? "cleanup" : "");
}
function z7() {
let e = R7();
@@ -93439,11 +93473,11 @@ function B7(e = R7()) {
let t = Dit(e), n = fnt();
if (n) n.render(t);
else {
- let e = tde(t);
+ let e = sde(t);
e !== M7.manageHeaderSkeleton && (M7.manageHeaderSkeleton = e, M7.manageHeaderRoot().innerHTML = e);
}
- let r = pD(t)?.title || "";
- r !== M7.lastManagePageLabel && (M7.lastManagePageLabel = r, r && fo(M7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
+ let r = oD(t)?.title || "";
+ r !== M7.lastManagePageLabel && (M7.lastManagePageLabel = r, r && lo(M7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
function Oit() {
let e = M7.manageHeaderRoot();
@@ -93465,32 +93499,32 @@ function Oit() {
function V7() {
let e = I("#listTitle");
if (!e) return;
- let t = decodeURIComponent(location.pathname), n = !R7() && Tt(t) && wt[U.state] || "";
- e.hidden = !n, n && (e.textContent = n), I("#catalogPageHeading").hidden = !!R7() || !Tt(t) || !!n || U.jav === "1";
+ let t = decodeURIComponent(location.pathname), n = !R7() && Ct(t) && St[H.state] || "";
+ e.hidden = !n, n && (e.textContent = n), I("#catalogPageHeading").hidden = !!R7() || !Ct(t) || !!n || H.jav === "1";
}
function H7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Lc(), Q.route(lL()), F7(), O9(), a9());
+ t ? Q.openRoutePath(t) : (H.orient = "", H.state = "ads", Pc(), Q.route(oL()), F7(), O9(), a9());
}
function U7() {
let e = decodeURIComponent(location.pathname);
- return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || kc : !1;
+ return e === "/" ? H.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? H.jav === "1" || Ec : !1;
}
function kit(e = U7()) {
- let t = iw.filter(([e]) => e !== "seed");
- return e ? [aw, ...t] : t;
+ let t = nw.filter(([e]) => e !== "seed");
+ return e ? [rw, ...t] : t;
}
function W7() {
- return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";
+ return decodeURIComponent(location.pathname) === "/" && H.jav !== "1";
}
function G7() {
- return Gw(W7());
+ return Uw(W7());
}
function Ait(e) {
- Cce(e), K7(), I("#grid").hidden || h9();
+ wce(e), K7(), I("#grid").hidden || h9();
}
function jit(e) {
- wce(e), K7(), h9();
+ Tce(e), K7(), h9();
}
function K7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
@@ -93498,7 +93532,7 @@ function K7() {
}), X.catalogFilterProps && i9({ layout: nat() });
}
function Mit(e) {
- Tce(e), K7(), h9();
+ Ece(e), K7(), h9();
}
async function q7() {
n7(), X.mixRelatedCache.clear(), await Promise.all([Nit(), a9()]);
@@ -93510,7 +93544,7 @@ async function Nit() {
}
let e = decodeURIComponent(location.pathname);
if (N8(e)?.reload === "reopen" || e === "/follow") {
- Ic({ pageOpens: Dc + 1 });
+ Nc({ pageOpens: wc + 1 });
return;
}
let t = Q.routeMeta(e);
@@ -93523,7 +93557,7 @@ function J7(e) {
let e = R7();
return !!e && !Z.appSettings.sidebarOrder.some((t) => M7.DIRECT_MANAGE_NAV[t] === e);
}
- return e === "jav" ? t === "/jav" || U7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !R7() && !U.state && !U7() && U.orient !== "竖屏" : St[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
+ return e === "jav" ? t === "/jav" || U7() : e === "shorts" ? H.orient === "竖屏" : e === "" ? t === "/" && !R7() && !H.state && !U7() && H.orient !== "竖屏" : bt[e] ? n === e && H.orient !== "竖屏" : n ? n === e : t === "/" && H.state === e && H.orient !== "竖屏";
}
function Pit(e) {
if (xit(), M7.DIRECT_MANAGE_NAV[e]) {
@@ -93542,14 +93576,14 @@ function Pit(e) {
$7();
return;
}
- let t = St[e] ? null : Q.routePathOf("nav", e);
- t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), Lc(), Q.route(Q7()), F7(), O9(), a9());
+ let t = bt[e] ? null : Q.routePathOf("nav", e);
+ t ? Q.openRoutePath(t) : (e === "shorts" ? (H.orient = "竖屏", H.state = "") : (H.orient = "", H.state = e), Pc(), Q.route(Q7()), F7(), O9(), a9());
}
function Y7() {
let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);
- fc && hc !== b7.currentSelectSurface() && S7(!1, !0);
- let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Dt, t[0]), r = Tt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
- I("#selectMode").hidden = !i, I("#density").hidden = !a, h7(), !i && fc && S7(!1, !0);
+ lc && fc !== b7.currentSelectSurface() && S7(!1, !0);
+ let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Tt, t[0]), r = Ct(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
+ I("#selectMode").hidden = !i, I("#density").hidden = !a, h7(), !i && lc && S7(!1, !0);
}
function Fit() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
@@ -93585,14 +93619,14 @@ function Lit() {
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), Q5.handler(I("#filterBtn"), "onclick", () => L7(!I("#drawer").classList.contains("open"))), M7.SIDEBAR_ITEMS = Pnt, M7.MANAGE_SECTIONS = r7, M7.MANAGE_MENU_SECTIONS = Fnt, M7.manageMenuSections = () => Int(Tc === !0), M7.OPTIONAL_SIDEBAR_ITEMS = Lnt, M7.NAV_CATALOG = Rnt, M7.DIRECT_MANAGE_NAV = znt, M7.settingsHost = () => ({
+ }), Q5.handler(I("#filterBtn"), "onclick", () => L7(!I("#drawer").classList.contains("open"))), M7.SIDEBAR_ITEMS = Pnt, M7.MANAGE_SECTIONS = r7, M7.MANAGE_MENU_SECTIONS = Fnt, M7.manageMenuSections = () => Int(Sc === !0), M7.OPTIONAL_SIDEBAR_ITEMS = Lnt, M7.NAV_CATALOG = Rnt, M7.DIRECT_MANAGE_NAV = znt, M7.settingsHost = () => ({
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
- sound: (e) => ka(e),
+ sound: (e) => Oa(e),
navCatalog: M7.NAV_CATALOG,
- themeOptions: _ce,
- videoLayouts: zw,
- followInitialRanges: hAe,
+ themeOptions: vce,
+ videoLayouts: Lw,
+ followInitialRanges: yAe,
videoLayout: () => G7(),
setVideoLayout: Mit,
censored: v9,
@@ -93601,12 +93635,12 @@ function Lit() {
setHighContrast: Oat,
receipt: (e) => $5.actionReceipt(e),
failure: $5.actionFailure,
- syncRemote: (e) => Pw(e, (e) => Z.settingsEffects[e]?.()),
+ syncRemote: (e) => Mw(e, (e) => Z.settingsEffects[e]?.()),
openConfiguration: () => Q.navigatePath("/configuration"),
attached: () => Z.syncGlassOptics(),
- configurable: () => yt("/healthz").then((e) => (Ic({ runtimeConfigurable: !!e.configurable }), Tc)).catch(() => null)
+ configurable: () => _t("/healthz").then((e) => (Nc({ runtimeConfigurable: !!e.configurable }), Sc)).catch(() => null)
}), Q5.handler(I("#settingsBtn"), "onclick", () => void Cit()), M7.lastManagePageLabel = "", M7.manageHeaderSkeleton = "", M7.manageHeaderRoot = () => I("[data-manage-header]"), window.__scrolling = !1, M7.scrollT = null, M7.stickyFrame = 0, M7.mobileFilterScroll = null, M7.mobileFilterHost = null, M7.mobileFilterPath = "", Q5.listen(document, "focusin", X7), Q5.listen(document, "focusout", X7), Q5.listen(window, "scroll", () => {
- X7(), location.pathname === "/follow" && F9() && Ic({ followScrollY: scrollY }), window.__scrolling = !0, qs(), clearTimeout(M7.scrollT), M7.scrollT = Q5.delay(() => {
+ X7(), location.pathname === "/follow" && F9() && Nc({ followScrollY: scrollY }), window.__scrolling = !0, Gs(), clearTimeout(M7.scrollT), M7.scrollT = Q5.delay(() => {
window.__scrolling = !1;
}, 180);
}, { passive: !0 }), Q5.listen(window, "resize", X7, { passive: !0 }), Q5.handler(I("#scrim"), "onclick", () => L7(!1));
@@ -93658,7 +93692,7 @@ async function Hit(e, t) {
}
function Uit({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
let a = r ? "<button class=\"geist-button primary\" data-empty-settings>添加内容</button>" : "", o = "<a class=\"geist-button" + (!r || i ? " primary" : "") + "\" href=\"/follow-manage?tab=add\">添加关注</a>";
- if (t || n) return no("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });
+ if (t || n) return eo("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });
if (e !== "catalog") {
let t = (i ? {
tags: "标签",
@@ -93671,9 +93705,9 @@ function Uit({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:
agencies: "事务所",
series: "系列"
}[e] || "资料";
- return no(e === "tags" ? "tags" : "user-round", "还没有" + t, i ? "添加关注来源并获取内容后,这里会显示来源上的" + t + "。" : "添加内容并补充资料后,这里会显示对应信息。", { actions: i ? o : a + o });
+ return eo(e === "tags" ? "tags" : "user-round", "还没有" + t, i ? "添加关注来源并获取内容后,这里会显示来源上的" + t + "。" : "添加内容并补充资料后,这里会显示对应信息。", { actions: i ? o : a + o });
}
- return no("play", "还没有视频", "添加媒体文件夹或关注来源,开始建立你的馆藏。", { actions: a + o });
+ return eo("play", "还没有视频", "添加媒体文件夹或关注来源,开始建立你的馆藏。", { actions: a + o });
}
//#endregion
//#region src/application/catalog.js
@@ -93713,19 +93747,19 @@ var X = {
junkQueueActions: void 0
};
function Wit() {
- X.initialParams.has("loc") || (U.loc = Git(U.loc), Lc());
+ X.initialParams.has("loc") || (H.loc = Git(H.loc), Pc());
}
function Git(e) {
return Cnt(e, Z.sourceOnline);
}
-function Q7(e = U) {
+function Q7(e = H) {
return wnt(e);
}
function Kit() {
- Ic(Ent(Tnt(U, Z.appSettings, $5.rollSeed))), n7();
+ Nc(Ent(Tnt(H, Z.appSettings, $5.rollSeed))), n7();
}
function $7(e = null, t = !1) {
- Kit(), e && (Object.assign(U, e), Lc()), Q.route(e ? Q7() : "/"), X.clearSearchField(), x9(!1), F7(), O9(), a9(), t && window.scrollTo({
+ Kit(), e && (Object.assign(H, e), Pc()), Q.route(e ? Q7() : "/"), X.clearSearchField(), x9(!1), F7(), O9(), a9(), t && window.scrollTo({
top: 0,
behavior: "smooth"
});
@@ -93735,7 +93769,7 @@ function qit(e, t = null) {
!e.medium || e.medium === "video" ? C9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : C7(n);
}
function Jit(e) {
- return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, yt("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {
+ return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, _t("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {
throw X.mixRelatedCache.delete(e), t;
})), X.mixRelatedCache.get(e);
}
@@ -93744,12 +93778,12 @@ function Yit(e, t) {
}
async function Xit(e, t) {
try {
- let n = await yt("/api/watch-later", {
+ let n = await _t("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
});
e.watch_later = n.watch_later, t(!!n.watch_later), $5.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- let n = await yt("/api/watch-later", {
+ let n = await _t("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
});
@@ -93761,7 +93795,7 @@ async function Xit(e, t) {
}
async function Zit(e, t) {
try {
- await yt("/api/batch", {
+ await _t("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: [e.id],
@@ -93770,7 +93804,7 @@ async function Zit(e, t) {
}), await c9();
let n = t === "restore" ? "dispose" : "restore";
$5.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
- await yt("/api/batch", {
+ await _t("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: [e.id],
@@ -93784,7 +93818,7 @@ async function Zit(e, t) {
}
async function Qit(e) {
let t = new URLSearchParams();
- if (U7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {
+ if (U7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && H.state && t.set("state", H.state), e.type !== "item") {
let e = l7.activeFilterState();
[
"loc",
@@ -93831,16 +93865,16 @@ function n9(e) {
let n = { ...t.filters };
e(n), p7(t.kind, t.name, n), e9(n), t9(f7());
} else if (t.type === "item") {
- let t = l7.cloneBarsContext(lc);
- if (x9(!1), Ic({ detailReturnBarsContext: null }), t && t.type === "entity") {
- e(t.filters), p7(t.kind, t.name, t.filters) ? a9() : Ic({ pageOpens: Dc + 1 });
+ let t = l7.cloneBarsContext(oc);
+ if (x9(!1), Nc({ detailReturnBarsContext: null }), t && t.type === "entity") {
+ e(t.filters), p7(t.kind, t.name, t.filters) ? a9() : Nc({ pageOpens: wc + 1 });
return;
}
- e(U), Ic({ barsContext: {
+ e(H), Nc({ barsContext: {
type: "home",
- filters: U
+ filters: H
} }), Q.route(Q7()), F7(), a9();
- } else e(U), Lc(), Q.route(Q7()), e9(U), t9(cc);
+ } else e(H), Pc(), Q.route(Q7()), e9(H), t9(ac);
}
function eat() {
return {
@@ -93863,7 +93897,7 @@ function eat() {
helpers: {
wireDrag: y9,
wireScroller: (e) => {
- e && Po(e);
+ e && Mo(e);
}
}
};
@@ -93879,7 +93913,7 @@ function i9(e) {
}, X.catalogFilterProps = {
...X.catalogFilterProps || eat(),
...e
- }, !X.catalogFilterMounting && (R8(t) ? H8(t, e) : (!t.firstChild && !n && (t.innerHTML = Bit(X.catalogViews(), X.catalogFilterProps.state), Co(t)), X.catalogFilterMounting = V8("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (R8(t) ? H8(t, e) : (!t.firstChild && !n && (t.innerHTML = Bit(X.catalogViews(), X.catalogFilterProps.state), xo(t)), X.catalogFilterMounting = V8("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
}).then(() => H8(t, X.catalogFilterProps)).finally(() => {
@@ -93890,7 +93924,7 @@ function tat() {
return {
openEntity: (e, t) => _7(e, t),
setView: (e) => {
- U.state = e, Lc(), i9({ state: e }), Q.route(Q7()), a9();
+ H.state = e, Pc(), i9({ state: e }), Q.route(Q7()), a9();
},
toggleTag: (e) => o9(e),
clearFilter: (e) => n9((t) => {
@@ -93900,8 +93934,8 @@ function tat() {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let t = dw(e, U.sort, U.dir);
- t && (U.sort = t.sort, U.dir = t.dir, Lc(), _9());
+ let t = lw(e, H.sort, H.dir);
+ t && (H.sort = t.sort, H.dir = t.dir, Pc(), _9());
},
reshuffle: () => Tat(),
setLayout: (e) => {
@@ -93919,21 +93953,21 @@ function nat() {
return U7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: Ww(),
- options: zw
+ value: Hw(),
+ options: Lw
} : W7() ? {
name: "home-layout",
label: "首页卡片版式",
value: G7(),
- options: zw
+ options: Lw
} : null;
}
function rat() {
return {
- sorts: brt(U.sort, U.dir),
+ sorts: brt(H.sort, H.dir),
layout: nat(),
- state: U.state || "",
- trash: U.state === "trash"
+ state: H.state || "",
+ trash: H.state === "trash"
};
}
function iat(e) {
@@ -93945,7 +93979,7 @@ function iat(e) {
function aat(e) {
return {
name: e.k,
- ringHtml: `<span data-tier-initial>${R(Jt(e.k))}</span>${ta({
+ ringHtml: `<span data-tier-initial>${R(Kt(e.k))}</span>${ta({
id: e.id,
hasImage: e.has_image,
version: e.image_version,
@@ -93959,7 +93993,7 @@ function aat(e) {
function oat(e) {
return {
name: e.k,
- fallback: qt(e.k, 2),
+ fallback: Gt(e.k, 2),
logo: e.has_logo ? Qi(e.k, "icon", e.logo_version) : ""
};
}
@@ -93971,12 +94005,12 @@ function sat(e) {
}
async function a9() {
let e = ++X.barsRequestSeq;
- if (D9(), !ac(location.pathname) || cc.type === "item") return;
+ if (D9(), !nc(location.pathname) || ac.type === "item") return;
let t = f7(), n = l7.activeFilterState(), r = JSON.stringify([
t,
n,
- U.state || "",
- U.seed || "",
+ H.state || "",
+ H.seed || "",
U7()
]);
sat(n);
@@ -93993,16 +94027,16 @@ async function a9() {
X.barsRendered = o, t.type === "home" && (b9.facets = i);
let s = i.tags || [];
zi(a.performers), zi(a.studios);
- let c = t.type === "home" && !U7() && !U.state && !U.q && !i.locations.some((e) => e.n > 0);
+ let c = t.type === "home" && !U7() && !H.state && !H.q && !i.locations.some((e) => e.n > 0);
X.catalogTopsPages = {
context: t,
performers: 0,
studios: 0
};
- let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = $5.seededSample(f, X.TAGS_FIRST, `tags:${U.seed || ""}`), m = new Set(p.map((e) => e.k));
+ let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = $5.seededSample(f, X.TAGS_FIRST, `tags:${H.seed || ""}`), m = new Set(p.map((e) => e.k));
X.catalogTagRows = d.concat(p, f.filter((e) => !m.has(e.k))).map((e) => ({
k: e.k,
- label: Zs(e.k),
+ label: Xs(e.k),
n: e.n ?? null
})), i9({
tiers: {
@@ -94026,7 +94060,7 @@ async function a9() {
});
}
function cat(e, t) {
- b9.total = e, U.state === "trash" && (b7.trashCount = {
+ b9.total = e, H.state === "trash" && (b7.trashCount = {
total: b9.total,
shown: t
}), z7(), i9({ count: {
@@ -94035,14 +94069,14 @@ function cat(e, t) {
} });
}
function lat() {
- return cs({
+ return os({
title: "清空回收站",
body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",
confirmLabel: "清空回收站",
danger: !0,
onConfirm: async () => {
try {
- let e = await yt("/api/trash/empty", { method: "POST" });
+ let e = await _t("/api/trash/empty", { method: "POST" });
if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
$5.actionReceipt(`已永久删除 ${e.purged} 项`);
} finally {
@@ -94073,12 +94107,12 @@ function uat(e) {
}), X.tagList(e.tag).forEach((e) => t.push({
kind: "untag",
key: e,
- label: Zs(e)
+ label: Xs(e)
})), t;
}
function s9() {
i9({
- combo: uat(U),
+ combo: uat(H),
comboHidden: !X.catalogOnScreen()
});
}
@@ -94090,13 +94124,13 @@ async function c9() {
}, {
container: I("#libraryProcessingNotice"),
isCurrent: () => Q.surfaceCurrent(e)
- }), Ic({
+ }), Nc({
barsContext: {
type: "home",
- filters: U
+ filters: H
},
detailReturnBarsContext: null
- }), x9(!1), U.state === "ads") return _at(e);
+ }), x9(!1), H.state === "ads") return _at(e);
if (X.controller.page === "/junk-files" && l9(), k7(), F7(), s7(location.pathname)) {
if (await O7.entityShapesReady, !Q.surfaceCurrent(e)) return;
mrt();
@@ -94108,7 +94142,7 @@ function dat(e) {
}
function l9() {
let e = I("#grid");
- qs(e), U8(e), X.controller.clear(), e.innerHTML = "";
+ Gs(e), U8(e), X.controller.clear(), e.innerHTML = "";
}
function fat(e) {
return mat("/", gat, e, { place: oot });
@@ -94130,7 +94164,7 @@ function mat(e, t, n, r = {}) {
X.controller.page && X.controller.page !== e && l9();
let a = X.controller.begin(e, u9()), o = t();
if (!a.mount) return f9(o), a.settled;
- qs(i);
+ Gs(i);
let s = () => U8(i);
return a.signal.addEventListener("abort", s, { once: !0 }), V8(e, o, {
...r,
@@ -94142,10 +94176,10 @@ function mat(e, t, n, r = {}) {
}
function p9() {
let e = W7();
- return Sce({
+ return Cce({
active: U7() || e,
home: e,
- portrait: U.orient === "竖屏"
+ portrait: H.orient === "竖屏"
});
}
function m9(e = "正在读取作品") {
@@ -94156,43 +94190,43 @@ function m9(e = "正在读取作品") {
});
}
function hat() {
- return U ? Zw(p9()) : 16 / 9;
+ return H ? Yw(p9()) : 16 / 9;
}
function h9() {
- d9() && (qs(I("#grid")), f9({
+ d9() && (Gs(I("#grid")), f9({
layout: p9(),
seekSeconds: Z.appSettings.seekSeconds
- })), l7.entityPageCurrent() && (qs(I("#index [data-entity-hero]")), d7({
+ })), l7.entityPageCurrent() && (Gs(I("#index [data-entity-hero]")), d7({
layout: p9(),
seekSeconds: Z.appSettings.seekSeconds
}));
}
function gat() {
- let e = Tt(decodeURIComponent(location.pathname)), t = U.state === "trash";
+ let e = Ct(decodeURIComponent(location.pathname)), t = H.state === "trash";
return {
mode: "catalog",
helpers: X.gridHelpers,
actions: X.gridActions,
layout: p9(),
- selectMode: fc,
- selected: new Set(uc),
+ selectMode: lc,
+ selected: new Set(sc),
seekSeconds: Z.appSettings.seekSeconds,
revision: X.controller.revision,
wireDrag: y9,
settled: dat,
skeletonHtml: () => m9(),
- filters: { ...U },
+ filters: { ...H },
batchSize: Z.appSettings.batchSize,
groupCollapse: Z.appSettings.groupCollapse,
- excludeVertical: e && !U.q && !U.orient || U.jav === "1",
+ excludeVertical: e && !H.q && !H.orient || H.jav === "1",
mix: e && !t,
- shorts: e && !U7() && U.orient !== "竖屏" && !t,
+ shorts: e && !U7() && H.orient !== "竖屏" && !t,
countRow: I("#count"),
onCount: cat,
onCountFailed: () => i9({ count: !1 }),
emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : Uit({
jav: U7() && !t,
- configurable: Tc,
+ configurable: Sc,
filtered: !t
}),
canLoadMore: () => I("#stats").hidden && I("#index").hidden
@@ -94205,7 +94239,7 @@ function _at(e) {
async function vat(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
- await yt("/api/batch", {
+ await _t("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
@@ -94214,7 +94248,7 @@ async function vat(e, t) {
}), await c9();
let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";
$5.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
- await yt("/api/batch", {
+ await _t("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
@@ -94228,13 +94262,13 @@ async function vat(e, t) {
}
function yat() {
return {
- ...cL(location.search),
+ ...aL(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
revision: X.controller.revision,
- selectMode: fc,
- selected: new Set(uc),
+ selectMode: lc,
+ selected: new Set(sc),
countRow: I("#count"),
settled: dat,
skeletonHtml: () => nz("正在读取垃圾文件", {
@@ -94245,7 +94279,7 @@ function yat() {
};
}
function bat() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => xnt(e, t, Z.appSettings, n), Ic(Ent(Snt(location, Z.appSettings, $5.rollSeed))), X.searchValueSnapshot = {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => xnt(e, t, Z.appSettings, n), Nc(Ent(Snt(location, Z.appSettings, $5.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = I("#q")) => {
@@ -94260,21 +94294,21 @@ function bat() {
text: t.value,
scrollLeft: t.scrollLeft || 0
}, r = e || (n.text ? n : X.searchValueSnapshot);
- X.cancelSearchDissolve(), X.cancelSearchDissolve = co(t, t.parentElement, r), X.searchValueSnapshot = {
+ X.cancelSearchDissolve(), X.cancelSearchDissolve = oo(t, t.parentElement, r), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
};
};
}
function xat() {
- X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = U.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {
+ X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = H.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {
let n = X.tagList(e), r = n.indexOf(t);
return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");
}, X.gridHelpers = {
badgeHtml: (e, t) => Z.srcBadge(e, t),
- titleHtml: (e, t) => bD(e, t),
- displayName: (e, t) => yD(e, t),
- tagLabel: (e) => Zs(e)
+ titleHtml: (e, t) => pD(e, t),
+ displayName: (e, t) => fD(e, t),
+ tagLabel: (e) => Xs(e)
}, X.gridActions = {
open: (e, t) => Yit(e, t),
openResource: (e, t) => R5()?.miniplayerTakesCard(e) ? R5().miniplayerPlay(e.id) : qit(e, t),
@@ -94295,13 +94329,13 @@ function xat() {
watchLater: (e, t) => Xit(e, t),
resourceOperation: (e, t) => Zit(e, t),
mixRelated: (e) => Jit(e),
- canFlip: () => !fc && !v9() && !window.__scrolling && !X.reduceMotion()
+ canFlip: () => !lc && !v9() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
let n = new URLSearchParams({
n: "60",
- seed: U.seed || ""
+ seed: H.seed || ""
});
- return t && n.set("page", String(t)), U7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), n;
+ return t && n.set("page", String(t)), U7() && n.set("jav", "1"), e.type === "home" && H.state && n.set("state", H.state), n;
}, X.facetCountsSeq = 0, X.VIEW_PILLS = [
{
k: "",
@@ -94321,7 +94355,7 @@ function xat() {
}
], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({
...e,
- href: e.k ? St[e.k] : "/"
+ href: e.k ? bt[e.k] : "/"
})), X.TAGS_FIRST = 26, Q5.listen(I("#catalogFilter"), "click", (e) => {
let t = e.target.closest?.("[data-catalog-view]");
t && !e.defaultPrevented && (e.preventDefault(), tat().setView(t.dataset.catalogView));
@@ -94336,13 +94370,13 @@ function xat() {
function Sat() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
- fc && S7(!1, !0), Q.route(e);
+ lc && S7(!1, !0), Q.route(e);
},
toggleSelection: (e, t) => C7(e, t),
open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : C9(e.id, !0, null, t),
reveal: async (e) => {
try {
- return await yt("/api/reveal", {
+ return await _t("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e.id })
}), $5.toast({ text: "已在资源管理器中显示" }), "";
@@ -94391,7 +94425,7 @@ async function g9() {
}
function _9() {
let e = Q.surfacePath();
- if (!Tt(e) || e === "/junk-files") return c9();
+ if (!Ct(e) || e === "/junk-files") return c9();
let t = Z.nextCatalogLoad();
return Q8(Q7(), {
replace: !0,
@@ -94405,16 +94439,16 @@ function Cat(e) {
} : e === "online" ? {
kind: "glyph",
name: "rss"
- } : Z.SRCICON[e] && qa[e] ? {
+ } : Z.SRCICON[e] && Ka[e] ? {
kind: "image",
- src: qa[e]
+ src: Ka[e]
} : {
kind: "cost",
cost: "free"
};
}
function wat(e, t) {
- let n = (e, t = (e) => e.label || Zs(e.k)) => (e || []).map((e) => ({
+ let n = (e, t = (e) => e.label || Xs(e.k)) => (e || []).map((e) => ({
value: String(e.k),
label: t(e),
n: e.n ?? null
@@ -94422,7 +94456,7 @@ function wat(e, t) {
return {
locations: (e.locations || []).map((e) => ({
value: e.k,
- label: Xt[e.k] || e.k,
+ label: Jt[e.k] || e.k,
n: e.n ?? null,
dot: Cat(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
@@ -94432,12 +94466,12 @@ function wat(e, t) {
creators: n(r),
tags: n(e.tags),
tech: n(e.tech),
- followTags: n(e.follow_tags, (e) => Zs(e.k)),
+ followTags: n(e.follow_tags, (e) => Xs(e.k)),
duration: !!e.stats?.duration
};
}
async function Tat(e = !1) {
- if (e && (document.hidden || !Tt(decodeURIComponent(location.pathname)) || b9.stageOpen() || b9.immerseOpen() || fc || uc.size || document.activeElement === I("#q"))) return !1;
+ if (e && (document.hidden || !Ct(decodeURIComponent(location.pathname)) || b9.stageOpen() || b9.immerseOpen() || lc || sc.size || document.activeElement === I("#q"))) return !1;
if (!I("#stats").hidden) {
let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;
if (t === "skip") return;
@@ -94448,7 +94482,7 @@ async function Tat(e = !1) {
let n = t === "reopen" ? e : "/stats";
n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, Z8.navigation.location.state) : Q.navigatePath(n);
} else if (I("#index").hidden) {
- U.sort = "seed", U.dir = "", U.seed = $5.rollSeed(), Lc(), n7(), i9({ refreshing: !0 });
+ H.sort = "seed", H.dir = "", H.seed = $5.rollSeed(), Pc(), n7(), i9({ refreshing: !0 });
try {
let e = _9();
await null, await Promise.all([e, a9()]);
@@ -94468,13 +94502,13 @@ function Eat(e) {
document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
function Dat(e) {
- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Eat(e), e && qs();
+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Eat(e), e && Gs();
}
function Oat(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
function y9(e) {
- return Po(e, { drag: !0 });
+ return Mo(e, { drag: !0 });
}
function kat() {
["#nrow", "#count"].forEach((e) => y9(I(e))), document.querySelectorAll(".tier,.srow").forEach(y9);
@@ -94488,27 +94522,27 @@ function jat() {
local: "本地硬盘没有挂载,接上后点重新检测即可播放。",
115: "115 网盘没有挂载,检查 CloudDrive 是否在运行。",
pikpak: "PikPak 没有挂载,检查 CloudDrive 是否在运行。"
- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "这个来源当前没有挂载。", Z.settingsStore = Nw(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Oa(Z.appSettings.uiSounds), Pa(), Lw(), bce(), iT(), sT(), cT(), 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: () => Lw(),
+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "这个来源当前没有挂载。", Z.settingsStore = jw(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Da(Z.appSettings.uiSounds), Na(), Fw(), xce(), nT(), aT(), oT(), 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: () => Fw(),
uiSounds: () => {
- Oa(Z.appSettings.uiSounds), Z.appSettings.uiSounds && ka("toggle-on");
+ Da(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Oa("toggle-on");
},
- glowFrame: () => oT(),
+ glowFrame: () => iT(),
glow: () => {
- oT(), sT();
+ iT(), aT();
},
batchSize: () => {
location.pathname === "/" && c9();
},
defaultSort: () => {
- U.sort = Z.appSettings.defaultSort, U.dir = fw(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Lc(), location.pathname === "/" && _9();
+ H.sort = Z.appSettings.defaultSort, H.dir = uw(H.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Pc(), location.pathname === "/" && _9();
},
sortDirection: () => {
- U.dir = fw(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Lc(), location.pathname === "/" && _9();
+ H.dir = uw(H.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Pc(), location.pathname === "/" && _9();
},
hoverDelay: () => {
Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {
- Ys(e, "previewing", !1), Ys(e, "longhover", !1);
+ qs(e, "previewing", !1), qs(e, "longhover", !1);
}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);
},
seekSeconds: () => h9(),
@@ -94519,18 +94553,18 @@ function jat() {
Z.appSettings.miniplayer || R5()?.closeMiniplayer();
},
javImage: () => {
- qi(document, Z.appSettings.javImage), h9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Ds), Fat();
+ qi(document, Z.appSettings.javImage), h9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Ts), Fat();
},
searchHistoryLimit: () => H8(I("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
local: L("hard-drive"),
- 115: `<img class="source-icon" src="${qa[115]}" alt="">`,
- pikpak: `<img class="source-icon" src="${qa.pikpak}" alt="">`,
+ 115: `<img class="source-icon" src="${Ka[115]}" alt="">`,
+ pikpak: `<img class="source-icon" src="${Ka.pikpak}" alt="">`,
online: L("rss")
}, Z.srcBadge = (e, t, n) => {
- let r = `${Xt[e] || e}${t === "metered" ? " · 计费" : ""}`;
+ let r = `${Jt[e] || e}${t === "metered" ? " · 计费" : ""}`;
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${R(r)}" aria-label="${R(r)}">` + (Z.SRCICON[e] || "") + "</span>";
- }, Z.emptyState = no;
+ }, Z.emptyState = eo;
}
function Mat() {
Z.CENSOR_KEY = "peach-censor", Eat(localStorage.getItem(Z.CENSOR_KEY) === "1");
@@ -94560,23 +94594,23 @@ function Pat() {
return R5()?.exit() || Promise.resolve();
}
function x9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
- Q.queueOpenRequest !== r && k9(), R5()?.dispose({ miniplayer: n }), Ic({
+ Q.queueOpenRequest !== r && k9(), R5()?.dispose({ miniplayer: n }), Nc({
activeQueue: null,
pendingQueueRoute: null,
presentedItem: null
- }), t || Ic({
+ }), t || Nc({
detailOriginAnchor: null,
detailOriginAbove: !1,
detailReturnNeedsRestore: !1
- }), X7(), e && Q.route(gc || "/");
+ }), X7(), e && Q.route(pc || "/");
}
function Fat() {
R5()?.repaintPoster();
}
function S9(e, t, n, r, i = null, a = {}) {
t = +t;
- let o = bc?.kind === e && (e === "playlist" ? bc.playlistId : bc.seedId) === t;
- r && !o && Ic({ detailReturnPath: location.pathname + location.search }), r && k8();
+ let o = _c?.kind === e && (e === "playlist" ? _c.playlistId : _c.seedId) === t;
+ r && !o && Nc({ detailReturnPath: location.pathname + location.search }), r && k8();
let s = e === "playlist" ? {
kind: e,
playlistId: t,
@@ -94592,7 +94626,7 @@ function S9(e, t, n, r, i = null, a = {}) {
seq: Z8.navigation.seq,
cancelled: !1
};
- Q.requestedQueue = () => C9(n == null ? null : +n, !1, s, i, !0, e), Ic({ queueOpens: Oc + 1 });
+ Q.requestedQueue = () => C9(n == null ? null : +n, !1, s, i, !0, e), Nc({ queueOpens: Tc + 1 });
} else return C9(n == null ? null : +n, !1, s, i, r);
}
function Iat(e, t = e, n = !0, r = null) {
@@ -94613,23 +94647,23 @@ function Bat() {
async function C9(e, t = !0, n = null, r = null, i = !1, a = null) {
if (a?.cancelled) return;
if (a || k9(), t && !n) {
- Ic({ detailReturnPath: location.pathname + location.search }), qat("/item/" + +e, "item", () => C9(e, !1, null, r));
+ Nc({ detailReturnPath: location.pathname + location.search }), qat("/item/" + +e, "item", () => C9(e, !1, null, r));
return;
}
- qs(), e = e == null ? null : +e;
- let o = r?.isConnected ? r : _c?.isConnected ? _c : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : vc, c = Bat(), l = yc || !t && !c, u = cc.type === "item" ? lc : l7.cloneBarsContext(f7());
- t ? Ic({ detailReturnPath: location.pathname + location.search }) : i || Ic({ detailReturnPath: D9e() || gc }), t && k8(), R5()?.showing() !== "item" && x9(!1, !0, {
+ Gs(), e = e == null ? null : +e;
+ let o = r?.isConnected ? r : mc?.isConnected ? mc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : hc, c = Bat(), l = gc || !t && !c, u = ac.type === "item" ? oc : l7.cloneBarsContext(f7());
+ t ? Nc({ detailReturnPath: location.pathname + location.search }) : i || Nc({ detailReturnPath: D9e() || pc }), t && k8(), R5()?.showing() !== "item" && x9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
- }), Ic({
+ }), Nc({
detailOriginAnchor: o,
detailOriginAbove: s,
detailReturnNeedsRestore: l
- }), Ic({ detailReturnBarsContext: u }), Ic({ activeQueue: n && {
+ }), Nc({ detailReturnBarsContext: u }), Nc({ activeQueue: n && {
kind: n.kind,
seedId: n.seedId,
playlistId: n.playlistId
- } }), Ic({ pendingQueueRoute: n && i ? `${b9.QUEUE_ROUTES[n.kind]}/${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/item/" + e, !1, j8("item"));
+ } }), Nc({ pendingQueueRoute: n && i ? `${b9.QUEUE_ROUTES[n.kind]}/${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/item/" + e, !1, j8("item"));
let d = await ont(b9.stageHost);
if (a?.cancelled) return;
let f = a ? {
@@ -94653,18 +94687,18 @@ async function C9(e, t = !0, n = null, r = null, i = !1, a = null) {
actions: X.gridActions
},
layout: p9(),
- selectMode: fc,
- selected: new Set(uc),
+ selectMode: lc,
+ selected: new Set(sc),
seekSeconds: Z.appSettings.seekSeconds,
resume: t || e == null ? null : Nat()
}), X7();
}
async function Vat() {
- let e = l7.cloneBarsContext(lc), t = gc || "/", n = yc;
- await Pat(), x9(!1, !1, { miniplayer: !1 }), Ic({ detailReturnBarsContext: null }), A8(), Ic({ barsContext: e || {
+ let e = l7.cloneBarsContext(oc), t = pc || "/", n = gc;
+ await Pat(), x9(!1, !1, { miniplayer: !1 }), Nc({ detailReturnBarsContext: null }), A8(), Nc({ barsContext: e || {
type: "home",
- filters: U
- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Ic({ pageOpens: Dc + 1 }) : (a9(), location.pathname === "/playlists" && Ic({ pageOpens: Dc + 1 })));
+ filters: H
+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Nc({ pageOpens: wc + 1 }) : (a9(), location.pathname === "/playlists" && Nc({ pageOpens: wc + 1 })));
}
async function w9(e = null, t = !0) {
t ? (b9.requestedImmerseId = e, Q.route("/immerse")) : (R5()?.closeMiniplayer(), await (await snt(b9.immerseHost)).open(e));
@@ -94693,11 +94727,11 @@ function Uat() {
playlist: "/playlists"
}, b9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
- titleHtml: (e) => bD(e),
- displayName: (e) => yD(e),
+ titleHtml: (e) => pD(e),
+ displayName: (e) => fD(e),
javImage: () => Z.appSettings.javImage,
- tagLabel: (e) => Zs(e),
- isDurationTag: (e) => $t.has(e),
+ tagLabel: (e) => Xs(e),
+ isDurationTag: (e) => Zt.has(e),
tagCandidates: () => b9.facets && b9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
@@ -94707,27 +94741,27 @@ function Uat() {
}),
mixRelated: (e) => Jit(e),
wireDrag: (e) => y9(e),
- wireDragReorder: (e, t) => is(e, t)
+ wireDragReorder: (e, t) => ns(e, t)
}, b9.itemDetailActions = {
close: () => Vat(),
present: (e) => {
- Ic({ presentedItem: e });
- let t = lc;
- Ic({ barsContext: {
+ Nc({ presentedItem: e });
+ let t = oc;
+ Nc({ barsContext: {
type: "item",
id: e.id,
filters: t?.type === "entity" ? { ...t.filters } : l7.emptyEntityFilters()
- } }), xc && (Q.queueOpenRequest = null, Q.route(`${xc}/${e.id}`, !1, j8("item")), Ic({ pendingQueueRoute: null })), a9();
+ } }), vc && (Q.queueOpenRequest = null, Q.route(`${vc}/${e.id}`, !1, j8("item")), Nc({ pendingQueueRoute: null })), a9();
},
redirect: (e) => {
- let t = !!xc;
- e.kind === "follow" && !t && L9e("follow"), e.kind === "follow" ? (Ic({ followDetailReturnPath: gc || "/" }), R9(e.id, !1, null, !0)) : e.kind === "item" ? C9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : zrt() : x9(!1);
+ let t = !!vc;
+ e.kind === "follow" && !t && L9e("follow"), e.kind === "follow" ? (Nc({ followDetailReturnPath: pc || "/" }), R9(e.id, !1, null, !0)) : e.kind === "item" ? C9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : zrt() : x9(!1);
},
openQueueItem: (e, t, n = !0) => void S9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
- let e = Sc;
+ let e = yc;
if (!e) return;
- let t = bc;
+ let t = _c;
t ? S9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : C9(e.id, !1);
},
checkSource: async (e) => (await g9())[e] !== !1,
@@ -94752,15 +94786,15 @@ function Uat() {
reveal: (e) => wrt(e),
sync: (e) => Trt(e),
trashChanged: async (e, t) => {
- U.state === "ads" && (t || e === "trash") && (t || (A8(), x9(!0, !1, { miniplayer: !1 })), await c9());
+ H.state === "ads" && (t || e === "trash") && (t || (A8(), x9(!0, !1, { miniplayer: !1 })), await c9());
},
toast: (e, { undo: t } = {}) => $5.actionReceipt(e, { undo: t }),
failure: (e, t) => $5.actionFailure(e, t)
}, b9.immerseHost = {
- filters: () => U,
+ filters: () => H,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
- displayName: (e) => yD(e),
+ displayName: (e) => fD(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
closed: () => $7(),
openItem: (e) => void C9(e),
@@ -94783,7 +94817,7 @@ var T9 = {
openTutorialTarget: void 0
};
async function Wat() {
- ws(), await T9.writePostSetupTutorialDone(!1), await E9();
+ Ss(), await T9.writePostSetupTutorialDone(!1), await E9();
}
async function E9() {
let e = I("#postSetupTutorial");
@@ -94791,23 +94825,23 @@ async function E9() {
let t = () => {
e.hidden = !0, e.innerHTML = "", delete e.dataset.tutorialSignature, e.removeAttribute("aria-busy");
};
- if (T9.postSetupTutorialNeedsReopen && (T9.postSetupTutorialNeedsReopen = !1, await T9.writePostSetupTutorialDone(!1).catch(() => {})), ms() !== "pending" || await T9.readPostSetupTutorialDone()) {
+ if (T9.postSetupTutorialNeedsReopen && (T9.postSetupTutorialNeedsReopen = !1, await T9.writePostSetupTutorialDone(!1).catch(() => {})), fs() !== "pending" || await T9.readPostSetupTutorialDone()) {
t();
return;
}
- let n = Ss();
+ let n = bs();
e.hidden = !1, e.setAttribute("aria-busy", "true"), e.firstElementChild || (e.innerHTML = `<article class="post-setup-notification post-setup-loading">${L("compass")}<p>正在检查安装进度…</p></article>`);
try {
let r = await T9.postSetupTutorialTasks();
- if (!Cs(n)) return;
- let i = new Set(r.map((e) => e.key)), a = new Set([...vs()].filter((e) => i.has(e)));
- ys(a);
+ if (!xs(n)) return;
+ let i = new Set(r.map((e) => e.key)), a = new Set([...gs()].filter((e) => i.has(e)));
+ _s(a);
let o = r.filter((e) => !a.has(e.key)), s = o.filter((e) => !e.done);
if (!s.length) {
- hs("complete"), t(), await T9.writePostSetupTutorialDone(!0).catch(() => {});
+ ps("complete"), t(), await T9.writePostSetupTutorialDone(!0).catch(() => {});
return;
}
- let c = bs(o);
+ let c = vs(o);
if (e.dataset.tutorialSignature === c) {
e.removeAttribute("aria-busy");
return;
@@ -94816,12 +94850,12 @@ async function E9() {
let l = s[0], u = e.querySelector("[data-tutorial-collapse]");
Q5.handler(u, "onclick", () => {
let t = e.querySelector(".post-setup-notification"), n = t.dataset.collapsed !== "true";
- t.dataset.collapsed = String(n), _s(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), u.innerHTML = L(n ? "chevron-up" : "chevron-down");
+ t.dataset.collapsed = String(n), hs(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), u.innerHTML = L(n ? "chevron-up" : "chevron-down");
}), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => Q5.handler(e, "onclick", () => {
- let t = vs(), n = e.dataset.tutorialSkip;
- t.add(n), ys(t), $5.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {
- let e = vs();
- e.delete(n), ys(e), hs("pending"), await E9();
+ let t = gs(), n = e.dataset.tutorialSkip;
+ t.add(n), _s(t), $5.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {
+ let e = gs();
+ e.delete(n), _s(e), ps("pending"), await E9();
} }), E9();
}));
let d = new Map(o.map((e) => [e.key, e]));
@@ -94830,7 +94864,7 @@ async function E9() {
!n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), T9.openTutorialTarget(n));
})), Q5.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => T9.openTutorialTarget(l));
} catch {
- if (!Cs(n)) return;
+ if (!xs(n)) return;
e.innerHTML = `<article class="post-setup-notification post-setup-error">${L("alert")}
<div><h2>暂时无法检查安装进度</h2><p>切换页面或重新打开后会再检查一次。</p>
<div class="post-setup-error-actions"><button class="geist-button" type="button" data-tutorial-retry>重试</button>
@@ -94840,8 +94874,8 @@ async function E9() {
}
}
function Gat() {
- if (Ic({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), T9.postSetupTutorialDone = null, T9.postSetupTutorialNeedsReopen = !1, Ec) {
- hs("pending"), T9.postSetupTutorialDone = !1, T9.postSetupTutorialNeedsReopen = !0;
+ if (Nc({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), T9.postSetupTutorialDone = null, T9.postSetupTutorialNeedsReopen = !1, Cc) {
+ ps("pending"), T9.postSetupTutorialDone = !1, T9.postSetupTutorialNeedsReopen = !0;
let e = new URL(location.href);
e.searchParams.delete("onboarding"), Q8(e, {
replace: !0,
@@ -94856,7 +94890,7 @@ function Gat() {
})), localStorage.getItem("peach.agentation") === "on" && import("/dev/agentation.js").catch(() => {});
}
T9.postSetupTutorialTasks = async () => {
- let { library: e, scraping: t, taste: n, follow: r, credentials: i, review: a } = await yt("/api/post-setup-tutorial"), o = (t.sources || []).filter((e) => e.accepts_cookie).filter((e) => e.cookie_saved), s = (r.sources || []).filter((e) => e.enabled !== !1), c = new Map((i.providers || []).map((e) => [e.provider, e])), l = [...new Set(s.map((e) => e.provider))].map((e) => c.get(e)).filter((e) => e?.requirement === "required"), u = Number(e.total || 0) > 0, d = s.length > 0, f = d && l.every((e) => e.present && !e.missing?.length), p = Object.values(a.counts || {}).reduce((e, t) => e + (Number(t) || 0), 0);
+ let { library: e, scraping: t, taste: n, follow: r, credentials: i, review: a } = await _t("/api/post-setup-tutorial"), o = (t.sources || []).filter((e) => e.accepts_cookie).filter((e) => e.cookie_saved), s = (r.sources || []).filter((e) => e.enabled !== !1), c = new Map((i.providers || []).map((e) => [e.provider, e])), l = [...new Set(s.map((e) => e.provider))].map((e) => c.get(e)).filter((e) => e?.requirement === "required"), u = Number(e.total || 0) > 0, d = s.length > 0, f = d && l.every((e) => e.present && !e.missing?.length), p = Object.values(a.counts || {}).reduce((e, t) => e + (Number(t) || 0), 0);
return [
{
key: "library",
@@ -94909,7 +94943,7 @@ function Gat() {
}
];
}, T9.postSetupTutorialHtml = (e, t, n) => {
- let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = gs(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}">
+ let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = ms(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}">
<a href="${e.href}" data-tutorial-task="${e.key}">
<span class="post-setup-check" aria-hidden="true">${e.done ? L("check") : L(e.icon)}</span>
<span><b>${e.label}</b><small>${e.description}</small></span>
@@ -94928,19 +94962,19 @@ function Gat() {
<footer><button class="geist-button" type="button" data-tutorial-action="next">继续:${i.label}</button></footer>
</article>`;
}, T9.writePostSetupTutorialDone = async (e) => {
- T9.postSetupTutorialDone = e, await yt("/api/settings", {
+ T9.postSetupTutorialDone = e, await _t("/api/settings", {
method: "POST",
body: JSON.stringify({ postSetupTutorialDone: e })
});
}, T9.readPostSetupTutorialDone = async () => {
if (T9.postSetupTutorialDone === null) try {
- T9.postSetupTutorialDone = (await yt("/api/settings")).postSetupTutorialDone === !0;
+ T9.postSetupTutorialDone = (await _t("/api/settings")).postSetupTutorialDone === !0;
} catch {
T9.postSetupTutorialDone = !1;
}
return T9.postSetupTutorialDone;
}, T9.openTutorialTarget = (e) => {
- e.setupEntry && Ic({ cameFromSetup: !0 }), Q.navigatePath(e.href);
+ e.setupEntry && Nc({ cameFromSetup: !0 }), Q.navigatePath(e.href);
};
}
//#endregion
@@ -94983,7 +95017,7 @@ function O9() {
D9(), Kat(), Y7();
}
function k9() {
- Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Ic({ pendingQueueRoute: null });
+ Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Nc({ pendingQueueRoute: null });
}
function qat(e, t, n) {
k9(), k8(), Q.requestedOverlay = {
@@ -94995,13 +95029,13 @@ function A9() {
Q.surfaceEpoch++, X.barsRequestSeq++, O7.syncPageTitle(location.href), D9(), A8(), E9();
}
function j9(e) {
- Q.route(e), Ic({ pageOpens: Dc + 1 });
+ Q.route(e), Nc({ pageOpens: wc + 1 });
}
function Jat() {
Q.routeMeta = (e) => {
let t = N8(e);
return t ? { route: t } : null;
- }, Q.routePathOf = (e, t) => Object.keys(M8).find((n) => M8[n][e] === t), Q.catalogPage = (e) => Tt(e) || e === "/trash", Q.managedPagePath = (e) => {
+ }, Q.routePathOf = (e, t) => Object.keys(M8).find((n) => M8[n][e] === t), Q.catalogPage = (e) => Ct(e) || e === "/trash", Q.managedPagePath = (e) => {
let t = N8(e);
return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !E8(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
@@ -95019,7 +95053,7 @@ function Yat() {
epoch: Q.surfaceEpoch,
path: e,
signal: Q.surfaceRequests?.signal
- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (prt(e) || U8(I("#libraryProcessingNotice")), s7(e) || c7(), U8(I("#stats"), I("#index")), !Tt(e) && e !== "/trash" && l9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (prt(e) || U8(I("#libraryProcessingNotice")), s7(e) || c7(), U8(I("#stats"), I("#index")), !Ct(e) && e !== "/trash" && l9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
Q.surfaceEpoch++, X.barsRequestSeq++, Q8(e, {
replace: t,
state: n
@@ -95040,7 +95074,7 @@ function Xat(e, t, n) {
return `<div class="ui-board-job-progress" role="progressbar" aria-label="${R(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${R(e)}<small>${Math.round(i)}%</small></span></div>`;
}
function Zat(e, t = 0, n = 0) {
- return n > 0 ? Xat(e, t, n) : eo(e);
+ return n > 0 ? Xat(e, t, n) : Qa(e);
}
async function Qat(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
@@ -95058,10 +95092,10 @@ async function Qat(e) {
}
}
function $at(e) {
- let t = e.note || ((e) => Za(e, {
+ let t = e.note || ((e) => Xa(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || eo, r = e.progress || ((e, t, n) => Zat(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
+ })), n = e.loading || Qa, r = e.progress || ((e, t, n) => Zat(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);
let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;
Qat({
@@ -95177,12 +95211,12 @@ function L9(e = !1) {
}
async function R9(e, t = !0, n = null, r = !1) {
if (t) {
- !location.pathname.startsWith("/follow/item/") && !r && Ic({ followDetailReturnPath: location.pathname + location.search }), qat(`/follow/item/${+e}`, "follow", () => R9(e, !1, n, r));
+ !location.pathname.startsWith("/follow/item/") && !r && Nc({ followDetailReturnPath: location.pathname + location.search }), qat(`/follow/item/${+e}`, "follow", () => R9(e, !1, n, r));
return;
}
- qs(), e = +e;
+ Gs(), e = +e;
let i = !location.pathname.startsWith("/follow/item/");
- t && i && !r && Ic({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Ic({ followDetailReturnPath: D9e() || "/follow" }), t && k8(), R5()?.showing() !== "follow" && x9(!1, !1, { miniplayer: !1 }), t && Q.route(`/follow/item/${e}`, !1, j8("follow")), await (await ont(b9.stageHost)).open({
+ t && i && !r && Nc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Nc({ followDetailReturnPath: D9e() || "/follow" }), t && k8(), R5()?.showing() !== "follow" && x9(!1, !1, { miniplayer: !1 }), t && Q.route(`/follow/item/${e}`, !1, j8("follow")), await (await ont(b9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -95194,21 +95228,21 @@ async function R9(e, t = !0, n = null, r = !1) {
}), X7();
}
async function aot() {
- await Pat(), x9(!1, !1, { miniplayer: !1 }), A8(), Q.route(Cc || "/follow"), !(l7.entityPageView && l7.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && F9() ? (not(), I9({ view: N9() })) : Ic({ pageOpens: Dc + 1 }));
+ await Pat(), x9(!1, !1, { miniplayer: !1 }), A8(), Q.route(bc || "/follow"), !(l7.entityPageView && l7.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && F9() ? (not(), I9({ view: N9() })) : Nc({ pageOpens: wc + 1 }));
}
function oot(e) {
let t = document.createElement("div");
- return t.className = "peach-react", po(e, () => {
+ return t.className = "peach-react", uo(e, () => {
e.textContent = "", e.append(t);
}), t;
}
function sot() {
- $.followFeedHelpers = $s({
+ $.followFeedHelpers = Qs({
wireDrag: (e) => {
e && y9(e);
},
wireScroller: (e) => {
- e && Po(e);
+ e && Mo(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
jobProgress: $at
@@ -95222,21 +95256,21 @@ function sot() {
Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), h7();
},
setPhotoLayout: (e) => {
- Qw(e), h7();
+ Xw(e), h7();
},
- canFlip: () => !fc && !v9() && !window.__scrolling && !X.reduceMotion(),
+ canFlip: () => !lc && !v9() && !window.__scrolling && !X.reduceMotion(),
toast: (e, { undo: t } = {}) => $5.actionReceipt(e, { undo: t }),
failure: (e, t) => $5.actionFailure(e, t),
checkReport: (e) => tot(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- R5()?.showing() !== "follow" && (qs(), x9(!1), P7(), !F9() && (Q.claimSurface(Q.surfacePath()), N7({ manage: !1 }), I("#stats").querySelector(".peach-react") && U8(I("#stats")), I("#stats").replaceChildren()));
+ R5()?.showing() !== "follow" && (Gs(), x9(!1), P7(), !F9() && (Q.claimSurface(Q.surfacePath()), N7({ manage: !1 }), I("#stats").querySelector(".peach-react") && U8(I("#stats")), I("#stats").replaceChildren()));
}
- }, $.followDetailActions = sc({
+ }, $.followDetailActions = ic({
view: N9,
adoptView: P9,
- rememberReturn: (e) => Ic({ followDetailReturnPath: e }),
+ rememberReturn: (e) => Nc({ followDetailReturnPath: e }),
close: () => void aot(),
open: (e, t, n) => void R9(e, !0, t, n),
drawer: yit,
@@ -95252,20 +95286,20 @@ function cot() {
view: N9,
adoptView: P9,
session: () => ({
- discoverySeed: Ac,
- revision: jc,
- scrollY: Mc
+ discoverySeed: Dc,
+ revision: Oc,
+ scrollY: kc
}),
- writeSession: (e) => Ic({
+ writeSession: (e) => Nc({
...e.discoverySeed === void 0 ? {} : { followDiscoverySeed: e.discoverySeed },
...e.revision === void 0 ? {} : { followRevision: e.revision },
...e.scrollY === void 0 ? {} : { followScrollY: e.scrollY }
}),
preferences: () => ({
- selectMode: fc,
- selected: dc,
- photoSize: Jw(),
- photoLayout: Yw(),
+ selectMode: lc,
+ selected: cc,
+ photoSize: Kw(),
+ photoLayout: qw(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
live: F9,
@@ -95275,7 +95309,7 @@ function cot() {
rollSeed: () => Number($5.rollSeed()),
enterSeed: () => Math.floor(Math.random() * 4294967295),
revealFeed: () => {
- qs(), P7(), N7({ manage: !1 });
+ Gs(), P7(), N7({ manage: !1 });
},
syncPhotoWalls: h7,
scrollTop: () => window.scrollTo({
@@ -95288,14 +95322,14 @@ function cot() {
//#region src/application/lifecycle.js
var z9 = { overlayScan: void 0 };
function lot() {
- Lxe(), Zo(document), _a(document.documentElement, { variant: "page" }), _a(I("#drawerScroll")), z9.overlayScan = 0, Q5.mutation(() => {
+ Bxe(), Yo(document), _a(document.documentElement, { variant: "page" }), _a(I("#drawerScroll")), z9.overlayScan = 0, Q5.mutation(() => {
z9.overlayScan ||= Q5.delay(() => {
- z9.overlayScan = 0, Jo();
+ z9.overlayScan = 0, Ko();
});
}).observe(document.body, {
childList: !0,
subtree: !0
- }), Jo(), Ni(document.body), X.homeHasFeed = null, X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, M7.sidebarProps = {
+ }), Ko(), Ni(document.body), X.homeHasFeed = null, X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, M7.sidebarProps = {
content: null,
filters: {},
latest: null
@@ -95350,7 +95384,7 @@ function U9(e) {
H9(), t.classList.remove("open");
let o = n.getBoundingClientRect();
if (t.classList.toggle("open", e), I("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;
- let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = Wo();
+ 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 = Ho();
t.classList.add("search-morphing");
let h = t.animate(uot(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
@@ -95370,16 +95404,16 @@ function pot(e) {
function mot() {
B9.searchControl = null, B9.searchActions = {
search: (e) => {
- X.rememberSearchValue(), x9(!1), U.q = e, Lc(), Q.route(U.jav === "1" ? Q7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
+ X.rememberSearchValue(), x9(!1), H.q = e, Pc(), Q.route(H.jav === "1" ? Q7() : H.q ? "/?q=" + encodeURIComponent(H.q) : "/", !0);
},
openItem: (e) => C9(e),
openEntity: (e, t) => _7(e, t)
}, B9.searchHelpers = {
- pool: () => Hit(U, yt),
+ pool: () => Hit(H, _t),
coverHtml: (e) => `<span class="pic">${dot(e)}</span>`,
- present: (e) => za(e),
- dismiss: (e) => Ba(e),
- wireScroller: (e) => Po(e),
+ present: (e) => Ra(e),
+ dismiss: (e) => za(e),
+ wireScroller: (e) => Mo(e),
typed: (e) => {
let t = e.value;
!t && X.searchValueSnapshot.text ? X.clearSearchField(X.searchValueSnapshot) : (t && (X.cancelSearchDissolve(), X.cancelSearchDissolve = () => {}), X.rememberSearchValue(e));
@@ -95446,7 +95480,7 @@ function hot() {
L7(!1);
return;
}
- if (fc || uc.size || dc.size) {
+ if (lc || sc.size || cc.size) {
S7(!1, !0);
return;
}
@@ -95467,19 +95501,19 @@ function hot() {
return;
}
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
- e.preventDefault(), lE(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
+ e.preventDefault(), sE(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
return;
}
if (e.key === " " || e.key === "k" || e.key === "K") {
- e.preventDefault(), cE(t);
+ e.preventDefault(), oE(t);
return;
}
if (e.key === "m" || e.key === "M") {
- e.preventDefault(), FT(t, ".vjs-mute-control");
+ e.preventDefault(), NT(t, ".vjs-mute-control");
return;
}
if (e.key === "f" || e.key === "F") {
- e.preventDefault(), FT(t, ".vjs-fullscreen-control");
+ e.preventDefault(), NT(t, ".vjs-fullscreen-control");
return;
}
if (e.key === "i" || e.key === "I") {
@@ -95514,7 +95548,7 @@ function got() {
revealSource: wrt,
reopenTutorial: Wat,
requestConfigurationSection: (e) => {
- Ic({ configurationRequestedSection: e });
+ Nc({ configurationRequestedSection: e });
},
routeReview: Brt,
routeFollowManage: ait,
@@ -95533,12 +95567,12 @@ function got() {
openFollowAuthor: lit,
openFollowTag: uit,
openPlaylist: (e, t) => void zat(e, t, !0),
- canFlip: () => !fc && !v9() && !window.__scrolling && !X.reduceMotion(),
+ canFlip: () => !lc && !v9() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
- e === "entity" ? (qs(), Ic({ barsContext: {
+ e === "entity" ? (Gs(), Nc({ barsContext: {
type: "home",
- filters: U
- } }), F7(), document.body.classList.add("entity-open"), r9(), D7()) : e === "index" ? (qs(), document.body.classList.remove("entity-open"), Q.claimSurface(t), F7(), document.body.classList.add("index-open"), r9(), D7()) : (qs(), Q.claimSurface(t), e === "catalog" ? F7() : (P7(), N7({ manage: e === "management" })));
+ filters: H
+ } }), F7(), document.body.classList.add("entity-open"), r9(), D7()) : e === "index" ? (Gs(), document.body.classList.remove("entity-open"), Q.claimSurface(t), F7(), document.body.classList.add("index-open"), r9(), D7()) : (Gs(), Q.claimSurface(t), e === "catalog" ? F7() : (P7(), N7({ manage: e === "management" })));
},
clearSearch: () => X.clearSearchField(),
openImmerse: (e) => {
@@ -95560,7 +95594,7 @@ function got() {
helpers: X.gridHelpers,
actions: X.gridActions
},
- configurable: () => !!Tc,
+ configurable: () => !!Sc,
surfaceShown: (e) => {
e === "index" ? (O9(), X7()) : a9();
},
@@ -95578,7 +95612,7 @@ function got() {
catalog: {
defaultLoc: () => Git("local,115"),
open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {
- n && (A9(), Y7(), V7()), t && n7(), e === "/trash" ? (X.clearSearchField(), F7()) : (I("#q").value = U.q, X.rememberSearchValue()), O9(), a9(), Z.handOff(c9());
+ n && (A9(), Y7(), V7()), t && n7(), e === "/trash" ? (X.clearSearchField(), F7()) : (I("#q").value = H.q, X.rememberSearchValue()), O9(), a9(), Z.handOff(c9());
},
load: () => {
Z.handOff(c9());
@@ -95599,7 +95633,7 @@ function got() {
Eit(),
O7.entityShapesReady
]).then(() => e.isActive && O7.wantsDiscoveryBars() ? a9() : null).then(() => {
- e.isActive && (O9(), kat(), W9.routing = !0, Ic({ pageOpens: 1 }), A9(), X7());
+ e.isActive && (O9(), kat(), W9.routing = !0, Nc({ pageOpens: 1 }), A9(), X7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
@@ -95662,7 +95696,7 @@ function vot() {
e.own(() => u.remove()), e.handler(c, "onclick", (e) => {
e.preventDefault();
});
- let d = Ua(document.querySelector("#drawer"), c, l, { side: !0 });
+ let d = Ha(document.querySelector("#drawer"), c, l, { side: !0 });
e.own(d.dispose);
let f = null, p = null;
function m(e, t) {
@@ -95678,13 +95712,13 @@ function vot() {
w: r.offsetWidth,
h: r.offsetHeight
}, a = p;
- p = i, Go(f, e ? a : null, i, "y");
+ p = i, Uo(f, e ? a : null, i, "y");
}
e.listen(l, "toggle", (e) => {
e.newState === "open" && (l.querySelector("button")?.focus(), m(!1));
}), e.listen(l, "keydown", (e) => {
e.key === "Escape" && (e.stopPropagation(), d.setOpen(!1), c.focus());
- }), yt("/api/libraries", { signal: e.signal }).then((t) => {
+ }), _t("/api/libraries", { signal: e.signal }).then((t) => {
if (!e.isActive) return;
let n = [[
"",
@@ -95701,7 +95735,7 @@ function vot() {
}
let i = sessionStorage.getItem("peach.library") || "";
c.querySelector("h1").textContent = i || "全部媒体库";
- let a = (e) => qa[e]?.startsWith("data:") ? `<img src="${qa[e]}" alt="">` : L(e === "local" ? "hard-drive" : e), o = document.createElement("span");
+ let a = (e) => Ka[e]?.startsWith("data:") ? `<img src="${Ka[e]}" alt="">` : L(e === "local" ? "hard-drive" : e), o = document.createElement("span");
o.className = "mark", o.setAttribute("aria-hidden", "true"), o.innerHTML = a(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(o), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${R(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${a(n)}</span><span>${R(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {
sessionStorage.setItem("peach.library", t.dataset.library), location.assign("/");
})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {
@@ -95723,13 +95757,13 @@ function vot() {
let _ = document.createElement("div");
_.className = "board-sidebar-foot", e.own(() => _.remove()), _.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${L("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${L("moon")}</button></div>`, _.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), _.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(_), _.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {
t.getAttribute("aria-pressed") !== "true" && _ot(t, () => {
- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), Lw();
+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), Fw();
});
- })), Lw();
+ })), Fw();
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 = Ua(_, y, v);
- e.own(b.dispose), e.own(Fce(y)), hnt({
+ let y = _.querySelector("#boardGlowBtn"), b = Ha(_, y, v);
+ e.own(b.dispose), e.own(Ice(y)), hnt({
root: v,
store: Z.settingsStore,
openDetails: () => {
@@ -95946,8 +95980,8 @@ function jot() {
effects: e,
owners: 0
}, e.own(kot(document)), e.own(() => {
- qs(), H.cancelQueries();
- }), e.own(ant), e.own(F9e), e.own(La);
+ Gs(), V.cancelQueries();
+ }), e.own(ant), e.own(F9e), e.own(Ia);
}
return Q9.owners += 1, Q9.effects.resume(), Q9;
}
@@ -95969,12 +96003,12 @@ var $9 = /* @__PURE__ */ new WeakMap();
function Not(e) {
let t = $9.get(e);
if (t) return t;
- let n = (0, gt.createRoot)(e, net);
+ let n = (0, mt.createRoot)(e, net);
$9.set(e, n);
let r = n.unmount.bind(n);
return n.unmount = () => {
$9.get(e) === n && ($9.delete(e), r(), Q9 && Aot(Q9));
- }, (0, ht.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(Mot, {}))), n;
+ }, (0, pt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(Mot, {}))), n;
}
//#endregion
//#region src/react/bootstrap.tsx
@@ -95982,4 +96016,4 @@ var Pot = document.getElementById("appRoot");
if (!Pot) throw Error("主界面宿主缺失");
Not(Pot);
//#endregion
-export { Lw as applyTheme, Z8 as peachHistory, so as popCount, gnt as showToast };
+export { Fw as applyTheme, Z8 as peachHistory, ao as popCount, gnt as showToast };